123b0b28fcd181d5fa34e4a55631f5c51c631c50
[platform/upstream/glibc.git] / ChangeLog
1 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2
3         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5         function with cast from llround().
6         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
7         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8         Define.
9
10 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
11
12         [BZ #17793]
13         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
14         Define as weak alias not strong alias.
15
16         [BZ #17635]
17         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18         ...
19         * ctype/ctype-extn.c: ... here.
20         (__isblank_l): Move to ...
21         * ctype/ctype-c99_l.c: ... here.  New file.
22         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24         Remove variable.
25         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30
31         [BZ #17777]
32         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33         (posix_fadvise64): Define as weak alias not strong alias.
34         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35         (posix_fallocate64): Likewise.
36         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
37         Remove variable.
38         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
39         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
42         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43
44 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
45
46         [BZ #16191]
47         * NEWS: Mention bug fix.
48         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
49         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
50         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
51         (HOST_STACK_END_ADDR): Likewise.
52
53 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
54
55         [BZ #17748]
56         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
57         * math/fegetround.c (fegetround): Rename to __fegetround and
58         define as weak alias of __fegetround.  Use libm_hidden_weak.
59         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
60         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
61         * sysdeps/arm/fegetround.c (fegetround): Likewise.
62         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
63         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
64         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
65         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
66         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
67         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
68         Undefine after rather than before function definition; use
69         parentheses around function name in definition.
70         (__fegetround): Also undefine macro after function definition.
71         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
72         __fegetround and define as weak alias of __fegetround.  Use
73         libm_hidden_weak.  Do not undefine as macro.
74         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
75         Likewise.
76         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
77         __fegetround and define as weak alias of __fegetround.  Use
78         libm_hidden_weak.
79         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
81         * sysdeps/tile/math_private.h (__fegetround): New inline function.
82         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
83         __fegetround and define as weak alias of __fegetround.  Use
84         libm_hidden_weak.
85         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
86         __fegetround instead of fegetround.
87
88         [BZ #17782]
89         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
90         Condition macro definition on [__USE_MISC].
91
92         [BZ #17781]
93         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
94         (struct sigaction): Change type of sa_flags field to int.
95
96         [BZ #17780]
97         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
98         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
99         __glibc_reserved0.
100
101         * nptl/version.c (banner): Use single year in copyright notice.
102
103         * NEWS: Update copyright dates.
104         * catgets/gencat.c (print_version): Likewise.
105         * csu/version.c (banner): Likewise.
106         * debug/catchsegv.sh: Likewise.
107         * debug/pcprofiledump.c (print_version): Likewise.
108         * debug/xtrace.sh (do_version): Likewise.
109         * elf/ldconfig.c (print_version): Likewise.
110         * elf/ldd.bash.in: Likewise.
111         * elf/pldd.c (print_version): Likewise.
112         * elf/sotruss.sh: Likewise.
113         * elf/sprof.c (print_version): Likewise.
114         * iconv/iconv_prog.c (print_version): Likewise.
115         * iconv/iconvconfig.c (print_version): Likewise.
116         * locale/programs/locale.c (print_version): Likewise.
117         * locale/programs/localedef.c (print_version): Likewise.
118         * login/programs/pt_chown.c (print_version): Likewise.
119         * malloc/memusage.sh (do_version): Likewise.
120         * malloc/memusagestat.c (print_version): Likewise.
121         * malloc/mtrace.pl: Likewise.
122         * manual/libc.texinfo: Likewise.
123         * nptl/version.c (banner): Likewise.
124         * nscd/nscd.c (print_version): Likewise.
125         * nss/getent.c (print_version): Likewise.
126         * nss/makedb.c (print_version): Likewise.
127         * posix/getconf.c (main): Likewise.
128         * scripts/test-installation.pl: Likewise.
129         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
130
131 2015-01-02  Will Newton  <will.newton@linaro.org>
132
133         * sysdeps/arm/armv7/configure: Removed.
134         * sysdeps/arm/armv7/configure.ac: Likewise.
135
136 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
137
138         * All files with FSF copyright notices: Update copyright dates
139         using scripts/update-copyrights.
140         * intl/plural.c: Regenerated.
141         * locale/programs/charmap-kw.h: Likewise.
142         * locale/programs/locfile-kw.h: Likewise.
143
144 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
145
146         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
147
148 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
149
150         [BZ #17748]
151         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
152         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
153         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
154         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
155         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
156         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
157         define as weak alias of __fegetenv.  Use libm_hidden_weak.
158         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
159         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
160         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
161         define as weak alias of __fegetenv.  Use libm_hidden_weak.
162         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
163         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
164         define as weak alias of __fegetenv.  Use libm_hidden_weak.
165         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
166         libm_hidden_def.
167         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
168         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
169         Likewise.
170         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
171         define as weak alias of __fegetenv.  Use libm_hidden_weak.
172         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
173         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
174         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
175         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
176         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
177         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
178         __fegetenv instead of fegetenv.
179         (libc_feholdsetround_noex_ctx): Likewise.
180
181 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
182
183         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
184         (Elf_MIPS_ABIFlags_v0): New structure.
185         (EF_MIPS_FP64): Define.
186         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
187         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
188         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
189         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
190         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
191         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
192         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
193         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
194         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
195         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
196         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
197         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
198         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
199         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
200         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
201         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
202         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
203         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
204         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
205         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
206         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
207         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
208         field.
209         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
210         EF_MIPS_FP64.
211         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
212         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
213         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
214         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
215         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
216         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
217         * sysdeps/mips/tst-abi-interlink.c: Likewise.
218         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
219         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
220         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
221         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
222         record the current FP ABI extension.
223         (mips-mode-switch): Define to show if kernel headers support mode
224         switching.
225         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
226         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
227         supported SYSV ABI version to 3.
228         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
229         feature.
230
231 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
232             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
233
234         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
235         path.
236         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
237
238 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
239
240         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
241         __fegetround and redefine to call __fegetround.  Remove condition
242         on [!__NO_MATH_INLINES].
243         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
244         function.
245         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
246         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
247         Remove macro.
248         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
249         instead of <fenv_libc.h>.
250         (__llrintl): Call fegetround instead of __fegetround.
251         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
252         instead of <fenv_libc.h>.
253         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
254         (__lrintl): Call fegetround instead of __fegetround.
255         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
256         instead of <fenv_libc.h>.
257         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
258         (__rintl): Call fegetround instead of __fegetround.
259
260 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
261
262         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
263         arrays.
264
265 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
266
267         [BZ #17775]
268         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
269         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
270         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
271
272 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
273
274         * sysdeps/i386/tls-macros.h: Include <features.h>.
275         (TLS_LE): Use non-PIC version for GCC >= 5.0.
276         (TLS_IE): Likewise.
277         (TLS_LD): Likewise.
278         (TLS_GD): Likewise.
279         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
280         define for GCC >= 5.0.
281
282 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
283
284         * math/test-fenv.c (test_single_exception, set_single_exc,
285         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
286         feexcp_mask_test, feenable_test, fe_single_test): Add
287         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
288         case where they are not used.
289         * math/libm-test.inc: Likewise.
290         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
291         unused in the absence of FP rounding/exception support.
292         * stdio-common/tst-printf-round.c: Likewise.
293         * stdlib/tst-strtod-round.c: Likewise.
294         * stdlib/tst-strtod-underflow.c: Likewise.
295
296 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
297
298         [BZ #17723]
299         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
300         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
301         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
302         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
303         libm_hidden_weak.
304         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
305         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
306         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
307         libm_hidden_def.
308         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
309         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
310         libm_hidden_weak.
311         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
312         Likewise.
313         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
314         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
315         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
316         libm_hidden_weak.
317         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
318         libm_hidden_def.
319         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
320         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
321         (__feraiseexcept): Likewise.
322         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
323         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
324         libm_hidden_weak.
325         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
326         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
327         libm_hidden_def.
328         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
329         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
330         Use libm_hidden_def.
331         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
332         libm_hidden_def.
333         (feraiseexcept): Define as weak not strong alias.  Use
334         libm_hidden_weak.
335         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
336         New inline function.  Factored out of ...
337         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
338         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
339         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
340         feraiseexcept.
341         * math/w_acos.c (__acos): Likewise.
342         * math/w_asin.c (__asin): Likewise.
343         * math/w_ilogb.c (__ilogb): Likewise.
344         * math/w_j0.c (y0): Likewise.
345         * math/w_j1.c (y1): Likewise.
346         * math/w_jn.c (yn): Likewise.
347         * math/w_log.c (__log): Likewise.
348         * math/w_log10.c (__log10): Likewise.
349         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
350         * sysdeps/aarch64/fpu/math_private.h
351         (libc_feupdateenv_test_aarch64): Likewise.
352         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
353         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
354         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
355         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
356         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
357         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
358         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
359         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
360         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
361         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
362
363 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
364
365         [BZ #17732]
366         * io/test-utime.c (main): Replace %ld with %jd and cast to
367         intmax_t.
368         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
369         * nptl/tst-mutex5.c: Include <stdint.h>.
370         (do_test): Replace %ld with %jd and cast to intmax_t.
371         * posix/tst-regex.c (run_test): Likewise.
372         (run_test_backwards): Likewise.
373         * rt/tst-clock.c: Include <stdint.h>.
374         (clock_test): Replace %ld with %jd and cast to intmax_t.
375         * rt/tst-cpuclock1.c: Include <stdint.h>.
376         (do_test): Replace %lu with %ju and cast to uintmax_t.
377         * rt/tst-cpuclock2.c: Include <stdint.h>.
378         (do_test): Replace %lu with %ju and cast to uintmax_t.
379         * rt/tst-mqueue1.c: Include <stdint.h>.
380         (check_attrs): Replace %ld with %jd and cast to intmax_t.
381         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
382         intmax_t.
383         * rt/tst-mqueue4.c (do_test): Likewise.
384         * rt/tst-timer4.c: Include <stdint.h>.
385         (check_ts): Replace %ld with %jd and cast to intmax_t.
386         (do_test): Likewise.
387         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
388         and cast to intmax_t.
389         * sysdeps/pthread/tst-timer.c (main): Likewise.
390         * time/clocktest.c (main): Likewise.
391         * time/tst-posixtz.c (do_test): Likewise.
392         * timezone/tst-timezone.c (main): Likewise.
393
394 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
395             H.J. Lu  <hongjiu.lu@intel.com>
396
397         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
398         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
399         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
400         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
401         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
402         version if bit_Fast_Unaligned_Load is set.
403         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
404         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
405         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
406         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
407         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
408         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
409         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
410         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
411         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
412         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
413         to 4.
414         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
415         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
416         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
417         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
418
419 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
420
421         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
422         instead of #if to avoid a Wundef warning.
423         * stdlib/tst-limits.c (do_test): Likewise.
424
425         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
426         parallel other exception macros.
427         (fegetenv): Convert from macro to extern inline so that it applies
428         retroactively to inline functions already seen by the compiler.
429         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
430
431         * posix/Makefile (before-compile): Use $(objpfx) for
432         posix-conf-vars-def.h.
433
434 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
435
436         * posix/getconf.c (main): Use size_t for type of I.
437         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
438         NSPEC.
439
440         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
441         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
442         * posix/posix-envs.def: Likewise.
443         * sysdeps/posix/sysconf.c: Likewise.
444         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
445         (specs): Remove array.
446         * scripts/gen-posix-conf-vars.awk: Support generation of specs
447         array.
448
449         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
450         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
451         (__sysconf): Use CONF_IS_* macros.
452
453         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
454         ($(objpfx)posix-conf-vars-def.h): New target.
455         * posix/posix-conf-vars.list: New file.
456         * posix/posix-conf-vars.h: New file.
457         * posix/confstr.c: Include posix-conf-vars.h.
458         (confstr): Use CONF_IS_* macros.
459         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
460         CONF_IS_* macros.
461         * scripts/gen-posix-conf-vars.awk: New file.
462
463 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
464
465         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
466         fegetround): Add no-op macros to avoid linknamespace issues.
467
468         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
469         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
470
471         * sysdeps/unix/sysv/linux/tile/sysdep.h
472         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
473         assembly-specific section to avoid a redefinition warning.
474
475         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
476         long before casting to pointer to avoid a cast warning.
477
478 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
479
480         * sysdeps/tile/tilegx/Implies: New file.
481
482 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
483
484         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
485
486 2014-12-23  Florian Weimer  <fweimer@redhat.com>
487
488         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
489
490 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
491
492         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
493         not define.
494         * sysdeps/unix/sysv/linux/utimes.c: Do not include
495         <kernel-features.h>.
496         (__utimes) [__NR_utimes]: Make code unconditional.
497         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
498         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
499         (__ASSUME_UTIMES): Do not undefine.
500         * sysdeps/unix/sysv/linux/tile/kernel-features.h
501         (__ASSUME_UTIMES): Likewise.
502         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
503         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
504         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
505         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
506
507 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
508
509         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
510
511 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
512
513         [BZ #17747]
514         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
515         alias to weak alias for j0l, y0l.
516         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
517         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
518
519         [BZ #17746]
520         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
521         conversion.
522
523 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
524
525         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
526         to zero if not already defined.
527
528 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
529
530         [BZ #17724]
531         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
532         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
533         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
534         (char *) casts added.
535         * sysdeps/ieee754/k_standardf.c: New file.
536         * sysdeps/ieee754/k_standardl.c: Likewise.
537         * math/Makefile (libm-support): Remove k_standard.
538         (libm-calls): Add k_standard.
539
540 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
541
542         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
543         Optimize to avoid an unnecessary FPCR read.
544
545 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
546
547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
548         Optimize to reduce FPCR/FPSR accesses.
549
550 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
551
552         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
553         Call libc_fetestexcept_aarch64.
554
555 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
556
557         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
558         Call libc_fesetround_aarch64.
559
560 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
561
562         [BZ #17733]
563         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
564         (__bind): Do not define as weak alias.
565         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
566         define.
567         (__getsockname): Do not define as weak alias.
568
569 2014-12-22  Will Newton  <will.newton@linaro.org>
570
571         * manual/install.texi: Document that we require bison 2.7
572         or above.
573         * INSTALL: Regenerate.
574         * configure.ac: Use AC_CHECK_PROG_VER instead of
575         AC_PATH_PROG when checking for bison and check for
576         version 2.7 or above.
577         * configure: Regenerate.
578
579 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
580
581         [BZ #17745]
582         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
583         * sysdeps/tile/ffsll.c (ffsll): To here.
584
585         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
586
587 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
588
589         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
590         if not defined.
591         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
592         definition.
593         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
594         hidden ___tls_get_addr.
595         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
596         hidden __tls_get_addr.
597         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
598         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
599         Likewise.
600
601 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
602
603         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
604         _dl_init call.
605
606 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
607
608         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
609         from "call _dl_init@PLT".
610         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
611
612 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
613
614         * manual/search.texi: (Array Sort Function): Clarify stable sorting
615         guarantees.
616
617 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
618
619         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
620
621 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
622
623         [BZ #17744]
624         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
625         strnlen.
626
627 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
628
629         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
630         of multu on MIPSr6.
631         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
632         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
633         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
634         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
635         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
636
637 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
638
639         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
640         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
641         (PTR_SUBU): Use subu for mips32r6/mips64r6.
642         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
643         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
644         mips32r6/mips64r6.
645         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
646
647 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
648
649         * string/strncat.c (STRNCAT): Simplify implementation.
650
651 2014-12-19  David S. Miller  <davem@davemloft.net>
652
653         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
654         access the quad as both a long double and as a series of 4 words.
655
656         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
657         link_map->l_info array access.
658
659 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
660
661         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
662
663         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
664         * math/atest-exp2.c (TIMEOUT): Likewise.
665         * math/atest-sincos.c (TIMEOUT): Likewise.
666
667 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
668
669         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
670         -Wno-error with -fno-builtin-lround.
671
672 2014-12-19  Torvald Riegel  <triegel@redhat.com>
673
674         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
675         Contains futex constants and functions moved over from ...
676         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
677         <lowlevellock-futex.h>.
678         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
679         (lll_timedwait_tid): Add comments and parentheses around macro
680         arguments.
681
682 2014-12-19  Torvald Riegel  <triegel@redhat.com>
683
684         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
685         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
686         (__lll_private_flag): Remove.
687         (lll_futex_wait): Likewise.
688         (lll_futex_timed_wait): Likewise.
689         (lll_futex_wake): Likewise.
690         (lll_futex_requeue): Likewise.
691         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
692         (__lll_timedwait_tid): Spell out argument names.
693         (lll_timedwait_tid): Add comments and parentheses around macro
694         arguments.
695         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
696         LLL_SHARED and LLL_PRIVATE usable from assembly code.
697
698 2014-12-19  Torvald Riegel  <triegel@redhat.com>
699
700         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
701         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
702         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
703         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
704         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
705         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
706         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
707         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
708         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
709         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
710         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
711         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
712         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
713         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
714         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
715         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
716         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
717         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
718         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
719
720 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
721
722         * sysdeps/x86_64/x32/Makefile: New file.
723
724 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
725
726         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
727         1L with (mp_limb_t) 1.
728
729 2014-12-17  Roland McGrath  <roland@hack.frob.com>
730
731         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
732         * nptl/libc_pthread_init.c: ... here.
733         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
734         * nptl/register-atfork.c: ... here.
735
736         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
737         Use pthread_sigmask rather than INTERNAL_SYSCALL.
738         Use assert_perror to check its return value.
739         (__gai_create_helper_thread): Likewise.
740
741         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
742
743         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
744
745 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
746
747         [BZ #17725]
748         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
749         __profil_counter.
750         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
751         Likewise.
752         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
753         Likewise.
754         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
755         Likewise.
756         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
757         (profil_counter): Likewise.
758         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
759         (profil_counter): Likewise.
760         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
761         Likewise.
762         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
763         Likewise.
764         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
765         (profil_counter): Likewise.
766         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
767         Likewise.
768         [!__profil_counter] (profil_counter): Define as weak alias of
769         __profil_counter.
770         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
771         (profil_counter): Rename to __profil_counter.
772         [!__profil_counter] (profil_counter): Define as weak alias of
773         __profil_counter.
774         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
775         (profil_counter): Rename to __profil_counter.
776         [!__profil_counter] (profil_counter): Define as weak alias of
777         __profil_counter.
778         * sysdeps/posix/profil.c: Update comment referring to
779         profil_counter.
780         (__profil): Use __profil_counter instead of profil_counter.
781         * sysdeps/posix/sprofil.c (profil_counter): Rename to
782         __profil_counter.  Use __profil_counter_ushort and
783         __profil_counter_uint in definitions.
784         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
785         instead of profil_counter_uint and profil_counter_ushort.
786
787         [BZ #17722]
788         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
789         define as weak alias of __inet_makeaddr.
790         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
791         as weak alias of __inet_addr.
792         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
793         as weak alias of __inet_pton.  Use libc_hidden_weak.
794         * include/arpa/inet.h (__inet_pton): Declare.  Use
795         libc_hidden_proto.
796         (inet_makeaddr): Don't use libc_hidden_proto.
797         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
798         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
799         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
800         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
801         Remove variable.
802         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
803         (test-xfail-POSIX/time.h/linknamespace): Likewise.
804
805 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
806
807         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
808
809 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
810
811         * stdio-common/bug-vfprintf-nargs.c (do_test):
812         Cast value to intptr_t to avoid format warning
813         for usage with PRIdPTR printing macro.
814
815 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
816
817         * libio/tst-widetext.c (do_test):
818         Use format type %td instead of %Zd for ptrdiff_t
819         in order to avoid format warning.
820
821 2014-12-17  Andreas Schwab  <schwab@suse.de>
822
823         * nscd/mem.c (gc): Add size_t cast to match printf format.
824
825 2014-12-16  Roland McGrath  <roland@hack.frob.com>
826
827         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
828         (init): Apply PTR_MANGLE to pointers before storing them.
829         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
830         before using them.
831
832 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
833
834         [BZ #17719]
835         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
836         define as weak alias of __memrchr.
837         (__memrchr): Do not define as strong alias of memrchr.
838         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
839         Remove variable.
840         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
841         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
842         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
843
844         [BZ #17717]
845         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
846         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
847         (if_indextoname): Rename to __if_indextoname and define as weak
848         alias of __if_indextoname.  Use libc_hidden_weak.
849         (if_freenameindex): Rename to __if_freenameindex and define as
850         weak alias of __if_freenameindex.
851         (if_nameindex): Rename to __if_nameindex and define as weak alias
852         of __if_nameindex.
853         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
854         __if_nametoindex and define as weak alias of __if_nametoindex.
855         Use libc_hidden_weak.
856         (if_freenameindex): Rename to __if_freenameindex and define as
857         weak alias of __if_freenameindex.
858         (if_nameindex): Rename to __if_nameindex and define as weak alias
859         of __if_nameindex.
860         (if_indextoname): Rename to __if_indextoname and define as weak
861         alias of __if_indextoname.  Use libc_hidden_weak.
862         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
863         __if_nametoindex and define as weak alias of __if_nametoindex.
864         Use libc_hidden_weak.
865         (if_freenameindex): Rename to __if_freenameindex and define as
866         weak alias of __if_freenameindex.  Use libc_hidden_weak.
867         (if_nameindex_netlink): Use __if_freenameindex instead of
868         if_freenameindex.
869         (if_nameindex): Rename to __if_nameindex and define as weak alias
870         of __if_nameindex.  Use libc_hidden_weak.
871         (if_indextoname): Rename to __if_indextoname and define as weak
872         alias of __if_indextoname.  Use libc_hidden_weak.
873         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
874         libc_hidden_proto.
875         [!_ISOMAC] (__if_freenameindex): Likewise.
876         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
877         if_nametoindex.
878         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
879         variable.
880         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
881         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
882         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
883         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
884         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
885         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
886         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
887
888         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
889         Remove variable.
890         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
891         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
892
893 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
894
895         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
896         subscript above bounds'
897
898         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
899         bounds.
900
901 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
902
903         * libio/tst-fopenloc.c: Use test-skeleton.c.
904
905         * stdlib/tst-bsearch.c: Use test-skeleton.c.
906         (entry): Rename to ITEM.
907         (do_test, comp): Adjust.
908
909         * stdio-common/tst-fseek.c: Use test-skeleton.c.
910
911 2014-12-16  Torvald Riegel  <triegel@redhat.com>
912
913         * string/tester.c: Include <libc-internal.h>.
914         (test_memset): Ignore -Wmemset-transposed-args.
915
916 2014-12-16  Torvald Riegel  <triegel@redhat.com>
917
918         * misc/tst-mntent2.c (do_test): Fix warning.
919
920 2014-12-16  Torvald Riegel  <triegel@redhat.com>
921
922         * elf/tst-unique4lib.cc(a): Mark as used.
923
924 2014-12-16  Florian Weimer  <fweimer@redhat.com>
925
926         [BZ #17630]
927         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
928         names.
929
930 2014-12-16  Allan McRae  <allan@archlinux.org>
931
932         * stdio-common/Makefile (tests): Re-add bug26.
933
934 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
935
936         [BZ #17657]
937         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
938         static array.
939
940 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
941
942         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
943         (__lll_lock_wait): Likewise.
944         (__lll_timedlock_wait): Likewise.
945         (__lll_timedwait_tid): Likewise.
946         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
947         (__lll_robust_timedlock_wait): Likewise.
948         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
949         (lll_cond_trylock): Likewise.
950         (__lll_lock): Likewise.
951         (__lll_robust_lock): Likewise.
952         (__lll_cond_lock): Likewise.
953         (lll_robust_cond_lock): Likewise.
954         (__lll_timedlock): Likewise.
955         (__lll_robust_timedlock): Likewise.
956         (__lll_unlock): Likewise.
957         (__lll_robust_unlock): Likewise.
958         (lll_wait_tid): Likewise.
959         (lll_timedwait_tid): Likewise.
960
961 2014-12-15  Torvald Riegel  <triegel@redhat.com>
962
963         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
964
965 2014-12-15  Torvald Riegel  <triegel@redhat.com>
966
967         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
968
969 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
970
971         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
972         * stdio-common/tst-sprintf.c: Likewise.
973
974 2014-12-15  Torvald Riegel  <triegel@redhat.com>
975
976         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
977
978 2014-12-15  Jeff Law  <law@redhat.com>
979
980         [BZ #16617]
981         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
982         on the heap.  (CVE-2012-3406)
983         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
984         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
985         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
986
987 2014-12-15  Will Newton  <will.newton@linaro.org>
988
989         * manual/install.texi: Bump required version of texinfo
990         to 4.7 from 4.5.
991         * INSTALL: Regenerated.
992         * configure.ac: Check for makeinfo version 4.7 and above.
993         * configure: Regenerated.
994
995 2014-12-12  Roland McGrath  <roland@hack.frob.com>
996
997         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
998         PREFIX, string constant to insert between directory and name.
999         * sysdeps/posix/shm_open.c: Update caller.
1000         * sysdeps/posix/shm_unlink.c: Likewise.
1001         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1002         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1003         (SEM_SHM_PREFIX): New macro.
1004         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1005         [$(have-thread-library) = no].
1006         * nptl/Makefile (libpthread-routines): Add shm-directory.
1007         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1008         * sysdeps/nptl/shm-directory.h: New file.
1009         * sysdeps/posix/shm-directory.c
1010         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1011         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1012         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1013         INTERNAL_SYSCALL.
1014         (__where_is_shmfs): Function removed.
1015         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1016         Variables removed.
1017         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1018         Use SHM_GET_NAME.
1019         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1020
1021         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1022         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1023         unconditional for use inside libpthread.
1024         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1025
1026 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1027
1028         * nptl/pthread_getaffinity.c: New file.
1029         * nptl/pthread_setaffinity.c: New file.
1030         * nptl/pthread_getname.c: New file.
1031         * nptl/pthread_setname.c: New file.
1032
1033         * nptl/pthread_create.c (START_THREAD_DEFN)
1034         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1035
1036 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1037             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1038
1039         * resolv/res_send.c (send_vc): Disable warning resplen may
1040         be used uninitialized.
1041
1042 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1043
1044         * nptl/tst-mutex6.c
1045         (ATTR_NULL): New define checks ATTR against NULL.
1046         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1047         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1048
1049 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1050
1051         [BZ #17581]
1052         * malloc/hooks.c
1053         (mem2mem_check): Revert my previous change.
1054         (malloc_check_get_size): Revert my previous change.
1055         (mem2chunk_check): Revert my previous change.
1056
1057 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1058
1059         * sysdeps/posix/shm-directory.c: New file.
1060         * sysdeps/posix/shm-directory.h: New file.
1061         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1062         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1063         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1064         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1065         Transmute EPERM to EACCES.
1066         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1067         from ...
1068         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1069         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1070
1071 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1072
1073         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1074         pointer and cast to uintptr_t.
1075         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1076         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1077         Add cast to avoid warning.
1078         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1079
1080 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1081
1082         * nptl/semaphore.h: Move to ...
1083         * sysdeps/pthread/semaphore.h: ... here.
1084         * Makefile (installed-headers): Change nptl/semaphore.h to
1085         sysdeps/pthread/semaphore.h.
1086
1087 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1088
1089         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1090         generated error format strings.
1091
1092         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1093         -Wformat-extra-args warnings for scanf formats.
1094         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1095         test of zero-length format (duh).
1096         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1097         corner-case scanf format test.
1098         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1099         generated fprintf format string.
1100         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1101         corner-case sprintf format tests.
1102         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1103         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1104         -Wformat-extra-args warnings throughout.
1105         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1106         (CFLAGS-scanf4.c): Likewise.
1107         (CFLAGS-scanf7.c): Likewise.
1108         (CFLAGS-tst-sprintf.c): Likewise.
1109         (CFLAGS-tst-printf.c): Likewise.
1110         (CFLAGS-tst-printfsz.c): Likewise.
1111
1112 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1113
1114         * include/cpio.h: New file.
1115         * include/fmtmsg.h: Likewise.
1116
1117         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1118         corresponding format argument to size_t.
1119         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1120         arguments.
1121         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1122         corresponding format argument to size_t.
1123         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1124         arguments.
1125         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1126         corresponding format argument to size_t.
1127         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1128         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1129         (CFLAGS-tst-mbswcs2.c): Likewise.
1130         (CFLAGS-tst-mbswcs3.c): Likewise.
1131         (CFLAGS-tst-mbswcs4.c): Likewise.
1132         (CFLAGS-tst-mbswcs5.c): Likewise.
1133         (CFLAGS-tst-trans.c): Likewise
1134
1135 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1136
1137         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1138         rather than assuming they won't contain any '%'s.
1139
1140 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1141
1142         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1143         inhibit_loop_to_libcall to avoid recursive calls.
1144         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1145         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1146
1147 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1148
1149         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1150         prototype.
1151
1152 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1153
1154         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1155         integer value instead of boolean.
1156
1157 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1158
1159         * malloc/malloc.c: Fix powerof2 check.
1160
1161 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1162
1163         * locale/programs/locfile.h (maybe_swap_uint32):
1164         Remove inline and add unused attribute.
1165
1166 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1167
1168         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1169         Truncating assembler expression to a .long expression.
1170
1171 2014-12-11  Andreas Schwab  <schwab@suse.de>
1172
1173         * elf/rtld.c (struct map_args): Constify str member.
1174         (do_preload): Constify fname argument.
1175
1176 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1177
1178         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1179         constants definition.
1180
1181 2014-12-11  Andreas Schwab  <schwab@suse.de>
1182
1183         [BZ #16657]
1184         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1185         FORCE_ELISION instead of DO_ELISION.
1186         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1187         Remove.
1188         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1189         Likewise.
1190
1191         * iconvdata/gconv-modules: Remove duplicate entry.
1192
1193 2014-12-11  Will Newton  <will.newton@linaro.org>
1194
1195         Merge gettext 0.19.3 into intl/.
1196
1197         This involves a number of cosmetic changes to comments
1198         and ANSI function definitions and prototypes throughout
1199         all the files. The gettext copyright header is used but
1200         with the date ranges taken from the glibc copy.
1201
1202         * NEWS: Add gettext merge to 2.21.
1203         * intl/bindtextdom.c: Switch to gettext copyright.
1204         Use ANSI definitions and prototypes.
1205         Use gl_* locking primitives rather than __libc_* ones.
1206         Use __builtin_expect rather than __glibc_likely/unlikely.
1207         * intl/dcgettext.c: Switch to gettext copyright.
1208         Use ANSI definitions and prototypes.
1209         * intl/dcigettext.c: Switch to gettext copyright.
1210         Use ANSI definitions and prototypes.
1211         (INTDIV0_RAISES_SIGFPE): New define.
1212         Use gl_* locking primitives rather than __libc_* ones.
1213         Include eval-plural.h instead of plural-eval.c.
1214         Use __builtin_expect rather than __glibc_likely/unlikely.
1215         * intl/dcngettext.c: Switch to gettext copyright.
1216         Use ANSI definitions and prototypes.
1217         * intl/dgettext.c: Likewise.
1218         * intl/dngettext.c: Likewise.
1219         * intl/plural-eval.c: Renamed to...
1220         * intl/eval-plural.h: ...this.
1221         * intl/explodename.c: Switch to gettext copyright.
1222         Use ANSI definitions and prototypes.
1223         (_nl_explode_name): Use strchr instead of __rawmemchr.
1224         * intl/finddomain.c: Switch to gettext copyright.
1225         Use ANSI definitions and prototypes.
1226         Use gl_* locking primitives rather than __libc_* ones.
1227         (_nl_find_domain): Use malloc rather than alloca for
1228         allocation of temporary locale name.
1229         * intl/gettext.c: Switch to gettext copyright.
1230         Use ANSI definitions and prototypes.
1231         * intl/gettextP.h: Switch to gettext copyright.
1232         Use ANSI definitions and prototypes.
1233         Use gl_* locking primitives rather than __libc_* ones.
1234         * intl/gmo.h: Switch to gettext copyright.
1235         (struct sysdep_string): Move struct segment_pair outside of
1236         struct definition.
1237         * intl/hash-string.c: Use ANSI definitions and prototypes.
1238         * intl/hash-string.h: Switch to gettext copyright.
1239         Use ANSI definitions and prototypes.
1240         * intl/l10nflist.c: Switch to gettext copyright.
1241         Use ANSI definitions and prototypes.
1242         (_nl_normalize_codeset): Avoid integer overflow.
1243         * intl/loadinfo.h: Switch to gettext copyright.
1244         Use ANSI definitions and prototypes.
1245         (LIBINTL_DLL_EXPORTED): New define.
1246         (PATH_SEPARATOR): New define.
1247         * intl/loadmsgcat.c: Switch to gettext copyright.
1248         * intl/localealias.c: Switch to gettext copyright.
1249         Use ANSI definitions and prototypes.
1250         (_nl_expand_alias): Use PATH_SEPARATOR.
1251         * intl/ngettext.c: Switch to gettext copyright.
1252         Use ANSI definitions and prototypes.
1253         * intl/plural-exp.c: Likewise.
1254         * intl/plural-exp.h: Switch to gettext copyright.
1255         Use ANSI definitions and prototypes.
1256         (struct expression): Move definition of enum operator outside
1257         of struct definition.
1258         * intl/plural.c: Regenerate.
1259         * intl/plural.y: Switch to gettext copyright.
1260         Use ANSI definitions and prototypes.
1261         Port to bison 3.0.
1262         * intl/textdomain.c: Switch to gettext copyright.
1263         Use ANSI definitions and prototypes.
1264         Use gl_* locking primitives rather than __libc_* ones.
1265
1266 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1267
1268         * debug/warning-nop.c: Add used atrribute.
1269
1270 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1271
1272         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1273
1274         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1275         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1276         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1277
1278 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1279             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1280
1281         [BZ #17634]
1282         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1283         Undefine after defining function.  Define as weak alias of
1284         __wcschr.  Use libc_hidden_weak.
1285         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1286         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1287         (libc_hidden_def): Also define __GI___wcschr alias.
1288         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1289         __wcschr and define as weak alias of __wcschr.
1290         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1291         __wcschr.
1292         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1293         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1294         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1295         libc_hidden_weak.  Do not use libc_hidden_def.
1296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1297         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1298         __GI___wcschr alias.
1299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1300         [IS_IN (libc)] (wcschr): Define as macro expanding to
1301         __redirect_wcschr.
1302         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1303         [IS_IN (libc)] (__wcschr_power6): Likewise.
1304         [IS_IN (libc)] (__wcschr_power7): Likewise.
1305         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1306         instead of wcschr.
1307         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1308         __libc_wcschr.
1309         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1310         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1311         __wcschr and define as weak alias of __wcschr.  Use
1312         libc_hidden_builtin_def.
1313         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1314         as weak alias of __wcschr.  Use libc_hidden_weak.
1315         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1316         wcschr.
1317         * time/era.c (_nl_init_era_entries): Likewise.
1318         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1319         variable.
1320         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1321         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1322
1323 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1324
1325         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1326         format for long int variable.
1327
1328 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1329
1330         [BZ #10672]
1331         * manual/search.texi: (Array Sort Function): Remove claim how to make
1332         qsort stable.
1333
1334 2014-12-10  Andreas Schwab  <schwab@suse.de>
1335
1336         [BZ #12847]
1337         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1338         user-controlled locks.
1339
1340 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1341
1342         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1343         register.
1344
1345 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1346
1347         * configure.ac (--disable-werror): New configure option.
1348         (enable_werror): New AC_SUBST.
1349         * configure: Regenerated.
1350         * config.make.in (enable-werror): New variable.
1351         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1352         -Wno-error=undef.
1353         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1354         * manual/install.texi (Configuring and compiling): Document
1355         --disable-werror.
1356         * INSTALL: Regenerated.
1357         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1358         (CFLAGS-tst-chk2.c): Likewise.
1359         (CFLAGS-tst-chk3.c): Likewise.
1360         (CFLAGS-tst-chk4.cc): Likewise.
1361         (CFLAGS-tst-chk5.cc): Likewise.
1362         (CFLAGS-tst-chk6.cc): Likewise.
1363         (CFLAGS-tst-lfschk1.c): Likewise.
1364         (CFLAGS-tst-lfschk2.c): Likewise.
1365         (CFLAGS-tst-lfschk3.c): Likewise.
1366         (CFLAGS-tst-lfschk4.cc): Likewise.
1367         (CFLAGS-tst-lfschk5.cc): Likewise.
1368         (CFLAGS-tst-lfschk6.cc): Likewise.
1369
1370         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1371         (main): Disable -Wdeprecated-declarations around calls to
1372         register_printf_function.
1373
1374         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1375         (do_test): Disable -Wdiv-by-zero around some calls to
1376         fwrite_unlocked and fread_unlocked.
1377
1378         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1379         (DIAG_POP_NEEDS_COMMENT): Likewise.
1380         (_DIAG_STR1): Likewise.
1381         (_DIAG_STR): Likewise.
1382         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1383         * stdio-common/bug21.c: Include <libc-internal.h>.
1384         (do_test): Disable -Wformat around call to sscanf.
1385         * stdio-common/scanf14.c: Include <libc-internal.h>.
1386         (main): Disable -Wformat around some calls to scanf functions.
1387
1388 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1389
1390         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1391
1392 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1393
1394         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1395         stack variable alignment.
1396
1397 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1398
1399         [BZ #17682]
1400         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1401         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1402         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1403         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1404         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1405         __getrlimit instead of getrlimit.
1406         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1407         __gettimeofday instead of gettimeofday.
1408         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1409         Likewise.
1410         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1411         Likewise.
1412         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1413         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1414         Remove variable.
1415         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1416         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1417
1418 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1419
1420         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1421         for wide-character tests.
1422
1423 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1424
1425         * io/openat64.c: #include <libc-internal.h>
1426         (__openat64): Prototypify.  Use ignore_value on MODE.
1427         * io/openat.c: Likewise.
1428         * misc/reboot.c: #include <libc-internal.h>
1429         (reboot): Prototypify.  Use ignore_value on HOWTO.
1430         * misc/ptrace.c: #include <libc-internal.h>
1431         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1432
1433 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1434
1435         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1436         XPG4, UNIX98 and XOPEN2K.
1437         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1438         Remove variable.
1439         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1440
1441 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1442
1443         * libio/fileops.c: Use ISO C style for function definitions.
1444         * libio/iofopen.c: Likewise.
1445         * libio/wfileops.c: Likewise.
1446
1447         [BZ #17653]
1448         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1449         offset on EOF.
1450         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1451         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1452         (fgets_func): Function pointer to fgets and fgetws.
1453         (do_ftell_test): Add test to verify ftell value after read
1454         EOF.
1455         (do_test): Set fgets_func.
1456
1457         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1458         O_TRUNC flag for w and w+ modes.
1459         (do_rewind_test): Likewise.
1460         (do_ftell_test): Likewise.
1461         (do_write_test): Likewise.
1462
1463         [BZ #17647]
1464         * libio/fileops.c (do_ftell): Seek only when there are
1465         unflushed writes.
1466         * libio/wfileops.c (do_ftell_wide): Likewise.
1467         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1468         test case.
1469         (do_one_test): Call it.
1470
1471 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1472
1473         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1474         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1475         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1476         Remove variable.
1477         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1478         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1479         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1480
1481 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1482
1483         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1484         Remove variable.
1485         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1486
1487         [BZ #17668]
1488         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1489         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1490         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1491         __freeifaddrs.  Use libc_hidden_weak.
1492         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1493         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1494         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1495         __freeifaddrs.  Use libc_hidden_weak.
1496         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1497         __getifaddrs and define as weak alias of __getifaddrs.  Use
1498         libc_hidden_weak.
1499         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1500         __freeifaddrs.  Use libc_hidden_weak.
1501         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1502         Remove variable.
1503         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1504         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1505
1506 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1507
1508         [BZ #17601]
1509         * sysdeps/mips/start.S (__start): Use indirect jump to call
1510         __libc_start_main.
1511
1512 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1513
1514         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1515
1516         * nptl/tst-mutex1.c: Include <stdbool.h>.
1517         [!ATTR] (ATTR_NULL): New macro.
1518         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1519         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1520         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1521
1522         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1523         to char *.
1524
1525         [BZ #17665]
1526         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1527         Change conditional to [__USE_MISC].
1528
1529         [BZ #17664]
1530         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1531         fgets_unlocked.
1532         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1533         __fgets_unlocked.
1534         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1535         fgets_unlocked.
1536         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1537         Remove variable.
1538         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1539         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1540         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1541         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1542         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1543         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1544         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1545         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1546         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1547
1548         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1549
1550 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1551
1552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1553         Remove strpbrk objects.
1554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1555         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1556         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1557         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1558         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1559         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1560
1561         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1562         Remove strcspn objects.
1563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1564         (__libc_ifunc_impl_list): Remove strcspn implementation.
1565         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1566         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1567         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1568         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1569
1570         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1571         Remove strspn objetcs.
1572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1573         (__libc_ifunc_impl_list): Remove strspn implementation.
1574         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1575         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1576         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1577         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1578
1579 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1580
1581         [BZ #17581]
1582         * malloc/hooks.c
1583         (mem2mem_check): Add a terminator to the chain of checking blocks.
1584         (malloc_check_get_size): Use it here.
1585         (mem2chunk_check): Ditto.
1586
1587 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1588
1589         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1590         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1591
1592 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1593
1594         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1595
1596         * nptl/nptl-init.c: Include libc-internal.h.
1597         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1598
1599         * elf/ldconfig.c (search_dir): Expand comment.
1600
1601 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1602
1603         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1604         variable.
1605         (linknamespace-symlist-stdlibs-tests): Likewise.
1606         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1607         instead of $(objpfx)symlist-stdlibs.
1608         (linknamespace-libs-isoc): New variable.
1609         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1610         (linknamespace-libs-ISO): New variable.
1611         (linknamespace-libs-ISO99): Likewise.
1612         (linknamespace-libs-ISO11): Likewise.
1613         (linknamespace-libs-XPG3): Likewise.
1614         (linknamespace-libs-XPG4): Likewise.
1615         (linknamespace-libs-POSIX): Likewise.
1616         (linknamespace-libs-UNIX98): Likewise.
1617         (linknamespace-libs-XOPEN2K): Likewise.
1618         (linknamespace-libs-POSIX2008): Likewise.
1619         (linknamespace-libs-XOPEN2K8): Likewise.
1620         ($(objpfx)symlist-stdlibs): Replace by
1621         $(linknamespace-symlist-stdlibs-tests).  Use
1622         $(linknamespace-libs-$*) as set of libraries.
1623         ($(linknamespace-header-tests)): Update dependencies.  Use
1624         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1625         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1626         * conform/linknamespace.pl: Remove comment about considering
1627         definitions of symbols from irrelevant libraries.
1628
1629 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1630
1631         [BZ #13862]
1632         * elf/dl-tls.c: Include <atomic.h>.
1633         (oom): Remove #ifdef SHARED/#endif.
1634         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1635         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1636         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1637         big enough.
1638         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1639         * nptl/Makefile (tests): Add tst-stack4.
1640         (modules-names): Add tst-stack4mod.
1641         ($(objpfx)tst-stack4): New.
1642         (tst-stack4mod.sos): Likewise.
1643         ($(objpfx)tst-stack4.out): Likewise.
1644         ($(tst-stack4mod.sos)): Likewise.
1645         (clean): Likewise.
1646         * nptl/tst-stack4.c: New file.
1647         * nptl/tst-stack4mod.c: Likewise.
1648
1649 2014-11-27  J. Brown  <jb999@gmx.de>
1650
1651         * sysdeps/x86/bits/string.h: Add recent CPUs.
1652
1653 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1654
1655         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1656         sigblock.
1657
1658         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1659         feof.
1660
1661         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1662         variable.
1663
1664 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1665
1666         * nscd/connections.c: Include libc-internal.h because of macro
1667         usage ignore_value.
1668
1669 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1670
1671         * string/bits/string3.h (__warn_memset_zero_len): Don't
1672         declare for gcc newer than 5.0.
1673         (memset): Don't test for zero-length __LEN for gcc newer than
1674         5.0.
1675
1676 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1677
1678         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1679         size_t for %zu format.
1680
1681         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1682         difference, not %ju.
1683
1684 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1685
1686         * include/libc-internal.h (ignore_value): New macro.
1687         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1688         with ignore_value.
1689
1690         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1691         definition.
1692
1693         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1694         pthread_cleanup_push to void *.
1695
1696         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1697         Undefine.
1698
1699         [BZ #16619]
1700         [BZ #16740]
1701         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1702         instead of 1L << 52.
1703
1704         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1705         * libio/bug-rewind2.c (do_test): Likewise.
1706
1707         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1708         * debug/test-strcpy_chk-ifunc.c: Likewise.
1709         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1710         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1711         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1712         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1713         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1714         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1715         * Rules [$(multi-arch) = no] (tests): Do not filter out
1716         $(tests-ifunc).
1717         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1718         * debug/Makefile (tests-ifunc): Remove variable.
1719         (tests): Do not add $(tests-ifunc).
1720         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1721         (tests): Do not add $(tests-ifunc).
1722         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1723         [TEST_IFUNC]: Remove conditionals.
1724         * string/test-string.h (TEST_IFUNC): Remove macro.
1725         [TEST_IFUNC]: Remove conditionals.
1726
1727         * string/test-strchr.c [!WIDE] (L): New macro.
1728         [WIDE] (L): Likewise.
1729         (check1): Use CHAR instead of char.  Use L on string and character
1730         constants.
1731
1732 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1733
1734         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1735         tests.
1736         * sysdeps/powerpc/bits/atomic.h
1737         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1738         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1739         (atomic_exchange_and_add_acq): Likewise.
1740         (atomic_exchange_and_add_rel): Likewise.
1741         * sysdeps/powerpc/powerpc32/bits/atomic.h
1742         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1743         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1744         * sysdeps/powerpc/powerpc64/bits/atomic.h
1745         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1746         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1747
1748 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1749
1750         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1751         Change synchronization of __sched_fifo_min_prio and
1752         __sched_fifo_max_prio.
1753         * nptl/pthread_mutexattr_getprioceiling.c
1754         (pthread_mutexattr_getprioceiling): Likewise.
1755         * nptl/pthread_mutexattr_setprioceiling.c
1756         (pthread_mutexattr_setprioceiling): Likewise.
1757         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1758         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1759         Likewise.
1760
1761 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1762
1763         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1764         void.
1765
1766 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1767
1768         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1769         third argument const.
1770
1771 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1772
1773         fnmatch: work around GCC compiler warning bug with uninit var
1774         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1775         This works around a bug with x86-64 GCC 4.9.2 and earlier
1776         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1777         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1778         used uninitialized in this function [-Wmaybe-uninitialized]".
1779
1780 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1781
1782         * posix/bug-regex31.c (main): Return RES not 0.
1783
1784 2014-11-25  Anton Blanchard <anton@samba.org>
1785
1786         * sysdeps/powerpc/bits/atomic.h
1787         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1788
1789 2014-11-24  Sterling Augustine  <saugustine@google.com>
1790
1791         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1792
1793 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1794
1795         [BZ #17608]
1796         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1797
1798 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1799
1800         [BZ #17633]
1801         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1802         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1803         variable.
1804         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1805         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1806
1807 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1808
1809         * string/strncpy.c (strncpy): Improve performance by using memset.
1810
1811 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1812
1813         * string/strcpy.c (strcpy):
1814         Improve performance by using strlen and memcpy.
1815
1816 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1817
1818         * string/strcoll_l.c (get_next_seq): __always_inline.
1819         * string/strcoll_l.c (do_compare): __always_inline.
1820
1821 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1822
1823         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1824         defined.
1825         * include/mqueue.h: Likewise.
1826         * include/stdlib.h: Likewise.
1827
1828         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1829         (get_null_defines): Adjust.
1830         * sunrpc/Makefile: Adjust comment.
1831         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1832         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1833         (CFLAGS-interp.c): Likewise.
1834         (CFLAGS-ldconfig.c): Likewise.
1835         (CPPFLAGS-.os): Likewise.
1836         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1837         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1838         * extra-modules.mk (extra-modules.mk): Likewise.
1839         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1840         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1841         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1842         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1843         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1844         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1845         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1846         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1847         * iconvdata/Makefile (CPPFLAGS): Likewise.
1848         (cpp-srcs-left): Add libof for all iconvdata routines.
1849         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1850         * include/assert.h: Likewise.
1851         * include/ctype.h: Likewise.
1852         * include/errno.h: Likewise.
1853         * include/libc-symbols.h: Likewise.
1854         * include/math.h: Likewise.
1855         * include/netdb.h: Likewise.
1856         * include/resolv.h: Likewise.
1857         * include/stdio.h: Likewise.
1858         * include/stdlib.h: Likewise.
1859         * include/string.h: Likewise.
1860         * include/sys/stat.h: Likewise.
1861         * include/wctype.h: Likewise.
1862         * intl/l10nflist.c: Likewise.
1863         * libidn/idn-stub.c: Likewise.
1864         * libio/libioP.h: Likewise.
1865         * nptl/libc_multiple_threads.c: Likewise.
1866         * nptl/pthreadP.h: Likewise.
1867         * posix/regex_internal.h: Likewise.
1868         * resolv/res_hconf.c: Likewise.
1869         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1870         * sysdeps/arm/memmove.S: Likewise.
1871         * sysdeps/arm/sysdep.h: Likewise.
1872         * sysdeps/generic/_itoa.h: Likewise.
1873         * sysdeps/generic/symbol-hacks.h: Likewise.
1874         * sysdeps/gnu/errlist.awk: Likewise.
1875         * sysdeps/gnu/errlist.c: Likewise.
1876         * sysdeps/i386/i586/memcpy.S: Likewise.
1877         * sysdeps/i386/i586/memset.S: Likewise.
1878         * sysdeps/i386/i686/memcpy.S: Likewise.
1879         * sysdeps/i386/i686/memmove.S: Likewise.
1880         * sysdeps/i386/i686/mempcpy.S: Likewise.
1881         * sysdeps/i386/i686/memset.S: Likewise.
1882         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1883         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1884         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1885         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1886         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1887         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1888         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1889         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1890         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1891         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1892         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1893         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1894         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1895         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1896         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1897         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1898         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1899         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1900         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1901         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1902         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1903         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1904         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1905         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1906         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1907         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1908         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1909         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1910         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1911         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1912         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1913         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1914         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1915         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1916         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1917         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1918         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1919         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1920         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1921         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1922         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1923         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1924         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1925         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1926         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1927         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1928         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1929         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1930         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1931         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1932         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1933         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1934         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1935         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1936         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1937         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1938         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1939         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1940         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1941         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1942         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1943         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1944         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1945         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1946         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1947         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1948         * sysdeps/posix/closedir.c: Likewise.
1949         * sysdeps/posix/opendir.c: Likewise.
1950         * sysdeps/posix/readdir.c: Likewise.
1951         * sysdeps/posix/rewinddir.c: Likewise.
1952         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1953         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1954         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1955         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1956         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1957         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1958         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1961         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1962         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1963         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1964         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1965         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1966         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1967         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1968         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1969         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1970         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1971         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1972         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1973         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1974         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1976         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1977         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1978         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1979         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1980         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1986         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1987         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1988         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1989         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1990         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1991         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1992         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1993         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1994         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1995         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1996         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1997         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1998         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1999         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2000         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2001         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2002         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2003         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2006         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2008         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2009         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2010         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2011         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2012         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2013         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2014         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2015         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2016         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2017         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2018         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2019         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2020         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2021         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2022         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2023         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2024         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2025         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2026         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2027         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2028         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2029         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2030         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2031         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2032         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2033         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2034         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2035         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2036         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2037         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2038         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2039         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2040         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2041         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2042         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2043         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2044         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2045         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2046         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2047         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2048         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2050         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2051         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2052         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2053         * sysdeps/unix/alpha/sysdep.S: Likewise.
2054         * sysdeps/unix/alpha/sysdep.h: Likewise.
2055         * sysdeps/unix/make-syscalls.sh: Likewise.
2056         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2058         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2059         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2060         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2061         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2062         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2063         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2064         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2065         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2066         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2067         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2068         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2069         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2070         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2071         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2072         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2073         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2074         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2075         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2076         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2077         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2078         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2079         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2080         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2081         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2082         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2085         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2086         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2087         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2088         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2089         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2090         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2091         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2093         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2094         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2095         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2096         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2097         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2098         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2099         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2100         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2102         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2103         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2105         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2106         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2107         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2108         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2109         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2110         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2112         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2114         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2115         * sysdeps/x86_64/memcpy.S: Likewise.
2116         * sysdeps/x86_64/memmove.c: Likewise.
2117         * sysdeps/x86_64/memset.S: Likewise.
2118         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2119         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2120         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2121         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2122         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2123         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2124         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2125         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2126         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2127         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2128         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2129         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2130         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2131         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2132         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2133         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2134         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2135         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2136         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2137         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2138         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2139         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2140         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2141         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2142         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2143         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2144         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2145         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2146         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2147         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2148         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2149         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2150         * sysdeps/x86_64/strcmp.S: Likewise.
2151
2152         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2153
2154         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2155         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2156         * elf/rtld-Rules: Likewise.
2157         * elf/setup-vdso.h: Likewise.
2158         * include/assert.h: Likewise.
2159         * include/bits/stdlib-float.h: Likewise.
2160         * include/errno.h: Likewise.
2161         * include/sys/stat.h: Likewise.
2162         * include/unistd.h: Likewise.
2163         * sysdeps/aarch64/setjmp.S: Likewise.
2164         * sysdeps/alpha/setjmp.S: Likewise.
2165         * sysdeps/arm/__longjmp.S: Likewise.
2166         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2167         * sysdeps/arm/setjmp.S: Likewise.
2168         * sysdeps/arm/sysdep.h: Likewise.
2169         * sysdeps/generic/_itoa.h: Likewise.
2170         * sysdeps/generic/dl-sysdep.h: Likewise.
2171         * sysdeps/generic/ldsodefs.h: Likewise.
2172         * sysdeps/i386/dl-tls.h: Likewise.
2173         * sysdeps/i386/setjmp.S: Likewise.
2174         * sysdeps/m68k/setjmp.c: Likewise.
2175         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2176         * sysdeps/mach/hurd/opendir.c: Likewise.
2177         * sysdeps/posix/getcwd.c: Likewise.
2178         * sysdeps/posix/opendir.c: Likewise.
2179         * sysdeps/posix/profil.c: Likewise.
2180         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2181         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2182         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2183         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2184         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2185         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2186         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2187         * sysdeps/s390/dl-tls.h: Likewise.
2188         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2189         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2190         * sysdeps/sh/sh3/setjmp.S: Likewise.
2191         * sysdeps/sh/sh4/setjmp.S: Likewise.
2192         * sysdeps/unix/alpha/sysdep.h: Likewise.
2193         * sysdeps/unix/arm/sysdep.S: Likewise.
2194         * sysdeps/unix/i386/sysdep.S: Likewise.
2195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2196         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2197         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2198         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2199         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2200         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2201         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2202         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2203         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2204         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2205         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2206         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2207         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2210         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2212         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2213         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2214         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2215         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2216         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2217         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2218         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2219         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2220         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2221         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2222         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2223         * sysdeps/x86_64/setjmp.S: Likewise.
2224
2225         * include/math.h: Use IS_IN instead of IS_IN_libm.
2226         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2227         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2228         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2229         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2230         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2231         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2232         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2233         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2234         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2235         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2236         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2237         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2238         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2239         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2240         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2241         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2242         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2243         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2244         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2245         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2246         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2247         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2248         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2249         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2250         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2251         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2252         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2253         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2254         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2255         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2256         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2257         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2258         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2260         Likewise.
2261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2262         Likewise.
2263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2264         Likewise.
2265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2266         Likewise.
2267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2268         Likewise.
2269         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2270         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2271         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2272         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2273         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2274         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2280         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2281         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2282         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2283         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2284         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2285         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2286         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2287         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2288         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2289         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2290         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2291         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2292         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2293         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2295         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2296
2297         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2298         * nptl/pthreadP.h: Likewise.
2299         * nptl_db/structs.def: Likewise.
2300         * sysdeps/arm/sysdep.h: Likewise.
2301         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2302         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2303         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2304         * sysdeps/unix/alpha/sysdep.h: Likewise.
2305         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2306         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2307         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2308         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2309         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2310         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2311         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2312         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2313         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2314         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2315         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2316         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2317         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2318         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2321         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2322         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2323         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2324         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2326         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2327         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2328         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2329         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2330         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2331
2332         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2333         * nptl/pthreadP.h: Likewise.
2334         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2335         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2336         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2337         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2338         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2339         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2340         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2341         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2342         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2343         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2344         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2345         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2347         Likewise.
2348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2349         Likewise.
2350         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2351         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2352         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2355         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2356         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2357         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2358
2359         * dlfcn/dladdr.c: Use IS_IN.
2360         * dlfcn/dladdr1.c: Likewise.
2361         * dlfcn/dlclose.c: Likewise.
2362         * dlfcn/dlerror.c: Likewise.
2363         * dlfcn/dlinfo.c: Likewise.
2364         * dlfcn/dlmopen.c: Likewise.
2365         * dlfcn/dlopen.c: Likewise.
2366         * dlfcn/dlsym.c: Likewise.
2367         * dlfcn/dlvsym.c: Likewise.
2368
2369         * include/ifaddrs.h: Use IS_IN.
2370         * inet/check_pf.c: Likewise.
2371         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2372         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2373
2374         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2375         IS_IN_ldconfig.
2376         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2377         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2378
2379         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2380         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2381         IS_IN (libc).
2382
2383         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2384
2385         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2386         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2387         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2388         * include/libc-symbols.h (IS_IN_LIB): New macro.
2389         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2390         * include/netdb.h: Likewise.
2391         * include/stap-probe.h: Remove all uses of IN_LIB.
2392
2393         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2394         instead of IN_MODULE.
2395         * include/libc-symbols.h (IN_MODULE): Define using
2396         MODULE_NAME.
2397         (PASTE_NAME, PASTE_NAME1): New macros.
2398         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2399         of IN_LIB.
2400         (STAP_PROBE_ASM): Likewise.
2401
2402 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2403
2404         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2405         __mach_init in dlopened libc.
2406
2407 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2408
2409         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2410         * sysdeps/arm/preconfigure: Regenerate.
2411
2412 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2413
2414         * nptl/pthread_create.c (__pthread_create_2_1): Set
2415         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2416         when copying values from IATTR into PD.
2417
2418 2014-11-21  Will Newton  <will.newton@linaro.org>
2419             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2420
2421         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2422         Refactor inline-asm.  Also add comment.
2423
2424         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2425         ElfW macro instead of hardcoded Elf64 types.
2426         (la_aarch64_gnu_pltenter): Likewise.
2427         * sysdeps/aarch64/dl-machine.h
2428         (elf_machine_runtime_setup): Use ElfW(Addr).
2429
2430         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2431         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2432         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2433         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2434         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2435         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2436         (R_AARCH64_TLS_DTPMOD): This.
2437         (R_AARCH64_TLS_DTPREL64): Rename to ...
2438         (R_AARCH64_TLS_DTPREL): This.
2439         (R_AARCH64_TLS_TPREL64): Rename to ...
2440         (R_AARCH64_TLS_TPREL): This.
2441         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2442         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2443         R_AARCH64_TLS_TPREL64.
2444         (elf_machine_rela): Likewise.
2445
2446 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2447
2448         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2449         by setting it to 0.  64b atomics are not supported currently.
2450
2451 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2452
2453         [BZ #16469]
2454         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2455         search domain names.
2456
2457 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2458
2459         [BZ #16469]
2460         * NEWS: Update.
2461         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2462         trailing dot.
2463         * posix/tst-getaddrinfo5.c: New.
2464         * posix/Makefile (tests): Add it.
2465
2466 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2467
2468         [BZ #14498]
2469         * NEWS: Fixed.
2470         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2471         after parsing line but before break_if_match.
2472         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2473         if there is a protocol mismatch.
2474
2475 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2476
2477         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2478         because the potential race is on the user-supplied stream.
2479
2480 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2481
2482         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2483         string literal if not passed a buffer.
2484         * manual/job.texi (ctermid): Update reasoning, note deviation
2485         from posix, suggest mtasurace when not passed a buffer, for
2486         future non-preliminary safety notes.
2487
2488 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2489
2490         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2491         of not passing it a buffer.
2492         Reported by Peng Haitao.
2493
2494 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2495
2496         * manual/Makefile ($(objpfx)stamp-summary): Require
2497         check-safety.sh to pass.
2498         * manual/check-safety.sh: Wish for verification that every
2499         @deftypefn and @deftypefun is followed by a @safety remark.
2500
2501 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2502
2503         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2504
2505         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2506         PTHREAD_CANCEL_ASYNCHRONOUS.
2507         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2508         send SIGCANCEL.
2509
2510         * nptl/default-sched.h: New file.
2511         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2512         * nptl/pthread_create.c: Include it.
2513         (__pthread_create_2_1): Use collect_default_sched instead of making
2514         Linux syscalls here directly.
2515
2516 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2517
2518         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2519         __pthread_once): Use C11 atomics.
2520
2521 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2522
2523         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2524
2525 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2526
2527         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2528         atomic_thread_fence_acquire, atomic_thread_fence_release,
2529         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2530         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2531         atomic_compare_exchange_weak_relaxed,
2532         atomic_compare_exchange_weak_acquire,
2533         atomic_compare_exchange_weak_release,
2534         atomic_exchange_acquire, atomic_exchange_release,
2535         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2536         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2537         atomic_fetch_and_acquire,
2538         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2539
2540 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2541
2542         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2543         USE_ATOMIC_COMPILER_BUILTINS): Define.
2544         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2546         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2547         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2548         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2549         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2550         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2551         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2552         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2553         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2554         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2555         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2556         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2557         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2558         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2559         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2560         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2561         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2562         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2563         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2564         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2565         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2566         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2567         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2568         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2569         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2570         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2572         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2574         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2576         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2578         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2579         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2580         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2582         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2584
2585 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2586
2587         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2588         the sched_priority value here.  It was already checked when the user
2589         called pthread_attr_setschedparam.
2590
2591         * nptl/tst-bad-schedattr.c: New file.
2592         * nptl/Makefile (tests): Add it.
2593
2594 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2595             Florian Weimer  <fweimer@redhat.com>
2596             Joseph Myers  <joseph@codesourcery.com>
2597             Adam Conrad  <adconrad@0c3.net>
2598             Andreas Schwab  <schwab@suse.de>
2599             Brooks  <bmoses@google.com>
2600
2601         [BZ #17625]
2602         * wordexp-test.c (__dso_handle): Add prototype.
2603         (__register_atfork): Likewise.
2604         (__app_register_atfork): New function.
2605         (registered_forks): New global.
2606         (register_fork): New function.
2607         (test_case): Add 3 new tests for WRDE_CMDSUB.
2608         (main): Call __app_register_atfork.
2609         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2610         fork count is non-zero fail the test.
2611         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2612         is set.
2613         (parse_dollars): Remove check for WRDE_NOCMD.
2614         (parse_dquote): Likewise.
2615
2616 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2617
2618         * Makeconfig (built-modules): List non-library modules to be
2619         built.
2620         (module-cppflags): Include libc-modules.h for
2621         everything except shlib-versions.v.i.
2622         (CPPFLAGS): Use it.
2623         (before-compile): Add libc-modules.h.
2624         ($(common-objpfx)libc-modules.h,
2625         $(common-objpfx)libc-modules.stmp): New targets.
2626         (common-generated): Add libc-modules.h and libc-modules.stmp.
2627         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2628         * include/libc-symbols.h: Don't include libc-modules.h.
2629         * include/libc-modules.h: Remove file.
2630         * scripts/gen-libc-modules.awk: New script to generate
2631         libc-modules.h.
2632         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2633         Depend on libc-modules.stmp.
2634
2635         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2636
2637         * Makeconfig (in-module): Get value of libof set for the
2638         translation unit.
2639         (CPPFLAGS): Use $(in-module).
2640         * Makerules: Don't suffix routine names for nonlib.
2641         * include/libc-modules.h: New file.
2642         * include/libc-symbols.h: Include libc-modules.h
2643         (IS_IN): New macro to replace IS_IN_* macros.
2644         * elf/Makefile: Set libof-* for each routine.
2645         * elf/rtld-Rules: Likewise.
2646         * extra-modules.mk: Likewise.
2647         * iconv/Makefile: Likewise.
2648         * iconvdata/Makefile: Likewise.
2649         * locale/Makefile: Likewise.
2650         * malloc/Makefile: Likewise.
2651         * nss/Makefile: Likewise.
2652         * sysdeps/gnu/Makefile: Likewise.
2653         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2654         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2655         * sysdeps/s390/s390-64/Makefile: Likewise.
2656         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2657         CPPFLAGS for nscd instead of nonlib.
2658
2659 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2660
2661         * nptl/createthread.c: New file.
2662
2663         * nptl/createthread.c: Moved ...
2664         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2665
2666         * nptl/createthread.c: Add proper top-line comment.
2667         (do_clone): Folded into ...
2668         (create_thread): ... here.  Take new arguments STOPPED_START and
2669         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2670         increment __nptl_threads, do event-reporting logic, do
2671         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2672         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2673         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2674         just send SIGCANCEL.
2675         * nptl/pthread_create.c: Forward-declare create_thread before
2676         including createthread.c.
2677         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2678         declaration, and new macro START_THREAD_SELF to replace argument.
2679         Remove return statement.
2680         (report_thread_creation): New function.
2681         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2682         synchronization logic, and __nptl_nthreads increment here, around
2683         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2684         PD->parent_cancelhandling here, before create_thread.  When
2685         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2686         __deallocate_stack, and ENOMEM translation here.
2687
2688 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2689
2690         [BZ #17616]
2691         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2692         (mptwo): Rename to __mptwo.
2693         (__inv): Use __mptwo instead of mptwo.
2694         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2695         (mptwo): Rename to __mptwo.
2696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2697         of mpone and __mptwo instead of mptwo.
2698         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2699         instead of mpone.
2700         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2701         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2702         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2703         of mpone and __mptwo instead of mptwo.
2704         (__mpranred): Use __mpone instead of mpone.
2705         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2706         variable.
2707         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2708         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2709         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2710         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2711         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2712         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2713         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2714         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2715         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2716         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2717         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2718         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2719         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2720         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2721         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2722         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2723         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2724         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2725         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2726
2727 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2728
2729         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2730         replace BSD Handler xref with BSD Signal Handling.
2731
2732 2014-11-17  Richard Henderson  <rth@redhat.com>
2733
2734         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2735         (_FP_PACK_RAW_2): Remove.
2736         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2737         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2738         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2739         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2740         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2741         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2742         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2743         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2744         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2745         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2746         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2747         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2748         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2749         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2750         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2751         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2752
2753 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2754
2755         * signal/signal.h [__USE_MISC]
2756         (struct sigvec): Remove type.
2757         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2758         (sigvec): Remove declaration.
2759         * sysdeps/posix/sigvec.c: Moved ...
2760         * signal/sigvec.c: ... here, replacing old file.
2761         (struct sigvec): New type, copied from old signal.h definition.
2762         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2763         (__sigvec): Convert definition to prototype.
2764         (sigvec): Replace weak_alias with compat_symbol.
2765         * signal/Versions (libc: GLIBC_2.21): New version set.
2766         * include/signal.h: Remove __sigvec declaration.
2767         * sysdeps/unix/bsd/sigvec.c: Remove file.
2768         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2769         * manual/signal.texi (BSD Handler): Remove subsection.
2770         Move siginterrupt up to ...
2771         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2772         (Blocking in BSD): Fold subsection into its parent.
2773         * NEWS: Mention sigvec removal.
2774
2775 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2776
2777         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2778         (DLA_FMS): Make definition conditional only on [__FMA4__].
2779         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2780         definition.
2781
2782         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2783         Make definition conditional only on [PROF].
2784         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2785         definition.
2786         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2787         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2788
2789         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2790         !__GNUC__].
2791         * include/signal.h (__sigpause): Move declaration above call to
2792         libc_hidden_proto.
2793         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2794         variable.
2795         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2796         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2797
2798 2014-11-14  David S. Miller  <davem@davemloft.net>
2799
2800         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2801         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2802
2803 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2804
2805         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2806         * configure: Regenerated.
2807         * manual/install.texi (Tools for Compilation): Document a
2808         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2809         compiler verified to work.
2810         * INSTALL: Regenerated.
2811
2812         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2813         redeclare with asm name.
2814         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2815         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2816         including <string.h>.
2817         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2818         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2819         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2820         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2821         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2822         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2823         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2824
2825 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2826
2827         * stdlib/strtol.c (__strtol): Use prototype definition.
2828
2829         [BZ #17594]
2830         * stdlib/strtol.c (SYM__): New macro.
2831         (SYM__1): Likewise.
2832         (__strtol): Likewise.
2833         (strtol): Rename to __strtol and define as weak alias of
2834         __strtol.  Use libc_hidden_weak.
2835
2836 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2837
2838         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2839         Use numbered labels in inline assembly.
2840
2841 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2842
2843         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2844         Add setjmp LIBC_PROBE.
2845         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2846         Likewise.
2847         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2848         Add longjmp, longjmp_target LIBC_PROBE.
2849         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2850         Likewise.
2851
2852 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2853
2854         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2855         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2856         to get rid of unused variable warning.
2857
2858 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2859
2860         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2861         Check for unwind_backtrace ==  NULL only in SHARED case.
2862         (__backchain_backtrace): Compile only in SHARED case.
2863         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2864         Likewise.
2865         (__backchain_backtrace): Declare as static.
2866
2867 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2868
2869         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2870         (__libc_multiple_threads_ptr): Variable moved ...
2871         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2872
2873 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2874
2875         * conform/GlibcConform.pm: New file.
2876         * conform/conformtest.pl: Use GlibcConform module.
2877         * conform/linknamespace.pl: New file.
2878         * conform/list-header-symbols.pl: Likewise.
2879         * conform/Makefile (linknamespace-symlists-base): New variable.
2880         (linknamespace-symlists-tests): Likewise.
2881         (linknamespace-header-base): Likewise.
2882         (linknamespace-header-tests): Likewise.
2883         (tests-special): Add new tests.
2884         ($(linknamespace-symlists-tests)): New rule.
2885         (linknamespace-libs): New variable.
2886         ($(objpfx)symlist-stdlibs): New rule.
2887         ($(linknamespace-header-tests)): Likewise.
2888         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2889         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2890         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2891         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2892         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2893         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2894         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2895         (test-xfail-ISO/math.h/linknamespace): Likewise.
2896         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2897         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2898         (test-xfail-ISO/time.h/linknamespace): Likewise.
2899         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2900         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2901         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2902         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2903         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2904         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2905         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2906         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2907         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2908         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2909         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2910         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2911         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2912         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2913         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2914         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2915         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2916         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2917         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2918         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2919         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2920         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2921         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2922         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2923         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2924         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2925         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2926         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2927         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2928         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2929         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2930         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2931         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2932         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2933         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2934         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2935         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2936         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2937         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2938         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2939         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2940         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2941         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2942         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2943         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2944         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2945         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2946         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2947         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2948         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2949         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2950         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2951         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2952         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2953         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2954         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2955         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2956         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2957         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2958         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2959         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2960         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2961         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2962         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2963         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2964         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2965         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2966         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2967         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2968         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2969         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2970         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2971         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2972         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2973         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2974         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2975         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2976         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2977         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2978         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2979         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2980         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2981         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2982         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2983         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2984         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2985         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2986         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2987         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2988         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2989         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2990         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2991         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2992         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2993         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2994         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2995         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2996         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2997         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2998         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2999         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3000         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3001         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3002         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3003         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3004         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3005         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3006         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3007         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3008         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3009         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3010         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3011         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3012         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3013         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3014         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3015         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3016         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3017         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3018         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3019         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3020         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3021         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3022         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3023         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3024         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3025         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3026         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3027         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3028         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3029         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3030         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3031         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3032         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3033         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3034         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3035         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3036         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3037         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3038         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3039         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3040         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3041         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3042         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3043         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3044         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3045         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3046         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3047         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3048         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3049
3050         [BZ #17589]
3051         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3052         of fgets_unlocked.
3053
3054         [BZ #17585]
3055         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3056         (memmem): Rename to __memmem and define as weak alias of
3057         __memmem.  Use libc_hidden_weak.
3058         (__memmem): Use libc_hidden_def.
3059         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3060         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3061         memmem.
3062
3063         [BZ #17582]
3064         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3065         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3066         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3067         and define as weak alias of __fgets_unlocked.  Use
3068         libc_hidden_weak.
3069         (__fgets_unlocked): Use libc_hidden_def.
3070         * include/stdio.h (__fgets_unlocked): Declare.  Use
3071         libc_hidden_proto.
3072         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3073         __fgets_unlocked instead of fgets_unlocked.
3074         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3075         (GET_NPROCS_CONF_PARSER): Likewise.
3076         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3077         (GET_NPROCS_CONF_PARSER): Likewise.
3078
3079         [BZ #17574]
3080         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3081         weak alias of __wmemset.  Use libc_hidden_weak.
3082         (__wmemset): Use libc_hidden_def.
3083         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3084         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3085         of wmemset.
3086
3087         [BZ #17573]
3088         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3089         with asm name __mempcpy.
3090         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3091
3092         [BZ #17572]
3093         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3094         and define as weak alias of __rawmemchr.
3095         (__rawmemchr): Do not define as strong alias of rawmemchr.
3096
3097         [BZ #17571]
3098         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3099         alias of __qsort_r.
3100         (qsort): Call __qsort_r instead of qsort_r.
3101         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3102         (__qsort_r): Declare.  Call libc_hidden_proto.
3103         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3104         instead of qsort_r.
3105         * nscd/gai.c (__qsort_r): Define to qsort_r.
3106         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3107         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3108         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3109
3110         [BZ #17570]
3111         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3112         define as weak alias of __malloc_info.
3113
3114         [BZ #17584]
3115         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3116         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3117         (__rewinddir): Use libc_hidden_def.
3118         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3119         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3120         (__rewinddir): Use libc_hidden_def.
3121         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3122         weak alias of __rewinddir.  Don't use libc_hidden_def.
3123         (__rewinddir): Use libc_hidden_def.
3124         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3125         (__rewinddir): Use libc_hidden_proto.
3126         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3127         rewinddir.
3128         (__getcwd): Use __rewinddir instead of rewinddir.
3129
3130         [BZ #17583]
3131         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3132         alias of __fileno.  Use libc_hidden_weak.
3133         (__fileno): Use libc_hidden_def.
3134         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3135         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3136         alias of __ftello.
3137         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3138         __ftello.
3139         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3140         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3141         libc_hidden_def.
3142         (fread_unlocked): Don't use libc_hidden_ver.
3143         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3144         and define as weak alias of __fread_unlocked.  Don't use
3145         libc_hidden_def.
3146         (__fread_unlocked): Use libc_hidden_def.
3147         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3148         (ftello): Don't use libc_hidden_proto.
3149         (__ftello): Declare.  Use libc_hidden_proto.
3150         (fread_unlocked): Don't use libc_hidden_proto.
3151         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3152         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3153         and __ftello instead of fileno, fread_unlocked and ftello.
3154
3155 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3156
3157         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3158         GOT12.
3159         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3160         Likewise.
3161         (_dl_start_user): Likewise.
3162         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3163
3164 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3165             Siddhesh Poyarekar  <siddhesh@redhat.com>
3166
3167         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3168         Move argv and envp down instead of moving argc up.
3169         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3170
3171 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3172
3173         [BZ #17506]
3174         * test-skeleton.c (main): Return successful if one of
3175         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3176         * string/tst-strcoll-overflow.c: Define expected status.
3177
3178 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3179
3180         [BZ #17475]
3181         * locale/iso-639.def: Define Bhili and Tulu language codes.
3182
3183 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3184
3185         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3186
3187 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3188
3189         [BZ #17555]
3190         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3191
3192 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3193
3194         * configure.ac: Updated check of minimal required version to
3195         2.22.
3196         * manual/install.texi (Tools for Compilation): Updated version
3197         number.
3198         * configure: Regenerated.
3199         * INSTALL: Likewise.
3200
3201 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3202
3203         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3204         __tls_get_addr.
3205
3206 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3207
3208         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3209         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3210         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3211         libc_hidden_weak.
3212         (waitpid): Define as alias of __waitpid.
3213         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3214         __waitpid.
3215         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3216         libc_hidden_weak.
3217         (waitpid): Define as alias of __waitpid.
3218         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3219         __libc_waitpid alias.
3220         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3221         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3222         Likewise.
3223         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3224         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3225         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3226         alias.
3227         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3228         __waitpid.
3229         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3230         libc_hidden_weak.
3231         (waitpid): Define as alias of __waitpid.
3232
3233 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3234
3235         * manual/llio.texi: Add comment that write safety has been
3236         fixed in Linux.
3237
3238         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3239         (localplt-build-dso): Add elf/ld.so.
3240         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3241         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3242         and free for ld.so.
3243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3244         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3246         Likewise.
3247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3248         Likewise.
3249         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3250         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3251         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3252         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3253         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3254         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3255         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3256         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3257         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3258         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3259         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3260
3261 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3262
3263         [BZ #14132]
3264         * include/libc-symbols.h (INTUSE): Remove macro.
3265         (INTDEF): Likewise.
3266         (INTVARDEF): Likewise.
3267         (_INTVARDEF): Likewise.
3268         (INTDEF2): Likewise.
3269         (INTVARDEF2): Likewise.
3270         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3271         rtld_hidden_def instead of INTVARDEF.
3272         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3273         (_dl_starting_up_internal): Remove declaration.
3274         (_dl_starting_up): Use rtld_hidden_proto.
3275         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3276         declaration.
3277         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3278         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3279         _dl_starting_up.
3280         * elf/dl-writev.h (_dl_writev): Likewise.
3281         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3282         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3283         _dl_starting_up_internal.
3284
3285 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3286
3287         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3288         test-skeleton.c.
3289
3290 2014-11-05  Will Newton  <will.newton@linaro.org>
3291
3292         * benchtests/Makefile: (bench-malloc): Add malloc thread
3293         scalability benchmark.
3294         * benchtests/bench-malloc-threads.c: New file.
3295
3296 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3297
3298         * sysdeps/aarch64/strchrnul.S: New file.
3299
3300 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3301
3302         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3303         definition.
3304         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3305         Likwise.
3306         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3307         Likewise.
3308         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3309         Likewise.
3310         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3311         Likewise.
3312         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3313         Likewise.
3314
3315 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3316
3317         * catgets/test-gencat.c: Use test-skeleton.c.
3318         * catgets/tst-catgets.c: Likewise.
3319         * csu/tst-empty.c: Likewise.
3320         * elf/tst-audit2.c: Likewise.
3321         * elf/tst-global1.c: Likewise.
3322         * elf/tst-pathopt.c: Likewise.
3323         * elf/tst-piemod1.c: Likewise.
3324         * elf/tst-tls10.c: Likewise.
3325         * elf/tst-tls11.c: Likewise.
3326         * elf/tst-tls12.c: Likewise.
3327         * gnulib/tst-gcc.c: Likewise.
3328         * iconvdata/tst-e2big.c: Likewise.
3329         * iconvdata/tst-loading.c: Likewise.
3330         * iconv/tst-iconv1.c: Likewise.
3331         * iconv/tst-iconv2.c: Likewise.
3332         * inet/test-inet6_opt.c: Likewise.
3333         * inet/tst-gethnm.c: Likewise.
3334         * inet/tst-network.c: Likewise.
3335         * inet/tst-ntoa.c: Likewise.
3336         * intl/tst-codeset.c: Likewise.
3337         * intl/tst-gettext2.c: Likewise.
3338         * intl/tst-gettext3.c: Likewise.
3339         * intl/tst-ngettext.c: Likewise.
3340         * intl/tst-translit.c: Likewise.
3341         * io/test-stat.c: Likewise.
3342         * libio/test-fmemopen.c: Likewise.
3343         * libio/tst-freopen.c: Likewise.
3344         * libio/tst-sscanf.c: Likewise.
3345         * libio/tst-ungetwc1.c: Likewise.
3346         * libio/tst-ungetwc2.c: Likewise.
3347         * libio/tst-widetext.c: Likewise.
3348         * localedata/tst-ctype.c: Likewise.
3349         * localedata/tst-digits.c: Likewise.
3350         * localedata/tst-leaks.c: Likewise.
3351         * localedata/tst-mbswcs1.c: Likewise.
3352         * localedata/tst-mbswcs2.c: Likewise.
3353         * localedata/tst-mbswcs3.c: Likewise.
3354         * localedata/tst-mbswcs4.c: Likewise.
3355         * localedata/tst-mbswcs5.c: Likewise.
3356         * localedata/tst-setlocale.c: Likewise.
3357         * localedata/tst-trans.c: Likewise.
3358         * localedata/tst-wctype.c: Likewise.
3359         * localedata/tst-xlocale1.c: Likewise.
3360         * login/tst-grantpt.c: Likewise.
3361         * malloc/tst-calloc.c: Likewise.
3362         * malloc/tst-malloc.c: Likewise.
3363         * malloc/tst-mallocstate.c: Likewise.
3364         * malloc/tst-mcheck.c: Likewise.
3365         * malloc/tst-mtrace.c: Likewise.
3366         * malloc/tst-obstack.c: Likewise.
3367         * math/atest-exp2.c: Likewise.
3368         * math/atest-exp.c: Likewise.
3369         * math/atest-sincos.c: Likewise.
3370         * math/test-matherr.c: Likewise.
3371         * math/test-misc.c: Likewise.
3372         * math/test-powl.c: Likewise.
3373         * math/tst-definitions.c: Likewise.
3374         * misc/tst-dirname.c: Likewise.
3375         * misc/tst-efgcvt.c: Likewise.
3376         * misc/tst-fdset.c: Likewise.
3377         * misc/tst-hsearch.c: Likewise.
3378         * misc/tst-mntent2.c: Likewise.
3379         * nptl/tst-sem7.c: Likewise.
3380         * nptl/tst-sem8.c: Likewise.
3381         * nptl/tst-sem9.c: Likewise.
3382         * nss/test-netdb.c: Likewise.
3383         * posix/tst-fnmatch.c: Likewise.
3384         * posix/tst-getlogin.c: Likewise.
3385         * posix/tst-gnuglob.c: Likewise.
3386         * posix/tst-mmap.c: Likewise.
3387         * pwd/tst-getpw.c: Likewise.
3388         * resolv/tst-inet_ntop.c: Likewise.
3389         * rt/tst-timer.c: Likewise.
3390         * stdio-common/test-fseek.c: Likewise.
3391         * stdio-common/test-popen.c: Likewise.
3392         * stdio-common/test-vfprintf.c: Likewise.
3393         * stdio-common/tst-cookie.c: Likewise.
3394         * stdio-common/tst-fileno.c: Likewise.
3395         * stdio-common/tst-gets.c: Likewise.
3396         * stdio-common/tst-obprintf.c: Likewise.
3397         * stdio-common/tst-perror.c: Likewise.
3398         * stdio-common/tst-sprintf2.c: Likewise.
3399         * stdio-common/tst-sprintf3.c: Likewise.
3400         * stdio-common/tst-sprintf.c: Likewise.
3401         * stdio-common/tst-swprintf.c: Likewise.
3402         * stdio-common/tst-tmpnam.c: Likewise.
3403         * stdio-common/tst-unbputc.c: Likewise.
3404         * stdio-common/tst-wc-printf.c: Likewise.
3405         * stdlib/tst-environ.c: Likewise.
3406         * stdlib/tst-fmtmsg.c: Likewise.
3407         * stdlib/tst-limits.c: Likewise.
3408         * stdlib/tst-rand48-2.c: Likewise.
3409         * stdlib/tst-rand48.c: Likewise.
3410         * stdlib/tst-random2.c: Likewise.
3411         * stdlib/tst-random.c: Likewise.
3412         * stdlib/tst-strtol.c: Likewise.
3413         * stdlib/tst-strtoll.c: Likewise.
3414         * stdlib/tst-tls-atexit.c: Likewise.
3415         * stdlib/tst-xpg-basename.c: Likewise.
3416         * string/test-ffs.c: Likewise.
3417         * string/tst-bswap.c: Likewise.
3418         * string/tst-inlcall.c: Likewise.
3419         * string/tst-strtok.c: Likewise.
3420         * string/tst-strxfrm.c: Likewise.
3421         * sysdeps/x86_64/tst-audit10.c: Likewise.
3422         * sysdeps/x86_64/tst-audit3.c: Likewise.
3423         * sysdeps/x86_64/tst-audit4.c: Likewise.
3424         * sysdeps/x86_64/tst-audit5.c: Likewise.
3425         * time/tst-ftime_l.c: Likewise.
3426         * time/tst-getdate.c: Likewise.
3427         * time/tst-mktime3.c: Likewise.
3428         * time/tst-mktime.c: Likewise.
3429         * time/tst-posixtz.c: Likewise.
3430         * time/tst-strptime2.c: Likewise.
3431         * time/tst-strptime3.c: Likewise.
3432         * wcsmbs/tst-btowc.c: Likewise.
3433         * wcsmbs/tst-mbrtowc.c: Likewise.
3434         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3435         * wcsmbs/tst-wchar-h.c: Likewise.
3436         * wcsmbs/tst-wcpncpy.c: Likewise.
3437         * wcsmbs/tst-wcrtomb.c: Likewise.
3438         * wcsmbs/tst-wcsnlen.c: Likewise.
3439         * wcsmbs/tst-wcstof.c: Likewise.
3440
3441 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3442
3443         [BZ #14132]
3444         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3445         INTDEF.
3446         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3447         declaration.
3448         (_dl_mcount): Use rtld_hidden_proto.
3449         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3450         _dl_mcount.
3451         * elf/rtld.c (_rtld_global_ro): Likewise.
3452
3453         [BZ #14132]
3454         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3455         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3456         of _dl_init_internal.
3457         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3458         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3459         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3460         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3461         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3462         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3463         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3464         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3465         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3466         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3467         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3468         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3469         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3470         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3471         * sysdeps/tile/dl-start.S (_start): Likewise.
3472         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3473         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3474
3475         [BZ #14132]
3476         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3477         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3478         (rtld_progname): Make macro definition unconditional.
3479         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3480         INTDEF.
3481         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3482         (dl_main): Likewise.
3483         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3484         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3485         instead of _dl_argv_internal.
3486         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3487         __GI__dl_argv instead of INTUSE(_dl_argv).
3488         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3489         __GI__dl_argv instead of _dl_argv_internal.
3490
3491         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3492         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3493         macro.
3494         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3495         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3496         New macro.
3497         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3498         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3499         macro.
3500         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3501         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3502
3503 2014-11-04  Andreas Schwab  <schwab@suse.de>
3504
3505         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3506
3507 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3508
3509         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3510         mtvsrd instruction in binary form.
3511
3512 2014-11-03  Andreas Schwab  <schwab@suse.de>
3513
3514         [BZ #17522]
3515         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3516         for less than MB_LEN_MAX use a local buffer of that size.
3517         * libio/tst-fputws.c: New file.
3518         * libio/Makefile (tests): Add tst-fputws.
3519
3520 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3521
3522         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3523         the size of the fpu_fr.fpu_dregs[] array.
3524
3525 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3526
3527         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3528         (__nanosleep): Do not define as alias.
3529         (nanosleep): Define as alias of __nanosleep.
3530         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3531         __libc_nanosleep name.
3532
3533 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3534
3535         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3536         install.texi in comment.
3537
3538 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3539
3540         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3541         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3542         ... add here and use lwsync or sync ...
3543         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3544         ... and add here using lwsync.
3545
3546 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3547
3548         * elf/dl-machine-reject-phdr.h: New file.
3549         * elf/dl-load.c: #include that.
3550         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3551         if that returned true.
3552
3553 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3554
3555         [BZ #17496]
3556         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3557         gen-as-const-headers chunk.  Add a big scare comment after the last
3558         safe place to touch before-compile.
3559
3560 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3561
3562         * manual/install.texi (Tools for Compilation): Update autoconf
3563         version requirements.
3564         * INSTALL: Regenerated.
3565
3566         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3567         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3568         (__libc_pselect): Likewise.
3569
3570         [BZ #14138]
3571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3575
3576 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3577
3578         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3579         correct barrier instruction.
3580         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3581         Likewise.
3582         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3583         Likewise.
3584
3585 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3586
3587         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3588         after defining inlines.  Instead, just use parens to defeat macro
3589         expansion of __isctype in its declaration.
3590
3591 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3592
3593         * include/sys/uio.h (__libc_readv): Remove declaration.
3594         (__libc_writev): Likewise.
3595         * misc/readv.c (__libc_readv): Rename to __readv.
3596         (__readv): Do not define as alias.
3597         (readv): Define as alias of __readv.
3598         * misc/writev.c (__libc_writev): Rename to __writev.
3599         (__writev): Do not define as alias.
3600         (writev): Define as alias of __writev.
3601         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3602         (__readv): Do not define as alias.
3603         (readv): Define unconditionally as alias of __readv.
3604         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3605         (__writev): Do not define as alias.
3606         (writev): Define unconditionally as alias of __writev.
3607         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3608         name.
3609         (writev): Do not define __libc_writev name.
3610
3611 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3612
3613         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3614         (convert_charseq): New function, broken out of ...
3615         (use_from_charmap): ... here.  Call it.
3616         (use_to_charmap): Use convert_charseq and free instead of duplicating
3617         its code with a variable-length stack struct.
3618
3619 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3620
3621         * include/fcntl.h (__libc_creat): Remove declaration.
3622         * io/creat.c (__libc_creat): Rename to creat.
3623         (creat): Do not define as alias.
3624         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3625         of creat instead of __libc_creat.
3626         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3627         to creat.
3628         (creat): Do not define as alias.
3629         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3630         __libc_creat.
3631         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3632         __libc_creat name.
3633         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3634         Likewise.
3635
3636 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3637
3638         * manual/llio.texi: Add comments discussing why write() may be
3639         considered MT-unsafe on Linux.
3640
3641 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3642
3643         * dl-load.c (local_strdup): Remove.
3644         (expand_dynamic_string_token): Use __strdup.
3645         (decompose_rpath): Likewise.
3646         (_dl_map_object): Likewise.
3647
3648 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3649
3650         [BZ #14132]
3651         * sysdeps/generic/unwind-dw2-fde.c
3652         (__register_frame_info_bases_internal): Do not declare.
3653         (__register_frame_info_table_bases_internal): Likewise.
3654         (__deregister_frame_info_bases_internal): Likewise.
3655         (__register_frame_info_bases): Declare and use hidden_proto before
3656         definition.  Use hidden_def instead of INTDEF.
3657         (__register_frame_info_table_bases): Likewise.
3658         (__deregister_frame_info_bases): Likewise.
3659         (__register_frame_info): Do not use INTUSE.
3660         (__register_frame): Likewise.
3661         (__register_frame_info_table): Likewise.
3662         (__register_frame_table): Likewise.
3663         (__deregister_frame_info): Likewise.
3664         (__deregister_frame): Likewise.
3665
3666 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3667
3668         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3669         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3670         not undefine.
3671         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3672         Likewise.
3673         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3674         Likewise.
3675
3676 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3677
3678         [BZ #14138]
3679         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3680         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3681         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3682         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3683         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3684         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3685         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3686         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3687         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3688         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3689         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3690         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3691         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3692         syscall.
3693         (setfsuid): Likewise.
3694         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3695         (setfsuid): Likewise.
3696         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3697         (setfsuid): Likewise.
3698         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3699         Likewise.
3700         (setfsuid): Likewise.
3701         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3702         (setfsuid): Likewise.
3703         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3704         Likewise.
3705         (setfsuid): Likewise.
3706
3707 2014-10-27  Andreas Schwab  <schwab@suse.de>
3708
3709         [BZ #17501]
3710         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3711         check for Slow_SSE4_2 feature bit.
3712         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3713         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3714         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3715         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3716
3717 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3718
3719         * configure.ac: Validate compiler version with a empirical test of
3720         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3721         $CC -v output.
3722         * configure: Regenerated.
3723
3724         * inet/htons.c (htons): Prototypify.
3725         * inet/htonl.c (htonl): Likewise.
3726
3727 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3728
3729         * string/strncat.c (strncat): Improve performance by using strlen.
3730
3731 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3732
3733         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3734
3735 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3736
3737         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3738         Call libc_fetestexcept_aarch64.
3739
3740 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3741
3742         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3743         Call libc_feholdexcept_aarch64.
3744
3745 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3746
3747         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3748         Call get_rounding_mode.
3749
3750 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3751
3752         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3753         Simplify logic.
3754
3755 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3756
3757         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3758         Simplify logic.
3759
3760 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3761
3762         [BZ #14138]
3763         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3764         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3765         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3766         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3767         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3768         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3769         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3770         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3771         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3772         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3773         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3774         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3775         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3776         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3777         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3778         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3779         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3780         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3781         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3782         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3783         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3784         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3785         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3786         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3787         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3788         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3789         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3790         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3791         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3792         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3793         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3794         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3795         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3796         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3797         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3798         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3799         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3800         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3801         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3802         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3803         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3804         syscall.
3805         (geteuid): Likewise.
3806         (getgid): Likewise.
3807         (getuid): Likewise.
3808         (getresgid): Likewise.
3809         (getresuid): Likewise.
3810         (getgroups): Likewise.
3811         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3812         (geteuid): Likewise.
3813         (getgid): Likewise.
3814         (getuid): Likewise.
3815         (getresgid): Likewise.
3816         (getresuid): Likewise.
3817         (getgroups): Likewise.
3818         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3819         (geteuid): Likewise.
3820         (getgid): Likewise.
3821         (getuid): Likewise.
3822         (getresgid): Likewise.
3823         (getresuid): Likewise.
3824         (getgroups): Likewise.
3825         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3826         Likewise.
3827         (geteuid): Likewise.
3828         (getgid): Likewise.
3829         (getuid): Likewise.
3830         (getresgid): Likewise.
3831         (getresuid): Likewise.
3832         (getgroups): Likewise.
3833         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3834         (geteuid): Likewise.
3835         (getgid): Likewise.
3836         (getuid): Likewise.
3837         (getresgid): Likewise.
3838         (getresuid): Likewise.
3839         (getgroups): Likewise.
3840         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3841         Likewise.
3842         (geteuid): Likewise.
3843         (getgid): Likewise.
3844         (getuid): Likewise.
3845         (getgroups): Likewise.
3846
3847         [BZ #14138]
3848         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3849         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3850         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3851         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3852         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3853         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3854         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3855         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3856         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3857         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3858         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3859         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3860         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3861         __chown.
3862         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3863         (lchown): Likewise.
3864         (fchown): Likewise.
3865         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3866         Likewise.
3867         (lchown): Likewise.
3868         (fchown): Likewise.
3869         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3870         (lchown): Likewise.
3871         (fchown): Likewise.
3872         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3873         Likewise.
3874         (lchown): Likewise.
3875         (fchown): Likewise.
3876
3877 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3878
3879         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3880         Simplify logic.
3881
3882 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3883
3884         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3885         Cleanup logic.
3886
3887 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3888
3889         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3890         Remove unused include.
3891
3892 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3893
3894         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3895         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3896         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3897         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3898
3899 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3900             Helge Deller <deller@gmx.de>
3901
3902         [BZ #17508]
3903         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3904         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3905         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3906
3907 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3908
3909         [BZ #14132]
3910         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3911         Remove macro definition.
3912         (__ashrdi3_v_glibc20): Likewise.
3913         (__lshrdi3_v_glibc20): Likewise.
3914         (__cmpdi2_v_glibc20): Likewise.
3915         (__ucmpdi2_v_glibc20): Likewise.
3916         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3917         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3918         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3919         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3920         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3921         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3922
3923 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3924
3925         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3926         old GNU extension [0] syntax.
3927         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3928         alloca rather than an array member with variable length.
3929         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3930         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3931         (parse_opt): ... here.  Likewise use alloca there.
3932         Validate the -i argument before checking for rootness.
3933         (send_shutdown): New function, broken out of ...
3934         (parse_opt): ... here.
3935
3936 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3937
3938         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3939         macro to get at the _rt_local_ro field.
3940         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3941         ([PIC] case) or _dl_hwcap ([!PIC] case).
3942         * sysdeps/arm/setjmp.S: Likewise.
3943
3944         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3945         * sysdeps/arm/configure.ac: New check to define it.
3946         * sysdeps/arm/configure: Regenerated.
3947         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3948         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3949         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3950         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3951         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3952         Use move/movt pair instead of a load.
3953         (LDST_GLOBAL): Macro removed.
3954         (LDR_GLOBAL): New macro replaces it.
3955         (LDR_HIDDEN): New macro.
3956         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3957         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3958
3959         * setjmp/tst-setjmp-static.c: New file.
3960         * setjmp/Makefile (tests): Add it.
3961         (tests-static): New variable.
3962
3963 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3964
3965         [BZ #17485]
3966         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3967
3968 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3969
3970         [BZ #14132]
3971         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3972
3973 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3974
3975         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3976
3977 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3978
3979         * io/fts.c (dirent_not_directory): New function.
3980         (fts_build): Call it.
3981
3982 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3983
3984         * nptl/version.c (__nptl_main): Use normal __write rather than
3985         INTERNAL_SYSCALL.
3986         (banner): Update copyright years.
3987
3988         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3989         gettimeofday.
3990         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3991         * nptl/pthread_cond_timedwait.c: Likewise.
3992         * nptl/pthread_mutex_timedlock.c: Likewise.
3993         * nptl/sem_timedwait.c: Likewise.
3994
3995         * sysdeps/nptl/bits/libc-lock.h
3996         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3997         (__libc_lock_init_recursive): Return void, not 0.
3998         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3999         (__libc_rwlock_init): Likewise.
4000         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4001
4002 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4003
4004         [BZ #15215]
4005         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4006         (__pthread_once_slow): ... here.
4007         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4008         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4009
4010 2014-10-20  Torvald Riegel  <triegel@redhat.com>
4011
4012         [BZ #15215]
4013         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4014         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4015         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4016         * nptl/pthread_once.c (__pthread_once): Likewise.
4017         Update comments.
4018
4019 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4020
4021         [BZ #14138]
4022         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4023         name.
4024         (writev): Use __libc_writev as strong name.
4025         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4026         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4027
4028 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4029
4030         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4031
4032         * sysdeps/i386/nptl/tls.h
4033         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4034         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4035         New macros.
4036         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4037         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4038         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4039         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4040         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4041         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4042
4043         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4044         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4045         on [__NR_futex].
4046         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4047         broken out of ...
4048         (__pthread_mutex_init): ... here.  Call it.
4049         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4050         Conditionalize PI cases on [__NR_futex].
4051         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4052         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4053         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4054
4055         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4056         conditional on [SIGSETXID].
4057         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4058         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4059         is defined.  Likewise for SIGSETXID.
4060         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4061         Conditionalize definitions on [SIGSETXID].
4062         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4063         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4064         unblocking on [SIGCANCEL].
4065
4066         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4067         [__NR_set_robust_list].
4068
4069 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4070
4071         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4072         (do_compare): Likewise.
4073
4074 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4075
4076         [BZ #15884]
4077         * string/strcoll_l.c: Don't include stdio.h.
4078         (coll_seq): Remove members idxarr and rulearr.
4079         (get_next_seq_cached): Remove function.
4080         (get_next_seq): Likewise.
4081         (get_next_seq_nocache): Rename to get_next_seq.
4082         (do_compare): Remove function.
4083         (do_compare_nocache): Rename to do_compare.
4084         (STRCOLL): Remove weight and rules cache.
4085
4086 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4087
4088         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4089         * sysdeps/arm/sfp-machine.h: ... to here.
4090         * sysdeps/arm/Implies: Remove arm/soft-fp.
4091
4092 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4093
4094         * conform/data/sys/utsname.h-data (*_t): Allow.
4095         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4096         [POSIX] (WEXITED): Do not expect constant.
4097         [POSIX] (WSTOPPED): Likewise.
4098         [POSIX] (WNOHANG): Likewise.
4099         [POSIX] (WNOWAIT): Likewise.
4100         [POSIX] (siginfo_t): Do not expect type or elements.
4101         [POSIX] (pid_t): Do not expect type.
4102         [POSIX] (signal.h): Do not allow header.
4103         [POSIX] (sys/resource.h): Likewise.
4104         [POSIX] (si_*): Do not allow pattern.
4105         [POSIX] (W*): Likewise.
4106         [POSIX] (P_*): Likewise.
4107         [POSIX] (BUS_*): Likewise.
4108         [POSIX] (CLD_*): Likewise.
4109         [POSIX] (FPE_*): Likewise.
4110         [POSIX] (ILL_*): Likewise.
4111         [POSIX] (POLL_*): Likewise.
4112         [POSIX] (SEGV_*): Likewise.
4113         [POSIX] (SI_*): Likewise.
4114         [POSIX] (TRAP_*): Likewise.
4115         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4116         variable.
4117
4118 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4119
4120         [BZ #12926]
4121         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4122         infinite loop when __recvmsg returns 0.
4123
4124 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4125
4126         * CANCEL-FCT-WAIVE: Remove file.
4127         * CANCEL-FILE-WAIVE: Likewise.
4128
4129         [BZ #14132]
4130         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4131         instead of INTVARDEF.
4132         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4133         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4134         rtld_hidden_data_def instead of INTVARDEF.
4135         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4136         * elf/dl-deps.c (expand_dst): Likewise.
4137         * elf/dl-load.c (_dl_dst_count): Likewise.
4138         (_dl_dst_substitute): Likewise.
4139         (decompose_rpath): Likewise.
4140         (_dl_init_paths): Likewise.
4141         (open_path): Likewise.
4142         (_dl_map_object): Likewise.
4143         * elf/rtld.c (dl_main): Likewise.
4144         (process_dl_audit): Likewise.
4145         (process_envvars): Likewise.
4146         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4147         Remove declaration.
4148         (__libc_enable_secure): Use rtld_hidden_proto.
4149
4150 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4151
4152         * elf/dl-load.c
4153         (add_path): New function broken out of _dl_rtld_di_serinfo.
4154         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4155
4156 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4157
4158         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4159         parentheses around macro arguments.
4160         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4162         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4163         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4164         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4165         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4166         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4168         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4169         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4170         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4171         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4172         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4173         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4174         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4175         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4176         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4177         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4178         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4180         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4181         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4184         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4186         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4187         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4188         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4189         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4190         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4191         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4192         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4193         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4194         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4195         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4196         Likewise.
4197         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4198         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4199         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4202         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4203         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4204         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4205         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4206         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4207         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4208         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4209         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4211         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4212         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4213         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4217         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4218         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4219         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4220         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4221         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4222         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4223         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4224         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4225         (_FP_FRAC_SRS_1): Likewise.
4226         (_FP_FRAC_CLZ_1): Likewise.
4227         (_FP_MUL_MEAT_1_imm): Likewise.
4228         (_FP_MUL_MEAT_1_wide): Likewise.
4229         (_FP_MUL_MEAT_1_hard): Likewise.
4230         (_FP_SQRT_MEAT_1): Likewise.
4231         (_FP_FRAC_ASSEMBLE_1): Likewise.
4232         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4233         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4234         (__FP_CLZ_2): Likewise.
4235         (_FP_MUL_MEAT_2_wide): Likewise.
4236         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4237         (_FP_MUL_MEAT_2_gmp): Likewise.
4238         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4239         (_FP_SQRT_MEAT_2): Likewise.
4240         (_FP_FRAC_ASSEMBLE_2): Likewise.
4241         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4242         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4243         (_FP_FRAC_CLZ_4): Likewise.
4244         (_FP_MUL_MEAT_4_wide): Likewise.
4245         (_FP_MUL_MEAT_4_gmp): Likewise.
4246         (_FP_SQRT_MEAT_4): Likewise.
4247         (_FP_FRAC_ASSEMBLE_4): Likewise.
4248         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4249         * soft-fp/op-common.h (_FP_CMP): Likewise.
4250         (_FP_CMP_EQ): Likewise.
4251         (_FP_CMP_UNORD): Likewise.
4252         (_FP_TO_INT): Likewise.
4253         (_FP_FROM_INT): Likewise.
4254         [!__FP_CLZ] (__FP_CLZ): Likewise.
4255         (_FP_DIV_HELP_imm): Likewise.
4256         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4257         Likewise.
4258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4261         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4262         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4263         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4264         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4267         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4268         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4269         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4270         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4271         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4272         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4273         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4274         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4276         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4278         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4279         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4281         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4282         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4285         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4286         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4287         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4288         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4289         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4290         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4291         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4292         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4293         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4294         (FP_UNPACK_RAW_SP): Likewise.
4295         (FP_PACK_RAW_S): Likewise.
4296         (FP_PACK_RAW_SP): Likewise.
4297         (FP_UNPACK_S): Likewise.
4298         (FP_UNPACK_SP): Likewise.
4299         (FP_UNPACK_SEMIRAW_S): Likewise.
4300         (FP_UNPACK_SEMIRAW_SP): Likewise.
4301         (FP_PACK_S): Likewise.
4302         (FP_PACK_SP): Likewise.
4303         (FP_PACK_SEMIRAW_S): Likewise.
4304         (FP_PACK_SEMIRAW_SP): Likewise.
4305         (_FP_SQRT_MEAT_S): Likewise.
4306         (FP_CMP_S): Likewise.
4307         (FP_CMP_EQ_S): Likewise.
4308         (FP_CMP_UNORD_S): Likewise.
4309         (FP_TO_INT_S): Likewise.
4310         (FP_FROM_INT_S): Likewise.
4311
4312         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4313
4314         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4315         (FP_EX_INVALID_IMZ): Likewise.
4316         (FP_EX_INVALID_IMZ_FMA): Likewise.
4317         (FP_EX_INVALID_ISI): Likewise.
4318         (FP_EX_INVALID_ZDZ): Likewise.
4319         (FP_EX_INVALID_IDI): Likewise.
4320         (FP_EX_INVALID_SQRT): Likewise.
4321         (FP_EX_INVALID_CVI): Likewise.
4322         (FP_EX_INVALID_VC): Likewise.
4323         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4324         "invalid" exceptions.
4325         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4326         (_FP_ADD_INTERNAL): Likewise.
4327         (_FP_MUL): Likewise.
4328         (_FP_FMA): Likewise.
4329         (_FP_DIV): Likewise.
4330         (_FP_CMP_CHECK_NAN): Likewise.
4331         (_FP_SQRT): Likewise.
4332         (_FP_TO_INT): Likewise.
4333         (FP_EXTEND): Likewise.
4334
4335 2014-10-09  Allan McRae  <allan@archlinux.org>
4336
4337         * po/fr.po: Update French translation from translation project.
4338
4339 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4340
4341         [BZ #14132]
4342         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4343         of INTDEF.
4344         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4345         (__cxa_atexit): Use libc_hidden_proto.
4346         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4347
4348         [BZ #14132]
4349         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4350         declaration.
4351         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4352         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4353         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4354         [!_ISOMAC] (__iswctype_internal): Likewise.
4355         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4356         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4357         alias.
4358         (fcntl): Remove __fcntl_internal alias.
4359         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4360         __connect_internal alias.
4361         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4362         Likewise.
4363
4364         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4365         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4366         FP_DENORM_ZERO.
4367         (_FP_CHECK_FLUSH_ZERO): New macro.
4368         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4369         (_FP_CMP): Likewise.
4370         (_FP_CMP_EQ): Likewise.
4371         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4372         FP_DENORM_ZERO.
4373         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4374         (FP_TRUNC): Likewise.
4375
4376         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4377         treated as invalid conversion, not as normal exponent.
4378
4379         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4380         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4381         (_FP_CMP_EQ): Likewise.
4382         (_FP_CMP_UNORD): Likewise.
4383         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4384         (FP_CMP_EQ_D): Likewise.
4385         (FP_CMP_UNORD_D): Likewise.
4386         * soft-fp/extended.h (FP_CMP_E): Likewise.
4387         (FP_CMP_EQ_E): Likewise.
4388         (FP_CMP_UNORD_E): Likewise.
4389         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4390         (FP_CMP_EQ_Q): Likewise.
4391         (FP_CMP_UNORD_Q): Likewise.
4392         * soft-fp/single.h (FP_CMP_S): Likewise.
4393         (FP_CMP_EQ_S): Likewise.
4394         (FP_CMP_UNORD_S): Likewise.
4395         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4396         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4397         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4398         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4399         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4400         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4401         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4402         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4403         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4404         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4405         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4406         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4407         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4408         to FP_CMP_Q.
4409         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4410         FP_CMP_Q.
4411         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4412         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4413         FP_CMP_EQ_Q.
4414         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4415         FP_CMP_Q.
4416         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4417         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4418         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4419         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4420         FP_CMP_EQ_Q.
4421         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4422         FP_CMP_Q.
4423         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4424         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4425         FP_CMP_EQ_Q.
4426         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4427         FP_CMP_Q.
4428         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4429         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4430         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4431         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4432         FP_CMP_EQ_Q.
4433
4434         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4435         a subnormal result, set the underflow exception if trapping on
4436         underflow is enabled.
4437         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4438         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4439         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4440         redefine to 0.
4441         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4442         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4443         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4444         * soft-fp/extendxftf2.c (__extendxftf2): Use
4445         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4446
4447         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4448         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4449         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4450         FP_HANDLE_EXCEPTIONS.
4451         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4452         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4453         FP_HANDLE_EXCEPTIONS.
4454         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4455         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4456         FP_HANDLE_EXCEPTIONS.
4457         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4458         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4459         FP_HANDLE_EXCEPTIONS.
4460
4461 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4462
4463         [BZ #14132]
4464         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4465         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4466         use INTUSE.
4467         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4468         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4469         Remove alias.
4470         (__adjtimex): Define using libc_hidden_ver.
4471         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4472         Remove declaration.
4473         (ntp_gettime): Call __adjtimex directly.
4474         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4475         Remove declaration.
4476         (ntp_gettimex): Call __adjtimex directly.
4477         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4478         __adjtimex_internal alias.
4479
4480 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4481
4482         [BZ #17460]
4483         * nscd/nscd.c (more_help): Rewrite list of tables collection
4484         using xstrdup and asprintf.
4485
4486         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4487
4488 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4489             Roland McGrath  <roland@hack.frob.com>
4490
4491         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4492         (do_lookup_unique): ... local function 'enter' here; update callers.
4493
4494 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4495
4496         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4497         compat_symbol calls on [SHARED].
4498         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4499         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4500         Remove.
4501         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4502         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4503         (oldsetrlimit): Remove.
4504         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4506         (lchown): New syscall entry.
4507         (oldsetrlimit): Remove.
4508         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4509         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4510         (oldsetrlimit): Remove.
4511         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4512
4513         [BZ #14138]
4514         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4515         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4516         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4517         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4518         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4519         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4520         (fchown): Likewise.
4521         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4522         (fchown): Likewise.
4523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4524         Likewise.
4525
4526 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4527
4528         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4529         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4530         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4531         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4532         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4533         Likewise.
4534         (__old_sem_post): Likewise.
4535
4536 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4537
4538         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4539         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4540         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4541         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4542         Use INLINE_VSYSCALL macro.
4543         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4544         __vdso_clock_gettime.
4545         * sysdeps/unix/sysv/linux/tile/init-first.c
4546         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4547         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4548         __vdso_clock_gettime.
4549
4550         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4551         to set up frame more cleanly.
4552
4553         * sysdeps/tile/memcmp.c: New file.
4554
4555         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4556
4557         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4558         * sysdeps/tile/tilegx/strcasestr.c: New file.
4559         * sysdeps/tile/tilegx/strnlen.c: New file.
4560         * sysdeps/tile/tilegx/strstr.c: New file.
4561
4562         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4563
4564 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4565
4566         * nptl/tst-setuid3.c: Write errors to stdout.
4567
4568 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4569
4570         * elf/dl-deps.c
4571         (preload): New functions broken out of _dl_map_object_deps.
4572         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4573
4574 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4575
4576         [BZ #14138]
4577         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4578         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4579
4580 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4581
4582         * sysdeps/mips/strcmp.S: New.
4583
4584 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4585
4586         [BZ #14138]
4587         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4588         (linkat): Likewise.
4589         (mkdirat): Likewise.
4590         (readlinkat): Likewise.
4591         (renameat): Likewise.
4592         (symlinkat): Likewise.
4593         (unlinkat): Likewise.
4594         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4595         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4596         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4597         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4598         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4599         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4600         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4601
4602 2014-09-30  Will Newton  <will.newton@linaro.org>
4603
4604         * math/math.h: Define long double math functions if
4605         _LIBC_TEST is defined.
4606         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4607
4608         * localedata/Makefile: Move assignment to tests-special
4609         into an ifdef testing run-built-tests.
4610         * timezone/Makefile: Likewise.
4611
4612 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4613
4614         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4615         with $(BASH) not $(SHELL).
4616
4617 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4618             Matthew LeGendre  <legendre1@llnl.gov>
4619
4620         [BZ #17411]
4621         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4622         l_reloc_result.
4623
4624 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4625
4626         * stdio-common/printf_fp.c
4627         (hack_digit): New function, broken out of ...
4628         (__printf_fp): ... local function here.  Update call sites.
4629         hack_digit now takes an additional parameter that is a pointer
4630         to a struct of the referenced locals.  Those locals moved inside
4631         the struct and references updated.
4632
4633 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4634
4635         * aclocal.m4: Require autoconf 2.69.
4636         * configure: Regenerated.
4637         * sysdeps/aarch64/configure: Likewise.
4638         * sysdeps/alpha/configure: Likewise.
4639         * sysdeps/arm/armv7/configure: Likewise.
4640         * sysdeps/arm/configure: Likewise.
4641         * sysdeps/ia64/configure: Likewise.
4642         * sysdeps/mach/configure: Likewise.
4643         * sysdeps/mips/configure: Likewise.
4644         * sysdeps/s390/configure: Likewise.
4645         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4647
4648         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4649         file.
4650         * sysdeps/ia64/configure.ac: Likewise.
4651
4652 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4653
4654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4655         specify symbol version for ld.so.  Do not include entry for
4656         libpthread.
4657         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4658         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4659         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4660
4661         [BZ #14171]
4662         * Makeconfig [$(build-shared) = yes]
4663         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4664         makefiles.
4665         [$(build-shared) = yes && $(soversions.mk-done) = t]
4666         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4667         [$(build-shared) = yes && $(soversions.mk-done) = t]
4668         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4669         to Makerules.
4670         [$(build-shared) = yes && $(soversions.mk-done) = t]
4671         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4672         here.
4673         [$(build-shared) = yes && $(soversions.mk-done) = t]
4674         (common-generated): Don't append gnu/lib-names.h and
4675         gnu/lib-names.stmp here.
4676         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4677         (lib-names-h-abi): New variable.
4678         [$(build-shared) = yes && $(soversions.mk-done) = t]
4679         (lib-names-stmp-abi): Likewise.
4680         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4681         abi-variants] (before-compile): Append
4682         $(common-objpfx)$(lib-names-h-abi).
4683         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4684         abi-variants] (common-generated): Append gnu/lib-names.h.
4685         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4686         abi-variants] (install-others-nosubdir): Depend on
4687         $(inst_includedir)/$(lib-names-h-abi).
4688         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4689         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4690         [$(build-shared) = yes && $(soversions.mk-done) = t]
4691         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4692         [$(build-shared) = yes && $(soversions.mk-done) = t]
4693         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4694         [$(build-shared) = yes && $(soversions.mk-done) = t]
4695         (common-generated): Append $(lib-names-h-abi) and
4696         $(lib-names-stmp-abi).
4697         * scripts/lib-names.awk: Do not handle multi being set.
4698         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4699         Remove variable.
4700         (abi-lp64_be-ld-soname): Likewise.
4701         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4702         Likewise.
4703         (abi-hard-ld-soname): Likewise.
4704         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4705         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4706         Remove variable.
4707         (abi-o32_hard-ld-soname): Likewise.
4708         (abi-o32_soft_2008-ld-soname): Likewise.
4709         (abi-o32_hard_2008-ld-soname): Likewise.
4710         (abi-n32_soft-ld-soname): Likewise.
4711         (abi-n32_hard-ld-soname): Likewise.
4712         (abi-n32_soft_2008-ld-soname): Likewise.
4713         (abi-n32_hard_2008-ld-soname): Likewise.
4714         (abi-n64_soft-ld-soname): Likewise.
4715         (abi-n64_hard-ld-soname): Likewise.
4716         (abi-n64_soft_2008-ld-soname): Likewise.
4717         (abi-n64_hard_2008-ld-soname): Likewise.
4718         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4719         Likewise.
4720         (abi-64-v2-ld-soname): Likewise.
4721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4722         ld.so entries.
4723         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4724         variable.
4725         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4726         entry.
4727         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4728         variable.
4729         (abi-64-ld-soname): Likewise.
4730         (abi-x32-ld-soname): Likewise.
4731         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4732         entry.
4733         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4734
4735 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4736
4737         [BZ #14138]
4738         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4739         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4740         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4741         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4742         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4743         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4744         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4745         syscall entry for GLIBC_2.2 symbol version.
4746         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4747         Likewise.
4748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4749         (setrlimit): Likewise.
4750         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4751         Likewise.
4752
4753 2014-09-23  Will Newton  <will.newton@linaro.org>
4754
4755         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4756         _LINUX_ARM_SYSDEP_H include guard too.
4757         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4758         define.
4759
4760 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4761
4762         * sysdeps/unix/sysv/linux/eventfd.c:
4763         Make first argument unsigned.
4764         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4765         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4766
4767 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4768
4769         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4770         * socket/sys/socket.h: Likewise
4771         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4772
4773 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4774
4775         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4776
4777 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4778
4779         * time/tst-ftime.c: New test.
4780         * time/Makefile (tests): Add tst-ftime.
4781
4782 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4783
4784         * soft-fp/extended.h: Fix comment formatting.
4785         * soft-fp/op-1.h: Likewise.
4786         * soft-fp/op-2.h: Likewise.
4787         * soft-fp/op-4.h: Likewise.
4788         * soft-fp/op-8.h: Likewise.
4789         * soft-fp/op-common.h: Likewise.
4790         * soft-fp/soft-fp.h: Likewise.
4791
4792         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4793
4794 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4795
4796         [BZ #6652]
4797         * Makeconfig (soversions-default-setname): Remove variable.
4798         ($(common-objpfx)soversions.i): Don't pass default_setname to
4799         soversions.awk.
4800         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4801         oldest_abi to abi-versions.awk.
4802         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4803         * config.make.in (oldest-abi): Remove variable.
4804         * configure.ac (--enable-oldest-abi): Remove configure option.
4805         * configure: Regenerated.
4806         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4807         text.
4808         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4809         * scripts/soversions.awk: Do not handle default_setname variable.
4810         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4811         variable.
4812         * sysdeps/mach/hurd/configure: Regenerated.
4813         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4814         variable.
4815         * sysdeps/unix/sysv/linux/configure: Regenerated.
4816
4817 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4818
4819         * elf/Makefile (CFLAGS-interp.c): Remove.
4820         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4821         path string.
4822         * elf/interp.c: Include generated runtime-linker.h
4823
4824         * Makerules (lib%.so): Don't include $(+interp) in
4825         prerequisites.
4826         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4827         * dlfcn/eval.c: Remove file.
4828
4829         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4830         macros.
4831
4832         [BZ #17266]
4833         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4834         4.2 and newer.
4835
4836         [BZ #17370]
4837         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4838
4839 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4840             Jakub Jelinek  <jakub@redhat.com>
4841
4842         [BZ #17266]
4843         * libio/stdio.h: Check definition of __fortify_function
4844         instead of __extern_always_inline to include bits/stdio2.h.
4845         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4846         check if __extern_always_inline is defined.
4847         [__USE_MISC || __USE_XOPEN]: Likewise.
4848         [__USE_ISOC99] Likewise.
4849         * misc/sys/cdefs.h (__fortify_function): Define only if
4850         __extern_always_inline is defined.
4851         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4852         __extern_always_inline and __extern_inline only for g++-4.3
4853         and newer or a compatible gcc.
4854
4855 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4856
4857         [BZ #17371]
4858         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4859         last change to handle zero prefix length.
4860
4861 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4862
4863         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4864         _SC_REGEX_VERSION.
4865
4866         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4867         _POSIX_RAW_SOCKETS.
4868
4869 2014-09-13  Allan McRae  <allan@archlinux.org>
4870
4871         * po/ru.po: Update Russian translation from translation project.
4872
4873 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4874
4875         * locale/programs/locale.c (show_locale_vars): Inline local function
4876         into its sole call site.  Clean up some style nits.
4877         (print_item): New function, broken out of ...
4878         (show_info): ... local function here.  Clean up style nits.
4879
4880         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4881         out of ...
4882         (set_class_defaults): ... local function set_default here.
4883         Define set_default as a macro locally to pass constant parameters.
4884         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4885         rather than a shared local.
4886
4887         * stdlib/rpmatch.c (try): New function, broken out of ...
4888         (rpmatch): ... local function here.  Also, prototypify definition.
4889
4890 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4891
4892         * scripts/soversions.awk: Do not handle configuration names.
4893         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4894         vendor and os variables to soversions.awk.
4895         * configure.ac: Do not modify gnu-* host_os.
4896         * configure: Regenerated
4897         * shlib-versions: Remove first column with configuration names.
4898         * nptl/shlib-versions: Likewise.
4899         * nptl_db/shlib-versions: Likewise.
4900         * sysdeps/hppa/shlib-versions: Likewise.
4901         * sysdeps/m68k/shlib-versions: Likewise.
4902         * sysdeps/mach/hurd/shlib-versions: Likewise.
4903         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4904         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4905         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4906         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4907         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4908         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4909         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4910         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4912         Likewise.
4913         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4914         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4915         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4916         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4917         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4918         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4919         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4920         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4921
4922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4923         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4925         Regenerated.
4926         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4928         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4929
4930         * shlib-versions: Remove OS-specific entries.  Moved to files in
4931         sysdeps.
4932         * sysdeps/mach/hurd/shlib-versions: New file.
4933         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4934
4935         * nptl/shlib-versions: Remove architecture-specific entries.
4936         Moved to files in sysdeps.
4937         * shlib-versions: Likewise.
4938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4939         file.
4940         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4941         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4942         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4943         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4944
4945         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4946         (UDP_NO_CHECK6_RX): Likewise.
4947
4948 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4949
4950         * sysdeps/posix/sysconf.c (__sysconf): Spell
4951         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4952
4953 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4954
4955         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4956         loading.
4957         * iconv/Versions (__gconv_transliterate): Export for use from
4958         gconv modules.
4959         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4960         (struct __gconv_trans_data, __gconv_trans_fct,
4961         __gconv_trans_context_fct, __gconv_trans_query_fct,
4962         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4963         definitions.
4964         (struct __gconv_step_data): Remove __trans member.
4965         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4966         longer hidden.  Remove unused trans_data argument.
4967         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4968         (__gconv_translit_find): Remove declaration.
4969         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4970         prototype.
4971         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4972         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4973         trans_data argument.  Add hidden definition.
4974         (__gconv_translit_find): Remove.
4975         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4976         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4977         * iconv/skeleton.c: Remove transliteration initialization.
4978         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4979         __gconv_step_data initialization.
4980         * libio/iofwide.c (__libio_translit_): Remove.
4981         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4982         * wcsmbs/btowc.c (__btowc): Likewise.
4983         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4984         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4985         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4986         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4987         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4988         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4989         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4990         * wcsmbs/wctob.c (wctob): Likewise.
4991
4992 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4993
4994         [BZ #16194]
4995         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4996         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4997         register usage.
4998         * sysdeps/x86/Makefile: Adjust.
4999
5000 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5001             Roland McGrath  <roland@hack.frob.com>
5002
5003         * locale/weight.h: Add include guard.
5004         (findidx): Make static rather than auto; take new parameters
5005         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5006         * locale/weightwc.h: Likewise.
5007         * posix/fnmatch_loop.c
5008         (FCT): Change type of EXTRA from int32_t to wint_t.
5009         Don't include either header inside the function.
5010         Call FINDIDX rather than findidx, and pass new arguments.
5011         #undef FINDIDX at the end of the file.
5012         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5013         FINDIDX before including fnmatch_loop.c for the non-wide version.
5014         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5015         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5016         for the wide version.
5017         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5018         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5019         Pass new arguments to findidx.
5020         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5021         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5022         Don't #include it inside the function.  Pass new arguments to findidx.
5023         * posix/regex_internal.h
5024         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5025         (re_string_elem_size_at): Don't #include it inside the function.
5026         Pass new arguments to findidx.
5027         * string/strcoll_l.c: #include WEIGHT_H at top level.
5028         (get_next_seq): Don't #include it inside the function.
5029         Pass new arguments to findidx.
5030         (get_next_seq_nocache): Likewise.
5031         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5032         (STRXFRM): Don't #include it inside the function.
5033         Pass new arguments to findidx.
5034
5035 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5036
5037         [BZ #17344]
5038         * malloc/malloc.c (unlink): Turn asserts into a call to
5039         malloc_printerr.
5040
5041 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5042
5043         [BZ #17370]
5044         * libio/wfileops (do_ftell_wide): Free OUT.
5045
5046 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5047
5048         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5049
5050 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5051
5052         [BZ #17363]
5053         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5054         group if the current group is empty.
5055
5056 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5057
5058         * benchtests/bench-memset.c (test_main): Add more test from size
5059         from 32 to 512 bytes.
5060         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5061         Add POWER8 memset object.
5062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5063         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5064         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5065         implementation.
5066         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5067         Likewise.
5068         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5069         multiarch POWER8 memset optimization.
5070         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5071         POWER8 memset optimization.
5072
5073         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5074         Remove bzero multiarch objects.
5075         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5076         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5077         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5078         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5079         Remove define.
5080         [__bzero]: Redefine to specific name.
5081         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5082         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5083         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5084         define.
5085         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5086         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5087
5088 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5089
5090         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5091         warnings into errors.
5092
5093         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5094         __cxa_thread_atexit_impl prototype.
5095
5096 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5097
5098         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5099         Fix capitalization of error message.
5100
5101 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5102
5103         * sysdeps/mips/preconfigure: Modify ABI tests.
5104
5105 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5106
5107         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5108
5109 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5110             Carlos O'Donell  <carlos@systemhalted.org>
5111
5112         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5113         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5114         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5115         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5116         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5117         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5118         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5119         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5120         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5121         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5123         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5124         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5125         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5126         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5127         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5128         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5129         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5130         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5131         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5132         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5133         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5134         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5135         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5136         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5137         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5138         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5139         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5140         Deconditionalize the code that was previously under [RESET_PID].
5141         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5142         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5143         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5144         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5145         include sysdep.h.
5146
5147 2014-09-08  Allan McRae  <allan@archlinux.org>
5148
5149         * version.h (RELEASE): Set to "development".
5150         (VERSION): Set to "2.20.90"
5151
5152 2014-09-07  Allan McRae  <allan@archlinux.org
5153
5154         * version.h (RELEASE): Set to "stable".
5155         (VERSION): Set to "2.20"
5156         * include/features.h (__GLIBC_MINOR__): Set to 20.
5157
5158         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5159         Liebler.
5160
5161         * po/ko.po: Update Korean translation from translation project.
5162
5163 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5164
5165         [BZ #17354]
5166         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5167         macro for handling signed relocations.
5168
5169 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5170
5171         [BZ #17325]
5172         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5173         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5174         assert.
5175         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5176         * iconvdata/ibm935.c (BODY): Likewise.
5177         * iconvdata/ibm937.c (BODY): Likewise.
5178         * iconvdata/ibm939.c (BODY): Likewise.
5179         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5180         assert.
5181         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5182         script.
5183         * iconvdata/run-iconv-test.sh: New test loop for checking for
5184         decoder crashers.
5185
5186 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5187
5188         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5189         libm_hidden_ver.
5190
5191 2014-09-01  Allan McRae  <allan@archlinux.org>
5192
5193         * po/eo.po: Update Esperanto translation from translation project.
5194
5195         * po/ca.po: Update Catalan translation from translation project.
5196
5197 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5198
5199         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5200         __proc_dostop call.
5201
5202 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5203
5204         [BZ #17319]
5205         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5206         to call set_thread_area instead of hand written asm.
5207         (__NR_set_thread_area): Removed define.
5208         (TLS_FLAG_WRITABLE): Likewise.
5209         (__ASSUME_SET_THREAD_AREA): Remove check.
5210         (TLS_EBX_ARG): Remove define.
5211         (TLS_LOAD_EBX): Likewise.
5212
5213 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5214
5215         Simplify atomicity of socket creation in bind.
5216
5217         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5218         looking up the name after linking the file.
5219
5220 2014-08-27  Allan McRae  <allan@archlinux.org>
5221
5222         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5223
5224 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5225
5226         [BZ #17187]
5227         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5228         trans_compare, open_translit, __gconv_translit_find):
5229         Remove module loading code.
5230
5231 2014-08-26  Allan McRae  <allan@archlinux.org>
5232
5233         * po/vi.po: Update Vietnamese translation from translation project.
5234
5235         * po/uk.po: Update Ukrainian translation from translation project.
5236
5237         * po/fr.po: Update French translation from translation project.
5238
5239         * po/ru.po: Update Russian translation from translation project.
5240
5241         * po/pl.po: Update Polish translation from translation project.
5242
5243         * po/cs.po: Update Czech translation from translation project.
5244
5245         * po/de.po: Update German translation from translation project.
5246
5247         * po/bg.po: Update Bulgarian translation from translation project.
5248
5249         * po/sv.po: Update Sweedish translation from translation project.
5250
5251         * po/nl.po: Update Dutch translation from translation project.
5252
5253         * po/es.po: Update Spanish translation from translation project.
5254
5255 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5256
5257         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5258
5259         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5260         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5261         (CPPFLAGS-iconvconfig): Likewise.
5262         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5263
5264         * include/libc-symbols.h: Remove unnecessary check for
5265         NOT_IN_libc.
5266         * nptl/pthreadP.h: Likewise.
5267         * sysdeps/aarch64/setjmp.S: Likewise.
5268         * sysdeps/alpha/setjmp.S: Likewise.
5269         * sysdeps/arm/sysdep.h: Likewise.
5270         * sysdeps/i386/setjmp.S: Likewise.
5271         * sysdeps/m68k/setjmp.c: Likewise.
5272         * sysdeps/posix/getcwd.c: Likewise.
5273         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5274         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5275         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5276         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5277         * sysdeps/sh/sh3/setjmp.S: Likewise.
5278         * sysdeps/sh/sh4/setjmp.S: Likewise.
5279         * sysdeps/unix/alpha/sysdep.h: Likewise.
5280         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5281         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5282         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5283         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5286         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5287         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5288         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5289         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5290         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5291         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5293         * sysdeps/x86_64/setjmp.S: Likewise.
5294
5295 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5296
5297         [BZ #17263]
5298         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5299         <stdint.h>.
5300         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5301         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5302
5303 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5304
5305         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5306
5307         [BZ #17262]
5308         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5309         and __x86_64__ when disabling x87 inline functions.
5310
5311 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5312
5313         [BZ #17259]
5314         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5315         asm statement with __cpuid_count.
5316
5317 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5318
5319         * configure.ac: Change __ehdr_start code to dereference the struct.
5320         Run readelf on the output to look for relocations.
5321         * configure: Regenerated.
5322
5323 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5324
5325         [BZ #17261]
5326         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5327         value to 0.
5328         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5329
5330 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5331
5332         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5333
5334 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5335
5336         [BZ #16892]
5337         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5338         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5339
5340 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5341
5342         * malloc/malloc.c: Fix typo in comment.
5343
5344 2014-08-09  Allan McRae  <allan@archlinux.org>
5345
5346         * Regenerate libc.po.
5347
5348 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5349
5350         * intl/tst-gettext2.sh: Check every lang file for creation.
5351
5352 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5353
5354         * sysdeps/aarch64/fpu/math_private.h
5355         (libc_feholdsetround_noex_aarch64_ctx): New function.
5356
5357 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5358
5359         * sysdeps/arm/armv6/strcpy.S (strcpy):
5360         Fix performance issue in misaligned cases.
5361
5362 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5363
5364         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5365         Move definition from termios.h.
5366         (struct termio): Likewise.
5367         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5368         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5369         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5370         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5371         Likewise.
5372         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5373         Move definition to ioctl-types.h
5374         (struct termio): Likewise.
5375         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5376         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5377         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5378         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5379         Likewise.
5380
5381 2014-08-05  Richard Henderson  <rth@redhat.com>
5382
5383         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5384         exceptions.
5385         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5386         Add fraiseexcpt.
5387         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5388         Use __feraiseexcept.
5389         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5390         Protect libm symbols with IS_IN_libm.
5391
5392         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5393
5394 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5395
5396         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5397
5398 2014-08-04  Will Newton  <will.newton@linaro.org>
5399
5400         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5401         file.
5402
5403 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5404
5405         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5406         variants for each function.
5407
5408 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5409
5410         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5411         appended ...
5412         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5413         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5414         appended ...
5415         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5416         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5417         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5418         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5419         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5420         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5421         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5422         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5423         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5424         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5425         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5426         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5427         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5428         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5429         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5430         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5431         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5432         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5433         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5434         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5435         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5436         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5437         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5438         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5439         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5440         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5441         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5442         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5443         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5444         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5445         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5446         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5447         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5448         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5449         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5450         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5451         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5452         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5453         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5454         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5455         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5457         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5458         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5459         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5460         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5461         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5462         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5463         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5464         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5465         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5466         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5467         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5468         Update #include.
5469         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5470         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5471
5472 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5473
5474         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5475         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5476         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5477         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5478         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5479         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5480
5481 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5482
5483         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5484         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5485         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5486         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5487
5488 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5489
5490         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5491         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5492         (__libc_vfork): Define function under this name.
5493         (__vfork): Define as an alias.
5494         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5495         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5496
5497 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5498
5499         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5500         that was previously under [RESET_PID].
5501         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5502
5503 2014-08-04  Andreas Schwab  <schwab@suse.de>
5504
5505         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5506
5507 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5508
5509         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5510         (main): Likewise.
5511
5512 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5513
5514         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5515
5516 2014-08-01  Richard Henderon  <rth@redhat.com>
5517
5518         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5519         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5520         typo in exact zero test.
5521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5522         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5524
5525 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5526
5527         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5528         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5529         * sysdeps/arm/sysdep.h: ... here.
5530         [!__ASSEMBLER__]: Include <stdint.h>.
5531
5532 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5533
5534         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5535         (HAVE_WCTYPE_H): Likewise.
5536         (HAVE_ISWCTYPE): Likewise.
5537         (ENABLE_NLS): Likewise.
5538         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5539         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5540
5541         * posix/regex_internal.c: Check if DEBUG is defined and is
5542         set.
5543
5544         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5545         (HAVE_MBSRTOWCS): Likewise.
5546         * posix/fnmatch.c: Include string.h unconditionally.
5547
5548 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5549
5550         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5551         reversal.
5552
5553 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5554
5555         * sysdeps/generic/safe-fatal.h: New file.
5556         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5557         * nptl/forward.c: Include it.
5558         (__pthread_unwind): Use __safe_fatal as default action, rather
5559         than a bogus use of INTERNAL_SYSCALL that could never work.
5560
5561         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5562         * configure.ac (libc_cv_builtin_trap): New test.
5563         * configure: Regenerated.
5564         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5565         (ABORT_INSTRUCTION): Define using __builtin_trap.
5566
5567         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5568         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5569         * sysdeps/nptl/nptl-signals.h: New file.
5570         * nptl/pthreadP.h: Include <nptl-signals.h>.
5571
5572 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5573
5574         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5575         (ONE_DIRECTION): Define.
5576         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5577         (ONE_DIRECTION): Define.
5578         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5579         (ONE_DIRECTION): Define.
5580
5581 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5582
5583         * sysdeps/s390/Makefile: Delete file.
5584         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5585         * sysdeps/s390/__longjmp.c: Delete file.
5586         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5587         Remove fields __flags and __reserved.
5588         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5589         and add versioning.
5590         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5591         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5592         * sysdeps/s390/rtld-setjmp.S: Likewise.
5593         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5594         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5595         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5596         * sysdeps/s390/s390-32/setjmp.S: ... here.
5597         Add versioning.
5598         (__sigsetjmp): Remove setting __flags field.
5599         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5600         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5601         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5602         * sysdeps/s390/s390-64/setjmp.S: ... here.
5603         Add versioning.
5604         (__sigsetjmp): Remove setting __flags field.
5605         * sysdeps/s390/setjmp.S: Delete file.
5606         * sysdeps/s390/sigjmp.c: Likewise.
5607         * sysdeps/s390/v1-longjmp.c: Likewise.
5608         * sysdeps/s390/v1-setjmp.h: Likewise.
5609         * sysdeps/s390/v1-sigjmp.c: Likewise.
5610         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5611         Remove v1-longjmp_chk.
5612         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5613         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5614         Include debug/longjmp_chk.c and add versioning.
5615         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5616         Include nptl/pt-longjmp.c and add versioning.
5617         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5618         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5619         Include __longjmp.c.
5620         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5621         Move to ...
5622         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5623         (__getcontext): Remove setting __flags field.
5624         Add versioning.
5625         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5626         Don't restore upper high grps.
5627         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5628         Likewise.
5629         (__swapcontext): Remove setting uc_flags field.
5630         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5631         Delete file.
5632         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5633         Include __longjmp.c.
5634         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5635         Move to ...
5636         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5637         (__getcontext): Remove setting __flags field.
5638         Add versioning.
5639         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5640         (__swapcontext): Remove setting uc_flags field.
5641         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5642         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5643         Remove fields uc_high_gprs and __reserved.
5644         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5645         New file with reverted content.
5646         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5647         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5648         Regenerated.
5649         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5650         Regenerated.
5651
5652 2014-07-31  Andreas Schwab  <schwab@suse.de>
5653
5654         * config.h.in (HAVE_IFUNC): Define to 0.
5655         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5656         definedness.
5657
5658 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5659
5660         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5661         memmove-avx-unaligned, memcpy-avx-unaligned and
5662         mempcpy-avx-unaligned.
5663         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5664         Add tests for AVX memcpy functions.
5665         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5666         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5667         memcpy_chk.
5668         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5669         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5670         memmove_chk.
5671         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5672         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5673         mempcpy_chk.
5674         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5675         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5676         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5677
5678 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5679
5680         [BZ #17213]
5681         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5682         powerpc64le.
5683
5684 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5685
5686         [BZ #16839]
5687         * manual/llio.texi: Add section about open file description locks.
5688         * manual/examples/ofdlocks.c: Example of open file description
5689         lock usage.
5690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5691         F_OFD_SETLK, and F_OFD_SETLKW.
5692
5693 2014-07-23  Allan McRae  <allan@archlinux.org>
5694
5695         * po/es.po: Update Spanish translation from translation project.
5696
5697 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5698
5699         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5700
5701 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5702
5703         [BZ #17078]
5704         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5705         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5706         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5707
5708 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5709
5710         [BZ #17088]
5711         * math/fesetenv.c (__fesetenv)
5712         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5713         * math/feupdateenv.c (__feupdateenv)
5714         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5715
5716         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5717         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5718         (__ASSUME_SOCKETCALL): Do not define.
5719
5720         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5721         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5722         (__ASSUME_SOCKETCALL): Do not define.
5723         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5724         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5725         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5726         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5727         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5728         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5729         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5730         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5731
5732         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5733         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5734         (__ASSUME_SOCKETCALL): Do not define.
5735         (__ASSUME_IPC64): Define unconditionally.
5736         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5737         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5738         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5739         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5740         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5741         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5742         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5743         Likewise.
5744
5745         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5746         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5747         (__ASSUME_SOCKETCALL): Do not define.
5748         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5749         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5750         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5751         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5752         (__ASSUME_REQUEUE_PI): Define unconditionally.
5753         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5754         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5755         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5756         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5757         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5758         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5759
5760         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5761         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5762         (__ASSUME_SOCKETCALL): Do not define.
5763         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5764         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5765         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5766         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5767         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5768         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5769
5770         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5771         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5772         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5773         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5774         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5775         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5776         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5777         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5778         (__ASSUME_GETCPU_SYSCALL): Likewise.
5779
5780         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5781         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5782         cases for individual architectures.
5783         * sysdeps/gnu/configure: Regenerated.
5784         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5785         LIBC_SLIBDIR_RTLDDIR.
5786         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5787         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5788         LIBC_SLIBDIR_RTLDDIR.
5789         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5791         LIBC_SLIBDIR_RTLDDIR.
5792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5793         Regenerated.
5794         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5795         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5796         file.
5797         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5798         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5799         file.
5800         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5801         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5802         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5803         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5804
5805         * sysdeps/aarch64/shlib-versions: Move to ...
5806         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5807         * sysdeps/alpha/shlib-versions: Move to ...
5808         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5809         * sysdeps/arm/shlib-versions: Move to ...
5810         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5811         * sysdeps/hppa/shlib-versions: Move all contents except for
5812         libgcc_s entry to ...
5813         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5814         entry from ...
5815         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5816         * sysdeps/ia64/shlib-versions: Move to ...
5817         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5818         entry from ...
5819         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5820         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5821         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5822         * sysdeps/microblaze/shlib-versions: Move to ...
5823         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5824         * sysdeps/mips/shlib-versions: Move to ...
5825         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5826         entry from ...
5827         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5828         * sysdeps/tile/shlib-versions: Move to ...
5829         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5830         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5831         from ...
5832         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5833         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5834         entry from ...
5835         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5836
5837 2014-07-17  Will Newton  <will.newton@linaro.org>
5838
5839         * sysdeps/arm/bits/atomic.h
5840         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5841         (__arch_compare_and_exchange_bool_16_int): Likewise.
5842         (__arch_compare_and_exchange_bool_64_int): Likewise.
5843
5844         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5845         into an #else block.
5846
5847 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5848
5849         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5850         just Linux configurations.  Test empirically that the compiler sets
5851         __ARM_EABI__, rather than using the tuple to decide.
5852         * sysdeps/arm/preconfigure: Regenerated.
5853         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5854         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5855         contents appended ...
5856         * sysdeps/arm/configure.ac: ... here.
5857         * sysdeps/arm/configure: Regenerated.
5858
5859 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5860
5861         * nptl/pthread_kill.c: New file.
5862         * nptl/pthread_sigmask.c: New file.
5863         * nptl/pthread_sigqueue.c: New file.
5864
5865         * sysdeps/nptl/lowlevellock.h: New file.
5866         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5867         * sysdeps/nptl/lowlevellock-futex.h: New file.
5868
5869         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5870         Remove dead declarations.
5871
5872 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5873
5874         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5875         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5876         config-cflags-avx2.
5877         * sysdeps/x86_64/configure.ac: Likewise.
5878         * sysdeps/i386/configure: Regenerated.
5879         * sysdeps/x86_64/configure: Likewise.
5880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5881         memset-avx2 only if config-cflags-avx2 is yes.
5882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5883         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5884         defined.
5885         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5886         only if HAVE_AVX2_SUPPORT is defined.
5887         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5888
5889 2014-07-14  Alan Modra  <amodra@gmail.com>
5890
5891         [BZ #17153]
5892         * elf/elf.h (DT_PPC64_NUM): Correct value.
5893         * NEWS: Add to fixed bug list.
5894
5895 2014-07-13  Jim Meyering  <meyering@fb.com>
5896
5897         [BZ 17150]
5898         regex: don't deref NULL upon heap allocation failure
5899         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5900         failure in one more place.
5901         To trigger the segfault, configure grep -with-included-regex,
5902         build it, and run these commands:
5903         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5904
5905 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5906
5907         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5908
5909 2014-07-11  Richard Henderson  <rth@redhat.com>
5910
5911         * sysdeps/aarch64/libm-test-ulps: Update.
5912
5913 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5914
5915         [BZ #17135]
5916         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5917         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5918         (__nptl_setxid): Initialize error member.  Call
5919         __nptl_setxid_error.
5920         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5921         * nptl/descr.h (struct xid_command): Add error member.
5922         * nptl/tst-setuid3.c: New file.
5923         * nptl/Makefile (tests): Add it.
5924
5925 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5926
5927         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5928         New define.
5929         (__lll_trylock): Use __lll_base_trylock.
5930         (__lll_cond_trylock): Likewise.
5931
5932 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5933
5934         * nptl/pthread_create.c (start_thread): Use atomic_or and
5935         lll_futex_wake directly rather than lll_robust_dead.
5936         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5937         (lll_robust_dead): Macro removed.
5938         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5939         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5940         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5941         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5942         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5943         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5944         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5945         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5946         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5947         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5948         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5949         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5950         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5951         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5952         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5953
5954         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5955         Use atomic_compare_and_exchange_val_acq directly rather than
5956         lll_robust_trylock.
5957         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5958         (__lll_robust_trylock, lll_robust_trylock): Removed.
5959         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5960         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5961         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5962         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5963         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5964         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5965         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5966         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5967         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5968         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5969         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5970         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5971         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5972         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5973
5974 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5975
5976         * manual/locale.texi (Locale Names): New section documenting
5977         locale name syntax.  Adjust menu and node chaining accordingly.
5978         (Choosing Locale): Reference Locale Names, Locale Categories.
5979         Mention setting LC_ALL=C.  Reflect that name syntax is now
5980         documented.
5981         (Locale Categories): New section title.  Reference Locale Names.
5982         LC_ALL is an environment variable, but not a category.
5983         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5984         description, now in Locale Name.  Reference that section.  Locale
5985         name syntax is now documented.
5986
5987 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5988
5989         [BZ #17137]
5990         * locale/findlocale.c (name_present, valid_locale_name): New
5991         functions.
5992         (_nl_find_locale): Use the loc_name variable to store name
5993         candidates.  Call name_present and valid_locale_name to check and
5994         validate locale names.  Return an error if the locale is invalid.
5995
5996 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5997
5998         * locale/setlocale.c (setlocale): Use strdup for allocating
5999         composite name copy.
6000
6001 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6002
6003         Sync up with gnulib.
6004         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6005         [!_LIBC && ENABLE_NLS]: Include gettext.h.
6006         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6007         and _GL_ARG_NONNULL.
6008         [USE_UNLOCKED_IO]: Include unlocked-io.h.
6009         [!_LIBC]: Include code for Windows and Cygwin.
6010         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6011         Include prototype for int strerror_r.
6012         [!_LIBC] (is_open): New function.
6013         (flush_stdout): New function.
6014         (print_errno_message): Use it.
6015         (error): Likewise.
6016         (error_at_line): Likewise.
6017         (error_tail) Add function attribute macros.  Use
6018         __builtin_expect.
6019
6020         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6021
6022         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6023
6024         * io/ftw.c: Include sys/param.h unconditionally.
6025
6026         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6027
6028         [BZ #17125]
6029         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6030         libc_freeres_ptr.
6031         (freecache): New function to free CACHE on exit.
6032
6033         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6034         initialization.
6035
6036 2014-07-09  David S. Miller  <davem@davemloft.net>
6037
6038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6039
6040         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6041         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6042         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6043         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6044         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6045         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6046         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6047         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6048         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6049         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6050         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6051         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6052         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6053
6054 2014-07-09  Andreas Schwab  <schwab@suse.de>
6055
6056         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6057         output.
6058         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6059         (do_test): Likewise.
6060
6061         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6062
6063 2014-07-09  Will Newton  <will.newton@linaro.org>
6064
6065         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6066         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6067         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6068         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6069         * sysdeps/hppa/start.S (_start): Likewise.
6070
6071 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6072
6073         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6074
6075         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6076         defined.
6077
6078 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6079
6080         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6081         after checking that it is non-NULL.
6082
6083         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6084
6085 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6086
6087         * sysdeps/powerpc/memmove.c: Remove file.
6088         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6089         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6090         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6091         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6092         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6093         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6094         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6095         string memmove instead of removed powerpc one.
6096
6097         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6098         [weak_alias]: Fix compiler warning due trailing data.
6099         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6100         [weak_alias]: Likewise.
6101         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6102         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6103
6104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6105         (__libc_ifunc_impl_list): Add memmove functions.
6106
6107 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6108
6109         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6110         Remove code.
6111         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6112         Likewise
6113         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6114         Likewise
6115         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6116         Likewise
6117         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6118         Likewise
6119         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6120         Likewise
6121         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6122         Likewise
6123         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6124         Likewise
6125         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6126         Likewise
6127         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6128         Likewise
6129         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6130         Likewise
6131         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6132         Likewise
6133         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6134         Likewise
6135         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6136         Likewise
6137         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6138         Likewise
6139         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6140         Likewise
6141         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6142         Likewise
6143
6144 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6145
6146         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6147         to avoid alignment traps in non-cacheable memory.
6148         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6149
6150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6151         multiarch objects.
6152         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6153         file: multiarch power7 memmove.
6154         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6155         multiarch default memmove.
6156         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6157         multiarch memove for powerpc32/power4.
6158
6159         * string/bcopy.c: Use full path to include memmove.c.
6160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6161         multiarch objects.
6162         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6163         bcopy for powerpc64.
6164         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6165         bcopy for powerpc64.
6166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6167         and memmove implementations.
6168         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6169         optimized multiarch memmove for POWER7/powerpc64.
6170         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6171         default multiarch memmove for powerpc64.
6172         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6173         multiarch for powerpc64.
6174         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6175         for POWER7/powerpc64.
6176         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6177         memmove for POWER7/powerpc64.
6178
6179         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6180         glibc default one.
6181
6182         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6183         __ELF_NATIVE_CLASS equal to 64.
6184
6185 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6186
6187         * sysdeps/nptl/lowlevellock.h: File removed.
6188
6189         * NEWS: NPTL is no longer an add-on!
6190         * nptl/internaltypes.h: Moved ...
6191         * sysdeps/nptl/internaltypes.h: ... here.
6192         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6193         * sysdeps/nptl/fork.c: Likewise.
6194         * sysdeps/nptl/gai_misc.h: Likewise.
6195         * sysdeps/nptl/librt-cancellation.c: Likewise.
6196         * sysdeps/nptl/jmp-unwind.c: Likewise.
6197         * sysdeps/nptl/setxid.h: Likewise.
6198         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6199         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6200         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6201         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6202         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6203         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6204         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6205         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6206         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6207         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6208         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6209         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6210         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6211         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6212         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6213         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6214         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6215         * nptl/Makeconfig: Moved ...
6216         * sysdeps/nptl/Makeconfig: ... here.
6217         * nptl/configure: File removed.
6218         * nptl/ANNOUNCE: File removed.
6219         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6220         * sysdeps/unix/sysv/linux/configure: Regenerated.
6221
6222         * nptl/Makefile (routines): Add libc_pthread_init,
6223         libc_multiple_threads, register-atfork and unregister-atfork.
6224         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6225         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6226         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6227         pthread-pi-defines.sym, structsem.sym.
6228         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6229         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6230         [$(subdir) = nptl] (tests): Add tst-setgetname.
6231         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6232         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6233         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6234         [!LIBC_SIGACTION]: Remove aliases.
6235         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6236         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6237         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6238         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6239         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6240         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6241         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6242         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6243         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6244         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6245         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6246         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6247         __libc_allocate_rtsig_private.
6248         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6249         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6250         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6251         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6252         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6253         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6254         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6255         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6256         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6257         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6258         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6259         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6260         * nptl/internaltypes.h: ... here.
6261         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6262         * sysdeps/nptl/jmp-unwind.c: ... here.
6263         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6264         * nptl/libc-lowlevellock.c: ... here.
6265         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6266         * nptl/libc_multiple_threads.c: ... here.
6267         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6268         * nptl/libc_pthread_init.c: ... here.
6269         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6270         * nptl/lowlevelbarrier.sym: ... here.
6271         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6272         * nptl/lowlevelcond.sym: ... here.
6273         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6274         * nptl/lowlevellock.c: ... here.
6275         * nptl/lowlevellock.h: Moved ...
6276         * sysdeps/nptl/lowlevellock.h: ... here.
6277         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6278         * nptl/lowlevelrobustlock.c: ... here.
6279         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6280         * nptl/lowlevelrobustlock.sym: ... here.
6281         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6282         * nptl/lowlevelrwlock.sym: ... here.
6283         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6284         * nptl/pt-fork.c: ... here.
6285         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6286         * nptl/pthread-pi-defines.sym: ... here.
6287         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6288         * nptl/pthread_attr_getaffinity.c: ... here.
6289         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6290         * nptl/pthread_attr_setaffinity.c: ... here.
6291         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6292         * nptl/pthread_mutex_cond_lock.c: ... here.
6293         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6294         Update #include.
6295         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6296         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6297         * nptl/pthread_once.c: ... here, replacing old file.
6298         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6299         * nptl/pthread_yield.c: ... here.
6300         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6301         * nptl/register-atfork.c: ... here.
6302         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6303         * nptl/sem_post.c: ... here.
6304         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6305         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6306         * nptl/sem_timedwait.c: ... here.
6307         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6308         * nptl/sem_trywait.c: ... here.
6309         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6310         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6311         * nptl/sem_wait.c: ... here.
6312         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6313         * nptl/structsem.sym: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6315         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6316         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6317         * nptl/unregister-atfork.c: ... here.
6318         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6319         * nptl/unwindbuf.sym: ... here.
6320         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6321         * sysdeps/nptl/fork.c: ... here.
6322         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6323         * sysdeps/nptl/fork.h: ... here.
6324         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6325         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6326         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6327         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6328         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6329         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6330         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6331         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6332         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6333         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6334         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6335         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6336         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6337         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6338         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6339         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6340         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6341         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6342         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6343         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6344         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6345         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6346         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6347         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6348         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6349         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6350         * sysdeps/unix/sysv/linux/raise.c: ... here.
6351         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6352         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6353         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6354         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6355         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6356         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6357         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6358         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6359         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6360         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6361         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6362         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6363         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6364         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6365         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6366
6367 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6368
6369         * sysdeps/generic/memcopy.h: Add comment for
6370         MEMCPY_OK_FOR_FWD_MEMMOVE.
6371
6372 2014-07-04  Will Newton  <will.newton@linaro.org>
6373
6374         * string/memchr.c: Merge from gnulib.
6375         [_LIBC]: Remove conditionals.
6376         (__ptr_t): Remove define.
6377         (LONG_MAX_32_BITS): Likewise.
6378         (LONG_MAX): Likewise.
6379         (MEMCHR): Use ANSI prototype and optimize algorithm.
6380
6381         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6382
6383 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6384
6385         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6386         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6387
6388         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6389         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6390         in a bare environment with no <stdlib.h> installed.
6391         * sysdeps/nptl/configure: Regenerated.
6392
6393         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6394
6395         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6396         AC_EGREP_CPP for kernel header checks, so they only succeed if
6397         including <linux/version.h> actually works right.
6398         * sysdeps/unix/sysv/linux/configure: Regenerated.
6399
6400         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6401         value so it's not diagnosed as unused.
6402
6403         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6404         thing) with "ifeq ($(subdir),rt)".
6405
6406 2014-07-03  Richard Henderson  <rth@redhat.com>
6407
6408         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6409         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6410         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6411
6412         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6413         (math_force_eval): New.
6414
6415         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6416         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6417
6418         * sysdeps/alpha/fpu/s_round.c: Remove file.
6419         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6420
6421         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6422         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6423         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6424         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6425         (_dl_start, print_statistics): Likewise.
6426         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6427         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6428
6429         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6430         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6431         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6432         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6433         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6434         (HP_SMALL_TIMING_AVAIL): Define.
6435         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6436         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6437         (HP_SMALL_TIMING_AVAIL): Define.
6438         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6439         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6440
6441         * sysdeps/aarch64/hp-timing.h: New file.
6442
6443         * sysdeps/generic/hp-timing.h: Remove dead comment.
6444         * sysdeps/generic/hp-timing-common.h: New file.
6445         * sysdeps/alpha/hp-timing.h: Include it.
6446         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6447         * sysdeps/i386/i686/hp-timing.h: Likewise.
6448         * sysdeps/ia64/hp-timing.h: Likewise.
6449         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6450         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6451         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6452         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6453         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6454         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6455         (hp_timing_t): New.
6456
6457         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6458         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6459         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6460         * elf/rtld.c (_dl_start_final): Likewise.
6461         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6462         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6463         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6464         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6465         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6466         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6467         (HP_TIMING_DIFF_INIT): Remove.
6468         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6470         (HP_TIMING_DIFF_INIT): Remove.
6471         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6472         * sysdeps/i386/i686/hp-timing.c: Remove file.
6473         * sysdeps/x86_64/hp-timing.c: Remove file.
6474         * sysdeps/ia64/hp-timing.c: Remove file.
6475         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6476         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6477         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6478         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6479
6480         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6481         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6482         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6483         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6484         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6485         (HP_TIMING_ACCUM): Remove.
6486         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6487         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6488         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6489
6490         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6491         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6492         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6493         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6494         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6495         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6497         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6498
6499         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6500
6501 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6502
6503         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6504
6505 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6506
6507         Sync up with gettext.
6508         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6509         [_MSC_VER]: Include malloc.h
6510         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6511         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6512         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6513         TEMP_FAILURE_RETRY.  Cast return of alloca.
6514         [!_LIBC] Call gl_rwlock_init.
6515         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6516
6517 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6518
6519         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6520         before checking its value.
6521
6522 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6523
6524         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6525
6526         * debug/memcpy_chk.c: Don't include pagecopy.h.
6527         * debug/mempcpy_chk.c: Likewise.
6528         * string/memcpy.c: Likewise.
6529         * string/memmove.c: Likewise.
6530         * sysdeps/powerpc/memmove.c: Likewise.
6531         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6532         definition of PAGE_COPY_FWD_MAYBE here...
6533         * sysdeps/generic/pagecopy.h: ... from here.
6534         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6535
6536 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6537             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6538
6539         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6540         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6541         optimizations.
6542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6543         (__libc_ifunc_impl_list): Likewise.
6544         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6545         multiarch strcat for PPC64.
6546         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6547         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6548
6549 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6550
6551         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6552
6553 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6554
6555         * intl/loadmsgcat.c: Remove declaration of
6556         get_sysdep_segment_value.
6557         (get_sysdep_segment_value): Use ISO C style.
6558         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6559         semicolon.  Fix typo and formatting in comment.
6560         (_nl_unload_domain): Use ISO C style.
6561
6562         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6563
6564 2014-07-02  Will Newton  <will.newton@linaro.org>
6565
6566         * malloc/obstack.c: Merge from gnulib master.
6567         [HAVE_CONFIG_H]: Remove conditional code.
6568         [!_LIBC]: Include config.h.
6569         [!ELIDE_CODE]: Don't include inttypes.h, include
6570         stdint.h unconditionally.
6571         (print_and_abort): Mark as _Noreturn.
6572         (_obstack_allocated_p): Mark as __attribute_pure__.
6573         (obstack_free): Rename to __obstack_free.
6574         [!__attribute__]: Remove conditional code.
6575         * malloc/obstack.h: Merge from gnulib master.
6576         [__cplusplus]: Move conditional down.
6577         [!__attribute_pure__]: Define __attribute_pure__ here
6578         if it is not already defined.
6579         (_obstack_memory_used): Mark as __attribute_pure__.
6580         [!__obstack_free]: Define as obstack_free.
6581         [__GNUC__]: Remove check for ancient NeXT gcc.
6582
6583 2014-07-02  Will Newton  <will.newton@linaro.org>
6584             Paul Eggert  <eggert@cs.ucla.edu>
6585
6586         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6587
6588 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6589
6590         * resolv/gethnamaddr.c: Add comment warning that the file is
6591         not maintained.
6592
6593 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6594
6595         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6596         entries.
6597
6598         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6599         entry for aio_cancel and aio_cancel64.
6600         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6601         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6602         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6603         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6604         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6605         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6606         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6607         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6608         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6609         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6610         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6611         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6612         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6613
6614 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6615
6616         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6617         * nptl/pthread_mutex_lock.c: Likewise.
6618         * nptl/pthread_mutex_timedlock.c: Likewise.
6619         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6620
6621 2014-07-01  Richard henderson  <rth@redhat.com>
6622
6623         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6624         (__isnan, __isnanl): Remove.
6625         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6626
6627         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6628
6629 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6630
6631         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6632
6633 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6634
6635         * resolv/nss_dns/dns-host.c (getanswer_r)
6636         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6637
6638 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6639
6640         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6641         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6642         undefine.
6643         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6644         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6645
6646 2014-07-01  Roland McGrath <roland@hack.frob.com>
6647
6648         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6649         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6650
6651         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6652         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6653
6654         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6655         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6656         ... here.
6657         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6658         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6659
6660         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6661         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6662         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6663         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6664
6665         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6666         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6667         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6668         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6669         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6670         Moved ...
6671         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6672         ... here.
6673         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6674         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6675         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6676         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6677         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6678         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6679         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6680         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6681         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6682         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6683         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6684         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6685         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6686         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6687         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6688         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6689         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6690         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6691         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6692         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6693         ... here.
6694         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6695         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6696         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6697         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6698         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6699         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6700         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6701         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6702
6703 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6704
6705         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6706         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6707         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6708         Add sysdep.
6709
6710 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6711
6712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6713
6714 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6715
6716         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6717         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6718
6719         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6720
6721         * sysdeps/arm/libm-test-ulps: Regenerated.
6722
6723 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6724             Roland McGrath <roland@hack.frob.com>
6725
6726         * test-skeleton.c (signal_handler): Kill the whole process group
6727         before killing the child individually.
6728         (main): Report any failure on `setpgid'.
6729
6730 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6731
6732         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6733         from _TLS_H to _ARM_NPTL_TLS_H.
6734         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6735         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6736
6737 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6738
6739         [BZ #16539]
6740         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6741         (__expm1l): Return argument unchanged when small but not
6742         subnormal.
6743
6744         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6745         include macro name.
6746         (_FP_UNPACK_RAW_1_P): Likewise.
6747         (_FP_PACK_RAW_1): Likewise.
6748         (_FP_PACK_RAW_1_P): Likewise.
6749         (_FP_MUL_MEAT_1_wide): Likewise.
6750         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6751         (_FP_MUL_MEAT_1_hard): Likewise.
6752         (_FP_DIV_MEAT_1_imm): Likewise.
6753         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6754         (_FP_DIV_MEAT_1_udiv): Likewise.
6755         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6756         (_FP_UNPACK_RAW_2): Likewise.
6757         (_FP_UNPACK_RAW_2_P): Likewise.
6758         (_FP_PACK_RAW_2): Likewise.
6759         (_FP_PACK_RAW_2_P): Likewise.
6760         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6761         (_FP_MUL_MEAT_2_wide): Likewise.
6762         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6763         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6764         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6765         (_FP_MUL_MEAT_2_gmp): Likewise.
6766         (_FP_DIV_MEAT_2_udiv): Likewise.
6767         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6768         (_FP_FRAC_SRL_4): Likewise.
6769         (_FP_FRAC_SRST_4): Likewise.
6770         (_FP_FRAC_SRS_4): Likewise.
6771         (_FP_UNPACK_RAW_4): Likewise.
6772         (_FP_UNPACK_RAW_4_P): Likewise.
6773         (_FP_PACK_RAW_4): Likewise.
6774         (_FP_PACK_RAW_4_P): Likewise.
6775         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6776         (_FP_MUL_MEAT_4_wide): Likewise.
6777         (_FP_MUL_MEAT_4_gmp): Likewise.
6778         (umul_ppppmnnn): Likewise.
6779         (_FP_DIV_MEAT_4_udiv): Likewise.
6780         (__FP_FRAC_ADD_4): Likewise.
6781         (__FP_FRAC_SUB_3): Likewise.
6782         (__FP_FRAC_SUB_4): Likewise.
6783         (__FP_FRAC_DEC_3): Likewise.
6784         (__FP_FRAC_DEC_4): Likewise.
6785         (__FP_FRAC_ADDI_4): Likewise.
6786         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6787         (_FP_FRAC_SRL_8): Likewise.
6788         (_FP_FRAC_SRS_8): Likewise.
6789
6790         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6791         include macro name.
6792         (FP_UNPACK_RAW_EP): Likewise.
6793         (FP_PACK_RAW_E): Likewise.
6794         (FP_PACK_RAW_EP): Likewise.
6795         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6796         (_FP_ISSIGNAN): Likewise.
6797         (_FP_ADD_INTERNAL): Likewise.
6798         (_FP_FMA): Likewise.
6799         (_FP_CMP): Likewise.
6800         (_FP_SQRT): Likewise.
6801         (_FP_TO_INT): Likewise.
6802         (_FP_FROM_INT): Likewise.
6803         (FP_EXTEND): Likewise.
6804         (_FP_DIV_MEAT_N_loop): Likewise.
6805
6806 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6807
6808         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6809         throughout.
6810
6811 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6812
6813         [BZ #17097]
6814         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6815         result with correct sign in case of exponents that produce
6816         overflow except for X very close to 1.
6817
6818 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6819
6820         mktime: merge #if/#ifdef usage from glibc
6821         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6822         as that works with both Glibc's and Gnulib's style.
6823         See thread starting at Siddhesh Poyarekar's bug report at:
6824         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6825
6826 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6827
6828         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6829         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6830         * sysdeps/tile/tilegx/memmove.c: Remove file.
6831
6832 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6833
6834         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6835         abi-name definition.
6836         * scripts/soversions.awk: Do not handle or generate ABI lines.
6837         * shlib-versions: Remove ABI entries.
6838         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6839         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6840
6841 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6842
6843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6844         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6845         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6846         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6848         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6850         Moved ...
6851         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6852         ... here.
6853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6854         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6856         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6858         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6860         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6862         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6864         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6866         Moved ...
6867         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6869         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6871         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6873         Moved ...
6874         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6876         Moved ...
6877         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6878         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6879         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6881         Moved ...
6882         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6884         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6885         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6886         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6887         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6888         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6889         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6890         Moved ...
6891         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6893         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6894         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6895         Moved ...
6896         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6897         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6898         Moved ...
6899         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6901         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6903         Moved ...
6904         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6905         ... here.
6906         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6907         Identical file removed.
6908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6909         Moved ...
6910         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6911         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6912         Identical file removed.
6913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6914         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6916         Moved ...
6917         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6919         Identical file removed.
6920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6921         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6923         Identical file removed.
6924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6925         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6926         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6927         Identical file removed.
6928         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6929         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6930         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6931         Identical file removed.
6932         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6933         Moved ...
6934         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6935         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6936         Identical file removed.
6937         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6938         Moved ...
6939         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6940         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6941         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6942         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6943         Identical file removed.
6944         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6945         Moved ...
6946         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6947         ... here.
6948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6949         Identical file removed.
6950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6951         Moved ...
6952         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6954         Identical file removed.
6955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6956         Moved ...
6957         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6958         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6959         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6960         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6961         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6962         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6963         Moved ...
6964         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6965         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6966         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6967
6968         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6969         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6970         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6971         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6972         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6973
6974 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6975
6976         [BZ #17092]
6977         * nscd/nscd.c (monitor_child): Return exit status of child
6978         instead of return value from wait syscall.
6979
6980 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6981
6982         * configure.ac (libc_commonpagesize): Remove variable.
6983         (libc_relro_required): Likewise.
6984         (libc_cv_z_relro): Remove configure test.
6985         * configure: Regenerated.
6986         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6987         variable.
6988         (libc_relro_required): Likewise.
6989         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6990         (libc_relro_required): Likewise.
6991         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6992         (libc_relro_required): Likewise.
6993         * sysdeps/arm/preconfigure: Regenerated.
6994         * sysdeps/ia64/preconfigure: Remove file.
6995         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6996         variable.
6997         (libc_relro_required): Likewise.
6998
6999         [BZ #16561]
7000         [BZ #16562]
7001         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7002         (__ieee754_yn): Set FE_TONEAREST mode internally and then
7003         recompute overflowing results in original rounding mode.
7004         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7005         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7006         recompute overflowing results in original rounding mode.
7007         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7008         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7009         recompute overflowing results in original rounding mode.
7010         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7011         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7012         recompute overflowing results in original rounding mode.
7013         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7014         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7015         recompute overflowing results in original rounding mode.
7016         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7017         (libc_feholdsetround_ctx): New macro.
7018         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7019         * sysdeps/i386/fpu/libm-test-ulps: Update.
7020         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7021
7022 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7023
7024         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7025         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7026         corresponding .cpsetup call.
7027
7028 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7029
7030         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7031         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7032         * sysdeps/arm/Makefile [$(subdir) = csu]
7033         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7034         (static-only-routines): Add aeabi_read_tp here.
7035         (shared-only-routines): Add libc-aeabi_read_tp here.
7036         (CFLAGS-libc-start.c): Add -fexceptions here.
7037         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7038         (sysdep_routines, static-only-routines, shared-only-routines):
7039         Don't add to these here.
7040         (CFLAGS-libc-start.c): Likewise.
7041
7042         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7043         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7044         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7045         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7046         * sysdeps/arm/Makefile [$(subdir) = rt]
7047         (librt-sysdep_routines, librt-shared-only-routines):
7048         Append rt-aeabi_unwind_cpp_pr1 here.
7049         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7050         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7051         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7052         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7053         Append nptl-aeabi_unwind_cpp_pr1 here.
7054         (tests): Filter out tst-cleanupx4 here.
7055         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7056         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7057         Don't do those here.
7058
7059 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7060
7061         * scripts/list-sources.sh: Do not handle ports specially.
7062
7063 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7064
7065         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7066         * sysdeps/arm/feupdateenv.c: Likewise.
7067
7068         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7069
7070 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7071
7072         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7073         trailing whitespace removed.
7074         * scripts/config.guess: Update to version 2014-03-23.
7075         * scripts/config.sub: Update to version 2014-05-01
7076         * scripts/install-sh: Update to version 2013-12-25.23.
7077         * scripts/move-if-change: Update from gnulib.
7078
7079 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7080
7081         * debug/memmove_chk.c: Remove pagecopy.h include.
7082
7083 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7084
7085         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7086         identical to gnulib mktime.
7087
7088 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7089
7090         * configure.ac: Do not test for machine being rs6000.  Do not test
7091         for powerpc*-*soft.
7092         * configure: Regenerated.
7093
7094         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7095         test.
7096         * configure: Regenerated.
7097         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7098         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7099         Remove configure test.
7100         * sysdeps/arm/configure: Regenerated.
7101         * sysdeps/nptl/configure.ac: Do not check
7102         libc_cv_asm_cfi_directives.
7103         * sysdeps/nptl/configure: Regenerated.
7104         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7105         * sysdeps/x86_64/nptl/configure: Remove generated file.
7106         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7107         unconditional.
7108         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7109
7110 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7111
7112         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7113         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7114         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7115         it is defined.
7116
7117         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7118         instead of whether it is defined.
7119         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7120         * sysdeps/hppa/dl-machine.h: Likewise.
7121         * sysdeps/ia64/dl-machine.h: Likewise.
7122         * sysdeps/m68k/dl-machine.h: Likewise.
7123         * sysdeps/microblaze/dl-machine.h: Likewise.
7124         * sysdeps/mips/dl-machine.: Likewise.
7125         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7126         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7127         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7128         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7129         * sysdeps/sh/dl-machine.h: Likewise.
7130         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7131         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7132         * sysdeps/tile/dl-machine.h: Likewise.
7133         * sysdeps/x86_64/dl-machine.h: Likewise.
7134
7135         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7136         code.
7137         (verify_persistent_db): Likewise.
7138
7139 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7140
7141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7142         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7144         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7146         Moved ...
7147         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7148         ... here.
7149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7150         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7152         Identical file removed.
7153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7154         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7156         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7158         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7160         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7162         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7164         Moved ...
7165         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7167         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7169         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7171         Moved ...
7172         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7174         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7176         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7178         Identical file removed.
7179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7180         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7182         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7184         Moved ...
7185         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7186         ... here.
7187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7188         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7190         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7192         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7194         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7196         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7198         Moved ...
7199         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7201         Moved ...
7202         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7204         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7206         Moved ...
7207         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7209         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7210
7211         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7212         folded into ...
7213         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7214         * sysdeps/unix/sysv/linux/s390/Versions
7215         (libpthread: GLIBC_2.19): New version set.
7216         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7217         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7218         (librt: GLIBC_2.3.3): New version set.
7219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7220         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7221         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7222         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7223         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7224         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7225         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7226         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7227         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7228         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7229         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7230         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7231         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7232         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7233         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7234         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7235         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7236         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7237         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7238         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7239         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7240         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7241         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7242         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7243         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7244         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7245         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7246         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7247         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7249         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7250         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7252         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7255         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7257         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7258         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7259         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7261         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7263         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7264
7265         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7266         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7267         (__libc_vfork): Define the function under this name.
7268         [!NOT_IN_libc] (__vfork): Make this an alias.
7269         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7271         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7272         (__libc_vfork): Define the function under this name.
7273         [!NOT_IN_libc] (__vfork): Make this an alias.
7274         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7275         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7276         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7278         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7279         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7280
7281         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7282         code that was previously under [RESET_PID].
7283         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7284         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7286
7287         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7288         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7289         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7290         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7291         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7292         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7293         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7294         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7295         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7296         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7297         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7298         Moved ...
7299         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7300         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7301         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7302         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7303         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7304         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7305         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7306         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7307         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7308         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7309         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7310         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7311         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7312         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7313         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7314         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7315         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7316         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7317         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7318         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7319         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7320         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7321         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7322         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7323         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7324         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7325         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7326         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7327         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7328
7329 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7330
7331         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7332         that was previously under [RESET_PID].
7333         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7334
7335 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7336
7337         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7338         not undefine and redefine.
7339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7340         [O_CLOEXEC]: Make code unconditional.
7341         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7342         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7343         <kernel-features.h>.
7344         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7345         conditional variable definition.
7346         (shm_open) [O_CLOEXEC]: Make code unconditional.
7347         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7348         code.
7349
7350         * configure.ac (USE_REGPARMS): Don't define here.
7351         * configure: Regenerated.
7352         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7353         * sysdeps/i386/configure: Regenerated.
7354
7355         * nptl/createthread.c: Don't include kernel-features.h.
7356         * nptl/pthread_cancel.c: Likewise.
7357         * nptl/pthread_condattr_setclock.c: Likewise.
7358         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7359         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7360         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7361         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7362         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7363         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7364         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7367         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7368         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7369         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7370         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7371         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7372         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7373         * nscd/gai.c: Likewise.
7374         * nss/nss_db/db-open.c: Likewise.
7375         * sysdeps/generic/ldsodefs.h: Likewise.
7376         * sysdeps/sh/nptl/tls.h: Likewise.
7377         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7378         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7379         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7380         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7381         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7382         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7383         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7384         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7385         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7386         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7387         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7388         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7389         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7390         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7391         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7392         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7393         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7394         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7395         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7396         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7398         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7399         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7400         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7405         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7406         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7407         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7408         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7409         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7410         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7411         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7412         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7413         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7414         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7415         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7416         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7417         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7418         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7419         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7420         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7421         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7422         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7423         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7424         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7425         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7426         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7427         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7428         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7429         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7430         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7431         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7432         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7433         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7434         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7457         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7458         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7459         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7460         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7461         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7462         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7463         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7464         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7465         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7466         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7467         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7468         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7469         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7470         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7471         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7472         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7473         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7474         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7475         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7476         * sysdeps/unix/sysv/linux/system.c: Likewise.
7477         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7478         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7479         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7480         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7481         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7482         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7483         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7484
7485         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7486         * configure: Regenerated.
7487         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7488
7489         * configure.ac (base_machine): Do not set specially for particular
7490         machines here.
7491         * configure: Regenerated.
7492         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7493         settings from configure.ac.
7494         * sysdeps/i386/preconfigure: New file.
7495         * sysdeps/s390/preconfigure: Likewise.
7496         * sysdeps/sh/preconfigure: Likewise.
7497         * sysdeps/sparc/preconfigure: Likewise.
7498
7499 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7500
7501         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7502         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7503         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7504         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7505         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7506         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7507         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7508         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7509         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7510         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7511         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7512         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7513         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7514         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7515         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7516         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7517         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7518         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7519         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7520
7521         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7522         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7523         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7524         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7525         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7526         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7527         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7528         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7529         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7530         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7531         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7532         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7533         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7534         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7535         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7536         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7537         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7538         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7539         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7540         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7541         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7542         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7543         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7544         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7546         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7547         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7548         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7550         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7551         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7552         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7553         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7554         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7555         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7556         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7557         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7558         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7559
7560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7561         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7563         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7565         Moved ...
7566         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7567         ... here.
7568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7569         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7571         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7573         Moved ...
7574         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7576         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7578         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7580         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7582         Moved ...
7583         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7585         Moved ...
7586         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7588         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7590         Moved ...
7591         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7593         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7595         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7597         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7599         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7601         Moved ...
7602         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7603         ... here.
7604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7605         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7609         Moved ...
7610         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7612         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7614         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7616         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7618         Moved ...
7619         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7621         Moved ...
7622         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7624         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7626         Moved ...
7627         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7629         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7631         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7632
7633 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7634
7635         * timezone/checktab.awk: Update from tzcode 2014e.
7636         * timezone/private.h: Likewise.
7637         * timezone/tzfile.h: Likewise.
7638         * timezone/zdump.c: Likewise.
7639         * timezone/zic.c: Likewise.
7640
7641         * sysdeps/unix/sysv/linux/kernel-features.h
7642         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7643         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7644         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7645         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7646         Remove conditional code.
7647
7648 2014-06-25  Will Newton  <will.newton@linaro.org>
7649
7650         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7651         (_dl_arm_cap_flags): Add HWCAP2 values.
7652         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7653         (_DL_HWCAP_COUNT): Increase to 37.
7654         (_DL_HWCAP_LAST): New define.
7655         (_DL_HWCAP2_LAST): New define.
7656         (_dl_procinfo): Add support for printing
7657         AT_HWCAP2 entries.
7658         (_dl_string_hwcap): Use _dl_hwcap_string.
7659
7660 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7661
7662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7663
7664 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7665
7666         * README: Do not mention ports directory.
7667
7668         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7669         Remove macro.
7670         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7671         <kernel-features.h>.
7672         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7673         conditional variable definition.
7674         (__futimes): Update comment.
7675         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7676         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7677
7678         [BZ #16560]
7679         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7680         arguments close to 0.
7681         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7682         Likewise.
7683         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7684         Likewise.
7685         * math/auto-libm-test-in: Add more tests of exp10.
7686         * math/auto-libm-test-out: Regenerated.
7687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7688
7689         * sysdeps/unix/sysv/linux/kernel-features.h
7690         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7691         * sysdeps/unix/sysv/linux/readv.c: Do not include
7692         <kernel-features.h>.
7693         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7694         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7695         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7696         unconditional.
7697         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7698         conditional code.
7699         * sysdeps/unix/sysv/linux/writev.c: Do not include
7700         <kernel-features.h>.
7701         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7702         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7703         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7704         unconditional.
7705         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7706         conditional code.
7707
7708 2014-06-25  Will Newton  <will.newton@linaro.org>
7709
7710         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7711         comment changes throughout the file.  Remove checks
7712         for HAVE_*_H definitions that are not required.
7713         (__gen_tempname): Call abort if an unknown kind value is
7714         passed.
7715
7716 2014-06-25  Andreas Schwab  <schwab@suse.de>
7717
7718         [BZ #17086]
7719         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7720         scalbln, scalblnf, scalblnl in libc.
7721
7722 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7723
7724         [BZ #17086]
7725         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7726         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7727         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7728
7729 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7730
7731         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7732         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7733         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7734         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7735         Update #include.
7736         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7737         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7738         Update #include.
7739         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7740         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7741         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7742         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7743         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7744         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7745         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7746         * sysdeps/x86/bits/semaphore.h: ... here.
7747         * sysdeps/x86/nptl/elide.h: Moved ...
7748         * sysdeps/x86/elide.h: ... here.
7749         * sysdeps/x86_64/nptl/Implies: File removed.
7750         * sysdeps/i386/nptl/Implies: File removed.
7751
7752 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7753
7754         [BZ #16539]
7755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7756         return the argument for normal arguments with exponent below -64.
7757         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7758         Likewise.
7759         * math/auto-libm-test-in: Add another test of expm1.
7760         * math/auto-libm-test-out: Regenerated.
7761
7762         [BZ #16287]
7763         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7764         calling __erfcl for arguments at least 16.
7765         * math/auto-libm-test-in: Add more tests of erf.
7766         * math/auto-libm-test-out: Regenerated.
7767
7768         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7769         individual architectures.
7770         * sysdeps/unix/sysv/linux/configure: Regenerated.
7771         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7772         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7773         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7774         (ldd_rewrite_script): Define variable.
7775         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7777         file.
7778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7779         generated file.
7780         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7781         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7782         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7783         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7784         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7785         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7786         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7787         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7788
7789 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7790
7791         [BZ #17084]
7792         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7793         Rename member __data.d to __data.__elision_data.
7794
7795 2014-06-24  Wilco  <wdijkstr@arm.com>
7796
7797         * NEWS: Add 16918 to fixed bug list.
7798
7799 2014-06-24  Wilco  <wdijkstr@arm.com>
7800
7801         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7802
7803 2014-06-24  Wilco  <wdijkstr@arm.com>
7804
7805         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7806         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7807         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7808         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7809         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7810         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7811         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7812         Use _FPU_MASK_RM.
7813
7814 2014-06-24  Wilco  <wdijkstr@arm.com>
7815
7816         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7817
7818 2014-06-24  Wilco  <wdijkstr@arm.com>
7819
7820         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7821         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7822         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7823         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7824
7825 2014-06-24  Wilco  <wdijkstr@arm.com>
7826
7827         [BZ #16918]
7828         * sysdeps/arm/feupdateenv.c (feupdateenv):
7829         Rewrite to reduce FPSCR accesses and fix return value.
7830
7831 2014-06-24  Wilco  <wdijkstr@arm.com>
7832
7833         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7834         Optimize to avoid unnecessary FPSCR writes.
7835         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7836         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7837         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7838         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7839
7840 2014-06-24  Wilco  <wdijkstr@arm.com>
7841
7842         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7843         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7844         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7845         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7846         Call libc_fetestexcept_vfp.
7847         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7848         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7849         __SOFTFP__ ifdef so that they can be built for softfp.
7850
7851 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7852
7853         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7854         argument type signed char.
7855
7856         * Makerules (check-abi): Dump diff of symlist if the test
7857         fails.
7858
7859 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7860
7861         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7862         using abort.
7863
7864         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7865         Remove unused variable ST.
7866
7867 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7868
7869         [BZ #16354]
7870         [BZ #17061]
7871         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7872         small arguments before calling __expm1.
7873         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7874         small arguments before calling __expm1f.
7875         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7876         small arguments before calling __expm1l.
7877         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7878         Likewise.
7879         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7880         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7881         spurious underflow for some cosh tests.
7882         * math/auto-libm-test-out: Regenerated.
7883         * sysdeps/i386/fpu/libm-test-ulps: Update.
7884
7885         [BZ #17050]
7886         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7887         (__ieee754_y1): Set errno if return value overflows.
7888         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7889         (__ieee754_y1f): Set errno if return value overflows.
7890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7891         (__ieee754_y1l): Set errno if return value overflows.
7892         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7893         (__ieee754_y1l): Set errno if return value overflows.
7894         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7895         * math/auto-libm-test-out: Regenerated.
7896
7897         * math/gen-auto-libm-tests.c: Document use of
7898         ignore-zero-inf-sign.
7899         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7900         (input_flags): Add ignore-zero-inf-sign.
7901         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7902         * math/gen-libm-test.pl (generate_testfile): Handle
7903         ignore-zero-inf-sign.
7904         * math/auto-libm-test-in: Mark some cpow tests with
7905         ignore-zero-inf-sign and some with xfail-rounding.
7906         * math/auto-libm-test-out: Regenerated.
7907         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7908         * sysdeps/i386/fpu/libm-test-ulps: Update.
7909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7910
7911         [BZ #16315]
7912         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7913         overflowing or underflowing operations take place with sign of
7914         result.
7915         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7916         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7917         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7918         (__ieee754_pow): Recompute overflowing and underflowing results in
7919         original rounding mode.
7920         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7921         (__powl_helper): Allow negative argument X and scale negated value
7922         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7923         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7924         overflowing or underflowing operations take place with sign of
7925         result.
7926         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7927         Include <math.h>.
7928         * math/auto-libm-test-in: Add more tests of pow.
7929         * math/auto-libm-test-out: Regenerated.
7930         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7931         (pow_tonearest_test_data): Remove.
7932         (pow_test_tonearest): Likewise.
7933         (pow_towardzero_test_data): Likewise.
7934         (pow_test_towardzero): Likewise.
7935         (pow_downward_test_data): Likewise.
7936         (pow_test_downward): Likewise.
7937         (pow_upward_test_data): Likewise.
7938         (pow_test_upward): Likewise.
7939         (main): Don't call removed functions.
7940         * sysdeps/i386/fpu/libm-test-ulps: Update.
7941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7942
7943 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7944
7945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7946         Moved ...
7947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7949         Moved ...
7950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7952         Moved ...
7953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7955         Moved ...
7956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7958         File removed.
7959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7960         File removed.
7961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7962         File removed.
7963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7964         File removed.
7965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7966         File removed.
7967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7968         File removed.
7969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7970         File removed.
7971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7972         File removed.
7973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7974         File removed.
7975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7976         File removed.
7977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7978         File removed.
7979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7980         File removed.
7981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7982         Moved ...
7983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7985         Moved ...
7986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7987         ... here.
7988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7989         Moved ...
7990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7992         Moved ...
7993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7995         Moved ...
7996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7998         Moved ...
7999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8001         Moved ...
8002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8004         Moved ...
8005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8007         Moved ...
8008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8011         ... here.
8012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8013         Moved ...
8014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8016         Moved ...
8017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8018         ... here.
8019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8020         Moved ...
8021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8022         ... here.
8023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8024         Moved ...
8025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8026         ... here.
8027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8028         Moved ...
8029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8031         Moved ...
8032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8036         Moved ...
8037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8038         ... here.
8039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8040         Moved ...
8041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8042         ... here.
8043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8044         Moved ...
8045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8047         Moved ...
8048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8050         Moved ...
8051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8053         Moved ...
8054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8056         Moved ...
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8058         ... here.
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8060         Moved ...
8061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8063         Moved ...
8064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8066         Moved ...
8067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8069         Moved ...
8070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8074         Moved ...
8075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8077         Moved ...
8078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8080         Moved ...
8081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8082         ... here.
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8084         Moved ...
8085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8086         ... here.
8087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8088         Moved ...
8089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8090         ... here.
8091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8092         Moved ...
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8095         Moved ...
8096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8098         Moved ...
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8101         Moved ...
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8103         ... here.
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8105         Moved ...
8106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8107         ... here.
8108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8109         Moved ...
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8111         ... here.
8112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8113         Moved ...
8114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8116         Moved ...
8117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8118
8119 2014-06-23  Will Newton  <will.newton@linaro.org>
8120             Wilco  <wdijkstr@arm.com>
8121
8122         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8123         implementation.  Include get-rounding-mode.h.
8124         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8125         [!libc_feholdsetround_noex_ctx]: Define
8126         libc_feholdsetround_noex_ctx.
8127         [!libc_feholdsetround_noexf_ctx]: Define
8128         libc_feholdsetround_noexf_ctx.
8129         [!libc_feholdsetround_noexl_ctx]: Define
8130         libc_feholdsetround_noexl_ctx.
8131         (libc_feholdsetround_ctx): New function.
8132         (libc_feresetround_ctx): New function.
8133         (libc_feholdsetround_noex_ctx): New function.
8134         (libc_feresetround_noex_ctx): New function.
8135
8136 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8137
8138         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8139         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8140         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8141         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8142         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8143         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8144
8145         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8146         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8147         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8148         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8149         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8150         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8151         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8152         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8153         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8154         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8156         Moved ...
8157         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8158         ... here.
8159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8160         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8162         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8164         Moved ...
8165         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8167         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8169         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8171         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8173         Moved ...
8174         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8176         Moved ...
8177         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8178         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8179         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8181         Moved ...
8182         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8184         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8185         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8186         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8187         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8188         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8189         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8190         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8191         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8192         Moved ...
8193         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8194         ... here.
8195         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8196         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8197         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8198         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8199         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8200         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8202         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8204         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8206         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8208         Moved ...
8209         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8211         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8212         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8213         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8215         Moved ...
8216         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8218         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8219         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8220         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8221
8222         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8223         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8224         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8225         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8226         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8227         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8228         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8229         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8231         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8232         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8233         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8234         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8235         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8236         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8237         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8238         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8239         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8240         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8241         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8242         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8243         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8244         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8245         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8247         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8248         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8249         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8250
8251 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8252
8253         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8254         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8255         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8256         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8257         (IPV6_PMTUDISC_INTERFACE): Likewise.
8258         (IPV6_PMTUDISC_OMIT): Likewise.
8259
8260 2014-06-23  Andreas Schwab  <schwab@suse.de>
8261
8262         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8263         Remove unused errout label.
8264
8265 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8266
8267         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8268         macro: hardware supports Vector Crypto instructions.
8269
8270 2014-06-23  Will Newton  <will.newton@linaro.org>
8271
8272         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8273         rather than __builtin_expect.
8274
8275         * elf/dl-lookup.c (undefined_msg): Remove variable.
8276         (_dl_lookup_symbol_x): Replace undefined_msg with string
8277         literal.
8278
8279         * elf/dl-lookup.c (do_lookup_unique): New function.
8280         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8281         to a separate function.
8282
8283 2014-06-23  Andreas Schwab  <schwab@suse.de>
8284
8285         [BZ #17079]
8286         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8287         before reading the next line.
8288
8289 2014-06-23  Will Newton  <will.newton@linaro.org>
8290
8291         * test-skeleton.c (signal_handler): Use printf and %m
8292         rather than perror.  Use printf rather than fprintf to
8293         stderr.  Use puts rather than fputs to stderr.
8294         (main): Likewise.
8295
8296 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8297
8298         * nscd/nscd.c (thread_info_t): Remove typedef.
8299         (thread_info): Remove variable.
8300
8301 2014-06-21  Allan McRae  <allan@archlinux.org>
8302
8303         * NEWS: Mention CVE-2014-4043.
8304
8305 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8306
8307         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8308         * nptl/smp.h: ... here.
8309
8310         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8311
8312         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8313         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8314         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8315         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8316
8317         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8318         * nptl/stack-aliasing.h: New file.
8319         * sysdeps/i386/i686/stack-aliasing.h: New file.
8320         * sysdeps/i386/i686/nptl/Makefile: File removed.
8321         * sysdeps/x86_64/stack-aliasing.h: New file.
8322         * sysdeps/x86_64/nptl/Makefile
8323         (CFLAGS-pthread_create.c): Variable removed.
8324
8325         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8326         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8327         old file.
8328         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8329         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8330         old file.
8331
8332 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8333
8334         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8335         (__ASSUME_SIGFRAME_V2): Remove macro.
8336         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8337         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8338         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8339         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8340         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8341         Declare as function.  Remove conditional macro definitions.
8342         (__default_rt_sa_restorer): Likewise.
8343         (__default_sa_restorer_v1): Remove declaration.
8344         (__default_sa_restorer_v2): Likewise.
8345         (__default_rt_sa_restorer_v1): Likewise.
8346         (__default_rt_sa_restorer_v2): Likewise.
8347         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8348         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8349         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8350
8351 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8352
8353         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8354         (libpthread-routines): Add sysdep.
8355         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8356         * sysdeps/unix/sysv/linux/sparc/Versions
8357         (libpthread: GLIBC_2.3.3): New version set.
8358         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8359         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8360         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8361         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8362         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8363         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8364         Moved ...
8365         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8366         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8367         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8368         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8369         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8370         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8371         * sysdeps/sparc/nptl/sem_init.c: ... here.
8372         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8373         * sysdeps/sparc/nptl/sem_post.c: ... here.
8374         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8375         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8376         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8377         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8378         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8379         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8380         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8381         (libpthread-routines): Add cpu_relax.
8382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8383         File removed.
8384         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8385         (librt: GLIBC_2.3.3): New version set.
8386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8387         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8388         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8389         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8392         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8394         Moved ...
8395         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8397         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8399         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8401         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8403         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8405         Moved ...
8406         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8407         Update #include.
8408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8409         Moved ...
8410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8411         Update #include.
8412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8413         Moved ...
8414         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8415         Update #include.
8416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8417         Moved ...
8418         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8419         Update #include.
8420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8421         Moved ...
8422         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8423         Update #include.
8424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8425         Moved ...
8426         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8427         Update #include.
8428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8429         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8431         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8435         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8437         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8439         Moved ...
8440         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8442         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8444         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8445
8446 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8447
8448         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8449         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8450         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8451         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8452         * nscd/nscd.c: Likewise.
8453         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8454         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8455         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8456         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8457
8458         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8459         <kernel-features.h>.
8460         (init_mq_netlink): Remove conditional have_sock_cloexec
8461         definitions.  Remove code conditional on have_sock_cloexec < 0.
8462         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8463         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8464         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8465         <kernel-features.h>.
8466         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8467         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8468
8469 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8470
8471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8472         Add tests for memset_chk and memset.
8473
8474         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8475         with AVX2_Usable.
8476
8477 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8478
8479         [BZ #16046]
8480         * elf/tst-dl-iter-static.c: New file.
8481         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8482
8483         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8484         error.
8485
8486 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8487
8488         * sysdeps/unix/sysv/linux/kernel-features.h
8489         (__ASSUME_F_GETOWN_EX): Remove macro.
8490         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8491         <kernel-features.h>.
8492         (miss_F_GETOWN_EX): Remove variable or macro.
8493         (do_fcntl): Do not check miss_F_GETOWN_EX.
8494         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8495
8496         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8497         Remove macro.
8498         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8499         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8500         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8501
8502         * sysdeps/unix/sysv/linux/kernel-features.h
8503         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8504         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8505         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8506         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8507
8508 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8509
8510         [BZ #17075]
8511         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8512         Fix calculation of the symbol's value.
8513         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8514         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8515         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8516         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8517         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8518         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8519         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8520         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8521         (modules-names): Add `tst-armtlsdescmod',
8522         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8523         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8524         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8525         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8526         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8527         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8528         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8529         ($(objpfx)tst-armtlsdescloc): New dependency.
8530         ($(objpfx)tst-armtlsdescextnow): Likewise.
8531         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8532         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8533         TLS scheme support.
8534         * sysdeps/arm/configure: Regenerate.
8535
8536 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8537
8538         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8539         (__atfct_seterrno_2): Likewise.
8540         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8541         <kernel-features.h>.
8542         (__ASSUME_ATFCTS): Do not undefine and redefine.
8543         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8544         (__have_atfcts): Remove conditional definition.
8545         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8546         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8547         unreachable if [__ASSUME_ATFCTS].
8548         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8549         not undefine and redefine.
8550         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8551         <kernel-features.h>.
8552         (faccessat) [__NR_faccessat]: Make code unconditional.
8553         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8554         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8555         <kernel-features.h>.
8556         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8557         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8558         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8559         <kernel-features.h>.
8560         (fchownat) [__NR_fchownat]: Make code unconditional.
8561         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8562         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8563         <kernel-features.h>.
8564         (futimesat) [__NR_futimesat]: Make code unconditional.
8565         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8566         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8567         <kernel-features.h>.
8568         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8569         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8570         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8571         <kernel-features.h>.
8572         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8573         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8574         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8575         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8576         <kernel-features.h>.
8577         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8578         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8579         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8580         <kernel-features.h>.
8581         (linkat) [__NR_linkat]: Make code unconditional.
8582         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8583         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8584         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8585         <kernel-features.h>.
8586         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8587         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8588         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8589         <kernel-features.h>.
8590         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8591         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8592         * sysdeps/unix/sysv/linux/openat.c: Do not include
8593         <kernel-features.h>.
8594         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8595         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8596         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8597         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8598         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8599         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8600         <kernel-features.h>.
8601         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8602         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8603         result of INLINE_SYSCALL directly, not via int variable.
8604         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8605         <kernel-features.h>.
8606         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8607         (renameat) [__NR_renameat]: Make code unconditional.
8608         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8609         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8610         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8611         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8612         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8613         (__ASSUME_ATFCTS): Do not undefine and redefine.
8614         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8615         <kernel-features.h>.
8616         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8617         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8618         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8619         <kernel-features.h>.
8620         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8621         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8622         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8623         (__ASSUME_ATFCTS): Do not undefine and redefine.
8624         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8625         <kernel-features.h>.
8626         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8627         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8628         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8629         <kernel-features.h>.
8630         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8631         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8632
8633 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8634
8635         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8636
8637 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8638
8639         [BZ #17069]
8640         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8641         constructed tree before returning error.
8642         * posix/bug-regexp36.c: Expand test case.
8643
8644 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8645
8646         [BZ #6803]
8647         * math/libm-test.inc (scalbln_test_date):
8648         Add errno expectations.
8649         * math/w_scalblnf.c: New File.
8650         Add wrapper which checks for setting errno to ERANGE.
8651         Add weak_alias for corresponding scalbln function.
8652         * math/w_scalbln.c: Likewise.
8653         * math/w_scalblnl.c: Likewise.
8654         * math/Makefile (libm-calls): Add w_scalbln.
8655         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8656         Remove weak_alias for corresponding scalbln function.
8657         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8658         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8659         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8660         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8661         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8662         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8663         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8664         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8665         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8666         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8667         Remove long_double_symbol for scalblnl function in libm, libc.
8668         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8669         Add wrapper which checks for setting errno to ERANGE.
8670         Add long_double_symbol for scalblnl function in libm, libc.
8671         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8672         Remove long_double_symbol for scalblnl in libm.
8673         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8674         Add wrapper which checks for setting errno to ERANGE.
8675         Add long_double_symbol for scalblnl function in libm.
8676         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8677         Do not use wrapper because of own implementation.
8678
8679 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8680
8681         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8682         3 bytes for __pad1 for x32.
8683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8684
8685 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8686             H.J. Lu  <hongjiu.lu@intel.com>
8687
8688         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8689         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8690         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8691         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8692         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8693
8694 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8695
8696         [BZ #17069]
8697         * posix/regcomp.c (parse_expression): Deallocate partially
8698         constructed tree before returning error.
8699         * posix/Makefile.c (tests): Add bug-regex36.
8700         (generated): Add bug-regex36.mtrace.
8701         (tests-special): Add $(objpfx)bug-regex36-mem.out
8702         (bug-regex36-ENV): New variable.
8703         ($(objpfx)bug-regex36-mem.out): New rule.
8704         * posix/bug-regex36.c: New file.
8705
8706 2014-06-19  Will Newton  <will.newton@linaro.org>
8707
8708         * malloc/malloc.c (systrim): If extra is zero then return
8709         early.
8710
8711 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8712
8713         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8714
8715 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8716
8717         * sysdeps/aarch64/strchr.S: New file.
8718
8719 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8720
8721         [BZ #17022]
8722         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8723         from arguments -2 or below.
8724         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8725         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8726
8727 2014-06-18  Andreas Schwab  <schwab@suse.de>
8728
8729         [BZ #17062]
8730         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8731         of a bracket expr not to run off the end of the string.
8732         * posix/Makefile (tests): Add tst-fnmatch3.
8733         * posix/tst-fnmatch3.c: New file.
8734
8735 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8736
8737         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8738         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8739         [$(cross-compiling) = no]: Likewise.
8740         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8741         [$(cross-compiling) = no]: Likewise.
8742
8743 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8744
8745         [BZ #17031]
8746         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8747         double, adjusted for any remainder from the high double.
8748         * math/libm-test.inc (nearbyint): Add tests.
8749         (rint): Likewise.
8750
8751 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8752
8753         * nptl/sysdeps/powerpc/Makefile: Moved ...
8754         * sysdeps/powerpc/nptl/Makefile: ... here.
8755         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8756         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8757         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8758         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8759         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8760         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8761         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8762         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8763         * nptl/sysdeps/powerpc/tls.h: Moved ...
8764         * sysdeps/powerpc/nptl/tls.h: ... here.
8765
8766 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8767
8768         [BZ #16681]
8769         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8770         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8771         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8772         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8773         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8774         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8775         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8776         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8777         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8778
8779 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8780
8781         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8782
8783 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8784
8785         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8786         defined operator.
8787
8788         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8789         $TIMEOUTFACTOR.
8790
8791 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8792
8793         [BZ #17058]
8794         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8795         non-executed part of the test.
8796
8797 2014-06-16  Andreas Schwab  <schwab@suse.de>
8798
8799         * string/bits/string2.h (strdup, strndup): Update feature guard.
8800
8801 2014-06-14  David S. Miller  <davem@davemloft.net>
8802
8803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8804
8805 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8806
8807         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8808         that was previously under [RESET_PID].
8809         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8810
8811         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8812         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8813         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8814         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8815         (__libc_vfork): New strong alias.
8816         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8817
8818 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8819
8820         * sysdeps/generic/elide.h: New file.
8821
8822 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8823
8824         * Makefile (installed-headers): Adjust path of pthread.h header.
8825
8826 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8827
8828         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8829         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8830         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8831         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8832
8833         * nptl/sysdeps/s390/Makefile: Moved ...
8834         * sysdeps/s390/nptl/Makefile: ... here.
8835         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8836         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8837         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8838         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8839         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8840         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8841         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8842         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8843         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8844         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8845         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8846         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8847         * nptl/sysdeps/s390/tls.h: Moved ...
8848         * sysdeps/s390/nptl/tls.h: ... here.
8849
8850         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8851         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8852
8853 2014-06-13  David S. Miller  <davem@davemloft.net>
8854
8855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8858         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8862         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8863         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8864         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8865         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8866         Remove RESET_PID cpp guards.
8867         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8868         Remove RESET_PID cpp guards.
8869         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8870
8871 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8872
8873         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8874         __sp to uintptr_t.
8875
8876 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8877
8878         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8879         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8880         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8882         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8883         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8884         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8885         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8887         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8889         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8890         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8891         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8892         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8893         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8894         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8895         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8896         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8897         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8898
8899         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8900         (pthread_rwlock_rdlock): Add elision.
8901         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8902         (pthread_rwlock_wrlock): Add elision.
8903         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8904         (pthread_rwlock_trywrlock): Add elision.
8905         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8906         (pthread_rwlock_tryrdlock): Add elision.
8907         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8908         (pthread_rwlock_tryrdlock): Add elision unlock.
8909         * nptl/sysdeps/pthread/pthread.h:
8910         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8911         (PTHREAD_RWLOCK_INITIALIZER,
8912         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8913         Handle new elision field.
8914         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8915         * sysdeps/arm/nptl/bits/pthreadtypes.h
8916         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8917         * sysdeps/sh/nptl/bits/pthreadtypes.h
8918         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8919         * sysdeps/tile/nptl/bits/pthreadtypes.h
8920         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8921         * sysdeps/a/nptl/bits/pthreadtypes.h
8922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8923         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8924         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8925         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8927         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8928         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8929         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8931         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8932         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8933         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8935         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8937         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8939         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8940         (elision_init): Set try_xbegin to zero when no RTM.
8941         * sysdeps/x86/nptl/bits/pthreadtypes.h
8942         (pthread_rwlock_t): Change __pad1 to __rwelision.
8943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8944
8945 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8946
8947         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8948         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8949         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8950         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8951
8952 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8953
8954         [BZ #16996]
8955         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8956         that the cached result has been set before returning it.
8957
8958 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8959
8960         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8961         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8962         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8963         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8964         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8965         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8966
8967         * nptl/sysdeps/sparc/Makefile: Moved ...
8968         * sysdeps/sparc/nptl/Makefile: ... here.
8969         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8970         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8971         * nptl/sysdeps/sparc/tls.h: Moved ...
8972         * sysdeps/sparc/nptl/tls.h: ... here.
8973         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8974         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8975         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8976         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8977         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8978         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8979         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8980         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8981         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8982         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8983         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8984         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8985         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8986         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8987         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8988         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8989         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8991         Update #include.
8992         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8993         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8994         Update #include.
8995         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8996         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8997         Update #include.
8998         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9000         Update #include.
9001
9002         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9003
9004         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9005         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9006
9007         * sysdeps/pthread/posix-timer.h: Include <list.h>.
9008         (struct list_links): Type removed.
9009         (struct thread_node, struct timer_node): Replace struct list_links
9010         with struct list_head.
9011         (list_unlink_ip): Likewise.
9012         * sysdeps/pthread/timer_routines.c
9013         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9014         (list_append, list_insbefore): Likewise.
9015         (list_init): Function removed.
9016         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9017         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9018         * sysdeps/pthread/Makefile: ... here, new file.
9019
9020         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9021         * sysdeps/nptl/Implies: ... here.
9022         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9023         * nptl/sysdeps/pthread/list.h: Moved ...
9024         * include/list.h: ... here.
9025         * nptl/sysdeps/pthread/createthread.c: Moved ...
9026         * nptl/createthread.c: ... here.
9027         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9028         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9029         * nptl/pt-longjmp.c: ... here.
9030         * nptl/sysdeps/pthread/Makefile: Moved ...
9031         * sysdeps/nptl/Makefile: ... here.
9032         * nptl/sysdeps/pthread/Subdirs: Moved ...
9033         * sysdeps/nptl/Subdirs: ... here.
9034         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9035         * sysdeps/nptl/aio_misc.h: ... here.
9036         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9037         * sysdeps/nptl/bits/libc-lock.h: ... here.
9038         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9039         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9040         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9041         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9042         * nptl/sysdeps/pthread/configure: Moved ...
9043         * sysdeps/nptl/configure: ... here.
9044         * nptl/sysdeps/pthread/configure.ac: Moved ...
9045         * sysdeps/nptl/configure.ac: ... here.
9046         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9047         * sysdeps/nptl/gai_misc.h: ... here.
9048         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9049         * sysdeps/nptl/librt-cancellation.c: ... here.
9050         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9051         * sysdeps/nptl/malloc-machine.h: ... here.
9052         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9053         * sysdeps/nptl/pthread-functions.h: ... here.
9054         * nptl/sysdeps/pthread/pthread.h: Moved ...
9055         * sysdeps/nptl/pthread.h: ... here.
9056         * nptl/sysdeps/pthread/setxid.h: Moved ...
9057         * sysdeps/nptl/setxid.h: ... here.
9058         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9059         * sysdeps/nptl/sigfillset.c: ... here.
9060         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9061         * sysdeps/nptl/tcb-offsets.h: ... here.
9062         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9063         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9064         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9065         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9066         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9067         * sysdeps/pthread/allocalim.h: ... here.
9068         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9069         * sysdeps/pthread/bits/sigthread.h: ... here.
9070         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9071         * sysdeps/pthread/flockfile.c: ... here.
9072         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9073         * sysdeps/pthread/ftrylockfile.c: ... here.
9074         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9075         * sysdeps/pthread/funlockfile.c: ... here.
9076         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9077         * sysdeps/pthread/posix-timer.h: ... here.
9078         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9079         * sysdeps/pthread/timer_create.c: ... here.
9080         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9081         * sysdeps/pthread/timer_delete.c: ... here.
9082         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9083         * sysdeps/pthread/timer_getoverr.c: ... here.
9084         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9085         * sysdeps/pthread/timer_gettime.c: ... here.
9086         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9087         * sysdeps/pthread/timer_routines.c: ... here.
9088         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9089         * sysdeps/pthread/timer_settime.c: ... here.
9090         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9091         * sysdeps/pthread/tst-timer.c: ... here.
9092         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9093         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9094
9095         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9096         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9097
9098         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9099         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9100         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9101         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9102         Update #include target.
9103         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9104         * sysdeps/i386/i686/nptl/Makefile: ... here.
9105         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9106         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9107         Update #include target.
9108         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9109         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9110         * nptl/sysdeps/i386/Makefile: Moved ...
9111         * sysdeps/i386/nptl/Makefile: ... here.
9112         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9113         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9114         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9115         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9116         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9117         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9118         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9119         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9120         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9121         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9122         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9123         * nptl/sysdeps/i386/tls.h: Moved ...
9124         * sysdeps/i386/nptl/tls.h: ... here.
9125
9126         * sysdeps/sh/Makefile [$(subdir) = csu]
9127         (gen-as-const-headers): Add tcb-offsets.sym.
9128         * nptl/sysdeps/sh/Makefile: File removed.
9129         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9130         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9131         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9132         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9133         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9134         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9135         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9136         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9137         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9138         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9139         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9140         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9141         * nptl/sysdeps/sh/tls.h: Moved ...
9142         * sysdeps/sh/nptl/tls.h: ... here.
9143         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9144         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9145         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9146         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9147         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9148         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9149         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9150         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9151         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9152         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9153         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9154         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9155         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9156         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9157         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9158         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9159         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9160         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9161         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9162         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9163         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9164         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9165         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9166         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9167         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9168         Moved ...
9169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9170         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9171         Moved ...
9172         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9173         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9174         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9175         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9176         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9177         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9178         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9179         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9180         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9181         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9182         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9183         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9184         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9185         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9186         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9187         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9188         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9189         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9190         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9191
9192 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9193
9194         * posix/spawn_faction_addopen.c: Include string.h.
9195
9196 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9197
9198         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9199         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9200         * nptl/sysdeps/x86_64/Makefile: Moved ...
9201         * sysdeps/x86_64/nptl/Makefile: ... here.
9202         * nptl/sysdeps/x86_64/configure: Moved ...
9203         * sysdeps/x86_64/nptl/configure: ... here.
9204         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9205         * sysdeps/x86_64/nptl/configure.ac: ... here.
9206         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9207         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9208         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9209         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9210         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9211         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9212         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9213         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9214         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9215         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9216         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9217         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9218         * nptl/sysdeps/x86_64/tls.h: Moved ...
9219         * sysdeps/x86_64/nptl/tls.h: ... here.
9220         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9221         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9222         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9223         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9224
9225         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9226
9227 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9228
9229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9230
9231 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9232
9233         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9234         type.
9235         [POSIX] (off_t): Likewise.
9236         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9237         [POSIX] (S_ISBLK): Require macro.
9238         [POSIX] (S_ISCHR): Likewise.
9239         [POSIX] (S_ISDIR): Likewise.
9240         [POSIX] (S_ISFIFO): Likewise.
9241         [POSIX] (S_ISREG): Likewise.
9242         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9243         optional-macro.
9244         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9245         type.
9246         [POSIX] (time_t): Likewise.
9247         [POSIX] (timer_t): Likewise.
9248
9249 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9250
9251         [BZ #17048]
9252         * posix/spawn_int.h (struct __spawn_action): Make the path string
9253         non-const to support deallocation.
9254         * posix/spawn_faction_addopen.c
9255         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9256         * posix/spawn_faction_destroy.c
9257         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9258         path in all spawn_do_open actions.
9259         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9260         posix_spawn_file_actions_addopen.
9261
9262 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9263
9264         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9265         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9266         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9267         conditional code always true.
9268         (__libc_vfork): New alias.
9269
9270 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9271
9272         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9273         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9274
9275         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9276
9277         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9278         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9279
9280         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9281         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9282
9283         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9284         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9285
9286 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9287
9288         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9289         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9290         multiarch strcmp for PPC64.
9291         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9292         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9294         multiarch optimizations.
9295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9296         (__libc_ifunc_impl_list): Likewise.
9297
9298 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9299
9300         * benchtests/scripts/validate_benchout.py: New script.
9301         * benchtests/Makefile (bench-func): Call it.
9302         * benchtests/scripts/benchout.schema.json: New file.
9303
9304 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9305
9306         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9307         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9308         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9309         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9310         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9311         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9312         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9313         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9314         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9315         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9316         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9317         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9318         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9319         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9320         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9321         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9323         Moved ...
9324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9325         ... here.
9326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9327         Moved ...
9328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9330         Moved ...
9331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9332         ... here.
9333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9334         Moved ...
9335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9336         ... here.
9337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9338         Moved ...
9339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9341         Moved ...
9342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9343         ... here.
9344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9345         Moved ...
9346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9347         ... here.
9348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9349         Moved ...
9350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9352         Moved ...
9353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9354         ... here.
9355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9356         Moved ...
9357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9358         ... here.
9359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9360         Moved ...
9361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9362         ... here.
9363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9364         Moved ...
9365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9367         Moved ...
9368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9369         ... here.
9370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9371         Moved ...
9372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9373         ... here.
9374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9375         Moved ...
9376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9377         ... here.
9378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9379         Moved ...
9380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9382         Moved ...
9383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9384         ... here.
9385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9386         Moved ...
9387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9388         ... here.
9389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9390         Moved ...
9391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9393         Moved ...
9394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9395         ... here.
9396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9397         Moved ...
9398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9400         Moved ...
9401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9403         Moved ...
9404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9405         ... here.
9406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9407         Moved ...
9408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9409         ... here.
9410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9411         Moved ...
9412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9413         ... here.
9414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9415         Moved ...
9416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9418         Moved ...
9419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9420         ... here.
9421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9422         Moved ...
9423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9424         ... here.
9425         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9426         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9427         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9428         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9429         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9430         Moved ...
9431         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9432         ... here.
9433         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9434         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9435         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9436         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9437         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9438         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9440         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9442         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9443         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9444         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9445         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9446         Moved ...
9447         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9449         Moved ...
9450         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9451         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9452         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9454         Moved ...
9455         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9457         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9458         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9459         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9460         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9461         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9462
9463 2014-06-10  Wilco  <wdijkstr@arm.com>
9464
9465         * math/test-fenv-return.c: New file.
9466         * math/Makefile: Add new test test-fenv-return.
9467
9468 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9469
9470         [BZ #17042]
9471         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9472         when x - 1 is zero.
9473         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9474         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9475         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9476         0.0L for an argument of 1.0L.
9477         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9478         Likewise.
9479         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9480         value when x - 1 is zero.
9481         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9482         * sysdeps/i386/fpu/libm-test-ulps: Update.
9483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9484
9485 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9486
9487         [BZ #15119]
9488         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9489
9490 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9491
9492         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9493         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9494
9495 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9496
9497         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9498         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9499
9500         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9501         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9502
9503         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9504         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9505
9506         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9507         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9508
9509         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9510         if not already defined.
9511         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9512         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9513         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9514         (TLS_INIT_TP): Use it.
9515         (TLS_DEFINE_INIT_TP): New macro.
9516         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9517
9518 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9519
9520         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9521         constant.
9522         [POSIX] (IXANY): Likewise.
9523         [POSIX] (OLCUC): Likewise.
9524         [POSIX || POSIX2008] (CBAUD): Do not allow.
9525         [POSIX || POSIX2008] (DEFECHO): Likewise.
9526         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9527         [POSIX || POSIX2008] (ECHOKE): Likewise.
9528         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9529         [POSIX || POSIX2008] (EXTA): Likewise.
9530         [POSIX || POSIX2008] (EXTB): Likewise.
9531         [POSIX || POSIX2008] (FLUSHO): Likewise.
9532         [POSIX || POSIX2008] (LOBLK): Likewise.
9533         [POSIX || POSIX2008] (PENDIN): Likewise.
9534         [POSIX || POSIX2008] (SWTCH): Likewise.
9535         [POSIX || POSIX2008] (VDISCARD): Likewise.
9536         [POSIX || POSIX2008] (VDSUSP): Likewise.
9537         [POSIX || POSIX2008] (VLNEXT): Likewise.
9538         [POSIX || POSIX2008] (VREPRINT): Likewise.
9539         [POSIX || POSIX2008] (VSTATUS): Likewise.
9540         [POSIX || POSIX2008] (VWERASE): Likewise.
9541         (B*): Change to B[0123456789]*.
9542         * conform/data/time.h-data [POSIX || UNIX98]
9543         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9544         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9545         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9546         [POSIX] (tm_*): Do not allow.
9547
9548 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9549
9550         * Makefile (install): Don't set LANGUAGE.
9551         * Makefile.in (install): Likewise.
9552         * assert/Makefile (test-assert-ENV): Remove variable.
9553         (test-assert-perr-ENV): Likewise.
9554         * elf/Makefile (neededtest4-ENV): Likewise.
9555         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9556         [$(cross-compiling) = no]: Don't set LANGUAGE.
9557         * io/ftwtest-sh (LANG): Remove variable.
9558         * libio/Makefile (tst-widetext-ENV): Likewise.
9559         * manual/install.texi (Running make install): Don't refer to
9560         environment settings for make install.
9561         * INSTALL: Regenerated.
9562         * nptl/tst-tls6.sh: Don't set LANG.
9563         * posix/globtest.sh (LANG): Remove variable.
9564         * string/Makefile (tester-ENV): Likewise.
9565         (inl-tester-ENV): Likewise.
9566         (noinl-tester-ENV): Likewise.
9567         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9568         [$(cross-compiling) = no]: Don't set LANGUAGE.
9569         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9570         without explicit environment settings.
9571
9572 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9573
9574         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9575         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9576         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9577         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9578
9579 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9580
9581         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9582         other files in the crypt directory.
9583         * crypt/crypt.c: Remove duplicate includes.
9584         * crypt/crypt-entry.c: Likewise.
9585         * crypt/crypt_util.c: Likewise.
9586
9587 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9588
9589         * Makeconfig (run-program-env): New variable.
9590         (run-program-prefix-before-env): Likewise.
9591         (run-program-prefix-after-env): Likewise.
9592         (run-program-prefix): Define in terms of new variables.
9593         (built-program-cmd-before-env): New variable.
9594         (built-program-cmd-after-env): Likewise.
9595         (built-program-cmd): Define in terms of new variables.
9596         (test-program-prefix-before-env): New variable.
9597         (test-program-prefix-after-env): Likewise.
9598         (test-program-prefix): Define in terms of new variables.
9599         (test-program-cmd-before-env): New variable.
9600         (test-program-cmd-after-env): Likewise.
9601         (test-program-cmd): Define in terms of new variables.
9602         * Rules (make-test-out): Use $(run-program-env).
9603         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9604         (help): Do not mention environment variables.  Mention
9605         --timeoutfactor option.
9606         (timeoutfactor): New variable.
9607         (blacklist_exports): Remove function.
9608         (exports): Remove variable.
9609         (command): Do not include ${exports}.
9610         * manual/install.texi (Configuring and compiling): Do not mention
9611         test wrappers preserving environment variables.  Mention that last
9612         assignment to a variable must take precedence.
9613         * INSTALL: Regenerated.
9614         * benchtests/Makefile (run-bench): Use $(run-program-env).
9615         * catgets/Makefile ($(objpfx)test1.cat): Use
9616         $(built-program-cmd-before-env), $(run-program-env) and
9617         $(built-program-cmd-after-env).
9618         ($(objpfx)test2.cat): Do not specify environment variables
9619         explicitly.
9620         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9621         $(run-program-env) and $(built-program-cmd-after-env).
9622         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9623         $(run-program-env) and $(test-program-cmd-after-env).
9624         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9625         explicitly.
9626         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9627         run_program_env and test_program_cmd_after_env arguments.
9628         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9629         * elf/tst-pathopt.sh: Use run_program_env argument.
9630         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9631         $(test-wrapper-env) and $(run-program-env).
9632         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9633         run_program_env arguments.
9634         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9635         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9636         $(test-program-prefix-before-env), $(run-program-env) and
9637         $(test-program-prefix-after-env).
9638         ($(objpfx)tst-gettext2.out): Likewise.
9639         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9640         run_program_env and test_program_prefix_after_env arguments.
9641         * intl/tst-gettext2.sh: Likewise.
9642         * intl/tst-gettext4.sh: Do not set environment variables
9643         explicitly.
9644         * intl/tst-gettext6.sh: Likewise.
9645         * intl/tst-translit.sh: Likewise.
9646         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9647         $(test-program-prefix-before-env), $(run-program-env) and
9648         $(test-program-prefix-after-env).
9649         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9650         run_program_env and test_program_prefix_after_env arguments.
9651         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9652         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9653         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9654         explicitly with each use of ${test_wrapper_env}.
9655         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9656         $(test-program-prefix-before-env), $(run-program-env) and
9657         $(test-program-prefix-after-env).
9658         * posix/tst-getconf.sh: Do not set environment variables
9659         explicitly.
9660         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9661         run_program_env and test_program_prefix_after_env arguments.
9662         * stdio-common/tst-printf.sh: Do not set environment variables
9663         explicitly.
9664         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9665         $(test-program-prefix-before-env), $(run-program-env) and
9666         $(test-program-prefix-after-env).
9667         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9668         run_program_env and test_program_prefix_after_env arguments.
9669         Split $test calls into $test_pre and $test.
9670         * timezone/Makefile (build-testdata): Use
9671         $(built-program-cmd-before-env), $(run-program-env) and
9672         $(built-program-cmd-after-env).
9673
9674 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9675
9676         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9677         strlen for non SHARED builds.
9678
9679 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9680
9681         * nptl/allocatestack.c (check_list): Inlined function...
9682         (__reclaim_stacks): ... here.
9683
9684 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9685
9686         [BZ #15698]
9687         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9688         memory overrun.
9689
9690 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9691
9692         * Rules (make-test-out): Include
9693         LOCPATH=$(common-objpfx)localedata in default environment.
9694         * debug/Makefile (tst-chk1-ENV): Remove variable.
9695         (tst-chk2-ENV): Likewise.
9696         (tst-chk3-ENV): Likewise.
9697         (tst-chk4-ENV): Likewise.
9698         (tst-chk5-ENV): Likewise.
9699         (tst-chk6-ENV): Likewise.
9700         (tst-lfschk1-ENV): Likewise.
9701         (tst-lfschk2-ENV): Likewise.
9702         (tst-lfschk3-ENV): Likewise.
9703         (tst-lfschk4-ENV): Likewise.
9704         (tst-lfschk5-ENV): Likewise.
9705         (tst-lfschk6-ENV): Likewise.
9706         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9707         (tst-iconv7-ENV): Likewise.
9708         * intl/Makefile (LOCPATH-ENV): Likewise.
9709         (tst-codeset-ENV): Likewise.
9710         (tst-gettext3-ENV): Likewise.
9711         (tst-gettext5-ENV): Likewise.
9712         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9713         (tst-fopenloc-ENV): Likewise.
9714         (tst-fgetws-ENV): Remove variable.
9715         (tst-ungetwc1-ENV): Likewise.
9716         (tst-ungetwc2-ENV): Likewise.
9717         (bug-ungetwc2-ENV): Likewise.
9718         (tst-swscanf-ENV): Likewise.
9719         (bug-ftell-ENV): Likewise.
9720         (tst-fgetwc-ENV): Likewise.
9721         (tst-fseek-ENV): Likewise.
9722         (tst-ftell-partial-wide-ENV): Likewise.
9723         (tst-ftell-active-handler-ENV): Likewise.
9724         (tst-ftell-append-ENV): Likewise.
9725         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9726         (tst-regexloc-ENV): Likewise.
9727         (bug-regex1-ENV): Likewise.
9728         (tst-regex-ENV): Likewise.
9729         (tst-regex2-ENV): Likewise.
9730         (bug-regex5-ENV): Likewise.
9731         (bug-regex6-ENV): Likewise.
9732         (bug-regex17-ENV): Likewise.
9733         (bug-regex18-ENV): Likewise.
9734         (bug-regex19-ENV): Likewise.
9735         (bug-regex20-ENV): Likewise.
9736         (bug-regex22-ENV): Likewise.
9737         (bug-regex23-ENV): Likewise.
9738         (bug-regex25-ENV): Likewise.
9739         (bug-regex26-ENV): Likewise.
9740         (bug-regex30-ENV): Likewise.
9741         (bug-regex32-ENV): Likewise.
9742         (bug-regex33-ENV): Likewise.
9743         (bug-regex34-ENV): Likewise.
9744         (bug-regex35-ENV): Likewise.
9745         (tst-rxspencer-ENV): Likewise.
9746         (tst-rxspencer-no-utf8-ENV): Likewise.
9747         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9748         (tst-sscanf-ENV): Likewise.
9749         (tst-swprintf-ENV): Likewise.
9750         (tst-swscanf-ENV): Likewise.
9751         (test-vfprintf-ENV): Likewise.
9752         (scanf13-ENV): Likewise.
9753         (bug14-ENV): Likewise.
9754         (tst-grouping-ENV): Likewise.
9755         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9756         (tst-strtod3-ENV): Likewise.
9757         (tst-strtod4-ENV): Likewise.
9758         (tst-strtod5-ENV): Likewise.
9759         (testmb2-ENV): Likewise./
9760         * string/Makefile (tst-strxfrm-ENV): Likewise.
9761         (tst-strxfrm2-ENV): Likewise.
9762         (bug-strcoll1-ENV): Likewise.
9763         (test-strcasecmp-ENV): Likewise.
9764         (test-strncasecmp-ENV): Likewise.
9765         * time/Makefile (tst-strptime-ENV): Likewise.
9766         (tst-ftime_l-ENV): Likewise.
9767         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9768         (tst-mbrtowc-ENV): Likewise.
9769         (tst-wcrtomb-ENV): Likewise.
9770         (tst-mbrtowc2-ENV): Likewise.
9771         (tst-c16c32-1-ENV): Likewise.
9772         (tst-mbsnrtowcs-ENV): Likewise.
9773
9774 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9775
9776         * manual/resource.texi (How to get information about the memory
9777         subsystem?): Fix typo.
9778         Reported by Peon de la Parra Ivan <peon@keba.com>
9779
9780 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9781
9782         [BZ #16882]
9783         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9784         (pthread_spin_lock): Branch out of spin loop to proper location.
9785         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9786         (pthread_spin_lock): Likewise.
9787
9788         * nptl/tst-spin4.c: New test.
9789         * nptl/Makefile (tests): Add tst-spin4.
9790
9791 2014-06-03  Andreas Schwab  <schwab@suse.de>
9792
9793         [BZ #15946]
9794         * resolv/res_send.c (send_dg): Reload file descriptor after
9795         calling reopen.
9796
9797 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9798
9799         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9800
9801 2014-06-03  Richard Henderson  <rth@redhat.com>
9802
9803         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9804         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9805         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9806         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9807         in the SAVE_PID block.
9808         (__libc_vfork): New alias.
9809         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9810
9811         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9812         child in registers, not on the stack.  Remove RESET_PID conditionals.
9813         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9814
9815 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9816
9817         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9818
9819 2014-06-03  Wilco  <wdijkstr@arm.com>
9820
9821         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9822         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9823         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9824         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9825         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9826         Likewise.
9827
9828 2014-06-03  Wilco  <wdijkstr@arm.com>
9829
9830         * sysdeps/aarch64/fpu/math_private.h
9831         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9832         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9833         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9834         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9835         Fix declarations.
9836
9837 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9838
9839         * crypt/crypt-private.h: Include ufc-crypt.h.
9840         (__b64_from_24bit): Declare extern.
9841         * crypt/crypt_util.c(__b64_from_24bit): New function.
9842         (b64t): New static const variable.
9843         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9844         (b64t): Remove variable.
9845         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9846         * crypt/sha256-crypt.c: Include crypt-private.h.
9847         (b64t): Remove variable.
9848         (__sha256_crypt_r): Remove b64_from_24bit and replace
9849         with __b64_from_24bit.
9850         * crypt/sha512-crypt.c: Likewise.
9851
9852 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9853
9854         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9855         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9856         Label the code __libc_vfork rather than __vfork.
9857         [!NOT_IN_libc] (vfork): Define as weak alias.
9858         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9859         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9860         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9861
9862 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9863
9864         * malloc/malloc.c (malloc_info): Fix format specifier for
9865         n_mmaps.
9866
9867 2014-06-02  Wilco  <wdijkstr@arm.com>
9868
9869         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9870         FPCR write.
9871
9872 2014-06-02  Wilco  <wdijkstr@arm.com>
9873
9874         [BZ #17009]
9875         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9876         Rewrite to reduce FPCR/FPSR accesses.
9877
9878 2014-06-01  David S. Miller  <davem@davemloft.net>
9879
9880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9881
9882 2014-05-31  David S. Miller  <davem@davemloft.net>
9883
9884         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9885         to occur in round to nearest mode when |x| >= 2.0
9886
9887 2014-05-30  Richard Henderson  <rth@twiddle.net>
9888
9889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9890         (PSEUDO_RET_NOERRNO): Remove.
9891         (ret): Don't redefine.
9892         (ret_NOERRNO): Define in terms of ret.
9893         (ret_ERRVAL): Likewise.
9894
9895         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9896         use of PSEUDO_RET; perform the error check directly.
9897
9898 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9899
9900         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9901         with __int128_t.
9902
9903 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9904
9905         * malloc/malloc (malloc_info): Fix formatting.
9906
9907 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9908             Roland McGrath  <roland@hack.frob.com>
9909
9910         * malloc/malloc (malloc_info): Also print mmapped statistics.
9911
9912 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9913
9914         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9915         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9916
9917 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9918
9919         * malloc/malloc.c (malloc_info): Inline mi_arena.
9920
9921 2014-05-29  Richard Henderson  <rth@twiddle.net>
9922
9923         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9924         Remove comma before expanding ASM_ARGS_##nr.
9925         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9926         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9927         of ASM_ARGS_##nr.
9928         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9929         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9930         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9931         (ASM_ARGS_1): Add leading comma.
9932
9933         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9934         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9935         to __errno_location.
9936         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9937         Remove the expected plt for __errno_location.
9938
9939         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9940         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9941         call to __read_tp.
9942
9943         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9944         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9945         it and break it down.
9946         (DOCARGS_0, DOCARGS_1): Do nothing.
9947         (DOCARGS_2): Update to store into the new stack frame.
9948         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9949         (UNDOCARGS_1): Update to restore from the new stack frame.
9950         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9951         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9952
9953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9954         (SINGLE_THREAD_P): New parameter for result regno.
9955         (PSEUDO): Update to match; use cbz instead of beq.
9956
9957         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9958         Use ENTRY to define the _nocancel entry point.  Share the syscall
9959         and syscall error check paths with the cancel path.
9960         (PSEUDO_END): New.
9961
9962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9963         whitespace; tabs before and after asm mnemonics.
9964
9965 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9966
9967         [BZ #15132]
9968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9969         Call fstat64 or stat64 internally, depending on arguments passed.
9970         Replace stat buffer argument with file descriptor argument.
9971         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9972         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9973         Pass fd to __internal_statvfs instead of calling fstat64.
9974         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9975         Pass fd to __internal_statvfs64 instead of calling fstat64.
9976         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9977         Pass -1 to __internal_statvfs instead of calling stat64.
9978         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9979         Pass -1 to __internal_statvfs64 instead of calling stat64.
9980
9981 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9982
9983         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9984         that was previously under [RESET_PID].
9985         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9986
9987         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9988         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9989
9990 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9991
9992         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9993
9994         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9995         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9996
9997 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9998
9999         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10000
10001 2014-05-27  Andreas Schwab  <schwab@suse.de>
10002
10003         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10004         TLS_INIT_TP macro.
10005         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10006         * elf/rtld.c (init_tls, dl_main): Likewise.
10007         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10008         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10009         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10010         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10011         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10012         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10013         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10014         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10015         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10016         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10017         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10018         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10019         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10020         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10021         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10022         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10023         * sysdeps/generic/tls.h: Update description.
10024
10025 2014-05-27  Will Newton  <will.newton@linaro.org>
10026
10027         [BZ #16990]
10028         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10029         and restore r2 rather than just restoring.
10030
10031 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10032
10033         [BZ #16724]
10034         * libio/tst-ftell-append.c: New test case.
10035         * libio/Makefile (tests): Add test case.
10036         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10037         append mode.
10038         * libio/wfileops.c (do_ftell_wide): Likewise.
10039
10040 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10041
10042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10043
10044         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10045         ...
10046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10048         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10049         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10050         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10051         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10052         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10053         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10055         Moved ...
10056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10058         Moved ...
10059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10060         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10061         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10062         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10063         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10064         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10065         ...
10066         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10067         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10068         Moved ...
10069         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10070         here.
10071         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10072         ...
10073         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10074         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10075         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10076
10077         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10078         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10079         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10080         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10081
10082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10083         merge into ...
10084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10086         ...
10087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10089         ...
10090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10092         Moved ...
10093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10094         here.
10095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10096         Moved ...
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10099         Moved ...
10100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10101
10102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10103         conditional [RESET_PID].
10104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10106         removed.
10107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10108         removed.
10109
10110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10111         <tcb-offsets.h>.
10112         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10113         (__libc_vfork): New strong alias.
10114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10115         removed.
10116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10117         Removed.
10118
10119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10120         <tcb-offsets.h>.
10121         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10122         (__libc_vfork): New strong alias.
10123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10124         removed.
10125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10126         removed.
10127
10128 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10129
10130         * malloc/malloc.c (mi_arena): New function.
10131         (malloc_info): Remove nested function mi_arena. Call non-nosted
10132         function mi_arena.
10133
10134 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10135
10136         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10137         by insrwi.
10138         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10139         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10140         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10141         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10142         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10143         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10144         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10145
10146 2014-05-26  Andreas Schwab  <schwab@suse.de>
10147
10148         [BZ #16984]
10149         * locale/programs/repertoire.c (repertoire_read): Add slash
10150         between I18NPATH element and file name.
10151         * locale/programs/locfile.c (locfile_read): Likewise.
10152
10153 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10154
10155         * nptl/pthread_mutexattr_settype.c
10156         (__pthread_mutexattr_settype):
10157         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10158
10159 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10160
10161         * nptl/tst-mutex5 (do_test):
10162         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10163
10164 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10165
10166         * benchtests/README: Document 'init' directive.
10167         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10168         BENCH_INIT.
10169         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10170         (parse_file): Recognize 'init' directive.
10171
10172 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10173
10174         [BZ #16796]
10175         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10176         alignment of struct pthread.
10177
10178 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10179
10180         [BZ #16878]
10181         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10182         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10183         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10184         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10185
10186 2014-05-25  Richard Henderson  <rth@twiddle.net>
10187
10188         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10189         (SINGLE_THREAD_P_PIC): Remove.
10190         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10191         (SINGLE_THREAD_P_PIC): Remove.
10192
10193         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10194         branch to syscall error ...
10195         (PSEUDO): ... here.
10196         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10197         from __local_syscall_error to .Lsyscall_error.
10198         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10199         (SYSCALL_ERROR): Update label name.
10200
10201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10202         Do not use DOARGS/UNDOARGS.
10203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10204         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10205         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10206         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10207         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10208
10209         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10210         block comment.
10211
10212         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10213         define if !NOT_IN_libc.
10214         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10215         define with non-default symbol versions.
10216
10217 2014-05-23  Richard Henderson  <rth@twiddle.net>
10218
10219         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10220         (vfork, __vfork): Define via compat_symbol.
10221
10222         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10223         [!HAVE_IFUNC] (vfork_compat): Remove.
10224         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10225
10226 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10227
10228         [BZ #16978]
10229         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10230         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10231         variable.
10232
10233 2014-05-23  Richard Henderson  <rth@twiddle.net>
10234
10235         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10236         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10237         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10238         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10239
10240         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10241         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10242         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10243         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10244         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10245         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10246         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10247         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10248         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10249         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10250         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10251         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10252         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10253         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10254         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10255         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10256         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10257         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10258         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10259         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10260         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10261         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10262         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10263         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10264         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10265         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10266         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10267         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10268         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10269         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10270         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10271         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10272         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10273         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10274         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10275         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10276         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10277         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10278         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10279         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10280         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10281         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10282         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10283         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10284         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10285         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10286         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10287         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10288         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10289         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10290         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10291         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10292         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10293         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10295         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10296
10297         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10298         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10299         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10300         before exiting on error.
10301         (__libc_vfork): New strong alias.
10302         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10303         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10304
10305         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10306         that was previously under [RESET_PID].
10307         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10308
10309         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10310
10311 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10312
10313         [BZ #16977]
10314         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10315         value when x - 1 is zero.
10316         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10317         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10318         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10319         0.0L for an argument of 1.0L.
10320         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10321         Likewise.
10322         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10323         value when x - 1 is zero.
10324         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10325         * sysdeps/i386/fpu/libm-test-ulps: Update.
10326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10327
10328 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10329
10330         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10331         alphasort and versionsort.
10332
10333 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10334
10335         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10336         macro.
10337         [copysignf]: Likewise.
10338
10339 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10340
10341         * crypt/md5-crypt.c: Fix formatting.
10342
10343 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10344
10345         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10346         (b64_from_24bit): New function.
10347
10348 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10349
10350         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10351         libc_hidden_builtin_def to ifunc.
10352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10353         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10354
10355 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10356
10357         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10358         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10359
10360 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10361
10362         * nscd/Depend (linuxthreads): Remove.
10363         (nptl): Add.
10364         * resolv/Depend (linuxthreads): Remove.
10365         * rt/Depend (linuxthreads): Remove.
10366
10367         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10368         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10369         $(common-objpfx)elf/.
10370         (link-libc-before-gnulib): Likewise.
10371         (elfobjdir): Remove variable.
10372         * Makefile (install): Use $(elf-objpfx) instead of
10373         $(common-objpfx)elf/.
10374         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10375         $(elfobjdir)/.
10376         (link-libc-deps): Likewise.
10377         ($(common-objpfx)libc.so): Likewise.
10378         ($(common-objpfx)linkobj/libc.so): Likewise.
10379         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10380         instead of $(common-objpfx)elf/.
10381         (symbolic-link-list): Likewise.
10382         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10383         [$(cross-compiling) = no]: Likewise.
10384         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10385         $(elfobjdir)/.
10386         (static-gnulib-arch): Likewise.
10387         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10388         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10389         $(common-objpfx)elf/.
10390
10391 2014-05-21  Richard Henderson  <rth@redhat.com>
10392
10393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10394         (SINGLE_THREAD_P): Use the correct width load.  Fold
10395         into the ldr offset.
10396
10397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10398         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10399
10400 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10401
10402         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10403         (libgcc_s_resume): Use __attribute_used__.
10404         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10405         Likewise.
10406
10407 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10408
10409         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10410         optimization when used with float constants.
10411
10412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10413
10414 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10415
10416         [BZ #16915]
10417         * locale/nl_langinfo_l.c: Make direct reference to every
10418         _nl_current_CATEGORY symbol.
10419         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10420         (tests-static): Add tst-langinfo-static.
10421         (tests-special): Add tst-langinfo-static.out.
10422         ($(objpfx)tst-langinfo.out): Redirect output.
10423         ($(objpfx)tst-langinfo-static.out): New.
10424         * localedata/tst-langinfo.sh: Send output to stdout.
10425         * localedata/tst-langinfo-static.c: New file.
10426
10427         [BZ #16965]
10428         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10429         when the shift amount is modulo the limb size.
10430
10431 2014-05-20  Richard Henderson  <rth@redhat.com>
10432
10433         [BZ #16967]
10434         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10435         Change type of sa_flags from unsigned int to int.
10436
10437         [BZ #16966]
10438         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10439
10440         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10441
10442 2014-05-20  Will Newton  <will.newton@linaro.org>
10443
10444         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10445         Test the return value of the system call in the nocancel case.
10446
10447 2014-05-20  Will Newton  <will.newton@linaro.org>
10448             Yvan Roux  <yvan.roux@linaro.org>
10449
10450         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10451         #include of asm/ptrace.h.
10452         (PTRACE_GET_THREAD_AREA): Remove #undef.
10453         (PTRACE_GETHBPREGS): Likewise.
10454         (PTRACE_SETHBPREGS): Likewise.
10455         (struct user_regs_struct): New structure.
10456         (struct user_fpsimd_struct): New structure.
10457         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10458         #include of asm/ptrace.h and second #include of sys/user.h.
10459         (PTRACE_GET_THREAD_AREA): Remove #undef.
10460         (PTRACE_GETHBPREGS): Likewise.
10461         (PTRACE_SETHBPREGS): Likewise.
10462         (ELF_NGREG): Use new struct user_regs_struct.
10463         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10464
10465 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10466
10467         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10468         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10469
10470 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10471
10472         [BZ #16958]
10473         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10474         membar to avoid block loads/stores to overlap previous stores.
10475
10476 2014-05-17  Richard Henderson  <rth@redhat.com>
10477
10478         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10479         Create the __##syscall_name##_nocancel entry point.
10480         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10481         Remove; let the sysdep-cancel.h code create it.
10482
10483 2014-05-17  David S. Miller  <davem@davemloft.net>
10484
10485         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10486         Protect with __USE_GNU.
10487         (TIOCSET_TEMPT): Likewise.
10488         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10489         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10490         these are already provided in bits/ioctl-types.h
10491
10492 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10493
10494         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10495         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10496
10497         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10498         Use wait4 regardless of [__NR_waitpid].
10499
10500 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10501
10502         PR libgcc/60166
10503         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10504         (_FP_NANSIGN_Q): Set the quiet bit.
10505
10506 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10507
10508         * benchtests/Makefile
10509         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10510         not $(common-objpfx)math/libm.so.
10511         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10512         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10513         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10514         $(common-objpfx)dlfcn/libdl.so.
10515         ($(objpfx)tst-audit8): Depend on $(libm), not
10516         $(common-objpfx)math/libm.so.
10517         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10518         not $(common-objpfx)dlfcn/libdl.so.
10519         * math/Makefile
10520         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10521         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10522         [$(build-shared) = yes].
10523         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10524         $(common-objpfx)nptl/libpthread.so.
10525         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10526         $(common-objpfx)math/libm.so$(libm.so-version) or
10527         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10528         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10529         $(common-objpfx)dlfcn/libdl.so.
10530         * setjmp/Makefile (link-libm): Remove variable.
10531         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10532         * stdio-common/Makefile (link-libm): Remove variable.
10533         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10534         * stdlib/Makefile (link-libm): Remove variable.
10535         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10536         ($(objpfx)tst-strtod-round): Likewise.
10537         ($(objpfx)tst-tininess): Likewise.
10538         ($(objpfx)tst-strtod-underflow): Likewise.
10539         ($(objpfx)tst-strtod6): Likewise.
10540         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10541         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10542         $(common-objpfx)dlfcn/libdl.so.
10543
10544 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10545
10546         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10547         BSD terminal modes definitions.
10548
10549 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10550
10551         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10552         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10553
10554         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10555         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10556         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10557         Don't do #include_next.
10558         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10559         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10560         Don't do #include_next.
10561         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10562         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10563         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10564         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10565
10566 2014-05-16  Allan McRae  <allan@archlinux.org>
10567
10568         * po/sv.po: Update Swedish translation from translation project.
10569
10570         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10571         in sed expression.
10572
10573 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10574
10575         [BZ #16917]
10576         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10577         errno if the TIOCGPTN ioctl fails with an error different than
10578         EINVAL.
10579         * login/tst-ptsname.c: New file.
10580         * login/Makefile (tests): Add tst-ptsname.
10581
10582         [BZ #16943]
10583         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10584         and prlimit64.
10585
10586 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10587
10588         [BZ #16849]
10589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10590         herrno to return EAI_AGAIN.
10591
10592 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10593
10594         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10595         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10596         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10597         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10598         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10599         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10600         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10601         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10602         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10603         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10604         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10605         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10606         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10607         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10608         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10609         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10610         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10611         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10612         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10613         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10614         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10615         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10616         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10617         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10618         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10619         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10620         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10621         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10622         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10623         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10625         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10627         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10629         Moved ...
10630         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10632         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10634         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10636         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10638         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10640         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10642         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10644         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10646         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10648         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10650         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10652         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10654         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10656         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10658         Moved ...
10659         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10661         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10663         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10665         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10667         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10669         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10671         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10673         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10675         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10677         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10679         Moved ...
10680         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10682         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10683
10684         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10685         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10686         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10687         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10688         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10689         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10690         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10691         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10692         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10693         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10694         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10695         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10696         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10697         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10698         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10699         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10700         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10701         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10702         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10703         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10704         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10705         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10706         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10707         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10708         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10709         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10710         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10711         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10712         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10713         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10714         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10715
10716         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10717         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10718
10719         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10720         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10721         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10722         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10723         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10725         Moved ...
10726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10727         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10728         Moved ...
10729         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10730         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10731         Moved ...
10732         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10733         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10734         Moved ...
10735         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10736         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10737         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10738         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10739         Moved ...
10740         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10741         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10742         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10744         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10745         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10746         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10747         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10748         Moved ...
10749         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10750         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10751         Moved ...
10752         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10753         ... here.
10754         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10755         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10756         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10757         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10758         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10759         Moved ...
10760         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10761         ... here.
10762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10763         Moved ...
10764         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10765         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10766         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10767         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10768         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10770         Moved ...
10771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10772         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10773         Moved ...
10774         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10775         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10776         Moved ...
10777         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10778         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10779         Moved ...
10780         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10781         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10782         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10783         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10784         Moved ...
10785         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10786         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10787         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10789         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10790         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10791         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10792         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10793         Moved ...
10794         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10795         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10796         Moved ...
10797         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10798         ... here.
10799         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10800         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10801         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10802         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10803         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10804         Moved ...
10805         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10806         ... here.
10807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10808         Moved ...
10809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10810         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10811         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10812         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10813         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10814         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10815         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10816         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10817         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10819         Moved ...
10820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10821         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10822         Moved ...
10823         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10824         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10825         Moved ...
10826         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10827         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10828         Moved ...
10829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10830         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10831         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10832         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10833         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10834         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10835         Moved ...
10836         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10837         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10838         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10839         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10840         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10841         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10842         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10843         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10844         Moved ...
10845         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10847         Moved ...
10848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10849         ... here.
10850         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10851         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10852         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10853         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10854         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10855         Moved ...
10856         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10857         ... here.
10858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10859         Moved ...
10860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10861         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10862         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10863         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10864         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10865         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10866         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10867         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10868         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10869         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10870         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10871
10872         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10873         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10874
10875         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10876         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10877
10878         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10879         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10880         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10881         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10882         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10883         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10884         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10885         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10886         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10887         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10888         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10889         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10890         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10891         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10892         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10893         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10894         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10895         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10896         Moved ...
10897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10901         Moved ...
10902         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10906         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10908         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10910         Moved ...
10911         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10913         Moved ...
10914         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10916         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10918         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10920         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10921         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10922         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10923         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10924         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10925         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10926         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10927         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10928         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10929         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10930         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10931
10932         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10933         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10934         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10935         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10936         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10937
10938         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10939         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10940         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10941         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10942         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10943         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10944         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10945         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10946         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10947         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10948
10949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10951
10952         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10953         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10954         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10955         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10956         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10957         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10958         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10959         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10960         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10961         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10962         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10963         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10964         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10965         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10967         Update #include.
10968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10969         Likewise.
10970         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10971         Likewise.
10972         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10973         Likewise.
10974         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10975         Likewise.
10976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10977         Likewise.
10978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10979         Likewise.
10980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10981         Likewise.
10982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10983         Likewise.
10984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10985         Likewise.
10986         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10988         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10991         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10992         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10993         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10994         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10995         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10996         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10997         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10998         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10999         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
11000         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
11001
11002         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11003         that was previously under [RESET_PID].
11004         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11005         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11006         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11007
11008         * sysdeps/i386/nptl/Implies: New file.
11009         * sysdeps/x86_64/nptl/Implies: New file.
11010         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11011         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11012         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11013         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11014
11015         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11016         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11017         (__libc_vfork): New strong alias.
11018         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11019         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11020
11021         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11022         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11023         (__libc_vfork): New strong alias.
11024         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11025         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11026
11027         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11028         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11029         (__libc_vfork): New strong alias.
11030         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11031         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11032         * nptl/pt-vfork.c: New file.
11033         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11034         (libpthread: GLIBC_2.20): New version set (empty).
11035
11036 2014-05-14  Will Newton  <will.newton@linaro.org>
11037
11038         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11039         rather than #if.
11040
11041 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11042
11043         [BZ #16564]
11044         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11045         arguments with exponent 65 or above.
11046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11047         arguments 0x1p113L or above.
11048         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11049         to arguments 0x1p107L or above.
11050         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11051         positive arguments with exponent 65 or above.
11052         * math/auto-libm-test-in: Add more tests of log1p.
11053         * math/auto-libm-test-out: Regenerated.
11054
11055         [BZ #16928]
11056         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11057         non-finite arguments is +0.
11058         * math/s_cacosf.c (__cacosf): Likewise.
11059         * math/s_cacosl.c (__cacosl): Likewise.
11060         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11061         * sysdeps/i386/fpu/libm-test-ulps: Update.
11062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11063
11064         [BZ #16927]
11065         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11066         value.
11067         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11068         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11069         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11070         for explicit high bit of mantissa when testing for argument equal
11071         to 1.
11072         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11073         * sysdeps/i386/fpu/libm-test-ulps: Update.
11074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075
11076         [BZ #16516]
11077         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11078         (__erf): Scale by 16 instead of 8 in potentially underflowing
11079         case.  Ensure exception if result actually underflows.
11080         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11081         (__erff): Scale by 16 instead of 8 in potentially underflowing
11082         case.  Ensure exception if result actually underflows.
11083         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11084         (efx8): Remove variable.
11085         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11086         case.  Ensure exception if result actually underflows.
11087         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11088         (efx8): Remove variable.
11089         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11090         case.  Ensure exception if result actually underflows.
11091         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11092         (efx8): Remove variable.
11093         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11094         case.  Ensure exception if result actually underflows.
11095         * math/auto-libm-test-in: Add more tests of erf.
11096         * math/auto-libm-test-out: Regenerated.
11097
11098 2014-05-14  Andreas Schwab  <schwab@suse.de>
11099
11100         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11101         Remove code conditionalized on USE___THREAD.
11102
11103         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11104         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11105         not definedness.
11106
11107 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11108
11109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11110         Define unconditionally.
11111         (__ASSUME_O_CLOEXEC): Likewise.
11112         (__ASSUME_SOCK_CLOEXEC): Likewise.
11113         (__ASSUME_IN_NONBLOCK): Likewise.
11114         (__ASSUME_PIPE2): Likewise.
11115         (__ASSUME_EVENTFD2): Likewise.
11116         (__ASSUME_SIGNALFD4): Likewise.
11117         (__ASSUME_DUP3): Likewise.
11118         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11119         (__ASSUME_DUP3): Do not define.
11120         (__ASSUME_EVENTFD2): Likewise.
11121         (__ASSUME_IN_NONBLOCK): Likewise.
11122         (__ASSUME_O_CLOEXEC): Likewise.
11123         (__ASSUME_PIPE2): Likewise.
11124         (__ASSUME_SIGNALFD4): Likewise.
11125         (__ASSUME_SOCK_CLOEXEC): Likewise.
11126         (__ASSUME_UTIMES): Undefine.
11127         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11128         (__ASSUME_UTIMES): Do not define.
11129         (__ASSUME_O_CLOEXEC): Likewise.
11130         (__ASSUME_SOCK_CLOEXEC): Likewise.
11131         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11132         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11133         0x020621].
11134         (__ASSUME_PIPE2): Likewise.
11135         (__ASSUME_EVENTFD2): Likewise.
11136         (__ASSUME_SIGNALFD4): Likewise.
11137         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11138         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11139         Do not define.
11140         (__ASSUME_EVENTFD2): Likewise.
11141         (__ASSUME_SIGNALFD4): Likewise.
11142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11143         (__ASSUME_32BITUIDS): Likewise.
11144         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11145         (__ASSUME_IPC64): Likewise.
11146         (__ASSUME_ST_INO_64_BIT): Likewise.
11147         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11148         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11149         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11150         (__ASSUME_UTIMES): Do not define.
11151         (__ASSUME_PSELECT): Likewise.
11152         (__ASSUME_PPOLL): Likewise.
11153         (__ASSUME_O_CLOEXEC): Likewise.
11154         (__ASSUME_SOCK_CLOEXEC): Likewise.
11155         (__ASSUME_IN_NONBLOCK): Likewise.
11156         (__ASSUME_PIPE2): Likewise.
11157         (__ASSUME_EVENTFD2): Likewise.
11158         (__ASSUME_SIGNALFD4): Likewise.
11159         (__ASSUME_DUP3): Likewise.
11160         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11161         (__ASSUME_UTIMES): Likewise.
11162         (__ASSUME_O_CLOEXEC): Likewise.
11163         (__ASSUME_SOCK_CLOEXEC): Likewise.
11164         (__ASSUME_IN_NONBLOCK): Likewise.
11165         (__ASSUME_PIPE2): Likewise.
11166         (__ASSUME_EVENTFD2): Likewise.
11167         (__ASSUME_SIGNALFD4): Likewise.
11168         (__ASSUME_DUP3): Likewise.
11169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11170         (__ASSUME_UTIMES): Likewise.
11171         (__ASSUME_O_CLOEXEC): Likewise.
11172         (__ASSUME_SOCK_CLOEXEC): Likewise.
11173         (__ASSUME_IN_NONBLOCK): Likewise.
11174         (__ASSUME_PIPE2): Likewise.
11175         (__ASSUME_EVENTFD2): Likewise.
11176         (__ASSUME_SIGNALFD4): Likewise.
11177         (__ASSUME_DUP3): Likewise.
11178         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11179         Likewise.
11180         (__ASSUME_UTIMES): Likewise.
11181         (__ASSUME_EVENTFD2): Likewise.
11182         (__ASSUME_SIGNALFD4): Likewise.
11183         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11184         (__ASSUME_O_CLOEXEC): Likewise.
11185         (__ASSUME_SOCK_CLOEXEC): Likewise.
11186         (__ASSUME_IN_NONBLOCK): Likewise.
11187         (__ASSUME_PIPE2): Likewise.
11188         (__ASSUME_EVENTFD2): Likewise.
11189         (__ASSUME_SIGNALFD4): Likewise.
11190         (__ASSUME_DUP3): Likewise.
11191         (__ASSUME_UTIMES): Undefine.
11192
11193         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11194         feclearexcept.  Remove symbol versioning code.
11195         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11196         symbol versioning code.
11197         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11198         symbol versioning code.
11199         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11200         feupdateenv.  Remove symbol versioning code.
11201         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11202         fegetexceptflag.  Remove symbol versioning code.
11203         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11204         fesetexceptflag.  Remove symbol versioning code.
11205         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11206         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11207         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11208         (__posix_fadvise64_l32): Remove prototype.
11209         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11210         code.
11211
11212 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11213
11214         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11215         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11216         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11217         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11218
11219 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11220
11221         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11222         current working directory
11223
11224 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11225
11226         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11227         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11228         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11229         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11230         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11231         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11232         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11233         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11234         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11235         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11236         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11237         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11238         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11239         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11240         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11241         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11242         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11243         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11244         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11245         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11246         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11247         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11248         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11249         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11250         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11251         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11252         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11253         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11254         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11255         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11256         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11257         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11258         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11259         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11260         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11261         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11262         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11263         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11264         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11265         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11266         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11267         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11268
11269         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11270         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11271
11272         * sysdeps/unix/sysv/linux/arm/Makefile
11273         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11274         Add rt-aeabi_unwind_cpp_pr1.
11275         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11276         Add nptl-aeabi_unwind_cpp_pr1.
11277         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11278         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11279         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11280         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11281         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11282         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11283
11284         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11285         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11286         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11287         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11288
11289         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11290         Deconditionalize the code that was previously under [RESET_PID].
11291         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11292
11293         * sysdeps/generic/exit-thread.h: New file.
11294         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11295         * include/unistd.h (__exit_thread): Remove declaration.
11296         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11297         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11298         * csu/libc-start.c: Include <exit-thread.h>.
11299         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11300         * nptl/pthread_create.c: Include <exit-thread.h>.
11301         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11302         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11303         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11304         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11305         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11306         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11307         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11308         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11309         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11310         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11311         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11312         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11313         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11314         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11315         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11316         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11317         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11318
11319 2014-05-13  Andreas Schwab  <schwab@suse.de>
11320
11321         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11322
11323 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11324
11325         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11326         (__ASSUME_UTIMES): Do not condition on kernel version.
11327         (__ASSUME_PSELECT): Define unconditionally.
11328         (__ASSUME_PPOLL): Likewise.
11329         (__ASSUME_ATFCTS): Likewise.
11330         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11331         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11332         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11333         (__ASSUME_UTIMENSAT): Define unconditionally.
11334         (__ASSUME_PRIVATE_FUTEX): Likewise.
11335         (__ASSUME_FALLOCATE): Likewise.
11336         (__ASSUME_O_CLOEXEC): Likewise.
11337         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11338         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11339         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11340         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11341         (__ASSUME_IN_NONBLOCK): Likewise.
11342         (__ASSUME_PIPE2): Likewise.
11343         (__ASSUME_EVENTFD2): Likewise.
11344         (__ASSUME_SIGNALFD4): Likewise.
11345         (__ASSUME_DUP3): Likewise.
11346         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11347         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11348         (__ASSUME_AT_RANDOM): Likewise.
11349         (__ASSUME_PREADV): Likewise.
11350         (__ASSUME_PWRITEV): Likewise.
11351         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11352         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11353         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11354         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11355         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11356         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11357         (__ASSUME_O_CLOEXEC): Define unconditionally.
11358         (__ASSUME_PSELECT): Do not undefine conditionally.
11359         (__ASSUME_PPOLL): Likewise.
11360         (__ASSUME_ATFCTS): Likewise.
11361         (__ASSUME_SET_ROBUST_LIST): Likewise.
11362         (__ASSUME_UTIMENSAT): Likewise.
11363         (__ASSUME_FDATASYNC): Define unconditionally.
11364         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11365         (__ASSUME_SIGFRAME_V2): Likewise.
11366         )__ASSUME_EVENTFD2): Likewise.
11367         (__ASSUME_SIGNALFD4): Likewise.
11368         (__ASSUME_PSELECT): Do not undefine conditionally.
11369         (__ASSUME_PPOLL): Likewise.
11370         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11371         (__ASSUME_PSELECT): Define unconditionally.
11372         (__ASSUME_PPOLL): Likewise.
11373         (__ASSUME_O_CLOEXEC): Likewise.
11374         (__ASSUME_SOCK_CLOEXEC): Likewise.
11375         (__ASSUME_IN_NONBLOCK): Likewise.
11376         (__ASSUME_PIPE2): Likewise.
11377         (__ASSUME_EVENTFD2): Likewise.
11378         (__ASSUME_SIGNALFD4): Likewise.
11379         (__ASSUME_DUP3): Likewise.
11380         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11381         (__ASSUME_O_CLOEXEC): Likewise.
11382         (__ASSUME_SOCK_CLOEXEC): Likewise.
11383         (__ASSUME_IN_NONBLOCK): Likewise.
11384         (__ASSUME_PIPE2): Likewise.
11385         (__ASSUME_EVENTFD2): Likewise.
11386         (__ASSUME_SIGNALFD4): Likewise.
11387         (__ASSUME_DUP3): Likewise.
11388         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11389         (__ASSUME_EVENTFD2): Likewise.
11390         (__ASSUME_SIGNALFD4): Likewise.
11391         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11392
11393 2014-05-12  Andreas Schwab  <schwab@suse.de>
11394
11395         [BZ #16932]
11396         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11397         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11398         than maximum RPC packet size.
11399         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11400         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11401         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11402         (_nss_nis_getservbyport_r): Likewise.
11403
11404 2014-05-12  Will Newton  <will.newton@linaro.org>
11405
11406         * malloc/Makefile (tests): Add tst-mallopt.
11407         * malloc/tst-mallopt.c: New file.
11408
11409 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11410
11411         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11412         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11413
11414 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11415
11416         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11417         (tst-tlsmod6.so): Likewise.
11418
11419 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11420
11421         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11422
11423 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11424
11425         [BZ #16064]
11426         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11427         and <dl-procinfo.h>.
11428         (__fegetenv): Save SSE state in envp->__eip if supported.
11429         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11430         envp->__eip if supported.
11431         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11432         and <dl-procinfo.h>.
11433         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11434         __data_offset and __data_selector in environment to 0.  Set SSE
11435         state if supported.
11436         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11437         test-fenv-sse.
11438         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11439         -mfpmath=sse.
11440         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11441
11442 2014-05-09  Will Newton  <will.newton@linaro.org>
11443
11444         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11445         and libc_relro_required for ARM.
11446         * sysdeps/arm/preconfigure: Regenerate.
11447
11448 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11449             Stefan Liebler  <stli@linux.vnet.ibm.com>
11450
11451         * config.make.in (enable-lock-elision): New Makefile variable.
11452         * configure.ac: Likewise.
11453         * configure: Regenerate.
11454         * sysdeps/s390/configure.ac:
11455         Add check for gcc transactions support.
11456         * sysdeps/s390/configure: Regenerate.
11457         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11458         Build elision files if enabled.
11459         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11460         Add lock elision support for s390.
11461         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11462         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11463         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11464         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11465         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11466         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11467         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11468         Likewise.
11469         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11470         Likewise.
11471         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11472         Likewise.
11473         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11474         Likewise.
11475         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11476         (__lll_timedlock_elision, __lll_lock_elision)
11477         (__lll_unlock_elision, __lll_trylock_elision)
11478         (lll_timedlock_elision, lll_lock_elision)
11479         (lll_unlock_elision, lll_trylock_elision): Add.
11480         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11481         (pthread_mutex_t): Add lock elision support for s390.
11482
11483 2014-05-14  Wilco  <wdijkstr@arm.com>
11484
11485         * sysdeps/arm/fclrexcpt.c: Cleanup.
11486         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11487         * sysdeps/arm/feenablxcpt.c: Cleanup.
11488         * sysdeps/arm/fegetenv.c: Cleanup.
11489         * sysdeps/arm/fegetexcept.c: Cleanup.
11490         * sysdeps/arm/fegetround.c: Cleanup.
11491         * sysdeps/arm/feholdexcpt.c: Cleanup.
11492         * sysdeps/arm/fesetenv.c: Cleanup.
11493         * sysdeps/arm/fesetround.c: Cleanup.
11494         * sysdeps/arm/feupdateenv.c: Cleanup.
11495         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11496         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11497         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11498         * sysdeps/arm/ftestexcept.c: Cleanup.
11499         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11500         * sysdeps/arm/setfpucw.c: Cleanup.
11501
11502 2014-05-09  Will Newton  <will.newton@linaro.org>
11503
11504         * sysdeps/arm/armv7/strcmp.S: New file.
11505         * NEWS: Mention addition of ARMv7 optimized strcmp.
11506
11507 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11508
11509         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11510         look for %.ac rather than %.in.
11511
11512         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11513         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11514         * sysdeps/mach/hurd/configure: Regenerated.
11515         * sysdeps/unix/sysv/linux/configure: Regenerated.
11516
11517         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11518
11519 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11520
11521         [BZ# 16922]
11522         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11523         (LONG_SUB): Ditto.
11524         (PTR_SUB): Ditto.
11525
11526 2014-05-07  Andreas Schwab  <schwab@suse.de>
11527
11528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11529         when skipping over non-matching result from nscd.
11530
11531 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11532
11533         [BZ #16876]
11534         * nptl/sockperf.c (client): Check socket return value.
11535
11536         [BZ #16877]
11537         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11538         nscd security class.
11539
11540 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11541
11542         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11543         * sysdeps/arm/unwind.h: ... here.
11544
11545 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11546
11547         [BZ# 16916]
11548         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11549         Define.
11550
11551 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11552
11553         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11554         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11555         multiarch strncpy for PPC64.
11556         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11557         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11559         multiarch optimizations.
11560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11561         (__libc_ifunc_impl_list): Likewise.
11562         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11563         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11564         multiarch stpncpy for PPC64.
11565         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11566         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11567
11568 2014-05-06  Andreas Schwab  <schwab@suse.de>
11569
11570         [BZ #16912]
11571         * gmon/mcount.c (_MCOUNT_DECL): Use
11572         atomic_compare_and_exchange_bool_acq instead of
11573         catomic_compare_and_exchange_bool_acq.
11574
11575 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11576
11577         * elf/Makefile (others, install-bin): Remove pldd.
11578         (pldd-modules): Variable removed.
11579         ($(objpfx)pldd): Target removed.
11580         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11581         (others, install-bin): Append pldd here.
11582         ($(objpfx)pldd): New target.
11583
11584         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11585         to 0, so the first #if test emitted later doesn't see it undefined.
11586         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11587         * sysdeps/gnu/errlist.c: Regenerated.
11588
11589 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11590
11591         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11592         [libc_hidden_builtin_def]: Define to empty value.
11593         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11594         [libc_hidden_builtin_def]: Likewise.
11595         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11596         [libc_hidden_builtin_def]: Likewise.
11597         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11598         [libc_hidden_builtin_def]: Likewise.
11599         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11600         __redirect_memcpy and define ifunc as default hidden symbol.
11601         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11602         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11603
11604 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11605
11606         * locale/iso-4217.def: Reintroduce XDR currency.
11607
11608 2014-05-04  Allan McRae  <allan@archlinux.org>
11609
11610         * po/eo.po: Update Esperanto translation from translation project.
11611
11612 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11613
11614         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11615         and FEATURE_INDEX_MAX to 1.
11616         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11617
11618 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11619
11620         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11621         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11622         * iconvdata/big5.c (ONE_DIRECTION): Define.
11623         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11624         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11625         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11626         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11627         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11628         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11629         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11630         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11631         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11632         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11633         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11634         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11635         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11636         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11637         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11638         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11639         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11640         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11641         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11642         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11643         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11644         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11645         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11646         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11647         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11648         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11649         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11650         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11651         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11652         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11653         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11654         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11655         * iconvdata/johab.c (ONE_DIRECTION): Define.
11656         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11657         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11658         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11659         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11660         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11661         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11662         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11663         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11664         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11665         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11666
11667 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11668
11669         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11670         (_IO_JUMPS_OFFSET): Define to 0.
11671
11672         * nptl/sysdeps/pthread/bits/libc-lock.h
11673         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11674         (__libc_lock_define_initialized_recursive): Always define using
11675         initializer.  Modern compilers treat uninitialized (implicit zero) and
11676         explicit zero initializers the same (i.e. put the datum in bss).
11677
11678 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11679
11680         * nscd/nscd-client.h: Include <string.h>.
11681
11682 2014-05-01  David S. Miller  <davem@davemloft.net>
11683
11684         [BZ #16885]
11685         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11686         multiple zero bytes exist at the end of a string.
11687         Reported by Aurelien Jarno <aurelien@aurel32.net>
11688
11689         * string/test-strcmp.c (check): Add explicit test for situations where
11690         there are multiple zero bytes after the first.
11691
11692 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11693
11694         [BZ #16890]
11695         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11696         when compiling wprintf.
11697         * stdio-common/tstdiomisc.c (t3): New function.
11698         (main): Call it.
11699
11700 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11701
11702         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11703         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11704         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11705         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11706
11707 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11708
11709         * stdlib/longlong.h: Updated from GCC.
11710
11711 2014-05-01  Will Newton  <will.newton@linaro.org>
11712             Bernard Ogden  <bernie.ogden@linaro.org>
11713
11714         * NEWS: Update fixed bug list.
11715
11716         [BZ #15119]
11717         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11718
11719 2014-04-30  David S. Miller  <davem@davemloft.net>
11720
11721         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11722         (libc_feholdexcept_setround_sparc_ctx): New function.
11723         (libc_fesetenv_sparc_ctx): Likewise.
11724         (libc_feupdateenv_sparc_ctx): Likewise.
11725         (libc_feholdsetround_sparc_ctx): Likewise.
11726         (libc_feholdexcept_setround_ctx): Define.
11727         (libc_feholdexcept_setroundf_ctx): Likewise.
11728         (libc_feholdexcept_setroundl_ctx): Likewise.
11729         (libc_fesetenv_ctx): Likewise.
11730         (libc_fesetenvf_ctx): Likewise.
11731         (libc_fesetenvl_ctx): Likewise.
11732         (libc_feupdateenv_ctx): Likewise.
11733         (libc_feupdateenvf_ctx): Likewise.
11734         (libc_feupdateenvl_ctx): Likewise.
11735         (libc_feresetround_ctx): Likewise.
11736         (libc_feresetroundf_ctx): Likewise.
11737         (libc_feresetroundl_ctx): Likewise.
11738         (libc_feholdsetround_ctx): Likewise.
11739         (libc_feholdsetroundf_ctx): Likewise.
11740         (libc_feholdsetroundl_ctx): Likewise.
11741
11742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11743         with __USE_GNU instead of XOPEN cpp guards.
11744
11745         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11746         0.
11747
11748         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11749         with XOPEN cpp guards.
11750
11751 2014-04-30  Julian Brown  <julian@codesourcery.com>
11752
11753         [BZ #16888]
11754         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11755         handling.
11756
11757 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11758
11759         [BZ #9894]
11760         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11761         Change to 2.6.32.
11762         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11763         * sysdeps/unix/sysv/linux/configure: Regenerated.
11764         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11765         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11766         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11767         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11768         * README: Update reference to required Linux kernel version.
11769         * manual/install.texi (Linux): Update reference to required Linux
11770         kernel headers version.
11771         * INSTALL: Regenerated.
11772
11773         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11774         header inclusion.
11775         [POSIX] (limits.h): Likewise.
11776         [POSIX] (math.h): Likewise.
11777         [POSIX] (sys/wait.h): Likewise.
11778         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11779         function.
11780         [POSIX] (stddef.h): Do not allow header inclusion.
11781
11782 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11783
11784         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11785
11786 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11787
11788         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11789         Return immediately after lll_futex_wake.
11790
11791 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11792
11793         [BZ #16791]
11794         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11795         structure.
11796         (datahead_init_pos): Call datahead_init_common early.
11797         (datahead_init_neg): Likewise.
11798
11799         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11800         datahead_init_neg): New functions.
11801         * nscd/aicache.c (addhstaiX): Use them.
11802         * nscd/grpcache.c (cache_addgr): Likewise.
11803         * nscd/hstcache.c (cache_addhst): Likewise.
11804         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11805         * nscd/netgroupcache.c (do_notfound): Likewise.
11806         (addgetnetgrentX): Likewise.
11807         (addinnetgrX): Likewise.
11808         * nscd/pwdcache.c (cache_addpw): Likewise.
11809         * nscd/servicescache.c (cache_addserv): Likewise.
11810
11811 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11812             Atsushi Onoe  <atsushi@onoe.org>
11813
11814         [BZ #14308]
11815         [BZ #12994]
11816         [BZ #13651]
11817         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11818         one response is valid.
11819         * resolv/res_send.c (send_dg): Check for validity of other
11820         response if the current response is a referral.
11821
11822 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11823
11824         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11825
11826 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11827
11828         [BZ #16823]
11829         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11830         Always divide by positive zero when computing -Inf result.
11831         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11832         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11833
11834 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11835
11836         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11837         FPSCR if value do not change.
11838         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11839         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11840         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11841         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11842         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11843         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11844         function.
11845
11846 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11847
11848         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11849         * sysdeps/unix/sysv/linux/hppa: Move directory from
11850         ports/systeps/unix/sysv/linux/hppa.
11851         * README: Update listing for hppa-*-linux-gnu.
11852
11853 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11854
11855         [BZ #16754]
11856         * manual/stdio.texi (Hook functions): Fix types of stream hook
11857         functions.
11858         [BZ #16854]
11859         * socket/sys/socket.h: Fix typo in comment.
11860
11861 2014-04-28  Wilco  <wdijkstr@arm.com>
11862
11863         * sysdeps/arm/fenv_private.h: New file.
11864         * sysdeps/arm/math_private.h: New file.
11865         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11866
11867 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11868
11869         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11870         with __int128_t.
11871         (La_x86_64_retval): Likewise.
11872
11873 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11874
11875         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11876         fpsr if value didn't change.
11877         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11878         to fpcr if value didn't change.
11879         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11880         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11881         fpsr or fpcr if value didn't change.
11882         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11883         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11884         fpcr if value didn't change.
11885         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11886         to fpsr if value didn't change.
11887
11888 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11889
11890         * nptl/tst-sem3.c: Use test-skeleton.c
11891         (main): Rename to do_test.  Use return instead of
11892         exit.
11893         * nptl/tst-sem4.c: Use test-skeleton.c
11894         (main): Rename to do_test.
11895
11896 2014-04-22  David S. Miller  <davem@davemloft.net>
11897
11898         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11899         (struct sigaction): New struct member __glibc_reserved0, change
11900         type of sa_flags to int.
11901
11902 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11903
11904         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11905         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11906
11907 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11908
11909         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11910         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11911
11912 2014-04-22  Will Newton  <will.newton@linaro.org>
11913             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11914
11915         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11916         (__longjmp): Add longjmp and longjmp_target SystemTap
11917         probes.
11918         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11919         (__sigsetjmp): Add setjmp SystemTap probe.
11920
11921 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11922
11923         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11924         match manual order.
11925
11926 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11927
11928         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11929
11930         * sysdeps/powerpc/fpu/fenv_private.h
11931         (libc_feholdexcept_setroundl_ctx): Define to
11932         libc_feholdexcept_setround_ppc_ctx.
11933         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11934         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11935         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11936         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11937
11938 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11939
11940         * sysdeps/aarch64/math-tests.h: New file.
11941
11942 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11943
11944         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11945         New.
11946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11947         Check and set bit_AVX2_Usable.
11948         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11949         macro.
11950         (bit_AVX2): Likewise.
11951         (index_AVX2_Usable): Likewise.
11952         (CPUID_AVX2): Likewise.
11953         (HAS_AVX2): Likewise.
11954
11955 2014-04-17  Will Newton  <will.newton@linaro.org>
11956
11957         * manual/setjmp.texi (System V contexts): Add note that
11958         calling setcontext on a context created by a call to a
11959         signal handler is undefined.  Update text to note that
11960         setcontext from a signal handler is possible but not
11961         recommended.
11962
11963         [BZ #16629]
11964         * stdlib/tst-setcontext.c: Include signal.h.
11965         (main): Check that the signal stack before and
11966         after swapcontext is the same.
11967
11968         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11969         Re-implement to restore registers in user code and avoid
11970         rt_sigreturn system call.
11971
11972 2014-04-17  Wilco  <wdijkstr@arm.com>
11973
11974         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11975         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11976         * math/test-fenv.c: Skip exception trap tests on targets which only
11977         support non-stop mode.
11978
11979 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11980             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11981
11982         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11983         (libc_feholdsetround_aarch64_ctx)
11984         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11985         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11986         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11987         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11988         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11989         (libc_feresetround_noexl_ctx): Define.
11990
11991 2014-04-16  Richard Henderson  <rth@redhat.com>
11992
11993         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11994
11995         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11996         unwind tables.
11997
11998         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11999         const from the non-libc, non-ldso copy.
12000
12001         * sysdeps/alpha/libm-test-ulps: Regenerate.
12002
12003 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
12004             Wilco Dijkstra  <wilco.dijkstra@arm.com>
12005
12006         * sysdeps/aarch64/fpu/math_private.h: New file.
12007
12008 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12009
12010         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12011
12012 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12013
12014         [BZ #16275]
12015         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12016         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12017         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12018         Intel MPX bound registers before _dl_profile_fixup.
12019         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12020         registers after _dl_profile_fixup.  Save and restore bound
12021         registers bnd0/bnd1 when calling _dl_call_pltexit.
12022         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12023         (LR_BND_OFFSET): Likewise.
12024         (LRV_BND0_OFFSET): Likewise.
12025         (LRV_BND1_OFFSET): Likewise.
12026
12027 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12028
12029         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12030         to...
12031         * sysdeps/mach/hurd/i386/tls.h: ... here.
12032         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12033         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12034         fields.
12035
12036 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12037
12038         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12039
12040 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12041
12042         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12043
12044 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12045
12046         [BZ #14770]
12047         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12048         * sysdeps/s390/configure: Regenerate.
12049
12050         [BZ #16824]
12051         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12052         Set round-to-nearest internally to reduce error accumulation.
12053
12054 2014-04-16  Alan Modra  <amodra@gmail.com>
12055
12056         [BZ #16740]
12057         [BZ #16619]
12058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12059         * math/libm-test.inc (frexp_test_data): Add tests.
12060         * NEWS: Update fixed bug list.
12061
12062 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12063
12064         * benchtests/Makefile: Depend on libraries in build directory.
12065         (bench-math): Separate out math tests.
12066         (bench-pthread): Separate out pthread tests.
12067         (bench): Include math and pthread tests.
12068
12069 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12070
12071         [BZ #16831]
12072         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12073         _dl_debug_initialize.
12074
12075         * configure.ac: Remove SELinux header check.
12076         * configure: Regenerate.
12077         * nscd/selinux.c (perms): Array of const char* to permission names.
12078         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12079         default policy. Call string_to_security_class and string_to_av_perm to
12080         translate strings. Enforce default policy and call avs_has_perm with
12081         results of translated strings.
12082
12083 2014-04-13  David S. Miller  <davem@davemloft.net>
12084
12085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12086
12087 2014-04-12  Allan McRae  <allan@archlinux.org>
12088
12089         [BZ #16838]
12090         * manual/string.texi (Collation Functions): Fix qsort argument
12091         order in example.
12092         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12093
12094 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12095
12096         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12097         Make the test a no-op if there are no exceptions defined.
12098
12099 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12100
12101         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12102         enable-hardcoded-path-in-tests
12103
12104 2014-04-11  Will Newton  <will.newton@linaro.org>
12105
12106         * benchtests/Makefile (extra-objs): Add json-lib.o.
12107         (bench-func): Tidy up JSON output.
12108         * benchtests/bench-skeleton.c: Include json-lib.h.
12109         (main): Use JSON library functions to do output of
12110         benchmark results.
12111         * benchtests/bench-timing-type.c (main): Output the
12112         timing type simply, leaving formatting to the user.
12113         * benchtests/json-lib.c: New file.
12114         * benchtests/json-lib.h: Likewise.
12115
12116 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12117
12118         [BZ #15215]
12119         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12120         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12121         memory barriers.  Add comments.
12122         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12123         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12124         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12125         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12126         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12127         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12128
12129 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12130
12131         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12132         * sysdeps/s390/s390-64/configure.ac: ... this ...
12133         * sysdeps/s390/configure.ac: ... to here.
12134         * sysdeps/s390/s390-32/configure: Delete file.
12135         * sysdeps/s390/s390-64/configure: Delete file.
12136         * sysdeps/s390/configure: Regenerate.
12137
12138 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12139
12140         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12141
12142 2014-04-11  Will Newton  <will.newton@linaro.org>
12143
12144         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12145         to zero if it is not defined elsewhere.  (mtrim): Test
12146         the value of MALLOC_DEBUG with #if rather than #ifdef.
12147
12148 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12149
12150         * benchtests/pthread_once-inputs: New file.
12151         * benchtests/pthread_once-source.c: New file.
12152         * benchtests/README: Update documentation.
12153
12154 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12155             H.J. Lu  <hongjiu.lu@intel.com>
12156
12157         [BZ #16275]
12158         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12159         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12160         * sysdeps/x86_64/configure: Regenerated.
12161         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12162         macro.
12163         (REGISTER_SAVE_RAX): Likewise.
12164         (REGISTER_SAVE_RCX): Likewise.
12165         (REGISTER_SAVE_RDX): Likewise.
12166         (REGISTER_SAVE_RSI): Likewise.
12167         (REGISTER_SAVE_RDI): Likewise.
12168         (REGISTER_SAVE_R8): Likewise.
12169         (REGISTER_SAVE_R9): Likewise.
12170         (REGISTER_SAVE_BND0): Likewise.
12171         (REGISTER_SAVE_BND1): Likewise.
12172         (REGISTER_SAVE_BND2): Likewise.
12173         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12174         bound registers when calling _dl_fixup.
12175
12176 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12177
12178         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12179         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12180         of its definition.
12181         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12182         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12183         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12184         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12185         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12186         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12187         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12188
12189 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12190
12191         [BZ #15514]
12192         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12193         pathconf(_PC_NAME_MAX).
12194
12195 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12196
12197         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12198         Remove macro usage.
12199         (__PTHREAD_SPINS): Move definition to ...
12200         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12201         (__PTHREAD_SPINS): ... here.
12202         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12203         (__PTHREAD_SPIN): Likewise.
12204         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12205         (__PTHREAD_SPIN): Likewise.
12206         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12207         (__PTHREAD_SPIN): Likewise.
12208         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12209         (__PTHREAD_SPIN): Likewise.
12210         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12211         (__PTHREAD_SPIN): Likewise.
12212         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12213         (__PTHREAD_SPIN): Likewise.
12214         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12215         (__PTHREAD_SPIN): Likewise.
12216         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12217         (__PTHREAD_SPIN): Likewise.
12218         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12219         (__PTHREAD_SPIN): Likewise.
12220         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12221         (__PTHREAD_SPIN): Likewise.
12222         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12223         (__PTHREAD_SPIN): Likewise.
12224         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12225         (__PTHREAD_SPIN): Likewise.
12226
12227         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12228         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12229         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12230         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12231         imply folder.
12232         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12233         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12234         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12235         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12236         correct imply path.
12237         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12238         strlen symbol for non multi-arch builds.
12239         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12240         missing hidden_def and weak_alias.
12241
12242 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12243
12244         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12245
12246 2014-04-07  Will Newton  <will.newton@linaro.org>
12247
12248         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12249         and contents.  [!_LIBC] Remove #ifndef and contents.
12250         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12251         * string/memccpy.c (__memccpy): Use ANSI prototype.
12252         * string/memfrob.c (memfrob): Likewise.
12253         * string/strcoll.c (STRCOLL): Likewise.
12254         * string/strlen.c (strlen): Likewise.
12255         * string/strtok.c (STRTOK): Likewise.
12256         * string/strcat.c: Remove unused #include of memcopy.h.
12257         (strcat): Use ANSI prototype.
12258         * string/strchr.c: Remove unused #include of memcopy.h.
12259         (strchr): Use ANSI prototype.
12260         * string/strcmp.c: Remove unused #include of memcopy.h.
12261         (strcmp): Use ANSI prototype.
12262         * string/strcpy.c: Remove unused #include of memcopy.h.
12263         (strcpy): Use ANSI prototype.
12264
12265 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12266
12267         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12268         * config.make.in (config-extra-cppflags): Set it from
12269         libc_extra_cppflags.
12270         * configure.ac (libc_extra_cflags): Make it accumulate over
12271         configure fragments.
12272         (libc_extra_cppflags): New flag.
12273         * configure. Regenerate.
12274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12275         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12276         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12278
12279         [BZ #16815]
12280         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12281         result for FE_DOWNWARD rounding mode.
12282         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12283         Likewise.
12284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12285
12286 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12287
12288         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12289         in function argument name.
12290
12291 2014-04-03  David Svoboda  <svoboda@cert.org>
12292
12293         [BZ #5666]
12294         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12295         explicitly.
12296
12297 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12298
12299         * elf/dl-unmap-segments.h: New file.
12300         * sysdeps/generic/ldsodefs.h
12301         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12302         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12303         * elf/dl-fptr.c: Likewise.
12304         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12305         * sysdeps/aarch64/tlsdesc.c: Likewise.
12306         * sysdeps/arm/tlsdesc.c: Likewise.
12307         * sysdeps/i386/tlsdesc.c: Likewise.
12308         * sysdeps/tile/dl-runtime.c: Likewise.
12309         * sysdeps/x86_64/tlsdesc.c: Likewise.
12310         * elf/dl-load.h: New file.
12311         * elf/dl-load.c: Include it.
12312         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12313         Macros moved to dl-load.h.
12314         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12315         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12316         Use _dl_unmap_segments in place of __munmap.
12317         Break out segment-mapping loop into ...
12318         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12319
12320 2014-04-03  Will Newton  <will.newton@linaro.org>
12321
12322         * elf/dl-lookup.c (do_lookup_x): Remove comment
12323         referring to nested function and move variable
12324         declarations down to before first use.
12325
12326 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12327
12328         [BZ #16799]
12329         [BZ #16800]
12330         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12331         with 0 numerator.
12332         * math/s_catanf.c (__catanf): Likewise.
12333         * math/s_catanh.c (__catanh): Likewise.
12334         * math/s_catanhf.c (__catanhf): Likewise.
12335         * math/s_catanhl.c (__catanhl): Likewise.
12336         * math/s_catanl.c (__catanl): Likewise.
12337         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12338         by positive zero when computing -Inf result.
12339         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12340         (catanh_test): Likewise.
12341         * sysdeps/i386/fpu/libm-test-ulps: Update.
12342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12343
12344         [BZ #16789]
12345         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12346         instead of using underflowing value in computing result.
12347         * math/s_clog10.c (__clog10): Likewise.
12348         * math/s_clog10f.c (__clog10f): Likewise.
12349         * math/s_clog10l.c (__clog10l): Likewise.
12350         * math/s_clogf.c (__clogf): Likewise.
12351         * math/s_clogl.c (__clogl): Likewise.
12352         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12353         (clog10_test): Likewise.
12354         * sysdeps/i386/fpu/libm-test-ulps: Update.
12355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12356
12357 2014-04-02  Alan Modra  <amodra@gmail.com>
12358
12359         [BZ #16739]
12360         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12361         output when value is near a power of two.  Use int64_t for lx and
12362         remove casts.  Use decimal rather than hex exponent constants.
12363         Don't use long double multiplication when double will suffice.
12364         * math/libm-test.inc (nextafter_test_data): Add tests.
12365         * NEWS: Add 16739 and 16786 to bug list.
12366
12367         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12368
12369         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12370
12371 2014-04-01  Will Newton  <will.newton@linaro.org>
12372
12373         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12374         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12375
12376 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12377
12378         [BZ #13347]
12379         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12380         * nptl/tst-setuid2.c: New file.
12381         * nptl/Makefile (xtests): Add tst-setuid2.
12382
12383 2014-04-01  Alan Modra  <amodra@gmail.com>
12384
12385         [BZ #16786]
12386         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12387
12388 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12389
12390         [BZ #6803]
12391         [BZ #6804]
12392         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12393         set errno as appropriate.
12394         * math/w_scalbf.c (__scalbf): Likewise.
12395         * math/w_scalbl.c (__scalbl): Likewise.
12396         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12397         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12398         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12399         Add more NaN tests.
12400
12401         [BZ #16349]
12402         * math/w_atan2.c: Include <errno.h>.
12403         (__atan2): Set errno for result underflowing to zero.
12404         * math/w_atan2f.c: Include <errno.h>.
12405         (__atan2f): Set errno for result underflowing to zero.
12406         * math/w_atan2l.c: Include <errno.h>.
12407         (__atan2l): Set errno for result underflowing to zero.
12408         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12409         tests.
12410         * math/auto-libm-test-out: Regenerated.
12411
12412 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12413
12414         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12415         Encode instruction correctly in little endian.
12416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12417         Likewise.
12418         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12419         Likewise.
12420         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12421         Likewise.
12422         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12423         Likewise.
12424
12425 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12426
12427         [BZ #9894]
12428         * sysdeps/unix/sysv/linux/kernel-features.h
12429         [__sparc__ && !__arch64__ && !__sparc_v9__]
12430         (__ASSUME_SET_ROBUST_LIST): Do not define.
12431         [__sparc__ && !__arch64__ && !__sparc_v9__]
12432         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12433         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12434         Likewise.
12435         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12436         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12437         (__ASSUME_REQUEUE_PI): Likewise.
12438         (__ASSUME_SET_ROBUST_LIST): Likewise.
12439         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12440         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12441         Undefine.
12442         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12443         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12444         Likewise.
12445         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12446         Likewise.
12447         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12448         Likewise.
12449         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12450         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12451         Undefine.
12452         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12453         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12454         Likewise.
12455
12456         [BZ #16648]
12457         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12458         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12459         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12460
12461 2014-03-31  Will Newton  <will.newton@linaro.org>
12462
12463         * benchtests/Makefile (bench): Add ffs and ffsll to list
12464         of tests.
12465         * benchtests/ffs-inputs: New file.
12466         * benchtests/ffsll-inputs: Likewise.
12467
12468 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12469
12470         [BZ #16770]
12471         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12472         too large before casting to int.
12473         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12474         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12475         * math/libm-test.inc (scalb_test_data): Add more tests.
12476
12477 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12478
12479         * benchtests/Makefile (DETAILED_OPT): New make option.
12480         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12481         set.
12482         * benchtests/bench-skeleton.c: Include stdbool.h.
12483         (main): Store and print timings per input.
12484         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12485         member to each argument value.
12486         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12487         (_print_arg_data): Initialize per-input timing to 0.
12488
12489         * benchtests/Makefile (timing-type): New binary.
12490         (bench-clean): Also remove bench-timing-type.
12491         (bench): New target for timing-type.
12492         (bench-func): Print output in JSON format.
12493         * benchtests/bench-skeleton.c (main): Print output in JSON
12494         format.
12495         * benchtests/bench-timing-type.c: New file.
12496         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12497         (TIMING_PRINT_STATS): Remove.
12498         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12499         name separately.
12500
12501         * benchtests/bench-modf.c: Remove.
12502         * benchtests/modf-inputs: New inputs file.
12503
12504 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12505
12506         [BZ #16362]
12507         * math/s_clog10.c (M_PI_LOG10E): New macro.
12508         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12509         imaginary parts are 0.
12510         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12511         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12512         imaginary parts are 0.
12513         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12514         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12515         imaginary parts are 0.
12516         * math/libm-test.inc (clog10_test_data): Update expected results
12517         for when real and imaginary parts are 0.
12518
12519 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12520
12521         * elf/dl-load.c: Finish conversion of __builtin_expect into
12522         __glibc_{un}likely.
12523
12524 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12525
12526         [BZ #16348]
12527         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12528         1+x for argument with exponent below -67.
12529         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12530         Likewise.
12531         * math/auto-libm-test-in: Add more tests of exp.
12532         * math/auto-libm-test-out: Regenerated.
12533
12534 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12535
12536         [BZ #16759]
12537         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12538         (nscd_getnetgrent): Use it.
12539
12540         [BZ #16760]
12541         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12542         of stpcpy.
12543
12544 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12545
12546         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12547         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12548         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12549         (lll_robust_unlock): Remove out of line section. Use cfi
12550         intrinsics.
12551         (LLL_STUB_UNWIND_INFO*): Remove.
12552         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12553         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12554         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12555         (lll_robust_unlock): Remove out of line section. Use cfi
12556         intrinsics.
12557         (LLL_STUB_UNWIND_INFO*): Remove.
12558
12559 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12560
12561         [BZ #16758]
12562         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12563         blank values.
12564
12565 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12566
12567         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12568
12569 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12570
12571         [BZ #16198]
12572         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12573         fnstenv.
12574         * math/test-fenv-preserve.c: New file.
12575         * math/Makefile (tests): Add test-fenv-preserve.
12576
12577 2014-03-26  Will Newton <will.newton@linaro.org>
12578
12579         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12580
12581 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12582
12583         * scripts/versionlist.awk: Partition the version sets and emit all
12584         GLIBC_* (sorted) before all others (sorted).
12585
12586 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12587
12588         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12589         GLIBC_2.2.5 version.
12590
12591 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12592
12593         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12594         calls.
12595
12596         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12597         previous change.
12598
12599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12600
12601 2014-03-25  Andreas Schwab  <schwab@suse.de>
12602
12603         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12604         label to be used after in6ailist is initialized.
12605
12606 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12607
12608         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12609         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12610
12611 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12612
12613         [BZ #16357]
12614         [BZ #16599]
12615         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12616         min_plus_half.
12617         (fp_formats): Update initializers.
12618         (init_fp_formats): Initialize new field.
12619         (output_for_one_input_case): Allow underflow for results up to
12620         min_plus_half.
12621         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12622         * math/auto-libm-test-in: Don't mark some underflows from asin and
12623         atanh as spurious.
12624         * math/auto-libm-test-out: Regenerated.
12625         * sysdeps/i386/fpu/libm-test-ulps: Update.
12626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12627
12628 2014-03-25  Andreas Schwab  <schwab@suse.de>
12629
12630         * libio/Makefile (tst-ftell-partial-wide-ENV)
12631         (tst-ftell-active-handler-ENV): Define.
12632
12633 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12634
12635         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12636
12637 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12638
12639         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12640
12641 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12642
12643         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12644         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12645         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12646
12647 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12648
12649         [BZ #16634]
12650         * elf/dl-load.c (open_verify): Add mode parameter.
12651         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12652         (open_path): Change from boolean 'secure' to complete flag 'mode'
12653         (_dl_map_object): Adjust.
12654         * elf/Makefile (tests): Add tst-dlopen-aout.
12655         * elf/tst-dlopen-aout.c: New test.
12656
12657 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12658
12659         [BZ #16714]
12660         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12661         (struct stat): Rename member pad0 to __glibc_reserved0.
12662
12663         [BZ #16712]
12664         * sysdeps/s390/s390-32/bits/wordsize.h
12665         (__WORDSIZE32_SIZE_ULONG): New define.
12666         * sysdeps/s390/s390-64/bits/wordsize.h
12667         (__WORDSIZE32_SIZE_ULONG): Likewise.
12668         * sysdeps/generic/stdint.h (SIZE_MAX):
12669         Define as UL if __WORDSIZE32_SIZE_ULONG.
12670
12671         [BZ #16713]
12672         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12673         (__glibc_reserved0): New variable.
12674         (sa_flags): Change type to int.
12675
12676         * posix/Makefile (before-compile): Use += before-compile instead
12677         of a :=.
12678
12679         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12680         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12681
12682 2014-03-20  Andreas Schwab  <schwab@suse.de>
12683
12684         [BZ #16743]
12685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12686         non-matching result from nscd.
12687
12688 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12689
12690         * scripts/bench.py: Moved to ...
12691         * benchtests/scripts/bench.py: ... here.
12692         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12693
12694 2014-03-24  Andreas Schwab  <schwab@suse.de>
12695
12696         [BZ #16002]
12697         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12698         alloca_account and account alloca use for struct in6ailist.
12699
12700 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12701
12702         [BZ #16284]
12703         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12704         rounding mode to recompute results that overflow to infinity or
12705         underflow to zero.
12706         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12707         bug 16284.
12708         * math/auto-libm-test-out: Regenerated.
12709         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12710         (ccosh_test): Likewise.
12711         (csin_test_data): Use plus_oflow.
12712         (csin_test): Use ALL_RM_TEST.
12713         (csinh_test_data): Use plus_oflow.
12714         (csinh_test): Use ALL_RM_TEST.
12715         * sysdeps/i386/fpu/libm-test-ulps: Update.
12716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12717
12718 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12719
12720         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12721         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12722         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12723
12724         [BZ #16731]
12725         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12726         when x - 1 is zero.
12727         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12728         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12729         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12730         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12731         argument is 1.
12732         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12733         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12734         zero.
12735         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12736         * sysdeps/i386/fpu/libm-test-ulps: Update.
12737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12738
12739 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12740
12741         * scripts/bench.pl: Remove file.
12742         * scripts/bench.py: New benchmark script.
12743         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12744         * benchtests/README: Mention python dependency.
12745         * scripts/pylintrc: New file.
12746         * scripts/pylint: New file.
12747
12748         * bits/mathdef.h: Use #ifdef instead of #if.
12749         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12750         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12751         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12752         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12753         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12754         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12755
12756 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12757             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12758
12759         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12761         and strpbrk-ppc64 objects.
12762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12763         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12764         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12765         multiarch strpbrk for POWER7.
12766         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12767         multiarch strpbrk for PPC64.
12768         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12769         ifunc selector.
12770         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12771         strpbrk for POWER7.
12772
12773 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12774
12775         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12776         (atan_test): Likewise.
12777         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12778         (atanh_test): Use ALL_RM_TEST.
12779         (atan2_test_data): Likewise.
12780         (cabs_test): Likewise.
12781         (cacosh_test): Likewise.
12782         (carg_test): Likewise.
12783         (casin_test): Likewise.
12784         (casinh_test): Likewise.
12785         (cbrt_test): Likewise.
12786         (csqrt_test): Likewise.
12787         (erf_test): Likewise.
12788         (erfc_test): Likewise.
12789         (pow10_test): Likewise.
12790         (exp2_test): Likewise.
12791         (hypot_test): Likewise.
12792         (j0_test): Likewise.
12793         (j1_test): Likewise.
12794         (lgamma_test): Likewise.
12795         (gamma_test): Likewise.
12796         (sincos_test): Likewise.
12797         (tanh_test): Likewise.
12798         (y0_test): Likewise.
12799         (y1_test): Likewise.
12800         * sysdeps/i386/fpu/libm-test-ulps: Update.
12801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12802
12803 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12804
12805         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12807         and strcspn-ppc64 objects.
12808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12809         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12810         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12811         multiarch strcspn for POWER7.
12812         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12813         multiarch strcspn for PPC64.
12814         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12815         ifunc selector.
12816         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12817         strcspn for POWER7.
12818
12819 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12820
12821         * math/gen-libm-test.pl (generate_testfile): Expect only function
12822         name as argument to AUTO_TESTS_* and pass results for all rounding
12823         modes to parse_args.
12824         (parse_auto_input): Separate inputs of automatic tests from
12825         outputs before storing in %auto_tests.
12826         * math/libm-test.inc (acos_test_data): Update call to
12827         AUTO_TESTS_f_f.
12828         (acos_test): Use ALL_RM_TEST.
12829         (acos_tonearest_test_data): Remove.
12830         (acos_test_tonearest): Likewise.
12831         (acos_towardzero_test_data): Likewise.
12832         (acos_test_towardzero): Likewise.
12833         (acos_downward_test_data): Likewise.
12834         (acos_test_downward): Likewise.
12835         (acos_upward_test_data): Likewise.
12836         (acos_test_upward): Likewise.
12837         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12838         (asin_test_data): Likewise.
12839         (asin_test): Use ALL_RM_TEST.
12840         (asin_tonearest_test_data): Remove.
12841         (asin_test_tonearest): Likewise.
12842         (asin_towardzero_test_data): Likewise.
12843         (asin_test_towardzero): Likewise.
12844         (asin_downward_test_data): Likewise.
12845         (asin_test_downward): Likewise.
12846         (asin_upward_test_data): Likewise.
12847         (asin_test_upward): Likewise.
12848         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12849         (atan_test_data): Likewise.
12850         (atanh_test_data): Likewise.
12851         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12852         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12853         (carg_test_data): Likewise.
12854         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12855         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12856         (ccosh_test_data): Likewise.
12857         (cexp_test_data): Likewise.
12858         (clog_test_data): Likewise.
12859         (clog10_test_data): Likewise.
12860         (cos_test_data): Update call to AUTO_TESTS_f_f.
12861         (cos_test): Use ALL_RM_TEST.
12862         (cos_tonearest_test_data): Remove.
12863         (cos_test_tonearest): Likewise.
12864         (cos_towardzero_test_data): Likewise.
12865         (cos_test_towardzero): Likewise.
12866         (cos_downward_test_data): Likewise.
12867         (cos_test_downward): Likewise.
12868         (cos_upward_test_data): Likewise.
12869         (cos_test_upward): Likewise.
12870         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12871         (cosh_test): Use ALL_RM_TEST.
12872         (cosh_tonearest_test_data): Remove.
12873         (cosh_test_tonearest): Likewise.
12874         (cosh_towardzero_test_data): Likewise.
12875         (cosh_test_towardzero): Likewise.
12876         (cosh_downward_test_data): Likewise.
12877         (cosh_test_downward): Likewise.
12878         (cosh_upward_test_data): Likewise.
12879         (cosh_test_upward): Likewise.
12880         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12881         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12882         (ctan_test_data): Likewise.
12883         (ctan_test): Use ALL_RM_TEST.
12884         (ctan_tonearest_test_data): Remove.
12885         (ctan_test_tonearest): Likewise.
12886         (ctan_towardzero_test_data): Likewise.
12887         (ctan_test_towardzero): Likewise.
12888         (ctan_downward_test_data): Likewise.
12889         (ctan_test_downward): Likewise.
12890         (ctan_upward_test_data): Likewise.
12891         (ctan_test_upward): Likewise.
12892         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12893         (ctanh_test): Use ALL_RM_TEST.
12894         (ctanh_tonearest_test_data): Remove.
12895         (ctanh_test_tonearest): Likewise.
12896         (ctanh_towardzero_test_data): Likewise.
12897         (ctanh_test_towardzero): Likewise.
12898         (ctanh_downward_test_data): Likewise.
12899         (ctanh_test_downward): Likewise.
12900         (ctanh_upward_test_data): Likewise.
12901         (ctanh_test_upward): Likewise.
12902         (erf_test_data): Update call to AUTO_TESTS_f_f.
12903         (erfc_test_data): Likewise.
12904         (exp_test_data): Likewise.
12905         (exp_test): Use ALL_RM_TEST.
12906         (exp_tonearest_test_data): Remove.
12907         (exp_test_tonearest): Likewise.
12908         (exp_towardzero_test_data): Likewise.
12909         (exp_test_towardzero): Likewise.
12910         (exp_downward_test_data): Likewise.
12911         (exp_test_downward): Likewise.
12912         (exp_upward_test_data): Likewise.
12913         (exp_test_upward): Likewise.
12914         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12915         (exp10_test): Use ALL_RM_TEST.
12916         (exp10_tonearest_test_data): Remove.
12917         (exp10_test_tonearest): Likewise.
12918         (exp10_towardzero_test_data): Likewise.
12919         (exp10_test_towardzero): Likewise.
12920         (exp10_downward_test_data): Likewise.
12921         (exp10_test_downward): Likewise.
12922         (exp10_upward_test_data): Likewise.
12923         (exp10_test_upward): Likewise.
12924         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12925         (expm1_test_data): Likewise.
12926         (expm1_test): Use ALL_RM_TEST.
12927         (expm1_tonearest_test_data): Remove.
12928         (expm1_test_tonearest): Likewise.
12929         (expm1_towardzero_test_data): Likewise.
12930         (expm1_test_towardzero): Likewise.
12931         (expm1_downward_test_data): Likewise.
12932         (expm1_test_downward): Likewise.
12933         (expm1_upward_test_data): Likewise.
12934         (expm1_test_upward): Likewise.
12935         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12936         (fma_test): Use ALL_RM_TEST.
12937         (fma_towardzero_test_data): Remove.
12938         (fma_test_towardzero): Likewise.
12939         (fma_downward_test_data): Likewise.
12940         (fma_test_downward): Likewise.
12941         (fma_upward_test_data): Likewise.
12942         (fma_test_upward): Likewise.
12943         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12944         (j0_test_data): Update call to AUTO_TESTS_f_f.
12945         (j1_test_data): Likewise.
12946         (jn_test_data): Update call to AUTO_TESTS_if_f.
12947         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12948         (log_test_data): Update call to AUTO_TESTS_f_f.
12949         (log10_test_data): Likewise.
12950         (log1p_test_data): Likewise.
12951         (log2_test_data): Likewise.
12952         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12953         (pow_tonearest_test_data): Likewise.
12954         (sin_test_data): Update call to AUTO_TESTS_f_f.
12955         (sin_test): Use ALL_RM_TEST.
12956         (sin_tonearest_test_data): Remove.
12957         (sin_test_tonearest): Likewise.
12958         (sin_towardzero_test_data): Likewise.
12959         (sin_test_towardzero): Likewise.
12960         (sin_downward_test_data): Likewise.
12961         (sin_test_downward): Likewise.
12962         (sin_upward_test_data): Likewise.
12963         (sin_test_upward): Likewise.
12964         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12965         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12966         (sinh_test): Use ALL_RM_TEST.
12967         (sinh_tonearest_test_data): Remove.
12968         (sinh_test_tonearest): Likewise.
12969         (sinh_towardzero_test_data): Likewise.
12970         (sinh_test_towardzero): Likewise.
12971         (sinh_downward_test_data): Likewise.
12972         (sinh_test_downward): Likewise.
12973         (sinh_upward_test_data): Likewise.
12974         (sinh_test_upward): Likewise.
12975         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12976         (sqrt_test): Use ALL_RM_TEST.
12977         (sqrt_tonearest_test_data): Remove.
12978         (sqrt_test_tonearest): Likewise.
12979         (sqrt_towardzero_test_data): Likewise.
12980         (sqrt_test_towardzero): Likewise.
12981         (sqrt_downward_test_data): Likewise.
12982         (sqrt_test_downward): Likewise.
12983         (sqrt_upward_test_data): Likewise.
12984         (sqrt_test_upward): Likewise.
12985         (tan_test_data): Update call to AUTO_TESTS_f_f.
12986         (tan_test): Use ALL_RM_TEST.
12987         (tan_tonearest_test_data): Remove.
12988         (tan_test_tonearest): Likewise.
12989         (tan_towardzero_test_data): Likewise.
12990         (tan_test_towardzero): Likewise.
12991         (tan_downward_test_data): Likewise.
12992         (tan_test_downward): Likewise.
12993         (tan_upward_test_data): Likewise.
12994         (tan_test_upward): Likewise.
12995         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12996         (tgamma_test_data): Likewise.
12997         (y0_test_data): Likewise.
12998         (y1_test_data): Likewise.
12999         (yn_test_data): Update call to AUTO_TESTS_if_f.
13000         (main): Do not call removed functions.
13001
13002 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13003
13004         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13005         (ldexp_test_data): Remove.
13006         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
13007         scalbn_test_data.
13008         (scalb_test): Use ALL_RM_TEST.
13009
13010 2014-03-19  Andreas Schwab  <schwab@suse.de>
13011
13012         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13013
13014 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13015
13016         [BZ #16649]
13017         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13018         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13019         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13020         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13021         (__ASSUME_PREADV): Undefine.
13022         (__ASSUME_PWRITEV): Likewise.
13023
13024 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13025
13026         * bits/mman-linux.h: Add comment about non-Linux use.
13027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13028         bits/mman-linux.h resting place.
13029
13030         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13031         * bits/mman-linux.h: ... here.
13032
13033 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13034
13035         * conform/conformtest.pl: Add standard definition when calling C
13036         preprocessor on data files.
13037         (checknamespace): Remove unused variable.
13038
13039 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13040
13041         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13042         minus_oflow, plus_uflow and minus_uflow in expected results.
13043         * math/libm-test.inc (scalbn_test_data): Add more tests of
13044         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13045         minus_uflow.
13046         (scalbn_test): Use ALL_RM_TEST.
13047         (scalbln_test_data): Add more tests of negative arguments.  Use
13048         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13049         (scalbln_test): Use ALL_RM_TEST.
13050
13051 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13052
13053         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13054
13055 2014-03-18  Will Newton  <will.newton@linaro.org>
13056
13057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13058         inaccurate comment.
13059
13060 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13061
13062         * Makerules [!subdir] (check-abi): Exit with error status if a
13063         test failed.
13064
13065 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13066
13067         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13068         for rint.  Include results for all rounding modes.
13069         (nearbyint_test): Use ALL_RM_TEST.
13070         (rint_test_data): Include all tests used for nearbyint.
13071
13072 2014-03-17  Will Newton  <will.newton@linaro.org>
13073
13074         * nptl/sysdeps/pthread/pthread.h: Revert previous
13075         change.
13076
13077         * sysdeps/generic/ldsodefs.h: Revert previous
13078         change.
13079
13080         * libio/genops.c: Revert previous change.
13081         * libio/libioP.h: Likewise.
13082         * stdio-common/vfprintf.c: Likewise.
13083
13084         * sysdeps/generic/math_private.h: Revert previous
13085         change.
13086
13087         * sysdeps/generic/math_private.h: Check whether
13088         HAVE_RM_CTX is defined with #ifdef rather
13089         than #if.
13090
13091         * argp/argp-fmtstream.h: Check whether
13092         __STRICT_ANSI__ is defined with #ifdef rather
13093         than #if.
13094         * argp/argp.h: Likewise.
13095
13096         * libio/genops.c: Check whether
13097         _IO_JUMPS_OFFSET is defined with #ifdef rather
13098         than #if.
13099         * libio/libioP.h: Likewise.
13100         * stdio-common/vfprintf.c: Likewise.
13101
13102         * sysdeps/generic/ldsodefs.h: Check whether
13103         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13104         than #if.
13105
13106         * nptl/sysdeps/pthread/pthread.h: Check
13107         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13108         its value.
13109
13110 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13111
13112         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13113         setting O_APPEND.
13114         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13115         test case.
13116
13117         [BZ #16680]
13118         * libio/fileops.c (_IO_file_open): Seek to end of file but
13119         don't cache the offset.
13120         (get_file_offset): Remove function.
13121         (do_ftell): Use cached offset when available.
13122         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13123         don't cache the offset.
13124         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13125         case.
13126         (do_one_test): Call it.
13127         (do_ftell_test): Fix up expected old offset for a+ mode.
13128         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13129         available.
13130
13131         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13132         up test status with function return status.
13133         (do_write_test): Likewise.
13134         (do_append_test): Likewise.
13135
13136         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13137         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13138         Remove.
13139
13140 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13141
13142         * math/gen-libm-test.pl (parse_args): Handle results specified for
13143         each rounding mode separately.
13144         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13145         tests and results from lrint_tonearest_test_data,
13146         lrint_towardzero_test_data, lrint_downward_test_data and
13147         lrint_upward_test_data.
13148         (lrint_test): Use ALL_RM_TEST.
13149         (lrint_tonearest_test_data): Remove.
13150         (lrint_test_tonearest): Likewise.
13151         (lrint_towardzero_test_data): Likewise.
13152         (lrint_test_towardzero): Likewise.
13153         (lrint_downward_test_data): Likewise.
13154         (lrint_test_downward): Likewise.
13155         (lrint_upward_test_data): Likewise.
13156         (lrint_test_upward): Likewise.
13157         (llrint_test_data): Merge in per-rounding-mode tests and results
13158         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13159         llrint_downward_test_data and llrint_upward_test_data.
13160         (llrint_test): Use ALL_RM_TEST.
13161         (llrint_tonearest_test_data): Remove.
13162         (llrint_test_tonearest): Likewise.
13163         (llrint_towardzero_test_data): Likewise.
13164         (llrint_test_towardzero): Likewise.
13165         (llrint_downward_test_data): Likewise.
13166         (llrint_test_downward): Likewise.
13167         (llrint_upward_test_data): Likewise.
13168         (llrint_test_upward): Likewise.
13169         (rint_test_data): Merge in per-rounding-mode tests and results
13170         from rint_tonearest_test_data, rint_towardzero_test_data,
13171         rint_downward_test_data and rint_upward_test_data.  Add
13172         per-rounding-mode results for tests not in those arrays.
13173         (rint_test): Use ALL_RM_TEST.
13174         (rint_tonearest_test_data): Remove.
13175         (rint_test_tonearest): Likewise.
13176         (rint_towardzero_test_data): Likewise.
13177         (rint_test_towardzero): Likewise.
13178         (rint_downward_test_data): Likewise.
13179         (rint_test_downward): Likewise.
13180         (rint_upward_test_data): Likewise.
13181         (rint_test_upward): Likewise.
13182         (main): Don't call removed functions.
13183
13184 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13185
13186         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13187         "Compiled on ..." crapola.  It is anti-useful.
13188
13189 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13190
13191         * scripts/evaluate-test.sh: Handle fourth argument to determine
13192         whether test run should stop on failure.
13193         * Makeconfig (stop-on-test-failure): New variable.
13194         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13195         $(stop-on-test-failure).
13196         * Makefile (tests): Give a summary of results from testing and
13197         exit with failure status if they include an ERROR or FAIL.
13198         (xtests): Likewise.
13199         * manual/install.texi (Configuring and compiling): Mention
13200         stop-on-test-failure=y.
13201         * INSTALL: Regenerated.
13202
13203 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13204
13205         * scripts/versionlist.awk: New file.
13206         * Makerules [$(build-shared) = yes]
13207         (postclean-generated): Add Versions.def, not Versions.def.v and
13208         Versions.def.v.i.
13209         ($(common-objpfx)Versions.def.v.i): Target removed.
13210         ($(common-objpfx)Versions.def): New target.
13211         ($(common-objpfx)Versions.all): Depend on that rather that
13212         $(common-objpfx)Versions.def.v.
13213         * Versions.def: File removed.
13214
13215         * Makeconfig (+gccwarn): Add -Wundef.
13216         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13217         a dl-sysdep.h breaking its contract.
13218         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13219         * include/stackinfo.h: New file.
13220         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13221         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13222         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13223         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13224         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13225         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13226         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13227         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13228         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13229         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13230         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13231         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13232         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13233         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13234         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13235
13236 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13237
13238         [BZ #16707]
13239         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13240         implementation.
13241         * math/libm-test.inc (round_test_data): Add more tests.
13242
13243         [BZ #16706]
13244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13245         implementation.
13246         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13247
13248         [BZ #16701]
13249         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13250         implementation.
13251         * math/libm-test.inc (ceil_test_data): Add more tests.
13252
13253         * math/libm-test.inc (trunc_test_data): Add more tests related to
13254         BZ#16414.
13255
13256 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13257
13258         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13259         with #if rather than #ifdef.
13260         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13261
13262 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13263
13264         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13265         first.  Disable AVX-512 GCC support if assembler doesn't support
13266         it.
13267         * sysdeps/x86_64/configure: Regenerated.
13268
13269 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13270
13271         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13272         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13273         (__old_pthread_attr_setstack): Likewise.
13274         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13275         [!_STACK_GROWS_DOWN]: Likewise.
13276
13277 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13278
13279         * config.make.in (have-bash2): Delete.
13280         * configure.ac (libc_cv_have_bash2): Delete.
13281         * configure: Regenerate.
13282         * elf/Makefile (common-ldd-rewrite): Rename to ...
13283         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13284         (sh-ldd-rewrite): Delete.
13285         (bash-ldd-rewrite): Delete.
13286         (have-bash2): Delete checks.
13287         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13288         ldd-rewrite.
13289
13290         * config.make.in (have-ksh): Delete.
13291         (KSH): Delete.
13292         * configure.ac (libc_cv_have_ksh): Delete.
13293         * configure: Regenerate.
13294
13295         * elf/Makefile: Delete $(have-ksh) check.
13296         ($(objpfx)sotruss): Change KSH to BASH.
13297         * elf/sotruss.ksh: Rename to ...
13298         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13299         function style to match POSIX.  Drop ksh vim mode setting.
13300
13301         * manual/time.texi (Specifying the Time Zone with TZ): Change
13302         Tuesday to Thursday.
13303
13304         * debug/tst-longjmp_chk2.c: Update header comment.
13305         (stackoverflow_handler): Add comment.  Call assert on pass value.
13306
13307 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13308
13309         [BZ #16194]
13310         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13311         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13312         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13313         (La_x86_64_vector): Add zmm.
13314         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13315         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13316         ($(objpfx)tst-audit10): New target.
13317         ($(objpfx)tst-audit10.out): Likewise.
13318         (tst-audit10-ENV): New.
13319         (AVX512-CFLAGS): Likewise.
13320         (CFLAGS-tst-audit10.c): Likewise.
13321         (CFLAGS-tst-auditmod10a.c): Likewise.
13322         (CFLAGS-tst-auditmod10b.c): Likewise.
13323         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13324         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13325         * sysdeps/x86_64/configure: Regenerated.
13326         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13327         AVX-512 zmm register support.
13328         (_dl_x86_64_save_sse): Likewise.
13329         (_dl_x86_64_restore_sse): Likewise.
13330         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13331         size vector registers.
13332         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13333         (ZMM_SIZE): Likewise.
13334         * sysdeps/x86_64/tst-audit10.c: New file.
13335         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13336         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13337
13338 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13339
13340         * configure.ac (HAVE_EHDR_START): New check.
13341         * configure: Regenerated.
13342         * config.h.in (HAVE_EHDR_START): New #undef.
13343         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13344         assuming the lowest-addressed segment maps the start of the file.
13345
13346 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13347
13348         * INSTALL: Regenerated.
13349
13350 2014-03-13  Will Newton  <will.newton@linaro.org>
13351
13352         * manual/setjmp.texi (System V contexts): Improve
13353         clarity and grammar of documentation.
13354
13355 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13356
13357         [BZ #16381]
13358         * elf/Makefile (tests): Add tst-pie2.
13359         (tests-pie): Add tst-pie2.
13360         * elf/tst-pie2.c: New file.
13361         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13362         for ET_EXEC.
13363         * elf/rtld.c (map_doit): Load executable as lt_executable.
13364         (dl_main): Likewise.
13365
13366 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13367
13368         [BZ #16642]
13369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13370         (__ASSUME_PSELECT): Undefine.
13371
13372 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13373
13374         [BZ #16689]
13375         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13376         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13377         static build.
13378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13379         selector for static builds.
13380
13381 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13382
13383         [BZ #16695]
13384         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13385         key in the buffer.
13386
13387 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13388
13389         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13390         IFUNC selector for static builds.
13391
13392 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13393
13394         * sysdeps/mips/math_private.h [__mips_hard_float]
13395         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13396         libc_feresetround_mips_ctx.
13397         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13398         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13399         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13400
13401         [BZ #16677]
13402         * math/s_nextafter.c (__nextafter): Do not return value from
13403         overflowing computation.
13404         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13405         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13406         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13407         Likewise.
13408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13409         Likewise.
13410         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13411         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13412
13413 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13414
13415         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13416         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13417         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13418         the new mov targetting sp.
13419
13420 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13421
13422         [BZ #16683]
13423         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13424         Define it for static builds as well.
13425         (NO_BZERO_IMPL): Likewise.
13426
13427 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13428
13429         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13430         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13431         multiarch strspn for PPC64.
13432         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13433         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13435         (__libc_ifunc_impl_list): Likewise.
13436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13437         multiarch optimizations
13438         * string/strspn.c (strspn): Using macro to redefine symbol name.
13439
13440 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13442
13443         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13444         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13445         multiarch strncat for PPC64.
13446         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13447         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13449         (__libc_ifunc_impl_list): Likewise.
13450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13451         multiarch optimizations
13452
13453 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13454
13455         [BZ #16639]
13456         * nscd/nscd.service: Make service type forking.
13457
13458 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13459
13460         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13461         sign in non default rounding modes.
13462         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13463
13464 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13465
13466         * math/libm-test.inc (ALL_RM_TEST): New macro.
13467         (ceil_test): Use ALL_RM_TEST.
13468         (cimag_test): Likewise.
13469         (conj_test): Likewise.
13470         (copysign_test): Likewise.
13471         (cproj_test): Likewise.
13472         (creal_test): Likewise.
13473         (fabs_test): Likewise.
13474         (floor_test): Likewise.
13475         (fmax_test): Likewise.
13476         (fmin_test): Likewise.
13477         (fmod_test): Likewise.
13478         (fpclassify_test): Likewise.
13479         (frexp_test): Likewise.
13480         (ilogb_test): Likewise.
13481         (isfinite_test): Likewise.
13482         (finite_test): Likewise.
13483         (isgreater_test): Likewise.
13484         (isgreaterequal_test): Likewise.
13485         (isinf_test): Likewise.
13486         (isless_test): Likewise.
13487         (islessequal_test): Likewise.
13488         (islessgreater_test): Likewise.
13489         (isnan_test): Likewise.
13490         (isnormal_test): Likewise.
13491         (issignaling_test): Likewise.
13492         (isunordered_test): Likewise.
13493         (logb_test): Likewise.
13494         (logb_downward_test_data): Remove.
13495         (logb_test_downward): Likewise.
13496         (lround_test): Use ALL_RM_TEST.
13497         (llround_test): Likewise.
13498         (modf_test): Likewise.
13499         (nexttoward_test): Likewise.
13500         (remainder_test): Likewise.
13501         (drem_test): Likewise.
13502         (remainder_tonearest_test_data): Likewise.
13503         (remainder_test_tonearest): Likewise.
13504         (drem_test_tonearest): Likewise.
13505         (remainder_towardzero_test_data): Likewise.
13506         (remainder_test_towardzero): Likewise.
13507         (drem_test_towardzero): Likewise.
13508         (remainder_downward_test_data): Likewise.
13509         (remainder_test_downward): Likewise.
13510         (drem_test_downward): Likewise.
13511         (remainder_upward_test_data): Likewise.
13512         (remainder_test_upward): Likewise.
13513         (drem_test_upward): Likewise.
13514         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13515         (round_test): Use ALL_RM_TEST.
13516         (signbit_test): Likewise.
13517         (trunc_test): Likewise.
13518         (significand_test): Likewise.
13519         (main): Don't call removed functions.
13520
13521 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13522
13523         [BZ #16674]
13524         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13525         || __USE_XOPEN2K8].
13526         (ILL_ILLOPN): Likewise.
13527         (ILL_ILLADR): Likewise.
13528         (ILL_ILLTRP): Likewise.
13529         (ILL_PRVOPC): Likewise.
13530         (ILL_PRVREG): Likewise.
13531         (ILL_COPROC): Likewise.
13532         (ILL_BADSTK): Likewise.
13533         (FPE_INTDIV): Likewise.
13534         (FPE_INTOVF): Likewise.
13535         (FPE_FLTDIV): Likewise.
13536         (FPE_FLTOVF): Likewise.
13537         (FPE_FLTUND): Likewise.
13538         (FPE_FLTRES): Likewise.
13539         (FPE_FLTINV): Likewise.
13540         (FPE_FLTSUB): Likewise.
13541         (SEGV_MAPERR): Likewise.
13542         (SEGV_ACCERR): Likewise.
13543         (BUS_ADRALN): Likewise.
13544         (BUS_ADRERR): Likewise.
13545         (BUS_OBJERR): Likewise.
13546         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13547         (TRAP_TRACE): Likewise.
13548         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13549         __USE_XOPEN2K8].
13550         (CLD_KILLED): Likewise.
13551         (CLD_DUMPED): Likewise.
13552         (CLD_TRAPPED): Likewise.
13553         (CLD_STOPPED): Likewise.
13554         (CLD_CONTINUED): Likewise.
13555         (POLL_IN): Likewise.
13556         (POLL_OUT): Likewise.
13557         (POLL_MSG): Likewise.
13558         (POLL_ERR): Likewise.
13559         (POLL_PRI): Likewise.
13560         (POLL_HUP): Likewise.
13561         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13562         Likewise.
13563         (ILL_ILLOPN): Likewise.
13564         (ILL_ILLADR): Likewise.
13565         (ILL_ILLTRP): Likewise.
13566         (ILL_PRVOPC): Likewise.
13567         (ILL_PRVREG): Likewise.
13568         (ILL_COPROC): Likewise.
13569         (ILL_BADSTK): Likewise.
13570         (FPE_INTDIV): Likewise.
13571         (FPE_INTOVF): Likewise.
13572         (FPE_FLTDIV): Likewise.
13573         (FPE_FLTOVF): Likewise.
13574         (FPE_FLTUND): Likewise.
13575         (FPE_FLTRES): Likewise.
13576         (FPE_FLTINV): Likewise.
13577         (FPE_FLTSUB): Likewise.
13578         (SEGV_MAPERR): Likewise.
13579         (SEGV_ACCERR): Likewise.
13580         (BUS_ADRALN): Likewise.
13581         (BUS_ADRERR): Likewise.
13582         (BUS_OBJERR): Likewise.
13583         (BUS_MCEERR_AR): Likewise.
13584         (BUS_MCEERR_AO): Likewise.
13585         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13586         (TRAP_TRACE): Likewise.
13587         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13588         __USE_XOPEN2K8].
13589         (CLD_KILLED): Likewise.
13590         (CLD_DUMPED): Likewise.
13591         (CLD_TRAPPED): Likewise.
13592         (CLD_STOPPED): Likewise.
13593         (CLD_CONTINUED): Likewise.
13594         (POLL_IN): Likewise.
13595         (POLL_OUT): Likewise.
13596         (POLL_MSG): Likewise.
13597         (POLL_ERR): Likewise.
13598         (POLL_PRI): Likewise.
13599         (POLL_HUP): Likewise.
13600         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13601         (ILL_ILLOPN): Likewise.
13602         (ILL_ILLADR): Likewise.
13603         (ILL_ILLTRP): Likewise.
13604         (ILL_PRVOPC): Likewise.
13605         (ILL_PRVREG): Likewise.
13606         (ILL_COPROC): Likewise.
13607         (ILL_BADSTK): Likewise.
13608         (FPE_INTDIV): Likewise.
13609         (FPE_INTOVF): Likewise.
13610         (FPE_FLTDIV): Likewise.
13611         (FPE_FLTOVF): Likewise.
13612         (FPE_FLTUND): Likewise.
13613         (FPE_FLTRES): Likewise.
13614         (FPE_FLTINV): Likewise.
13615         (FPE_FLTSUB): Likewise.
13616         (SEGV_MAPERR): Likewise.
13617         (SEGV_ACCERR): Likewise.
13618         (BUS_ADRALN): Likewise.
13619         (BUS_ADRERR): Likewise.
13620         (BUS_OBJERR): Likewise.
13621         (BUS_MCEERR_AR): Likewise.
13622         (BUS_MCEERR_AO): Likewise.
13623         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13624         (TRAP_TRACE): Likewise.
13625         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13626         __USE_XOPEN2K8].
13627         (CLD_KILLED): Likewise.
13628         (CLD_DUMPED): Likewise.
13629         (CLD_TRAPPED): Likewise.
13630         (CLD_STOPPED): Likewise.
13631         (CLD_CONTINUED): Likewise.
13632         (POLL_IN): Likewise.
13633         (POLL_OUT): Likewise.
13634         (POLL_MSG): Likewise.
13635         (POLL_ERR): Likewise.
13636         (POLL_PRI): Likewise.
13637         (POLL_HUP): Likewise.
13638         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13639         Likewise.
13640         (ILL_ILLOPN): Likewise.
13641         (ILL_ILLADR): Likewise.
13642         (ILL_ILLTRP): Likewise.
13643         (ILL_PRVOPC): Likewise.
13644         (ILL_PRVREG): Likewise.
13645         (ILL_COPROC): Likewise.
13646         (ILL_BADSTK): Likewise.
13647         (ILL_BADIADDR): Likewise.
13648         (ILL_BREAK): Likewise.
13649         (FPE_INTDIV): Likewise.
13650         (FPE_INTOVF): Likewise.
13651         (FPE_FLTDIV): Likewise.
13652         (FPE_FLTOVF): Likewise.
13653         (FPE_FLTUND): Likewise.
13654         (FPE_FLTRES): Likewise.
13655         (FPE_FLTINV): Likewise.
13656         (FPE_FLTSUB): Likewise.
13657         (FPE_DECOVF): Likewise.
13658         (FPE_DECDIV): Likewise.
13659         (FPE_DECERR): Likewise.
13660         (FPE_INVASC): Likewise.
13661         (FPE_INVDEC): Likewise.
13662         (SEGV_MAPERR): Likewise.
13663         (SEGV_ACCERR): Likewise.
13664         (SEGV_PSTKOVF): Likewise.
13665         (BUS_ADRALN): Likewise.
13666         (BUS_ADRERR): Likewise.
13667         (BUS_OBJERR): Likewise.
13668         (BUS_MCEERR_AR): Likewise.
13669         (BUS_MCEERR_AO): Likewise.
13670         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13671         (TRAP_TRACE): Likewise.
13672         (TRAP_BRANCH): Likewise.
13673         (TRAP_HWBKPT): Likewise.
13674         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13675         __USE_XOPEN2K8].
13676         (CLD_KILLED): Likewise.
13677         (CLD_DUMPED): Likewise.
13678         (CLD_TRAPPED): Likewise.
13679         (CLD_STOPPED): Likewise.
13680         (CLD_CONTINUED): Likewise.
13681         (POLL_IN): Likewise.
13682         (POLL_OUT): Likewise.
13683         (POLL_MSG): Likewise.
13684         (POLL_ERR): Likewise.
13685         (POLL_PRI): Likewise.
13686         (POLL_HUP): Likewise.
13687         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13688         (ILL_ILLOPN): Likewise.
13689         (ILL_ILLADR): Likewise.
13690         (ILL_ILLTRP): Likewise.
13691         (ILL_PRVOPC): Likewise.
13692         (ILL_PRVREG): Likewise.
13693         (ILL_COPROC): Likewise.
13694         (ILL_BADSTK): Likewise.
13695         (FPE_INTDIV): Likewise.
13696         (FPE_INTOVF): Likewise.
13697         (FPE_FLTDIV): Likewise.
13698         (FPE_FLTOVF): Likewise.
13699         (FPE_FLTUND): Likewise.
13700         (FPE_FLTRES): Likewise.
13701         (FPE_FLTINV): Likewise.
13702         (FPE_FLTSUB): Likewise.
13703         (SEGV_MAPERR): Likewise.
13704         (SEGV_ACCERR): Likewise.
13705         (BUS_ADRALN): Likewise.
13706         (BUS_ADRERR): Likewise.
13707         (BUS_OBJERR): Likewise.
13708         (BUS_MCEERR_AR): Likewise.
13709         (BUS_MCEERR_AO): Likewise.
13710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13711         (TRAP_TRACE): Likewise.
13712         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13713         __USE_XOPEN2K8].
13714         (CLD_KILLED): Likewise.
13715         (CLD_DUMPED): Likewise.
13716         (CLD_TRAPPED): Likewise.
13717         (CLD_STOPPED): Likewise.
13718         (CLD_CONTINUED): Likewise.
13719         (POLL_IN): Likewise.
13720         (POLL_OUT): Likewise.
13721         (POLL_MSG): Likewise.
13722         (POLL_ERR): Likewise.
13723         (POLL_PRI): Likewise.
13724         (POLL_HUP): Likewise.
13725         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13726         (ILL_ILLOPN): Likewise.
13727         (ILL_ILLADR): Likewise.
13728         (ILL_ILLTRP): Likewise.
13729         (ILL_PRVOPC): Likewise.
13730         (ILL_PRVREG): Likewise.
13731         (ILL_COPROC): Likewise.
13732         (ILL_BADSTK): Likewise.
13733         (FPE_INTDIV): Likewise.
13734         (FPE_INTOVF): Likewise.
13735         (FPE_FLTDIV): Likewise.
13736         (FPE_FLTOVF): Likewise.
13737         (FPE_FLTUND): Likewise.
13738         (FPE_FLTRES): Likewise.
13739         (FPE_FLTINV): Likewise.
13740         (FPE_FLTSUB): Likewise.
13741         (SEGV_MAPERR): Likewise.
13742         (SEGV_ACCERR): Likewise.
13743         (BUS_ADRALN): Likewise.
13744         (BUS_ADRERR): Likewise.
13745         (BUS_OBJERR): Likewise.
13746         (BUS_MCEERR_AR): Likewise.
13747         (BUS_MCEERR_AO): Likewise.
13748         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13749         (TRAP_TRACE): Likewise.
13750         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13751         __USE_XOPEN2K8].
13752         (CLD_KILLED): Likewise.
13753         (CLD_DUMPED): Likewise.
13754         (CLD_TRAPPED): Likewise.
13755         (CLD_STOPPED): Likewise.
13756         (CLD_CONTINUED): Likewise.
13757         (POLL_IN): Likewise.
13758         (POLL_OUT): Likewise.
13759         (POLL_MSG): Likewise.
13760         (POLL_ERR): Likewise.
13761         (POLL_PRI): Likewise.
13762         (POLL_HUP): Likewise.
13763         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13764         (ILL_ILLOPN): Likewise.
13765         (ILL_ILLADR): Likewise.
13766         (ILL_ILLTRP): Likewise.
13767         (ILL_PRVOPC): Likewise.
13768         (ILL_PRVREG): Likewise.
13769         (ILL_COPROC): Likewise.
13770         (ILL_BADSTK): Likewise.
13771         (FPE_INTDIV): Likewise.
13772         (FPE_INTOVF): Likewise.
13773         (FPE_FLTDIV): Likewise.
13774         (FPE_FLTOVF): Likewise.
13775         (FPE_FLTUND): Likewise.
13776         (FPE_FLTRES): Likewise.
13777         (FPE_FLTINV): Likewise.
13778         (FPE_FLTSUB): Likewise.
13779         (SEGV_MAPERR): Likewise.
13780         (SEGV_ACCERR): Likewise.
13781         (BUS_ADRALN): Likewise.
13782         (BUS_ADRERR): Likewise.
13783         (BUS_OBJERR): Likewise.
13784         (BUS_MCEERR_AR): Likewise.
13785         (BUS_MCEERR_AO): Likewise.
13786         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13787         (TRAP_TRACE): Likewise.
13788         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13789         __USE_XOPEN2K8].
13790         (CLD_KILLED): Likewise.
13791         (CLD_DUMPED): Likewise.
13792         (CLD_TRAPPED): Likewise.
13793         (CLD_STOPPED): Likewise.
13794         (CLD_CONTINUED): Likewise.
13795         (POLL_IN): Likewise.
13796         (POLL_OUT): Likewise.
13797         (POLL_MSG): Likewise.
13798         (POLL_ERR): Likewise.
13799         (POLL_PRI): Likewise.
13800         (POLL_HUP): Likewise.
13801         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13802         (ILL_ILLOPN): Likewise.
13803         (ILL_ILLADR): Likewise.
13804         (ILL_ILLTRP): Likewise.
13805         (ILL_PRVOPC): Likewise.
13806         (ILL_PRVREG): Likewise.
13807         (ILL_COPROC): Likewise.
13808         (ILL_BADSTK): Likewise.
13809         (ILL_DBLFLT): Likewise.
13810         (ILL_HARDWALL): Likewise.
13811         (FPE_INTDIV): Likewise.
13812         (FPE_INTOVF): Likewise.
13813         (FPE_FLTDIV): Likewise.
13814         (FPE_FLTOVF): Likewise.
13815         (FPE_FLTUND): Likewise.
13816         (FPE_FLTRES): Likewise.
13817         (FPE_FLTINV): Likewise.
13818         (FPE_FLTSUB): Likewise.
13819         (SEGV_MAPERR): Likewise.
13820         (SEGV_ACCERR): Likewise.
13821         (BUS_ADRALN): Likewise.
13822         (BUS_ADRERR): Likewise.
13823         (BUS_OBJERR): Likewise.
13824         (BUS_MCEERR_AR): Likewise.
13825         (BUS_MCEERR_AO): Likewise.
13826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13827         (TRAP_TRACE): Likewise.
13828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13829         __USE_XOPEN2K8].
13830         (CLD_KILLED): Likewise.
13831         (CLD_DUMPED): Likewise.
13832         (CLD_TRAPPED): Likewise.
13833         (CLD_STOPPED): Likewise.
13834         (CLD_CONTINUED): Likewise.
13835         (POLL_IN): Likewise.
13836         (POLL_OUT): Likewise.
13837         (POLL_MSG): Likewise.
13838         (POLL_ERR): Likewise.
13839         (POLL_PRI): Likewise.
13840         (POLL_HUP): Likewise.
13841         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13842         (ILL_ILLOPN): Likewise.
13843         (ILL_ILLADR): Likewise.
13844         (ILL_ILLTRP): Likewise.
13845         (ILL_PRVOPC): Likewise.
13846         (ILL_PRVREG): Likewise.
13847         (ILL_COPROC): Likewise.
13848         (ILL_BADSTK): Likewise.
13849         (FPE_INTDIV): Likewise.
13850         (FPE_INTOVF): Likewise.
13851         (FPE_FLTDIV): Likewise.
13852         (FPE_FLTOVF): Likewise.
13853         (FPE_FLTUND): Likewise.
13854         (FPE_FLTRES): Likewise.
13855         (FPE_FLTINV): Likewise.
13856         (FPE_FLTSUB): Likewise.
13857         (SEGV_MAPERR): Likewise.
13858         (SEGV_ACCERR): Likewise.
13859         (BUS_ADRALN): Likewise.
13860         (BUS_ADRERR): Likewise.
13861         (BUS_OBJERR): Likewise.
13862         (BUS_MCEERR_AR): Likewise.
13863         (BUS_MCEERR_AO): Likewise.
13864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13865         (TRAP_TRACE): Likewise.
13866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13867         __USE_XOPEN2K8].
13868         (CLD_KILLED): Likewise.
13869         (CLD_DUMPED): Likewise.
13870         (CLD_TRAPPED): Likewise.
13871         (CLD_STOPPED): Likewise.
13872         (CLD_CONTINUED): Likewise.
13873         (POLL_IN): Likewise.
13874         (POLL_OUT): Likewise.
13875         (POLL_MSG): Likewise.
13876         (POLL_ERR): Likewise.
13877         (POLL_PRI): Likewise.
13878         (POLL_HUP): Likewise.
13879         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13880         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13881
13882         [BZ #16670]
13883         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13884         before #include of <time.h>.
13885         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13886         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13887         (test-xfail-UNIX98/sched.h/conform): Likewise.
13888
13889 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13890
13891         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13892         error absence of trapping exception support.
13893         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13894
13895 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13896
13897         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13898         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13899         * timezone/Makefile (testdata): Move definition above include of
13900         Rules.
13901         (test-zones): New variable.
13902         (tests-special): Add zone files.
13903         (build-testdata): Use $(evaluate-test).
13904
13905         * elf/Makefile (tests-special): Rename tests to end with .out.
13906         ($(objpfx)noload-mem): Likewise.
13907         ($(objpfx)tst-leaks1-mem): Likewise.
13908         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13909         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13910         $(objpfx)test-iconvconfig.out.
13911         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13912         set -e inside subshell and redirect output to file.
13913         * iconvdata/Makefile (generated): Rename tests to end with .out.
13914         Correct type.
13915         (tests-special): Rename tests to end with .out.
13916         ($(objpfx)mtrace-tst-loading): Likewise.
13917         * intl/Makefile (generated): Likewise.
13918         (tests-special): Likewise.
13919         ($(objpfx)mtrace-tst-gettext): Likewise.
13920         * misc/Makefile (generated): Likewise.
13921         (tests-special): Likewise.
13922         ($(objpfx)tst-error1-mem): Likewise.
13923         * nptl/Makefile (tests-special): Likewise.
13924         ($(objpfx)tst-stack3-mem): Likewise.
13925         (generated): Likewise.
13926         * posix/Makefile (generated): Likewise.
13927         (tests-special): Likewise.
13928         (xtests-special): Likewise.
13929         ($(objpfx)tst-fnmatch-mem): Likewise.
13930         ($(objpfx)bug-regex2-mem): Likewise.
13931         ($(objpfx)bug-regex14-mem): Likewise.
13932         ($(objpfx)bug-regex21-mem): Likewise.
13933         ($(objpfx)bug-regex31-mem): Likewise.
13934         ($(objpfx)tst-vfork3-mem): Likewise.
13935         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13936         ($(objpfx)tst-pcre-mem): Likewise.
13937         ($(objpfx)tst-boost-mem): Likewise.
13938         ($(objpfx)bug-ga2-mem): Likewise.
13939         ($(objpfx)bug-glob2-mem): Likewise.
13940         * resolv/Makefile (generate): Likewise.
13941         (tests-special): Likewise.
13942         (xtests-special): Likewise.
13943         (generated): Likewise.
13944         ($(objpfx)mtrace-tst-leaks): Likewise.
13945         ($(objpfx)mtrace-tst-leaks2): Likewise.
13946
13947         * scripts/merge-test-results.sh: New file.
13948         * Makefile (tests-special-notdir): New variable.
13949         (tests): Run merge-test-results.sh.
13950         (xtests): Likewise.
13951         * Rules (tests-special-notdir): New variable.
13952         (xtests-special-notdir): Likewise.
13953         (tests): Run merge-test-results.sh
13954         (xtests): Likewise.
13955
13956         * Makeconfig (test-xfail-name): New variable.
13957         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13958         compute variable name for expected failures.
13959         * conform/Makefile (conformtest-headers-data): New variable.
13960         (conformtest-standards): Likewise.
13961         (conformtest-headers-ISO): Likewise.
13962         (conformtest-headers-ISO99): Likewise.
13963         (conformtest-headers-ISO11): Likewise.
13964         (conformtest-headers-POSIX): Likewise.
13965         (conformtest-headers-XPG3): Likewise.
13966         (conformtest-headers-XPG4): Likewise.
13967         (conformtest-headers-UNIX98): Likewise.
13968         (conformtest-headers-XOPEN2K): Likewise.
13969         (conformtest-headers-POSIX2008): Likewise.
13970         (conformtest-headers-XOPEN2K8): Likewise.
13971         (conformtest-header-list-base): Likewise.
13972         (conformtest-header-list-tests): Likewise.
13973         (conformtest-header-base): Likewise.
13974         (conformtest-header-tests): Likewise.
13975         (tests-special): Add $(conformtest-header-list-tests).  If
13976         [$(fast-check) && !$(cross-compiling)], add
13977         $(conformtest-header-tests) instead of
13978         $(objpfx)run-conformtest.out.
13979         (generated): Add $(conformtest-header-list-base).  If
13980         [$(fast-check) && !$(cross-compiling)], add
13981         $(conformtest-header-base).  Remove previous setting.
13982         ($(conformtest-header-list-tests)): New target.
13983         (test-xfail-run-conformtest): Remove variable.
13984         ($(objpfx)run-conformtest.out): Remove target.
13985         (test-xfail-ISO11/complex.h/conform): New variable.
13986         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13987         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13988         (test-xfail-XPG3/varargs.h/conform): Likewise.
13989         (test-xfail-XPG4/varargs.h/conform): Likewise.
13990         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13991         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13992         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13993         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13994         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13995         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13996         (test-xfail-XPG3/ftw.h/conform): Likewise.
13997         (test-xfail-XPG3/grp.h/conform): Likewise.
13998         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13999         (test-xfail-XPG3/limits.h/conform): Likewise.
14000         (test-xfail-XPG3/pwd.h/conform): Likewise.
14001         (test-xfail-XPG3/search.h/conform): Likewise.
14002         (test-xfail-XPG3/signal.h/conform): Likewise.
14003         (test-xfail-XPG3/stdio.h/conform): Likewise.
14004         (test-xfail-XPG3/stdlib.h/conform): Likewise.
14005         (test-xfail-XPG3/string.h/conform): Likewise.
14006         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14007         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14008         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14009         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14010         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14011         (test-xfail-XPG3/sys/types.h/conform): Likewise.
14012         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14013         (test-xfail-XPG3/termios.h/conform): Likewise.
14014         (test-xfail-XPG3/time.h/conform): Likewise.
14015         (test-xfail-XPG3/unistd.h/conform): Likewise.
14016         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14017         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14018         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14019         (test-xfail-XPG4/netdb.h/conform): Likewise.
14020         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14021         (test-xfail-XPG4/signal.h/conform): Likewise.
14022         (test-xfail-XPG4/stdio.h/conform): Likewise.
14023         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14024         (test-xfail-XPG4/stropts.h/conform): Likewise.
14025         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14026         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14027         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14028         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14029         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14030         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14031         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14032         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14033         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14034         (test-xfail-XPG4/termios.h/conform): Likewise.
14035         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14036         (test-xfail-XPG4/unistd.h/conform): Likewise.
14037         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14038         (test-xfail-POSIX/sched.h/conform): Likewise.
14039         (test-xfail-POSIX/signal.h/conform): Likewise.
14040         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14041         (test-xfail-POSIX/tar.h/conform): Likewise.
14042         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14043         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14044         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14045         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14046         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14047         (test-xfail-UNIX98/sched.h/conform): Likewise.
14048         (test-xfail-UNIX98/signal.h/conform): Likewise.
14049         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14050         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14051         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14052         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14053         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14054         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14055         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14056         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14057         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14058         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14059         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14060         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14061         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14062         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14063         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14064         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14065         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14066         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14067         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14068         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14069         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14070         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14071         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14072         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14073         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14074         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14075         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14076         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14077         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14078         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14079         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14080         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14081         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14082         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14083         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14084         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14085         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14086         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14087         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14088         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14089         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14090         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14091         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14092         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14093         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14094         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14095         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14096         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14097         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14098         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14099         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14100         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14101         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14102         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14103         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14104         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14105         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14106         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14107         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14108         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14109         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14110         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14111         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14112         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14113         (conformtest-cc-flags): Likewise.
14114         ($(conformtest-header-tests): New target.
14115         * conform/check-header-lists.sh: New file.
14116         * conform/run-conformtest.sh: Remove.
14117
14118         * conform/conformtest.pl: Allow ' and \ in values given for
14119         constants.
14120         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14121         inclusion.
14122         [POSIX] (sys/types.h): Likewise.
14123         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14124         inclusion.
14125         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14126         inclusion.
14127         * conform/data/signal.h-data (SIGIO): Remove expectation.
14128         [XPG3] (SIGBUS): Do not expect.
14129         [POSIX || XPG3] (SIGPOLL): Likewise.
14130         [POSIX || XPG3] (SIGPROF): Likewise.
14131         [POSIX || XPG3] (SIGSYS): Likewise.
14132         [XPG3] (SIGTRAP): Likewise.
14133         [POSIX || XPG3] (SIGURG): Likewise.
14134         [POSIX || XPG3] (SIGVTALRM): Likewise.
14135         [POSIX || XPG3] (SIGXCPU): Likewise.
14136         [POSIX || XPG3] (SIGXFSZ): Likewise.
14137         [POSIX] (SA_SIGINFO): Expect.
14138         [XPG3] (siginfo_t): Do not expect type or contents.
14139         [POSIX] (si_pid): Do not expect element.
14140         [POSIX] (si_uid): Likewise.
14141         [POSIX] (si_addr): Likewise.
14142         [POSIX] (si_status): Likewise.
14143         [POSIX] (si_band): Likewise.
14144         [XPG4] (si_value): Likewise.
14145         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14146         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14147         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14148         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14149         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14150         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14151         [POSIX || XPG3] (ILL_COPROC): Likewise.
14152         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14153         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14154         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14155         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14156         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14157         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14158         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14159         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14160         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14161         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14162         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14163         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14164         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14165         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14166         [POSIX || XPG3] (CLD_EXITED): Likewise.
14167         [POSIX || XPG3] (CLD_KILLED): Likewise.
14168         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14169         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14170         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14171         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14172         [POSIX || XPG3] (POLL_IN): Likewise.
14173         [POSIX || XPG3] (POLL_OUT): Likewise.
14174         [POSIX || XPG3] (POLL_MSG): Likewise.
14175         [POSIX || XPG3] (POLL_ERR): Likewise.
14176         [POSIX || XPG3] (POLL_PRI): Likewise.
14177         [POSIX || XPG3] (POLL_HUP): Likewise.
14178         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14179         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14180         (SIG*): Do not allow.
14181         [XPG3] (si_*): Likewise.
14182         [XPG3] (SI_*): Likewise.
14183         [XPG3 || XPG4] (sigev_*): Likewise.
14184         [XPG3 || XPG4] (SIGEV_*): Likewise.
14185         [XPG3 || XPG4] (sival_*): Likewise.
14186         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14187         [POSIX || XPG3] (BUS_*): Likewise.
14188         [POSIX || XPG3] (CLD_*): Likewise.
14189         [POSIX || XPG3] (FPE_*): Likewise.
14190         [POSIX || XPG3] (ILL_*): Likewise.
14191         [POSIX || XPG3] (POLL_*): Likewise.
14192         [POSIX || XPG3] (SEGV_*): Likewise.
14193         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14194         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14195         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14196         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14197         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14198         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14199         Specify type and value.
14200         (TVERSLEN): Likewise.
14201         (REGTYPE): Likewise.
14202         (AREGTYPE): Likewise.
14203         (LNKTYPE): Likewise.
14204         (SYMTYPE): Likewise.
14205         (CHRTYPE): Likewise.
14206         (BLKTYPE): Likewise.
14207         (DIRTYPE): Likewise.
14208         (FIFOTYPE): Likewise.
14209         (CONTTYPE): Likewise.
14210         (TSUID): Likewise.
14211         (TSGID): Likewise.
14212         (TSVTX): Likewise.
14213         (TUREAD): Likewise.
14214         (TUWRITE): Likewise.
14215         (TUEXEC): Likewise.
14216         (TGREAD): Likewise.
14217         (TGWRITE): Likewise.
14218         (TGEXEC): Likewise.
14219         (TOREAD): Likewise.
14220         (TOWRITE): Likewise.
14221         (TOEXEC): Likewise.
14222         [POSIX] (TSVTX): Expect constant.
14223
14224 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14225
14226         * Makefile (tests): Change dependencies to ....
14227         (tests-special): ... additions to this variable.
14228         (tests): Depend on $(tests-special).
14229         * Makerules (check-abi-list): New variable.
14230         (check-abi): Depend on $(check-abi-list).
14231         [$(subdir) = elf] (tests-special): Add
14232         $(objpfx)check-abi-libc.out.
14233         [$(build-shared) = yes && subdir] (tests-special): Add
14234         $(check-abi-list).
14235         [$(build-shared) = yes && subdir] (tests): Do not depend on
14236         check-abi.
14237         * Rules (tests): Depend on $(tests-special).
14238         (xtests): Depend on $(xtests-special).
14239         * catgets/Makefile (tests): Change dependencies to ....
14240         (tests-special): ... additions to this variable.
14241         * conform/Makefile (tests): Change dependencies to ....
14242         (tests-special): ... additions to this variable.
14243         * elf/Makefile (tests): Change dependencies to ....
14244         (tests-special): ... additions to this variable.
14245         * grp/Makefile (tests): Change dependencies to ....
14246         (tests-special): ... additions to this variable.
14247         * iconv/Makefile (xtests): Change dependencies to ....
14248         (xtests-special): ... additions to this variable.
14249         * iconvdata/Makefile (tests): Change dependencies to ....
14250         (tests-special): ... additions to this variable.
14251         * intl/Makefile (tests): Change dependencies to ....
14252         (tests-special): ... additions to this variable.  Also add
14253         $(objpfx)tst-gettext.out.
14254         * io/Makefile (tests): Change dependencies to ....
14255         (tests-special): ... additions to this variable.
14256         * libio/Makefile (tests): Change dependencies to ....
14257         (tests-special): ... additions to this variable.
14258         * malloc/Makefile (tests): Change dependencies to ....
14259         (tests-special): ... additions to this variable.
14260         * misc/Makefile (tests): Change dependencies to ....
14261         (tests-special): ... additions to this variable.
14262         * nptl/Makefile (tests): Change dependencies to ....
14263         (tests-special): ... additions to this variable.
14264         * nptl_db/Makefile (tests): Change dependencies to ....
14265         (tests-special): ... additions to this variable.
14266         * posix/Makefile (tests): Change dependencies to ....
14267         (tests-special): ... additions to this variable.
14268         (xtests): Change dependencies to ....
14269         (xtests-special): ... additions to this variable.
14270         * resolv/Makefile (tests): Change dependencies to ....
14271         (tests-special): ... additions to this variable.
14272         (xtests): Change dependencies to ....
14273         (xtests-special): ... additions to this variable.
14274         * stdio-common/Makefile (tests): Change dependencies to ....
14275         (tests-special): ... additions to this variable.
14276         (do-tst-unbputc): Remove target.
14277         (do-tst-printf): Likewise.
14278         * stdlib/Makefile (tests): Change dependencies to ....
14279         (tests-special): ... additions to this variable.
14280         * string/Makefile (tests): Change dependencies to ....
14281         (tests-special): ... additions to this variable.
14282         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14283         (tests-special): ... additions to this variable.
14284
14285         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14286         whole file.
14287         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14288         whole file.
14289         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14290         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14291
14292         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14293         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14294         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14295         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14296         * conform/data/libgen.h-data [XPG3]: Likewise.
14297         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14298         * conform/data/ndbm.h-data [XPG3]: Likewise.
14299         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14300         * conform/data/netdb.h-data [XPG3]: Likewise.
14301         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14302         * conform/data/poll.h-data [XPG3]: Likewise.
14303         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14304         * conform/data/strings.h-data [XPG3]: Likewise.
14305         * conform/data/stropts.h-data [XPG3]: Likewise.
14306         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14307         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14308         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14309         Likewise.
14310         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14311         * conform/data/sys/time.h-data [XPG3]: Likewise.
14312         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14313         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14314         * conform/data/sys/un.h-data [XPG3]: Likewise.
14315         * conform/data/syslog.h-data [XPG3]: Likewise.
14316         * conform/data/ucontext.h-data [XPG3]: Likewise.
14317         * conform/data/utmpx.h-data [XPG3]: Likewise.
14318         * conform/data/varargs.h-data [UNIX98]: Enable file.
14319
14320         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14321
14322         * math/libm-test.inc (struct test_f_f_data): Move expected results
14323         into structure for each rounding mode.
14324         (struct test_ff_f_data): Likewise.
14325         (struct test_ff_f_data_nexttoward): Likewise.
14326         (struct test_fi_f_data): Likewise.
14327         (struct test_fl_f_data): Likewise.
14328         (struct test_if_f_data): Likewise.
14329         (struct test_fff_f_data): Likewise.
14330         (struct test_c_f_data): Likewise.
14331         (struct test_f_f1_data): Likewise.
14332         (struct test_fF_f1_data): Likewise.
14333         (struct test_ffI_f1_data): Likewise.
14334         (struct test_c_c_data): Likewise.
14335         (struct test_cc_c_data): Likewise.
14336         (struct test_f_i_data): Likewise.
14337         (struct test_ff_i_data): Likewise.
14338         (struct test_f_l_data): Likewise.
14339         (struct test_f_L_data): Likewise.
14340         (struct test_fFF_11_data): Likewise.
14341         (RM_): New macro.
14342         (RM_FE_DOWNWARD): Likewise.
14343         (RM_FE_TONEAREST): Likewise.
14344         (RM_FE_TOWARDZERO): Likewise.
14345         (RM_FE_UPWARD): Likewise.
14346         (RUN_TEST_LOOP_f_f): Update references to expected results.
14347         (RUN_TEST_LOOP_2_f): Likewise.
14348         (RUN_TEST_LOOP_fff_f): Likewise.
14349         (RUN_TEST_LOOP_c_f): Likewise.
14350         (RUN_TEST_LOOP_f_f1): Likewise.
14351         (RUN_TEST_LOOP_fF_f1): Likewise.
14352         (RUN_TEST_LOOP_fI_f1): Likewise.
14353         (RUN_TEST_LOOP_ffI_f1): Likewise.
14354         (RUN_TEST_LOOP_c_c): Likewise.
14355         (RUN_TEST_LOOP_cc_c): Likewise.
14356         (RUN_TEST_LOOP_f_i): Likewise.
14357         (RUN_TEST_LOOP_f_i_tg): Likewise.
14358         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14359         (RUN_TEST_LOOP_f_b): Likewise.
14360         (RUN_TEST_LOOP_f_b_tg): Likewise.
14361         (RUN_TEST_LOOP_f_l): Likewise.
14362         (RUN_TEST_LOOP_f_L): Likewise.
14363         (RUN_TEST_LOOP_fFF_11): Likewise.
14364         * math/gen-libm-test.pl (parse_args): Output four copies of
14365         expected results for each test.
14366
14367         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14368         (__ASSUME_UTIMES): Remove.
14369         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14370         (__ASSUME_UTIMES): Likewise.
14371
14372         * math/gen-auto-libm-tests.c: Update comment on output format.
14373         (output_for_one_input_case): Generate before-rounding and
14374         after-rounding information as conditions on output flags not
14375         floating-point format.
14376         * math/auto-libm-test-out: Regenerated.
14377         * math/gen-libm-test.pl (cond_value): New function.
14378         (or_cond_value): Use cond_value.
14379         (generate_testfile): Handle conditional exceptions.
14380
14381 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14382
14383         * math/libm-test.inc (max_valid_error): New variable.
14384         (init_max_error): Take new argument specifying whether function
14385         results are exactly determined.  Set max_valid_error and bound
14386         other variables for errors based on this argument.
14387         (set_max_error): Do not record results above max_valid_error.
14388         (check_float_internal): Only accept errors of up to 0.5ulps if
14389         also at most max_valid_error.
14390         (START): Take new argument EXACT and pass it to init_max_error.
14391         (acos_test): Update call to START.
14392         (acos_test_tonearest): Likewise.
14393         (acos_test_towardzero): Likewise.
14394         (acos_test_downward): Likewise.
14395         (acos_test_upward): Likewise.
14396         (acosh_test): Likewise.
14397         (asin_test): Likewise.
14398         (asin_test_tonearest): Likewise.
14399         (asin_test_towardzero): Likewise.
14400         (asin_test_downward): Likewise.
14401         (asin_test_upward): Likewise.
14402         (asinh_test): Likewise.
14403         (atan_test): Likewise.
14404         (atanh_test): Likewise.
14405         (atan2_test): Likewise.
14406         (cabs_test): Likewise.
14407         (cacos_test): Likewise.
14408         (cacosh_test): Likewise.
14409         (carg_test): Likewise.
14410         (casin_test): Likewise.
14411         (casinh_test): Likewise.
14412         (catan_test): Likewise.
14413         (catanh_test): Likewise.
14414         (cbrt_test): Likewise.
14415         (ccos_test): Likewise.
14416         (ccosh_test): Likewise.
14417         (ceil_test): Likewise.
14418         (cexp_test): Likewise.
14419         (cimag_test): Likewise.
14420         (clog_test): Likewise.
14421         (clog10_test): Likewise.
14422         (conj_test): Likewise.
14423         (copysign_test): Likewise.
14424         (cos_test): Likewise.
14425         (cos_test_tonearest): Likewise.
14426         (cos_test_towardzero): Likewise.
14427         (cos_test_downward): Likewise.
14428         (cos_test_upward): Likewise.
14429         (cosh_test): Likewise.
14430         (cosh_test_tonearest): Likewise.
14431         (cosh_test_towardzero): Likewise.
14432         (cosh_test_downward): Likewise.
14433         (cosh_test_upward): Likewise.
14434         (cpow_test): Likewise.
14435         (cproj_test): Likewise.
14436         (creal_test): Likewise.
14437         (csin_test): Likewise.
14438         (csinh_test): Likewise.
14439         (csqrt_test): Likewise.
14440         (ctan_test): Likewise.
14441         (ctan_test_tonearest): Likewise.
14442         (ctan_test_towardzero): Likewise.
14443         (ctan_test_downward): Likewise.
14444         (ctan_test_upward): Likewise.
14445         (ctanh_test): Likewise.
14446         (ctanh_test_tonearest): Likewise.
14447         (ctanh_test_towardzero): Likewise.
14448         (ctanh_test_downward): Likewise.
14449         (ctanh_test_upward): Likewise.
14450         (erf_test): Likewise.
14451         (erfc_test): Likewise.
14452         (exp_test): Likewise.
14453         (exp_test_tonearest): Likewise.
14454         (exp_test_towardzero): Likewise.
14455         (exp_test_downward): Likewise.
14456         (exp_test_upward): Likewise.
14457         (exp10_test): Likewise.
14458         (exp10_test_tonearest): Likewise.
14459         (exp10_test_towardzero): Likewise.
14460         (exp10_test_downward): Likewise.
14461         (exp10_test_upward): Likewise.
14462         (pow10_test): Likewise.
14463         (exp2_test): Likewise.
14464         (expm1_test): Likewise.
14465         (expm1_test_tonearest): Likewise.
14466         (expm1_test_towardzero): Likewise.
14467         (expm1_test_downward): Likewise.
14468         (expm1_test_upward): Likewise.
14469         (fabs_test): Likewise.
14470         (fdim_test): Likewise.
14471         (floor_test): Likewise.
14472         (fma_test): Likewise.
14473         (fma_test_towardzero): Likewise.
14474         (fma_test_downward): Likewise.
14475         (fma_test_upward): Likewise.
14476         (fmax_test): Likewise.
14477         (fmin_test): Likewise.
14478         (fmod_test): Likewise.
14479         (fpclassify_test): Likewise.
14480         (frexp_test): Likewise.
14481         (hypot_test): Likewise.
14482         (ilogb_test): Likewise.
14483         (isfinite_test): Likewise.
14484         (finite_test): Likewise.
14485         (isgreater_test): Likewise.
14486         (isgreaterequal_test): Likewise.
14487         (isinf_test): Likewise.
14488         (isless_test): Likewise.
14489         (islessequal_test): Likewise.
14490         (islessgreater_test): Likewise.
14491         (isnan_test): Likewise.
14492         (isnormal_test): Likewise.
14493         (issignaling_test): Likewise.
14494         (isunordered_test): Likewise.
14495         (j0_test): Likewise.
14496         (j1_test): Likewise.
14497         (jn_test): Likewise.
14498         (ldexp_test): Likewise.
14499         (lgamma_test): Likewise.
14500         (gamma_test): Likewise.
14501         (lrint_test): Likewise.
14502         (lrint_test_tonearest): Likewise.
14503         (lrint_test_towardzero): Likewise.
14504         (lrint_test_downward): Likewise.
14505         (lrint_test_upward): Likewise.
14506         (llrint_test): Likewise.
14507         (llrint_test_tonearest): Likewise.
14508         (llrint_test_towardzero): Likewise.
14509         (llrint_test_downward): Likewise.
14510         (llrint_test_upward): Likewise.
14511         (log_test): Likewise.
14512         (log10_test): Likewise.
14513         (log1p_test): Likewise.
14514         (log2_test): Likewise.
14515         (logb_test): Likewise.
14516         (logb_test_downward): Likewise.
14517         (lround_test): Likewise.
14518         (llround_test): Likewise.
14519         (modf_test): Likewise.
14520         (nearbyint_test): Likewise.
14521         (nextafter_test): Likewise.
14522         (nexttoward_test): Likewise.
14523         (pow_test): Likewise.
14524         (pow_test_tonearest): Likewise.
14525         (pow_test_towardzero): Likewise.
14526         (pow_test_downward): Likewise.
14527         (pow_test_upward): Likewise.
14528         (remainder_test): Likewise.
14529         (drem_test): Likewise.
14530         (remainder_test_tonearest): Likewise.
14531         (drem_test_tonearest): Likewise.
14532         (remainder_test_towardzero): Likewise.
14533         (drem_test_towardzero): Likewise.
14534         (remainder_test_downward): Likewise.
14535         (drem_test_downward): Likewise.
14536         (remainder_test_upward): Likewise.
14537         (drem_test_upward): Likewise.
14538         (remquo_test): Likewise.
14539         (rint_test): Likewise.
14540         (rint_test_tonearest): Likewise.
14541         (rint_test_towardzero): Likewise.
14542         (rint_test_downward): Likewise.
14543         (rint_test_upward): Likewise.
14544         (round_test): Likewise.
14545         (scalb_test): Likewise.
14546         (scalbn_test): Likewise.
14547         (scalbln_test): Likewise.
14548         (signbit_test): Likewise.
14549         (sin_test): Likewise.
14550         (sin_test_tonearest): Likewise.
14551         (sin_test_towardzero): Likewise.
14552         (sin_test_downward): Likewise.
14553         (sin_test_upward): Likewise.
14554         (sincos_test): Likewise.
14555         (sinh_test): Likewise.
14556         (sinh_test_tonearest): Likewise.
14557         (sinh_test_towardzero): Likewise.
14558         (sinh_test_downward): Likewise.
14559         (sinh_test_upward): Likewise.
14560         (sqrt_test): Likewise.
14561         (sqrt_test_tonearest): Likewise.
14562         (sqrt_test_towardzero): Likewise.
14563         (sqrt_test_downward): Likewise.
14564         (sqrt_test_upward): Likewise.
14565         (tan_test): Likewise.
14566         (tan_test_tonearest): Likewise.
14567         (tan_test_towardzero): Likewise.
14568         (tan_test_downward): Likewise.
14569         (tan_test_upward): Likewise.
14570         (tanh_test): Likewise.
14571         (tgamma_test): Likewise.
14572         (trunc_test): Likewise.
14573         (y0_test): Likewise.
14574         (y1_test): Likewise.
14575         (yn_test): Likewise.
14576         (significand_test): Likewise.
14577
14578         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14579         individual tests in comment.
14580         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14581         (prev_max_error): New variable.
14582         (prev_real_max_error): Likewise.
14583         (prev_imag_max_error): Likewise.
14584         (compare_ulp_data): Don't refer to test names in comment.
14585         (find_test_ulps): Remove function.
14586         (find_function_ulps): Likewise.
14587         (find_complex_function_ulps): Likewise.
14588         (init_max_error): Take function name as argument.  Look up ulps
14589         for that function.
14590         (print_ulps): Remove function.
14591         (print_max_error): Use prev_max_error instead of calling
14592         find_function_ulps.
14593         (print_complex_max_error): Use prev_real_max_error and
14594         prev_imag_max_error instead of calling find_complex_function_ulps.
14595         (check_float_internal): Take max_ulp parameter instead of calling
14596         find_test_ulps.  Don't call print_ulps.
14597         (check_float): Update call to check_float_internal.
14598         (check_complex): Update calls to check_float_internal.
14599         (START): Pass argument to init_max_error.
14600         * math/gen-libm-test.pl (%results): Don't include "kind"
14601         information.
14602         (parse_ulps): Don't handle ulps of individual tests.
14603         (print_ulps_file): Likewise.
14604         (output_ulps): Likewise.
14605         * math/README.libm-test: Update.
14606         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14607         individual tests.
14608         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14609         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14610         * sysdeps/arm/libm-test-ulps: Likewise.
14611         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14612         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14613         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14614         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14615         * sysdeps/microblaze/libm-test-ulps: Likewise.
14616         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14617         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14618         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14619         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14620         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14621         * sysdeps/sh/libm-test-ulps: Likewise.
14622         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14623         * sysdeps/tile/libm-test-ulps: Likewise.
14624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14625
14626 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14627
14628         * math/libm-test.inc (print_complex_max_error): Check separately
14629         whether real and imaginary errors are within allowed range and
14630         pass 0 to print_complex_function_ulps instead of value within
14631         allowed range.
14632
14633 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14634
14635         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14636         formatting.
14637         (get_handles_fopen): Likewise.
14638         (do_write_test): Likewise.
14639
14640         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14641
14642         * libio/fileops.c (do_ftell): Use cached offset when
14643         available.
14644         * libio/iofwide.c (do_ftell_wide): Likewise.
14645         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14646         _IO_file_attach.
14647         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14648
14649         [BZ #16532]
14650         * libio/libioP.h (get_file_offset): New function.
14651         * libio/fileops.c (get_file_offset): Likewise.
14652         (do_ftell): Likewise.
14653         (_IO_new_file_seekoff): Split out ftell logic.
14654         * libio/wfileops.c (do_ftell_wide): Likewise.
14655         (_IO_wfile_seekoff): Split out ftell logic.
14656         * libio/tst-ftell-active-handler.c: New test case.
14657         * libio/Makefile (tests): Add it.
14658
14659 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14660
14661         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14662         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14663
14664 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14665
14666         [BZ #16639]
14667         * nscd/connections.c (nscd_init): Call do_exit.
14668         (start_threads): Call do_exit and notify_parent.
14669         (begin_drop_privileges): Call do_exit.
14670         (finish_drop_privileges): Likewise.
14671         * nscd/selinux.c (preserve_capabilities): Likewise.
14672         (install_real_capabilities): Likewise.
14673         (nscd_selinux_enabled): Likewise.
14674         (avc_create_thread): Likewise.
14675         (avc_alloc_lock): Likewise.
14676         (nscd_avc_init): Likewise.
14677         * nscd/nscd.c (parent_fd): New static variable.
14678         (main): Create a pipe between parent and child processes.
14679         Skip closing parent_fd.
14680         (monitor_child): New function.
14681         (do_exit): Likewise.
14682         (notify_parent): Likewise.
14683         * nscd/nscd.h (notify_parent): Likewise.
14684         (do_exit): Likewise.
14685
14686 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14687
14688         * malloc/malloc.c (__libc_calloc): Revert last change.
14689
14690 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14691
14692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14693
14694 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14695
14696         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14698         implementation.
14699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14700         (__libc_ifunc_impl_list): Likewise.
14701         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14702         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14703         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14704         * string/strrchr.c: Define STRRCHR.
14705
14706 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14707
14708         * benchtest/bench-strtok.c (simple_strtok): Delete.
14709         (strtok_string): Use as benchmark.
14710         * string/strtok (STRTOK): New macro.
14711
14712 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14713
14714         * manual/threads.texi: Add header and standard comments to all
14715         functions.
14716
14717         * elf/dl-lookup.c (check_match): New function.
14718         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14719         (do_lookup_x): Remove nested function check_match. Use non-nested
14720         function check_match.
14721
14722 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14723
14724         * csu/Makefile (generated, before-compile): Use += rather than =.
14725         * catgets/Makefile (generated, generated-dirs): Likewise.
14726         * debug/Makefile (generated): Likewise.
14727         * dlfcn/Makefile (generated): Likewise.
14728         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14729         * iconvdata/Makefile (before-compile, generated): Likewise.
14730         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14731         * libio/Makefile (generated): Likewise.
14732         * malloc/Makefile (generated): Likewise.
14733         * manual/Makefile (generated, generated-dirs): Likewise.
14734         * misc/Makefile (generated): Likewise.
14735         * posix/Makefile (generated): Likewise.
14736         * resolv/Makefile (generated): Likewise.
14737         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14738         * timezone/Makefile (generated, generated-dirs): Likewise.
14739
14740         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14741
14742 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14743
14744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14745         power8 implementation.
14746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14747         file: POWER8 llround ifunc implementation.
14748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14749         (__lllround): Add POWER8 implementation.
14750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14751         POWER8 llround implementation.
14752
14753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14754         power8 implementation.
14755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14756         file: POWER8 llrint ifunc implementation.
14757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14758         Add POWER8 implementation.
14759         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14760         POWER8 llrint implementation.
14761
14762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14763         power8 implementation.
14764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14765         file: POWER8 finite ifunc implementation.
14766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14767         Add POWER8 implementation.
14768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14769         Likewise.
14770         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14771         POWER8 finite implementation.
14772         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14773
14774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14775         power8 implementation.
14776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14777         file: POWER8 isinf ifunc implementation.
14778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14779         POWER8 implementation.
14780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14781         Likewise.
14782         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14783         isinf implementation.
14784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14785
14786         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14787         (INIT_ARCH): Add hwcap2 initialization.
14788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14789         power8 implementation.
14790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14791         file: POWER8 isnan ifunc implementation.
14792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14793         POWER8 implementation.
14794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14795         Likewise.
14796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14797         isnan implementation.
14798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14799
14800 2014-02-27  Joey Ye  <joey.ye@arm.com>
14801
14802         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14803         (_FP_NANFRAC_Q): Set to zero.
14804
14805 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14806
14807         [BZ #16623]
14808         * math/auto-libm-test-in: New test inputs.
14809         * math/auto-libm-test-out: Regenerate.
14810         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14811         and DA.
14812         (__cos): Likewise.
14813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14814
14815 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14816
14817         * scripts/evaluate-test.sh: Take new argument indicating whether
14818         failure is expected.
14819         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14820         indicating whether failure is expected.
14821         * conform/Makefile (test-xfail-run-conformtest): New variable.
14822         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14823         level.
14824         * posix/Makefile (test-xfail-annexc): New variable.
14825         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14826
14827 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14828
14829         * argp/Makefile: Include Makeconfig immediately after defining
14830         subdir.
14831         * assert/Makefile: Likewise.
14832         * benchtests/Makefile: Likewise.
14833         * catgets/Makefile: Likewise.
14834         * conform/Makefile: Likewise.
14835         * crypt/Makefile: Likewise.
14836         * csu/Makefile: Likewise.
14837         (all): Remove target.
14838         * ctype/Makefile: Include Makeconfig immediately after defining
14839         subdir.
14840         * debug/Makefile: Likewise.
14841         * dirent/Makefile: Likewise.
14842         * dlfcn/Makefile: Likewise.
14843         * gmon/Makefile: Likewise.
14844         * gnulib/Makefile: Likewise.
14845         * grp/Makefile: Likewise.
14846         * gshadow/Makefile: Likewise.
14847         * hesiod/Makefile: Likewise.
14848         * hurd/Makefile: Likewise.
14849         (all): Remove target.
14850         * iconvdata/Makefile: Include Makeconfig immediately after
14851         defining subdir.
14852         * inet/Makefile: Likewise.
14853         * intl/Makefile: Likewise.
14854         * io/Makefile: Likewise.
14855         * libio/Makefile: Likewise.
14856         (all): Remove target.
14857         * locale/Makefile: Include Makeconfig immediately after defining
14858         subdir.
14859         * login/Makefile: Likewise.
14860         * mach/Makefile: Likewise.
14861         (all): Remove target.
14862         * malloc/Makefile: Include Makeconfig immediately after defining
14863         subdir.
14864         (all): Remove target.
14865         * manual/Makefile: Include Makeconfig immediately after defining
14866         subdir.
14867         * math/Makefile: Likewise.
14868         * misc/Makefile: Likewise.
14869         * nis/Makefile: Likewise.
14870         * nss/Makefile: Likewise.
14871         * po/Makefile: Likewise.
14872         (all): Remove target.
14873         * posix/Makefile: Include Makeconfig immediately after defining
14874         subdir.
14875         * pwd/Makefile: Likewise.
14876         * resolv/Makefile: Likewise.
14877         * resource/Makefile: Likewise.
14878         * rt/Makefile: Likewise.
14879         * setjmp/Makefile: Likewise.
14880         * shadow/Makefile: Likewise.
14881         * signal/Makefile: Likewise.
14882         * socket/Makefile: Likewise.
14883         * soft-fp/Makefile: Likewise.
14884         * stdio-common/Makefile: Likewise.
14885         * stdlib/Makefile: Likewise.
14886         * streams/Makefile: Likewise.
14887         * string/Makefile: Likewise.
14888         * sunrpc/Makefile: Likewise.
14889         (all): Remove target.
14890         * sysvipc/Makefile: Include Makeconfig immediately after defining
14891         subdir.
14892         * termios/Makefile: Likewise.
14893         * time/Makefile: Likewise.
14894         * timezone/Makefile: Likewise.
14895         (all): Remove target.
14896         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14897         subdir.
14898         * wctype/Makefile: Likewise.
14899
14900 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14901
14902         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14903         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14904         (libc_feholdexcept_setround_mips): Ditto.
14905         (libc_feholdsetround): New.
14906         (libc_feholdsetroundf): New.
14907         (libc_feholdsetroundl): New.
14908         (libc_feupdateenv_test_mips): New.
14909         (libc_feupdateenv_test): New.
14910         (libc_feupdateenv_testf): New.
14911         (libc_feupdateenv_testl): New.
14912         (libc_feresetround): New.
14913         (libc_feresetroundf): New.
14914         (libc_feresetroundl): New.
14915         (libc_fetestexcept_mips): New.
14916         (libc_fetestexcept): New.
14917         (libc_fetestexceptf): New.
14918         (libc_fetestexceptl): New.
14919         (HAVE_RM_CTX): New.
14920         (libc_feholdexcept_setround_mips_ctx): New.
14921         (libc_feholdexcept_setround_ctx): New.
14922         (libc_feholdexcept_setroundf_ctx): New.
14923         (libc_feholdexcept_setroundl_ctx): New.
14924         (libc_fesetenv_mips_ctx): New.
14925         (libc_fesetenv_ctx): New.
14926         (libc_fesetenv_ctxf): New.
14927         (libc_fesetenv_ctxl): New.
14928         (libc_feupdateenv_mips_ctx): New.
14929         (libc_feupdateenv_ctx): New.
14930         (libc_feupdateenvf_ctx): New.
14931         (libc_feupdateenvl_ctx): New.
14932         (libc_feholdsetround_mips_ctx): New.
14933         (libc_feholdsetround_ctx): New.
14934         (libc_feholdsetroundf_ctx): New.
14935         (libc_feholdsetroundl_ctx): New.
14936         (libc_feresetround_mips_ctx): New.
14937         (libc_feresetround_ctx): New.
14938         (libc_feresetroundf_ctx): New.
14939         (libc_feresetroundl_ctx): New.
14940
14941 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14942
14943         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14944
14945         * manual/ipc.texi: New file.
14946         * manual/Makefile (chapters): Add ipc.
14947         * manual/job.texi: Add "Inter-Process Communication" to next.
14948         * manual/process.texi: Add "Inter-Process Communication" to prev.
14949
14950 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14951
14952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14953
14954 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14955
14956         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14957
14958         * manual/arith.texi: Fix spaces after sentences.
14959         * manual/charset.texi: Likewise.
14960         * manual/errno.texi: Likewise.
14961         * manual/install.texi: Likewise.
14962         * manual/llio.texi: Likewise.
14963         * manual/locale.texi: Likewise.
14964         * manual/maint.texi: Likewise.
14965         * manual/math.texi: Likewise.
14966         * manual/memory.texi: Likewise.
14967         * manual/message.texi: Likewise.
14968         * manual/probes.texi: Likewise.
14969         * manual/resource.texi: Likewise.
14970         * manual/signal.texi: Likewise.
14971         * manual/socket.texi: Likewise.
14972         * manual/stdio.texi: Likewise.
14973         * manual/string.texi: Likewise.
14974         * manual/time.texi: Likewise.
14975         * manual/users.texi: Likewise.
14976
14977 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14978
14979         [BZ #16632]
14980         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14981         _DEFAULT_SOURCE is defined.
14982
14983 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14984             Carlos O'Donell  <carlos@redhat.com>
14985
14986         [BZ #16613]
14987         * elf/dl-tls.c (_dl_count_modids): New function.
14988         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14989         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14990         audit library and increment generation counter.
14991         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14992         * elf/tst-audit9.c: New file.
14993         * elf/tst-auditmod9a.c: New file.
14994         * elf/tst-auditmod9b.c: New file.
14995         * elf/Makefile: Add rules to build and run tst-audit9.
14996
14997 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14998
14999         [BZ #15347]
15000         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15001
15002 2014-02-25  Will Newton  <will.newton@linaro.org>
15003
15004         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15005         (__longjmp): Restore sp and lr before restoring callee
15006         saved registers.  Add longjmp and longjmp_target
15007         SystemTap probe point.
15008         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15009         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15010         Define to zero to match jmpbuf layout.
15011         * sysdeps/arm/setjmp.S: Include stap-probe.h.
15012         (__sigsetjmp): Save sp and lr before saving callee
15013         saved registers.  Add setjmp SystemTap probe point.
15014
15015 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15016
15017         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15018
15019 2014-02-24  Andreas Schwab  <schwab@suse.de>
15020
15021         [BZ #15804]
15022         * elf/pldd.c (wait_for_ptrace_stop): New function.
15023         (main): Call it after attaching.
15024
15025 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15026
15027         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15028         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15029         Versions files is now verboten.
15030         * hurd/Versions (libc: GLIBC_2.0):
15031         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15032         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15033         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15034         * mach/Versions: Likewise.
15035
15036         * csu/Versions: Remove unused %include.
15037         * resolv/Versions: Likewise.
15038
15039 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15040
15041         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15042         ($(objpfx)check-local-headers.out): Likewise.
15043         ($(objpfx)begin-end-check.out): Likewise.
15044         * Makerules (check-abi-%.out): Likewise.
15045         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15046         ($(objpfx)test2.cat): Likewise.
15047         ($(objpfx)de/libc.cat): Likewise.
15048         ($(objpfx)test-gencat.out): Likewise.
15049         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15050         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15051         ($(objpfx)noload-mem): Likewise.
15052         ($(objpfx)tst-pathopt.out): Likewise.
15053         ($(objpfx)tst-rtld-load-self.out): Likewise.
15054         ($(objpfx)tst-array1-cmp.out): Likewise.
15055         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15056         ($(objpfx)tst-array2-cmp.out): Likewise.
15057         ($(objpfx)tst-array3-cmp.out): Likewise.
15058         ($(objpfx)tst-array4-cmp.out): Likewise.
15059         ($(objpfx)tst-array5-cmp.out): Likewise.
15060         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15061         ($(objpfx)check-textrel.out): Likewise.
15062         ($(objpfx)check-execstack.out): Likewise.
15063         ($(objpfx)check-localplt.out): Likewise.
15064         ($(objpfx)order2-cmp.out): Likewise.
15065         ($(objpfx)tst-leaks1-mem): Likewise.
15066         ($(objpfx)tst-leaks1-static-mem): Likewise.
15067         ($(objpfx)tst-initorder-cmp.out): Likewise.
15068         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15069         ($(objpfx)tst-unused-dep.out): Likewise.
15070         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15071         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15072         * iconv/Makefile (test-iconvconfig): Likewise.
15073         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15074         ($(objpfx)iconv-test.out): Likewise.
15075         ($(objpfx)tst-tables.out): Likewise.
15076         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15077         ($(objpfx)tst-gettext.out): Likewise.
15078         ($(objpfx)tst-translit.out): Likewise.
15079         ($(objpfx)tst-gettext2.out): Likewise.
15080         ($(objpfx)tst-gettext4.out): Likewise.
15081         ($(objpfx)tst-gettext6.out): Likewise.
15082         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15083         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15084         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15085         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15086         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15087         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15088         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15089         ($(objpfx)wordexp-tst.out): Likewise.
15090         ($(objpfx)annexc.out): Likewise.
15091         ($(objpfx)tst-fnmatch-mem): Likewise.
15092         ($(objpfx)bug-regex2-mem): Likewise.
15093         ($(objpfx)bug-regex14-mem): Likewise.
15094         ($(objpfx)bug-regex21-mem): Likewise.
15095         ($(objpfx)bug-regex31-mem): Likewise.
15096         ($(objpfx)tst-vfork3-mem): Likewise.
15097         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15098         ($(objpfx)tst-pcre-mem): Likewise.
15099         ($(objpfx)tst-boost-mem): Likewise.
15100         ($(objpfx)tst-getconf.out): Likewise.
15101         ($(objpfx)bug-ga2-mem): Likewise.
15102         ($(objpfx)bug-glob2-mem): Likewise.
15103         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15104         ($(objpfx)mtrace-tst-leaks2): Likewise.
15105         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15106         ($(objpfx)tst-printf.out): Likewise.
15107         ($(objpfx)tst-setvbuf1.out): Likewise.
15108         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15109         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15110         ($(objpfx)tst-fmtmsg.out): Likewise.
15111         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15112         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15113
15114         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15115         * bits/sigaction.h [__USE_MISC]: Likewise.
15116         * bits/waitstatus.h: Update #endif comments.
15117         * ctype/ctype.h: Likewise.
15118         * dirent/dirent.h: Likewise.
15119         [__USE_MISC]: Remove redundant conditionals.
15120         * grp/grp.h: Update #endif comments.
15121         [__USE_GNU]: Remove redundant conditionals.
15122         [__USE_MISC]: Likewise.
15123         * inet/netinet/in.h [__USE_GNU]: Likewise.
15124         * io/sys/stat.h [__USE_MISC]: Likewise.
15125         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15126         * libio/bits/stdio.h: Update #endif comments.
15127         [__USE_MISC]: Remove redundant conditionals.
15128         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15129         * libio/stdio.h: Update #endif comments.
15130         [__USE_MISC]: Remove redundant conditionals.
15131         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15132         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15133         * math/math.h: Update #else and #endif comments.
15134         [__USE_MISC]: Remove redundant conditionals.
15135         * misc/sys/uio.h: Update #endif comments.
15136         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15137         * posix/glob.h [__USE_MISC]: Likewise.
15138         * posix/sys/types.h: Update #endif comments.
15139         [__USE_MISC]: Remove redundant conditionals.
15140         * posix/sys/wait.h: Update #endif comments.
15141         [__USE_MISC]: Remove redundant conditionals.
15142         * posix/unistd.h: Update #endif comments.
15143         [__USE_MISC]: Remove redundant conditionals.
15144         * pwd/pwd.h [__USE_GNU]: Likewise.
15145         [__USE_MISC]: Likewise.
15146         * resolv/netdb.h [__USE_GNU]: Likewise.
15147         * signal/signal.h: Update #endif comments.
15148         [__USE_MISC]: Remove redundant conditionals.
15149         * stdlib/stdlib.h: Update #else and #endif comments.
15150         [__USE_MISC]: Remove redundant conditionals.
15151         [__USE_GNU]: Likewise.
15152         * string/bits/string2.h [__USE_MISC]: Likewise.
15153         * string/string.h: Update #endif comments.
15154         [__USE_MISC]: Remove redundant conditionals.
15155         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15156         Likewise.
15157         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15158         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15159         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15160         Likewise.
15161         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15162         Likewise.
15163         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15164         comments.
15165         [__USE_MISC]: Remove redundant conditionals.
15166         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15167         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15168         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15169         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15170         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15171         Likewise.
15172         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15173         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15174         Likewise.
15175         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15176         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15177         Likewise.
15178         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15179         Likewise.
15180         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15181         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15182         Likewise.
15183         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15184         Likewise.
15185         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15186         * sysdeps/x86/bits/string.h: Update #endif comments.
15187         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15188         conditionals.
15189         * time/sys/time.h: Update #endif comments.
15190         * time/time.h: Likewise.
15191         [__USE_MISC]: Remove redundant conditionals.
15192
15193 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15194
15195         [BZ #16600]
15196         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15197
15198 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15199
15200         * Versions.def (librt): Add GLIBC_2.17.
15201
15202 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15203
15204         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15205         synonym for _SYS_AUXV_H to allow direct inclusion.
15206         * sysdeps/sparc/bits/hwcap.h: Likewise.
15207         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15208         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15209         * sysdeps/sparc/sysdep.h: Likewise.
15210
15211 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15212
15213         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15214
15215 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15216
15217         * benchtests/bench-strrchr.c: Print length instead of position.
15218
15219 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15220
15221         [BZ #16611]
15222         * sysdeps/unix/sysv/linux/kernel-features.h
15223         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15224         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15225         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15226         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15227         Likewise.
15228         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15229         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15230         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15231         (__ASSUME_SENDMMSG): Define instead of using previous
15232         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15233         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15234         (__ASSUME_SENDMMSG_SYSCALL): Define.
15235         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15236         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15237         Likewise.
15238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15239         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15240         Likewise.
15241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15242         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15243         Likewise.
15244         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15245         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15246         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15247         [__ASSUME_SENDMMSG]: Change conditionals to
15248         [__ASSUME_SENDMMSG_SOCKETCALL].
15249         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15250         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15251         Define.
15252         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15253         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15256         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15257         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15258         [!__ASSUME_SENDMMSG]: Change conditional to
15259         [!__ASSUME_SENDMMSG_SOCKETCALL].
15260         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15261         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15262         Define.
15263
15264         [BZ #16610]
15265         * sysdeps/unix/sysv/linux/kernel-features.h
15266         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15267         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15268         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15269         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15270         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15271         [__i386__ || __sparc__]
15272         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15273         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15274         (__ASSUME_RECVMMSG): Define instead of using previous
15275         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15276         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15277         (__ASSUME_RECVMMSG_SYSCALL): Define.
15278         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15279         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15280         Likewise.
15281         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15282         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15283         Likewise.
15284         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15286         Likewise.
15287         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15288         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15289         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15290         [__ASSUME_RECVMMSG]: Change condition to
15291         [__ASSUME_RECVMMSG_SOCKETCALL].
15292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15293         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15294         Define.
15295         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15296         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15297         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15298         Likewise.
15299         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15300         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15301         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15302         [!__ASSUME_RECVMMSG]: Change condition to
15303         [!__ASSUME_RECVMMSG_SOCKETCALL].
15304         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15305         (__ASSUME_RECVMMSG_SYSCALL): Define.
15306
15307         [BZ #16609]
15308         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15309         __powerpc__ || __s390__ || __sh__ || __sparc__]
15310         (__ASSUME_SOCKETCALL): Define.
15311         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15312         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15313         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15314         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15315         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15316         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15317         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15318         (__ASSUME_ACCEPT4): Define instead of using previous
15319         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15320         __powerpc__ || __sparc__ || __s390__)] condition.
15321         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15322         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15323         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15324         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15325         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15326         [!__ASSUME_ACCEPT4]: Change condition to
15327         [!__ASSUME_ACCEPT4_SOCKETCALL].
15328         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15329         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15330         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15331         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15332         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15333         __ASSUME_ACCEPT4_SYSCALL.
15334         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15335         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15336         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15337         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15338         __ASSUME_ACCEPT4_SYSCALL.
15339         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15340         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15341         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15342         [__ASSUME_ACCEPT4]: Change condition to
15343         [__ASSUME_ACCEPT4_SOCKETCALL].
15344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15345         (__ASSUME_SOCKETCALL): Define.
15346         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15347         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15348         (__ASSUME_SOCKETCALL): Define.
15349         (__ASSUME_ACCEPT4): Remove.
15350         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15351         Define.
15352         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15353         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15354         Likewise.
15355         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15356         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15357
15358         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15359         macro.
15360         (HWCAP_ARM_LPAE): Likewise.
15361         (HWCAP_ARM_EVTSTRM): Likewise.
15362         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15363         Add vpfd32, lpae and evtstrm.
15364         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15365         Increase to 22.
15366
15367 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15368
15369         * math/auto-libm-test-in: Add tests of clog10.
15370         * math/auto-libm-test-out: Regenerated.
15371         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15372         * sysdeps/i386/fpu/libm-test-ulps: Update.
15373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15374
15375 2014-02-18  Andreas Schwab  <schwab@suse.de>
15376
15377         [BZ #16574]
15378         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15379         Store non-zero if the second buffer was newly allocated.
15380         (send_dg): Likewise.
15381         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15382         to send_vc and send_dg.
15383         (res_nsend): Pass NULL for ansp2_malloced.
15384         * resolv/res_query.c (__libc_res_nquery): Add parameter
15385         answerp2_malloced and pass it down to __libc_res_nsend.
15386         (res_nquery): Pass additional NULL to __libc_res_nquery.
15387         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15388         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15389         second answer buffer if answerp2_malloced was set.
15390         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15391         (__libc_res_nquerydomain): Add parameter
15392         answerp2_malloced and pass it down to __libc_res_nquery.
15393         (res_nquerydomain): Pass additional NULL to
15394         __libc_res_nquerydomain.
15395         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15396         additional NULL to __libc_res_nsend and __libc_res_nquery.
15397         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15398         additional NULL to __libc_res_nsearch.
15399         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15400         parameter of __libc_res_nsearch to check for separately allocated
15401         second buffer.
15402         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15403         __libc_res_nquery.
15404         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15405         additional NULL to __libc_res_nquery.
15406         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15407         __libc_res_nsearch.
15408         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15409         * include/resolv.h: Update prototypes of __libc_res_nquery,
15410         __libc_res_nsearch, __libc_res_nsend.
15411
15412 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15413
15414         * math/auto-libm-test-in: Add tests of fma.
15415         * math/auto-libm-test-out: Regenerated.
15416         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15417         (fma_towardzero_test_data): Likewise.
15418         (fma_downward_test_data): Likewise.
15419         (fma_upward_test_data): Likewise.
15420         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15421         mpc_mode.
15422         (rounding_modes): Add values for new field.
15423         (func_calc_method): Add value mpfr_fff_f.
15424         (func_calc_desc): Add mpfr_fff_f union field.
15425         (test_function): Add field exact_args.
15426         (FUNC): Add macro argument EXACT_ARGS.
15427         (FUNC_mpfr_f_f): Update call to FUNC.
15428         (FUNC_mpfr_f_f): Likewise.
15429         (FUNC_mpfr_ff_f): Likewise.
15430         (FUNC_mpfr_if_f): Likewise.
15431         (FUNC_mpc_c_f): Likewise.
15432         (FUNC_mpc_c_c): Likewise.
15433         (test_functions): Add fma.  Update calls to FUNC.
15434         (handle_input_arg): Add argument exact_args.
15435         (add_test): Update call to handle_input_arg.
15436         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15437         (output_for_one_input_case): Update call to calc_generic_results.
15438         Recalculate exact zero results in each rounding mode.
15439
15440         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15441         non-negative before setting low bit.
15442         * math/auto-libm-test-in: Mark one asin test possibly having
15443         spurious underflow.
15444         * math/auto-libm-test-out: Regenerated.
15445         * sysdeps/i386/fpu/libm-test-ulps: Update.
15446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447
15448 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15449
15450         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15451         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15452         ports/sysdeps/unix/sysv/linux/microblaze.
15453         * README: Add missing listing for microblaze*-*-linux-gnu.
15454
15455 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15456
15457         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15458         duplicate code
15459
15460 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15461
15462         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15463         * sysdeps/unix/sysv/linux/ia64: Move directory from
15464         ports/sysdeps/unix/sysv/linux/ia64.
15465         * README: Update listing for ia64-*-linux-gnu.
15466
15467 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15468             Joseph Myers  <joseph@codesourcery.com>
15469
15470         * Makeconfig (test-name): New variable.
15471         (evaluate-test): Likewise.
15472         * Makerules (do-test-clean): Remove .test-result files.
15473         (common-mostlyclean): Likewise.
15474         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15475         * scripts/evaluate-test.sh: New file.
15476
15477 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15478
15479         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15480         separate $(objpfx)tst-fopenloc-cmp.out and
15481         $(objpfx)tst-fopenloc-mem.out targets.
15482         (tests): Update dependencies.
15483         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15484         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15485         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15486         (tst-rxspencer-no-utf8-ARGS): New variable.
15487         (tst-rxspencer-no-utf8-ENV): Likewise.
15488         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15489         instead of $(objpfx)tst-rxspencer-mem.
15490         ($(objpfx)tst-rxspencer-mem): Change target to
15491         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15492         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15493         * posix/tst-rxspencer-no-utf8.c: New file.
15494
15495         * elf/Makefile ($(objpfx)order.out): Remove rule.
15496         [$(run-built-tests) = yes] (tests): Depend on
15497         $(objpfx)order-cmp.out.
15498         ($(objpfx)order-cmp.out): New rule.
15499         [$(run-built-tests) = yes] (tests): Depend on
15500         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15501         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15502         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15503         $(objpfx)tst-array5-static-cmp.out.
15504         ($(objpfx)tst-array1.out): Remove rule.
15505         ($(objpfx)tst-array1-cmp.out): New rule.
15506         ($(objpfx)tst-array1-static.out): Remove rule.
15507         ($(objpfx)tst-array1-static-cmp.out): New rule.
15508         ($(objpfx)tst-array2.out): Remove rule.
15509         ($(objpfx)tst-array2-cmp.out): New rule.
15510         ($(objpfx)tst-array3.out): Remove rule.
15511         ($(objpfx)tst-array3-cmp.out): New rule.
15512         ($(objpfx)tst-array4.out): Remove rule.
15513         ($(objpfx)tst-array4-cmp.out): New rule.
15514         ($(objpfx)tst-array5.out): Remove rule.
15515         ($(objpfx)tst-array5-cmp.out): New rule.
15516         ($(objpfx)tst-array5-static.out): Remove rule.
15517         ($(objpfx)tst-array5-static-cmp.out): New rule.
15518         [$(run-built-tests) = yes] (tests): Depend on
15519         $(objpfx)order2-cmp.out.
15520         ($(objpfx)order2.out): Remove rule.
15521         ($(objpfx)order2-cmp.out): New rule.
15522         ($(objpfx)tst-initorder.out): Remove rule.
15523         [$(run-built-tests) = yes] (tests): Depend on
15524         $(objpfx)tst-initorder-cmp.out.
15525         ($(objpfx)tst-initorder-cmp.out): New rule.
15526         ($(objpfx)tst-initorder2.out): Remove rule.
15527         [$(run-built-tests) = yes] (tests): Depend on
15528         $(objpfx)tst-initorder2-cmp.out.
15529         ($(objpfx)tst-initorder2-cmp.out): New rule.
15530         [$(run-built-tests) = yes] (tests): Depend on
15531         $(objpfx)tst-unused-dep-cmp.out.
15532         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15533         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15534         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15535         on $(objpfx)tst-setvbuf1-cmp.out.
15536         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15537         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15538         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15539         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15540         ($(objpfx)tst-svc.out): Remove rule.
15541         ($(objpfx)tst-svc-cmp.out): New rule.
15542
15543 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15544
15545         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15546         * ctype/ctype.h [__USE_MISC]: Likewise.
15547         * dirent/dirent.h [__USE_MISC]: Likewise.
15548         * grp/grp.h [__USE_MISC]: Likewise.
15549         * io/fcntl.h [__USE_MISC]: Likewise.
15550         * io/sys/stat.h [__USE_MISC]: Likewise.
15551         * libio/stdio.h [__USE_MISC]: Likewise.
15552         * posix/unistd.h [__USE_MISC]: Likewise.
15553         * pwd/pwd.h [__USE_MISC]: Likewise.
15554         * stdlib.h [__USE_MISC]: Likewise.
15555         * string/bits/string2.h [__USE_MISC]: Likewise.
15556         * string/string.h [__USE_MISC]: Likewise.
15557         * time/time.h [__USE_MISC]: Likewise.
15558
15559 2014-02-13  Andreas Schwab  <schwab@suse.de>
15560
15561         [BZ #16574]
15562         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15563         second answer buffer if it was separately allocated.
15564
15565 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15566
15567         * sysdeps/mips/math-tests.h: Include <features.h>.
15568         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15569         (ROUNDING_TESTS_long_double): Do not define.
15570         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15571         (EXCEPTION_TESTS_long_double): Likewise.
15572         * sysdeps/mips/mips64/libm-test-ulps: Update.
15573
15574         * include/features.h (__USE_BSD): Remove macro definitions.
15575         (__USE_SVID): Likewise.
15576         (_BSD_SOURCE): Likewise.
15577         (_SVID_SOURCE): Likewise.
15578         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15579         from definition of _DEFAULT_SOURCE.
15580         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15581         [_DEFAULT_SOURCE].
15582         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15583         * bits/mman.h [__USE_BSD]: Likewise.
15584         * bits/termios.h [__USE_BSD]: Likewise.
15585         * bits/waitstatus.h [__USE_BSD]: Likewise.
15586         * ctype/ctype.h [__USE_SVID]: Likewise.
15587         * dirent/dirent.h [__USE_BSD]: Likewise.
15588         * grp/grp.h [__USE_SVID]: Likewise.
15589         [__USE_BSD]: Likewise.
15590         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15591         * io/fcntl.h [__USE_BSD]: Likewise.
15592         * io/ftw.h [__USE_BSD]: Likewise.
15593         * io/sys/stat.h [__USE_BSD]: Likewise.
15594         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15595         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15596         * libio/stdio.h [__USE_SVID]: Likewise.
15597         [__USE_BSD]: Likewise.
15598         * math/math.h [__USE_SVID]: Likewise.
15599         [__USE_BSD]: Likewise.
15600         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15601         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15602         * misc/search.h [__USE_SVID]: Likewise.
15603         * misc/sys/mman.h [__USE_BSD]: Likewise.
15604         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15605         * misc/sys/uio.h [__USE_BSD]: Likewise.
15606         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15607         * posix/glob.h [__USE_BSD]: Likewise.
15608         * posix/regex.h [__USE_BSD]: Likewise.
15609         * posix/sys/types.h [__USE_BSD]: Likewise.
15610         [__USE_SVID]: Likewise.
15611         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15612         * posix/sys/wait.h [__USE_BSD]: Likewise.
15613         [__USE_SVID]: Likewise.
15614         * posix/unistd.h [__USE_BSD]: Likewise.
15615         [__USE_SVID]: Likewise.
15616         * pwd/pwd.h [__USE_SVID]: Likewise.
15617         * resolv/netdb.h [__USE_BSD]: Likewise.
15618         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15619         * signal/signal.h [__USE_BSD]: Likewise.
15620         [__USE_SVID]: Likewise.
15621         * socket/sys/socket.h [__USE_BSD]: Likewise.
15622         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15623         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15624         [__USE_SVID]: Likewise.
15625         * string/bits/string2.h [__USE_BSD]: Likewise.
15626         [__USE_SVID]: Likewise.
15627         * string/bits/string3.h [__USE_BSD]: Likewise.
15628         * string/endian.h [__USE_BSD]: Likewise.
15629         * string/string.h [__USE_SVID]: Likewise.
15630         [__USE_BSD]: Likewise.
15631         * string/strings.h [__USE_BSD]: Likewise.
15632         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15633         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15634         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15635         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15636         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15637         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15638         Likewise.
15639         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15640         Likewise.
15641         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15642         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15643         Likewise.
15644         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15645         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15646         Likewise.
15647         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15648         Likewise.
15649         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15650         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15651         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15652         Likewise.
15653         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15654         Likewise.
15655         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15656         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15657         * termios/termios.h [__USE_BSD]: Likewise.
15658         * time/sys/time.h [__USE_BSD]: Likewise.
15659         * time/time.h [__USE_BSD]: Likewise.
15660         [__USE_SVID]: Likewise.
15661
15662         * Makefile (subdir_targets): Remove subdir_lint.out.
15663
15664         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15665         (do-tst-printf): Likewise.
15666         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15667         $(objpfx)tst-printf.out.
15668
15669         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15670
15671         * Makerules (check-abi-%): Change target to
15672         $(objpfx)check-abi-%.out.
15673         (check-abi target): Update dependencies.
15674         (check-abi-pattern variable): Redirect output of diff to $@.
15675         (check-abi variable): Likewise.
15676         * elf/Makefile (check-abi): Update dependencies.
15677
15678         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15679         unused.
15680         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15681         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15682         subnormal range.
15683         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15684         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15685         value has largest subnormal exponent.
15686         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15687         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15688         * sysdeps/aarch64/soft-fp/sfp-machine.h
15689         (_FP_TININESS_AFTER_ROUNDING): New macro.
15690         * sysdeps/alpha/soft-fp/sfp-machine.h
15691         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15692         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15693         Likewise.
15694         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15695         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15696         * sysdeps/mips/soft-fp/sfp-machine.h
15697         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15698         * sysdeps/powerpc/soft-fp/sfp-machine.h
15699         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15700         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15701         Likewise.
15702         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15703         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15704         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15705         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15706         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15707         Likewise.
15708
15709 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15710
15711         [BZ #16545]
15712         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15713         model 1.
15714
15715 2014-02-12  Richard Henderson  <rth@redhat.com>
15716
15717         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15718         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15719         * sysdeps/unix/sysv/linux/alpha: Move directory from
15720         ports/sysdeps/unix/sysv/linux/alpha.
15721         * README: Update listing for alpha-*-linux-gnu.
15722
15723 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15724
15725         * include/features.h: Update comment documenting feature test
15726         macros.
15727         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15728         _DEFAULT_SOURCE.
15729         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15730         (_SVID_SOURCE): Likewise.
15731         (_DEFAULT_SOURCE): Update description of default features.
15732         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15733         with _GNU_SOURCE.
15734         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15735         (S_ISVTX): Likewise.
15736         * manual/math.texi (Mathematical Constants): Likewise.
15737         * manual/signal.texi (Interrupted Primitives): Likewise.
15738         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15739         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15740         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15741         Don't refer to _SVID_SOURCE in warning text.
15742
15743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15744
15745         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15746         already defined.
15747         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15748         * sysdeps/mips/dl-lookup.c: Remove.
15749         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15750
15751 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15752
15753         [BZ #16447]
15754         * math/auto-libm-test-in: Add testcase for expl.
15755         * math/auto-libm-test-out: Regenerate.
15756         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15757         calculation of unsafe.
15758         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15759
15760 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15761
15762         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15763         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15764         ports/sysdeps/unix/sysv/linux/aarch64.
15765         * README: Update listing for aarch64*-*-linux-gnu.
15766
15767 2014-02-11  Will Newton  <will.newton@linaro.org>
15768
15769         * manual/probes.texi (Mathematical Function Probes): Use
15770         "triggered" instead of "hit".
15771
15772         * manual/probes.texi (Internal Probes): Add documentation
15773         of setjmp, longjmp and longjmp_target probes.
15774
15775         * include/stap-probe.h: Add comment about probe argument
15776         format.
15777
15778         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15779         definition.  (tr_where, tr_freehook, tr_mallochook,
15780         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15781
15782 2014-02-11  David S. Miller  <davem@davemloft.net>
15783
15784         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15785         processing int_tests.
15786
15787 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15788
15789         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15790         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15791         * sysdeps/unix/sysv/linux/mips: Move directory from
15792         ports/sysdeps/unix/sysv/linux/mips.
15793         * README: Update listing for mips-*-linux-gnu and
15794         mips64-*-linux-gnu.
15795
15796 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15797
15798         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15799         * sysdeps/unix/sysv/linux/m68k: Move directory from
15800         ports/sysdeps/unix/sysv/linux/m68k.
15801         * README: Update listing for m68k-*-linux-gnu.
15802
15803 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15804
15805         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15806         * sysdeps/unix/sysv/linux/generic: Move directory from
15807         ports/sysdeps/unix/sysv/linux/generic.
15808         * sysdeps/unix/sysv/linux/tile: Move directory from
15809         ports/sysdeps/unix/sysv/linux/tile.
15810         * README: Update listing for tile*-*-linux-gnu.
15811
15812 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15813
15814         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15815         __builtin_expect.
15816         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15817         * catgets/open_catalog.c (__open_catalog): Likewise.
15818         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15819         * debug/confstr_chk.c: Likewise.
15820         * debug/fread_chk.c (__fread_chk): Likewise.
15821         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15822         * debug/getgroups_chk.c: Likewise.
15823         * debug/mbsnrtowcs_chk.c: Likewise.
15824         * debug/mbsrtowcs_chk.c: Likewise.
15825         * debug/mbstowcs_chk.c: Likewise.
15826         * debug/memcpy_chk.c: Likewise.
15827         * debug/memmove_chk.c: Likewise.
15828         * debug/mempcpy_chk.c: Likewise.
15829         * debug/memset_chk.c: Likewise.
15830         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15831         * debug/strcat_chk.c (__strcat_chk): Likewise.
15832         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15833         * debug/strncat_chk.c (__strncat_chk): Likewise.
15834         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15835         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15836         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15837         * debug/wcpncpy_chk.c: Likewise.
15838         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15839         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15840         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15841         * debug/wcsncpy_chk.c: Likewise.
15842         * debug/wcsnrtombs_chk.c: Likewise.
15843         * debug/wcsrtombs_chk.c: Likewise.
15844         * debug/wcstombs_chk.c: Likewise.
15845         * debug/wmemcpy_chk.c: Likewise.
15846         * debug/wmemmove_chk.c: Likewise.
15847         * debug/wmempcpy_chk.c: Likewise.
15848         * debug/wmemset_chk.c: Likewise.
15849         * dirent/scandirat.c (SCANDIRAT): Likewise.
15850         * dlfcn/dladdr1.c (dladdr1): Likewise.
15851         * dlfcn/dladdr.c (dladdr): Likewise.
15852         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15853         * dlfcn/dlerror.c (__dlerror): Likewise.
15854         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15855         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15856         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15857         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15858         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15859         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15860         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15861         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15862         Likewise.
15863         * elf/dl-conflict.c: Likewise.
15864         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15865         * elf/dl-dst.h: Likewise.
15866         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15867         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15868         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15869         * elf/dl-init.c (call_init, _dl_init): Likewise.
15870         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15871         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15872         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15873         Likewise.
15874         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15875         Likewise.
15876         * elf/dl-minimal.c (__libc_memalign): Likewise.
15877         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15878         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15879         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15880         * elf/dl-sym.c (do_sym): Likewise.
15881         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15882         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15883         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15884         * elf/dl-writev.h (_dl_writev): Likewise.
15885         * elf/ldconfig.c (search_dir): Likewise.
15886         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15887         (dl_main): Likewise.
15888         * elf/setup-vdso.h (setup_vdso): Likewise.
15889         * grp/compat-initgroups.c (compat_call): Likewise.
15890         * grp/fgetgrent.c (fgetgrent): Likewise.
15891         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15892         * grp/putgrent.c (putgrent): Likewise.
15893         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15894         Likewise.
15895         * hurd/hurdinit.c: Likewise.
15896         * iconvdata/8bit-gap.c (struct): Likewise.
15897         * iconvdata/ansi_x3.110.c : Likewise.
15898         * iconvdata/big5.c : Likewise.
15899         * iconvdata/big5hkscs.c : Likewise.
15900         * iconvdata/cp1255.c: Likewise.
15901         * iconvdata/cp1258.c : Likewise.
15902         * iconvdata/cp932.c : Likewise.
15903         * iconvdata/euc-cn.c: Likewise.
15904         * iconvdata/euc-jisx0213.c : Likewise.
15905         * iconvdata/euc-jp.c: Likewise.
15906         * iconvdata/euc-jp-ms.c : Likewise.
15907         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15908         * iconvdata/gb18030.c : Likewise.
15909         * iconvdata/gbbig5.c (const): Likewise.
15910         * iconvdata/gbgbk.c: Likewise.
15911         * iconvdata/gbk.c : Likewise.
15912         * iconvdata/ibm1364.c : Likewise.
15913         * iconvdata/ibm930.c : Likewise.
15914         * iconvdata/ibm932.c: Likewise.
15915         * iconvdata/ibm933.c : Likewise.
15916         * iconvdata/ibm935.c : Likewise.
15917         * iconvdata/ibm937.c : Likewise.
15918         * iconvdata/ibm939.c : Likewise.
15919         * iconvdata/ibm943.c: Likewise.
15920         * iconvdata/iso_11548-1.c: Likewise.
15921         * iconvdata/iso-2022-cn.c : Likewise.
15922         * iconvdata/iso-2022-cn-ext.c : Likewise.
15923         * iconvdata/iso-2022-jp-3.c: Likewise.
15924         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15925         * iconvdata/iso-2022-kr.c : Likewise.
15926         * iconvdata/iso646.c (gconv_end): Likewise.
15927         * iconvdata/iso_6937-2.c : Likewise.
15928         * iconvdata/iso_6937.c : Likewise.
15929         * iconvdata/iso8859-1.c: Likewise.
15930         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15931         * iconvdata/shift_jisx0213.c : Likewise.
15932         * iconvdata/sjis.c : Likewise.
15933         * iconvdata/t.61.c : Likewise.
15934         * iconvdata/tcvn5712-1.c : Likewise.
15935         * iconvdata/tscii.c: Likewise.
15936         * iconvdata/uhc.c : Likewise.
15937         * iconvdata/unicode.c (gconv_end): Likewise.
15938         * iconvdata/utf-16.c (gconv_end): Likewise.
15939         * iconvdata/utf-32.c (gconv_end): Likewise.
15940         * iconvdata/utf-7.c (base64): Likewise.
15941         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15942         * iconv/gconv_close.c (__gconv_close): Likewise.
15943         * iconv/gconv_open.c (__gconv_open): Likewise.
15944         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15945         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15946         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15947         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15948         (ucs4le_internal_loop_single): Likewise.
15949         * iconv/iconv.c (iconv): Likewise.
15950         * iconv/iconv_close.c: Likewise.
15951         * iconv/loop.c (SINGLE): Likewise.
15952         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15953         * include/atomic.h: Likewise.
15954         * inet/inet6_option.c (option_alloc): Likewise.
15955         * intl/bindtextdom.c (set_binding_values): Likewise.
15956         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15957         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15958         * intl/localealias.c (read_alias_file): Likewise.
15959         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15960         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15961         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15962         * libio/fmemopen.c (fmemopen): Likewise.
15963         * libio/iofgets.c (_IO_fgets): Likewise.
15964         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15965         * libio/iofgetws.c (fgetws): Likewise.
15966         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15967         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15968         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15969         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15970         * locale/findlocale.c (_nl_find_locale): Likewise.
15971         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15972         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15973         Likewise.
15974         * locale/setlocale.c (setlocale): Likewise.
15975         * login/programs/pt_chown.c (main): Likewise.
15976         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15977         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15978         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15979         (mmap, mmap64, mremap, munmap): Likewise.
15980         * math/e_exp2l.c: Likewise.
15981         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15982         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15983         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15984         * math/s_catan.c (__catan): Likewise.
15985         * math/s_catanf.c (__catanf): Likewise.
15986         * math/s_catanh.c (__catanh): Likewise.
15987         * math/s_catanhf.c (__catanhf): Likewise.
15988         * math/s_catanhl.c (__catanhl): Likewise.
15989         * math/s_catanl.c (__catanl): Likewise.
15990         * math/s_ccosh.c (__ccosh): Likewise.
15991         * math/s_ccoshf.c (__ccoshf): Likewise.
15992         * math/s_ccoshl.c (__ccoshl): Likewise.
15993         * math/s_cexp.c (__cexp): Likewise.
15994         * math/s_cexpf.c (__cexpf): Likewise.
15995         * math/s_cexpl.c (__cexpl): Likewise.
15996         * math/s_clog10.c (__clog10): Likewise.
15997         * math/s_clog10f.c (__clog10f): Likewise.
15998         * math/s_clog10l.c (__clog10l): Likewise.
15999         * math/s_clog.c (__clog): Likewise.
16000         * math/s_clogf.c (__clogf): Likewise.
16001         * math/s_clogl.c (__clogl): Likewise.
16002         * math/s_csin.c (__csin): Likewise.
16003         * math/s_csinf.c (__csinf): Likewise.
16004         * math/s_csinh.c (__csinh): Likewise.
16005         * math/s_csinhf.c (__csinhf): Likewise.
16006         * math/s_csinhl.c (__csinhl): Likewise.
16007         * math/s_csinl.c (__csinl): Likewise.
16008         * math/s_csqrt.c (__csqrt): Likewise.
16009         * math/s_csqrtf.c (__csqrtf): Likewise.
16010         * math/s_csqrtl.c (__csqrtl): Likewise.
16011         * math/s_ctan.c (__ctan): Likewise.
16012         * math/s_ctanf.c (__ctanf): Likewise.
16013         * math/s_ctanh.c (__ctanh): Likewise.
16014         * math/s_ctanhf.c (__ctanhf): Likewise.
16015         * math/s_ctanhl.c (__ctanhl): Likewise.
16016         * math/s_ctanl.c (__ctanl): Likewise.
16017         * math/w_pow.c: Likewise.
16018         * math/w_powf.c: Likewise.
16019         * math/w_powl.c: Likewise.
16020         * math/w_scalb.c (sysv_scalb): Likewise.
16021         * math/w_scalbf.c (sysv_scalbf): Likewise.
16022         * math/w_scalbl.c (sysv_scalbl): Likewise.
16023         * misc/error.c (error_tail): Likewise.
16024         * misc/pselect.c (__pselect): Likewise.
16025         * nis/nis_callback.c (__nis_create_callback): Likewise.
16026         * nis/nis_call.c (__nisfind_server): Likewise.
16027         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16028         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16029         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16030         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16031         * nis/nis_lookup.c (nis_lookup): Likewise.
16032         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16033         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16034         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16035         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16036         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16037         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16038         * nis/nss_compat/compat-initgroups.c (add_group)
16039         (internal_getgrent_r): Likewise.
16040         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16041         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16042         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16043         (internal_getspnam_r): Likewise.
16044         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16045         (_nss_nis_getaliasbyname_r): Likewise.
16046         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16047         (_nss_nis_getntohost_r): Likewise.
16048         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16049         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16050         (_nss_nis_getgrgid_r): Likewise.
16051         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16052         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16053         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16054         (_nss_nis_gethostbyname4_r): Likewise.
16055         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16056         (initgroups_netid): Likewise.
16057         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16058         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16059         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16060         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16061         (_nss_nis_getprotobynumber_r): Likewise.
16062         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16063         (_nss_nis_getsecretkey): Likewise.
16064         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16065         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16066         (_nss_nis_getpwuid_r): Likewise.
16067         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16068         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16069         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16070         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16071         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16072         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16073         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16074         Likewise.
16075         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16076         (_nss_nisplus_getntohost_r): Likewise.
16077         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16078         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16079         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16080         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16081         Likewise.
16082         * nis/nss_nisplus/nisplus-initgroups.c
16083         (_nss_nisplus_initgroups_dyn): Likewise.
16084         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16085         (_nss_nisplus_getnetbyaddr_r): Likewise.
16086         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16087         (_nss_nisplus_getprotobynumber_r): Likewise.
16088         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16089         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16090         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16091         Likewise.
16092         * nis/nss_nisplus/nisplus-service.c
16093         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16094         (_nss_nisplus_getservbyport_r): Likewise.
16095         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16096         (_nss_nisplus_getspnam_r): Likewise.
16097         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16098         Likewise.
16099         * nscd/aicache.c (addhstaiX): Likewise.
16100         * nscd/cache.c (cache_search, prune_cache): Likewise.
16101         * nscd/connections.c (register_traced_file, send_ro_fd)
16102         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16103         (main_loop_epoll): Likewise.
16104         * nscd/grpcache.c (addgrbyX): Likewise.
16105         * nscd/hstcache.c (addhstbyX): Likewise.
16106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16107         * nscd/mem.c (gc, mempool_alloc): Likewise.
16108         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16109         (addinnetgrX): Likewise.
16110         * nscd/nscd-client.h (__nscd_acquire_maplock)
16111         (__nscd_drop_map_ref): Likewise.
16112         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16113         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16114         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16115         Likewise.
16116         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16117         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16118         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16119         (__nscd_get_map_ref): Likewise.
16120         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16121         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16122         Likewise.
16123         * nscd/pwdcache.c (addpwbyX): Likewise.
16124         * nscd/selinux.c (preserve_capabilities): Likewise.
16125         * nscd/servicescache.c (addservbyX): Likewise.
16126         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16127         * posix/fnmatch.c (fnmatch): Likewise.
16128         * posix/getopt.c (_getopt_internal_r): Likewise.
16129         * posix/glob.c (glob, glob_in_dir): Likewise.
16130         * posix/wordexp.c (exec_comm_child): Likewise.
16131         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16132         (getanswer_r, gaih_getanswer_slice): Likewise.
16133         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16134         * resolv/res_init.c: Likewise.
16135         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16136         * resolv/res_query.c (__libc_res_nquery): Likewise.
16137         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16138         Likewise.
16139         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16140         * stdio-common/perror.c (perror): Likewise.
16141         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16142         * stdio-common/tmpnam.c (tmpnam): Likewise.
16143         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16144         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16145         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16146         Likewise.
16147         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16148         * stdlib/putenv.c (putenv): Likewise.
16149         * stdlib/setenv.c (__add_to_environ): Likewise.
16150         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16151         * stdlib/strtol_l.c (INTERNAL): Likewise.
16152         * string/memmem.c (memmem): Likewise.
16153         * string/strerror.c (strerror): Likewise.
16154         * string/strnlen.c (__strnlen): Likewise.
16155         * string/test-memmem.c (simple_memmem): Likewise.
16156         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16157         * sunrpc/pm_getport.c (__get_socket): Likewise.
16158         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16159         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16160         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16161         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16162         Likewise.
16163         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16164         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16165         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16166         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16167         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16168         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16169         Likewise.
16170         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16171         Likewise.
16172         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16173         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16174         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16175         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16176         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16178         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16179         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16180         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16181         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16182         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16183         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16184         Likewise.
16185         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16186         Likewise.
16187         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16188         Likewise.
16189         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16190         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16192         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16193         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16194         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16195         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16197         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16198         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16199         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16201         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16202         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16204         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16205         Likewise.
16206         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16207         Likewise.
16208         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16209         Likewise.
16210         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16211         Likewise.
16212         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16213         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16214         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16215         Likewise.
16216         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16217         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16218         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16219         * sysdeps/posix/sleep.c: Likewise.
16220         * sysdeps/posix/tempname.c: Likewise.
16221         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16222         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16223         Likewise.
16224         * sysdeps/powerpc/powerpc32/dl-machine.h
16225         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16226         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16227         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16228         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16229         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16230         Likewise.
16231         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16232         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16233         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16234         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16235         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16236         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16237         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16238         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16239         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16240         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16241         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16242         (elf_machine_lazy_rel): Likewise.
16243         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16244         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16245         (elf_machine_lazy_rel): Likewise.
16246         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16247         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16248         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16249         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16250         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16251         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16252         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16253         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16254         Likewise.
16255         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16256         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16257         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16258         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16259         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16260         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16261         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16262         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16263         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16264         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16265         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16266         Likewise.
16267         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16268         (__posix_fallocate64_l64): Likewise.
16269         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16270         (posix_fallocate): Likewise.
16271         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16272         Likewise.
16273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16274         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16275         (getifaddrs_internal): Likewise.
16276         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16277         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16278         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16279         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16280         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16281         (__posix_fallocate64_l64): Likewise.
16282         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16283         Likewise.
16284         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16286         (__get_clockfreq): Likewise.
16287         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16288         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16289         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16292         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16293         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16294         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16295         Likewise.
16296         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16297         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16298         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16299         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16300         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16301         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16302         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16303         Likewise.
16304         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16305         (posix_fallocate): Likewise.
16306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16307         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16308         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16309         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16310         (elf_machine_rela, elf_machine_rela_relative)
16311         (elf_machine_lazy_rel): Likewise.
16312         * time/asctime.c (asctime_internal): Likewise.
16313         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16314         * time/tzset.c (__tzset_parse_tz): Likewise.
16315         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16316         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16317         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16318         * wcsmbs/wcsmbsload.h: Likewise.
16319
16320         [BZ #15894]
16321         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16322
16323         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16324         (arena_get2): Remove THREAD_STATS conditionals.
16325         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16326         (__malloc_stats, int): Likewise.
16327
16328 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16329
16330         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16331         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16332
16333         * manual/setjmp.texi: Fix typos/grammar errors.
16334
16335         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16336         Only return early when n is <= 0.  Delete unused return statement.
16337
16338         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16339         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16340         * debug/tst-longjmp_chk3.c: New file.
16341
16342         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16343         (test_main): Replace code with set_fortify_handler call.
16344         * debug/test-strcpy_chk.c: Likewise.
16345         * debug/tst-chk1.c: Likewise.
16346         * debug/tst-longjmp_chk.c: Likewise.
16347         * test-skeleton.c: Include fcntl.h & paths.h
16348         (set_fortify_handler): Define.
16349
16350         * debug/tst-longjmp_chk.c: Add header comment and include
16351         ../test-skeleton.c.
16352         (do_test): Mark static.
16353         (TEST_FUNCTION): Define.
16354
16355         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16356         (IP_PMTUDISC_INTERFACE): Likewise.
16357         (IP_MULTICAST_IF): Likewise.
16358         (IP_MULTICAST_TTL): Likewise.
16359         (IP_MULTICAST_LOOP): Likewise.
16360         (IP_ADD_MEMBERSHIP): Likewise.
16361         (IP_DROP_MEMBERSHIP): Likewise.
16362         (IP_UNBLOCK_SOURCE): Likewise.
16363         (IP_BLOCK_SOURCE): Likewise.
16364         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16365         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16366         (IP_MSFILTER): Likewise.
16367         (MCAST_JOIN_GROUP): Likewise.
16368         (MCAST_BLOCK_SOURCE): Likewise.
16369         (MCAST_UNBLOCK_SOURCE): Likewise.
16370         (MCAST_LEAVE_GROUP): Likewise.
16371         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16372         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16373         (MCAST_MSFILTER): Likewise.
16374         (IP_MULTICAST_ALL): Likewise.
16375         (IP_UNICAST_IF): Likewise.
16376
16377         * timezone/Makefile: Delete $(have-ksh) check.
16378         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16379         * timezone/tzselect.ksh: Add +x mode bits.
16380
16381         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16382         (ANON_INODE_FS_MAGIC): Likewise.
16383         (BDEVFS_MAGIC): Likewise.
16384         (BINFMTFS_MAGIC): Likewise.
16385         (BTRFS_TEST_MAGIC): Likewise.
16386         (CRAMFS_MAGIC_WEND): Likewise.
16387         (DEBUGFS_MAGIC): Likewise.
16388         (ECRYPTFS_SUPER_MAGIC): Likewise.
16389         (EXT3_SUPER_MAGIC): Likewise.
16390         (EXT4_SUPER_MAGIC): Likewise.
16391         (FUTEXFS_SUPER_MAGIC): Likewise.
16392         (HOSTFS_SUPER_MAGIC): Likewise.
16393         (HUGETLBFS_MAGIC): Likewise.
16394         (MINIX3_SUPER_MAGIC): Likewise.
16395         (MTD_INODE_FS_MAGIC): Likewise.
16396         (NILFS_SUPER_MAGIC): Likewise.
16397         (OPENPROM_SUPER_MAGIC): Likewise.
16398         (PIPEFS_MAGIC): Likewise.
16399         (PSTOREFS_MAGIC): Likewise.
16400         (QNX6_SUPER_MAGIC): Likewise.
16401         (RAMFS_MAGIC): Likewise.
16402         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16403         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16404         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16405         (SECURITYFS_MAGIC): Likewise.
16406         (SELINUX_MAGIC): Likewise.
16407         (SMACK_MAGIC): Likewise.
16408         (SOCKFS_MAGIC): Likewise.
16409         (SQUASHFS_MAGIC): Likewise.
16410         (STACK_END_MAGIC): Likewise.
16411         (TMPFS_MAGIC): Likewise.
16412         (USBDEVICE_SUPER_MAGIC): Likewise.
16413         (V9FS_MAGIC): Likewise.
16414         (XENFS_SUPER_MAGIC): Likewise.
16415         (CRAMFS_MAGIC): Fix typo in comment.
16416         (EXT2_SUPER_MAGIC): Update comment.
16417         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16418
16419 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16420
16421         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16422         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16423         * sysdeps/unix/sysv/linux/arm: Move directory from
16424         ports/sysdeps/unix/sysv/linux/arm.
16425         * README: Update listing for arm-*-linux-gnueabi.
16426
16427         * README: Remove mention of am33.
16428
16429 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16430
16431         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16432         than the comma operator, to avoid "rhs of comma has no effect"
16433         compiler warnings.
16434         (__sigfillset, __sigandset, __sigorset): Likewise.
16435         * include/signal.h (__sigemptyset): Likewise.
16436         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16437
16438 2014-02-07  Allan McRae  <allan@archlinux.org>
16439
16440         * version.h (RELEASE): Set to "development".
16441         (VERSION): Set to "2.19.90"
16442         * NEWS: Add 2.20 section.
16443
16444 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16445
16446         [BZ #16529]
16447         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16448
16449 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16450
16451         * manual/contrib.texi: Update entry for Carlos O'Donell,
16452         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16453
16454 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16455
16456         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16457
16458         * sysdeps/unix/sysv/linux/kernel-features.h
16459         [__LINUX_KERNEL_VERSION >= 0x020621]
16460         (__ASSUME_PROC_PID_TASK_COMM): Define.
16461
16462 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16463
16464         [BZ #16398]
16465         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16466         conversion when destination buffer does not have enough space.
16467         * libio/tst-ftell-partial-wide.c: New test case.
16468         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16469
16470         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16471         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16472         Leonard and Allan McRae.
16473
16474 2014-02-04  David S. Miller  <davem@davemloft.net>
16475
16476         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16477         32-bit.
16478
16479 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16480
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16482         New file
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16484         New file
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16486         New file.
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16488         New file.
16489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16490         New file.
16491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16492         New file.
16493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16494         New file.
16495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16496         New file.
16497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16498         New file.
16499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16500         New file.
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16502         New file.
16503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16504         New file.
16505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16506         New file.
16507
16508 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16509
16510         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16511         * shlib-versions: Likewise.
16512
16513 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16514             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16515
16516         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16517         (abilist-pattern): New variable, set to %-le.abilist.
16518
16519         * Makerules (abilist-pattern): New variable.
16520         (vpath): Use $(abilist-pattern) in place of %.abilist.
16521         (check-abi-% pattern rule): Likewise.
16522         (check-abi, update-abi): Likewise.
16523
16524 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16525
16526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16527
16528 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16529
16530         * manual/startup.texi: Add next, previous, and top entries for
16531         the `Program Arguments' and `Environment Variables' nodes.
16532
16533 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16534
16535         * manual/macros.texi: Add comments before MTASC-safety macros.
16536
16537         * manual/users.texi: Document MTASC-safety properties.
16538
16539         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16540         (pthread_getspecific, pthread_setspecific): Format with
16541         @deftypefun, and add @safety note.
16542         * manual/signal.texi: Move comments that analyze the above
16543         functions to their home place.
16544
16545 2014-02-03  Allan McRae  <allan@archlinux.org>
16546
16547         * po/sl.po: Update Slovenian translation from translation project.
16548
16549 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16550
16551         * manual/time.texi (timegm): Add missing blank after @c.
16552         Reported by Joseph Myers <joseph@codesourcery.com>.
16553
16554 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16555
16556         * manual/check-safety.sh: New.
16557         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16558
16559         * manual/terminal.texi: Document MTASC-safety properties.
16560
16561         * manual/filesys.texi: Document MTASC-safety properties.
16562
16563         * manual/errno.texi: Document MTASC-safety properties.
16564
16565         * manual/intro.texi: Document safety identifiers and
16566         conditionals.
16567
16568         * manual/string.texi (wcstok): Fix prototype.
16569         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16570
16571         * manual/time.texi: Document MTASC-safety properties.
16572
16573         * manual/string.texi: Document MTASC-safety properties.
16574
16575         * manual/threads.texi: Document MTASC-safety properties.
16576
16577         * manual/stdio.texi: Document MTASC-safety properties.
16578
16579         * manual/syslog.texi: Document MTASC-safety properties.
16580
16581         * manual/sysinfo.texi: Document MTASC-safety properties.
16582
16583         * manual/startup.texi: Document MTASC-safety properties.
16584
16585         * manual/socket.texi: Document MTASC-safety properties.
16586
16587         * manual/signal.texi: Document MTASC-safety properties.
16588
16589 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16590
16591         * manual/setjmp.texi: Document MTASC-safety properties.
16592
16593         * manual/search.texi: Document MTASC-safety properties.
16594
16595         * manual/resource.texi: Document MTASC-safety properties.
16596
16597         * manual/process.texi: Document MTASC-safety properties.
16598
16599         * manual/platform.texi: Document MTASC-safety properties.
16600
16601         * manual/pipe.texi: Document MTASC-safety properties.
16602
16603         * manual/pattern.texi: Document MTASC-safety properties.
16604
16605         * manual/message.texi: Document MTASC-safety properties.
16606
16607         [BZ #12751]
16608         * manual/memory.texi: Document MTASC-safety properties.
16609
16610         * manual/math.texi: Document MTASC-safety properties.
16611
16612         * manual/locale.texi: Document MTASC-safety properties.
16613
16614         * manual/llio.texi: Document MTASC-safety properties.
16615
16616         * manual/libdl.texi: New.
16617
16618         * manual/lang.texi: Document MTASC-safety properties.
16619
16620         * manual/job.texi: Document MTASC-safety properties.
16621
16622         * manual/getopt.texi: Document MTASC-safety properties.
16623
16624         * manual/ctype.texi: Document MTASC-safety properties.
16625
16626 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16627
16628         [BZ #16046]
16629         * csu/libc-tls.c (static_map): Remove variable.
16630         (__libc_setup_tls): Use main executable's link map for TLS data.
16631         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16632         casing for LM_ID_BASE and GL(dl_nns).
16633         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16634         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16635         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16636         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16637         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16638         member.
16639         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16640         l_phnum members.
16641
16642 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16643
16644         * manual/debug.texi: Document MTASC-safety properties.
16645
16646 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16647
16648         [BZ #16510]
16649         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16650         of __x86_64__ when disabling x87 inline functions.
16651
16652 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16653
16654         * manual/charset.texi: Document MTASC-safety properties.
16655
16656         * manual/crypt.texi: Document MTASC-safety properties.
16657
16658         * manual/conf.texi: Document MTASC-safety properties.
16659
16660         * manual/arith.texi: Document MTASC-safety properties.
16661
16662         * manual/argp.texi: Document MTASC-safety properties.
16663
16664         * manual/macros.texi: Introduce macros to document multi
16665         thread, asynchronous signal and asynchronous cancellation
16666         safety properties.
16667         * manual/intro.texi: Introduce the properties themselves.
16668
16669 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16670
16671         * sysdeps/sh/sh4/Makefile: New file.
16672
16673 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16674
16675         * math/gen-libm-test.pl ($srcdir): New variable.
16676         ($auto_input): Use it.
16677
16678 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16679
16680         [BZ #16506]
16681         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16682         access beyond array bounds when parsing netgroups file.
16683
16684         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16685         the old buffer before realloc.
16686
16687 2014-01-27  Allan McRae  <allan@archlinux.org>
16688
16689         * po/fr.po: Update French translation from translation project.
16690
16691 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16692
16693         * sysdeps/sh/libm-test-ulps: Regenerate.
16694
16695 2014-01-24  David S. Miller  <davem@davemloft.net>
16696
16697         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16698
16699 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16700
16701         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16702         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16703
16704 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16705
16706         [BZ #16474]
16707         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16708         string pointers after reallocation.
16709
16710 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16711
16712         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16713         __SH4A__ instead of __SH_FPU_ANY__.
16714
16715 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16716
16717         * sysdeps/sh/fpu_control.h: New file.
16718         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16719         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16720         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16721         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16722         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16723         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16724         * sysdeps/sh/sys/ucontext.h: Remove.
16725         * sysdeps/sh/sys: Remove directory.
16726
16727 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16728
16729         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16730         s390/sys/ucontext.h.
16731         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16732         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16733
16734 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16735
16736         [BZ #15605]
16737         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16738
16739 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16740
16741         [BZ#16431]
16742         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16743         Adjust the vDSO correctly for internal calls.
16744         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16745
16746 2014-01-20  Allan McRae  <allan@archlinux.org>
16747
16748         * po/ca.po: Update Catalan translation from translation project.
16749
16750 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16751
16752         * sysdeps/s390/sotruss-lib.c: New file.
16753
16754 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16755
16756         [BZ#16430]
16757         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16758         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16759         local calls issues by not having a PLT stub required for IFUNC calls.
16760         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16761
16762 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16763
16764         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16765         * math/test-fpucw-static.c: Likewise.
16766
16767 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16768
16769         [BZ #16453]
16770         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16771
16772 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16773
16774         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16775         implementation for powerpc.
16776
16777 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16778
16779         [BZ #14782]
16780         * sysdeps/posix/system.c (__libc_system): Do not enable
16781         asynchronous cancellation.
16782
16783 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16784
16785         [BZ #16427]
16786         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16787         handling only for numbers special also in the IEEE case.
16788
16789 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16790
16791         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16792
16793 2014-01-11  Allan McRae  <allan@archlinux.org>
16794
16795         * po/bg.po: Update Bulgarian translation from translation project.
16796
16797         * po/de.po: Update German translation from translation project.
16798
16799 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16800
16801         * sysdeps/generic/gcc-compat.h: New file.
16802
16803 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16804
16805         * benchtests/asin-inputs: Correct slow inputs.
16806         * benchtests/acos-inputs: Likewise.
16807
16808 2014-01-10  Allan McRae  <allan@archlinux.org>
16809
16810         * po:sv.po: Update Swedish translation from translation project.
16811
16812         * po/vi.po: Update Vietnamese translation from translation project.
16813
16814         * po/eo.po: Update Esperanto translation from translation project.
16815
16816         * po/cs.po: Update Czech translation from translation project.
16817
16818         * po/nl.po: Update Dutch translation from translation project.
16819
16820         * po/pl.po: Update Polish translation from translation project.
16821
16822         * po/ru.po: Update Russian translation from translation project.
16823
16824         * po/uk.po: Update Ukrainian translation from translation project.
16825
16826 2014-01-08  Brooks Moses  <bmoses@google.com>
16827
16828         * elf/dl-load.c: Fix comment typo.
16829
16830 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16831
16832         * po/header.pot: Rename to...
16833         * po/pot.header: ... this.
16834         * po/Makefile: Use pot.header.
16835
16836 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16837             Maxim Kuvyrkov  <maxim@kugelworks.com>
16838
16839         [BZ #16394]
16840         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16841         SRC and DEST against LEN.
16842
16843 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16844
16845         [BZ #16414]
16846         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16847         implementation.
16848         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16849
16850 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16851
16852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16853
16854 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16855
16856         [BZ #16408]
16857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16858         for large positive arguments.
16859
16860 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16861
16862         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16863
16864         * math/auto-libm-test-in: Mark various tests with
16865         xfail-rounding:ldbl-128ibm.
16866         * math/auto-libm-test-out: Regenerated.
16867
16868         [BZ #16407]
16869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16870         Increase overflow threshold.
16871
16872 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16873
16874         [BZ #14286]
16875         * stdio-common/vfprintf.c: Check for integer overflow.
16876
16877 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16878
16879         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16880         the first argument and return value of __tls_get_addr_internal.
16881
16882 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16883
16884         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16885         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16886
16887 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16888
16889         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16890         * sysdeps/s390/rtld-global-offsets.sym: New file.
16891         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16892         GLIBC_2.19 symbol.
16893         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16894         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16895         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16896         ... this.
16897         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16898         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16899         ... this.
16900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16901         Regenerate.
16902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16903         Regenerate.
16904         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16905         halfs of GPRs for high_gprs contexts.
16906         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16907         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16908         field.
16909         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16910         uc_flags field.
16911         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16912         64 bit versions:
16913         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16914         for high GPRs (uc_high_gprs) and for future extensions
16915         (__reserved).
16916         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16917         for future extensions (__reserved).
16918         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16919         64 bit versions:
16920         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16921         SC_HIGHGPRS offset definition.
16922         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16923         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16924
16925         * Versions.def: Add GLIBC_2.19 for libpthread.
16926         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16927         siglongjmp for libpthread with GLIBC_2.19 symver.
16928         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16929         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16930         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16931         * sysdeps/s390/__longjmp.c: New file.
16932         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16933         * sysdeps/s390/longjmp.c: New file.
16934         * sysdeps/s390/setjmp.S: New file.
16935         * sysdeps/s390/sigjmp.S: New file.
16936         * sysdeps/s390/v1-longjmp.c: New file.
16937         * sysdeps/s390/v1-setjmp.h: New file.
16938         * sysdeps/s390/v1-sigjmp.c: New file.
16939         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16940         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16941         GLIBC_2.19 version.
16942         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16943         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16944         versioned symbols for ____longjmp_chk.
16945         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16946         Likewise.
16947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16948         Regenerate.
16949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16950         Regenerate.
16951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16952         Regenerate.
16953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16954         Regenerate.
16955         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16956         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16957         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16958         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16959         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16960         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16961         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16962         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16963         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16964         * sysdeps/s390/rtld-__longjmp.c: New file.
16965         * sysdeps/s390/rtld-setjmp.S: New file.
16966
16967 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16968
16969         [BZ #16400]
16970         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16971         Return -__logl (x) for small positive arguments without evaluating
16972         a polynomial.
16973
16974 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16975
16976         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16977         Rename to ...
16978         (__ptrace_peeksiginfo_args): ... this.
16979         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16980         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16981         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16982
16983 2014-01-06  Allan McRae  <allan@archlinux.org>
16984
16985         * inet/netinet/in.h: Fix typo in comment.
16986
16987 2014-01-05  Andreas Jaeger  <aj@suse.de>
16988
16989         * sysdeps/i386/fpu/libm-test-ulps: Update.
16990
16991 2014-01-05  Allan McRae  <allan@archlinux.org>
16992
16993         * po/libc.pot: Regenerated.
16994
16995         * malloc/memusagestat.c: Fix gettext call formatting.
16996
16997 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16998
16999         * nscd/nscd.c: Improve usage() output.
17000
17001 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
17002
17003         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17004         * sysdeps/unix/sysv/linux/configure: Regenerated.
17005         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17006         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17007
17008 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17009
17010         [BZ #16390]
17011         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17012         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17013
17014 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17015
17016         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17017         extra tokens at end of #undef directive.
17018         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17019         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17020         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17021
17022 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17023
17024         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17025
17026         * math/auto-libm-test-in: Mark various tests with
17027         xfail-rounding:ldbl-128ibm.
17028         * math/auto-libm-test-out: Regenerated.
17029
17030 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17031
17032         [BZ #16386]
17033         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17034         numbers with subnormal high part when calculating exponent.
17035
17036         [BZ #16385]
17037         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17038         fabs.
17039
17040         [BZ #16384]
17041         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17042         M_LN2l.
17043         (__ieee754_acoshl): Use __log1pl not __log1p.
17044
17045 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17046
17047         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17048         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17049         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17050         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17051         (reused_arena, arena_get2): Convert to GNU style.
17052         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17053         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17054         (memalign_check, __malloc_set_state): Likewise.
17055         * malloc/mallocbug.c (main): Likewise.
17056         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17057         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17058         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17059         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17060         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17061         (__posix_memalign, malloc_info): Likewise.
17062         * malloc/malloc.h: Likewise.
17063         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17064         (mallochook, memalignhook, reallochook, mabort): Likewise.
17065         * malloc/mcheck.h: Likewise.
17066         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17067         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17068         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17069         * malloc/morecore.c (__default_morecore): Likewise.
17070         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17071         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17072         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17073         (print_and_abort): Likewise.
17074         * malloc/obstack.h: Likewise.
17075         * malloc/set-freeres.c (__libc_freeres): Likewise.
17076         * malloc/tst-mallocstate.c (main): Likewise.
17077         * malloc/tst-mtrace.c (main): Likewise.
17078         * malloc/tst-realloc.c (do_test): Likewise.
17079
17080 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17081
17082         [BZ #16366]
17083         * nscd/netgroupcache.c (do_notfound): New function.
17084         (addgetnetgrentX): Use it.
17085
17086         [BZ # 16365]
17087         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17088         NSS_STATUS_NOTFOUND.
17089
17090 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17091
17092         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17094
17095 2014-01-01  Allan McRae  <allan@archlinux.org>
17096
17097         * scripts/update-copyrights: Update configure input file suffix.
17098
17099         * NEWS: Update copyright year.
17100         * catgets/gencat.c: Likewise.
17101         * csu/version.c: Likewise.
17102         * debug/catchsegv.sh: Likewise.
17103         * debug/pcprofiledump.c: Likewise.
17104         * debug/xtrace.sh: Likewise.
17105         * elf/ldconfig.c: Likewise.
17106         * elf/ldd.bash.in: Likewise.
17107         * elf/pldd.c: Likewise.
17108         * elf/sotruss.ksh: Likewise.
17109         * elf/sprof.c: Likewise.
17110         * iconv/iconv_prog.c: Likewise.
17111         * iconv/iconvconfig.c: Likewise.
17112         * locale/programs/locale.c: Likewise.
17113         * locale/programs/localedef.c: Likewise.
17114         * login/programs/pt_chown.c: Likewise.
17115         * malloc/memusage.sh: Likewise.
17116         * malloc/memusagestat.c: Likewise.
17117         * malloc/mtrace.pl: Likewise.
17118         * manual/libc.texinfo: Likewise.
17119         * nscd/nscd.c: Likewise.
17120         * nss/getent.c: Likewise.
17121         * nss/makedb.c: Likewise.
17122         * posix/getconf.c: Likewise.
17123         * scripts/test-installation.pl: Likewise.
17124
17125         * All files with FSF copyright notices: Update copyright dates
17126         using scripts/update-copyrights.
17127         * intl/plural.c: Regenerated.
17128         * locale/programs/charmap-kw.h: Likewise.
17129         * locale/programs/locfile-kw.h: Likewise.
17130
17131 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17132
17133         * sysdeps/unix/sysv/linux/configure: Regenerated.
17134         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17135         the linux/fanotify.h header.
17136         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17137         HAVE_LINUX_FANOTIFY_H is defined.
17138
17139 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17140
17141         * benchtests/cos-inputs: New inputs.
17142         * benchtests/sin-inputs: Likewise.
17143
17144         * benchtests/atan-inputs: New inputs. Fix name of multiple
17145         precision fallback inputs.
17146
17147         * benchtests/atanh-inputs: New inputs.
17148         * benchtests/tanh-inputs: Likewise.
17149
17150         * benchtests/acosh-inputs: New inputs.
17151         * benchtests/asinh-inputs: Likewise.
17152
17153         * benchtests/cosh-inputs: New inputs.
17154         * benchtests/sinh-inputs: Likewise.
17155
17156         * benchtests/acos-inputs: Add more inputs.
17157         * benchtests/asin-inputs: Likewise.
17158
17159 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17160
17161         [BZ #16375]
17162         * manual/arith.texi: Fix spelling.
17163         * manual/charset.texi: Likewise.
17164         * manual/errno.texi: Likewise.
17165         * manual/filesys.texi: Likewise.
17166         * manual/lang.texi: Likewise.
17167         * manual/llio.texi: Likewise.
17168         * manual/locale.texi: Likewise.
17169         * manual/message.texi: Likewise.
17170         * manual/resource.texi: Likewise.
17171         * manual/search.texi: Likewise.
17172         * manual/setjmp.texi: Likewise.
17173         * manual/stdio.texi: Likewise.
17174         * manual/string.texi: Likewise.
17175         * manual/sysinfo.texi: Likewise.
17176         * manual/time.texi: Likewise.
17177
17178 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17179
17180         * po/sl.po: New file.
17181
17182 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17183
17184         * .gitignore: Add core/.gdbinit/.gdb_history.
17185
17186 2013-12-27  Allan McRae  <allan@archlinux.org>
17187
17188         [BZ #16369]
17189         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17190         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17191
17192 2013-12-24  Brooks Moses  <bmoses@google.com>
17193
17194         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17195         all compilers that claim C++98 compliance, not just GCC.
17196         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17197         Likewise.
17198
17199 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17200
17201         * NEWS: Restore accidentally deleted bug-fix entries.
17202
17203 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17204             Ondřej Bílka  <neleai@seznam.cz>
17205
17206         [BZ #15073]
17207         * malloc/malloc.c (_int_free): Perform sanity check only if we
17208         have_lock.
17209
17210 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17211
17212         [BZ #12986]
17213         * manual/stdio.texi (String Input Conversions): Clarify that character
17214         classes are not supported.
17215
17216 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17217
17218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17219
17220 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17221
17222         [BZ #16337]
17223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17224         Calculate results for small negative arguments directly rather
17225         than using reflection formula with special underflow handling.
17226
17227         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17228         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17229         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17230         (fchflags): Likewise.
17231         (revoke): Likewise.
17232         (setlogin): Likewise.
17233         (sigaltstack): Likewise.
17234         (wait4): Likewise.
17235         (sigblock): Remove.
17236         (sigsetmask): Likewise.
17237         (wait3): Likewise.
17238         (waitpid): Likewise.
17239         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17240         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17241         file.
17242         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17243         * sysdeps/unix/bsd/Makefile: ... here.
17244         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17245         * sysdeps/unix/bsd/Versions: ... here.
17246         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17247         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17248         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17249         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17250         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17251         * sysdeps/unix/bsd/sigblock.c: ... here.
17252         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17253         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17254         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17255         * sysdeps/unix/bsd/sigvec.c: ... here.
17256         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17257         * sysdeps/unix/bsd/tcdrain.c: ... here.
17258         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17259         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17260         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17261         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17262         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17263         * sysdeps/unix/bsd/wait.c: ... here.
17264         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17265         * sysdeps/unix/bsd/wait3.c: ... here.
17266         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17267         * sysdeps/unix/bsd/waitpid.c: ... here.
17268
17269 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17270
17271         [BZ #16356]
17272         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17273         round-to-nearest for [!USE_AS_EXPM1L].
17274         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17275         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17276         more tests of exp and exp10.  Expect some exp10 tests to miss
17277         exceptions or fail in directed rounding modes.
17278         * math/auto-libm-test-out: Regenerated.
17279         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17280         (exp10_test_tonearest): New function.
17281         (exp10_towardzero_test_data): New array.
17282         (exp10_test_towardzero): New function.
17283         (exp10_downward_test_data): New array.
17284         (exp10_test_downward): New function.
17285         (exp10_upward_test_data): New array.
17286         (exp10_test_upward): New function.
17287         (main): Call the new functions.
17288         * sysdeps/i386/fpu/libm-test-ulps: Update.
17289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17290
17291 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17292
17293         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17294         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17295         * math/auto-libm-test-out: Regenerated.
17296         * math/libm-test.inc (acosh_test_data): Add more tests.
17297         (atanh_test_data): Likewise.
17298         (ceil_test_data): Likewise.
17299         (copysign_test_data): Likewise.
17300         * sysdeps/i386/fpu/libm-test-ulps: Update.
17301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17302
17303         * timezone/checktab.awk: Update from tzcode 2013i.
17304         * timezone/private.h: Likewise.
17305         * timezone/scheck.c: Likewise.
17306         * timezone/tzfile.h: Likewise.
17307         * timezone/tzselect.ksh: Likewise.
17308         * timezone/zdump.c: Likewise.
17309         * timezone/zic.c: Likewise.
17310
17311         * math/auto-libm-test-in: Add tests of cpow.
17312         * math/auto-libm-test-out: Regenerated.
17313         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17314         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17315         mpc_cc_c.
17316         (func_calc_desc): Add mpc_cc_c union field.
17317         (test_functions): Add cpow.
17318         (special_fill_2pi): New function.
17319         (special_real_inputs): Add 2pi.
17320         (calc_generic_results): Handle mpc_cc_c.
17321         * sysdeps/i386/fpu/libm-test-ulps: Update.
17322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17323
17324         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17325         csqrt, ctan and ctanh.
17326         * math/auto-libm-test-out: Regenerated.
17327         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17328         (TEST_COND_x86): Likewise.
17329         (ccos_test_data): Use AUTO_TESTS_c_c.
17330         (ccosh_test_data): Likewise.
17331         (cexp_test_data): Likewise.
17332         (clog_test_data): Likewise.
17333         (csqrt_test_data): Likewise.
17334         (ctan_test_data): Likewise.
17335         (ctan_tonearest_test_data): Likewise.
17336         (ctan_towardzero_test_data): Likewise.
17337         (ctan_downward_test_data): Likewise.
17338         (ctan_upward_test_data): Likewise.
17339         (ctanh_test_data): Likewise.
17340         (ctanh_tonearest_test_data): Likewise.
17341         (ctanh_towardzero_test_data): Likewise.
17342         (ctanh_downward_test_data): Likewise.
17343         (ctanh_upward_test_data): Likewise.
17344         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17345         mpc_c_c.
17346         (func_calc_desc): Add mpc_c_c union field.
17347         (FUNC_mpc_c_c): New macro.
17348         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17349         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17350         ctanh.
17351         (special_fill_min_subnorm_p120): New function.
17352         (special_real_inputs): Add min_subnorm_p120.
17353         (calc_generic_results): Handle mpc_c_c.
17354         * sysdeps/i386/fpu/libm-test-ulps: Update.
17355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17356
17357 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17358
17359         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17360         (do_sin_slow): New functions.
17361         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17362         (cslow2, csloww1, csloww2): Use the new functions.
17363
17364         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17365         Use M to change sign of result instead of X.  Assume X is
17366         positive.
17367         (csloww1): Likewise.
17368         (__sin): Adjust.
17369         (__cos): Adjust.
17370
17371         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17372         arguments A and DA.
17373         (__sin): Adjust.
17374         (__cos): Likewise.
17375
17376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17377         (__cos): Likewise.
17378         (sloww1): Don't adjust sign of DX.
17379         (csloww1): Likewise.
17380         (sloww2): Use X directly and don't adjust sign of DX.
17381         (csloww2): Likewise.
17382
17383 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17384
17385         * math/auto-libm-test-in: Add tests of cabs and carg.
17386         * math/auto-libm-test-out: Regenerated.
17387         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17388         (carg_test_data): Likewise.
17389         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17390         mpc_c_f.
17391         (func_calc_desc): Add mpc_c_f union field.
17392         (test_functions): Add cabs and carg.
17393         (calc_generic_results): Handle mpc_c_f.
17394
17395         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17396         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17397         as a macro and a compat symbol.
17398         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17399         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17400         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17401         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17402         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17403         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17404         not use .hidden.
17405         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17406         Likewise.
17407         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17408         Likewise.
17409         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17410         Likewise.
17411         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17412         Likewise.
17413         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17414         Likewise.
17415         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17416         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17417         from GLIBC_2.3.2.
17418
17419 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17420
17421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17422
17423 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17424
17425         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17426         trailing whitespace removed.
17427         * scripts/config.guess: Update to version 2013-11-29.
17428         * scripts/config.sub: Update to version 2013-10-01.
17429
17430         * math/auto-libm-test-in: Add tests of sincos.
17431         * math/auto-libm-test-out: Regenerated.
17432         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17434         mpfr_f_11.
17435         (func_calc_desc): Add mpfr_f_11 union field.
17436         (test_functions): Add sincos.
17437         (calc_generic_results): Handle mpfr_f_11.
17438         * sysdeps/i386/fpu/libm-test-ulps: Update.
17439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17440
17441 2013-12-19  Andreas Schwab  <schwab@suse.de>
17442
17443         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17444         CALL_MCOUNT.
17445         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17446         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17447         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17448
17449 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17450
17451         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17452         * sysdeps/i386/fpu/libm-test-ulps: Update.
17453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17454
17455         [BZ #16293]
17456         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17457         round-to-nearest mode when using frndint.
17458         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17459         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17460         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17461         Likewise.
17462         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17463         sinh test to fail.
17464         * math/auto-libm-test-out: Regenerated.
17465         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17466         (TEST_COND_x86): Likewise.
17467         (expm1_tonearest_test_data): New array.
17468         (expm1_test_tonearest): New function.
17469         (expm1_towardzero_test_data): New array.
17470         (expm1_test_towardzero): New function.
17471         (expm1_downward_test_data): New array.
17472         (expm1_test_downward): New function.
17473         (expm1_upward_test_data): New array.
17474         (expm1_test_upward): New function.
17475         (main): Run the new test functions.
17476         * sysdeps/i386/fpu/libm-test-ulps: Update.
17477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17478
17479         * include/features.h: Update comment documenting feature test
17480         macros.  Mention _DEFAULT_SOURCE in comment.
17481         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17482         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17483         _BSD_SOURCE and _SVID_SOURCE.
17484         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17485         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17486         !_SVID_SOURCE]: Likewise.
17487         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17488         (__USE_POSIX_IMPLICITLY): Define.
17489         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17490         (_POSIX_SOURCE): Undefine and redefine.
17491         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17492         (_POSIX_C_SOURCE): Likewise.
17493         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17494         (Feature Test Macros): Update documentation of default features.
17495
17496 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17497
17498         * benchtests/Makefile: Add bench-strtok.
17499         * benchtests/bench-strtok.c: New file: strtok benchtest.
17500
17501 2013-12-19  Allan McRae  <allan@archlinux.org>
17502
17503         * manual/install.texi: Suppress menu for plain text output.
17504         * INSTALL: Regenerated.
17505
17506 2013-12-18  Brooks Moses  <bmoses@google.com>
17507
17508         [BZ #15846]
17509         * misc/getauxval.c: Include errno.h.
17510         (__getauxval): Set errno to ENOENT if the requested type is not
17511         found.
17512         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17513         don't declare with __attribute_const__.
17514         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17515         * manual/startup.texi: Document that getauxval sets errno.
17516
17517 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17518
17519         * math/auto-libm-test-in: Add tests of jn and yn.
17520         * math/auto-libm-test-out: Regenerated.
17521         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17522         (yn_test_data): Likewise.
17523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17524         mpfr_if_f.
17525         (func_calc_desc): Add mpfr_if_f union field.
17526         (FUNC_mpfr_if_f): New macro.
17527         (test_functions): Add jn and yn.
17528         (calc_generic_results): Assert type of second input for
17529         mpfr_ff_f.  Handle mpfr_if_f.
17530         (output_for_one_input_case): Disable all checking for arguments
17531         fitting floating-point types in case of an integer argument.
17532         * sysdeps/i386/fpu/libm-test-ulps: Update.
17533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17534
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17536         Don't expect fegetround reference in libm.so.
17537
17538 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17539
17540         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17541         $(config-cflags-nofma).
17542
17543 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17544
17545         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17546         * math/auto-libm-test-out: Regenerated.
17547
17548         [BZ #16338]
17549         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17550         to determine exponent and adjust argument to have exponent of -1.
17551         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17552         log2.
17553         * math/auto-libm-test-out: Regenerated.
17554         * sysdeps/i386/fpu/libm-test-ulps: Update.
17555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17556
17557 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17558
17559         * manual/probes.texi: Remove cases when per-thread arenas are
17560         disabled.
17561
17562 2013-12-18  Andreas Schwab  <schwab@suse.de>
17563
17564         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17565         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17566         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17567         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17568         * sysdeps/i386/i686/multiarch/Makefile: Update.
17569         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17570
17571 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17572
17573         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17574         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17575
17576 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17577
17578         [BZ #15968]
17579         Support TZ transition times < 00:00:00.
17580         This is needed for version-3 tz-format files; it supports time
17581         stamps past 2037 for America/Godthab (the only entry in the tz
17582         database for which this change is relevant).
17583         * manual/time.texi (TZ Variable): Document transition times
17584         from -167:59:59 through -00:00:01.
17585         * time/tzset.c (tz_rule): Time of day is now signed.
17586         (__tzset_parse_tz): Parse negative time of day.
17587
17588         Document TZ transition times >= 25:00:00.
17589         * manual/time.texi (TZ Variable): Document transition times from
17590         25:00:00 through 167:59:59.  These are already supported, and this
17591         support will help with version-3 tz-format files.
17592
17593         * manual/time.texi (TZ Variable): Modernize North America example
17594         to reflect current (i.e., 2007-and-later) daylight saving rules.
17595
17596         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17597
17598 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17599
17600         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17601         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17603         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17604         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17605         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17606         * sysdeps/unix/bsd/clock.c: Likewise.
17607         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17608         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17609         * sysdeps/unix/bsd/init-posix.c: Likewise.
17610         * sysdeps/unix/bsd/poll.c: Likewise.
17611         * sysdeps/unix/bsd/ptsname.c: Likewise.
17612         * sysdeps/unix/bsd/seekdir.c: Likewise.
17613         * sysdeps/unix/bsd/setegid.c: Likewise.
17614         * sysdeps/unix/bsd/seteuid.c: Likewise.
17615         * sysdeps/unix/bsd/setgid.c: Likewise.
17616         * sysdeps/unix/bsd/setrgid.c: Likewise.
17617         * sysdeps/unix/bsd/setruid.c: Likewise.
17618         * sysdeps/unix/bsd/setsid.c: Likewise.
17619         * sysdeps/unix/bsd/setuid.c: Likewise.
17620         * sysdeps/unix/bsd/sigaction.c: Likewise.
17621         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17622         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17623         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17624         * sysdeps/unix/bsd/telldir.c: Likewise.
17625         * sysdeps/unix/bsd/times.c: Likewise.
17626         * sysdeps/unix/bsd/usleep.c: Likewise.
17627
17628         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17629         ($(objpfx)libbsd-compat.a): Remove rule.
17630
17631         * include/features.h (__FAVOR_BSD): Do not define.
17632         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17633         features conflicting with POSIX.
17634         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17635         (_BSD_SOURCE): Remove description of not being a subset of other
17636         feature test macros.
17637         * manual/job.texi (getpgrp): Do not document BSD version.
17638         (getpgid): Do not document by reference to BSD getpgrp.
17639         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17640         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17641         * signal/signal.h [__FAVOR_BSD]: Likewise.
17642         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17643         instead of making contents conditional on [__FAVOR_BSD].
17644         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17645
17646 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17647
17648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17649
17650 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17651
17652         [BZ #16314]
17653         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17654         values below 2**-450, not 2**-500.
17655         * math/auto-libm-test-in: Don't allow spurious underflow from
17656         hypot.
17657         * math/auto-libm-test-out: Regenerated.
17658
17659         [BZ #16316]
17660         [BZ #16330]
17661         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17662         values of ha and hb and sort them after adjusting subnormal
17663         arguments.
17664         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17665         Likewise.
17666         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17667         values of ea and eb and sort them after adjusting subnormal
17668         arguments.
17669         * math/auto-libm-test-in: Do not expect some hypot tests of
17670         subnormals to fail.  Add more hypot tests.
17671         * math/auto-libm-test-out: Regenerated.
17672
17673 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17674
17675         [BZ #13304]
17676         * sysdeps/sh/s_fma.c: New file.
17677         * sysdeps/sh/s_fmaf.c: New file.
17678         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17679         version.
17680         * sysdeps/sh/Implies: Add sh/soft-fp.
17681
17682 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17683
17684         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17685         level of indirection to members `objname', `errstring', `malloced'.
17686         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17687         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17688         it as the __longjmp argument (just pass 1 instead).
17689         (_dl_catch_error): Initialize C with argument pointers and address of
17690         volatile local ERRCODE rather than copying values out of C at return.
17691
17692 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17693
17694         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17695         * math/auto-libm-test-out: Regenerated.
17696         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17697         (hypot_test_data): Likewise.
17698         (pow_test_data): Likewise.
17699         (pow_tonearest_test_data): Likewise.
17700         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17701         mpfr_ff_f.
17702         (func_calc_desc): Add mpfr_ff_f union field.
17703         (FUNC_mpfr_ff_f): New macro.
17704         (test_functions): Add atan2, hypot and pow.
17705         (special_fill_min): New function.
17706         (special_fill_minus_min): Likewise.
17707         (special_fill_min_subnorm): Likewise.
17708         (special_fill_minus_min_subnorm): Likewise.
17709         (special_real_inputs): Add min, -min, min_subnorm and
17710         -min_subnorm.
17711         (calc_generic_results): Handle mpfr_ff_f.
17712         * sysdeps/i386/fpu/libm-test-ulps: Update.
17713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17714
17715 2013-12-16  Will Newton  <will.newton@linaro.org>
17716
17717         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17718         (Aligned Memory Blocks): Add documentation for aligned_alloc
17719         and suggest it as an alternative to posix_memalign.
17720         (Hooks for Malloc): Document __memalign_hook is also called
17721         for aligned_alloc.  (Summary of Malloc): Add summary for
17722         aligned alloc.  Document __memalign_hook is also called
17723         for aligned_alloc.
17724
17725 2013-12-16  Will Newton  <will.newton@linaro.org>
17726
17727         * manual/memory.texi (Malloc Examples): Clarify default
17728         alignment documentation.  Suggest posix_memalign rather
17729         than memalign or valloc.
17730         (Aligned Memory Blocks): Remove suggestion to use memalign
17731         or valloc.  Remove obsolete comment about BSD.
17732         Document memalign errno values and mark the function obsolete.
17733         Document posix_memalign returned error codes.  Mark valloc
17734         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17735         called for posix_memalign and valloc.
17736         (Summary of Malloc): Add posix_memalign to function summary.
17737         __memalign_hook is also called for posix_memalign and valloc.
17738
17739 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17740
17741         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17742         TAYLOR_SIN.
17743         (__sin): Adjust.
17744         (__cos): Likewise.
17745         (sloww): Use mynumber union.  Expand ternary operator into
17746         if-else statements.
17747         (cslow): use mynumber union.
17748
17749 2013-12-16  Allan McRae  <allan@archlinux.org>
17750
17751         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17752         * configure: Regenerated.
17753
17754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17755
17756         [BZ #14120]
17757         * configure.ac: Added --enable-maintainer-mode. Check for
17758         autoconf when enabled.
17759         * configure: Regenerated.
17760
17761         * nscd/nscd.service: New file.
17762         * nscd/nscd.tmpfiles: New file.
17763
17764 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17765
17766         [BZ #12100]
17767         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17768         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17769         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17770         (strstr): Add __strstr_sse2_unaligned ifunc.
17771         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17772         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17773         (strcasestr): Remove __strcasestr_sse42 ifunc.
17774         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17777
17778 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17779
17780         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17781         * sysdeps/sh/bits/fenv.h: ... here.
17782         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17783
17784 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17785
17786         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17787
17788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17789         hypotf multiarch implementations.
17790         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17793         multiarch hypot for PPC64.
17794         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17795         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17796         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17797         multiarch hypotf for PPC64.
17798
17799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17800         modff multiarch implementations.
17801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17804         multiarch modf for PPC64.
17805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17808         multiarch modff for PPC64.
17809
17810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17811         and logl multiarch implementations.
17812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17815         multiarch logb for PPC64.
17816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17819         multiarch logb for PPC64.
17820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17823         multiarch logb for PPC64.
17824
17825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17826         isinff multiarch implementation.
17827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17828         file.
17829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17831         multiarch isinf for PPC64.
17832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17833         file.
17834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17835         multiarch isinff for PPC64.
17836
17837         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17838         finitef multiarch implementation.
17839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17840         file.
17841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17843         multiarch finite for PPC64.
17844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17845         file.
17846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17847         multiarch finitef for PPC64.
17848
17849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17850         lrint multiarch implementation.
17851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17852         file.
17853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17855         multiarch llrint for PPC64.
17856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17857         multiarch lrint for PPC64.
17858
17859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17860         copysignf multiarch implementation.
17861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17862         file.
17863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17864         file.
17865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17866         multiarch copysign for PPC64.
17867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17868         multiarch copysignf for PPC64.
17869
17870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17871         multiarch implementation.
17872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17873         file.
17874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17875         file.
17876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17877         file.
17878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17879         file.
17880         multiarch llround for PPC64.
17881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17882         multiarch trunc for PPC64.
17883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17884         multiarch truncf for PPC64.
17885
17886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17887         multiarch implementation.
17888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17889         file.
17890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17891         file.
17892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17893         file.
17894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17895         file.
17896         multiarch llround for PPC64.
17897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17898         multiarch round for PPC64.
17899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17900         multiarch roundf for PPC64.
17901
17902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17903         multiarch implementation.
17904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17905         file.
17906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17907         file.
17908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17909         file.
17910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17911         file.
17912         multiarch llround for PPC64.
17913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17914         multiarch floor for PPC64.
17915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17916         multiarch floorf for PPC64.
17917
17918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17919         multiarch implementation.
17920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17921         file.
17922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17923         file.
17924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17925         file.
17926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17927         file.
17928         multiarch llround for PPC64.
17929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17930         multiarch ceil for PPC64.
17931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17932         multiarch ceilf for PPC64.
17933
17934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17935         multiarch implementation.
17936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17937         file.
17938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17939         file.
17940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17941         file.
17942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17943         multiarch llround for PPC64.
17944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17945         multiarch lround for PPC64.
17946
17947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17948         multiarch implementation.
17949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17952         file.
17953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17956         multiarch isnan for PPC64.
17957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17958         multiarch isnanf for PPC64.
17959
17960         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17961         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17962         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17963         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17964         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17966
17967         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17968         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17969         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17971
17972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17973         multiarch implementations.
17974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17975         (__libc_ifunc_impl_list): Likewise.
17976         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17977         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17979         multiarch stpcpy for PPC64.
17980
17981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17982         multiarch implementations.
17983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17984         (__libc_ifunc_impl_list): Likewise.
17985         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17986         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17987         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17988         multiarch strcpy for PPC64.
17989
17990         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17991         redefine function name.
17992         (_wordcopy_fwd_dest_aligned): Likewise.
17993         (_wordcopy_bwd_aligned): Likewise.
17994         (_wordcopy_bwd_dest_aligned): Likewise.
17995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17996         multiarch implementations.
17997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17998         (__libc_ifunc_impl_list): Likewise.
17999         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18000         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18002         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18003         multiarch wcscpy for PPC64.
18004
18005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18006         multiarch implementations.
18007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18008         (__libc_ifunc_impl_list): Likewise.
18009         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18010         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18011         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18012         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18013         multiarch wcscpy for PPC64.
18014
18015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18016         multiarch implementations.
18017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18018         (__libc_ifunc_impl_list): Likewise.
18019         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18020         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18021         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18022         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18023         multiarch wcsrchr for PPC64.
18024
18025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18026         multiarch implementations.
18027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18028         (__libc_ifunc_impl_list): Likewise.
18029         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18030         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18031         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18032         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18033         multiarch wcschr for PPC64.
18034
18035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18036         multiarch implementations.
18037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18038         (__libc_ifunc_impl_list): Likewise.
18039         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18040         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18041         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18042         multiarch strchrnul for PPC64.
18043
18044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18045         implementations.
18046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18047         (__libc_ifunc_impl_list): Likewise.
18048         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18049         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18050         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18051         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18052         strchr for PPC64.
18053
18054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18055         implementations.
18056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18057         (__libc_ifunc_impl_list): Likewise.
18058         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18059         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18060         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18061         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18062         strncmp for PPC64.
18063
18064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18065         multiarch implementations.
18066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18067         (__libc_ifunc_impl_list): Likewise.
18068         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18069         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18070         strncasecmp for PPC64.
18071         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18072         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18073         multiarch strncasecmp_l for PPC64.
18074
18075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18076         multiarch implementations.
18077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18078         (__libc_ifunc_impl_list): Likewise.
18079         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18080         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18081         multiarch strcasecmp for PPC64.
18082         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18083         file.
18084         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18085         multiarch strcasecmp_l for PPC64.
18086
18087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18088         implementations.
18089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18090         (__libc_ifunc_impl_list): Likewise.
18091         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18092         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18093         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18094         strnlen for PPC64.
18095
18096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18097         implementations.
18098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18099         (__libc_ifunc_impl_list): Likewise.
18100         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18101         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18102         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18103         strlen for PPC64.
18104
18105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18106         implementations.
18107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18108         (__libc_ifunc_impl_list): Likewise.
18109         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18110         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18111         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18112         rawmemrchr for PPC64.
18113
18114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18115         implementation.
18116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18117         (__libc_ifunc_impl_list): Likewise.
18118         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18119         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18120         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18121         memrchr for PPC64.
18122
18123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18124         implementation.
18125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18126         (__libc_ifunc_impl_list): Likewise.
18127         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18128         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18129         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18130         memchr for PPC64.
18131
18132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18133         implementation.
18134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18135         (__libc_ifunc_impl_list): Likewise.
18136         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18137         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18138         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18139         mempcpy for PPC64.
18140
18141         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18142         avoid cretion of __bzero symbol.
18143         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18144         Likewise.
18145         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18146         Likewise.
18147         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18148         Likewise.
18149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18150         multiarch implementations.
18151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18152         (__libc_ifunc_impl_list): Likewise.
18153         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18154         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18155         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18156         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18157         bzero for PPC32.
18158         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18159         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18160         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18161         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18162         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18163         memset for PPC64.
18164         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18165
18166         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18168         implementations.
18169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18170         (__libc_ifunc_impl_list): Likewise.
18171         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18172         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18173         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18174         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18175         memcmp for PPC64.
18176
18177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18178         multiarch for POWER/PPC64.
18179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18180         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18182         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18183         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18184         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18185         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18186         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18187         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18188         memcpy for PPC64.
18189
18190         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18191         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18192         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18193         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18194         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18195         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18196         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18197         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18198         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18199         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18200         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18201         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18202         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18203         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18204         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18212
18213 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18214
18215         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18216
18217 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18218
18219         * benchtests/Makefile (bench): Add exp2 and log2.
18220         (LDLIBS-bench-exp2): Add -lm.
18221         (LDLIBS-bench-log2): Likewise.
18222         * benchtests/exp2-inputs: New inputs file.
18223         * benchtests/log2-inputs: New inputs file.
18224         * benchtests/log-inputs: Add new inputs.
18225         * benchtests/tan-inputs: Likewise.
18226
18227 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18228
18229         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18230         definition...
18231         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18232         (csloww2): ... from here.
18233
18234         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18235         instead of structures.
18236         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18237         (POLYNOMIAL): Likewise.
18238         (TAYLOR_SLOW): Likewise.
18239         (__sin): Likewise.
18240         (__cos): Likewise.
18241         (slow1): Likewise.
18242         (slow2): Likewise.
18243         (sloww): Likewise.
18244         (sloww1); Likewise.
18245         (sloww2): Likewise.
18246         (bsloww1): Likewise.
18247         (bsloww2): Likewise.
18248         (cslow2): Likewise.
18249         (csloww): Likewise.
18250         (csloww1): Likewise.
18251         (csloww2): Likewise.
18252
18253 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18254
18255         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18256         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18257         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18258         * malloc/hooks.c (realloc_check): Likewise.
18259
18260         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18261         * malloc/arena.c: Remove PER_THREAD conditional.
18262         [!PER_THREAD]: Remove code.
18263         (ptmalloc_unlock_all2): Likewise.
18264         (ptmalloc_init): Likewise.
18265         (_int_new_arena): Likewise.
18266         (arena_get2): Likewise.
18267         * malloc/hooks.c (__malloc_get_state): Likewise.
18268         (__malloc_set_state): Likewise.
18269         * malloc/malloc.c: Likewise.
18270         (struct malloc_state): Likewise.
18271         (struct malloc_par): Likewise.
18272         (__libc_realloc): Likewise.
18273         (__libc_mallopt): Likewise.
18274
18275 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18276
18277         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18278
18279 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18280
18281         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18282         macro to a function.  Check for zero perturb_byte.
18283         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18284
18285         * malloc/malloc.c: (force_reg): Remove.
18286         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18287         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18288         force_reg by atomic_forced_read.
18289         * malloc/arena.c (ptmalloc_init): Likewise.
18290         * malloc/hooks.c (top_check): Likewise.
18291
18292 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18293
18294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18295
18296 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18297
18298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18299
18300 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18301
18302         * math/auto-libm-test-in: Add tests of lgamma.
18303         * math/auto-libm-test-out: Regenerated.
18304         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18305         (M_LOG_2_SQRT_PIl): Likewise.
18306         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18307         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18308         mpfr_f_f1.
18309         (func_calc_desc): Add mpfr_f_f1 union field.
18310         (ARGS1): New macro.
18311         (ARGS2): Likewise.
18312         (ARGS3): Likewise.
18313         (ARGS4): Likewise.
18314         (RET1): Likewise.
18315         (RET2): Likewise.
18316         (CALC): Likewise.
18317         (FUNC): Likewise.
18318         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18319         (test_functions): Add lgamma.
18320         (calc_generic_results): Handle mpfr_f_f1.
18321         * sysdeps/i386/fpu/libm-test-ulps: Update.
18322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18323
18324 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18325
18326         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18327         __mpn_add_n for PowerPC64/POWER7.
18328         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18329         __mpn_sub_n for PowerPC64/POWER7.
18330
18331         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18332         __mpn_addmul_1 for PowerPC64.
18333         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18334         __mpn_submul_1 for PowerPC64.
18335         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18336         for PowerPC64.
18337         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18338         for PowerPC64.
18339
18340 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18341
18342         [BZ #15089]
18343         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18344
18345 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18346
18347         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18348
18349         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18350         add multiarch folders.
18351         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18352         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18353         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18354         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18355         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18356         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18357         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18358         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18359         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18360         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18361         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18368
18369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18370         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18372         New file.
18373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18374         New file.
18375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18376         multiarch __ieee754_hypot for PowerPC32.
18377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18378         New file.
18379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18380         New file.
18381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18382         multiarch __ieee754_hypotf for PowerPC32.
18383
18384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18385         long_double_symbol only if __logbl is defined.
18386         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18387         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18388         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18389         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18391         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18392         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18393         path for implementation.
18394         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18395         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18397         logb, and logbl multiarch implementations for PowerPC32.
18398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18399         file.
18400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18401         file.
18402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18403         multiarch logb for PowerPC32.
18404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18405         file.
18406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18407         file.
18408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18409         multiarch logbf for PowerPC32.
18410         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18412         file.
18413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18414         multiarch logbl implementation for PowerPC32.
18415
18416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18417         and modff multiarch implementations.
18418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18419         New file.
18420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18421         New file.
18422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18423         multiarch modf for PowerPC32.
18424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18425         New file.
18426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18427         New file.
18428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18429         multiarch modff for PowerPC32.
18430
18431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18432         and lrintf multiarch implementations.
18433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18434         New file.
18435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18436         New file.
18437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18438         multiarch lrint for PowerPC32.
18439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18440         file: multiarch lrintf for PowerPC32.
18441
18442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18443         and lroundf multiarch implementations.
18444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18445         New file.
18446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18447         New file.
18448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18449         New file.
18450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18451         multiarch lround for PowerPC32.
18452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18453         file: multiarch lroundf for PowerPC32.
18454
18455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18456         copysign and copysignf multiarch implementations.
18457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18458         New file.
18459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18460         New file.
18461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18462         file: multiarch copysign for PowerPC32.
18463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18464         file: multiarch copysignf for PowerPC32.
18465
18466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18467         and truncf multiarch implementations.
18468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18469         New file.
18470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18471         file.
18472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18473         multiarch trunc for PowerPC32.
18474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18475         New file.
18476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18477         New file.
18478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18479         multiarch truncf for PowerPC32.
18480
18481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18482         and roundf multiarch implementations.
18483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18484         New file.
18485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18486         file.
18487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18488         multiarch round for PowerPC32.
18489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18490         New file.
18491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18492         New file.
18493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18494         multiarch roundf for PowerPC32.
18495
18496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18497         and floorf multiarch implementations.
18498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18499         New file.
18500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18501         file.
18502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18503         multiarch floor for PowerPC32.
18504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18505         New file.
18506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18507         New file.
18508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18509         multiarch floorf for PowerPC32.
18510
18511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18512         and ceilf multiarch implementations.
18513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18514         New file.
18515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18516         file.
18517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18518         multiarch ceil for PowerPC32.
18519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18520         New file.
18521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18522         file.
18523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18524         multiarch ceilf for PowerPC32.
18525
18526         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18527         is defined.
18528         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18529         FINITEF is defined.
18530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18531         and finitef multiarch implementations.
18532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18533         New file.
18534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18535         file.
18536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18537         multiarch finite for PowerPC32.
18538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18539         New file.
18540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18541         file: multiarch finitef for PowerPC32.
18542
18543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18544         and isinff multiarch implementations.
18545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18546         file.
18547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18548         file.
18549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18550         multiarch isinf for PowerPC32.
18551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18552         New file.
18553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18554         multiarch isinff for PowerPC32.
18555
18556         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18557         alias when __isnan is defined.
18558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18559         and isnanf multiarch implementations.
18560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18561         file.
18562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18563         file.
18564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18565         file.
18566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18567         file.
18568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18569         multiarch isnan for PowerPC32.
18570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18571         New file.
18572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18573         New file.
18574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18575         multiarch isnanf for PowerPC32.
18576
18577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18578         and sqrtf multiarch implementations.
18579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18580         file.
18581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18582         file.
18583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18584         multiarch sqrt for PowerPC32.
18585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18586         file.
18587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18588         file.
18589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18590         multiarch sqrtf for PowerPC32.
18591
18592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18593         and llroundf multiarch implementations.
18594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18595         New file.
18596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18597         New file.
18598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18599         New file.
18600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18601         file: multiarch llround for PowerPC32.
18602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18603         file: multiarch llroundf for PowerPC32.
18604
18605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18606         multiarch PowerPC32 fpu implementations.
18607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18608         New file.
18609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18610         New file.
18611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18612         multiarch llrint for PowerPC32.
18613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18614         New file.
18615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18616         New file.
18617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18618         file.
18619
18620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18621
18622         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18623         file.
18624         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18625         file.
18626         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18627         file.
18628         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18629         multiarch wordcopy for PPC32.
18630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18631         wordcopy objects.
18632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18633         (__libc_ifunc_impl_list): Likewise.
18634         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18635         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18636         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18637         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18638         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18639         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18640
18641         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18643         file.
18644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18645         file.
18646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18647         file.
18648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18649         multiarch wcscpy for PPC32.
18650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18651         multiarch objects.
18652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18653         (__libc_ifunc_impl_list): Likewise.
18654         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18655         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18656         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18657         sysdeps/powerpc/power6/wcscpy.c.
18658
18659         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18661         file.
18662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18663         file.
18664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18665         file.
18666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18667         multiarch wcsrchr for PPC32.
18668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18669         multiarch objects.
18670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18671         (__libc_ifunc_impl_list): Likewise.
18672         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18673         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18674         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18675         sysdeps/powerpc/power6/wcsrchr.c.
18676
18677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18678         file.
18679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18680         file.
18681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18683         multiarch wcschr for PPc32.
18684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18685         multiarch objects.
18686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18687         (__libc_ifunc_impl_list): Likewise.
18688         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18689         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18690         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18691         sysdeps/powerpc/power6/wcschr.c.
18692
18693         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18694         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18695         file.
18696         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18697         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18698         file: multiarch strchr for PPC32.
18699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18700         multiarch objects.
18701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18702         (__libc_ifunc_impl_list): Likewise.
18703
18704         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18705         name.
18706         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18707         file.
18708         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18709         file.
18710         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18711         multiarch strchrnul for PPC32.
18712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18713         multiarch objects.
18714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18715         (__libc_ifunc_impl_list): Likewise.
18716
18717         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18718         file.
18719         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18720         multiarch strncasecmp for PPC32.
18721         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18722         file.
18723         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18724         multiarch strncasecmp_l for PPC32.
18725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18726         strncasecmp multiarch objects.
18727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18728         (__libc_ifunc_impl_list): Likewise.
18729
18730         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18731         file.
18732         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18733         multiarch strncasecmp for PPC32.
18734         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18735         New file.
18736         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18737         multiarch strcasecmp_l for PPC32.
18738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18739         multiarch objects.
18740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18741         (__libc_ifunc_impl_list): Likewise.
18742
18743         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18744         file.
18745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18746         file.
18747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18748         multiarch strncmp for PPC32.
18749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18750         multiarch objects.
18751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18752         (__libc_ifunc_impl_list): Likewise.
18753
18754         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18755         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18756         file.
18757         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18758         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18760         multiarch objects.
18761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18762         (__libc_ifunc_impl_list): Likewise.
18763
18764         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18765         file.
18766         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18767         file.
18768         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18770         multiarch objects.
18771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18772         (__libc_ifunc_impl_list): Likewise.
18773
18774         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18775         file.
18776         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18777         file.
18778         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18779         multiarch rawmemchr for PPC32.
18780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18781         multiarch objects.
18782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18783         (__libc_ifunc_impl_list): Likewise.
18784
18785         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18786         file.
18787         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18788         file.
18789         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18790         file: memrchr multiarch for PPC32.
18791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18792         multiarch objects.
18793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18794         (__libc_ifunc_impl_list): Likewise.
18795
18796         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18798         file.
18799         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18801         multiarch memchr for PPC32.
18802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18803         multiarch objects.
18804         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18805         (__libc_ifunc_impl_list): Likewise.
18806
18807         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18808         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18809         file.
18810         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18811         file.
18812         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18813         file: multiarch mempcpy for PPC32.
18814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18815         multiarch objects.
18816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18817         (__libc_ifunc_impl_list): Likewise.
18818
18819         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18820         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18821         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18822         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18823         multiarch bzero for PPC32.
18824         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18825         file.
18826         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18827         file.
18828         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18829         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18830         file: multiarch memset for PPC32.
18831         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18833         memset multiarch objects.
18834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18835         (__libc_ifunc_impl_list): Likewise.
18836
18837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18838         file.
18839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18840         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18841         memcmp for PPC32.
18842         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18844         multiarch objects.
18845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18846         (__libc_ifunc_impl_list): Likewise.
18847
18848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18850         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18851         file.
18852         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18853         file.
18854         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18855         file.
18856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18857         multiarch memcpy for PPC32.
18858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18859         multiarch objects.
18860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18861         (__libc_ifunc_impl_list): Likewise.
18862
18863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18864         support multiarch for POWER/PPC32.
18865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18866         Likewise.
18867         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18869         Implies file to make multiarch folder appers before the fpu and
18870         default folder for power4 configuration.
18871
18872 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18873
18874         * scripts/bench.pl: Append volatile keyword to type.
18875
18876 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18877
18878         * sysdeps/sh/sotruss-lib.c: New file.
18879         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18880
18881 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18882
18883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18884
18885 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18886
18887         [BZ #6810]
18888         * math/w_tgamma.c: Include <errno.h>.
18889         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18890         * math/w_tgammaf.c: Include <errno.h>.
18891         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18892         * math/w_tgammal.c: Include <errno.h>.
18893         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18894         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18895         underflow.  Add more tgamma tests.
18896         * math/auto-libm-test-out: Regenerated.
18897         * sysdeps/i386/fpu/libm-test-ulps: Update.
18898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18899
18900         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18901         sin, sinh, tan, tanh, tgamma, y0 and y1.
18902         * math/auto-libm-test-out: Regenerated.
18903         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18904         (TEST_COND_x86): Likewise.
18905         (M_E2l): Remove macro.
18906         (M_E3l): Likewise.
18907         (M_2_SQRT_PIl): Likewise.
18908         (M_SQRT_PIl): Likewise.
18909         (M_1_DIV_El): Likewise.
18910         (log_test_data): Use AUTO_TESTS_f_f.
18911         (log10_test_data): Likewise.
18912         (log1p_test_data): Likewise.
18913         (log2_test_data): Likewise.
18914         (sin_test_data): Likewise.
18915         (sin_tonearest_test_data): Likewise.
18916         (sin_towardzero_test_data): Likewise.
18917         (sin_downward_test_data): Likewise.
18918         (sin_upward_test_data): Likewise.
18919         (sinh_test_data): Likewise.
18920         (sinh_tonearest_test_data): Likewise.
18921         (sinh_towardzero_test_data): Likewise.
18922         (sinh_downward_test_data): Likewise.
18923         (sinh_upward_test_data): Likewise.
18924         (tan_test_data): Likewise.
18925         (tan_tonearest_test_data): Likewise.
18926         (tan_towardzero_test_data): Likewise.
18927         (tan_downward_test_data): Likewise.
18928         (tan_upward_test_data): Likewise.
18929         (tanh_test_data): Likewise.
18930         (tgamma_test_data): Likewise.
18931         (y0_test_data): Likewise.
18932         (y1_test_data): Likewise.
18933         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18934         (special_real_inputs): Add pi/4.
18935         * sysdeps/i386/fpu/libm-test-ulps: Update.
18936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18937
18938 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18939
18940         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18941         "longjmp_target" static probes.
18942         (__longjmp): Rename to __longjmp_symbol.
18943         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18944         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18945         on which longjmp to generate.
18946         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18947         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18948         probe.
18949         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18950         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18951         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18952         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18953         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18954         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18956         __longjmp_symbol based on which __longjmp to generate.
18957         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18958         probe.
18959         (setjmp): Rename to setjmp_symbol.
18960         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18961         (_setjmp): Rename to _setjmp_symbol.
18962         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18963         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18964         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18965         which setjmp to generate.
18966         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18967         "longjmp_target" static probes.
18968
18969 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18970
18971         * benchtests/README: Add note about output arguments.
18972         * benchtests/bench-sincos.c: Remove file.
18973         * benchtests/sincos-inputs: New file.
18974         * scripts/bench.pl: Identify output arguments and define
18975         static variables for them.
18976
18977         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18978
18979         [BZ #15941]
18980         * Makefile (INSTALL): Add install-plain.texi as the primary
18981         dependency.
18982         * manual/install-plain.texi: New file.
18983         * manual/install.texi: Include node directive only for
18984         non-plaintext output.
18985
18986 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18987
18988         * stdlib/longlong.h: Update from GCC.
18989
18990         [BZ #6807]
18991         [BZ #15901]
18992         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18993         * math/w_j0f.c (y0f): Likewise.
18994         * math/w_j0l.c (__y0l): Likewise.
18995         * math/w_j1.c (y1): Likewise.
18996         * math/w_j1f.c (y1f): Likewise.
18997         * math/w_j1l.c (__y1l): Likewise
18998         * math/w_jn.c (yn): Likewise.
18999         * math/w_jnf.c (ynf): Likewise.
19000         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19001         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
19002         value for Bessel function domain errors outside _SVID_ mode.
19003         Adjust sign of return value for yn (negative integer, 0).
19004         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19005         by zero in return for negative x and set sign appropriately for
19006         negative n.
19007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19008         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19009         * math/libm-test.inc (y0_test_data): Add more tests and adjust
19010         expectations in error cases.
19011         (y1_test_data): Likewise.
19012         (yn_test_data): Likewise.
19013         * sysdeps/i386/fpu/libm-test-ulps: Update.
19014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19015
19016 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19017
19018         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19019         "64" to "64-v1".  Add "64-v2".
19020         (abi-64-options): Rename to ...
19021         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19022         (abi-64-condition): Rename to ...
19023         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19024         (abi-64-ld-soname): Rename to ...
19025         (abi-64-v1-ld-soname): ... this.
19026         (abi-64-v2-options): Define.
19027         (abi-64-v2-condition): Likewise.
19028         (abi-64-v2-ld-soname): Likewise.
19029         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19030         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19034
19035 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19036             Alan Modra  <amodra@gmail.com>
19037
19038         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19039         New versions for use with the ELFv2 ABI.
19040         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19041         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19042         declaration.
19043         (struct La_ppc64v2_retval): Likewise.
19044         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19045         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19046         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19047         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19048         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19049         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19050         Do not save or restore CR.
19051         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19052         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19053         return values for ELFv2 ABI.  Fix location of FPR return registers.
19054         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19055         updated values for _CALL_ELF == 2.
19056         (La_regs, La_retval, int_retval): Likewise.
19057
19058 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19059
19060         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19061         (FRAME_MIN_SIZE_PARM): Likewise.
19062         (FRAME_BACKCHAIN): Likewise.
19063         (FRAME_CR_SAVE): Likewise.
19064         (FRAME_LR_SAVE): Likewise.
19065         (FRAME_TOC_SAVE): Likewise.
19066         (FRAME_PARM_SAVE): Likewise.
19067         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19068         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19069         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19070         (call_mcount_parm_offset): New macro.
19071         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19072         (PROF): Use symbolic stack frame offsets.
19073         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19074         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19075         Redefine in terms of FRAME_MIN_SIZE.
19076         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19077         (_dl_profile_resolve): Likewise.  Update comment.
19078         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19079         symbols stack frame offsets.
19080         (__sigsetjmp): Likewise.
19081         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19082         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19083         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19084         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19085
19086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19087         (FRAME_BACKCHAIN): Remove.
19088         (FRAME_CR_SAVE): Likewise.
19089         (FRAME_LR_SAVE): Likewise.
19090         (FRAME_COMPILER_DW): Likewise.
19091         (FRAME_LINKER_DW): Likewise.
19092         (FRAME_TOC_SAVE): Likewise.
19093         (FRAME_PARM_SAVE): Likewise.
19094         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19095         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19096         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19098         (CHECK_SP): Use symbolic stack frame offsets.
19099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19100         zone" instead of caller's parameter save area for temp storage.
19101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19102         Likewise.  Also, use symbolic stack frame offsets.
19103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19104         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19105         our own stack frame instead of the caller's.
19106         (__socket): Use symbolic stack frame offsets.
19107
19108 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19109             Alan Modra  <amodra@gmail.com>
19110
19111         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19112         Define.
19113         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19114         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19115         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19116         New function.
19117         (elf_machine_fixup_plt): Call it.
19118         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19119         reloc arguments.
19120         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19121         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19122         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19123         r2 before calling target.
19124
19125 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19126             Alan Modra  <amodra@gmail.com>
19127
19128         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19129         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19130         versions of macros to support ELFv2 ABI.
19131         (LOCALENTRY): New macro.
19132         (ENTRY, EALIGN): Use it.
19133         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19134         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19135         fall through into ENTRY entry point.
19136         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19137         Only define if _CALL_ELF != 2.
19138
19139         (elf_machine_matches_host): Verify ABI version matches.
19140         (RTLD_START): Use LOCALENTRY.
19141         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19142         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19143         (PLT_ENTRY_WORDS): New macro.
19144         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19145         (elf_machine_runtime_setup): Support ELFv2 ABI.
19146         (elf_machine_fixup_plt): Likewise.
19147         (elf_machine_plt_conflict): Likewise.
19148         (resolve_ifunc): Likewise.
19149         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19150         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19151         Likewise.
19152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19153         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19155         (makecontext): Support ELFv2 ABI.
19156         * elf/elf.h (EF_PPC64_ABI): Define.
19157
19158 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19159
19160         * sysdeps/powerpc/powerpc64/sysdep.h
19161         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19162         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19163         (ENTRY) [ASSEMBLER]: ... but instead here ...
19164         (EALIGN) [ASSEMBLER]: ... and here.
19165         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19166         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19167         (ENTRY_2) [!ASSEMBLER]: Use it.
19168         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19169         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19170         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19171         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19172         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19174         Use PPC64_LOAD_FUNCPTR.
19175
19176         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19177
19178 2013-12-04  Alan Modra  <amodra@gmail.com>
19179
19180         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19181         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19182         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19183         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19184
19185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19186         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19187         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19188         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19189         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19190         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19191
19192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19193
19194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19195         (__makecontext): Fix incorrect CFI when backtracing out of
19196         context created via makecontext.
19197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19198         (__setcontext): Fix incorrect CFI during switch to new context.
19199         (__novec_setcontext): Likewise.
19200
19201 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19202
19203         [BZ #4772]
19204         * time/strptime_l.c (__strptime_internal): Allow modifiers
19205         in strptime.
19206         * time/tst-strptime.c (day_tests): Add testcase.
19207
19208 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19209
19210         * scripts/bench.pl: Skip over blank lines.
19211
19212 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19213
19214         [BZ #926]
19215         * manual/time.texi (Calendar Time): Clarify what timezone functions
19216         use.
19217
19218 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19219
19220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19221
19222 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19223
19224         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19225         implementation.
19226         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19227         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19228         * debug/memset_chk.c (__memset_chk): Likewise.
19229         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19230         * debug/strncpy_chk.c: Likewise.
19231
19232 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19233
19234         [BZ #15268]
19235         [BZ #15425]
19236         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19237         (__ieee754_exp): For possibly underflowing results, check size of
19238         result and force underflow exception if required.
19239         * math/auto-libm-test-in: Add more tests of exp.
19240         * math/auto-libm-test-out: Regenerated.
19241         * sysdeps/i386/fpu/libm-test-ulps: Update.
19242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19243
19244         [BZ #16283]
19245         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19246         * math/w_exp2f.c (__exp2f): Likewise.
19247         * math/w_exp2l.c (__exp2l): Likewise.
19248         * math/auto-libm-test-in: Do not allow missing errno on exp2
19249         underflow.
19250         * math/auto-libm-test-out: Regenerated.
19251
19252 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19253
19254         [BZ #16274]
19255         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19256         handle filename validation.
19257         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19258         (do_open): Delete.
19259
19260 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19261
19262         [BZ #6786]
19263         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19264         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19265         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19266         <float.h>.
19267         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19268         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19269         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19271         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19272         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19273         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19274         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19275         Add more erfc tests.
19276         * math/auto-libm-test-out: Regenerated.
19277         * sysdeps/i386/fpu/libm-test-ulps: Update.
19278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19279
19280         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19281         exp2, expm1, j0 and j1.
19282         * math/auto-libm-test-out: Regenerated.
19283         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19284         (erfc_test_data): Likewise.
19285         (exp_test_data): Likewise.
19286         (exp_tonearest_test_data): Likewise.
19287         (exp_towardzero_test_data): Likewise.
19288         (exp_downward_test_data): Likewise.
19289         (exp_upward_test_data): Likewise.
19290         (exp10_test_data): Likewise.
19291         (exp2_test_data): Likewise.
19292         (expm1_test_data): Likewise.
19293         (j0_test_data): Likewise.
19294         (j1_test_data): Likewise.
19295         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19296         (input_flag_type): Add flag_xfail_rounding.
19297         (input_flags): Add xfail-rounding.
19298         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19299         (output_for_one_input_case): Handle flag_xfail_rounding.
19300         * sysdeps/i386/fpu/libm-test-ulps: Update.
19301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19302
19303 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19304
19305         [BZ #16289]
19306         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19307         division by 0.
19308
19309 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19310
19311         [BZ #16195]
19312         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19313         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19314         (STAP_PROBE0): New macro.
19315         (STAP_PROBE1): Likewise.
19316         (STAP_PROBE2): Likewise.
19317         (STAP_PROBE3): Likewise.
19318         (STAP_PROBE4): Likewise.
19319
19320 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19321
19322         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19323
19324 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19325
19326         * benchtests/Makefile (bench): Add sqrt.
19327         (LDLIBS-bench-sqrt): New.
19328         * benchtests/sqrt-input: New.
19329
19330 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19331
19332         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19333         (GAIH_EAI): Likewise.
19334         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19335         (gaih_inet): Likewise.
19336         (getaddrinfo): Don't use GAIH_EAI.
19337
19338         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19339         (struct gaih): Remove definition.
19340
19341 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19342
19343         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19344         Use HERRNOP directly.
19345
19346 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19347
19348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19349
19350 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19351
19352         * math/gen-auto-libm-tests.c (test_functions): Add more
19353         single-argument functions.
19354         (special_fill_pi_2): New function.
19355         (special_fill_minus_pi_2): Likewise.
19356         (special_fill_pi_6): Likewise.
19357         (special_fill_minus_pi_6): Likewise.
19358         (special_fill_pi_3): Likewise.
19359         (special_fill_2pi_3): Likewise.
19360         (special_fill_e): Likewise.
19361         (special_fill_1_e): Likewise.
19362         (special_fill_e_minus_1): Likewise.
19363         (special_real_inputs): Add more special inputs.
19364         (output_for_one_input_case): Do not require ERANGE on underflow to
19365         zero if round-to-nearest result does not underflow to zero, unless
19366         exact results required.
19367         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19368         atan, atanh, cbrt, cos and cosh.
19369         * math/auto-libm-test-out: Regenerated.
19370         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19371         (acos_tonearest_test_data): Likewise.
19372         (acos_towardzero_test_data): Likewise.
19373         (acos_downward_test_data): Likewise.
19374         (acos_upward_test_data): Likewise.
19375         (acosh_test_data): Likewise.
19376         (asin_test_data): Likewise.
19377         (asin_tonearest_test_data): Likewise.
19378         (asin_towardzero_test_data): Likewise.
19379         (asin_upward_test_data): Likewise.
19380         (asinh_test_data): Likewise.
19381         (atan_test_data): Likewise.
19382         (atanh_test_data): Likewise.
19383         (cbrt_test_data): Likewise.
19384         (cos_test_data): Likewise.
19385         (cos_tonearest_test_data): Likewise.
19386         (cos_towardzero_test_data): Likewise.
19387         (cos_downward_test_data): Likewise.
19388         (cos_upward_test_data): Likewise.
19389         (cosh_test_data): Likewise.
19390         (cosh_tonearest_test_data): Likewise.
19391         (cosh_towardzero_test_data): Likewise.
19392         (cosh_downward_test_data): Likewise.
19393         (cosh_upward_test_data): Likewise.
19394         * sysdeps/i386/fpu/libm-test-ulps: Update.
19395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19396
19397 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19398
19399         [BZ #6787]
19400         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19401         * math/w_exp10f.c (__exp10f): Likewise.
19402         * math/w_exp10l.c (__exp10l): Likewise.
19403         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19404         errno settings in existing tests.
19405
19406         [BZ #14032]
19407         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19408         precision control set to double precision.
19409         * sysdeps/i386/fpu/w_sqrt.c: New file.
19410         * math/auto-libm-test-in: Add more tests.
19411         * math/auto-libm-test-out: Update.
19412
19413         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19414         (sqrt_test_tonearest): New function.
19415         (sqrt_towardzero_test_data): New variable.
19416         (sqrt_test_towardzero): New function.
19417         (sqrt_downward_test_data): New variable.
19418         (sqrt_test_downward): New function.
19419         (sqrt_upward_test_data): New variable.
19420         (sqrt_test_upward): New function.
19421         (main): Call the new functions.
19422
19423         * math/gen-auto-libm-tests.c: New file.
19424         * math/auto-libm-test-in: Likewise.
19425         * math/auto-libm-test-out: New generated file.
19426         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19427         variables.
19428         (%beautify): Add generated representations of zero.
19429         (top level): Set $auto_input and call parse_auto_input.
19430         (beautify): Remove trailing "f" from hex float constants.
19431         (parse_args): Handle XFAIL_TEST.
19432         (convert_condition): New function.
19433         (or_value): Likewise.
19434         (or_cond_value): Likewise.
19435         (generate_testfile): Handle AUTO_TESTS_* lines.
19436         (parse_auto_input): New function.
19437         * math/libm-test.inc (XFAIL_TEST): New macro.
19438         (ERRNO_UNCHANGED): Update value.
19439         (ERRNO_EDOM): Likewise.
19440         (ERRNO_ERANGE): Likewise.
19441         (IGNORE_RESULT): Likewise.
19442         (TEST_COND_flt_32): New macro.
19443         (TEST_COND_dbl_64): Likewise.
19444         (TEST_COND_ldbl_96_intel): Likewise.
19445         (TEST_COND_ldbl_96_m68k): Likewise.
19446         (TEST_COND_ldbl_128): Likewise.
19447         (TEST_COND_ldbl_128ibm): Likewise.
19448         (TEST_COND_long32): Likewise.
19449         (TEST_COND_long64): Likewise.
19450         (TEST_COND_before_rounding): Likewise.
19451         (TEST_COND_after_rounding): Likewise.
19452         (enable_test): Handle XFAIL_TEST flag.
19453         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19454         with finite results.
19455         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19456         auto-libm-test-out.
19457
19458 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19459             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19460
19461         [BZ #16214]
19462         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19463         __tls_get_addr_internal instead of __tls_get_offset in order to
19464         avoid GOT pointer dependency.  Make rtld export
19465         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19466         __tls_get_addr since we are a __tls_get_offset platform.
19467         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19468         GOT pointer being set up before.
19469         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19470
19471 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19472
19473         * manual/math.texi (Errors in Math Functions): Document accuracy
19474         goals.
19475
19476         [BZ #15004]
19477         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19478         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19479         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19480         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19481         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19482         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19483         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19484         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19485         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19486         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19487         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19488         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19489         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19490         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19491         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19492         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19493
19494         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19495         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19496         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19497         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19498         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19499         Likewise.
19500         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19501         Likewise.
19502         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19503         Likewise.
19504         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19505         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19506         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19507         atomic-feupdateenv and flt-rounds.
19508         * sysdeps/powerpc/nofpu/Versions (libc): Add
19509         __atomic_feholdexcept, __atomic_feclearexcept,
19510         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19511         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19512         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19513         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19514         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19515         here.
19516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19517         Update.
19518
19519         * manual/arith.texi (FP Exceptions): Document that exceptions may
19520         not be raised when matherr is used.
19521         (Math Error Reporting): Document overflow in directed rounding
19522         modes.  Document that errno may not be set when finite values are
19523         returned on overflow.  Document intent to set errno on underflow
19524         only for underflow to zero.
19525
19526         [BZ #16271]
19527         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19528         round-to-nearest then adjust result for other rounding modes.
19529         * include/fenv.h (fegetround): Use libm_hidden_proto.
19530         * math/fegetround.c (fegetround): Use libm_hidden_def.
19531         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19532         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19533         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19534         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19535         Likewise.
19536         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19537         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19538         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19539         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19540
19541 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19542
19543         [BZ #16077]
19544         * nss/Versions (libnss_files): Add
19545         _nss_files_gethostbyname3_r.
19546         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19547         New function.
19548         (HOST_DB_LOOKUP): Remove macro.
19549         (_nss_files_gethostbyname_r): Implement function without the
19550         HOST_DB_LOOKUP macro.
19551         (_nss_files_gethostbyname2_r): Likewise.
19552
19553 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19554
19555         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19556
19557 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19558
19559         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19560         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19561         warning.
19562
19563 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19564
19565         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19566         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19567         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19568         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19569         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19570         __fe_nomask_env_priv and attribute_hidden.
19571         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19572         (libc_feupdateenv_test_ppc): Likewise.
19573         (libc_feresetround_ppc): Likewise.
19574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19575         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19576         compat_symbol macro.
19577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19578         (__fe_nomask_env): Likewise.
19579         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19580
19581 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19582
19583         * string/Makefile: Remove ifunc tests.
19584         * string/test-string.h: Define TEST_IFUNC.
19585         * string/test-bcopy-ifunc.c: Remove.
19586         * string/test-bzero-ifunc.c: Likewise.
19587         * string/test-memccpy-ifunc.c: Likewise.
19588         * string/test-memchr-ifunc.c: Likewise.
19589         * string/test-memcmp-ifunc.c: Likewise.
19590         * string/test-memcpy-ifunc.c: Likewise.
19591         * string/test-memmem-ifunc.c: Likewise.
19592         * string/test-memmove-ifunc.c: Likewise.
19593         * string/test-mempcpy-ifunc.c: Likewise.
19594         * string/test-memrchr-ifunc.c: Likewise.
19595         * string/test-memset-ifunc.c: Likewise.
19596         * string/test-rawmemchr-ifunc.c: Likewise.
19597         * string/test-stpcpy-ifunc.c: Likewise.
19598         * string/test-stpncpy-ifunc.c: Likewise.
19599         * string/test-strcasecmp-ifunc.c: Likewise.
19600         * string/test-strcasestr-ifunc.c: Likewise.
19601         * string/test-strcat-ifunc.c: Likewise.
19602         * string/test-strchr-ifunc.c: Likewise.
19603         * string/test-strchrnul-ifunc.c: Likewise.
19604         * string/test-strcmp-ifunc.c: Likewise.
19605         * string/test-strcpy-ifunc.c: Likewise.
19606         * string/test-strcspn-ifunc.c: Likewise.
19607         * string/test-strlen-ifunc.c: Likewise.
19608         * string/test-strncasecmp-ifunc.c: Likewise.
19609         * string/test-strncat-ifunc.c: Likewise.
19610         * string/test-strncmp-ifunc.c: Likewise.
19611         * string/test-strncpy-ifunc.c: Likewise.
19612         * string/test-strnlen-ifunc.c: Likewise.
19613         * string/test-strpbrk-ifunc.c: Likewise.
19614         * string/test-strrchr-ifunc.c: Likewise.
19615         * string/test-strspn-ifunc.c: Likewise.
19616         * string/test-strstr-ifunc.c: Likewise.
19617
19618 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19619
19620         * benchtests/Makefile: Remove ifunc tests.
19621         * benchtests/bench-string.h: Define TEST_IFUNC.
19622         * benchtests/bench-bcopy-ifunc.c: Remove.
19623         * benchtests/bench-bzero-ifunc.c: Likewise.
19624         * benchtests/bench-memccpy-ifunc.c: Likewise.
19625         * benchtests/bench-memchr-ifunc.c: Likewise.
19626         * benchtests/bench-memcmp-ifunc.c: Likewise.
19627         * benchtests/bench-memcpy-ifunc.c: Likewise.
19628         * benchtests/bench-memmem-ifunc.c: Likewise.
19629         * benchtests/bench-memmove-ifunc.c: Likewise.
19630         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19631         * benchtests/bench-memrchr-ifunc.c: Likewise.
19632         * benchtests/bench-memset-ifunc.c: Likewise.
19633         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19634         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19635         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19636         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19637         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19638         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19639         * benchtests/bench-strcat-ifunc.c: Likewise.
19640         * benchtests/bench-strchr-ifunc.c: Likewise.
19641         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19642         * benchtests/bench-strcmp-ifunc.c: Likewise.
19643         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19644         * benchtests/bench-strcpy-ifunc.c: Likewise.
19645         * benchtests/bench-strcspn-ifunc.c: Likewise.
19646         * benchtests/bench-strlen-ifunc.c: Likewise.
19647         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19648         * benchtests/bench-strncat-ifunc.c: Likewise.
19649         * benchtests/bench-strncmp-ifunc.c: Likewise.
19650         * benchtests/bench-strncpy-ifunc.c: Likewise.
19651         * benchtests/bench-strnlen-ifunc.c: Likewise.
19652         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19653         * benchtests/bench-strrchr-ifunc.c: Likewise.
19654         * benchtests/bench-strsep-ifunc.c: Likewise.
19655         * benchtests/bench-strspn-ifunc.c: Likewise.
19656         * benchtests/bench-strstr-ifunc.c: Likewise.
19657
19658 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19659
19660         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19661
19662 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19663
19664         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19665         * rt/aio.h: Likewise.
19666         * sysdeps/gnu/bits/utmp.h: Likewise.
19667         * sysdeps/gnu/bits/utmpx.h: Likewise.
19668         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19669         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19670         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19671         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19672         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19673         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19674         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19675         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19676         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19677         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19678         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19679         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19680         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19682         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19683         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19684         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19685         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19686         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19687         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19688         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19689         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19690         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19691         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19692         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19694         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19695         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19696         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19697         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19698         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19699         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19700         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19701         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19702         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19703         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19704         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19705         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19706         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19707         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19708         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19709         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19710
19711 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19712
19713         [BZ #16245]
19714         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19715         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19716
19717 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19718
19719         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19720         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19721         Likewise.
19722
19723 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19724
19725         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19726         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19727         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19728         (__fesetround): Remove define.
19729         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19730         rounding and exceptions handling.
19731         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19732         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19733         (__fe_nomask_env): Likewise.
19734         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19735         __fegetround instead of fegetround.
19736         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19737         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19738
19739 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19740
19741         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19742         it's there.
19743
19744         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19745
19746 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19747
19748         [BZ #11157]
19749         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19750         (encrypt_r): Likewise.
19751         * malloc/obstack.h (obstack_free): Likewise.
19752         * posix/unistd.h (encrypt): Likewise.
19753
19754 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19755
19756         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19757         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19758         DL_CALL_DT_FINI() that call the functions directly.
19759         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19760         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19761         * elf/dl-fini.c: Likewise.
19762
19763 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19764
19765         * malloc/hooks.c (memalign_check): Add alignment rounding.
19766         * malloc/malloc.c (_mid_memalign): New function.
19767         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19768         Implement by calling _mid_memalign.
19769         * manual/probes.texi (Memory Allocation Probes): Remove
19770         memory_valloc_retry and memory_pvalloc_retry.
19771
19772 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19773
19774         * locale/programs/locarchive.c (open_archive): Add const
19775         qualifier to ARCHIVEFNAME and copy default fname to
19776         DEFAULT_FNAME.
19777
19778         [BZ #15601]
19779         * libio/tst-widetext.input: Rename Oriya to Odia.
19780         * locale/iso-639.def: Likewise.
19781
19782         * manual/probes.texi (Mathematical Function Probes): Add
19783         documentation for sin, cos, asin and acos probes.
19784         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19785         (__sin32): Add slowasin probe.
19786         (__cos32): Add slowacos probe.
19787         (__mpsin): Add slowsin probe.
19788         (__mpcos): Add slowcos probe.
19789
19790 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19791
19792         [BZ #15483]
19793         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19794         thread-local __sim_exceptions_thread and global
19795         __sim_exceptions_global.
19796         (__sim_disabled_exceptions): Change to thread-local
19797         __sim_disabled_exceptions_thread and global
19798         __sim_disabled_exceptions_global.
19799         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19800         and global __sim_round_mode_global.
19801         (__simulate_exceptions): Use thread-local floating-point state and
19802         set global state from it as needed.
19803         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19804         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19805         __sim_round_mode_thread.
19806         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19807         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19808         and global __sim_exceptions_global.
19809         (__sim_disabled_exceptions): Change to thread-local
19810         __sim_disabled_exceptions_thread and global
19811         __sim_disabled_exceptions_global.
19812         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19813         and global __sim_round_mode_global.
19814         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19815         (SIM_SET_GLOBAL): Likewise.
19816         * sysdeps/powerpc/soft-fp/sfp-machine.h
19817         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19818         __sim_round_mode_thread.
19819         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19820         __sim_disabled_exceptions_thread.
19821         (__sim_exceptions): Change to __sim_exceptions_thread.
19822         (__sim_disabled_exceptions): Change to
19823         __sim_disabled_exceptions_thread.
19824         (__sim_round_mode): Change to __sim_round_mode_thread.
19825         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19826         thread-local floating-point state and set global state from it as
19827         needed.
19828         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19829         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19830         (__sim_disabled_exceptions): Remove extern declaration.
19831         (feenableexcept): Use thread-local floating-point state and set
19832         global state from it as needed.
19833         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19834         extern declaration.
19835         (__sim_disabled_exceptions): Likewise.
19836         (__sim_round_mode): Likewise.
19837         (__fegetenv): Use thread-local floating-point state.
19838         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19839         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19840         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19841         floating-point state and set global state from it as needed.
19842         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19843         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19844         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19845         Likewise.
19846         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19847         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19848         Likewise.
19849         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19850         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19851         Use __sim_round_mode_thread.
19852         * math/test-fenv-tls.c: New file.
19853         * math/Makefile (tests): Add test-fenv-tls.
19854         ($(objpfx)test-fenv-tls): Depend on
19855         $(common-objpfx)nptl/libpthread.so.
19856
19857 2013-11-19  Andreas Schwab  <schwab@suse.de>
19858
19859         * locale/programs/locale.c (show_info): Decode wordarray elements.
19860         * locale/categories.def (LC_MONETARY): Add element for
19861         _NL_MONETARY_CRNCYSTR.
19862         * locale/C-monetary.c (conversion_rate): New variable.
19863         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19864         element.
19865
19866 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19867
19868         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19869         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19870
19871 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19872
19873         * elf/Makefile (tst-auxv): New test.
19874         * elf/tst-auxv.c: New
19875         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19876
19877 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19878
19879         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19880         (hidden_proto): Caller changed.
19881         (hidden_tls_proto): New macro.
19882         (libc_hidden_tls_proto): Likewise.
19883         (rtld_hidden_tls_proto): Likewise.
19884         (libm_hidden_tls_proto): Likewise.
19885         (libresolv_hidden_tls_proto): Likewise.
19886         (librt_hidden_tls_proto): Likewise.
19887         (libdl_hidden_tls_proto): Likewise.
19888         (libnss_files_hidden_tls_proto): Likewise.
19889         (libnsl_hidden_tls_proto): Likewise.
19890         (libnss_nisplus_hidden_tls_proto): Likewise.
19891         (libutil_hidden_tls_proto): Likewise.
19892
19893 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19894
19895         [BZ #10253]
19896         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19897         (decompose_rpath): Defer expansion to fillin_rpath.
19898         (_dl_init_paths): Pass linkmap to fillin_rpath.
19899
19900 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19901
19902         * benchtests/Makefile: Add strsep.
19903         * benchtests/bench-strsep.c: New file: strsep benchtest.
19904         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19905
19906 2013-11-18  Andreas Schwab  <schwab@suse.de>
19907
19908         * locale/programs/locale.c (show_info) [case byte]: Check for
19909         '\377' instead of '\177'.
19910         * locale/C-monetary.c (not_available): Always use "\377".
19911         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19912         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19913         detect unavailable sign_posn locale elements.
19914         * locale/localeconv.c (__localeconv): For grouping and
19915         mon_grouping handle "\177" and "\377" like no grouping.
19916         (INT_ELEM): New macro.  Use it to set all numeric members.
19917         * locale/programs/ld-monetary.c (monetary_read)
19918         <tok_mon_grouping>: Normalize single -1 to the empty string.
19919         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19920         Likewise.
19921
19922 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19923
19924         [BZ #16055]
19925         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19926         when we match (nil).
19927         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19928
19929 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19930
19931         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19932         (NO_TEST_INLINE): Update value.
19933         (ERRNO_UNCHANGED): Likewise.
19934         (ERRNO_EDOM): Likewise.
19935         (ERRNO_ERANGE): Likewise.
19936         (IGNORE_RESULT): Likewise.
19937         (check_float_internal): Check signs of NaN results if
19938         TEST_NAN_SIGN used.
19939         (check_complex): Pass TEST_NAN_SIGN flag through to second
19940         check_float_internal call.
19941         (copysign_test_data): Add tests with quiet NaNs as second
19942         argument.  Use TEST_NAN_SIGN.
19943         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19944         TEST_NAN_SIGN.
19945         (signbit_test_data): Add tests of quiet NaN argument.
19946         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19947
19948         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19949         $ignore_result.
19950         (parse_args): Handle function results specified as IGNORE.
19951         * math/libm-test.inc (IGNORE_RESULT): New macro.
19952         (check_float_internal): Do not check numerical result if flag
19953         IGNORE_RESULT set.
19954         (check_complex): Pass through IGNORE_RESULT to second
19955         check_float_internal call.
19956         (check_int): Do not check numerical result if flag IGNORE_RESULT
19957         set.
19958         (check_long): Likewise.
19959         (check_bool): Likewise.
19960         (check_longlong): Likewise.
19961         (lrint_test_data): Add tests of infinite and NaN arguments.
19962         (lrint_tonearest_test_data): Likewise.
19963         (lrint_towardzero_test_data): Likewise.
19964         (lrint_downward_test_data): Likewise.
19965         (lrint_upward_test_data): Likewise.
19966         (llrint_test_data): Likewise.
19967         (llrint_tonearest_test_data): Likewise.
19968         (llrint_towardzero_test_data): Likewise.
19969         (llrint_downward_test_data): Likewise.
19970         (llrint_upward_test_data): Likewise.
19971         (lround_test_data): Likewise.
19972         (llround_test_data): Likewise.
19973
19974         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19975         (ERRNO_UNCHANGED): Update value.
19976         (ERRNO_EDOM): Likewise.
19977         (ERRNO_ERANGE): Likewise.
19978         (NO_TEST_INLINE_FLOAT): New macro.
19979         (NO_TEST_INLINE_DOUBLE): Likewise.
19980         (enable_test): New function.
19981         (RUN_TEST_f_f): Check enable_test before running test.
19982         (RUN_TEST_2_f): Likewise.
19983         (RUN_TEST_fff_f): Likewise.
19984         (RUN_TEST_c_f): Likewise.
19985         (RUN_TEST_f_f1): Likewise.
19986         (RUN_TEST_fF_f1): Likewise.
19987         (RUN_TEST_fI_f1): Likewise.
19988         (RUN_TEST_ffI_f1): Likewise.
19989         (RUN_TEST_c_c): Likewise.
19990         (RUN_TEST_cc_c): Likewise.
19991         (RUN_TEST_f_i): Likewise.
19992         (RUN_TEST_f_i_tg): Likewise.
19993         (RUN_TEST_ff_i_tg): Likewise.
19994         (RUN_TEST_f_b): Likewise.
19995         (RUN_TEST_f_b_tg): Likewise.
19996         (RUN_TEST_f_l): Likewise.
19997         (RUN_TEST_f_L): Likewise.
19998         (RUN_TEST_fFF_11): Likewise.
19999         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20000         conditionals.
20001         (cosh_test_data): Likewise.
20002         (exp_test_data): Likewise.
20003         (expm1_test_data): Likewise.
20004         (hypot_test_data): Likewise.
20005         (pow_test_data): Likewise.
20006         (sinh_test_data): Likewise.
20007         (tanh_test_data): Likewise.
20008         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20009         flags argument.
20010
20011         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20012         tests with quiet NaN input and output.
20013         (acosh_test_data): Likewise.
20014         (asin_test_data): Likewise.
20015         (asinh_test_data): Likewise.
20016         (atan_test_data): Likewise.
20017         (atanh_test_data): Likewise.
20018         (atan2_test_data): Likewise.
20019         (cbrt_test_data): Likewise.
20020         (cos_test_data): Likewise.
20021         (cosh_test_data): Likewise.
20022         (erf_test_data): Likewise.
20023         (erfc_test_data): Likewise.
20024         (exp_test_data): Likewise.
20025         (exp10_test_data): Likewise.
20026         (exp2_test_data): Likewise.
20027         (expm1_test_data): Likewise.
20028         (hypot_test_data): Likewise.
20029         (j0_test_data): Likewise.
20030         (j1_test_data): Likewise.
20031         (jn_test_data): Likewise.
20032         (lgamma_test_data): Likewise.
20033         (log_test_data): Likewise.
20034         (log10_test_data): Likewise.
20035         (log1p_test_data): Likewise.
20036         (log2_test_data): Likewise.
20037         (pow_test_data): Likewise.
20038         (scalb_test_data): Likewise.
20039         (sin_test_data): Likewise.
20040         (sincos_test_data): Likewise.
20041         (sinh_test_data): Likewise.
20042         (tan_test_data): Likewise.
20043         (tanh_test_data): Likewise.
20044         (tgamma_test_data): Likewise.
20045         (y0_test_data): Likewise.
20046         (y1_test_data): Likewise.
20047         (yn_test_data): Likewise.
20048
20049         [BZ #16167]
20050         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20051         argument being NaN and avoid computations with second argument in
20052         that case.
20053         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20054         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20055         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20056
20057 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20058
20059         * locale/iso-639.def: Add Chitwani Tharu (the).
20060
20061 2013-11-14  Andreas Schwab  <schwab@suse.de>
20062
20063         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20064         word instead of empty string.
20065
20066 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20067
20068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20069         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20071         (__fe_nomask_env): Likewise.
20072
20073 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20074
20075         * benchtests/bench-timing.h: Include time.h.
20076
20077 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20078
20079         [BZ #15997]
20080         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20081         to 3.4.0 for x32.
20082         * sysdeps/unix/sysv/linux/configure: Regenerated.
20083
20084 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20085
20086         [BZ #16151]
20087         * stdlib/strtod_l.c (round_and_return): Do not consider
20088         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20089         exponent one less than half the least subnormal exponent.
20090         * stdlib/test-strtod-round-data: Add more tests.
20091         * stdlib/tst-strtod-round.c (tests): Regenerated.
20092
20093 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20094
20095         [BZ #14143]
20096         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20097         (__fe_mask_env): Likewise.
20098         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20099         libm_hidden_proto and add function prototype.
20100         (__fe_mask_env): Add function prototype.
20101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20102         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20104         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20106         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20107
20108 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20109
20110         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20111         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20112
20113 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20114
20115         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20116         of htab_find_slot().
20117
20118 2013-11-11  David S. Miller  <davem@davemloft.net>
20119
20120         [BZ #16150]
20121         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20122         symbol in the non-vis3 case in static builds.
20123         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20124         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20125         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20126         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20127
20128 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20129
20130         [BZ #387]
20131         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20132         it is empty.
20133
20134 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20135
20136         * benchtests/Makefile: Add bench-strtod.
20137         * benchtests/bench-strtod.c: New file: strtod benchtest
20138
20139 2013-11-11  Andreas Schwab  <schwab@suse.de>
20140
20141         [BZ #16153]
20142         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20143         terminating NUL in key length.
20144
20145 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20146
20147         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20148         Add artificial ODP entry for vDSO symbol for PPC64.
20149         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20150         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20151
20152 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20153
20154         [BZ #15374]
20155         * nss/getent.c (services_keys): Recognize services starting with digit.
20156
20157 2013-11-06  David S. Miller  <davem@davemloft.net>
20158
20159         [BZ #15985]
20160         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20161         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20162
20163 2013-11-06  Will Newton  <will.newton@linaro.org>
20164
20165         * manual/memory.texi (Malloc Examples): Remove register
20166         keyword from examples.
20167
20168 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20169
20170         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20171
20172 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20173
20174         [BZ #6981]
20175         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20176         depending on [__GCC_IEC_559 > 0].
20177         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20178         depending on [__GCC_IEC_559_COMPLEX > 0].
20179
20180 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20181
20182         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20183         to iso-639.def.
20184
20185 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20186
20187         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20188
20189 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20190
20191         [BZ #16112]
20192         * malloc/malloc (malloc_info): Do not handle first bin as
20193         special case.
20194
20195 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20196
20197         * locale/iso-639.def: Add Central Nahuatl (nhn).
20198
20199 2013-11-01  Bruno Haible  <bruno@clisp.org>
20200
20201         [BZ #7003]
20202         * manual/math.texi (BSD Random): Specify range upper bound as
20203         in POSIX.
20204
20205 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20206
20207         * locale/iso-639.def: Add Meadow Mari (mhr).
20208
20209 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20210
20211         [BZ #14752], [BZ #15763]
20212         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20213         Validate name.
20214         * rt/tst_shm.c: Add test for escaping directory.
20215
20216 2013-10-31  Andreas Schwab  <schwab@suse.de>
20217
20218         [BZ #15917]
20219         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20220         followed by 'x' as part of digit sequence.
20221         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20222
20223 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20224
20225         [BZ #16037]
20226         * configure.ac: allow GNU Make 4.0 and greater.
20227         * configure: Regenerated.
20228
20229 2013-10-30  Will Newton  <will.newton@linaro.org>
20230
20231         [BZ #16038]
20232         * malloc/hooks.c (memalign_check): Limit alignment to the
20233         maximum representable power of two.
20234         * malloc/malloc.c (__libc_memalign): Likewise.
20235         * malloc/tst-memalign.c (do_test): Add test for very
20236         large alignment values.
20237         * malloc/tst-posix_memalign.c (do_test): Likewise.
20238
20239 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20240
20241         [BZ #11087]
20242         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20243         (munmap_chunk): Likewise.
20244         (mremap_chunk): Likewise.
20245
20246 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20247
20248         [BZ #15799]
20249         * stdlib/div.c (div): Remove obsolete code.
20250         * stdlib/ldiv.c (ldiv): Likewise.
20251         * stdlib/lldiv.c (lldiv): Likewise.
20252
20253 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20254
20255         [BZ #16071]
20256         * nss/nss_files/files-XXX.c (get_contents_ret): New
20257         enumerator.
20258         (get_contents): New function.
20259         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20260
20261 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20262
20263         * configure.in: Moved to ...
20264         * configure.ac: ... here. Change reference to configure.in
20265         to configure.ac.
20266         * sysdeps/arm/preconfigure.ac: ... here.
20267         configure.in to configure.ac.
20268         * sysdeps/gnu/configure.in: Moved to ...
20269         * sysdeps/gnu/configure.ac: ... here.
20270         * sysdeps/i386/configure.in: Moved to ...
20271         * sysdeps/i386/configure.ac: ... here.
20272         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20273         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20274         * sysdeps/mach/configure.in: Moved to ...
20275         * sysdeps/mach/configure.ac: ... here.
20276         * sysdeps/mach/hurd/configure.in: Moved to ...
20277         * sysdeps/mach/hurd/configure.ac: ... here.
20278         * sysdeps/powerpc/configure.in: Moved to ...
20279         * sysdeps/powerpc/configure.ac: ... here.
20280         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20281         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20282         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20283         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20284         * sysdeps/s390/s390-32/configure.in: Moved to ...
20285         * sysdeps/s390/s390-32/configure.ac: ... here.
20286         * sysdeps/s390/s390-64/configure.in: Moved to ...
20287         * sysdeps/s390/s390-64/configure.ac: ... here.
20288         * sysdeps/sh/configure.in: Moved to ...
20289         * sysdeps/sh/configure.ac: ... here.
20290         * sysdeps/sparc/configure.in: Moved to ...
20291         * sysdeps/sparc/configure.ac: ... here.
20292         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20293         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20294         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20295         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20296         * sysdeps/x86_64/configure.in: Moved to ...
20297         * sysdeps/x86_64/configure.ac: ... here.
20298         * sysdeps/x86_64/preconfigure.in: Moved to ...
20299         * sysdeps/x86_64/preconfigure.ac: ... here.
20300         * aclocal.m4: Change reference to configure.in to configure.ac.
20301         * config.h.in: Likewise.
20302         * manual/install.texi: Likewise.
20303         * manual/maint.texi: Likewise.
20304         * Makefile: Likewise.
20305         * malloc/Makefile: Likewise.
20306         * nscd/Makefile: Likewise.
20307         * Makeconfig: Change reference to configure.in and
20308         preconfigure.in to configure.ac and preconfigure.ac
20309         respectively.
20310         * INSTALL: Regenerated.
20311         * configure: Likewise.
20312         * sysdeps/gnu/configure: Likewise.
20313         * sysdeps/i386/configure: Likewise.
20314         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20315         * sysdeps/mach/configure: Likewise.
20316         * sysdeps/mach/hurd/configure: Likewise.
20317         * sysdeps/powerpc/configure: Likewise.
20318         * sysdeps/powerpc/powerpc32/configure: Likewise.
20319         * sysdeps/powerpc/powerpc64/configure: Likewise.
20320         * sysdeps/s390/s390-32/configure: Likewise.
20321         * sysdeps/s390/s390-64/configure: Likewise.
20322         * sysdeps/sh/configure: Likewise.
20323         * sysdeps/sparc/configure: Likewise.
20324         * sysdeps/unix/sysv/linux/configure: Likewise.
20325         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20326         * sysdeps/x86_64/configure: Likewise.
20327         * sysdeps/x86_64/preconfigure: Likewise.
20328
20329 2013-10-29  Andreas Schwab  <schwab@suse.de>
20330
20331         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20332
20333 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20334
20335         * benchtests/pow-inputs: Add new inputs.
20336
20337         * benchtests/exp-inputs: Add new inputs.
20338
20339         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20340         conditional check for return value.
20341         (__cos32): Likewise.
20342
20343 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20344
20345         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20346         to provide a boost for large inputs with word alignment.
20347         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20348         implementation based on optimized PPC64 strcpy.
20349         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20350         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20351         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20352         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20353
20354 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20355
20356         [BZ #2801]
20357         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20358
20359 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20360
20361         [BZ #14876]
20362         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20363         * time/tst-strptime.c (day_tests): Add testcase.
20364
20365 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20366
20367         [BZ #14029]
20368         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20369
20370 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20371
20372         [BZ #16074]
20373         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20374         MAP_FAILED on error.
20375
20376 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20377
20378         [BZ #16072]
20379         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20380         heap for large requests.
20381
20382 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20383
20384         [BZ #9954]
20385         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20386         result if the result has no associated interface.
20387         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20388         interface for all 127.X.Y.Z addresses.
20389
20390 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20391
20392         * locale/iso-639.def: Add Ligurian (lij)
20393
20394 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20395
20396         [BZ #15825]
20397         * sunrpc/rpc_main.c: Document rpcgen -5.
20398
20399 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20400
20401         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20402
20403 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20404
20405         [BZ #10278]
20406         * posix/glob.c: Match only directories when trailing slash is present.
20407         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20408         (main): Add testcase.
20409
20410 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20411
20412         [BZ #15670]
20413         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20414
20415 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20416
20417         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20418         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20419         AUTH_DES and cindex for FIPS 140-2.
20420         (DES Encryption): Add cindex FIPS 46-3.
20421
20422         * locale/locarchive.h (struct locarhandle): Add fname.
20423         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20424         if an optional argument was specified to --list-archive,
20425         otherwise NULL.
20426         * locale/programs/locarchive.c (show_archive_content): Take new
20427         argument fname and pass it via ah.fname to open_archive.
20428         * locale/programs/localedef.h: Update decl.
20429         (open_archive): If AH->fname is non-null, open that file
20430         rather than the default file name, and don't ignore ENOENT.
20431         (create_archive): Set AH.fname to NULL.
20432         (delete_locales_from_archive): Likewise.
20433         (add_locales_to_archive): Likewise.
20434         * locale/programs/locfile.c (write_all_categories): Likewise.
20435
20436 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20437             Aldy Hernandez  <aldyh@redhat.com>
20438
20439         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20440         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20441         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20442         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20443         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20444         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20445         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20446         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20447         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20448         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20449         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20450         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20451         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20452         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20453         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20454         Likewise.
20455         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20456         Likewise.
20457         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20458         Likewise.
20459         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20460         Likewise.
20461         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20462         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20463         Likewise.
20464         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20465         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20466         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20467         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20468         Likewise.
20469         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20470         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20471         * sysdeps/powerpc/preconfigure: Likewise.
20472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20473         Likewise.
20474         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20475         Replace contents of file by #include of <fenv_libc.h>.
20476         * sysdeps/powerpc/soft-fp/sfp-machine.h
20477         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20478         and <sys/prctl.h>.
20479         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20484         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20486         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20492         Allow copysignl PLT reference to be missing.
20493
20494 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20495             Joseph Myers  <joseph@codesourcery.com
20496
20497         [BZ #15948]
20498         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20499         single character.
20500         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20501
20502 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20503
20504         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20505         * elf/tst-tls1.c: Likewise.
20506         * elf/tst-tls10.h: Likewise.
20507         * elf/tst-tls14.c: Likewise.
20508         * elf/tst-tls2.c: Likewise.
20509         * elf/tst-tls3.c: Likewise.
20510         * elf/tst-tls4.c: Likewise.
20511         * elf/tst-tls5.c: Likewise.
20512         * elf/tst-tls6.c: Likewise.
20513         * elf/tst-tls7.c: Likewise.
20514         * elf/tst-tls8.c: Likewise.
20515         * elf/tst-tls9.c: Likewise.
20516         * elf/tst-tlsmod1.c: Likewise.
20517         * elf/tst-tlsmod13.c: Likewise.
20518         * elf/tst-tlsmod13a.c: Likewise.
20519         * elf/tst-tlsmod14a.c: Likewise.
20520         * elf/tst-tlsmod16a.c: Likewise.
20521         * elf/tst-tlsmod16b.c: Likewise.
20522         * elf/tst-tlsmod2.c: Likewise.
20523         * elf/tst-tlsmod3.c: Likewise.
20524         * elf/tst-tlsmod4.c: Likewise.
20525         * elf/tst-tlsmod5.c: Likewise.
20526         * elf/tst-tlsmod6.c: Likewise.
20527
20528 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20529
20530         [BZ #12486]
20531         * malloc/malloc.c: remove checks for statistics.
20532
20533 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20534
20535         [BZ #15277]
20536         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20537         * inet/tst-network.c: Add testcase.
20538
20539 2013-10-17  Andreas Schwab  <schwab@suse.de>
20540
20541         [BZ #15218]
20542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20543         to determine canonical name.
20544
20545 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20546
20547         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20548         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20550         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20552         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20553         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20554         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20555         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20556         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20557         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20558         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20559         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20560         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20561         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20562         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20563         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20564         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20565         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20566         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20567         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20568         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20570         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20571         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20572         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20573         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20574         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20575         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20576         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20577         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20578         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20579         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20580         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20581         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20582         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20583         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20584         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20585         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20586         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20587         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20588         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20589         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20590         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20591         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20592         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20593         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20594         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20595         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20596         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20597         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20598         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20599         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20600         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20601         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20602         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20604         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20605
20606 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20607
20608         [BZ #16041]
20609         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20610         make result into a quiet NaN.
20611
20612 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20613
20614         * soft-fp/adddf3.c: Fix horizontal whitespace.
20615         * soft-fp/addsf3.c: Likewise.
20616         * soft-fp/addtf3.c: Likewise.
20617         * soft-fp/divdf3.c: Likewise.
20618         * soft-fp/divsf3.c: Likewise.
20619         * soft-fp/divtf3.c: Likewise.
20620         * soft-fp/double.h: Likewise.
20621         * soft-fp/eqdf2.c: Likewise.
20622         * soft-fp/eqsf2.c: Likewise.
20623         * soft-fp/eqtf2.c: Likewise.
20624         * soft-fp/extenddftf2.c: Likewise.
20625         * soft-fp/extended.h: Likewise.
20626         * soft-fp/extendsfdf2.c: Likewise.
20627         * soft-fp/extendsftf2.c: Likewise.
20628         * soft-fp/extendxftf2.c: Likewise.
20629         * soft-fp/fixdfdi.c: Likewise.
20630         * soft-fp/fixdfsi.c: Likewise.
20631         * soft-fp/fixdfti.c: Likewise.
20632         * soft-fp/fixsfdi.c: Likewise.
20633         * soft-fp/fixsfsi.c: Likewise.
20634         * soft-fp/fixsfti.c: Likewise.
20635         * soft-fp/fixtfdi.c: Likewise.
20636         * soft-fp/fixtfsi.c: Likewise.
20637         * soft-fp/fixtfti.c: Likewise.
20638         * soft-fp/fixunsdfdi.c: Likewise.
20639         * soft-fp/fixunsdfsi.c: Likewise.
20640         * soft-fp/fixunsdfti.c: Likewise.
20641         * soft-fp/fixunssfdi.c: Likewise.
20642         * soft-fp/fixunssfsi.c: Likewise.
20643         * soft-fp/fixunssfti.c: Likewise.
20644         * soft-fp/fixunstfdi.c: Likewise.
20645         * soft-fp/fixunstfsi.c: Likewise.
20646         * soft-fp/fixunstfti.c: Likewise.
20647         * soft-fp/floatdidf.c: Likewise.
20648         * soft-fp/floatdisf.c: Likewise.
20649         * soft-fp/floatditf.c: Likewise.
20650         * soft-fp/floatsidf.c: Likewise.
20651         * soft-fp/floatsisf.c: Likewise.
20652         * soft-fp/floatsitf.c: Likewise.
20653         * soft-fp/floattidf.c: Likewise.
20654         * soft-fp/floattisf.c: Likewise.
20655         * soft-fp/floattitf.c: Likewise.
20656         * soft-fp/floatundidf.c: Likewise.
20657         * soft-fp/floatundisf.c: Likewise.
20658         * soft-fp/floatunditf.c: Likewise.
20659         * soft-fp/floatunsidf.c: Likewise.
20660         * soft-fp/floatunsisf.c: Likewise.
20661         * soft-fp/floatunsitf.c: Likewise.
20662         * soft-fp/floatuntidf.c: Likewise.
20663         * soft-fp/floatuntisf.c: Likewise.
20664         * soft-fp/floatuntitf.c: Likewise.
20665         * soft-fp/fmadf4.c: Likewise.
20666         * soft-fp/fmasf4.c: Likewise.
20667         * soft-fp/fmatf4.c: Likewise.
20668         * soft-fp/gedf2.c: Likewise.
20669         * soft-fp/gesf2.c: Likewise.
20670         * soft-fp/getf2.c: Likewise.
20671         * soft-fp/ledf2.c: Likewise.
20672         * soft-fp/lesf2.c: Likewise.
20673         * soft-fp/letf2.c: Likewise.
20674         * soft-fp/muldf3.c: Likewise.
20675         * soft-fp/mulsf3.c: Likewise.
20676         * soft-fp/multf3.c: Likewise.
20677         * soft-fp/negdf2.c: Likewise.
20678         * soft-fp/negsf2.c: Likewise.
20679         * soft-fp/negtf2.c: Likewise.
20680         * soft-fp/op-1.h: Likewise.
20681         * soft-fp/op-2.h: Likewise.
20682         * soft-fp/op-4.h: Likewise.
20683         * soft-fp/op-8.h: Likewise.
20684         * soft-fp/op-common.h: Likewise.
20685         * soft-fp/quad.h: Likewise.
20686         * soft-fp/single.h: Likewise.
20687         * soft-fp/soft-fp.h: Likewise.
20688         * soft-fp/sqrtdf2.c: Likewise.
20689         * soft-fp/sqrtsf2.c: Likewise.
20690         * soft-fp/sqrttf2.c: Likewise.
20691         * soft-fp/subdf3.c: Likewise.
20692         * soft-fp/subsf3.c: Likewise.
20693         * soft-fp/subtf3.c: Likewise.
20694         * soft-fp/truncdfsf2.c: Likewise.
20695         * soft-fp/trunctfdf2.c: Likewise.
20696         * soft-fp/trunctfsf2.c: Likewise.
20697         * soft-fp/trunctfxf2.c: Likewise.
20698         * soft-fp/unorddf2.c: Likewise.
20699         * soft-fp/unordsf2.c: Likewise.
20700         * soft-fp/unordtf2.c: Likewise.
20701
20702 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20703
20704         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20705         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20706
20707 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20708
20709         * elf/dl-libc.c: Clear initfini list after freeing.
20710
20711 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20712
20713         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20714         * soft-fp/addsf3.c: Likewise.
20715         * soft-fp/addtf3.c: Likewise.
20716         * soft-fp/divdf3.c: Likewise.
20717         * soft-fp/divsf3.c: Likewise.
20718         * soft-fp/divtf3.c: Likewise.
20719         * soft-fp/double.h: Likewise.
20720         * soft-fp/eqdf2.c: Likewise.
20721         * soft-fp/eqsf2.c: Likewise.
20722         * soft-fp/eqtf2.c: Likewise.
20723         * soft-fp/extenddftf2.c: Likewise.
20724         * soft-fp/extended.h: Likewise.
20725         * soft-fp/extendsfdf2.c: Likewise.
20726         * soft-fp/extendsftf2.c: Likewise.
20727         * soft-fp/extendxftf2.c: Likewise.
20728         * soft-fp/fixdfdi.c: Likewise.
20729         * soft-fp/fixdfsi.c: Likewise.
20730         * soft-fp/fixdfti.c: Likewise.
20731         * soft-fp/fixsfdi.c: Likewise.
20732         * soft-fp/fixsfsi.c: Likewise.
20733         * soft-fp/fixsfti.c: Likewise.
20734         * soft-fp/fixtfdi.c: Likewise.
20735         * soft-fp/fixtfsi.c: Likewise.
20736         * soft-fp/fixtfti.c: Likewise.
20737         * soft-fp/fixunsdfdi.c: Likewise.
20738         * soft-fp/fixunsdfsi.c: Likewise.
20739         * soft-fp/fixunsdfti.c: Likewise.
20740         * soft-fp/fixunssfdi.c: Likewise.
20741         * soft-fp/fixunssfsi.c: Likewise.
20742         * soft-fp/fixunssfti.c: Likewise.
20743         * soft-fp/fixunstfdi.c: Likewise.
20744         * soft-fp/fixunstfsi.c: Likewise.
20745         * soft-fp/fixunstfti.c: Likewise.
20746         * soft-fp/floatdidf.c: Likewise.
20747         * soft-fp/floatdisf.c: Likewise.
20748         * soft-fp/floatditf.c: Likewise.
20749         * soft-fp/floatsidf.c: Likewise.
20750         * soft-fp/floatsisf.c: Likewise.
20751         * soft-fp/floatsitf.c: Likewise.
20752         * soft-fp/floattidf.c: Likewise.
20753         * soft-fp/floattisf.c: Likewise.
20754         * soft-fp/floattitf.c: Likewise.
20755         * soft-fp/floatundidf.c: Likewise.
20756         * soft-fp/floatundisf.c: Likewise.
20757         * soft-fp/floatunsidf.c: Likewise.
20758         * soft-fp/floatunsisf.c: Likewise.
20759         * soft-fp/floatuntidf.c: Likewise.
20760         * soft-fp/floatuntisf.c: Likewise.
20761         * soft-fp/floatuntitf.c: Likewise.
20762         * soft-fp/fmadf4.c: Likewise.
20763         * soft-fp/fmasf4.c: Likewise.
20764         * soft-fp/fmatf4.c: Likewise.
20765         * soft-fp/gedf2.c: Likewise.
20766         * soft-fp/gesf2.c: Likewise.
20767         * soft-fp/getf2.c: Likewise.
20768         * soft-fp/ledf2.c: Likewise.
20769         * soft-fp/lesf2.c: Likewise.
20770         * soft-fp/letf2.c: Likewise.
20771         * soft-fp/muldf3.c: Likewise.
20772         * soft-fp/mulsf3.c: Likewise.
20773         * soft-fp/multf3.c: Likewise.
20774         * soft-fp/negdf2.c: Likewise.
20775         * soft-fp/negsf2.c: Likewise.
20776         * soft-fp/negtf2.c: Likewise.
20777         * soft-fp/op-1.h: Likewise.
20778         * soft-fp/op-2.h: Likewise.
20779         * soft-fp/op-4.h: Likewise.
20780         * soft-fp/op-8.h: Likewise.
20781         * soft-fp/op-common.h: Likewise.
20782         * soft-fp/quad.h: Likewise.
20783         * soft-fp/single.h: Likewise.
20784         * soft-fp/soft-fp.h: Likewise.
20785         * soft-fp/sqrtdf2.c: Likewise.
20786         * soft-fp/sqrtsf2.c: Likewise.
20787         * soft-fp/sqrttf2.c: Likewise.
20788         * soft-fp/subdf3.c: Likewise.
20789         * soft-fp/subsf3.c: Likewise.
20790         * soft-fp/subtf3.c: Likewise.
20791         * soft-fp/truncdfsf2.c: Likewise.
20792         * soft-fp/trunctfdf2.c: Likewise.
20793         * soft-fp/trunctfsf2.c: Likewise.
20794         * soft-fp/trunctfxf2.c: Likewise.
20795         * soft-fp/unorddf2.c: Likewise.
20796         * soft-fp/unordsf2.c: Likewise.
20797         * soft-fp/unordtf2.c: Likewise.
20798
20799 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20800
20801         [BZ #15672]
20802         * misc/error.c (error_tail): Fix possible buffer overflow.
20803
20804 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20805
20806         [BZ #13028]
20807         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20808         address.
20809
20810 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20811
20812         [BZ #832]
20813         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20814         testing pipefail option.
20815
20816 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20817
20818         * soft-fp/double.h: Indent preprocessor directives inside #if.
20819         * soft-fp/extended.h: Likewise.
20820         * soft-fp/op-2.h: Likewise.
20821         * soft-fp/op-4.h: Likewise.
20822         * soft-fp/op-common.h: Likewise.
20823         * soft-fp/quad.h: Likewise.
20824         * soft-fp/single.h: Likewise.
20825         * soft-fp/soft-fp.h: Likewise.
20826
20827 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20828
20829         * iconv/iconv_prog.c: Fix typos.
20830         * stdio-common/psiginfo-data.h: Likewise.
20831
20832 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20833
20834         [BZ #15764]
20835         * locale/setlocale.c: Fix typo.
20836
20837 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20838
20839         [BZ #16036]
20840         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20841         signaling NaN arguments.
20842         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20843         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20844
20845         [BZ #14910]
20846         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20847         unordered operands.
20848         * soft-fp/gesf2.c (__gesf2): Likewise.
20849         * soft-fp/getf2.c (__getf2): Likewise.
20850         * soft-fp/ledf2.c (__ledf2): Likewise.
20851         * soft-fp/lesf2.c (__lesf2): Likewise.
20852         * soft-fp/letf2.c (__letf2): Likewise.
20853
20854         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20855         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20856         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20857         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20858         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20859         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20860         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20861         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20862         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20863         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20864         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20865         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20866         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20867         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20868         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20869         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20870         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20871         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20872         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20873         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20874         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20875         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20876         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20877         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20878         * soft-fp/floattidf.c (__floattidf): Likewise.
20879         * soft-fp/floattisf.c (__floattisf): Likewise.
20880         * soft-fp/floattitf.c (__floattitf): Likewise.
20881         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20882         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20883         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20884         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20885         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20886         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20887         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20888         * soft-fp/gesf2.c (__gesf2): Likewise.
20889         * soft-fp/getf2.c (__getf2): Likewise.
20890         * soft-fp/ledf2.c (__ledf2): Likewise.
20891         * soft-fp/lesf2.c (__lesf2): Likewise.
20892         * soft-fp/letf2.c (__letf2): Likewise.
20893
20894         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20895         Undefine and redefine.
20896         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20897         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20898         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20899         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20900         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20901         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20902         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20903         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20904         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20905         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20906         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20907         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20908         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20909         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20910         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20911
20912         [BZ #16032]
20913         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20914         without decrementing exponent if mantissa >= that for the
20915         denominator, not >.
20916         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20917         denominator, not >.  Decrement exponent in < case instead of
20918         incrementing in >= case.
20919         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20920         without decrementing exponent if mantissa >= that for the
20921         denominator, not >.
20922
20923         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20924         computing saturated result for unsigned overflow.
20925
20926 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20927             Jeff Law  <law@redhat.com>
20928
20929         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20930         (atan2Mp): Add systemtap probe marker.
20931         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20932         (__ieee754_log): Add systemtap probe marker.
20933         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20934         (atanMp): Add systemtap probe marker.
20935         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20936         (tanMp): Add systemtap probe marker.
20937         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20938         (__slowexp): Add systemtap probe marker.
20939         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20940         (__slowpow): Add systemtap probe marker.
20941         * manual/probes.texi: Document probes.
20942
20943 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20944
20945         [BZ #15362]
20946         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20947         written.
20948         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20949         written.
20950         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20951         written to buffer but not flushed.
20952         * libio/iofwrite_u.c:  Likewise.
20953         * libio/iopadn.c:  Return bytes returned even if EOF was
20954         encountered.
20955         * libio/iowpadn.c:  Likewise.
20956         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20957         if _IO_padn does not write the whole buffer.
20958         [!COMPILE_WPRINTF] (PAD): Likewise.
20959
20960 2013-10-10  David S. Miller  <davem@davemloft.net>
20961
20962         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20963         directory block.
20964
20965 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20966
20967         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20968         instead of FSF address.
20969         * soft-fp/fixdfti.c: Likewise.
20970         * soft-fp/fixsfti.c: Likewise.
20971         * soft-fp/fixtfti.c: Likewise.
20972         * soft-fp/fixunsdfti.c: Likewise.
20973         * soft-fp/fixunssfti.c: Likewise.
20974         * soft-fp/fixunstfti.c: Likewise.
20975         * soft-fp/floattidf.c: Likewise.
20976         * soft-fp/floattisf.c: Likewise.
20977         * soft-fp/floattitf.c: Likewise.
20978         * soft-fp/floatuntidf.c: Likewise.
20979         * soft-fp/floatuntisf.c: Likewise.
20980         * soft-fp/floatuntitf.c: Likewise.
20981         * soft-fp/trunctfxf2.c: Likewise.
20982
20983         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20984         * soft-fp/fixdfti.c: Likewise.
20985         * soft-fp/fixsfti.c: Likewise.
20986         * soft-fp/fixtfti.c: Likewise.
20987         * soft-fp/fixunsdfti.c: Likewise.
20988         * soft-fp/fixunssfti.c: Likewise.
20989         * soft-fp/fixunstfti.c: Likewise.
20990         * soft-fp/floattidf.c: Likewise.
20991         * soft-fp/floattisf.c: Likewise.
20992         * soft-fp/floattitf.c: Likewise.
20993         * soft-fp/floatuntidf.c: Likewise.
20994         * soft-fp/floatuntisf.c: Likewise.
20995         * soft-fp/floatuntitf.c: Likewise.
20996         * soft-fp/trunctfxf2.c: Likewise.
20997
20998 2013-10-10  David S. Miller  <davem@davemloft.net>
20999
21000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21001
21002 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
21003
21004         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21005         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21006         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21007         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21008         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21009         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21010         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21011
21012         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21013         for NaNs before doing comparisons on argument.
21014         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21015         Likewise.
21016
21017 2013-10-10  Will Newton  <will.newton@linaro.org>
21018
21019         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21020         passed to _int_memalign does not overflow.
21021
21022 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21023
21024         * scripts/bench.pl: Add include-sources directive.
21025         * benchtests/README: Update documentation.
21026
21027 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21028
21029         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21030         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21031         instead of FP_INIT_ROUNDMODE.
21032         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21033         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21034
21035         [BZ #16034]
21036         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21037         copy class of input value.
21038         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21039         not handle exceptions.
21040         * soft-fp/negsf2.c (__negsf2): Likewise.
21041         * soft-fp/negtf2.c (__negtf2): Likewise.
21042         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21043
21044 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21045
21046         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21047         semicolon.  From Linux kernel.
21048
21049 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21050
21051         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21052
21053 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21054
21055         [BZ #156]
21056         * manual/socket.texi: Added statement about buffer
21057         for gethostbyname2_r.
21058
21059 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21060
21061         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21062         Use .p2align directive instead, throughout.
21063         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21064         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21065         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21066         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21067         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21068         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21069         * sysdeps/x86_64/strchr.S: Likewise.
21070         * sysdeps/x86_64/strrchr.S: Likewise.
21071
21072 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21073
21074         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21075
21076         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21077
21078         * sysdeps/generic/math_private.h (__mpsin1): Remove
21079         declaration.
21080         (__mpcos1): Likewise.
21081         (__mpsin): New argument __range_reduce.
21082         (__mpcos): Likewise.
21083         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21084         (slow): Use __mpsin and __mpcos.
21085         (slow1): Likewise.
21086         (slow2): Likewise.
21087         (sloww): Likewise.
21088         (sloww1): Likewise.
21089         (sloww2): Likewise.
21090         (bsloww): Likewise.
21091         (bsloww1): Likewise.
21092         (bsloww2): Likewise.
21093         (cslow2): Likewise.
21094         (csloww): Likewise.
21095         (csloww1): Likewise.
21096         (csloww2): Likewise.
21097         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21098         range_reduce.  Merge in __mpsin1.
21099         (__mpcos): Likewise.
21100         (__mpsin1): Remove.
21101         (__mpcos1): Likewise.
21102
21103 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21104
21105         * locale/loadlocale.c (_nl_intern_locale_data): Use
21106         LOCFILE_ALIGNED_P.
21107         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21108         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21109         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21110         obstack data is appropriately aligned.
21111         (obstack_int32_grow_fast): Likewise.
21112         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21113         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21114         (add_locale_uint32_array): Likewise.
21115
21116 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21117
21118         * benchtests/Makefile: Remove ARGLIST and RET variables.
21119         ($(objpfx)bench-%.c): Pass only function name to the script.
21120         * benchtests/README: Update documentation.
21121         * benchtests/acos-inputs: Add new directives.
21122         * benchtests/acosh-inputs: Likewise.
21123         * benchtests/asin-inputs: Likewise.
21124         * benchtests/asinh-inputs: Likewise.
21125         * benchtests/atan-inputs: Likewise.
21126         * benchtests/atanh-inputs: Likewise.
21127         * benchtests/cos-inputs: Likewise.
21128         * benchtests/cosh-inputs: Likewise.
21129         * benchtests/exp-inputs: Likewise.
21130         * benchtests/log-inputs: Likewise.
21131         * benchtests/pow-inputs: Likewise.
21132         * benchtests/rint-inputs: Likewise.
21133         * benchtests/sin-inputs: Likewise.
21134         * benchtests/sinh-inputs: Likewise.
21135         * benchtests/tan-inputs: Likewise.
21136         * benchtests/tanh-inputs: Likewise.
21137         * scripts/bench.pl: Add support for new directives.
21138
21139 2013-10-07  Alan Modra  <amodra@gmail.com>
21140
21141         * README: Fix careless merge.
21142
21143 2013-10-05  Alan Modra  <amodra@gmail.com>
21144
21145         * NEWS: Mention powerpc64le support and bugs fixed.
21146         * README: Both big-endian and little-endian powerpc64 supported.
21147
21148 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21149
21150         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21151         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21152         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21153         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21154
21155 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21156
21157         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21158         match prototype.
21159
21160 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21161
21162         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21163         Move -mhard-float appending from
21164         ports/sysdeps/powerpc/powerpc32/Makefile.
21165         [$(with-fp) = yes] (ASFLAGS): Likewise.
21166         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21167         * sysdeps/powerpc/nofpu: Move directory from
21168         ports/sysdeps/powerpc/nofpu.
21169         * sysdeps/powerpc/soft-fp: Move directory from
21170         ports/sysdeps/powerpc/soft-fp.
21171         * sysdeps/powerpc/powerpc32/405: Move directory from
21172         ports/sysdeps/powerpc/powerpc32/405.
21173         * sysdeps/powerpc/powerpc32/440: Move directory from
21174         ports/sysdeps/powerpc/powerpc32/440.
21175         * sysdeps/powerpc/powerpc32/464: Move directory from
21176         ports/sysdeps/powerpc/powerpc32/464.
21177         * sysdeps/powerpc/powerpc32/476: Move directory from
21178         ports/sysdeps/powerpc/powerpc32/476.
21179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21180         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21182         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21184         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21186         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21188         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21189         * README: Update for powerpc-*-linux-gnu software floating point
21190         support in libc.
21191
21192         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21193         case to powerpc/powerpc32*.
21194         * sysdeps/unix/sysv/linux/configure: Regenerated.
21195
21196         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21197         (_FPU_MASK_OM): Define as 0x04.
21198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21200         0x00c10080.
21201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21202         0x0000003c.
21203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21204
21205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21206         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21207         getcontext_e500.
21208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21209         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21210         setcontext_e500.
21211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21212         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21213         and setcontext_e500.
21214
21215 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21216
21217         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21218
21219 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21220
21221         * manual/threads.texi (Default Thread Attributes): Fix typo.
21222
21223 2013-10-04  Will Newton  <will.newton@linaro.org>
21224
21225         * malloc/Makefile: Add tst-memalign.
21226         * malloc/tst-memalign.c: New file.
21227
21228         * malloc/tst-posix_memalign.c: Add comments.
21229         (do_test): Add comments and call free on all potentially
21230         allocated pointers. Add space after cast.
21231
21232         * malloc/tst-pvalloc.c: Add comments.
21233         (do_test): Add comments and call free on all potentially
21234         allocated pointers. Remove duplicate check for NULL pointer.
21235         Add space after cast.
21236
21237         * malloc/tst-valloc.c: Add comments.
21238         (do_test): Add comments and call free on all potentially
21239         allocated pointers. Remove duplicate check for NULL pointer.
21240         Add space after cast.
21241
21242 2013-10-04  Alan Modra  <amodra@gmail.com>
21243
21244         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21245         Use stdint types in rather than __attribute__((mode())).
21246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21247
21248 2013-10-04  Alan Modra  <amodra@gmail.com>
21249
21250         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21251         Correct handling of unaligned relocs for little-endian.
21252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21253
21254 2013-10-04  Alan Modra  <amodra@gmail.com>
21255
21256         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21257         * configure: Regenerate.
21258         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21259         * shlib-versions: Likewise.
21260
21261 2013-10-04  Alan Modra  <amodra@gmail.com>
21262
21263         * string/tester.c (test_memrchr): Increment reported test cycle.
21264
21265 2013-10-04  Alan Modra  <amodra@gmail.com>
21266
21267         * string/test-memcpy.c (do_one_test): When reporting errors, print
21268         string address and don't overrun end of string.
21269
21270 2013-10-04  Alan Modra  <amodra@gmail.com>
21271
21272         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21273         insrdi.  Make better use of reg selection to speed exit slightly.
21274         Schedule entry path a little better.  Remove useless "are we done"
21275         checks on entry to main loop.  Handle wrapping around zero address.
21276         Correct main loop count.  Handle single left-over word from main
21277         loop inline rather than by using loop_small.  Remove extra word
21278         case in loop_small caused by wrong loop count.  Add little-endian
21279         support.
21280         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21281         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21282         cache hint.
21283         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21284         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21285         support.  Avoid rlwimi.
21286         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21287
21288 2013-10-04  Alan Modra  <amodra@gmail.com>
21289
21290         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21291         insrdi.  Formatting.
21292         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21293         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21294         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21295         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21296         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21297         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21298
21299 2013-10-04  Alan Modra  <amodra@gmail.com>
21300
21301         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21303         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21304         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21305         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21306         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21307         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21308         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21309         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21310         use of regs.  Use power7 mtocrf.  Tidy function tails.
21311
21312 2013-10-04  Alan Modra  <amodra@gmail.com>
21313
21314         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21315         Formatting.  Consistently use rXXX register defines or rN defines.
21316         Use early exit labels that avoid restoring unused non-volatile regs.
21317         Make cr field use more consistent with rWORDn compares.  Rename
21318         regs used as shift registers for unaligned loop, using rN defines
21319         for short lifetime/multiple use regs.
21320         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21321         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21322         addi 1,1,64 to pop stack frame.  Simplify return value code.
21323         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21324
21325 2013-10-04  Alan Modra  <amodra@gmail.com>
21326
21327         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21328         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21329         rather than rlwimi.
21330         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21331         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21332         little-endian support.  Correct typos.
21333         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21334         rather than rlwimi.
21335         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21336         in loop and entry code to keep "and." results.
21337         (strchr): Add little-endian support.  Comment.  Move cntlzd
21338         earlier in tail.
21339         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21340
21341 2013-10-04  Alan Modra  <amodra@gmail.com>
21342
21343         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21344         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21345         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21346         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21347
21348 2013-10-04  Alan Modra  <amodra@gmail.com>
21349
21350         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21351         (rTMP): Define as r11.
21352         (strcmp): Add little-endian support.  Optimise tail.
21353         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21354         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21355         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21356         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21357         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21359         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21360
21361 2013-10-04  Alan Modra  <amodra@gmail.com>
21362
21363         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21364         little-endian support.  Remove unnecessary "are we done" tests.
21365         Handle "s" wrapping around zero and extremely large "size".
21366         Correct main loop count.  Handle single left-over word from main
21367         loop inline rather than by using small_loop.  Correct comments.
21368         Delete "zero" tail, use "end_max" instead.
21369         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21370
21371 2013-10-04  Alan Modra  <amodra@gmail.com>
21372
21373         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21374         support.  Don't branch over align.
21375         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21376         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21377         support.  Rearrange tmp reg use to suit.  Comment.
21378         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21379
21380 2013-10-04  Alan Modra  <amodra@gmail.com>
21381
21382         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21383
21384 2013-10-04  Alan Modra  <amodra@gmail.com>
21385
21386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21387         conditional form of branch and link when obtaining pc.
21388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21389
21390 2013-10-04  Alan Modra  <amodra@gmail.com>
21391
21392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21393         HIWORD/LOWORD.
21394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21396
21397 2013-10-04  Alan Modra  <amodra@gmail.com>
21398
21399         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21400         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21401         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21402         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21403         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21404         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21405         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21406         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21407         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21408         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21409
21410 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21411             Alistair Popple <alistair@ozlabs.au.ibm.com>
21412             Alan Modra <amodra@gmail.com>
21413
21414         [BZ #15723]
21415         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21417         _dl_hwcap access for little-endian.
21418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21419         destroy vmx regs when saving unaligned.
21420         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21421         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21422         destroy vmx regs when saving unaligned.
21423
21424 2013-10-04  Alan Modra  <amodra@gmail.com>
21425
21426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21427         Don't use a union to pack hi/low value.
21428
21429 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21430
21431         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21432         for little-endian.
21433         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21434         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21435         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21436         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21437         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21438
21439 2013-10-04  Alan Modra  <amodra@gmail.com>
21440
21441         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21442         constants to usual value for .cst8 section, and remove redundant
21443         high address load.
21444         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21445         constant for 0x1p52.  Load little-endian words of double from
21446         correct stack offsets.
21447
21448 2013-10-04  Alan Modra  <amodra@gmail.com>
21449
21450         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21451         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21452         words of double from correct stack offsets.
21453         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21454         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21455         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21457         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21458         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21459         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21460         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21461         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21462         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21463         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21464         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21465         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21466         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21467         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21468         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21469         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21470
21471 2013-10-04  Alan Modra  <amodra@gmail.com>
21472
21473         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21474         64-bit int/double union.
21475         (_FPU_SETCW): Likewise.
21476         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21477         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21478
21479 2013-10-04  Alan Modra  <amodra@gmail.com>
21480
21481         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21482         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21483
21484 2013-10-04  Alan Modra  <amodra@gmail.com>
21485
21486         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21487         use vector int constants.
21488         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21489
21490 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21491
21492         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21493         array with long long.
21494         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21495         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21496         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21497         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21498         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21499         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21500         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21501         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21502         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21503         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21504         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21505         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21506         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21507
21508 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21509
21510         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21511         (__signbit): Likewise.  Correct for little-endian.
21512         (__signbitl): Call __signbit.
21513         (lrint): Correct for little-endian.
21514         (lrintf): Call lrint.
21515
21516 2013-10-04  Alan Modra  <amodra@gmail.com>
21517
21518         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21519         union 32-bit int array member with 64-bit int array.
21520         (t515, tm256): Double rather than long double.
21521         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21522
21523 2013-10-04  Alan Modra  <amodra@gmail.com>
21524
21525         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21526         Delete.
21527         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21528         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21529         version of math_ldbl.h.
21530
21531 2013-10-04  Alan Modra  <amodra@gmail.com>
21532
21533         [BZ #15734], [BZ #15735]
21534         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21535         all uses of ieee875 long double macros and unions.  Simplify test
21536         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21537         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21538         normalize after ldbl_extract_mantissa, and don't add hidden bit
21539         already handled.  Don't treat low word of ieee854 mantissa like
21540         low word of IBM long double and mask off bit when testing for
21541         zero.
21542         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21543         all uses of ieee875 long double macros and unions.  Simplify tests
21544         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21545         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21546         two1022, instead use their values.  Recognise that tests for large
21547         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21548         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21549         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21550         test for 0.0L and nan.  Correct negation.
21551         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21552         ieee875 long double macros and unions.  Correct output for large
21553         magnitude x.  Correct absolute value calculation.
21554         (__erfcl): Likewise.
21555         * math/libm-test.inc: Add tests for errors discovered in IBM long
21556         double versions of fmodl, remainderl, erfl and erfcl.
21557
21558 2013-10-04  Alan Modra  <amodra@gmail.com>
21559
21560         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21561         all uses of ieee854 long double macros and unions.  Simplify tests
21562         for long doubles that are fully specified by the high double.
21563         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21564         Likewise.
21565         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21566         Remove dead code too.
21567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21568         (__ieee754_ynl): Likewise.
21569         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21570         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21571         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21572         Remove dead code too.
21573         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21575         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21576         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21577         Simplify.
21578         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21579         Simplify.
21580         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21581         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21583         Comment on variable precision.
21584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21585         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21586         Likewise.
21587         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21588         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21589         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21590         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21591         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21592
21593 2013-10-04  Alan Modra  <amodra@gmail.com>
21594
21595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21596         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21597         all uses of ieee854 long double macros and unions.
21598         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21599         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21600         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21602         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21603         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21604         Likewise.
21605         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21606         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21607         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21608         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21609         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21610         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21611         Simplify sign and nan test too.
21612         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21613         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21614         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21615         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21616         Likewise.
21617         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21618         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21619         Likewise.
21620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21621         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21622         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21623         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21624         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21626
21627 2013-10-04  Alan Modra  <amodra@gmail.com>
21628
21629         * stdio-common/printf_size.c (__printf_size): Don't use
21630         union ieee854_long_double in fpnum union.
21631         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21632         signbit macro to retrieve sign from long double.
21633         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21634         retrieve sign from long double.
21635         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21636         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21637         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21638         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21639         * math/test-misc.c (main): Don't use union ieee854_long_double.
21640
21641 2013-10-04  Alan Modra  <amodra@gmail.com>
21642
21643         [BZ #15680]
21644         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21645         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21646         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21647         calculation.  Remove unnecessary test for denormal exponent.
21648         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21649         Correct handling of denormals.  Avoid undefined shift behaviour.
21650         Correct normalisation of low mantissa when low double is denormal.
21651         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21652         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21653         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21654         Correct normalisation of low mantissa.  Test for overflow of high
21655         mantissa and normalise.
21656         (ldbl_nearbyint): Use more readable constant for two52.
21657         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21658         (__mpn_construct_long_double): Fix test for overflow of high
21659         mantissa and correct normalisation.  Avoid undefined shift.
21660
21661 2013-10-04  Alan Modra  <amodra@gmail.com>
21662
21663         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21664         (union ibm_extended_long_double): Define as an array of ieee754_double.
21665         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21666         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21667         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21668         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21670         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21672         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21673         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21674         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21675         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21676
21677 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21678
21679         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21680         page size instead of calling getpagesize.
21681
21682         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21683         (LOCFILE_ALIGN_MASK): Likewise.
21684         (LOCFILE_ALIGN_UP): Likewise.
21685         (LOCFILE_ALIGNED_P): Likewise.
21686         * locale/programs/ld-collate.c (collate_output): Use the new
21687         macros instead of __alignof__ (int32_t).
21688         * locale/weight.h (findidx): Likewise.
21689
21690 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21691
21692         [BZ #431]
21693         * manual/string.texi: Fix strncat and wcsncat.
21694
21695 2013-10-03  Brooks Moses  <bmoses@google.com>
21696
21697         [BZ #15915]
21698         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21699         * Makerules: ...here, and adjust associated comments.
21700
21701 2013-10-02  Will Newton  <will.newton@linaro.org>
21702
21703         * malloc/Makefile: Add tst-pvalloc.
21704         * malloc/tst-pvalloc.c: New file.
21705
21706 2013-10-02  Will Newton  <will.newton@linaro.org>
21707
21708         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21709         improve test coverage.
21710
21711 2013-10-02  Will Newton  <will.newton@linaro.org>
21712
21713         * malloc/Makefile: Add tst-posix_memalign.
21714         * malloc/tst-posix_memalign.c: New file.
21715
21716 2013-10-01  Eric Blake  <eblake@redhat.com>
21717
21718         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21719         Use __THROWNL rather than __THROW on static functions.
21720
21721 2013-09-30  Petr Machata  <pmachata@redhat.com>
21722
21723         * elf/elf.h (R_AARCH64_ABS16): New macro.
21724         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21725         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21726         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21727         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21728         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21729         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21730         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21731         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21732         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21733         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21734         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21735         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21736         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21737         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21738         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21739         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21740         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21741         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21742         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21743         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21744         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21745         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21746         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21747         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21748         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21749         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21750         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21751         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21752         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21753         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21754         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21755         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21756         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21757         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21758         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21759         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21760         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21761         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21762         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21763         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21764         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21765         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21766         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21767         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21768         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21769         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21770         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21771         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21772         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21773         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21774         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21775         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21776         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21777         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21778         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21779         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21780         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21781         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21782         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21783         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21784         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21785         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21786         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21787         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21788         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21789         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21790         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21791         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21792         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21793         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21794         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21795         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21796         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21797         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21798         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21799         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21800         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21801         (R_AARCH64_TLSDESC_LDR): Likewise.
21802         (R_AARCH64_TLSDESC_ADD): Likewise.
21803         (R_AARCH64_TLSDESC_CALL): Likewise.
21804
21805 2013-09-30  Andreas Schwab  <schwab@suse.de>
21806
21807         [BZ #15048]
21808         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21809         the nss database lookup.
21810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21812
21813 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21814
21815         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21816
21817 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21818
21819         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21820         ${Bash-specific parameter/pattern/string} parameter expansion.
21821         * sysdeps/unix/make-syscalls.sh: Likewise.
21822
21823 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21824
21825         * sysdeps/sh/stackguard-macros.h: New file.
21826
21827 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21828
21829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21831         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21832         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21834         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21835
21836 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21837
21838         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21839         Fix thread ID register.
21840
21841 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21842
21843         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21844         [POSIX || UNIX98]: Require rather than permitting all symbols from
21845         <time.h>.
21846         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21847         element of struct sched_param.
21848         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21849         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21850         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21851         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21852         constant.
21853
21854 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21855
21856         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21857         argument calculation.
21858
21859 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21860
21861         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21862         Expect macro.
21863         [POSIX] (pthread_attr_t): Do not require type.
21864         [POSIX] (pthread_cond_t): Likewise.
21865         [POSIX] (pthread_condattr_t): Likewise.
21866         [POSIX] (pthread_key_t): Likewise.
21867         [POSIX] (pthread_mutex_t): Likewise.
21868         [POSIX] (pthread_mutexattr_t): Likewise.
21869         [POSIX] (pthread_once_t): Likewise.
21870         [POSIX] (pthread_t): Likewise.
21871         [POSIX-based standards] (pthread_atfork): Expect function.
21872
21873 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21874             Richard Sandiford  <richard@codesourcery.com>
21875
21876         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21877         (swap_endianness_p): New extern variable.
21878         (set_big_endian): New inline function.
21879         (maybe_swap_uint32): Likewise.
21880         (maybe_swap_uint32_array): Likewise.
21881         (maybe_swap_uint32_obstack): Likewise.
21882         * locale/programs/locfile.c: Include <stdbool.h>.
21883         (swap_endianness_p): New variable.
21884         (add_locale_uint32): Call maybe_swap_uint32.
21885         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21886         (write_locale_data): Call maybe_swap_uint32_array.
21887         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21888         maybe_swap_uint32.
21889         (obstack_int32_grow_fast): Likewise.
21890         (output_weightwc): Call maybe_swap_uint32_obstack.
21891         (collate_output): Likewise.
21892         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21893         (OPT_LITTLE_ENDIAN): Likewise.
21894         (options): Add --little-endian and --big-endian options.
21895         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21896         * locale/programs/locarchive.c: Include "locfile.h".
21897         (GET): New macro.
21898         (SET): Likewise.
21899         (INC): Likewise.
21900         (create_archive): Use the new macros to access fields of
21901         structures directly mapped from or written to locale archives.
21902         (oldlocrecentcmp): Likewise.
21903         (enlarge_archive): Likewise.
21904         (insert_name): Likewise.
21905         (add_alias): Likewise.
21906         (add_locale): Likewise.
21907         (delete_locales_from_archive): Likewise.
21908         (show_archive_content): Likewise.
21909         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21910         locale data.
21911
21912 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21913
21914         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21915         http://www.gnu.org/doc/freemanuals.texi.
21916         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21917
21918 2013-09-24  Will Newton  <will.newton@linaro.org>
21919
21920         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21921         macro.
21922
21923 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21924
21925         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21926         unsigned char.
21927
21928 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21929
21930         * manual/threads.texi (POSIX Threads): Fix a typo.
21931
21932 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21933
21934         [BZ #14547]
21935         * string/tst-strcoll-overflow.c: New test case.
21936         * string/Makefile (xtests): Add tst-strcoll-overflow.
21937         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21938         cache if string sizes may cause integer overflow.
21939
21940         [BZ #14547]
21941         * string/strcoll_l.c (coll_seq): New members rule, idx,
21942         save_idx and back_us.
21943         (get_next_seq_nocache): New function.
21944         (do_compare_nocache): New function.
21945         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21946         when malloc fails.
21947
21948 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21949
21950         [BZ #15754]
21951         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21952         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21953         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21954
21955         [BZ #15754]
21956         * elf/Makefile (tests): Add tst-ptrguard1.
21957         (tests-static): Add tst-ptrguard1-static.
21958         (tst-ptrguard1-ARGS): Define.
21959         (tst-ptrguard1-static-ARGS): Define.
21960         * elf/tst-ptrguard1.c: New file.
21961         * elf/tst-ptrguard1-static.c: New file.
21962         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21963         * sysdeps/i386/stackguard-macros.h: Likewise.
21964         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21965         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21966         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21967         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21968         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21969         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21970
21971 2013-09-23  Hector Marco  <hecmargi@upv.es>
21972             Ismael Ripoll  <iripoll@disca.upv.es>
21973             Carlos O'Donell  <carlos@redhat.com>
21974
21975         [BZ #15754]
21976         * sysdeps/generic/stackguard-macros.h: Define
21977         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21978         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21979         Define __pointer_chk_guard_local.
21980         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21981         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21982
21983 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21984
21985         [BZ #15859]
21986         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21987
21988 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21989
21990         * include/string.h (__ffs): Declare as hidden.
21991         * string/ffs.c (__ffs): Define as hidden.
21992         * sysdeps/i386/ffs.c (__ffs): Likewise.
21993         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21994         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21995         * sysdeps/s390/ffs.c (__ffs): Likewise.
21996         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21997
21998 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21999
22000         * NEWS: Mention malloc probes.
22001
22002         * malloc/arena.c (new_heap): New memory_heap_new probe.
22003         (grow_heap): New memory_heap_more probe.
22004         (shrink_heap): New memory_heap_less probe.
22005         (heap_trim): New memory_heap_free probe.
22006         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22007         (systrim): New memory_sbrk_less probe.
22008         * manual/probes.texi: Document them.
22009
22010         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22011         * manual/probes.texi: Document it.
22012
22013         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22014         (__libc_realloc): Add memory_realloc_retry probe.
22015         (__libc_memalign): Add memory_memalign_retry probe.
22016         (__libc_valloc): Add memory_valloc_retry probe.
22017         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22018         (__libc_calloc): Add memory_calloc_retry probe.
22019         * manual/probes.texi: Document them.
22020
22021         * malloc/arena.c (get_free_list): Add probe
22022         memory_arena_reuse_free_list.
22023         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22024         and memory_arena_reuse.
22025         (arena_get2) [!PER_THREAD]: Likewise.
22026         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22027         memory_arena_reuse_realloc.
22028         * manual/probes.texi: Document them.
22029
22030         * malloc/malloc.c (__libc_free): Add
22031         memory_mallopt_free_dyn_thresholds probe.
22032         (__libc_mallopt): Add multiple memory_mallopt probes.
22033         * manual/probes.texi: Document them.
22034
22035         * malloc/malloc.c: Include stap-probe.h.
22036         (__libc_mallopt): Add memory_mallopt probe.
22037         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22038         * manual/probes.texi: New.
22039         * manual/Makefile (chapters): Add probes.
22040         * manual/threads.texi: Set next node.
22041
22042 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22043
22044         [BZ #15963, #13985]
22045         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22046         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22047         Add `Chinese' to `nan' entry name.
22048
22049 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22050
22051         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22052         (POLYNOMIAL): Likewise.
22053         (TAYLOR_SINCOS): Likewise.
22054         (TAYLOR_SLOW): Likewise.
22055         (__sin): Use TAYLOR_SINCOS.
22056         (__cos): Likewise.
22057         (slow): Use TAYLOR_SLOW.
22058         (sloww): Likewise.
22059         (bsloww): Likewise.
22060         (csloww): Likewise.
22061
22062 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22063
22064         * stdlib/strtod_l.c: Fix buffer overrun.
22065
22066 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22067
22068         * benchtests/Makefile (bench): Add sincos.
22069         * benchtests/bench-sincos.c: New file.
22070
22071         * math/libm-test.inc (cos_test_data): New test inputs.
22072         (sin_test_data): Likewise.
22073
22074         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22075         macro.
22076         (__sin): Use it.
22077         (__cos): Likewise.
22078         (slow1): Likewise.
22079         (slow2): Likewise.
22080         (sloww1): Likewise.
22081         (sloww2): Likewise.
22082         (bsloww1): Likewise.
22083         (bsloww2): Likewise.
22084         (cslow2): Likewise.
22085         (csloww1): Likewise.
22086         (csloww2): Likewise.
22087
22088         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22089         function.
22090         (__sin): Use it.
22091         (__cos): Likewise.
22092
22093         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22094         gotos.
22095         (__cos): Likewise.
22096
22097 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22098
22099         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22100         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22101         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22102         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22103         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22104         * elf/cache.c (print_entry): Handle the new cache flags.
22105
22106 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22107             Aldy Hernandez  <aldyh@redhat.com>
22108
22109         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22110         Change condition to [_SOFT_FLOAT].
22111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22123         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22126         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22127         declaration.
22128
22129 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22130
22131         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22132         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22133         (__longjmp): Use LOAD_GP to load saved GPRs.
22134         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22135         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22136         (__sigsetjmp): Use SAVE_GP to save GPRs.
22137
22138         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22139         Do not append -msoft-float.
22140         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22141
22142 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22143
22144         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22145
22146 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22147
22148         [BZ #15966]
22149         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22150         (_FPU_GETCW): Use initial "__" on variable and field names but not
22151         on macro parameter name.
22152         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22153         parentheses around reference to macro parameter.
22154
22155 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22156
22157         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22158         prototype.
22159         (ctype_startup): Use uint32_t in cast and sizeof for
22160         ctype->charnames.
22161
22162 2013-09-11  Jia Liu  <proljc@gmail.com>
22163
22164         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22165         __daddr_t_defined.
22166         [__FreeBSD__]: Likewise.
22167
22168 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22169
22170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22171         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22172         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22173         (strchr): Remove __strchr_sse42 ifunc selection.
22174         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22175         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22176
22177 2013-09-11  Will Newton  <will.newton@linaro.org>
22178
22179         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22180         parameter to RES. Remove hardcoded 1000 value.
22181         * benchtests/bench-skeleton.c (main): Pass RES parameter
22182         to TIMING_INIT and multiply result by 1000.
22183
22184 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22185
22186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22187
22188 2013-09-11  Andreas Schwab  <schwab@suse.de>
22189
22190         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22191         if not defined.
22192         (O_TMPFILE) [__USE_GNU]: Define.
22193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22194         Define.
22195
22196 2013-09-11  Will Newton  <will.newton@linaro.org>
22197
22198         [BZ #15857]
22199         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22200         does not overflow.
22201
22202 2013-09-11  Will Newton  <will.newton@linaro.org>
22203
22204         [BZ #15856]
22205         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22206         does not overflow.
22207
22208 2013-09-11  Will Newton  <will.newton@linaro.org>
22209
22210         [BZ #15855]
22211         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22212         does not overflow.
22213
22214 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22215
22216         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22217         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22218         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22219         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22220         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22221
22222 2013-09-10  Allan McRae  <allan@archlinux.org>
22223
22224         [BZ #15748]
22225         * manual/arith.texi (Parsing of Floats): Clarify
22226         cross-reference.
22227
22228         [BZ #15849]
22229         * manual/install.texi (Running make install): Mention
22230         --enable-pt-chown.
22231         * INSTALL: Regenerated.
22232
22233 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22234
22235         * csu/init-first.c (_init): Remove the !SHARED condition around
22236         FPU control word initialization.
22237         * elf/dl-support.c (_dl_fpu_control): New variable.
22238         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22239         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22240         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22241         * math/test-fpucw-static.c: New file.
22242         * math/test-fpucw-ieee.c: New file.
22243         * math/test-fpucw-ieee-static.c: New file.
22244         * math/Makefile (tests): Add `test-fpucw-ieee' and
22245         `$(tests-static)'.
22246         (tests-static): New variable.
22247         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22248         dependency to...
22249         [($(build-shared),yes)]
22250         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22251         ... this.
22252         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22253         New dependency.
22254
22255 2013-09-09  Allan McRae  <allan@archlinux.org>
22256
22257         [BZ #15939]
22258         * manual/string.texi (Collation Functions): Fix typo in
22259         strcoll example.
22260         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22261
22262         [BZ #15893]
22263         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22264
22265         [BZ #15892]
22266         * libio/memstream.c (open_memstream): Fix memory leak.
22267         * libio/wmemstream.c (open_wmemstream): Likewise.
22268
22269         [BZ #15895]
22270         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22271
22272 2013-09-09  Will Newton  <will.newton@linaro.org>
22273
22274         * malloc/Makefile: Add tst-realloc to tests.
22275         * malloc/tst-realloc.c: New file.
22276
22277 2013-09-09  Allan McRae  <allan@archlinux.org>
22278
22279         [BZ #15844]
22280         * COPYING: Update from GNU website to fix FSF address.
22281         * COPYING.LIB: Likewise.
22282
22283 2013-09-06  David S. Miller  <davem@davemloft.net>
22284
22285         * po/zh_TW.po: Update Chinese (traditional) translation from
22286         translation project.
22287
22288 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22289             Joseph Myers  <joseph@codesourcery.com>
22290
22291         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22292         "localeinfo.h".
22293         (obstack_chunk_alloc): New macro.
22294         (obstack_chunk_free): Likewise.
22295         (record_offset): New function.
22296         (init_locale_data): Likewise.
22297         (align_locale_data): Likewise.
22298         (add_locale_empty): Likewise.
22299         (add_locale_raw_data): Likewise.
22300         (add_locale_raw_obstack): Likewise.
22301         (add_locale_string): Likewise.
22302         (add_locale_wstring): Likewise.
22303         (add_locale_uint32): Likewise.
22304         (add_locale_uint32_array): Likewise.
22305         (add_locale_char): Likewise.
22306         (start_locale_structure): Likewise.
22307         (end_locale_structure): Likewise.
22308         (start_locale_prelude): Likewise.
22309         (end_locale_prelude): Likewise.
22310         (write_locale_data): Take locale_file structure rather than an
22311         iovec.
22312         * locale/programs/locfile.h: Include "obstack.h".
22313         (struct locale_file): Change to store locale file contents instead
22314         of header.
22315         (init_locale_data): New prototype.
22316         (align_locale_data): Likewise.
22317         (add_locale_empty): Likewise.
22318         (add_locale_raw_data): Likewise.
22319         (add_locale_raw_obstack): Likewise.
22320         (add_locale_string): Likewise.
22321         (add_locale_wstring): Likewise.
22322         (add_locale_uint32): Likewise.
22323         (add_locale_uint32_array): Likewise.
22324         (add_locale_char): Likewise.
22325         (start_locale_structure): Likewise.
22326         (end_locale_structure): Likewise.
22327         (start_locale_prelude): Likewise.
22328         (end_locale_prelude): Likewise.
22329         (write_locale_data): Update prototype.
22330         * locale/programs/3level.h (struct TABLE): Remove result field.
22331         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22332         Use new locale_file interface.
22333         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22334         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22335         * locale/programs/ld-address.c (address_output): Use new
22336         locale_file interface.
22337         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22338         NO_ADD_LOCALE.
22339         (collate_finish): Don't call collseq_table_finalize.
22340         (collate_output): Use new locale_file interface.
22341         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22342         in file.
22343         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22344         (TABLE): Move defines earlier in file.
22345         (ELEMENT): Likewise.
22346         (DEFAULT): Likewise.
22347         (wctrans_table_add): Move macro and inline function earlier in
22348         file.
22349         (struct wctype_table): Move type earlier in file.
22350         (add_locale_wctype_table): New static prototype.
22351         (struct locale_ctype_t): Use logical types instead of struct iovec
22352         pointers for members.
22353         (ctype_output): Use new locale_file interface.
22354         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22355         new locale_file interface.
22356         (allocate_arrays): Update for use of new locale_file interface.
22357         * locale/programs/ld-identification.c (identification_output): Use
22358         new locale_file interface.
22359         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22360         * locale/programs/ld-messages.c (messages_output): Likewise.
22361         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22362         * locale/programs/ld-name.c (name_output): Likewise.
22363         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22364         * locale/programs/ld-paper.c (paper_output): Likewise.
22365         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22366         * locale/programs/ld-time.c (time_output): Likewise.
22367
22368 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22369
22370         * benchtests/Makefile: Add memrchr benchmark.
22371         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22372         benchmark as memrchr.
22373         * benchtests/bench-memrchr-ifunc.c: New file.
22374         * benchtests/bench-memrchr.c: New file.
22375
22376 2013-09-06   Will Newton  <will.newton@linaro.org>
22377
22378         * benchtests/Makefile (string-bench): Add memcpy.
22379
22380 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22381             Cong Wang  <amwang@redhat.com>
22382
22383         [BZ #15850]
22384         * sysdeps/unix/sysv/linux/bits/in.h
22385         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22386         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22387         before __USE_KERNEL_IPV6_DEFS uses.
22388         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22389         IPPROTO_BEETPH.
22390         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22391         sockaddr_in6, or ipv6_mreq.
22392
22393 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22394
22395         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22396         memory access for final bytes in some large inputs.
22397         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22398
22399 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22400
22401         * string/test-memrchr.c: New file.
22402         * string/test-memrchr-ifunc.c: New file.
22403         * string/Makefile: Add new memrchr testcase.
22404
22405 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22406
22407         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22408         fanotify_init returns EPERM.
22409
22410 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22411
22412         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22413         errors.
22414         (top level): Treat second token from macro or constant entries for
22415         allowed headers as allowed.
22416         * include/complex.h: Condition internal declarations on
22417         [!_ISOMAC].
22418         * include/fenv.h: Condition include of <stdbool.h> and internal
22419         declarations on [!_ISOMAC].
22420
22421 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22422
22423         [BZ #15923]
22424         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22425
22426 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22427
22428         * configure.in (--enable-versioning): Remove configure option.
22429         (libc_cv_asm_symver_directive): Remove configure test.
22430         (libc_cv_ld_version_script_option): Likewise.
22431         (VERSIONING): Remove variable and AC_SUBST.
22432         (DO_VERSIONING): Remove AC_DEFINE.
22433         * configure: Regenerated.
22434         * config.h.in (DO_VERSIONING): Remove macro.
22435         * Makerules [$(versioning) = yes]: Change conditionals to
22436         [$(build-shared) = yes].
22437         * config.make.in (versioning): Remove variable.
22438         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22439         [$(build-shared) = yes].
22440         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22441         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22442         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22443         [$(build-shared) = yes].
22444         * extra-lib.mk [$(versioning) = yes]: Likewise.
22445         * hurd/Makefile [$(versioning) = yes]: Likewise.
22446         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22447         [SHARED].
22448         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22449         [SHARED].
22450         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22451         [SHARED && !NO_HIDDEN].
22452         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22453         [SHARED].
22454         [SHARED && DO_VERSIONING]: Likewise..
22455         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22456         [$(build-shared) = yes].
22457         * manual/install.texi (--disable-versioning): Remove
22458         documentation.
22459         * INSTALL: Regenerated.
22460         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22461         to [SHARED].
22462         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22463         [$(build-shared) = yes].
22464         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22465         * sysdeps/i386/i686/multiarch/strstr-c.c
22466         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22467         [SHARED && !NO_HIDDEN].
22468         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22469         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22470         * sysdeps/powerpc/powerpc32/dl-machine.c
22471         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22472         * sysdeps/powerpc/powerpc32/sysdep.h
22473         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22474         to [SHARED && PIC && !NO_HIDDEN].
22475         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22476         conditional to [SHARED].
22477
22478 2013-09-04   Will Newton  <will.newton@linaro.org>
22479
22480         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22481         * benchtests/bench-string.h: Include bench-timing.h instead
22482         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22483         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22484         call to HP_TIMING_DIFF_INIT.
22485         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22486         instead of hp-timing.h macros.
22487         * benchtests/bench-memchr.c: Likewise.
22488         * benchtests/bench-memcmp.c: Likewise.
22489         * benchtests/bench-memcpy.c: Likewise.
22490         * benchtests/bench-memmem.c: Likewise.
22491         * benchtests/bench-memmove.c: Likewise.
22492         * benchtests/bench-memset.c: Likewise.
22493         * benchtests/bench-rawmemchr.c: Likewise.
22494         * benchtests/bench-strcasecmp.c: Likewise.
22495         * benchtests/bench-strcasestr.c: Likewise.
22496         * benchtests/bench-strcat.c: Likewise.
22497         * benchtests/bench-strchr.c: Likewise.
22498         * benchtests/bench-strcmp.c: Likewise.
22499         * benchtests/bench-strcpy.c: Likewise.
22500         * benchtests/bench-strcpy_chk.c: Likewise.
22501         * benchtests/bench-strlen.c: Likewise.
22502         * benchtests/bench-strncasecmp.c: Likewise.
22503         * benchtests/bench-strncat.c: Likewise.
22504         * benchtests/bench-strncmp.c: Likewise.
22505         * benchtests/bench-strncpy.c: Likewise.
22506         * benchtests/bench-strnlen.c: Likewise.
22507         * benchtests/bench-strpbrk.c: Likewise.
22508         * benchtests/bench-strrchr.c: Likewise.
22509         * benchtests/bench-strspn.c: Likewise.
22510         * benchtests/bench-strstr.c: Likewise.
22511
22512 2013-09-04  Will Newton  <will.newton@linaro.org>
22513
22514         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22515
22516 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22517
22518         [BZ #15427]
22519         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22520         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22521         * math/libm-test.inc (lgamma_test_data): Add more tests.
22522         * sysdeps/i386/fpu/libm-test-ulps: Update.
22523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22524
22525 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22526
22527         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22528         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22529         Add ifunc.
22530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22531         Add strcmp-sse2-unaligned
22532         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22533
22534 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22535
22536         * Versions.def (libc): Add GLIBC_2.19.
22537
22538 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22539
22540         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22541         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22542
22543 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22544
22545         [BZ #14155]
22546         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22547         intermediate calculations in recurrence.
22548         (__ieee754_ynf): Likewise.
22549         * math/libm-test.inc (jn_test_data): Do not allow spurious
22550         underflow exception.  Add more tests.
22551         (yn_test_data): Add more tests.
22552         * sysdeps/i386/fpu/libm-test-ulps: Update.
22553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22554
22555 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22556
22557         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22558
22559 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22560
22561         * csu/init-first.c: Fix then/than typos.
22562         * locale/programs/ld-collate.c: Likewise.
22563         * locale/programs/linereader.h: Likewise.
22564         * manual/charset.texi: Likewise.
22565         * manual/filesys.texi: Likewise.
22566         * manual/stdio.texi: Likewise.
22567         * manual/string.texi: Likewise.
22568         * stdlib/fmtmsg.c: Likewise.
22569         * sysdeps/i386/stpncpy.S: Likewise.
22570         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22571         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22572         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22573         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22574
22575 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22576
22577         * elf/dl-open.c: Fix typos.
22578         * iconvdata/gbbig5.c: Likewise.
22579         * iconvdata/iso-2022-jp.c: Likewise.
22580         * iconv/gconv_int.h: Likewise.
22581         * iconv/loop.c: Likewise.
22582         * nis/rpcsvc/nis.h: Likewise.
22583         * resolv/ns_name.c: Likewise.
22584         * stdio-common/vfscanf.c: Likewise.
22585         * streams/stropts.h: Likewise.
22586         * sunrpc/rpc_thread.c: Likewise.
22587         * sysdeps/i386/strpbrk.S: Likewise.
22588         * sysdeps/ieee754/k_standard.c: Likewise.
22589         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22591         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22592         * sysdeps/mach/hurd/profil.c: Likewise.
22593         * sysdeps/s390/dl-procinfo.h: Likewise.
22594         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22595         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22596         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22597         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22598         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22599
22600 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22601
22602         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22604
22605 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22606
22607         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22608         aix specific files.
22609         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22610         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22611         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22612         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22613         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22614         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22615         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22616         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22617
22618 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22619             Roland McGrath  <roland@hack.frob.com>
22620
22621         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22622         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22623
22624 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22625
22626         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22627         __executable_start symbol instead of _start.
22628
22629 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22630
22631         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22632         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22633         Move macros to...
22634         * sysdeps/gnu/ldsodefs.h: ... this new file.
22635
22636         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22637         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22638         instead of ELFOSABI_LINUX.
22639
22640         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22641         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22642         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22643         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22644         Likewise.
22645         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22646         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22647         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22648         Likewise.
22649         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22650         (ibm_extended_long_double): Add ieee_nan member.
22651         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22652         (do_test): New function.
22653
22654         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22655         TEST_TRUNC.
22656         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22657         functions, renamed from truncdfsf_test, trunctfsf_test,
22658         trunctfdf_test.
22659         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22660         functions.
22661         (do_test): Run all these.
22662
22663 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22664
22665         * argp/argp-help.c: Fix typos.
22666         * argp/argp-parse.c: Likewise.
22667         * debug/backtracesyms.c: Likewise.
22668         * elf/elf.h: Likewise.
22669         * malloc/malloc.c: Likewise.
22670         * nis/nis_print.c: Likewise.
22671         * resolv/res_comp.c: Likewise.
22672         * stdlib/stdlib.h: Likewise.
22673         * sunrpc/clnt_tcp.c: Likewise.
22674         * sunrpc/clnt_udp.c: Likewise.
22675         * sunrpc/clnt_unix.c: Likewise.
22676         * sysdeps/unix/bsd/ptsname.c: Likewise.
22677         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22678         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22680         Likewise.
22681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22682         Likewise.
22683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22684         Likewise.
22685         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22686
22687 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22688
22689         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22691
22692 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22693
22694         [BZ #15897]
22695         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22696         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22697         ($(objpfx)bug-dl-leaf): New rule.
22698         ($(objpfx)bug-dl-leaf.so): Likewise.
22699         ($(objpfx)bug-dl-leaf.out): Likewise.
22700         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22701         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22702         * dlfcn/bug-dl-leaf.c: New test.
22703         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22704         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22705         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22706         (dlclose): Likewise.
22707         (dlmopen): Likewise.
22708
22709 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22710
22711         * include/netdb.h [!_ISOMAC]:
22712         Don't include <tls.h>.
22713         (h_errno, __libc_h_errno): Move declaration and macros out of
22714         [_LIBC_REENTRANT].
22715
22716         * include/resolv.h [_RESOLV_H_]:
22717         Don't include <tls.h>.
22718         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22719         * resolv/res_libc.c: Don't include <tls.h>.
22720         (_res): Use __attribute__ ((nocommon)) in place of
22721         __attribute__ ((section (".bss"))).
22722
22723         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22724         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22725
22726         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22727
22728         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22729         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22730
22731         * resolv/res_mkquery.c: Include <sys/time.h>.
22732
22733         * inet/ifreq.c: Moved to ...
22734         * sysdeps/unix/ifreq.c: ... here.
22735         * inet/ifreq.c: New file, true stub version.
22736
22737         * socket/sa_len.c: New file.
22738         * socket/Makefile (aux): Add it.
22739         * sysdeps/unix/sysv/linux/Makefile
22740         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22741         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22742         and #include <socket/sa_len.c>.
22743         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22744         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22745
22746         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22747         * bits/socket.h: ... here.
22748
22749         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22750         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22751         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22752
22753 2013-08-27  Andreas Schwab  <schwab@suse.de>
22754
22755         [BZ #15736]
22756         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22757         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22758         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22759         * string/test-strcasecmp.c (test_main): Run tests in several
22760         locales.
22761         * string/test-strncasecmp.c (test_main): Likewise.
22762
22763         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22764         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22765         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22767         (__strncasecmp_ssse3) [PIC]: Likewise.
22768
22769 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22770
22771         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22772
22773         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22774         instead of explicitly declaring xdecrypt.
22775         * nis/nss_nis/nis-publickey.c: Likewise.
22776
22777 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22778
22779         [BZ #15890]
22780         * nscd/aicache.c: Include res_hconf.h.
22781         (addhstaiX): Initialize res_hconf.
22782
22783 2013-08-26  Andreas Schwab  <schwab@suse.de>
22784
22785         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22786         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22787
22788 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22789
22790         * nscd/aicache.c (addhstaiX): Fix indentation.
22791
22792 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22793
22794         * configure.ac: Quote $build_pt_chown test.
22795         * configure: Regenerated.
22796
22797 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22798
22799         [BZ #15532]
22800         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22801         * math/s_cexpf.c (__cexpf): Likewise.
22802         * math/s_cexpl.c (__cexpl): Likewise.
22803         * math/libm-test.inc (cexp_test_data): Correct expected return
22804         value for NaN + i0.  Add another test.
22805
22806 2013-08-22  David S. Miller  <davem@davemloft.net>
22807
22808         * po/ca.po: Update Catalan translation from translation project.
22809         * po/uk.po: Add Ukrainian translations from translation project.
22810
22811 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22812
22813         [BZ #15797]
22814         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22815         is infinite, not alongside NaN test.
22816         * math/s_fdimf.c (__fdimf): Likewise.
22817         * math/s_fdiml.c (__fdiml): Likewise.
22818         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22819         errno is unchanged.
22820
22821 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22822
22823         * argp/argp-help.c: Fix typos.
22824         * crypt/speeds.c: Likewise.
22825         * csu/check_fds.c: Likewise.
22826         * elf/dl-load.c: Likewise.
22827         * elf/dl-open.c: Likewise.
22828         * elf/reldep3.c: Likewise.
22829         * elf/reldep.c: Likewise.
22830         * elf/sprof.c: Likewise.
22831         * iconv/iconv_charmap.c: Likewise.
22832         * iconv/skeleton.c: Likewise.
22833         * iconv/strtab.c: Likewise.
22834         * io/lockf64.c: Likewise.
22835         * libio/libioP.h: Likewise.
22836         * resolv/gai_notify.c: Likewise.
22837         * resolv/ns_name.c: Likewise.
22838         * resolv/ns_samedomain.c: Likewise.
22839         * resolv/res_send.c: Likewise.
22840         * stdlib/random.c: Likewise.
22841         * sunrpc/rpc/xdr.h: Likewise.
22842         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22843         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22844         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22845         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22846         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22847         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22848         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22849         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22850         * sysdeps/mach/hurd/check_fds.c: Likewise.
22851         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22852         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22853         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22854         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22855         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22856         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22857         * sysdeps/pthread/aio_notify.c: Likewise.
22858         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22859         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22860         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22861         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22862         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22863
22864 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22865
22866         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22867         version if bit_Slow_SSE4_2 is set.
22868         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22869         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22870
22871 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22872
22873         [BZ #15867]
22874         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22875         trampoline stack frame information.
22876         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22877         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22878         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22879         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22880         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22881         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22882         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22883         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22884         sa_flags value.
22885         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22886         interrupting a syscall and set with option SA_SIGINFO.
22887
22888 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22889
22890         [BZ #15531]
22891         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22892         argument is infinite.
22893         * math/s_cprojf.c (__cprojf): Likewise.
22894         * math/s_cprojl.c (__cprojl): Likewise.
22895         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22896         * math/libm-test.inc (cproj_test_data): Add more tests.
22897
22898         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22899
22900         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22901         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22902         size.  Use __ffs to determine corresponding shift.
22903
22904 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22905             Roland McGrath  <roland@hack.frob.com>
22906
22907         * Makefile (INSTALL): Remove trailing blank lines from output of
22908         makeinfo.
22909
22910 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22911
22912         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22913         Align 32 bit compat elf_greg to 8 bytes.
22914
22915 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22916
22917         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22918
22919 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22920
22921         * string/strcoll_l.c (coll_seq): New structure.
22922         (get_next_seq_cached): New function.
22923         (get_next_seq): New function.
22924         (do_compare): New function.
22925         (STRCOLL): Use GNU style definition.  Simplify implementation
22926         by using get_next_seq, get_next_seq_cached and do_compare.
22927
22928 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22929
22930         [BZ #14699]
22931         CVE-2013-4237
22932         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22933         member.
22934         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22935         member.
22936         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22937         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22938         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22939         conditional.
22940         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22941         GETDENTS_64BIT_ALIGNED.
22942         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22943         * manual/filesys.texi (Reading/Closing Directory): Document
22944         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22945         strongly.
22946         * manual/conf.texi (Limits for Files): Add portability note to
22947         NAME_MAX, PATH_MAX.
22948         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22949
22950 2013-08-13  Andreas Schwab  <schwab@suse.de>
22951
22952         [BZ #15749]
22953         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22954         of fabs.
22955         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22956         LDBL_MAX_EXP >= 16384]: Add tests for it.
22957
22958 2013-08-12  David S. Miller  <davem@davemloft.net>
22959
22960         * version.h (RELEASE): Set to "development".
22961         (VERSION): Set to "2.18.90".
22962         * NEWS: Add 2.19 section.
22963
22964 2013-08-03  David S. Miller  <davem@davemloft.net>
22965
22966         * po/ko.po: Update Korean translation from translation project.
22967
22968 2013-08-01  David S. Miller  <davem@davemloft.net>
22969
22970         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22971         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22972         Bilka.
22973
22974 2013-07-30  David S. Miller  <davem@davemloft.net>
22975
22976         * po/fr.po: Update French translation from translation project.
22977
22978 2013-07-28  David S. Miller  <davem@davemloft.net>
22979
22980         * po/cs.po: Update Czech translation from translation project.
22981
22982         * po/sv.po: Update Swedish translation from translation project.
22983
22984 2013-07-27  David S. Miller  <davem@davemloft.net>
22985
22986         * po/eo.po: Update Esperanto translation from translation project.
22987
22988         * po/vi.po: Update Vietnamese translation from translation project.
22989
22990         * po/de.po: Update German translation from translation project.
22991
22992 2013-07-26  David S. Miller  <davem@davemloft.net>
22993
22994         * po/bg.po: Update Bulgarian translation from translation project.
22995
22996         * po/nl.po: Update Dutch translation from translation project.
22997         * po/pl.po: Update Polish translation from translation project.
22998         * po/ru.po: Update Russian translation from translation project.
22999
23000 2013-07-24  David S. Miller  <davem@davemloft.net>
23001
23002         * po/libc.pot: Update.
23003
23004 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23005
23006         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23007         variable page size.
23008         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23009         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23010         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23011
23012 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23013
23014         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23015
23016 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23017             Andreas Schwab  <schwab@suse.de>
23018             Roland McGrath  <roland@hack.frob.com>
23019             Joseph Myers  <joseph@codesourcery.com>
23020             Carlos O'Donell  <carlos@redhat.com>
23021
23022         [BZ #15755]
23023         * config.h.in: Define HAVE_PT_CHOWN.
23024         * config.make.in (build-pt-chown): New variable.
23025         * configure.in (--enable-pt_chown): New configure option.
23026         * configure: Regenerate.
23027         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23028         build-pt-chown is enabled.
23029         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23030         pt_chown to fix pty ownership.
23031         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23032         CLOSE_ALL_FDS.
23033         * manual/install.texi (Configuring and compiling): Mention
23034         --enable-pt_chown. Add @findex for grantpt.
23035         * INSTALL: Regenerate.
23036
23037 2013-07-20  David S. Miller  <davem@davemloft.net>
23038
23039         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23040         difference between 32-bit and 64-bit.
23041
23042 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23043
23044         [BZ #15711]
23045         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23046         Avoid system header dependency with -ffreestanding.
23047         ($(objpfx)bits/syscall%d): Likewise.
23048
23049 2013-07-13  David S. Miller  <davem@davemloft.net>
23050
23051         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23052         underflows from atanl/atan2l due to bug 15319.
23053         (casinh_test_data): Likewise.
23054
23055 2013-07-07  David S. Miller  <davem@davemloft.net>
23056
23057         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23058
23059 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23060
23061         * sysdeps/i386/fpu/libm-test-ulps: Update.
23062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23063
23064 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23065
23066         * configure.in (--enable-lock-elision): Fix message text.
23067         * INSTALL: Regenerate.
23068         * configure: Regenerate.
23069
23070 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23071
23072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23073
23074 2013-07-03  Andreas Jaeger  <aj@suse.de>
23075
23076         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23077         define.
23078         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23079         (ptrace_peeksiginfo_args): Add.
23080         (__ptrace_peeksiginfo_flags): Add.
23081         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23082         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23083         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23084
23085 2013-07-03  Allan McRae  <allan@archlinux.org>
23086
23087         * sysdeps/i386/fpu/libm-test-ulps: Update.
23088
23089 2013-07-02  David S. Miller  <davem@davemloft.net>
23090
23091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23092
23093 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23094
23095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23096
23097 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23098
23099         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23101
23102 2013-07-02  Andi Kleen <ak@linux.intel.com>
23103
23104         * config.h.in (ENABLE_LOCK_ELISION): Add.
23105         * configure.in (--enable-lock-elision): Add option.
23106         * manual/install.texi: Document --enable lock elision.
23107         * configure: Regenerate
23108         * INSTALL: Regenerate.
23109
23110 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23111
23112         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23113         SSE4.2 strcasecmp for libc.a.
23114         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23115
23116 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23117
23118         [BZ #13304]
23119         * soft-fp/op-common.h (_FP_FMA): New macro.
23120         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23121         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23122         (_FP_MUL_MEAT_1_imm): ... here.
23123         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23124         (_FP_MUL_MEAT_1_wide): ... here.
23125         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23126         (_FP_MUL_MEAT_1_hard): ... here.
23127         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23128         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23129         (_FP_MUL_MEAT_2_wide): ... here.
23130         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23131         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23132         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23133         (_FP_MUL_MEAT_2_gmp): ... here.
23134         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23135         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23136         (_FP_MUL_MEAT_4_wide): ... here.
23137         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23138         (_FP_MUL_MEAT_4_gmp): ... here.
23139         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23140         (_FP_WFRACBITS_DW_S): Likewise.
23141         (_FP_WFRACXBITS_DW_S): Likewise.
23142         (_FP_HIGHBIT_DW_S): Likewise.
23143         (FP_FMA_S): Likewise.
23144         (_FP_FRAC_HIGH_DW_S): Likewise.
23145         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23146         (_FP_WFRACBITS_DW_D): Likewise.
23147         (_FP_WFRACXBITS_DW_D): Likewise.
23148         (_FP_HIGHBIT_DW_D): Likewise.
23149         (FP_FMA_D): Likewise.
23150         (_FP_FRAC_HIGH_DW_D): Likewise.
23151         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23152         (_FP_WFRACBITS_DW_E): Likewise.
23153         (_FP_WFRACXBITS_DW_E): Likewise.
23154         (_FP_HIGHBIT_DW_E): Likewise.
23155         (FP_FMA_E): Likewise.
23156         (_FP_FRAC_HIGH_DW_E): Likewise.
23157         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23158         (_FP_WFRACBITS_DW_Q): Likewise.
23159         (_FP_WFRACXBITS_DW_Q): Likewise.
23160         (_FP_HIGHBIT_DW_Q): Likewise.
23161         (FP_FMA_Q): Likewise.
23162         (_FP_FRAC_HIGH_DW_Q): Likewise.
23163         * soft-fp/fmasf4.c: New file.
23164         * soft-fp/fmadf4.c: Likewise.
23165         * soft-fp/fmatf4.c: Likewise.
23166
23167 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23168
23169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23170         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23171         Silvermont.
23172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23173         macro.
23174         (index_Slow_SSE4_2): Likewise.
23175         (index_Prefer_PMINUB_for_stringop): Likewise.
23176         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23177         bit_Slow_SSE4_2 is set.
23178         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23179         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23180
23181 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23182
23183         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23184         rtld_global._dl_hwcap2.
23185         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23186         POWER8.
23187         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23188         POWER8 feature descriptions defined in _dl_hwcap2.
23189         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23190         string handling for POWER8 feature bits.
23191         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23192         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23193         _dl_powerpc_cap_flags.
23194         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23195         * sysdeps/powerpc/rtld-global-offsets.sym
23196         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23197         _dl_hwcap2 in the rtld_global_ro structure.
23198
23199 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23200
23201         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23202         hardware capabilities in support of AT_HWCAP2.
23203         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23204         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23205         GLRO(dl_hwcap2).
23206         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23207         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23208         explicitly the unknown a_type display mechanism is used.
23209         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23210         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23211         struct member.
23212         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23213         to macro prototype for AT_HWCAP2 support.
23214         * sysdeps/i386/dl-procinfo.h: Likewise.
23215         * sysdeps/s390/dl-procinfo.h: Likewise.
23216         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23217         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23218         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23219         return -1 for unknown a_type display fallback.
23220         * sysdeps/sparc/dl-procinfo.h: Likewise.
23221         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23222         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23223
23224 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23225
23226         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23227         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23228
23229 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23230
23231         [BZ #12492]
23232         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23233         mprotect making __stack_prot writable.
23234
23235 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23236             Joseph Myers  <joseph@codesourcery.com>
23237
23238         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23239         as being properly aligned.
23240
23241 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23242
23243         * dlfcn/modstatic5.c: New file.
23244         * dlfcn/tststatic5.c: New file.
23245         * dlfcn/Makefile (tests): Add tststatic5.
23246         (tests-static): Likewise.
23247         (modules-names): Add modstatic5.
23248         (tststatic5-ENV): New variable.
23249         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23250
23251         [BZ #15022]
23252         * elf/dl-support.c (_dl_main_map): New variable.
23253         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23254         (_dl_nns, _dl_load_adds): Set to 1.
23255         (_dl_initial_searchlist): Refer to _dl_main_map.
23256         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23257         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23258         call to _dl_get_origin.
23259         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23260         around call_map.
23261         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23262         * dlfcn/modstatic3.c: New file.
23263         * dlfcn/tststatic3.c: New file.
23264         * dlfcn/tststatic4.c: New file.
23265         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23266         (tests-static): Likewise.
23267         (modules-names): Add modstatic3.
23268         (tststatic3-ENV, tststatic4-ENV): New variables.
23269         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23270         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23271
23272 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23273
23274         * configure.in (CC): Require GCC version 4.4 or later.
23275         * configure: Regenerated.
23276         * manual/install.texi (Tools for Compilation): Update GCC version
23277         requirement.
23278         * INSTALL: Regenerated.
23279
23280 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23281
23282         [BZ #15674]
23283         * string/test-memcmp.c (check2): New.
23284         (main): Call check2.
23285
23286         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23287
23288 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23289
23290         [BZ #15022]
23291         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23292         over to...
23293         (dl_open_worker) [!SHARED]: ... here.
23294
23295 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23296
23297         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23298
23299 2013-06-25  Richard Henderson  <rth@redhat.com>
23300
23301         * locale/programs/locarchive.c: Include <libc-internal.h>
23302
23303 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23304
23305         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23306         trailing whitespace removed.
23307
23308 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23309
23310         [BZ #10283]
23311         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23312         * locale/programs/locarchive.c: Include libc-mmap.h.
23313         (prepare_address_space): Take two new outputs (the mmap base and len).
23314         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23315         values.
23316         (create_archive): Declare new mmap base and len values for
23317         prepare_address_space, and store the result in ah.
23318         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23319         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23320         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23321         Declare new mmap base and len values for
23322         prepare_address_space, and store the result in new_ah.
23323         (open_archive): Declare new mmap base and len values for
23324         prepare_address_space, and store the result in ah.
23325         (close_archive): If ah->mmap_base is not NULL, use that and
23326         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23327         * sysdeps/generic/libc-mmap.h: New file.
23328
23329 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23330
23331         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23332         (ALIGN_UP): Likewise.
23333         (PTR_ALIGN_DOWN): Likewise.
23334         (PTR_ALIGN_UP): Likewise.
23335
23336 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23337
23338         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23339         entry mapped to PPC_PLATFORM_POWER8.
23340         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23341         POWER8.
23342         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23343         (_dl_string_platform): Add case for exporting platform position for
23344         POWER8.
23345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23346         search path to sysdeps/powerpc/powerpc32/power8 directory.
23347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23348         search path to sysdeps/powerpc/powerpc64/power8 directory.
23349         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23350         power7 directories.
23351         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23352         power7 directories.
23353
23354 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23355
23356         * INSTALL: Regenerate.
23357
23358         * nscd/connections.c (nscd_init): Fix comment.
23359
23360 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23361
23362         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23363
23364         [BZ #15667]
23365         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23366         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23367
23368 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23369
23370         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23371         DL_DST_REQ_STATIC.
23372         (DL_DST_REQ_STATIC): Remove macro.
23373
23374 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23375
23376         [BZ #7006]
23377         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23378         with a shift of 0 bits.
23379
23380 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23381
23382         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23383         $(tststatic-ENV).
23384
23385 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23386
23387         [BZ #15655]
23388         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23389
23390 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23391
23392         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23393         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23394         accepts -fno-tree-loop-distribute-patterns.
23395         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23396         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23397         recursive call.
23398         * string/memset.c (memset): Likewise.
23399         * string/test-memmove.c (simple_memmove): Disable loop transformation
23400         to library calls.
23401         * string/test-memset.c (simple_memset): Likewise.
23402         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23403         * benchtests/bench-memset.c (simple_memset): Likewise.
23404         * configure: Regenerated.
23405
23406 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23407
23408         * math/test-misc.c (main): Ignore fesetround failure when failures
23409         of subsequent rounding tests would be ignored.
23410
23411         [BZ #15654]
23412         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23413         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23414         * math/fegetenv.c (__fegetenv): Return 0.
23415         * math/fegetexcept.c (fegetexcept): Return 0.
23416         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23417         FE_TONEAREST.
23418         * math/feholdexcpt.c (feholdexcept): Return 0.
23419         * math/fesetenv.c (__fesetenv): Return 0.
23420         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23421         argument FE_TONEAREST.
23422         * math/feupdateenv.c (__feupdateenv): Return 0.
23423         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23424
23425 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23426
23427         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23428         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23429         ($(objpfx)rtld-%.os rules): Use them.
23430
23431 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23432
23433         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23434         fields.
23435
23436 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23437
23438         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23439         length of target pattern, then descending length of dependency pattern.
23440         * configure.in (AWK): Require gawk 3.1.2 or newer.
23441         * manual/install.texi (Tools for Compilation): Say that we do.
23442         * configure: Regenerated.
23443
23444         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23445         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23446         * scripts/sysd-rules.awk: ... this new script.
23447         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23448         than a glob-style pattern.
23449
23450 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23451
23452         * math/test-misc.c (main): Do not treat incorrectly rounded
23453         conversions as failure unless ROUNDING_TESTS passes.
23454
23455 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23456
23457         [BZ #15631]
23458         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23459         restore exception state around main square root computation, then
23460         check for inexactness explicitly.
23461
23462         * math/libm-test.inc (fma_test_data): Add another test.
23463
23464 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23465
23466         * manual/threads.texi (Non-POSIX Extensions): New document
23467         node.  Document pthread_getattr_default_np and
23468         pthread_setattr_default_np.
23469
23470         * Versions.def (libpthread): Add GLIBC_2.18.
23471         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23473         Likewise.
23474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23475         Likewise.
23476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23477         Likewise.
23478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23479         Likewise.
23480         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23481         Likewise.
23482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23483         Likewise.
23484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23485         Likewise.
23486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23487         Likewise.
23488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23489         Likewise.
23490
23491 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23492
23493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23494         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23495
23496 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23497             H.J. Lu  <hjl.tools@gmail.com>
23498
23499         [BZ #15627]
23500         * sysdeps/x86_64/rtld-memset.c: Remove file.
23501         * sysdeps/x86_64/rtld-memset.S: New file.
23502
23503 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23504
23505         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23506         (test_in_one_mode): Take arguments for whether the rounding mode
23507         is supported for each floating-point type.
23508         (do_test): Pass new arguments to test_in_one_mode using
23509         ROUNDING_TESTS.
23510
23511 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23512
23513         * posix/tst-waitid.c (do_test): Distinguish different instances of
23514         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23515         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23516         before entering the kernel for waitpid.
23517
23518 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23519
23520         * NEWS: Fix note on clock function precision.  Text by Roland
23521         McGrath.
23522
23523 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23524
23525         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23526         it into place only when and if the sanity check passes.
23527
23528 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23529
23530         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23531         output for whether conversion result is exact.  Take argument
23532         indicating whether type is IBM long double.
23533         (round_for_all): Change need_exact field to ibm_ld.
23534         * stdlib/tst-strtod-round.c (struct exactness): New type.
23535         (struct test): Change bool ld_ok field to struct exactness exact.
23536         (TEST): Update all definitions for change to field.
23537         (tests): Regenerate array contents.
23538         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23539         field value.  Check for IBM long double here.
23540         (do_test): Update calls to test_in_one_mode.
23541
23542 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23543
23544         [BZ #12515]
23545         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23546         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23547
23548 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23549
23550         [BZ #15605]
23551         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23552         generated by the compiler on loop optimizations.
23553         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23554         general definitions.
23555
23556 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23557
23558         * math/bug-nextafter.c: Include <math-tests.h>.
23559         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23560         the relevant type.
23561         * math/bug-nexttoward.c: Include <math-tests.h>.
23562         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23563         the relevant type.
23564         * math/test-misc.c: Include <math-tests.h>.
23565         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23566         the relevant type.
23567
23568 2013-06-12  Andreas Jaeger  <aj@suse.de>
23569
23570         * po/ia.po: Update Interlingua translation from translation
23571         project.
23572
23573 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23574
23575         * include/fenv.h: Include stdbool.h.
23576         (struct rm_ctx): New structure.
23577         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23578         Define macro.
23579         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23580         (SET_RESTORE_ROUNDF): Likewise.
23581         (SET_RESTORE_ROUNDL): Likewise.
23582         (SET_RESTORE_ROUND_NOEX): Likewise.
23583         (SET_RESTORE_ROUND_NOEXF): Likewise.
23584         (SET_RESTORE_ROUND_NOEXL): Likewise.
23585         (SET_RESTORE_ROUND_53BIT): Likewise.
23586         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23587         (libc_feresetround_noexf_ctx): Likewise.
23588         (libc_feresetround_noexl_ctx): Likewise.
23589         (libc_feholdsetround_53bit_ctx): Likewise.
23590         (libc_feresetround_53bit_ctx): Likewise.
23591         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23592         (libc_feholdexcept_setround_sse_ctx): New function.
23593         (libc_fesetenv_sse_ctx): Likewise.
23594         (libc_feupdateenv_sse_ctx): Likewise.
23595         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23596         (libc_feholdexcept_setround_387_ctx): Likewise.
23597         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23598         (libc_feholdsetround_387_prec_ctx): Likewise.
23599         (libc_feholdsetround_387_ctx): Likewise.
23600         (libc_feholdsetround_387_53bit_ctx): Likewise.
23601         (libc_feholdsetround_sse_ctx): Likewise.
23602         (libc_feresetround_sse_ctx): Likewise.
23603         (libc_feresetround_387_ctx): Likewise.
23604         (libc_feupdateenv_387_ctx): Likewise.
23605         (libc_feholdexcept_setroundf_ctx): Define macro.
23606         (libc_fesetenvf_ctx): Likewise.
23607         (libc_feupdateenvf_ctx): Likewise.
23608         (libc_feholdsetroundf_ctx): Likewise.
23609         (libc_feresetroundf_ctx): Likewise.
23610         (libc_feholdexcept_setround_ctx): Likewise.
23611         (libc_fesetenv_ctx): Likewise.
23612         (libc_feupdateenv_ctx): Likewise.
23613         (libc_feholdsetround_ctx): Likewise.
23614         (libc_feresetround_ctx): Likewise.
23615         (libc_feholdexcept_setroundl_ctx): Likewise.
23616         (libc_feupdateenvl_ctx): Likewise.
23617         (libc_feholdsetroundl_ctx): Likewise.
23618         (libc_feresetroundl_ctx): Likewise.
23619         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23620         (libc_feresetround_53bit_ctx): Likewise.
23621
23622 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23623
23624         * locale/iso-639.def: Convert to UTF-8.
23625
23626 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23627
23628         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23629         (EXCEPTION_TESTS_double): Likewise.
23630         (EXCEPTION_TESTS_long_double): Likewise.
23631         (EXCEPTION_TESTS): Likewise.
23632         * math/libm-test.inc (test_exceptions): Only test exceptions if
23633         EXCEPTION_TESTS (FLOAT).
23634
23635 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23636
23637         * benchtests/Makefile (string-bench): Add strcpy_chk and
23638         stpcpy_chk.
23639         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23640         * benchtests/bench-stpcpy_chk.c: New file.
23641         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23642         * benchtests/bench-strcpy_chk.c: New file.
23643         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23644         code.
23645         (do_test): Likewise.
23646
23647 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23648
23649         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23650         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23651         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23652         with tabs where appropriate.
23653         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23654         dl-procinfo.h.
23655         [PPC_PLATFORM_PPC440]: Likewise.
23656         [PPC_PLATFORM_PPC464]: Likewise.
23657         [PPC_PLATFORM_PPC476]: Likewise.
23658         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23659         ppc464, and ppc476 platform strings merging from ports/
23660         dl-procinfo.h.
23661
23662 2013-06-11  Andreas Schwab  <schwab@suse.de>
23663
23664         [BZ #14991]
23665         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23666         (from_ucs4_idx): Regenerate.
23667         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23668         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23669         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23670         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23671         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23672         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23673         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23674         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23675         from FROM_LOOP and TO_LOOP specific macros.
23676         (BODY): Handle combining characters.
23677         * iconvdata/BIG5HKSCS.irreversible: Update.
23678         * iconvdata/BIG5HKSCS.precomposed: New file.
23679         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23680         characters.
23681         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23682
23683 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23684
23685         * include/sys/time.h: Fix indentation and add copyright header.
23686
23687         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23688         (do_test): Likewise.
23689         * string/test-memchr.c (do_one_test): Likewise.
23690         (do_test): Likewise.
23691         * string/test-memcmp.c (do_one_test): Likewise.
23692         (do_test): Likewise.
23693         * string/test-memcpy.c (do_one_test): Likewise.
23694         (do_test): Likewise.
23695         * string/test-memmem.c (do_one_test): Likewise.
23696         (do_test): Likewise.
23697         (do_random_tests): Likewise.
23698         * string/test-memmove.c (do_one_test): Likewise.
23699         (do_test): Likewise.
23700         * string/test-memset.c (do_one_test): Likewise.
23701         (do_test): Likewise.
23702         * string/test-rawmemchr.c (do_one_test): Likewise.
23703         (do_test): Likewise.
23704         * string/test-strcasecmp.c (do_one_test): Likewise.
23705         (do_test): Likewise.
23706         * string/test-strcasestr.c (do_one_test): Likewise.
23707         (do_test): Likewise.
23708         * string/test-strcat.c (do_one_test): Likewise.
23709         (do_test): Likewise.
23710         * string/test-strchr.c (do_one_test): Likewise.
23711         (do_test): Likewise.
23712         * string/test-strcmp.c (do_one_test): Likewise.
23713         (do_test): Likewise.
23714         * string/test-strcpy.c (do_one_test): Likewise.
23715         (do_test): Likewise.
23716         * string/test-string.h: Likewise.
23717         (test_init): Likewise.
23718         * string/test-strlen.c (do_one_test): Likewise.
23719         (do_test): Likewise.
23720         * string/test-strncasecmp.c (do_one_test): Likewise.
23721         (do_test): Likewise.
23722         * string/test-strncat.c (do_one_test): Likewise.
23723         (do_test): Likewise.
23724         * string/test-strncmp.c (do_one_test): Likewise.
23725         (do_test_limit): Likewise.
23726         (do_test): Likewise.
23727         * string/test-strncpy.c (do_one_test): Likewise.
23728         (do_test): Likewise.
23729         * string/test-strnlen.c (do_one_test): Likewise.
23730         (do_test): Likewise.
23731         * string/test-strpbrk.c (do_one_test): Likewise.
23732         (do_test): Likewise.
23733         * string/test-strrchr.c (do_one_test): Likewise.
23734         (do_test): Likewise.
23735         * string/test-strspn.c (do_one_test): Likewise.
23736         (do_test): Likewise.
23737         * string/test-strstr.c (do_one_test): Likewise.
23738         (do_test): Likewise.
23739
23740         * benchtests/Makefile (string-bench): Add string benchmarks.
23741         * benchtests/bench-bcopy-ifunc.c: New file.
23742         * benchtests/bench-bcopy.c: New file.
23743         * benchtests/bench-bzero-ifunc.c: New file.
23744         * benchtests/bench-bzero.c: New file.
23745         * benchtests/bench-memccpy-ifunc.c: New file.
23746         * benchtests/bench-memccpy.c: New file.
23747         * benchtests/bench-memchr-ifunc.c: New file.
23748         * benchtests/bench-memchr.c: New file.
23749         * benchtests/bench-memcmp-ifunc.c: New file.
23750         * benchtests/bench-memcmp.c: New file.
23751         * benchtests/bench-memmem-ifunc.c: New file.
23752         * benchtests/bench-memmem.c: New file.
23753         * benchtests/bench-memmove-ifunc.c: New file.
23754         * benchtests/bench-memmove.c: New file.
23755         * benchtests/bench-mempcpy-ifunc.c: New file.
23756         * benchtests/bench-mempcpy.c: New file.
23757         * benchtests/bench-memset-ifunc.c: New file.
23758         * benchtests/bench-memset.c: New file.
23759         * benchtests/bench-rawmemchr-ifunc.c: New file.
23760         * benchtests/bench-rawmemchr.c: New file.
23761         * benchtests/bench-stpcpy-ifunc.c: New file.
23762         * benchtests/bench-stpcpy.c: New file.
23763         * benchtests/bench-stpncpy-ifunc.c: New file.
23764         * benchtests/bench-stpncpy.c: New file.
23765         * benchtests/bench-strcasecmp-ifunc.c: New file.
23766         * benchtests/bench-strcasecmp.c: New file.
23767         * benchtests/bench-strcasestr-ifunc.c: New file.
23768         * benchtests/bench-strcasestr.c: New file.
23769         * benchtests/bench-strcat-ifunc.c: New file.
23770         * benchtests/bench-strcat.c: New file.
23771         * benchtests/bench-strchr-ifunc.c: New file.
23772         * benchtests/bench-strchr.c: New file.
23773         * benchtests/bench-strchrnul-ifunc.c: New file.
23774         * benchtests/bench-strchrnul.c: New file.
23775         * benchtests/bench-strcmp-ifunc.c: New file.
23776         * benchtests/bench-strcmp.c: New file.
23777         * benchtests/bench-strcpy-ifunc.c: New file.
23778         * benchtests/bench-strcpy.c: New file.
23779         * benchtests/bench-strcspn-ifunc.c: New file.
23780         * benchtests/bench-strcspn.c: New file.
23781         * benchtests/bench-strlen-ifunc.c: New file.
23782         * benchtests/bench-strlen.c: New file.
23783         * benchtests/bench-strncasecmp-ifunc.c: New file.
23784         * benchtests/bench-strncasecmp.c: New file.
23785         * benchtests/bench-strncat-ifunc.c: New file.
23786         * benchtests/bench-strncat.c: New file.
23787         * benchtests/bench-strncmp-ifunc.c: New file.
23788         * benchtests/bench-strncmp.c: New file.
23789         * benchtests/bench-strncpy-ifunc.c: New file.
23790         * benchtests/bench-strncpy.c: New file.
23791         * benchtests/bench-strnlen-ifunc.c: New file.
23792         * benchtests/bench-strnlen.c: New file.
23793         * benchtests/bench-strpbrk-ifunc.c: New file.
23794         * benchtests/bench-strpbrk.c: New file.
23795         * benchtests/bench-strrchr-ifunc.c: New file.
23796         * benchtests/bench-strrchr.c: New file.
23797         * benchtests/bench-strspn-ifunc.c: New file.
23798         * benchtests/bench-strspn.c: New file.
23799         * benchtests/bench-strstr-ifunc.c: New file.
23800         * benchtests/bench-strstr.c: New file.
23801
23802         * benchtests/Makefile: Disable parallel execution of targets.
23803         (string-bench): Add memcpy.
23804         (benchset): New variable to store a list of benchmark sets.
23805         (bench-func): Renamed from bench.
23806         (bench-set): New target.
23807         (bench): Depend on bench-func and bench-set.
23808         * benchtests/README: Add section on benchmark sets.
23809         * benchtests/bench-memcpy-ifunc.c: New file.
23810         * benchtests/bench-memcpy.c: New file.
23811         * benchtests/bench-string.h: New file.
23812
23813 2013-06-11  Andreas Schwab  <schwab@suse.de>
23814
23815         [BZ #15577]
23816         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23817         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23818         values in the triple.
23819         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23820         terminator in the group key.
23821
23822 2013-06-11  Andreas Jaeger  <aj@suse.de>
23823
23824         * po/zh_TW.po: Update Chinese (traditional) translation from
23825         translation project.
23826
23827 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23828
23829         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23830         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23831         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23832         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23833         (clock_getcpuclockid): Likewise.
23834         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23835         Add weak_alias and libc_hidden_def.
23836         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23837         * rt/clock_gettime.c (clock_gettime): Rename to
23838         __clock_gettime.  Add weak_alias and libc_hidden_def.
23839         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23840         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23841         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23842         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23843         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23844         Likewise.
23845         * rt/clock_settime.c (clock_settime): Rename to
23846         __clock_settime.  Add weak_alias and libc_hidden_def.
23847         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23848
23849 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23850
23851         * mach/err_boot.sub: Remove trailing whitespace.
23852         * mach/err_ipc.sub: Likewise.
23853         * mach/err_mach.sub: Likewise.
23854
23855         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23856         (ROUNDING_TESTS_double): Likewise.
23857         (ROUNDING_TESTS_long_double): Likewise.
23858         (ROUNDING_TESTS): Likewise.
23859         * math/libm-test.inc: Include <math-tests.h>.
23860         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23861         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23862         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23863         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23864
23865 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23866
23867         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23868         of assigning.
23869
23870 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23871
23872         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23873         otherwise empty TRANS lines.
23874         * sysdeps/gnu/errlist.c: Regenerated.
23875
23876         * catgets/gencat.c (error_print): Use (void) in function
23877         definition.
23878         * crypt/crypt_util.c (__init_des): Likewise.
23879         * crypt/speeds.c (Stop): Likewise.
23880         (main): Likewise.
23881         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23882         * inet/ruserpass.c (token): Likewise.
23883         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23884         * intl/localealias.c (extend_alias_table): Likewise.
23885         * intl/plural-exp.c (init_germanic_plural): Likewise.
23886         * libio/fcloseall.c (__fcloseall): Likewise.
23887         * libio/genops.c (_IO_flush_all): Likewise.
23888         (_IO_flush_all_linebuffered): Likewise.
23889         (_IO_cleanup): Likewise.
23890         (_IO_iter_begin): Likewise.
23891         (_IO_iter_end): Likewise.
23892         (_IO_list_lock): Likewise.
23893         (_IO_list_unlock): Likewise.
23894         (_IO_list_resetlock): Likewise.
23895         * libio/getchar.c (getchar): Likewise.
23896         * libio/getchar_u.c (getchar_unlocked): Likewise.
23897         * libio/getwchar.c (getwchar): Likewise.
23898         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23899         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23900         * login/getpt.c (__getpt): Likewise.
23901         * login/tst-utmp.c (main): Likewise.
23902         * malloc/hooks.c (__malloc_check_init): Likewise.
23903         * malloc/malloc.c (__malloc_stats): Likewise.
23904         * malloc/mtrace.c (tr_break): Likewise.
23905         (mtrace): Likewise.
23906         (muntrace): Likewise.
23907         * misc/fstab.c (endfsent): Likewise.
23908         * misc/getclktck.c (__getclktck): Likewise.
23909         * misc/getdtsz.c (__getdtablesize): Likewise.
23910         * misc/gethostid.c (gethostid): Likewise.
23911         * misc/getpagesize.c (__getpagesize): Likewise.
23912         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23913         (__get_nprocs): Likewise.
23914         (__get_phys_pages): Likewise.
23915         (__get_avphys_pages): Likewise.
23916         * misc/getttyent.c (getttyent): Likewise.
23917         (setttyent): Likewise.
23918         (endttyent): Likewise.
23919         * misc/getusershell.c (getusershell): Likewise.
23920         (endusershell): Likewise.
23921         (setusershell): Likewise.
23922         (initshells): Likewise.
23923         * misc/hsearch.c (__hdestroy): Likewise.
23924         * misc/sync.c (sync): Likewise.
23925         * misc/syslog.c (closelog_internal): Likewise.
23926         (closelog): Likewise.
23927         * misc/ttyslot.c (ttyslot): Likewise.
23928         * misc/vhangup.c (vhangup): Likewise.
23929         * posix/fork.c (__fork): Likewise.
23930         * posix/getegid.c (__getegid): Likewise.
23931         * posix/geteuid.c (__geteuid): Likewise.
23932         * posix/getgid.c (__getgid): Likewise.
23933         * posix/getpid.c (__getpid): Likewise.
23934         * posix/getppid.c (__getppid): Likewise.
23935         * posix/getuid.c (__getuid): Likewise.
23936         * posix/pause.c (pause): Likewise.
23937         * posix/setpgrp.c (setpgrp): Likewise.
23938         * posix/setsid.c (__setsid): Likewise.
23939         * posix/test-vfork.c (noop): Likewise.
23940         * resolv/gethnamaddr.c (_endhtent): Likewise.
23941         (_gethtent): Likewise.
23942         (ht_endhostent): Likewise.
23943         (gethostent): Likewise.
23944         (dns_service): Likewise.
23945         * stdlib/drand48.c (drand48): Likewise.
23946         * stdlib/lrand48.c (lrand48): Likewise.
23947         * stdlib/mrand48.c (mrand48): Likewise.
23948         * stdlib/rand.c (rand): Likewise.
23949         * stdlib/random.c (__random): Likewise.
23950         * stdlib/setenv.c (clearenv): Likewise.
23951         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23952         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23953         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23954         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23955         (__get_nprocs): Likewise.
23956         (__get_phys_pages): Likewise.
23957         (__get_avphys_pages): Likewise.
23958         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23959         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23960         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23961         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23962         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23963         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23964         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23965         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23966         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23967         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23968         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23969         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23970         * sysdeps/posix/clock.c (clock): Likewise.
23971         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23972         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23973         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23974         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23975         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23976         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23977         (__get_nprocs_conf): Likewise.
23978         (__get_phys_pages): Likewise.
23979         (__get_avphys_pages): Likewise.
23980         * time/clock.c (clock): Likewise.
23981         * time/tzset.c (__tzname_max): Likewise.
23982
23983 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23984
23985         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23986         (__bswap_32): Do not use "register".
23987         * crypt/crypt.c (_ufc_doit_r): Likewise.
23988         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23989         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23990         * gmon/gmon.c (__monstartup): Likewise.
23991         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23992         * hurd/hurdmalloc.c (more_memory): Likewise.
23993         (malloc): Likewise.
23994         (free): Likewise.
23995         (realloc): Likewise.
23996         (malloc_fork_prepare): Likewise.
23997         (malloc_fork_parent): Likewise.
23998         (malloc_fork_child): Likewise.
23999         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24000         (_svcauth_des): Likewise.
24001         * inet/inet_lnaof.c (inet_lnaof): Likewise.
24002         * inet/inet_net.c (inet_network): Likewise.
24003         * inet/inet_netof.c (inet_netof): Likewise.
24004         * inet/rcmd.c (__validuser2_sa): Likewise.
24005         * io/fts.c (fts_open): Likewise.
24006         (fts_load): Likewise.
24007         (fts_close): Likewise.
24008         (fts_read): Likewise.
24009         (fts_children): Likewise.
24010         (fts_build): Likewise.
24011         (fts_stat): Likewise.
24012         (fts_sort): Likewise.
24013         (fts_alloc): Likewise.
24014         (fts_lfree): Likewise.
24015         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24016         (_IO_file_xsgetn): Likewise.
24017         (_IO_file_xsgetn_mmap): Likewise.
24018         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24019         (_IO_cookie_write): Likewise.
24020         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24021         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24022         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24023         * malloc/obstack.c (_obstack_begin): Likewise.
24024         (_obstack_begin_1): Likewise.
24025         (_obstack_newchunk): Likewise.
24026         (_obstack_allocated_p): Likewise.
24027         (obstack_free): Likewise.
24028         (_obstack_memory_used): Likewise.
24029         * misc/getttyent.c (getttynam): Likewise.
24030         (getttyent): Likewise.
24031         (skip): Likewise.
24032         (value): Likewise.
24033         * misc/getusershell.c (initshells): Likewise.
24034         * misc/syslog.c (__vsyslog_chk): Likewise.
24035         * misc/ttyslot.c (ttyslot): Likewise.
24036         * nis/nis_hash.c (__nis_hash): Likewise.
24037         * posix/fnmatch_loop.c (FCT): Likewise.
24038         * posix/getconf.c (print_all): Likewise.
24039         (main): Likewise.
24040         * posix/getopt.c (exchange): Likewise.
24041         * posix/glob.c (globfree): Likewise.
24042         (prefix_array): Likewise.
24043         (__glob_pattern_type): Likewise.
24044         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24045         (NS_GET32): Likewise.
24046         (NS_PUT16): Likewise.
24047         (NS_PUT32): Likewise.
24048         * resolv/gethnamaddr.c (getanswer): Likewise.
24049         (gethostbyname2): Likewise.
24050         (gethostbyaddr): Likewise.
24051         (_gethtent): Likewise.
24052         (_gethtbyname2): Likewise.
24053         (_gethtbyaddr): Likewise.
24054         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24055         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24056         * resolv/res_init.c (__res_vinit): Likewise.
24057         (net_mask): Likewise.
24058         * resolv/res_mkquery.c (outchar): Likewise.
24059         (PRINT): Likewise.
24060         * stdio-common/printf_fp.c (outchar): Likewise.
24061         (PRINT): Likewise.
24062         * stdio-common/printf_fphex.c (outchar): Likewise.
24063         (PRINT): Likewise.
24064         * stdio-common/printf_size.c (outchar): Likewise.
24065         (PRINT): Likewise.
24066         * stdio-common/test_rdwr.c (main): Likewise.
24067         * stdio-common/tfformat.c (matches): Likewise.
24068         * stdio-common/vfprintf.c (outchar): Likewise.
24069         (printf_unknown): Likewise.
24070         (buffered_vfprintf): Likewise.
24071         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24072         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24073         (ReadFile): Likewise.
24074         * stdlib/qsort.c (SWAP): Likewise.
24075         (_quicksort): Likewise.
24076         * stdlib/setenv.c (__add_to_environ): Likewise.
24077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24078         * stdlib/strtol_l.c (__strtol_l): Likewise.
24079         * stdlib/tst-strtod.c (main): Likewise.
24080         * stdlib/tst-strtol.c (main): Likewise.
24081         * stdlib/tst-strtoll.c (main): Likewise.
24082         * string/bits/string2.h (__strcmp_cc): Likewise.
24083         (__strcmp_cg): Likewise.
24084         (__strcspn_c1): Likewise.
24085         (__strcspn_c2): Likewise.
24086         (__strcspn_c3): Likewise.
24087         (__strspn_c1): Likewise.
24088         (__strspn_c2): Likewise.
24089         (__strspn_c3): Likewise.
24090         (__strsep_1c): Likewise.
24091         (__strsep_2c): Likewise.
24092         (__strsep_3c): Likewise.
24093         * string/memccpy.c (__memccpy): Likewise.
24094         * string/stpcpy.c (__stpcpy): Likewise.
24095         * string/strcmp.c (strcmp): Likewise.
24096         * string/strrchr.c (strrchr): Likewise.
24097         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24098         Likewise.
24099         * sysdeps/mach/hurd/getcwd.c
24100         (_hurd_canonicalize_directory_name_internal): Likewise.
24101         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24102         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24103         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24104         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24105         Likewise, in both definitions.
24106         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24107         definitions.
24108         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24109         64] (__bswap_64): Likewise.
24110         * time/test_time.c (main): Likewise.
24111         * time/tzfile.c (__tzfile_read): Likewise.
24112         (__tzfile_compute): Likewise.
24113         * time/tzset.c (__tzset_parse_tz): Likewise.
24114         (tzset_internal): Likewise.
24115         (compute_change): Likewise.
24116         * wcsmbs/wcscat.c (__wcscat): Likewise.
24117         * wcsmbs/wcschr.c (wcschr): Likewise.
24118         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24119         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24120         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24121         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24122         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24123         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24124         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24125         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24126         * wcsmbs/wmemset.c (wmemset): Likewise.
24127
24128 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24129
24130         * scripts/config.guess: Update to version 2013-05-16.
24131         * scripts/config.sub: Update to version 2013-04-24.
24132         * scripts/install-sh: Update to version 2011-11-20.07.
24133         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24134         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24135
24136 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24137
24138         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24139         * elf/sln.c: Likewise.
24140         * hurd/hurd/ioctl.h: Likewise.
24141         * hurd/hurdmalloc.c: Likewise.
24142         * hurd/xattr.c: Likewise.
24143         * include/shlib-compat.h: Likewise.
24144         * inet/ruserpass.c: Likewise.
24145         * libio/iofgets_u.c: Likewise.
24146         * libio/iofgetws_u.c: Likewise.
24147         * locale/programs/ld-identification.c: Likewise.
24148         * locale/programs/ld-time.c: Likewise.
24149         * mach/msg-destroy.c: Likewise.
24150         * nss/nss_files/files-netgrp.c: Likewise.
24151         * resolv/res_data.c: Likewise.
24152         * soft-fp/op-1.h: Likewise.
24153         * soft-fp/op-2.h: Likewise.
24154         * soft-fp/op-4.h: Likewise.
24155         * soft-fp/op-common.h: Likewise.
24156         * stdio-common/printf_fphex.c: Likewise.
24157         * stdlib/strtod_l.c: Likewise.
24158         * sunrpc/rpc/clnt.h: Likewise.
24159         * sysdeps/generic/framestate.c: Likewise.
24160         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24161         * sysdeps/i386/bsd-setjmp.S: Likewise.
24162         * sysdeps/i386/__longjmp.S: Likewise.
24163         * sysdeps/i386/setjmp.S: Likewise.
24164         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24165         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24166         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24167         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24169         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24170         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24173         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24174         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24175         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24176         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24177         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24178         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24179         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24180         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24181         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24182         * sysdeps/ieee754/support.c: Likewise.
24183         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24184         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24185         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24186         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24187         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24188         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24189         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24190         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24191         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24192         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24193         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24194         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24195         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24196         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24197         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24198         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24199         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24201
24202 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24203
24204         * posix/transbug.c: Remove executable mode.
24205
24206 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24207
24208         * crypt/speeds.c: Remove trailing whitespace.
24209         * dlfcn/default.c: Likewise.
24210         * elf/ifuncdep2.c: Likewise.
24211         * elf/ifuncmain1.c: Likewise.
24212         * elf/ifuncmain1vis.c: Likewise.
24213         * elf/testobj.h: Likewise.
24214         * elf/tst-stackguard1.c: Likewise.
24215         * gmon/sys/gmon.h: Likewise.
24216         * hurd/hurdmsg.c: Likewise.
24217         * hurd/new-fd.c: Likewise.
24218         * hurd/ports-get.c: Likewise.
24219         * iconvdata/ibm1008_420.c: Likewise.
24220         * inet/tst-getni1.c: Likewise.
24221         * inet/tst-getni2.c: Likewise.
24222         * libio/ioungetc.c: Likewise.
24223         * libio/wfiledoalloc.c: Likewise.
24224         * manual/libm-err-tab.pl: Likewise.
24225         * math/w_dremf.c: Likewise.
24226         * misc/ftruncate.c: Likewise.
24227         * posix/bug-glob2.c: Likewise.
24228         * posix/tst-pcre.c: Likewise.
24229         * posix/wait4.c: Likewise.
24230         * resolv/README: Likewise.
24231         * resolv/res_debug.h: Likewise.
24232         * resolv/tst-inet_ntop.c: Likewise.
24233         * setjmp/bug269-setjmp.c: Likewise.
24234         * soft-fp/extended.h: Likewise.
24235         * soft-fp/op-1.h: Likewise.
24236         * soft-fp/op-2.h: Likewise.
24237         * soft-fp/op-4.h: Likewise.
24238         * soft-fp/op-8.h: Likewise.
24239         * soft-fp/testit.c: Likewise.
24240         * stdio-common/bug16.c: Likewise.
24241         * stdlib/random.c: Likewise.
24242         * sunrpc/rpcsvc/rquota.x: Likewise.
24243         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24244         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24245         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24246         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24247         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24248         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24249         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24250         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24251         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24252         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24253         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24254         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24255         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24256         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24258         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24259         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24260         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24261         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24262         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24263         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24264         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24265         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24266         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24267         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24268         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24269         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24270         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24271         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24272         * sysdeps/ieee754/s_lib_version.c: Likewise.
24273         * sysdeps/mach/hurd/check_fds.c: Likewise.
24274         * sysdeps/mach/hurd/getsockname.c: Likewise.
24275         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24276         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24277         * sysdeps/powerpc/bits/link.h: Likewise.
24278         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24279         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24280         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24281         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24282         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24283         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24284         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24285         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24286         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24287         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24288         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24289         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24290         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24291         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24292         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24293         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24294         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24295         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24297         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24298         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24299         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24300         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24301         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24302         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24303         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24304         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24305         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24306         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24307         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24308         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24309         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24310         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24311         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24312         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24313         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24314         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24315         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24316         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24317         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24318         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24319         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24320         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24321         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24322         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24323         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24324         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24325         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24326         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24327         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24328         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24330         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24331         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24332         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24333         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24334         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24336         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24337         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24338         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24339         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24340         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24341         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24342         * sysdeps/powerpc/sysdep.h: Likewise.
24343         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24344         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24345         * sysdeps/sh/dl-trampoline.S: Likewise.
24346         * sysdeps/sh/memset.S: Likewise.
24347         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24348         * sysdeps/sh/strlen.S: Likewise.
24349         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24350         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24351         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24352         * sysdeps/sparc/sparc32/rem.S: Likewise.
24353         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24354         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24355         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24356         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24357         * sysdeps/sparc/sparc32/urem.S: Likewise.
24358         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24359         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24360         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24361         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24362         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24363         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24364         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24365         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24366         * sysdeps/unix/bsd/times.c: Likewise.
24367         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24368         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24372         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24373         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24374         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24375         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24376         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24377         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24378         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24379         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24380         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24381         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24382         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24383         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24384         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24385         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24386         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24387         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24388         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24389         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24390         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24391         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24392         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24393         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24394         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24395         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24396         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24397         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24398         * sysdeps/x86_64/strcspn.S: Likewise.
24399
24400 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24401
24402         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24403         generated file.  Regenerate properly from gen-translit.pl.
24404         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24405         locale/C-translit.h.
24406
24407 2013-06-05  Andreas Schwab  <schwab@suse.de>
24408
24409         [BZ #15100]
24410         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24411         week as 6 instead of -1.
24412         * time/tst-strptime.c (day_tests): Add test case.
24413
24414 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24415
24416         * sysdeps/generic/math_private.h
24417         (libc_feholdexcept_setround_53bit): Replace with
24418         libc_feholdsetround_53bit.
24419         (libc_feupdateenv_53bit): Replace with
24420         libc_feresetround_53bit.
24421         (SET_RESTORE_ROUND_53BIT): Adjust.
24422
24423 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24424
24425         * string/test-strchrnul.c: Add copyright header.
24426
24427         * posix/tst-getaddrinfo4.c: Increase test timeout.
24428
24429 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24430
24431         [BZ #15536]
24432         * math/libm-test.inc (MAX_EXP): Remove
24433         (MIN_EXP): Define.
24434         (ulp): Use MIN_EXP - MANT_DIG.
24435         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24436
24437 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24438
24439         * po/be.po: Revert last change.
24440         * po/zh_CN.po: Likewise.
24441         * po/header.pot: Likewise.
24442
24443 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24444
24445         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24446         link-libc-deps to empty as target-specific variable.
24447         * Makerules (link-libc-args): New variable.
24448         (libc-for-link): Likewise.
24449         (link-libc-deps): Likewise.
24450         (lib%.so): Depend on $(link-libc-deps).  Link with
24451         $(link-libc-args).
24452         (build-module): Link with $(link-libc-args).
24453         (build-module-asneeded): Likewise.
24454         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24455         list of objects.
24456         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24457         target-specific variable.
24458         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24459         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24460         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24461         libc.
24462         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24463         libc and ld.so.
24464         ($(objpfx)libpcprofile.so): Likewise.
24465         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24466         libc_nonshared.a.
24467         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24468         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24469         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24470         $(link-libc-deps).
24471         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24472         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24473         * login/Makefile ($(objpfx)libutil.so): Likewise.
24474         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24475         * math/Makefile ($(objpfx)libm.so): Likewise.
24476         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24477         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24478         variable instead of depending directly on libc.
24479         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24480         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24481         $(link-libc-deps).
24482         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24483         libc.
24484         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24485         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24486         ($(objpfx)libanl.so): Likewise.
24487         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24488         ld.so.
24489         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24490         $(link-libc-deps).
24491         * sysdeps/i386/fpu/Makefile: Remove file.
24492         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24493         ($(objpfx)libm.so): Remove dependency on ld.so.
24494
24495 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24496
24497         [BZ # 15553]
24498         * nis/yp_xdr.c (XDRMAXNAME): Define.
24499         (XDRMAXRECORD): Define.
24500         (xdr_domainname): Use XDRMAXNAME.
24501         (xdr_mapname): Likewise.
24502         (xdr_peername): Likewise.
24503         (xdr_keydat): Use XDRMAXRECORD.
24504         (xdr_valdat): Likewise.
24505
24506 2013-05-30  Jeff Law  <law@redhat.com>
24507
24508         [BZ #14256]
24509         * manual/errno.texi (ESTALE): Update to account for more than
24510         just NFS file systems.
24511         * sysdeps/gnu/errlist.c: Regenerated.
24512
24513 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24514
24515         [BZ #15465]
24516         * elf/Makefile (tests): Add tst-null-argv.
24517         (modules-names):  Add tst-null-argv-lib.
24518         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24519         (tst-null-argv-ENV): Set environment for tst-null-argv.
24520         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24521         (RTLD_PROGNAME): New macro.
24522         * elf/tst-null-argv.c: New test case.
24523         * elf/tst-null-argv-lib.c: Library for test case.
24524         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24525         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24526         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24527         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24528         * elf/dl-init.c (call_init): Likewise.
24529         (_dl_init): Likewise.
24530         * elf/dl-load.c (print_search_path): Likewise.
24531         (_dl_map_object): Likewise.
24532         * elf/dl-lookup.c (do_lookup_x): Likewise.
24533         (add_dependency): Likewise.
24534         (_dl_lookup_symbol_x): Likewise.
24535         (_dl_debug_bindings): Likewise.
24536         * elf/dl-open.c (_dl_show_scope): Likewise.
24537         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24538         * elf/dl-version.c (match_symbol): Likewise.
24539         (_dl_check_map_versions): Likewise.
24540         * elf/rtld.c (dl_main): Likewise.
24541         (print_unresolved): Use RTLD_PROGNAME.
24542         (print_missing_version): Likewise.
24543         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24544         (elf_machine_rela): Likewise.
24545         * sysdeps/powerpc/powerpc32/dl-machine.c
24546         (__process_machine_rela): Likewise.
24547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24548         Likewise.
24549         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24550         Likewise.
24551         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24552         Likewise.
24553         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24555         Likewise.
24556         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24557         Likewise.
24558         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24559
24560 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24561
24562         * po/be.po: Add descriptive title.
24563         * po/zh_CN.po: Likewise.
24564         * po/header.pot: Likewise.
24565
24566 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24567
24568         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24569         error message.
24570         (enlarge_archive): Likewise.
24571
24572 2013-05-28  Ben North  <ben@redfrontdoor.org>
24573
24574         * manual/arith.texi (frexp): It is the magnitude of the return
24575         value which lies in [0.5, 1), not the return value itself.
24576
24577 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24578
24579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24580
24581 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24582
24583         * stdio-common/bug26.c (main): Correct fscanf template.
24584
24585         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24586         declare _dl_skip_args.
24587
24588         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24589         Don't declare.
24590
24591         * manual/platform.texi: Add missing @end deftypefun.
24592
24593 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24594
24595         [BZ #15529]
24596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24597         bit of mantissa of 2^16382.
24598         * math/libm-test.inc (hypot_test_data): Add more tests.
24599
24600         * math/libm-test.inc: Add drem and pow10 to list of tested
24601         functions.
24602         (pow10_test): New function.
24603         (drem_test): Likewise.
24604         (drem_test_tonearest): Likewise.
24605         (drem_test_towardzero): Likewise.
24606         (drem_test_downward): Likewise.
24607         (drem_test_upward): Likewise.
24608         (main): Call the new functions.
24609
24610         * math/libm-test.inc (finite_test_data): Remove.
24611         (finite_test): Run tests from isfinite_test_data.
24612         (gamma_test_data): Remove.
24613         (gamma_test): Run tests from lgamma_test_data.
24614         * sysdeps/i386/fpu/libm-test-ulps: Update.
24615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24616
24617 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24618
24619         * manual/platform.texi: Add PowerPC PPR function set documentation.
24620         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24621         implementation.
24622
24623 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24624
24625         * math/libm-test.inc (MAX_EXP): Define.
24626         (ULPDIFF): Define.
24627         (ulp): New function.
24628         (check_float_internal): Use ULPDIFF.
24629         (cpow_test): Disable failing test.
24630         (check_ulp): Test ulp() implemetnation.
24631         (main): Call check_ulp before starting tests.
24632
24633 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24634
24635         * math/gen-libm-test.pl (generate_testfile): Do not handle
24636         START_DATA and END_DATA.
24637         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24638         END_DATA.
24639         (acos_tonearest_test_data): Likewise.
24640         (acos_towardzero_test_data): Likewise.
24641         (acos_downward_test_data): Likewise.
24642         (acos_upward_test_data): Likewise.
24643         (acosh_test_data): Likewise.
24644         (asin_test_data): Likewise.
24645         (asin_tonearest_test_data): Likewise.
24646         (asin_towardzero_test_data): Likewise.
24647         (asin_downward_test_data): Likewise.
24648         (asin_upward_test_data): Likewise.
24649         (asinh_test_data): Likewise.
24650         (atan_test_data): Likewise.
24651         (atanh_test_data): Likewise.
24652         (atan2_test_data): Likewise.
24653         (cabs_test_data): Likewise.
24654         (cacos_test_data): Likewise.
24655         (cacosh_test_data): Likewise.
24656         (carg_test_data): Likewise.
24657         (casin_test_data): Likewise.
24658         (casinh_test_data): Likewise.
24659         (catan_test_data): Likewise.
24660         (catanh_test_data): Likewise.
24661         (cbrt_test_data): Likewise.
24662         (ccos_test_data): Likewise.
24663         (ccosh_test_data): Likewise.
24664         (ceil_test_data): Likewise.
24665         (cexp_test_data): Likewise.
24666         (cimag_test_data): Likewise.
24667         (clog_test_data): Likewise.
24668         (clog10_test_data): Likewise.
24669         (conj_test_data): Likewise.
24670         (copysign_test_data): Likewise.
24671         (cos_test_data): Likewise.
24672         (cos_tonearest_test_data): Likewise.
24673         (cos_towardzero_test_data): Likewise.
24674         (cos_downward_test_data): Likewise.
24675         (cos_upward_test_data): Likewise.
24676         (cosh_test_data): Likewise.
24677         (cosh_tonearest_test_data): Likewise.
24678         (cosh_towardzero_test_data): Likewise.
24679         (cosh_downward_test_data): Likewise.
24680         (cosh_upward_test_data): Likewise.
24681         (cpow_test_data): Likewise.
24682         (cproj_test_data): Likewise.
24683         (creal_test_data): Likewise.
24684         (csin_test_data): Likewise.
24685         (csinh_test_data): Likewise.
24686         (csqrt_test_data): Likewise.
24687         (ctan_test_data): Likewise.
24688         (ctan_tonearest_test_data): Likewise.
24689         (ctan_towardzero_test_data): Likewise.
24690         (ctan_downward_test_data): Likewise.
24691         (ctan_upward_test_data): Likewise.
24692         (ctanh_test_data): Likewise.
24693         (ctanh_tonearest_test_data): Likewise.
24694         (ctanh_towardzero_test_data): Likewise.
24695         (ctanh_downward_test_data): Likewise.
24696         (ctanh_upward_test_data): Likewise.
24697         (erf_test_data): Likewise.
24698         (erfc_test_data): Likewise.
24699         (exp_test_data): Likewise.
24700         (exp_tonearest_test_data): Likewise.
24701         (exp_towardzero_test_data): Likewise.
24702         (exp_downward_test_data): Likewise.
24703         (exp_upward_test_data): Likewise.
24704         (exp10_test_data): Likewise.
24705         (exp2_test_data): Likewise.
24706         (expm1_test_data): Likewise.
24707         (fabs_test_data): Likewise.
24708         (fdim_test_data): Likewise.
24709         (finite_test_data): Likewise.
24710         (floor_test_data): Likewise.
24711         (fma_test_data): Likewise.
24712         (fma_towardzero_test_data): Likewise.
24713         (fma_downward_test_data): Likewise.
24714         (fma_upward_test_data): Likewise.
24715         (fmax_test_data): Likewise.
24716         (fmin_test_data): Likewise.
24717         (fmod_test_data): Likewise.
24718         (fpclassify_test_data): Likewise.
24719         (frexp_test_data): Likewise.
24720         (gamma_test_data): Likewise.
24721         (hypot_test_data): Likewise.
24722         (ilogb_test_data): Likewise.
24723         (isfinite_test_data): Likewise.
24724         (isgreater_test_data): Likewise.
24725         (isgreaterequal_test_data): Likewise.
24726         (isinf_test_data): Likewise.
24727         (isless_test_data): Likewise.
24728         (islessequal_test_data): Likewise.
24729         (islessgreater_test_data): Likewise.
24730         (isnan_test_data): Likewise.
24731         (isnormal_test_data): Likewise.
24732         (issignaling_test_data): Likewise.
24733         (isunordered_test_data): Likewise.
24734         (j0_test_data): Likewise.
24735         (j1_test_data): Likewise.
24736         (jn_test_data): Likewise.
24737         (ldexp_test_data): Likewise.
24738         (lgamma_test_data): Likewise.
24739         (lrint_test_data): Likewise.
24740         (lrint_tonearest_test_data): Likewise.
24741         (lrint_towardzero_test_data): Likewise.
24742         (lrint_downward_test_data): Likewise.
24743         (lrint_upward_test_data): Likewise.
24744         (llrint_test_data): Likewise.
24745         (llrint_tonearest_test_data): Likewise.
24746         (llrint_towardzero_test_data): Likewise.
24747         (llrint_downward_test_data): Likewise.
24748         (llrint_upward_test_data): Likewise.
24749         (log_test_data): Likewise.
24750         (log10_test_data): Likewise.
24751         (log1p_test_data): Likewise.
24752         (log2_test_data): Likewise.
24753         (logb_test_data): Likewise.
24754         (logb_downward_test_data): Likewise.
24755         (lround_test_data): Likewise.
24756         (llround_test_data): Likewise.
24757         (modf_test_data): Likewise.
24758         (nearbyint_test_data): Likewise.
24759         (nextafter_test_data): Likewise.
24760         (nexttoward_test_data): Likewise.
24761         (pow_test_data): Likewise.
24762         (pow_tonearest_test_data): Likewise.
24763         (pow_towardzero_test_data): Likewise.
24764         (pow_downward_test_data): Likewise.
24765         (pow_upward_test_data): Likewise.
24766         (remainder_test_data): Likewise.
24767         (remainder_tonearest_test_data): Likewise.
24768         (remainder_towardzero_test_data): Likewise.
24769         (remainder_downward_test_data): Likewise.
24770         (remainder_upward_test_data): Likewise.
24771         (remquo_test_data): Likewise.
24772         (rint_test_data): Likewise.
24773         (rint_tonearest_test_data): Likewise.
24774         (rint_towardzero_test_data): Likewise.
24775         (rint_downward_test_data): Likewise.
24776         (rint_upward_test_data): Likewise.
24777         (round_test_data): Likewise.
24778         (scalb_test_data): Likewise.
24779         (scalbn_test_data): Likewise.
24780         (scalbln_test_data): Likewise.
24781         (signbit_test_data): Likewise.
24782         (sin_test_data): Likewise.
24783         (sin_tonearest_test_data): Likewise.
24784         (sin_towardzero_test_data): Likewise.
24785         (sin_downward_test_data): Likewise.
24786         (sin_upward_test_data): Likewise.
24787         (sincos_test_data): Likewise.
24788         (sinh_test_data): Likewise.
24789         (sinh_tonearest_test_data): Likewise.
24790         (sinh_towardzero_test_data): Likewise.
24791         (sinh_downward_test_data): Likewise.
24792         (sinh_upward_test_data): Likewise.
24793         (sqrt_test_data): Likewise.
24794         (tan_test_data): Likewise.
24795         (tan_tonearest_test_data): Likewise.
24796         (tan_towardzero_test_data): Likewise.
24797         (tan_downward_test_data): Likewise.
24798         (tan_upward_test_data): Likewise.
24799         (tanh_test_data): Likewise.
24800         (tgamma_test_data): Likewise.
24801         (trunc_test_data): Likewise.
24802         (y0_test_data): Likewise.
24803         (y1_test_data): Likewise.
24804         (yn_test_data): Likewise.
24805         (significand_test_data): Likewise.
24806
24807         * math/gen-libm-test.pl (@functions): Remove variable.
24808         (generate_testfile): Don't handle START and END lines.
24809         * math/libm-test.inc (START): New macro.
24810         (END): Likewise.
24811         (END_COMPLEX): Likewise.
24812         (acos_test): Use END macro without arguments.
24813         (acos_test_tonearest): Likewise.
24814         (acos_test_towardzero): Likewise.
24815         (acos_test_downward): Likewise.
24816         (acos_test_upward): Likewise.
24817         (acosh_test): Likewise.
24818         (asin_test): Likewise.
24819         (asin_test_tonearest): Likewise.
24820         (asin_test_towardzero): Likewise.
24821         (asin_test_downward): Likewise.
24822         (asin_test_upward): Likewise.
24823         (asinh_test): Likewise.
24824         (atan_test): Likewise.
24825         (atanh_test): Likewise.
24826         (atan2_test): Likewise.
24827         (cabs_test): Likewise.
24828         (cacos_test): Use END_COMPLEX macro without arguments.
24829         (cacosh_test): Likewise.
24830         (carg_test): Use END macro without arguments.
24831         (casin_test): Use END_COMPLEX macro without arguments.
24832         (casinh_test): Likewise.
24833         (catan_test): Likewise.
24834         (catanh_test): Likewise.
24835         (cbrt_test): Use END macro without arguments.
24836         (ccos_test): Use END_COMPLEX macro without arguments.
24837         (ccosh_test): Likewise.
24838         (ceil_test): Use END macro without arguments.
24839         (cexp_test): Use END_COMPLEX macro without arguments.
24840         (cimag_test): Use END macro without arguments.
24841         (clog_test): Use END_COMPLEX macro without arguments.
24842         (clog10_test): Likewise.
24843         (conj_test): Likewise.
24844         (copysign_test): Use END macro without arguments.
24845         (cos_test): Likewise.
24846         (cos_test_tonearest): Likewise.
24847         (cos_test_towardzero): Likewise.
24848         (cos_test_downward): Likewise.
24849         (cos_test_upward): Likewise.
24850         (cosh_test): Likewise.
24851         (cosh_test_tonearest): Likewise.
24852         (cosh_test_towardzero): Likewise.
24853         (cosh_test_downward): Likewise.
24854         (cosh_test_upward): Likewise.
24855         (cpow_test): Use END_COMPLEX macro without arguments.
24856         (cproj_test): Likewise.
24857         (creal_test): Use END macro without arguments.
24858         (csin_test): Use END_COMPLEX macro without arguments.
24859         (csinh_test): Likewise.
24860         (csqrt_test): Likewise.
24861         (ctan_test): Likewise.
24862         (ctan_test_tonearest): Likewise.
24863         (ctan_test_towardzero): Likewise.
24864         (ctan_test_downward): Likewise.
24865         (ctan_test_upward): Likewise.
24866         (ctanh_test): Likewise.
24867         (ctanh_test_tonearest): Likewise.
24868         (ctanh_test_towardzero): Likewise.
24869         (ctanh_test_downward): Likewise.
24870         (ctanh_test_upward): Likewise.
24871         (erf_test): Use END macro without arguments.
24872         (erfc_test): Likewise.
24873         (exp_test): Likewise.
24874         (exp_test_tonearest): Likewise.
24875         (exp_test_towardzero): Likewise.
24876         (exp_test_downward): Likewise.
24877         (exp_test_upward): Likewise.
24878         (exp10_test): Likewise.
24879         (exp2_test): Likewise.
24880         (expm1_test): Likewise.
24881         (fabs_test): Likewise.
24882         (fdim_test): Likewise.
24883         (finite_test): Likewise.
24884         (floor_test): Likewise.
24885         (fma_test): Likewise.
24886         (fma_test_towardzero): Likewise.
24887         (fma_test_downward): Likewise.
24888         (fma_test_upward): Likewise.
24889         (fmax_test): Likewise.
24890         (fmin_test): Likewise.
24891         (fmod_test): Likewise.
24892         (fpclassify_test): Likewise.
24893         (frexp_test): Likewise.
24894         (gamma_test): Likewise.
24895         (hypot_test): Likewise.
24896         (ilogb_test): Likewise.
24897         (isfinite_test): Likewise.
24898         (isgreater_test): Likewise.
24899         (isgreaterequal_test): Likewise.
24900         (isinf_test): Likewise.
24901         (isless_test): Likewise.
24902         (islessequal_test): Likewise.
24903         (islessgreater_test): Likewise.
24904         (isnan_test): Likewise.
24905         (isnormal_test): Likewise.
24906         (issignaling_test): Likewise.
24907         (isunordered_test): Likewise.
24908         (j0_test): Likewise.
24909         (j1_test): Likewise.
24910         (jn_test): Likewise.
24911         (ldexp_test): Likewise.
24912         (lgamma_test): Likewise.
24913         (lrint_test): Likewise.
24914         (lrint_test_tonearest): Likewise.
24915         (lrint_test_towardzero): Likewise.
24916         (lrint_test_downward): Likewise.
24917         (lrint_test_upward): Likewise.
24918         (llrint_test): Likewise.
24919         (llrint_test_tonearest): Likewise.
24920         (llrint_test_towardzero): Likewise.
24921         (llrint_test_downward): Likewise.
24922         (llrint_test_upward): Likewise.
24923         (log_test): Likewise.
24924         (log10_test): Likewise.
24925         (log1p_test): Likewise.
24926         (log2_test): Likewise.
24927         (logb_test): Likewise.
24928         (logb_test_downward): Likewise.
24929         (lround_test): Likewise.
24930         (llround_test): Likewise.
24931         (modf_test): Likewise.
24932         (nearbyint_test): Likewise.
24933         (nextafter_test): Likewise.
24934         (nexttoward_test): Likewise.
24935         (pow_test): Likewise.
24936         (pow_test_tonearest): Likewise.
24937         (pow_test_towardzero): Likewise.
24938         (pow_test_downward): Likewise.
24939         (pow_test_upward): Likewise.
24940         (remainder_test): Likewise.
24941         (remainder_test_tonearest): Likewise.
24942         (remainder_test_towardzero): Likewise.
24943         (remainder_test_downward): Likewise.
24944         (remainder_test_upward): Likewise.
24945         (remquo_test): Likewise.
24946         (rint_test): Likewise.
24947         (rint_test_tonearest): Likewise.
24948         (rint_test_towardzero): Likewise.
24949         (rint_test_downward): Likewise.
24950         (rint_test_upward): Likewise.
24951         (round_test): Likewise.
24952         (scalb_test): Likewise.
24953         (scalbn_test): Likewise.
24954         (scalbln_test): Likewise.
24955         (signbit_test): Likewise.
24956         (sin_test): Likewise.
24957         (sin_test_tonearest): Likewise.
24958         (sin_test_towardzero): Likewise.
24959         (sin_test_downward): Likewise.
24960         (sin_test_upward): Likewise.
24961         (sincos_test): Likewise.
24962         (sinh_test): Likewise.
24963         (sinh_test_tonearest): Likewise.
24964         (sinh_test_towardzero): Likewise.
24965         (sinh_test_downward): Likewise.
24966         (sinh_test_upward): Likewise.
24967         (sqrt_test): Likewise.
24968         (tan_test): Likewise.
24969         (tan_test_tonearest): Likewise.
24970         (tan_test_towardzero): Likewise.
24971         (tan_test_downward): Likewise.
24972         (tan_test_upward): Likewise.
24973         (tanh_test): Likewise.
24974         (tgamma_test): Likewise.
24975         (trunc_test): Likewise.
24976         (y0_test): Likewise.
24977         (y1_test): Likewise.
24978         (yn_test): Likewise.
24979         (significand_test): Likewise.
24980
24981 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24982
24983         [BZ #15381]
24984         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24985
24986 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24987
24988         [BZ #14894]
24989         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24990         __ppc_mdoio and __ppc_mdoom.
24991         * manual/platform.texi: Document new functions __ppc_yield,
24992         __ppc_mdoio and __ppc_mdoom.
24993
24994 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24995
24996         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24997         (main): Mention "tls" pseudo-hwcap is legacy.
24998         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24999
25000 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25001
25002         * math/gen-libm-test.pl (parse_args): Output only string of
25003         arguments as text for test name, not full call or descriptions of
25004         tests for extra outputs.
25005         (generate_testfile): Do not pass function name to parse_args.
25006         Generate this_func variable from START.
25007         * math/libm-test.inc (struct test_f_f_data): Rename test_name
25008         field to arg_str.
25009         (struct test_ff_f_data): Likewise.
25010         (test_ff_f_data_nexttoward): Likewise.
25011         (struct test_fi_f_data): Likewise.
25012         (struct test_fl_f_data): Likewise.
25013         (struct test_if_f_data): Likewise.
25014         (struct test_fff_f_data): Likewise.
25015         (struct test_c_f_data): Likewise.
25016         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25017         (struct test_fF_f1_data): Likewise.
25018         (struct test_ffI_f1_data): Likewise.
25019         (struct test_c_c_data): Rename test_name field to arg_str.
25020         (struct test_cc_c_data): Likewise.
25021         (struct test_f_i_data): Likewise.
25022         (struct test_ff_i_data): Likewise.
25023         (struct test_f_l_data): Likewise.
25024         (struct test_f_L_data): Likewise.
25025         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25026         and extra2_name.
25027         (COMMON_TEST_SETUP): New macro.
25028         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25029         (COMMON_TEST_CLEANUP): Likewise.
25030         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25031         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25032         macros.
25033         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25034         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25035         macros.
25036         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25037         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25038         cleanup macros.
25039         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25040         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25041         macros.
25042         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25043         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25044         macros.
25045         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25046         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25047         cleanup macros.
25048         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25049         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25050         cleanup macros.
25051         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25052         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25053         cleanup macros.
25054         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25055         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25056         macros.
25057         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25058         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25059         macros.
25060         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25061         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25062         macros.
25063         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25064         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25065         cleanup macros.
25066         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25067         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25068         cleanup macros.
25069         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25070         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25071         macros.
25072         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25073         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25074         cleanup macros.
25075         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25076         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25077         macros.
25078         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25079         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25080         macros.
25081         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25082         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25083         cleanup macros.
25084         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25085
25086 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25087
25088         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25089         to _sifields.sigfault.
25090         (si_addr_lsb): Define new macro.
25091         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25092         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25093         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25094
25095 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25096
25097         [BZ #15441]
25098         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25099         returns -1.
25100         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25101         null return -1.
25102         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25103         loading the domain.
25104
25105 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25106
25107         * math/gen-libm-test.pl (parse_args): Do not include expected
25108         result in test name.
25109         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25110         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25111         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25112         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25113         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25115
25116 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25117
25118         * benchtests/Makefile: Sort function entries.
25119
25120         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25121         tanh, asinh, acosh, atanh.
25122         * benchtests/acos-inputs: New file.
25123         * benchtests/acosh-inputs: New file.
25124         * benchtests/asin-inputs: New file.
25125         * benchtests/asinh-inputs: New file.
25126         * benchtests/atanh-inputs: New file.
25127         * benchtests/cosh-inputs: New file.
25128         * benchtests/log-inputs: New file.
25129         * benchtests/sinh-inputs: New file.
25130         * benchtests/tanh-inputs: New file.
25131
25132 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25133
25134         [BZ #15339]
25135         * posix/tst-getaddrinfo4.c: New test.
25136         * posix/Makefile (tests): Add it.
25137
25138 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25139
25140         [BZ #15339]
25141         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25142         when no services were used.
25143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25144         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25145
25146 2013-05-21  Andreas Schwab  <schwab@suse.de>
25147
25148         [BZ #15014]
25149         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25150         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25151         successful.
25152         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25153         redundant variable declarations and reallocation of buffer when
25154         parsing as IPv6 address.  Always set NSS status when called from
25155         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25156         buffer too small.  Correct computation of needed size.
25157         * nss/Makefile (tests): Add test-digits-dots.
25158         * nss/test-digits-dots.c: New test.
25159
25160 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25161
25162         * benchtests/Makefile: Remove instructions for adding
25163         benchmark tests.
25164         * benchtests/README: New file to explain how to execute and
25165         enhance the benchmark tests.
25166
25167 2013-05-21  Andreas Schwab  <schwab@suse.de>
25168
25169         [BZ #15493]
25170         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25171         * setjmp/tst-sigsetjmp.c: New test.
25172
25173 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25174
25175         * sysdeps/x86_64/memset.S (memset): New implementation.
25176         (__bzero): Likewise.
25177         (__memset_tail): New function.
25178
25179 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25180
25181         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25182         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25183         __memcpy_sse2_unaligned ifunc selection.
25184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25185         Add memcpy-sse2-unaligned.S.
25186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25187         Add: __memcpy_sse2_unaligned.
25188
25189 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25190
25191         [BZ #15490]
25192         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25193         math_force_eval before restoring floating-point envrionment.
25194         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25195         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25196         Likewise.
25197         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25198         <math_private.h>.
25199         (__nearbyintl): Use math_force_eval before restoring
25200         floating-point environment.
25201         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25202
25203         * math/gen-libm-test.pl (special_functions): Remove.
25204         (parse_args): Don't handle TEST_extra.  Handle functions with no
25205         return value.
25206         * math/libm-test.inc (struct test_sincos_data): Replace with
25207         struct test_fFF_11_data.
25208         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25209         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25210         (sincos_test_data): Change element type to struct
25211         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25212         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25213         RUN_TEST_LOOP_sincos.
25214         * math/README.libm-test: Don't mention special handling of
25215         individual functions.
25216         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25217         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25218         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25219         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25220         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25222
25223         * math/gen-libm-test.pl (get_variable): Remove function.
25224         (parse_args): Don't show pointer parameters to call in test
25225         names.  Use "extra output N" in test names for extra outputs
25226         rather than naming variables.
25227
25228 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25229
25230         [BZ #15488]
25231         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25232         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25233         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25234         double tests.
25235         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25236         disable.
25237         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25238         check_long_double.
25239
25240         * math/gen-libm-test.pl (@tests): Remove variable.
25241         ($count): Likewise.
25242         (new_test): Remove function.
25243         (show_exceptions): New function.
25244         (special_functions): Use show_exceptions instead of new_test.
25245         (parse_args): Likewise.
25246         (generate_testfile): Pass only function name in generated call to
25247         print_max_error or print_complex_max_error.
25248         (get_ulps): Do not handle complex tests specially.
25249         (output_test): Rename to ...
25250         (get_all_ulps_for_test): ... this.  Return a string rather than
25251         printing to a file.  Require ulps to be present.
25252         (output_ulps): Generate arrays rather than #defines.
25253         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25254         (struct ulp_data): New type.
25255         (BUILD_COMPLEX_ULP): Remove macro.
25256         (compare_ulp_data): New function.
25257         (find_ulps): Likewise.
25258         (find_test_ulps): Likewise.
25259         (find_function_ulps): Likewise.
25260         (find_complex_function_ulps): Likewise.
25261         (print_max_error): Determine allowed ulps using
25262         find_function_ulps.
25263         (print_complex_max_error): Determine allowed ulps using
25264         find_complex_function_ulps.
25265         (check_float_internal): Determine max ulps using find_test_ulps.
25266         (check_float): Do not take max_ulp parameter.  Update call to
25267         check_float_internal.
25268         (check_complex): Likewise.
25269         (check_int): Do not take max_ulp parameter.
25270         (check_long): Likewise.
25271         (check_bool): Likewise.
25272         (check_longlong): Likewise.
25273         (struct test_f_f_data): Remove max_ulp field.
25274         (struct test_ff_f_data): Likewise.
25275         (struct test_ff_f_data_nexttoward): Likewise.
25276         (struct test_fi_f_data): Likewise.
25277         (struct test_fl_f_data): Likewise.
25278         (struct test_if_f_data): Likewise.
25279         (struct test_fff_f_data): Likewise.
25280         (struct test_c_f_data): Likewise.
25281         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25282         (struct test_fF_f1_data): Likewise.
25283         (struct test_ffI_f1_data): Likewise.
25284         (struct test_c_c_data): Remove max_ulp field.
25285         (struct test_cc_c_data): Likewise.
25286         (struct test_f_i_data): Likewise.
25287         (struct test_ff_i_data): Likewise.
25288         (struct test_f_l_data): Likewise.
25289         (struct test_f_L_data): Likewise.
25290         (struct test_sincos_data): Likewise.
25291         (RUN_TEST_f_f): Do not handle ulps.
25292         (RUN_TEST_LOOP_f_f): Likewise.
25293         (RUN_TEST_2_f): Likewise.
25294         (RUN_TEST_LOOP_2_f): Likewise.
25295         (RUN_TEST_fff_f): Likewise.
25296         (RUN_TEST_LOOP_fff_f): Likewise.
25297         (RUN_TEST_c_f): Likewise.
25298         (RUN_TEST_LOOP_c_f): Likewise.
25299         (RUN_TEST_f_f1): Likewise.
25300         (RUN_TEST_LOOP_f_f1): Likewise.
25301         (RUN_TEST_fF_f1): Likewise.
25302         (RUN_TEST_LOOP_fF_f1): Likewise.
25303         (RUN_TEST_fI_f1): Likewise.
25304         (RUN_TEST_LOOP_fI_f1): Likewise.
25305         (RUN_TEST_ffI_f1): Likewise.
25306         (RUN_TEST_LOOP_ffI_f1): Likewise.
25307         (RUN_TEST_c_c): Likewise.
25308         (RUN_TEST_LOOP_c_c): Likewise.
25309         (RUN_TEST_cc_c): Likewise.
25310         (RUN_TEST_LOOP_cc_c): Likewise.
25311         (RUN_TEST_f_i): Likewise.
25312         (RUN_TEST_LOOP_f_i): Likewise.
25313         (RUN_TEST_f_i_tg): Likewise.
25314         (RUN_TEST_LOOP_f_i_tg): Likewise.
25315         (RUN_TEST_ff_i_tg): Likewise.
25316         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25317         (RUN_TEST_f_b): Likewise.
25318         (RUN_TEST_LOOP_f_b): Likewise.
25319         (RUN_TEST_f_b_tg): Likewise.
25320         (RUN_TEST_LOOP_f_b_tg): Likewise.
25321         (RUN_TEST_f_l): Likewise.
25322         (RUN_TEST_LOOP_f_l): Likewise.
25323         (RUN_TEST_f_L): Likewise.
25324         (RUN_TEST_LOOP_f_L): Likewise.
25325         (RUN_TEST_sincos): Likewise.
25326         (RUN_TEST_LOOP_sincos): Likewise.
25327
25328 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25329
25330         [BZ #15480]
25331         [BZ #15485]
25332         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25333         main case of finite arguments, set rounding mode to FE_TONEAREST
25334         and discard exceptions.
25335         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25336         exceptions.
25337         (remainder_tonearest_test_data): New variable.
25338         (remainder_test_tonearest): New function.
25339         (remainder_towardzero_test_data): New variable.
25340         (remainder_test_towardzero): New function.
25341         (remainder_downward_test_data): New variable.
25342         (remainder_test_downward): New function.
25343         (remainder_upward_test_data): New variable.
25344         (remainder_test_upward): New function.
25345         (main): Call the new test functions.
25346
25347         * math/libm-test.inc (struct test_f_f1_data): Remove field
25348         extra_init.
25349         (struct test_fF_f1_data): Likewise.
25350         (struct test_ffI_f1_data): Likewise.
25351         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25352         based on value of EXTRA_EXPECTED.
25353         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25354         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25355         EXTRA_VAR based on value of EXTRA_EXPECTED.
25356         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25357         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25358         EXTRA_VAR based on value of EXTRA_EXPECTED.
25359         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25360         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25361         EXTRA_VAR based on value of EXTRA_EXPECTED.
25362         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25363         * math/gen-libm-test.pl (parse_args): Don't output initializers
25364         for extra output values.
25365
25366         * math/libm-test.inc (check_int): Expect result to be exactly
25367         equal to expected value and do not handle ulps.
25368         (check_long): Likewise.
25369         (check_longlong): Likewise.
25370
25371         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25372         exceptions.
25373         (cimag_test_data): Likewise.
25374         (conj_test_data): Likewise.
25375         (copysign_test_data): Likewise.
25376         (cproj_test_data): Likewise.
25377         (creal_test_data): Likewise.
25378         (fabs_test_data): Likewise.
25379         (fdim_test_data): Likewise.
25380         (finite_test_data): Likewise.
25381         (floor_test_data): Likewise.
25382         (fmax_test_data): Likewise.
25383         (fmin_test_data): Likewise.
25384         (fmod_test_data): Likewise.
25385         (fpclassify_test_data): Likewise.
25386         (frexp_test_data): Likewise.
25387         (ilogb_test_data): Likewise.
25388         (isfinite_test_data): Likewise.
25389         (isgreater_test_data): Likewise.
25390         (isgreaterequal_test_data): Likewise.
25391         (isinf_test_data): Likewise.
25392         (isless_test_data): Likewise.
25393         (islessequal_test_data): Likewise.
25394         (islessgreater_test_data): Likewise.
25395         (isnan_test_data): Likewise.
25396         (isnormal_test_data): Likewise.
25397         (issignaling_test_data): Likewise.
25398         (isunordered_test_data): Likewise.
25399         (ldexp_test_data): Likewise.
25400         (lrint_test_data): Likewise.
25401         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25402         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25403         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25404         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25405         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25406         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25407         test input.
25408         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25409         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25410         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25411         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25412         that test input.
25413         (lrint_downward_test_data): Test for "inexact" exceptions.
25414         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25415         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25416         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25417         test input.
25418         (lrint_upward_test_data): Test for "inexact" exceptions.
25419         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25420         test input.
25421         (llrint_test_data): Test for "inexact" exceptions.
25422         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25423         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25424         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25425         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25426         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25427         (llrint_downward_test_data): Test for "inexact" exceptions.
25428         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25429         (llrint_upward_test_data): Test for "inexact" exceptions.
25430         (logb_test_data): Likewise.
25431         (logb_downward_test_data): Likewise.
25432         (nextafter_test_data): Likewise.
25433         (nexttoward_test_data): Likewise.
25434         (remainder_test_data): Likewise.
25435         (remquo_test_data): Likewise.
25436         (scalbn_test_data): Likewise.
25437         (scalbln_test_data): Likewise.
25438         (signbit_test_data): Likewise.
25439         (sqrt_test_data): Likewise.
25440         (significand_test_data): Likewise.
25441
25442 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25443
25444         [BZ #15424]
25445         * benchtests/bench-modf.c (struct args): Mark arg0 as
25446         volatile.
25447         * scripts/bench.pl: Mark members of struct args as volatile.
25448
25449 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25450
25451         [BZ # 15497]
25452         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25453         negative infinity on POWER6 or lower.
25454         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25455
25456 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25457
25458         [BZ #15442]
25459         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25460         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25461         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25462         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25463         (_FP_SETQNAN): New macro.
25464         (_FP_SETQNAN_SEMIRAW): Likewise.
25465         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25466         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25467         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25468         (FP_EXTEND): Use _FP_FRAC_SNANP.
25469         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25470         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25471         into account.
25472         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25473         New macro.
25474         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25475         Likewise.
25476
25477 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25478
25479         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25480         with DIVIDE_BY_ZERO_EXCEPTION.
25481         (gamma_test_data): Likewise.
25482         (lgamma_test_data): Likewise.
25483         (log_test_data): Likewise.
25484         (log10_test_data): Likewise.
25485         (log2_test_data): Likewise.
25486         (tgamma_test_data): Likewise.
25487
25488         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25489         (acos_test_tonearest): Likewise.
25490         (acos_test_towardzero): Likewise.
25491         (acos_test_downward): Likewise.
25492         (acos_test_upward): Likewise.
25493         (acosh_test): Likewise.
25494         (asin_test): Likewise.
25495         (asin_test_tonearest): Likewise.
25496         (asin_test_towardzero): Likewise.
25497         (asin_test_downward): Likewise.
25498         (asin_test_upward): Likewise.
25499         (asinh_test): Likewise.
25500         (atan_test): Likewise.
25501         (atanh_test): Likewise.
25502         (atan2_test): Likewise.
25503         (cabs_test): Likewise.
25504         (cacos_test): Likewise.
25505         (cacosh_test): Likewise.
25506         (casin_test): Likewise.
25507         (casinh_test): Likewise.
25508         (catan_test): Likewise.
25509         (catanh_test): Likewise.
25510         (cbrt_test): Likewise.
25511         (ccos_test): Likewise.
25512         (ccosh_test): Likewise.
25513         (cexp_test): Likewise.
25514         (clog_test): Likewise.
25515         (clog10_test): Likewise.
25516         (cos_test): Likewise.
25517         (cos_test_tonearest): Likewise.
25518         (cos_test_towardzero): Likewise.
25519         (cos_test_downward): Likewise.
25520         (cos_test_upward): Likewise.
25521         (cosh_test): Likewise.
25522         (cosh_test_tonearest): Likewise.
25523         (cosh_test_towardzero): Likewise.
25524         (cosh_test_downward): Likewise.
25525         (cosh_test_upward): Likewise.
25526         (cpow_test): Likewise.
25527         (csin_test): Likewise.
25528         (csinh_test): Likewise.
25529         (csqrt_test): Likewise.
25530         (ctan_test): Likewise.
25531         (ctan_test_tonearest): Likewise.
25532         (ctan_test_towardzero): Likewise.
25533         (ctan_test_downward): Likewise.
25534         (ctan_test_upward): Likewise.
25535         (ctanh_test): Likewise.
25536         (ctanh_test_tonearest): Likewise.
25537         (ctanh_test_towardzero): Likewise.
25538         (ctanh_test_downward): Likewise.
25539         (ctanh_test_upward): Likewise.
25540         (erf_test): Likewise.
25541         (erfc_test): Likewise.
25542         (exp_test): Likewise.
25543         (exp_test_tonearest): Likewise.
25544         (exp_test_towardzero): Likewise.
25545         (exp_test_downward): Likewise.
25546         (exp_test_upward): Likewise.
25547         (exp10_test): Likewise.
25548         (exp2_test): Likewise.
25549         (expm1_test): Likewise.
25550         (fmod_test): Likewise.
25551         (gamma_test): Likewise.
25552         (hypot_test): Likewise.
25553         (j0_test): Likewise.
25554         (j1_test): Likewise.
25555         (jn_test): Likewise.
25556         (lgamma_test): Likewise.
25557         (log_test): Likewise.
25558         (log10_test): Likewise.
25559         (log1p_test): Likewise.
25560         (log2_test): Likewise.
25561         (logb_test_downward): Likewise.
25562         (pow_test): Likewise.
25563         (pow_test_tonearest): Likewise.
25564         (pow_test_towardzero): Likewise.
25565         (pow_test_downward): Likewise.
25566         (pow_test_upward): Likewise.
25567         (remainder_test): Likewise.
25568         (remquo_test): Likewise.
25569         (sin_test): Likewise.
25570         (sin_test_tonearest): Likewise.
25571         (sin_test_towardzero): Likewise.
25572         (sin_test_downward): Likewise.
25573         (sin_test_upward): Likewise.
25574         (sincos_test): Likewise.
25575         (sinh_test): Likewise.
25576         (sinh_test_tonearest): Likewise.
25577         (sinh_test_towardzero): Likewise.
25578         (sinh_test_downward): Likewise.
25579         (sinh_test_upward): Likewise.
25580         (sqrt_test): Likewise.
25581         (tan_test): Likewise.
25582         (tan_test_tonearest): Likewise.
25583         (tan_test_towardzero): Likewise.
25584         (tan_test_downward): Likewise.
25585         (tan_test_upward): Likewise.
25586         (tanh_test): Likewise.
25587         (tgamma_test): Likewise.
25588         (y0_test): Likewise.
25589         (y1_test): Likewise.
25590         (yn_test): Likewise.
25591
25592         * math/gen-libm-test.pl (adjust_arg): Remove function.
25593         (special_function): Remove argument $in_func.  Only handle
25594         generating output for tables of tests, not inside functions.
25595         (parse_args): Likewise.
25596         (generate_testfile): Remove variable $in_func.  Update call to
25597         parse_args.
25598         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25599         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25600         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25601         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25602         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25603         (MAX_VALUE_INIT): Rename macro to max_value.
25604         (MIN_VALUE_INIT): Rename macro to min_value.
25605         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25606         (plus_zero): Remove variable.
25607         (minus_zero): Likewise.
25608         (plus_infty): Likewise.
25609         (minus_infty): Likewise.
25610         (qnan_value): Likewise.
25611         (max_value): Likewise.
25612         (min_value): Likewise.
25613         (min_subnorm_value): Likewise.
25614
25615 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25616
25617         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25618         uint64_t or uint32_t usage.
25619         * crypt/sha256-block.c: Likewise.
25620         * crypt/sha256-crypt.c: Likewise.
25621         * crypt/sha256.c: Likewise.
25622         * crypt/sha512-block.c: Likewise.
25623         * crypt/sha512-crypt.c: Likewise.
25624         * crypt/sha512.c: Likewise.
25625         * debug/backtrace-tst.c: Likewise.
25626         * debug/pcprofiledump.c: Likewise.
25627         * elf/cache.c: Likewise.
25628         * elf/dl-cache.c: Likewise.
25629         * elf/dl-misc.c: Likewise.
25630         * elf/dl-profile.c: Likewise.
25631         * elf/dl-support.c: Likewise.
25632         * elf/ldconfig.c: Likewise.
25633         * elf/sprof.c: Likewise.
25634         * iconv/dummy-repertoire.c: Likewise.
25635         * iconv/iconv_charmap.c: Likewise.
25636         * iconv/skeleton.c: Likewise.
25637         * iconvdata/8bit-generic.c: Likewise.
25638         * iconvdata/cp737.h: Likewise.
25639         * iconvdata/cp775.h: Likewise.
25640         * iconvdata/ibm1008.h: Likewise.
25641         * iconvdata/ibm1025.h: Likewise.
25642         * iconvdata/ibm1046.h: Likewise.
25643         * iconvdata/ibm1097.h: Likewise.
25644         * iconvdata/ibm1112.h: Likewise.
25645         * iconvdata/ibm1122.h: Likewise.
25646         * iconvdata/ibm1123.h: Likewise.
25647         * iconvdata/ibm1124.h: Likewise.
25648         * iconvdata/ibm1129.h: Likewise.
25649         * iconvdata/ibm1130.h: Likewise.
25650         * iconvdata/ibm1132.h: Likewise.
25651         * iconvdata/ibm1133.h: Likewise.
25652         * iconvdata/ibm1137.h: Likewise.
25653         * iconvdata/ibm1140.h: Likewise.
25654         * iconvdata/ibm1141.h: Likewise.
25655         * iconvdata/ibm1142.h: Likewise.
25656         * iconvdata/ibm1143.h: Likewise.
25657         * iconvdata/ibm1144.h: Likewise.
25658         * iconvdata/ibm1145.h: Likewise.
25659         * iconvdata/ibm1146.h: Likewise.
25660         * iconvdata/ibm1147.h: Likewise.
25661         * iconvdata/ibm1148.h: Likewise.
25662         * iconvdata/ibm1149.h: Likewise.
25663         * iconvdata/ibm1153.h: Likewise.
25664         * iconvdata/ibm1154.h: Likewise.
25665         * iconvdata/ibm1155.h: Likewise.
25666         * iconvdata/ibm1156.h: Likewise.
25667         * iconvdata/ibm1157.h: Likewise.
25668         * iconvdata/ibm1158.h: Likewise.
25669         * iconvdata/ibm1160.h: Likewise.
25670         * iconvdata/ibm1161.h: Likewise.
25671         * iconvdata/ibm1162.h: Likewise.
25672         * iconvdata/ibm1163.h: Likewise.
25673         * iconvdata/ibm1164.h: Likewise.
25674         * iconvdata/ibm1166.h: Likewise.
25675         * iconvdata/ibm1167.h: Likewise.
25676         * iconvdata/ibm12712.h: Likewise.
25677         * iconvdata/ibm1390.h: Likewise.
25678         * iconvdata/ibm1399.h: Likewise.
25679         * iconvdata/ibm16804.h: Likewise.
25680         * iconvdata/ibm4517.h: Likewise.
25681         * iconvdata/ibm4899.h: Likewise.
25682         * iconvdata/ibm4909.h: Likewise.
25683         * iconvdata/ibm4971.h: Likewise.
25684         * iconvdata/ibm5347.h: Likewise.
25685         * iconvdata/ibm803.h: Likewise.
25686         * iconvdata/ibm856.h: Likewise.
25687         * iconvdata/ibm901.h: Likewise.
25688         * iconvdata/ibm902.h: Likewise.
25689         * iconvdata/ibm9030.h: Likewise.
25690         * iconvdata/ibm9066.h: Likewise.
25691         * iconvdata/ibm921.h: Likewise.
25692         * iconvdata/ibm922.h: Likewise.
25693         * iconvdata/ibm9448.h: Likewise.
25694         * iconvdata/isiri-3342.h: Likewise.
25695         * iconvdata/jis0201.h: Likewise.
25696         * include/link.h: Likewise.
25697         * include/netdb.h: Likewise.
25698         * inet/check_native.c: Likewise.
25699         * inet/check_pf.c: Likewise.
25700         * inet/getipv4sourcefilter.c: Likewise.
25701         * inet/getnameinfo.c: Likewise.
25702         * inet/getsourcefilter.c: Likewise.
25703         * inet/htonl.c: Likewise.
25704         * inet/setipv4sourcefilter.c: Likewise.
25705         * inet/setsourcefilter.c: Likewise.
25706         * inet/test-inet6_opt.c: Likewise.
25707         * inet/tst-network.c: Likewise.
25708         * locale/C-collate.c: Likewise.
25709         * locale/C-ctype.c: Likewise.
25710         * locale/C-time.c: Likewise.
25711         * locale/C-translit.h: Likewise.
25712         * locale/loadarchive.c: Likewise.
25713         * locale/programs/3level.h: Likewise.
25714         * locale/programs/charmap.c: Likewise.
25715         * locale/programs/charmap.h: Likewise.
25716         * locale/programs/ld-address.c: Likewise.
25717         * locale/programs/ld-collate.c: Likewise.
25718         * locale/programs/ld-ctype.c: Likewise.
25719         * locale/programs/ld-identification.c: Likewise.
25720         * locale/programs/ld-measurement.c: Likewise.
25721         * locale/programs/ld-messages.c: Likewise.
25722         * locale/programs/ld-monetary.c: Likewise.
25723         * locale/programs/ld-name.c: Likewise.
25724         * locale/programs/ld-numeric.c: Likewise.
25725         * locale/programs/ld-paper.c: Likewise.
25726         * locale/programs/ld-telephone.c: Likewise.
25727         * locale/programs/ld-time.c: Likewise.
25728         * locale/programs/linereader.c: Likewise.
25729         * locale/programs/locale.c: Likewise.
25730         * locale/programs/locarchive.c: Likewise.
25731         * locale/programs/locfile.h: Likewise.
25732         * locale/programs/repertoire.c: Likewise.
25733         * locale/programs/simple-hash.c: Likewise.
25734         * locale/programs/simple-hash.h: Likewise.
25735         * malloc/memusage.c: Likewise.
25736         * malloc/memusagestat.c: Likewise.
25737         * nis/nis_defaults.c: Likewise.
25738         * nis/nis_hash.c: Likewise.
25739         * nis/nis_print.c: Likewise.
25740         * nis/nis_xdr.c: Likewise.
25741         * nscd/connections.c: Likewise.
25742         * nscd/hstcache.c: Likewise.
25743         * nscd/nscd_gethst_r.c: Likewise.
25744         * nscd/nscd_getserv_r.c: Likewise.
25745         * nscd/nscd_helper.c: Likewise.
25746         * nscd/servicescache.c: Likewise.
25747         * nss/makedb.c: Likewise.
25748         * nss/nss_db/db-XXX.c: Likewise.
25749         * nss/nss_db/db-initgroups.c: Likewise.
25750         * nss/nss_db/db-netgrp.c: Likewise.
25751         * nss/nss_files/files-network.c: Likewise.
25752         * nss/nss_files/files-parse.c: Likewise.
25753         * posix/bug-regex5.c: Likewise.
25754         * posix/fnmatch_loop.c: Likewise.
25755         * posix/regcomp.c: Likewise.
25756         * posix/regexec.c: Likewise.
25757         * posix/tst-rfc3484-2.c: Likewise.
25758         * posix/tst-rfc3484-3.c: Likewise.
25759         * posix/tst-rfc3484.c: Likewise.
25760         * resolv/nss_dns/dns-canon.c: Likewise.
25761         * resolv/nss_dns/dns-network.c: Likewise.
25762         * resolv/res_init.c: Likewise.
25763         * resolv/res_mkquery.c: Likewise.
25764         * resolv/tst-aton.c: Likewise.
25765         * stdlib/cxa_atexit.c: Likewise.
25766         * stdlib/cxa_finalize.c: Likewise.
25767         * stdlib/gen-fpioconst.c: Likewise.
25768         * stdlib/strtol_l.c: Likewise.
25769         * string/tst-endian.c: Likewise.
25770         * sunrpc/auth_des.c: Likewise.
25771         * sunrpc/clnt_udp.c: Likewise.
25772         * sunrpc/rtime.c: Likewise.
25773         * sunrpc/svcauth_des.c: Likewise.
25774         * sunrpc/xdr.c: Likewise.
25775         * sunrpc/xdr_intXX_t.c: Likewise.
25776         * sunrpc/xdr_rec.c: Likewise.
25777         * sysdeps/generic/ldconfig.h: Likewise.
25778         * sysdeps/generic/ldsodefs.h: Likewise.
25779         * sysdeps/generic/memusage.h: Likewise.
25780         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25781         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25782         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25783         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25784         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25785         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25786         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25787         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25788         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25790         * sysdeps/posix/getaddrinfo.c: Likewise.
25791         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25792         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25793         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25794         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25795         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25796         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25797         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25798         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25799         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25800         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25801         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25802         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25803         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25804         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25805         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25806         * sysdeps/x86_64/dl-tls.h: Likewise.
25807         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25808         * time/alt_digit.c: Likewise.
25809         * time/era.c: Likewise.
25810         * wcsmbs/tst-c16c32-1.c: Likewise.
25811
25812 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25813
25814         * math/libm-test.inc (struct test_sincos_data): New type.
25815         (RUN_TEST_LOOP_sincos): New macro.
25816         (sincos_test_data): New variable.
25817         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25818
25819 2013-05-16  Richard Henderson  <rth@redhat.com>
25820
25821         * math/atest-exp2.c (LIMB64): New macro.
25822         (CONSTSZ): New macro.
25823         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25824         (hexdig): Move ...
25825         (print_mpn_fp): ... to function scope.
25826         (read_mpn_hex): Remove.
25827         (get_log2): Remove.
25828         (exp2_mpn): Use mp_log2.
25829         (main): Use mp_exp1.
25830
25831 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25832
25833         * math/libm-test.inc: Remove comment about not testing "inexact"
25834         exceptions.
25835         (INEXACT_EXCEPTION): New macro.
25836         (NO_INEXACT_EXCEPTION): Likewise.
25837         (INVALID_EXCEPTION_OK): Update value.
25838         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25839         (OVERFLOW_EXCEPTION_OK): Likewise.
25840         (UNDERFLOW_EXCEPTION_OK): Likewise.
25841         (IGNORE_ZERO_INF_SIGN): Likewise.
25842         (ERRNO_UNCHANGED): Likewise.
25843         (ERRNO_EDOM): Likewise.
25844         (ERRNO_ERANGE): Likewise.
25845         (test_exceptions): Handle testing "inexact" exceptions.
25846         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25847         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25848         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25849         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25850         INEXACT_EXCEPTION.
25851         (rint_towardzero_test_data): Likewise.
25852         (rint_downward_test_data): Likewise.
25853         (rint_upward_test_data): Likewise.
25854
25855         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25856         with OVERFLOW_EXCEPTION.
25857         (exp10_test_data): Likewise.
25858         (exp2_test_data): Likewise.
25859         (expm1_test_data): Likewise.
25860         (lgamma_test_data): Likewise.
25861         (pow_test_data): Likewise.
25862         (tgamma_test_data): Likewise.
25863         (yn_test_data): Remove duplicate test of overflow.
25864
25865         * math/libm-test.inc (struct test_cc_c_data): New type.
25866         (RUN_TEST_LOOP_cc_c): New macro.
25867         (cpow_test_data): New variable.
25868         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25869
25870         * math/libm-test.inc (struct test_f_L_data): New type.
25871         (RUN_TEST_LOOP_f_L): New macro.
25872         (llrint_test_data): New variable.
25873         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25874         (llrint_tonearest_test_data): New variable.
25875         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25876         (llrint_towardzero_test_data): New variable.
25877         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25878         (llrint_downward_test_data): New variable.
25879         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25880         (llrint_upward_test_data): New variable.
25881         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25882         (llround_test_data): New variable.
25883         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25884
25885 2013-05-13  Peter Collingbourne  <pcc@google.com>
25886
25887         * math/atest-exp2.c (get_log2): Remove const attribute.
25888
25889 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25890
25891         * math/libm-test.inc (struct test_f_l_data): New type.
25892         (RUN_TEST_LOOP_f_l): New macro.
25893         (lrint_test_data): New variable.
25894         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25895         (lrint_tonearest_test_data): New variable.
25896         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25897         (lrint_towardzero_test_data): New variable.
25898         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25899         (lrint_downward_test_data): New variable.
25900         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25901         (lrint_upward_test_data): New variable.
25902         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25903         (lround_test_data): New variable.
25904         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25905
25906 2013-05-15  Peter Collingbourne  <pcc@google.com>
25907
25908         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25909         (EXTRACT_WORDS64) Use where appropriate.
25910         (INSERT_WORDS64) Likewise.
25911
25912         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25913         constraints with x constraints.
25914         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25915
25916         * malloc/obstack.c (_obstack_compat): Add initializer.
25917
25918 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25919
25920         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25921         si_trapno and add si_addr_lsb to _sifields.sigfault.
25922         (si_trapno): Remove macro.
25923         (si_addr_lsb): Define new macro.
25924         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25925
25926 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25927
25928         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25929         instead of TEST_f_l.
25930         (llrint_test_tonearest): Likewise.
25931         (llrint_test_towardzero): Likewise.
25932         (llrint_test_downward): Likewise.
25933         (llrint_test_upward): Likewise.
25934         (llround_test): Likewise.
25935
25936         * math/libm-test.inc (struct test_f_i_data): Add comment.
25937         (RUN_TEST_LOOP_f_b): New macro.
25938         (RUN_TEST_LOOP_f_b_tg): Likewise.
25939         (finite_test_data): New variable.
25940         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25941         (isfinite_test_data): New variable.
25942         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25943         (isinf_test_data): New variable.
25944         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25945         (isnan_test_data): New variable.
25946         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25947         (isnormal_test_data): New variable.
25948         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25949         (issignaling_test_data): New variable.
25950         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25951         (signbit_test_data): New variable.
25952         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25953
25954         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25955         with INVALID_EXCEPTION.
25956         (acosh_test_data): Likewise.
25957         (asin_test_data): Likewise.
25958         (atanh_test_data): Likewise.
25959         (fmod_test_data): Likewise.
25960         (log_test_data): Likewise.
25961         (log10_test_data): Likewise.
25962         (log2_test_data): Likewise.
25963         (pow_test_data): Likewise.
25964         (sqrt_test_data): Likewise.
25965         (y0_test_data): Likewise.
25966         (y1_test_data): Likewise.
25967         (yn_test_data): Likewise.
25968
25969         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25970         function contents.
25971
25972         * math/libm-test.inc (struct test_ff_i_data): New type.
25973         (RUN_TEST_LOOP_ff_i_tg): New macro.
25974         (isgreater_test_data): New variable.
25975         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25976         (isgreaterequal_test_data): New variable.
25977         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25978         (isless_test_data): New variable.
25979         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25980         (islessequal_test_data): New variable.
25981         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25982         (islessgreater_test_data): New variable.
25983         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25984         (isunordered_test_data): New variable.
25985         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25986
25987 2013-05-14  David S. Miller  <davem@davemloft.net>
25988
25989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25990
25991 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25992
25993         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25994
25995         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25996         extra_test to int.
25997         (struct test_f_i_data): Change type of max_ulp to int.
25998
25999         * math/libm-test.inc (test_ffI_f1_data): New type.
26000         (RUN_TEST_LOOP_ffI_f1): New macro.
26001         (remquo_test_data): New variable.
26002         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26003
26004         * setjmp/tst-setjmp-fp.c: New file.
26005         * setjmp/Makefile (tests): Add tst-setjmp-fp.
26006         (link-libm): New variable.
26007         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26008
26009         * math/libm-test.inc (struct test_f_i_data): New type.
26010         (RUN_TEST_LOOP_f_i): New macro.
26011         (RUN_TEST_LOOP_f_i_tg): Likewise.
26012         (fpclassify_test_data): New variable.
26013         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26014         (ilogb_test_data): New variable.
26015         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26016
26017         * math/libm-test.inc (scalbln_test): Correct function name in END
26018         call.
26019
26020         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26021         (RUN_TEST_LOOP_fI_f1): New macro.
26022         (frexp_test_data): New variable.
26023         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26024
26025         * math/libm-test.inc (struct test_fF_f1_data): New type.
26026         (RUN_TEST_LOOP_fF_f1): New macro.
26027         (modf_test_data): New variable.
26028         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26029
26030         * math/libm-test.inc (struct test_f_f1_data): New type.
26031         (RUN_TEST_LOOP_f_f1): New macro.
26032         (gamma_test_data): New variable.
26033         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26034         (lgamma_test_data): New variable.
26035         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26036
26037 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26038
26039         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26040         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26041         (main): Comment "tls" pseudo-hwcap.
26042
26043 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26044
26045         * math/libm-test.inc (struct test_fl_f_data): New type.
26046         (RUN_TEST_LOOP_fl_f): New variable.
26047         (scalbln_test_data): New variable.
26048         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26049
26050         * math/libm-test.inc (struct test_fi_f_data): New type.
26051         (RUN_TEST_LOOP_fi_f): New macro.
26052         (ldexp_test_data): New variable.
26053         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26054         (scalbn_test_data): New variable.
26055         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26056
26057         * math/libm-test.inc (struct test_c_f_data): New type.
26058         (RUN_TEST_LOOP_c_f): New macro.
26059         (cabs_test_data): New variable.
26060         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26061         (carg_test_data): New variable.
26062         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26063         (cimag_test_data): New variable.
26064         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26065         (creal_test_data): New variable.
26066         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26067
26068         * math/libm-test.inc (struct test_if_f_data): New type.
26069         (RUN_TEST_LOOP_if_f): New macro.
26070         (jn_test_data): New variable.
26071         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26072         (yn_test_data): New variable.
26073         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26074
26075         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26076
26077 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26078
26079         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26080         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26081
26082 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26083
26084         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26085         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26086         (bench-deps): Add bench-timing.h.
26087         * benchtests-bench-skeleton.c: Include bench-timing.h.
26088         (main): Use TIMING_* macros instead of clock_gettime.
26089         * benchtests/bench-timing.h: New file.
26090
26091         [BZ #14582]
26092         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26093         Renamed from _LIB_VERSION.
26094         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26095
26096 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26097
26098         * math/libm-test.inc (struct test_fff_f_data): New type.
26099         (RUN_TEST_LOOP_fff_f): New macro.
26100         (fma_test_data): New variable.
26101         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26102         (fma_towardzero_test_data): New variable.
26103         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26104         (fma_downward_test_data): New variable.
26105         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26106         (fma_upward_test_data): New variable.
26107         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26108
26109         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26110         (struct test_c_c_data): New type.
26111         (RUN_TEST_LOOP_c_c): New macro.
26112         (cacos_test_data): New variable.
26113         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26114         (cacosh_test_data): New variable.
26115         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26116         (casin_test_data): New variable.
26117         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26118         (casinh_test_data): New variable.
26119         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26120         (catan_test_data): New variable.
26121         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26122         (catanh_test_data): New variable.
26123         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26124         (ccos_test_data): New variable.
26125         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26126         (ccosh_test_data): New variable.
26127         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26128         (cexp_test_data): New variable.
26129         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26130         (clog_test_data): New variable.
26131         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26132         (clog10_test_data): New variable.
26133         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26134         (conj_test_data): New variable.
26135         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26136         (cproj_test_data): New variable.
26137         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26138         (csin_test_data): New variable.
26139         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26140         (csinh_test_data): New variable.
26141         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26142         (csqrt_test_data): New variable.
26143         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26144         (ctan_test_data): New variable.
26145         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26146         (ctan_tonearest_test_data): New variable.
26147         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26148         (ctan_towardzero_test_data): New variable.
26149         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26150         (ctan_downward_test_data): New variable.
26151         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26152         (ctan_upward_test_data): New variable.
26153         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26154         (ctanh_test_data): New variable.
26155         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26156         (ctanh_tonearest_test_data): New variable.
26157         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26158         (ctanh_towardzero_test_data): New variable.
26159         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26160         (ctanh_downward_test_data): New variable.
26161         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26162         (ctanh_upward_test_data): New variable.
26163         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26164         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26165         of BUILD_COMPLEX.
26166
26167         * math/libm-test.inc (struct test_ff_f_data): New type.
26168         (struct test_ff_f_data_nexttoward): Likewise.
26169         (RUN_TEST_LOOP_2_f): New macro.
26170         (RUN_TEST_LOOP_ff_f): Likewise.
26171         (atan2_test_data): New variable.
26172         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26173         (copysign_test_data): New variable.
26174         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26175         (fdim_test_data): New variable.
26176         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26177         (fmax_test_data): New variable.
26178         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26179         (fmin_test_data): New variable.
26180         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26181         (fmod_test_data): New variable.
26182         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26183         (hypot_test_data): New variable.
26184         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26185         (nextafter_test_data): New variable.
26186         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26187         (nexttoward_test_data): New variable.
26188         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26189         (pow_test_data): New variable.
26190         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26191         (pow_tonearest_test_data): New variable.
26192         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26193         (pow_towardzero_test_data): New variable.
26194         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26195         (pow_downward_test_data): New variable.
26196         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26197         (pow_upward_test_data): New variable.
26198         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26199         (remainder_test_data): New variable.
26200         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26201         (scalb_test_data): New variable.
26202         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26203         * sysdeps/i386/fpu/libm-test-ulps: Update.
26204
26205 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26206
26207         * math/libm-test.inc (fma_test): Use max_value instead of local
26208         variable fltmax.
26209         (nextafter_test): Likewise.
26210
26211         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26212         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26213         (acos_downward_test_data): New variable.
26214         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26215         (acos_upward_test_data): New variable.
26216         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26217         (acosh_test_data): New variable.
26218         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26219         (asin_test_data): New variable.
26220         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26221         (asin_tonearest_test_data): New variable.
26222         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26223         (asin_towardzero_test_data): New variable.
26224         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26225         (asin_downward_test_data): New variable.
26226         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26227         (asin_upward_test_data): New variable.
26228         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26229         (asinh_test_data): New variable.
26230         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26231         (atan_test_data): New variable.
26232         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26233         (atanh_test_data): New variable.
26234         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26235         (cbrt_test_data): New variable.
26236         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26237         (ceil_test_data): New variable.
26238         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26239         (cos_test_data): New variable.
26240         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26241         (cos_tonearest_test_data): New variable.
26242         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26243         (cos_towardzero_test_data): New variable.
26244         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26245         (cos_downward_test_data): New variable.
26246         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26247         (cos_upward_test_data): New variable.
26248         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26249         (cosh_test_data): New variable.
26250         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26251         (cosh_tonearest_test_data): New variable.
26252         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26253         (cosh_towardzero_test_data): New variable.
26254         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26255         (cosh_downward_test_data): New variable.
26256         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26257         (cosh_upward_test_data): New variable.
26258         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26259         (erf_test_data): New variable.
26260         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26261         (erfc_test_data): New variable.
26262         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26263         (exp_test_data): New variable.
26264         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26265         (exp_tonearest_test_data): New variable.
26266         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26267         (exp_towardzero_test_data): New variable.
26268         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26269         (exp_downward_test_data): New variable.
26270         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26271         (exp_upward_test_data): New variable.
26272         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26273         (exp10_test_data): New variable.
26274         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26275         (exp2_test_data): New variable.
26276         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26277         (expm1_test_data): New variable.
26278         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26279         (fabs_test_data): New variable.
26280         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26281         (floor_test_data): New variable.
26282         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26283         (j0_test_data): New variable.
26284         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26285         (j1_test_data): New variable.
26286         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26287         (log_test_data): New variable.
26288         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26289         (log10_test_data): New variable.
26290         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26291         (log1p_test_data): New variable.
26292         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26293         (log2_test_data): New variable.
26294         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26295         (logb_test_data): New variable.
26296         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26297         (logb_downward_test_data): New variable.
26298         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26299         (nearbyint_test_data): New variable.
26300         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26301         (rint_test_data): New variable.
26302         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26303         (rint_tonearest_test_data): New variable.
26304         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26305         (rint_towardzero_test_data): New variable.
26306         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26307         (rint_downward_test_data): New variable.
26308         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26309         (rint_upward_test_data): New variable.
26310         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26311         (round_test_data): New variable.
26312         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26313         (sin_test_data): New variable.
26314         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26315         (sin_tonearest_test_data): New variable.
26316         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26317         (sin_towardzero_test_data): New variable.
26318         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26319         (sin_downward_test_data): New variable.
26320         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26321         (sin_upward_test_data): New variable.
26322         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26323         (sinh_test_data): New variable.
26324         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26325         (sinh_tonearest_test_data): New variable.
26326         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26327         (sinh_towardzero_test_data): New variable.
26328         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26329         (sinh_downward_test_data): New variable.
26330         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26331         (sinh_upward_test_data): New variable.
26332         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26333         (sqrt_test_data): New variable.
26334         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26335         (tan_test_data): New variable.
26336         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26337         (tan_tonearest_test_data): New variable.
26338         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26339         (tan_towardzero_test_data): New variable.
26340         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26341         (tan_downward_test_data): New variable.
26342         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26343         (tan_upward_test_data): New variable.
26344         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26345         (tanh_test_data): New variable.
26346         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26347         (tgamma_test_data): New variable.
26348         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26349         (trunc_test_data): New variable.
26350         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26351         (y0_test_data): New variable.
26352         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26353         (y1_test_data): New variable.
26354         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26355         (significand_test_data): New variable.
26356         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26357
26358 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26359
26360         [BZ #12387]
26361         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26362
26363 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26364
26365         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26366
26367 2013-05-10  Andreas Jaeger  <aj@suse.de>
26368
26369         [BZ #15448]
26370         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26371         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26372
26373 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26374
26375         * math/gen-libm-test.pl (adjust_arg): New function.
26376         (special_functions): Handle generating output in both functions
26377         and arrays.
26378         (parse_args): Likewise.
26379         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26380         $in_func argument to parse_args.
26381         * math/libm-test.inc (struct test_f_f_data): New type.
26382         (IF_ROUND_INIT_): New macro.
26383         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26384         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26385         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26386         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26387         (ROUND_RESTORE_): Likewise.
26388         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26389         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26390         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26391         (ROUND_RESTORE_FE_UPWARD): Likewise.
26392         (RUN_TEST_LOOP_f_f): New macro.
26393         (acos_test_data): New variable.
26394         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26395         (acos_tonearest_test_data): New variable.
26396         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26397
26398 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26399
26400         * benchtests/bench-skeleton.c (startup): Fix coding style.
26401
26402 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26403
26404         [BZ #6809]
26405         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26406         negative infinity argument.
26407         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26408         negative infinity argument.
26409         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26410         negative infinity argument.
26411         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26412         domain errors.
26413
26414 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26415
26416         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26417         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26418         * iconv/iconv_prog.c (main): Likewise.
26419         * locale/programs/charmap-dir.c (charmap_readdir)
26420         (fopen_uncompressed): Likewise.
26421         * locale/programs/locfile.c (siblings_uncached)
26422         (write_locale_data): Use lstat64 instead of lstat.
26423         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26424         stat.
26425
26426 2013-05-10  Andreas Jaeger  <aj@suse.de>
26427
26428         [BZ #15395]
26429         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26430         localization.
26431         Include <locale.h>.
26432
26433 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26434
26435         * elf/dl-close.c (_dl_close_worker): Add comments.
26436
26437 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26438
26439         [BZ #15359]
26440         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26441         high part of pi/2.
26442         (__ieee754_rem_pio2l): Update comments.
26443
26444         [BZ #15429]
26445         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26446         high part of pi/2.
26447         (__ieee754_rem_pio2l): Update comments.
26448
26449         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26450         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26451
26452         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26453         M_PI_4l.
26454
26455         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26456         (M_PI_34_LOG10El): Likewise.
26457         (M_PI2_LOG10El): Likewise.
26458         (M_PI4_LOG10El): Likewise.
26459         (M_PI_LOG10El): Likewise.
26460
26461 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26462
26463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26464
26465 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26466
26467         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26468         (MINUS_ZERO_INIT): Likewise.
26469         (PLUS_INFTY_INIT): Likewise.
26470         (MINUS_INFTY_INIT): Likewise.
26471         (QNAN_VALUE_INIT): Likewise.
26472         (MAX_VALUE_INIT): Likewise.
26473         (MIN_VALUE_INIT): Likewise.
26474         (MIN_SUBNORM_VALUE_INIT): Likewise.
26475         (plus_zero): Initialize with PLUS_ZERO_INIT.
26476         (minus_zero): Initialize with MINUS_ZERO_INIT.
26477         (plus_infty): Initialize with PLUS_INFTY_INIT.
26478         (minus_infty): Initialize with MINUS_INFTY_INIT.
26479         (qnan_value): Initialize with QNAN_VALUE_INIT.
26480         (max_value): Initialize with MAX_VALUE_INIT.
26481         (min_value): Initialize with MIN_VALUE_INIT.
26482         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26483
26484         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26485         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26486         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26487         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26488
26489         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26490         (RUN_TEST_2_f): Likewise.
26491         (RUN_TEST_ff_f): Likewise.
26492         (RUN_TEST_fi_f): Likewise.
26493         (RUN_TEST_fl_f): Likewise.
26494         (RUN_TEST_fff_f): Likewise.
26495         (RUN_TEST_c_f): Likewise.
26496         (RUN_TEST_f_f1): Likewise.
26497         (RUN_TEST_fF_f1): Likewise.
26498         (RUN_TEST_fI_f1): Likewise.
26499         (RUN_TEST_ffI_f1): Likewise.
26500         (RUN_TEST_c_c): Likewise.
26501         (RUN_TEST_cc_c): Likewise.
26502         (RUN_TEST_f_i): Likewise.
26503         (RUN_TEST_f_i_tg): Likewise.
26504         (RUN_TEST_ff_i_tg): Likewise.
26505         (RUN_TEST_f_b): Likewise.
26506         (RUN_TEST_f_b_tg): Likewise.
26507         (RUN_TEST_f_l): Likewise.
26508         (RUN_TEST_f_L): Likewise.
26509         (RUN_TEST_sincos): Likewise.
26510         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26511         whether to show exceptions.  Do not include ");\n" in return
26512         value.
26513         (special_functions): Output call to RUN_TEST_sincos instead of
26514         check_float calls.  Update calls to new_test.
26515         (parse_args): Output call to single RUN_TEST_* macro instead of
26516         check_* calls and other assignments.  Update calls to new_test.
26517
26518         [BZ #2546]
26519         [BZ #2560]
26520         [BZ #5159]
26521         [BZ #15426]
26522         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26523         input to result for tgamma overflow.
26524         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26525         (gamma_coeff): New variable.
26526         (NCOEFF): New macro.
26527         (gamma_positive): New function.
26528         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26529         underflow here.  Use gamma_positive instead of exp (lgamma) for
26530         other arguments.
26531         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26532         (gamma_coeff): New variable.
26533         (NCOEFF): New macro.
26534         (gammaf_positive): New function.
26535         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26536         underflow here.  Use gamma_positive instead of exp (lgamma) for
26537         other arguments.
26538         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26539         (gamma_coeff): New variable.
26540         (NCOEFF): New macro.
26541         (gammal_positive): New function.
26542         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26543         underflow here.  Use gamma_positive instead of exp (lgamma) for
26544         other arguments.
26545         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26546         (gamma_coeff): New variable.
26547         (NCOEFF): New macro.
26548         (gammal_positive): New function.
26549         (__ieee754_gammal_r): Handle positive infinity, overflow and
26550         underflow here.  Handle NaN the same as positive infinity.  Remove
26551         check x < 0xffffffff for negative integers.  Use gamma_positive
26552         instead of exp (lgamma) for other arguments.
26553         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26554         (gamma_coeff): New variable.
26555         (NCOEFF): New macro.
26556         (gammal_positive): New function.
26557         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26558         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26559         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26560         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26561         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26562         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26563         * sysdeps/generic/math_private.h (__gamma_productf): New
26564         prototype.
26565         (__gamma_product): Likewise.
26566         (__gamma_productl): Likewise.
26567         * math/Makefile (libm-calls): Add gamma_product.
26568         * math/libm-test.inc (tgamma_test): Add more tests.
26569         * sysdeps/i386/fpu/libm-test-ulps: Update.
26570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26571
26572 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26573
26574         * benchtests/bench-skeleton.c (main): Preheat CPU.
26575
26576 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26577
26578         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26579
26580 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26581
26582         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26583         and _dl_skip_args_internal.
26584
26585 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26586
26587         * manual/message.texi (Message Translation): Talk about users.
26588         Message to key mapping impacts design.
26589
26590 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26591
26592         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26593
26594         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26595
26596         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26597         * sysdeps/wordsize-64/glob64.c: ... here.
26598
26599         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26600         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26601         New macros.
26602
26603         * debug/getlogin_r_chk.c: Moved to ...
26604         * login/getlogin_r_chk.c: ... here.
26605         * debug/Makefile (routines): Move getlogin_r_chk to ...
26606         * login/Makefile (routines): ... here.
26607         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26608         * login/Versions (libc: GLIBC_2.4): ... here.
26609
26610         * io/poll.c (__poll): Renamed from poll.
26611         Add libc_hidden_def.
26612         (poll): Define as weak alias.
26613
26614         * debug/ptsname_r_chk.c: Moved to ...
26615         * login/ptsname_r_chk.c: ... here.
26616         * debug/Makefile (routines): Move ptsname_r_chk to ...
26617         * login/Makefile (routines): ... here.
26618         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26619         * login/Versions (libc: GLIBC_2.4): ... here.
26620
26621         * posix/getlogin.c: Moved to ...
26622         * login/getlogin.c: ... here.
26623         * posix/getlogin_r.c: Moved to ...
26624         * login/getlogin_r.c: ... here.
26625         * posix/getlogin_r.c: Moved to ...
26626         * login/getlogin_r.c: ... here.
26627         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26628         * login/Makefile (routines): ... here.
26629         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26630         * login/Versions (libc: GLIBC_2.0): ... here.
26631
26632         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26633         (setrlimit): Define as weak alias.
26634
26635         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26636         Call __ names for open, ftruncate, and close.
26637         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26638         (truncate): Define as weak alias.
26639
26640 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26641
26642         * math/gen-libm-test.pl (parse_args): Initialize x before each
26643         test of frexp, modf and remquo.
26644
26645         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26646         test signgam value.
26647
26648 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26649
26650         [BZ #15418]
26651         [BZ #15419]
26652         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26653         internal tests.
26654         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26655
26656 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26657
26658         * elf/dl-writev.h: New file.
26659         * elf/dl-misc.c: Include it.
26660         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26661         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26662
26663 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26664
26665         * math/libm-test.inc (noXFails): Remove variable.
26666         (noXPasses): Likewise.
26667         (BUILD_COMPLEX_INT): Remove macro.
26668         (print_screen): Remove xfail argument.
26669         (print_screen_max_error): Likewise.
26670         (update_stats): Likewise.
26671         (print_max_error): Likewise.  Update calls to other affected
26672         functions.
26673         (print_complex_max_error): Likewise.
26674         (test_single_exception): Update calls to print_screen.
26675         (test_single_errno): Likewise.
26676         (check_float_internal): Remove xfail argument.  Update calls to
26677         other affected functions.
26678         (check_float): Likewise.
26679         (check_complex): Likewise.
26680         (check_int): Likewise.
26681         (check_long): Likewise.
26682         (check_bool): Likewise.
26683         (check_longlong): Likewise.
26684         (main): Don't print noXFails and noXPasses.
26685         * math/gen-libm-test.pl (top level): Don't mention expected
26686         failure handling in comment.
26687         (new_test): Don't handle expected failures.
26688         (parse_args): Don't mention expected failure handling in comment.
26689         (generate_testfile): Don't handle expected failures.
26690         (parse_ulps): Likewise.
26691         (print_ulps_file): Likewise.
26692         (get_failure): Remove function.
26693         (output_test): Don't handle expected failures.
26694         * make/README.libm-test: Don't mention expected failure handling.
26695
26696         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26697         (minus_zero): Likewise.
26698         (plus_infty): Likewise.
26699         (minus_infty): Likewise.
26700         (qnan_value): Likewise.
26701         (max_value): Likewise.
26702         (min_value): Likewise.
26703         (min_subnorm_value): Likewise.
26704         (initialize): Do not initialize those variables dynamically.
26705
26706 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26707
26708         * io/open.c (__open_2): Moved to ...
26709         * io/open_2.c: ... this new file.
26710         * io/open64.c (__open64_2): Moved to ...
26711         * io/open64_2.c: ... this new file.
26712         * io/openat.c (__openat_2): Moved to ...
26713         * io/openat_2.c: ... this new file.
26714         * io/openat64.c (__openat64_2): Moved to ...
26715         * io/openat64_2.c: ... this new file.
26716         * io/Makefile (routines): Add them.
26717         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26718         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26719         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26720         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26721         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26722         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26723         (__openat64): Add hidden_ver.
26724         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26725         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26726
26727         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26728         Separately conditionalize setting of GLRO(dl_sysinfo) so
26729         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26730         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26731
26732 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26733
26734         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26735         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26736         definition.
26737         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26738         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26739         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26740         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26741         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26742
26743 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26744
26745         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26746         test signgam value.
26747
26748         * math/libm-test.inc (hypot_test): Do not use
26749         IGNORE_ZERO_INF_SIGN.
26750
26751 2013-05-03  Andreas Jaeger  <aj@suse.de>
26752
26753         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26754         Linux 3.9.
26755         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26756         (PF_MAX): Adjust for VSOCK change.
26757
26758 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26759
26760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26761
26762 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26763
26764         [BZ #15264]
26765         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26766         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26767         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26768
26769 2013-05-02  David S. Miller  <davem@davemloft.net>
26770
26771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26772
26773 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26774
26775         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26776
26777 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26778
26779         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26780
26781 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26782
26783         [BZ #14952]
26784         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26785         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26786         Use __attribute__ ((__gnu_inline__)).
26787         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26788         Don't use __attribute__ ((__gnu_inline__)).
26789
26790 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26791
26792         [BZ #15423]
26793         * math/s_catan.c (__catan): Handle small real or imaginary part of
26794         input specially to avoid spurious underflow.
26795         * math/s_catanf.c (__catanf): Likewise.
26796         * math/s_catanh.c (__catanh): Likewise.
26797         * math/s_catanhf.c (__catanhf): Likewise.
26798         * math/s_catanhl.c (__catanhl): Likewise.
26799         * math/s_catanl.c (__catanl): Likewise.
26800         * math/libm-test.inc (catan_test): Add more tests.
26801         (catanh_test): Likewise.
26802         * sysdeps/i386/fpu/libm-test-ulps: Update.
26803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26804
26805 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26806
26807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26808
26809 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26810
26811         [BZ #15416]
26812         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26813         accurately for denominator in atan2.
26814         * math/s_catanf.c (__catanf): Likewise.
26815         * math/s_catanh.c (__catanh): Likewise.
26816         * math/s_catanhf.c (__catanhf): Likewise.
26817         * math/s_catanhl.c (__catanhl): Likewise.
26818         * math/s_catanl.c (__catanl): Likewise.
26819         * math/libm-test.inc (catan_test): Add more tests.
26820         (catanh_test): Likewise.
26821         * sysdeps/i386/fpu/libm-test-ulps: Update.
26822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26823
26824 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26825
26826         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26827
26828         * benchtests/Makefile (bench): Remove slow benchmarks.
26829         * benchtests/atan-inputs: Add slow benchmark inputs.
26830         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26831         (BENCH_FUNC): Accept variant offset.
26832         (VARIANT): Define.
26833         * benchtests/bench-skeleton.c (main): Run benchmark for each
26834         variant.
26835         * benchtests/cos-inputs: Add slow benchmark inputs.
26836         * benchtests/exp-inputs: Likewise.
26837         * benchtests/pow-inputs: Likewise.
26838         * benchtests/sin-inputs: Likewise.
26839         * benchtests/slowatan-inputs: Remove.
26840         * benchtests/slowatan.c: Remove.
26841         * benchtests/slowcos-inputs: Remove.
26842         * benchtests/slowcos.c: Remove.
26843         * benchtests/slowexp-inputs: Remove.
26844         * benchtests/slowexp.c: Remove.
26845         * benchtests/slowpow-inputs: Remove.
26846         * benchtests/slowpow.c: Remove.
26847         * benchtests/slowsin-inputs: Remove.
26848         * benchtests/slowsin.c: Remove.
26849         * benchtests/slowtan-inputs: Remove.
26850         * benchtests/slowtan.c: Remove.
26851         * benchtests/tan-inputs: Add slow benchmark inputs.
26852         * scripts/bench.pl: Parse comments and directives.
26853
26854         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26855         in CPPFLAGS.
26856         ($(objpfx)bench-%.c): Remove *-ITER.
26857         * benchtests/bench-modf.c: Remove definition of ITER.
26858         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26859         (main): Loop for DURATION seconds instead of fixed number of
26860         iterations.
26861         * scripts/bench.pl: Don't expect iterations in parameters.
26862
26863 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26864
26865         * io/fchdir.c (__fchdir): Renamed from fchdir.
26866         (fchdir): Define as weak alias.
26867
26868 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26869
26870         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26871         (ERRNO_EDOM): Likewise.
26872         (ERRNO_ERANGE): Likewise.
26873         (noErrnoTests): New variable.
26874         (init_max_error): Set errno to 0.
26875         (test_single_errno): New function.
26876         (test_errno): Likewise.
26877         (check_float_internal): Call test_errno.  Set errno to 0.
26878         (check_complex): Refer to errno tests in comment.
26879         (check_int): Call test_errno.  Set errno to 0.
26880         (check_long): Likewise.
26881         (check_bool): Likewise.
26882         (check_longlong): Likewise.
26883         (cos_test): Use ERRNO_* flags for errno tests instead of
26884         check_int.
26885         (expm1_test): Likewise.
26886         (fmod_test): Likewise.
26887         (ilogb_test): Likewise.
26888         (lgamma_test): Likewise.
26889         (pow_test): Likewise.
26890         (remainder_test): Likewise.
26891         (sin_test): Likewise.
26892         (tan_test): Likewise.
26893         (yn_test): Likewise.
26894         (initialize): Set errno to 0.
26895         (main): Print number of errno tests.
26896         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26897
26898 2013-04-29  Andreas Jaeger  <aj@suse.de>
26899
26900         [BZ #15084]
26901         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26902         and RES_USEVC.
26903
26904         [BZ #15085]
26905         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26906         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26907         unimplemented.
26908
26909         [BZ #15380]
26910         * stdlib/random.c (__initstate): Return NULL if
26911         __initstate fails.
26912
26913         [BZ #15086]
26914         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26915         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26916         RES_SNGLKUPREOP.
26917
26918 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26919
26920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26921
26922 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26923
26924         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26925         of individual tests.
26926         (casin_test): Likewise.
26927         (casinh_test): Likewise.
26928
26929 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26930
26931         [BZ #15409]
26932         * math/s_catan.c (__catan): Handle arguments with large real or
26933         imaginary part separately without squaring.
26934         * math/s_catanf.c (__catanf): Likewise.
26935         * math/s_catanh.c (__catanh): Likewise.
26936         * math/s_catanhf.c (__catanhf): Likewise.
26937         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26938         and redefine.
26939         (__catanhl): Handle arguments with large real or imaginary part
26940         separately without squaring.
26941         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26942         and redefine.
26943         (__catanl): Handle arguments with large real or imaginary part
26944         separately without squaring.
26945         * math/libm-test.inc (catan_test): Add more tests.
26946         (catanh_test): Likewise.
26947         * sysdeps/i386/fpu/libm-test-ulps: Update.
26948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26949
26950 2013-04-27  Andreas Jaeger  <aj@suse.de>
26951
26952         [BZ #15007]
26953         * stdlib/stdlib.h: Update guards for qecvt.
26954         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26955         <stdlib.h>.
26956
26957 2013-04-27  Allan McRae  <allan@archlinux.org>
26958
26959         * sysdeps/i386/fpu/libm-test-ulps: Update.
26960
26961 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26962
26963         [BZ #15406]
26964         * math/s_catan.c: Include <float.h>.
26965         (__catan): Ensure underflow exception occurs for underflowed
26966         result.
26967         * math/s_catanf.c: Include <float.h>.
26968         (__catanf): Ensure underflow exception occurs for underflowed
26969         result.
26970         * math/s_catanh.c: Include <float.h>.
26971         (__catanh): Ensure underflow exception occurs for underflowed
26972         result.
26973         * math/s_catanhf.c: Include <float.h>.
26974         (__catanhf): Ensure underflow exception occurs for underflowed
26975         result.
26976         * math/s_catanhl.c: Include <float.h>.
26977         (__catanhl): Ensure underflow exception occurs for underflowed
26978         result.
26979         * math/s_catanl.c: Include <float.h>.
26980         (__catanl): Ensure underflow exception occurs for underflowed
26981         result.
26982         * math/libm-test.inc (catan_test): Add more tests.
26983         (catanh_test): Likewise.
26984
26985         [BZ #15405]
26986         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26987         underflowed result.
26988         * math/s_ccoshf.c (__ccoshf): Likewise.
26989         * math/s_ccoshl.c (__ccoshl): Likewise.
26990         * math/s_csin.c (__csin): Likewise.
26991         * math/s_csinf.c (__csinf): Likewise.
26992         * math/s_csinh.c (__csinh): Likewise.
26993         * math/s_csinhf.c (__csinhf): Likewise.
26994         * math/s_csinhl.c (__csinhl): Likewise.
26995         * math/s_csinl.c (__csinl): Likewise.
26996         * math/libm-test.inc (ccos_test): Add more tests.
26997         (ccosh_test): Likewise.
26998         (csin_test): Likewise.
26999         (csinh_test): Likewise.
27000
27001 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27002
27003         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27004         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27005         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27006         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27007         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27008         powerpc/power5+/fpu folders.
27009         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27010
27011
27012 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27013
27014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27015
27016 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27017
27018         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27019         additions to variable.
27020         [$(config-machine) = x86_64] (modules-names): Likewise.
27021         ($(objpfx)tst-audit3): Remove dependency.
27022         ($(objpfx)tst-audit3.out): Likewise.
27023         ($(objpfx)tst-audit4): Likewise.
27024         ($(objpfx)tst-audit4.out): Likewise.
27025         ($(objpfx)tst-audit5): Likewise.
27026         ($(objpfx)tst-audit5.out): Likewise.
27027         ($(objpfx)tst-audit6): Likewise.
27028         ($(objpfx)tst-audit6.out): Likewise.
27029         ($(objpfx)tst-audit7): Likewise.
27030         ($(objpfx)tst-audit7.out): Likewise.
27031         (tst-audit3-ENV): Remove variable.
27032         (tst-audit4-ENV): Likewise.
27033         (tst-audit5-ENV): Likewise.
27034         (tst-audit6-ENV): Likewise.
27035         (tst-audit7-ENV): Likewise.
27036         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27037         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27038         addition to variable.
27039         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27040         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27041         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27042         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27043         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27044         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27045         tst-audit3, tst-audit4 and tst-audit5.
27046         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27047         tst-audit6 and tst-audit7.
27048         [$(subdir) = elf] (modules-names): Add audit modules for those
27049         tests.
27050         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27051         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27052         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27053         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27054         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27055         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27056         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27057         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27058         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27059         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27060         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27061         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27062         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27063         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27064         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27065         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27066         Likewise.
27067         [$(subdir) = elf && $(config-cflags-avx) = yes]
27068         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27069         [$(subdir) = elf && $(config-cflags-avx) = yes]
27070         (CFLAGS-tst-auditmod4a.c): Likewise.
27071         [$(subdir) = elf && $(config-cflags-avx) = yes]
27072         (CFLAGS-tst-auditmod4b.c): Likewise.
27073         [$(subdir) = elf && $(config-cflags-avx) = yes]
27074         (CFLAGS-tst-auditmod6b.c): Likewise.
27075         [$(subdir) = elf && $(config-cflags-avx) = yes]
27076         (CFLAGS-tst-auditmod6c.c): Likewise.
27077         [$(subdir) = elf && $(config-cflags-avx) = yes]
27078         (CFLAGS-tst-auditmod7b.c): Likewise.
27079         * elf/tst-audit3.c: Move to ...
27080         * sysdeps/x86_64/tst-audit3.c: ... here.
27081         * elf/tst-audit4.c: Move to ...
27082         * sysdeps/x86_64/tst-audit4.c: ... here.
27083         * elf/tst-audit5.c: Move to ...
27084         * sysdeps/x86_64/tst-audit5.c: ... here.
27085         * elf/tst-audit6.c: Move to ...
27086         * sysdeps/x86_64/tst-audit6.c: ... here.
27087         * elf/tst-audit7.c: Move to ...
27088         * sysdeps/x86_64/tst-audit7.c: ... here.
27089         * elf/tst-auditmod3a.c: Move to ...
27090         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27091         * elf/tst-auditmod3b.c: Move to ...
27092         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27093         * elf/tst-auditmod4a.c: Move to ...
27094         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27095         * elf/tst-auditmod4b.c: Move to ...
27096         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27097         * elf/tst-auditmod5a.c: Move to ...
27098         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27099         * elf/tst-auditmod5b.c: Move to ...
27100         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27101         * elf/tst-auditmod6a.c: Move to ...
27102         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27103         * elf/tst-auditmod6b.c: Move to ...
27104         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27105         * elf/tst-auditmod6c.c: Move to ...
27106         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27107         * elf/tst-auditmod7a.c: Move to ...
27108         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27109         * elf/tst-auditmod7b.c: Move to ...
27110         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27111
27112 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27113
27114         [BZ #15366]
27115         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27116         define unconditionally.
27117         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27118         define unconditionally.
27119         (INT8_C, INT16_C, etc.): Likewise.
27120
27121 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27122
27123         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27124         __ehdr_start with hidden visibility.
27125
27126         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27127
27128 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27129
27130         * math/libm-test.inc (cos_test): Use accurate hex constants.
27131         (sincost_test): Likewise.
27132
27133 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27134
27135         * math/libm-test.inc (catan_test): Add more tests.
27136         (catanh_test): Likewise.
27137
27138         * math/s_catanf.c (__catanf): Use suffixed floating-point
27139         constants.
27140         * math/s_catanhf.c (__catanhf): Likewise.
27141         * math/s_catanhl.c (__catanhl): Likewise.
27142         * math/s_catanl.c (__catanl): Likewise.
27143
27144         [BZ #15394]
27145         * math/s_catan.c (__catan): Calculate imaginary part of result
27146         with log1p not log unless computing log of number close to 0.
27147         * math/s_catanf.c (__catanf): Likewise.
27148         * math/s_catanl.c (__catanl): Likewise.
27149         * math/s_catanh.c (__catanh): Calculate real part of result with
27150         log1p not log unless computing log of number close to 0.
27151         * math/s_catanhf.c (__catanhf): Likewise.
27152         * math/s_catanhl.c (__catanhl): Likewise.
27153         * math/libm-test.inc (catan_test): Add more tests.
27154         (catanh_test): Likewise.
27155         * sysdeps/i386/fpu/libm-test-ulps: Update.
27156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27157
27158 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27159
27160         * benchtests/Makefile: Mention files in which fast and slow
27161         paths of math functions are implemented.
27162
27163 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27164
27165         * sysdeps/posix/timespec_get.c: New file.
27166
27167 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27168
27169         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27170         POWER.
27171         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27172         for POWER.
27173         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27174         powerpc/power5/fpu folders.
27175         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27176         * benchtests/Makefile: Add modf testcase.
27177         * benchtests/bench-modf.c: New file: Benchmark test for mo
27178
27179 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27180
27181         [BZ #14888]
27182         * time/Makefile (tests): Add tst-strptime-whitespace.
27183         * time/strptime_l.c (get_number): Use ISSPACE.
27184         (__strptime_internal): Likewise.
27185         * time/tst-strptime-whitespace.c: New test case.
27186
27187 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27188
27189         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27190         member.
27191         (_nss_files_init): Set it here.
27192
27193 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27194
27195         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27196         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27197         unsigned.
27198
27199 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27200
27201         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27202
27203 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27204
27205         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27206         size just once.
27207
27208 2013-04-21  David S. Miller  <davem@davemloft.net>
27209
27210         * po/ru.po: Update Russion translation from translation project.
27211
27212 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27213
27214         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27215         and setfsgid.
27216
27217 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27218
27219         * configure.in: Remove i386 configure warning. Remove i386 case.
27220         * configure: Regenerate.
27221         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27222         Add example to error message.
27223         * sysdeps/i386/configure: Regenerate.
27224
27225 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27226
27227         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27228         slowtan.
27229         * benchtests/cos-inputs: New file.
27230         * benchtests/slowcos-inputs: New file.
27231         * benchtests/slowcos.c: New file.
27232         * benchtests/slowtan-inputs: New file.
27233         * benchtests/slowtan.c: New file.
27234         * benchtests/tan-inputs: New file.
27235
27236 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27237
27238         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27239         considered kosher.
27240
27241 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27242
27243         * benchtests/Makefile: Include cppflags-iterator.mk to add
27244         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27245
27246         * Makefile.in (bench-clean): New target.
27247         * benchtests/Makefile (bench-clean): Likewise.
27248
27249 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27250
27251         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27252
27253 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27254
27255         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27256
27257 2013-04-15  Andreas Schwab  <schwab@suse.de>
27258
27259         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27260         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27261         * nscd/pwdcache.c (cache_addpw): Likewise.
27262         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27263         more than recsize.
27264
27265 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27266
27267         * benchtests/Makefile (bench): Write all output to
27268         bench-out.tmp together.
27269
27270 2013-04-15  Andreas Schwab  <schwab@suse.de>
27271
27272         * nscd/nscd.c (main): Don't fork again after closing files.
27273
27274 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27275
27276         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27277
27278         * benchtests/Rules (bench-deps): Collect dependencies into a
27279         single variable.  Add Makefile to dependencies.
27280         ($(objpfx)bench-%.c): Depend on bench-deps.
27281
27282 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27283             Xavier Roche  <roche+kml2@exalead.com>
27284
27285         [BZ #15361]
27286         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27287         just that it's a file descriptor.
27288         * manual/llio.texi (Synchronizing AIO Operations): Update description
27289         for EBADF error from aio_fsync.
27290
27291 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27292
27293         * Rules (bench): Move target definition...
27294         * benchtests/Makefile: ... here.
27295
27296 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27297
27298         * math/libm-test.inc (cos_test): Fix PI/2 test.
27299         (sincos_test): Likewise.
27300         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27301         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27302
27303 2013-04-11  Andreas Schwab  <schwab@suse.de>
27304
27305         [BZ #13988]
27306         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27307         accept exponent character only when digits were seen.
27308         * stdio-common/Makefile (tests): Add bug26.
27309         * stdio-common/bug26.c: New file.
27310
27311         [BZ #14293]
27312         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27313         non-freeable.
27314
27315 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27316
27317         * Makeconfig (rtld-prefix): Define built linker prefix.
27318         * Rules (run-bench): Use it.
27319         * math/Makefile (run-regen-ulps): Likewise.
27320
27321         * Rules (bench): Remove eval.
27322
27323 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27324             Roland McGrath  <roland@hack.frob.com>
27325             Ondrej Bilka  <neleai@seznam.cz>
27326
27327         [BZ #15346]
27328         * time/getdate.c: Include ctype.h and alloca.h.
27329         (__getdate_r): Trim leading and trailing spaces of input.
27330         * time/tst-getdate.c (tests): Add tests with leading and
27331         trailing spaces.
27332
27333 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27334
27335         [BZ #14280]
27336         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27337         when computing value.
27338
27339 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27340
27341         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27342         Use testrun.sh to run libm tests.
27343
27344         [BZ #15309]
27345         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27346
27347 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27348
27349         [BZ #15264]
27350         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27351
27352 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27353
27354         * Makefile.in (regen-ulps): New target.
27355         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27356         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27357         [ifneq (no,$(PERL)] (regen-ulps): New target.
27358         [ifeq (no,$(PERL)] (regen-ulps): New target.
27359         * math/libm-test.inc (ulps_file_name): Define.
27360         (output_dir): New variable.
27361         (options): Add "output-dir" option.
27362         (parse_opt): Handle 'o' case.
27363         (main): If output_dir is non-NULL use it as a prefix
27364         otherwise use "".
27365         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27366
27367 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27368
27369         [BZ #10060, #10062]
27370         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27371         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27372         fail configure if __sync_val_compare_and_swap is not inlined.
27373         * sysdeps/i386/configure: Regenerate.
27374         * configure.in: Build for i686 when configured for i386.
27375         * configure: Regenerate.
27376         * README: Remove i386 reference.
27377
27378 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27379
27380         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27381         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27382
27383 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27384
27385         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27386         (lmsnanval): New variables.
27387         (F): Add conversion tests.
27388         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27389         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27390
27391         * stdio-common/tstdiomisc.c (F): Properly collect individual
27392         tests' results.
27393
27394         [BZ #14686, #15336]
27395         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27396         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27397         Instead, use input NaN values or generate a qNaN by arithmetic
27398         operation.  Also fix bugs to comply with the standard.
27399         * math/libm-test.inc (remainder_test): Add more tests.
27400
27401         [BZ #15335, #15342]
27402         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27404         input NaN values or generate a qNaN by arithmetic operation.
27405
27406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27407         unreachable code.
27408
27409         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27410         definitions.
27411
27412 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27413
27414         [BZ #14478]
27415         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27416         underflowed result.
27417         * math/s_cexpf.c (__cexpf): Likewise.
27418         * math/s_cexpl.c (__cexpl): Likewise.
27419         * math/libm-test.inc (cexp_test): Add more tests.
27420
27421 2013-04-03  Andreas Schwab  <schwab@suse.de>
27422
27423         [BZ #15330]
27424         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27425         order arrays from heap if bigger than alloca cutoff.
27426
27427 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27428
27429         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27430         (SNAN_TESTS_double): Refer to GCC PR56831.
27431         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27432         GCC PR56828.
27433
27434 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27435
27436         * Rules (bench): Move bench.out after the run is complete.
27437
27438         * Rules (bench): Echo currently running benchmark.
27439
27440         * benchtests/Makefile (bench): Add atan and slowatan.
27441         * benchtests/atan-inputs: New file.
27442         * benchtests/slowatan-inputs: New file.
27443         * benchtests/slowatan.c: New file.
27444
27445         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27447         its value.
27448
27449         [BZ #15305]
27450         * sysdeps/unix/sysv/linux/kernel-features.h
27451         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27452         __ASSUME_XFS_RESTRICTED_CHOWN.
27453         * sysdeps/unix/sysv/linux/pathconf.c
27454         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27455         Save and restore errno.
27456
27457 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27458
27459         [BZ #15327]
27460         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27461         arguments using __kernel_casinh.
27462         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27463         arguments using __kernel_casinhf.
27464         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27465         arguments using __kernel_casinhl.
27466         * math/libm-test.inc (cacosh_test): Add more tests.
27467         * sysdeps/i386/fpu/libm-test-ulps: Update.
27468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469
27470 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27471
27472         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27473         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27474
27475         * bench/Makefile (bench): Add sin and slowsin.
27476         * benchtests/sin-inputs: New file.
27477         * benchtests/slowsin-inputs: New file.
27478         * benchtests/slowsin.c: New file.
27479
27480         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27481         (bench): Add slowexp and slowpow.
27482         (exp-ITER): Increase iterations.
27483         (pow-ITER): Likewise.
27484         * benchtests/exp-inputs: Change input.
27485         * benchtests/pow-inputs: Likewise.
27486         * benchtests/slowexp-inputs: New file.
27487         * benchtests/slowexp.c: New file.
27488         * benchtests/slowpow-inputs: New file.
27489         * benchtests/slowpow.c: New file.
27490
27491 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27492
27493         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27494         instructions.
27495         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27496         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27497         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27498         * benchtests/Makefile: Add rint benchtest.
27499         * benchtests/rint-inputs: Input for rint benchtest.
27500
27501 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27502
27503         * Versions.def (libm): Add GLIBC_2.18.
27504         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27505         hidden libm prototypes.
27506         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27507         * math/Makefile (libm-calls): Add s_issignaling.
27508         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27509         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27510         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27511         declaration.
27512         * math/math.h [__USE_GNU] (issignaling): New macro.
27513         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27514         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27515         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27516         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27517         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27518         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27519         * manual/arith.texi (issignaling): New section.
27520         * manual/libm-err-tab.pl (@all_functions): Update comment.
27521         * math/gen-libm-test.pl (parse_args): Apply special handling for
27522         issignaling.
27523         * math/libm-test.inc (print_float, issignaling_test): New
27524         functions.
27525         (check_float_internal): Add issignaling checks.
27526         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27527         default definition.
27528         * sysdeps/powerpc/math-tests.h: New file.
27529         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27530         tests.
27531         * math/test-snan.c (TEST_FUNC): Likewise.
27532
27533 2013-03-30  David S. Miller  <davem@davemloft.net>
27534
27535         * po/de.po: Update from translation team.
27536
27537 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27538
27539         [BZ #10357]
27540         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27541         imaginary part less than 1.0 and real part less than 0.5
27542         specially.
27543         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27544         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27545         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27546         (cacos_test): Add more tests.
27547         (casin_test): Likewise.
27548         (casinh_test): Likewise.
27549         * sysdeps/i386/fpu/libm-test-ulps: Update.
27550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27551
27552 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27553
27554         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27555         ONE with its value.
27556
27557         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27558         (__pow_mp): Replace ONE and MONE with their values.
27559         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27560         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27561         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27562         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27563         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27564         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27565
27566         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27567
27568         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27569         (__pow_mp): Replace ZERO and MZERO with their values.
27570         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27571         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27572         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27574         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27575         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27576         (__sqr): Likewise.
27577
27578         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27579
27580         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27581
27582 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27583
27584         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27585         Declare with __attribute__ ((weak)).
27586         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27587         Call __call_tls_dtors only if it's not NULL.
27588
27589 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27590
27591         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27592         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27593         magic __ehdr_start linker symbol if it's defined.
27594         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27595         them up here if it was already done.
27596
27597         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27598         (_dl_aux_init): Use const in cast when setting it.
27599         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27600         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27601         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27602
27603         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27604         Declare them here.
27605         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27606         * csu/libc-tls.c: Nor here.
27607         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27608
27609         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27610         (__libc_message): Never call vsyslog.
27611
27612 2013-03-28  Alan Modra  <amodra@gmail.com>
27613
27614         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27615         Define as empty.
27616         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27617         Likewise.
27618
27619 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27620
27621         [BZ #15214]
27622         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27623         underflow.
27624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27625
27626 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27627
27628         [BZ #15304]
27629         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27630         Don't add gid passed as argument.
27631
27632         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27633
27634 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27635
27636         [BZ #15307]
27637         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27638         imaginary part between 1.0 and 1.5 and real part less than 0.5
27639         specially.
27640         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27641         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27642         * math/libm-test.inc (cacos_test): Add more tests.
27643         (casin_test): Likewise.
27644         (casinh_test): Likewise.
27645         * sysdeps/i386/fpu/libm-test-ulps: Update.
27646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27647
27648 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27649
27650         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27651         constants.
27652         (norm): Likewise.
27653         (denorm): Likewise.
27654         (__dbl_mp): Likewise.
27655         (add_magnitudes): Likewise.
27656         (sub_magnitudes): Likewise.
27657         (__add): Likewise.
27658         (__sub): Likewise.
27659         (__mul): Likewise.
27660         (__sqr): Likewise.
27661         (__inv): Likewise.
27662         (__dvd): Likewise.
27663
27664         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27665         commented code.
27666         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27667         (__dubcos): Likewise.
27668         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27669         (__ieee754_acos): Likewise.
27670         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27671         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27672         (__exp1): Likewise.
27673         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27674         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27675         (log1): Likewise.
27676         (my_log2): Likewise.
27677         (checkint): Likewise.
27678         * sysdeps/ieee754/dbl-64/e_remainder.c
27679         (__ieee754_remainder): Likewise.
27680         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27682         (bsloww): Likewise.
27683         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27684
27685         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27686         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27687         MANTISSA_STORE_T to store computations on mantissa.  Use
27688         macros for rounding and division.
27689         (denorm): Likewise.
27690         (__dbl_mp): Likewise.
27691         (add_magnitudes): Likewise.
27692         (sub_magnitudes): Likewise.
27693         (__mul): Likewise.
27694         (__sqr): Likewise.
27695         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27696         powers of two in terms of TWOPOW macro.
27697         (mp_no): Make type of mantissa as MANTISSA_T.
27698         [!RADIXI]: Define RADIXI.
27699         [!TWO52]: Define TWO52.
27700         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27701
27702 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27703
27704         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27705         llroundl symbol when building for PPC32.
27706
27707 2013-03-24  Mark H Weaver  <mhw@netris.org>
27708
27709         * manual/arith.texi (Normalization Functions): Fix prototypes for
27710         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27711
27712 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27713
27714         [BZ #13889]
27715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27716         high value to check if expl overflow.
27717         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27718         to check for underflow and overflow.
27719         * math/libm-test.inc: Add exp test.
27720
27721 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27722
27723         [BZ #11120]
27724         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27725         with NOT_IN_libc.
27726
27727 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27728
27729         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27730         symbol.
27731
27732 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27733
27734         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27735         wrap blocks consisting of several statements.
27736
27737         * sysdeps/generic/math-tests.h: New file.
27738         * sysdeps/i386/fpu/math-tests.h: Likewise.
27739         * math/test-snan.c: Include it.
27740         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27741
27742 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27743
27744         [BZ #15285]
27745         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27746         (__ieee754_j0l): Do not improve calculations using cos of twice
27747         input for inputs above LDBL_MAX / 2.0L.
27748         (__ieee754_y0l): Likewise.
27749         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27750         (__ieee754_j1l): Do not improve calculations using cos of twice
27751         input for inputs above LDBL_MAX / 2.0L.
27752         (__ieee754_y1l): Likewise.
27753         * math/libm-test.inc (j0_test): Add another test.
27754         (j1_test): Likewise.
27755         (y0_test): Likewise.
27756         (y1_test): Likewise.
27757         * sysdeps/i386/fpu/libm-test-ulps: Update.
27758
27759 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27760
27761         * Rules ($(objpfx)bench-%.c): Include code from a C source
27762         file.
27763
27764 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27765
27766         [BZ #15287]
27767         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27768         imaginary part 1.0 and real part less than 0.5 specially.
27769         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27770         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27771         * math/libm-test.inc (cacos_test): Add more tests.
27772         (casin_test): Likewise.
27773         (casinh_test): Likewise.
27774         * sysdeps/i386/fpu/libm-test-ulps: Update.
27775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27776
27777 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27778
27779         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27780         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27781
27782 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27783
27784         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27785         * config.make.in (config-cflags-sse4): Remove variable.
27786         (config-cflags-avx): Likewise.
27787         (config-cflags-sse2avx): Likewise.
27788         (config-cflags-novzeroupper): Likewise.
27789         (config-asflags-i686): Likewise.
27790         (have-mfma4): Likewise.
27791         (have-as-vis3): Likewise.
27792         (MIG): Likewise.
27793         * configure.in (MIG): Do not AC_SUBST.
27794         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27795         (libc_cv_cc_sse4): Do not AC_SUBST.
27796         (libc_cv_cc_avx): Likewise.
27797         (libc_cv_cc_sse2avx): Likewise.
27798         (libc_cv_cc_novzeroupper): Likewise.
27799         (libc_cv_cc_fma4): Likewise.
27800         (libc_cv_as_i686): Likewise.
27801         (libc_cv_sparc_as_vis3): Likewise.
27802         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27803         LIBC_CONFIG_VAR.
27804         (config-asflags-i686): Likewise.
27805         (config-cflags-avx): Likewise.
27806         (config-cflags-sse2avx): Likewise.
27807         (have-mfma4): Likewise.
27808         (config-cflags-novzeroupper): Likewise.
27809         * sysdeps/mach/configure.in (MIG): Likewise.
27810         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27811         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27812         LIBC_CONFIG_VAR.
27813         (config-cflags-avx): Likewise.
27814         (config-cflags-sse2avx): Likewise.
27815         (have-mfma4): Likewise.
27816         (config-cflags-novzeroupper): Likewise.
27817         * configure: Regenerated.
27818         * sysdeps/i386/configure: Likewise.
27819         * sysdeps/mach/configure: Likewise.
27820         * sysdeps/sparc/configure: Likewise.
27821         * sysdeps/x86_64/configure: Likewise.
27822
27823 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27824
27825         [BZ #14812]
27826         * locale/programs/localedef.c (options): Put N_ translation marker
27827         on argument names, not just descriptions.
27828
27829 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27830
27831         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27832
27833 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27834
27835         [BZ #14176]
27836         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27837
27838 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27839
27840         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27841         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27842         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27843         [!BEFORE_ABORT] (before_abort): New function.
27844         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27845         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27846         (writev_for_fatal): New function.
27847         (WRITEV_FOR_FATAL): New macro; call that.
27848         (backtrace_and_maps): New function.
27849         (BEFORE_ABORT): New macro; call that.
27850         (struct str_list): Type removed.
27851         (__libc_message, __libc_fatal): Functions removed.
27852         Include <sysdeps/posix/libc_fatal.c> instead.
27853
27854 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27855
27856         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27857         constants.
27858         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27859         double constants.
27860
27861 2013-03-19  Andreas Schwab  <schwab@suse.de>
27862
27863         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27864         * sysdeps/gnu/configure: Regenerate.
27865
27866         * configure.in: Substitute libc_cv_rtlddir.
27867         * configure: Regenerate.
27868         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27869         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27870         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27871         * elf/Makefile (install-others, CFLAGS-interp.c)
27872         (ldso_install, common-ldd-rewrite): Likewise.
27873         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27874         $(inst_slibdir)/$(rtld-installed-name).
27875         * scripts/rellns-sh: Add -p option.
27876         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27877         for source.
27878
27879 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27880
27881         * manual/nptl.texi: Renamed to ...
27882         * manual/threads.texi: ... this.
27883         * manual/Makefile (chapters): Update.
27884
27885 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27886
27887         [BZ #14812]
27888         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27889         on argument names, not just descriptions.
27890         * malloc/memusagestat.c (options): Likewise.
27891         * nss/getent.c (options): Likewise.
27892
27893 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27894
27895         [BZ #14812]
27896         * iconv/iconv_prog.c (options): Put N_ translation marker
27897         on argument names, not just descriptions.
27898         * iconv/iconvconfig.c (options): Likewise.
27899
27900 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27901
27902         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27903         implementation which is faster on all x86_64 architectures.
27904         Tested on AMD, Intel Nehalem, SNB, IVB.
27905         * sysdeps/x86_64/strnlen.S: Likewise.
27906
27907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27908         Remove all multiarch strlen and strnlen versions.
27909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27910         Remove strlen and strnlen related parts.
27911
27912         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27913         Inline strlen part.
27914         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27915
27916         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27917         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27918         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27919         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27920         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27921         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27922
27923 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27924
27925         * manual/memory.texi (Malloc Tunable Parameters):
27926         Sort parameters alphabetically. Add comments for missing entries.
27927
27928 2013-03-17  David S. Miller  <davem@davemloft.net>
27929
27930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27931
27932 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27933
27934         [BZ #15283]
27935         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27936         for arguments at most half maximum finite value.
27937         * math/libm-test.inc (j0_test): Add more tests.
27938         (j1_test): Likewise.
27939         (y0_test): Likewise.
27940         (y1_test): Likewise.
27941         * sysdeps/i386/fpu/libm-test-ulps: Update.
27942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27943
27944         [BZ #14155]
27945         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27946         1 / x and functions P and Q for arguments above 0x1p256L.
27947         (__ieee754_y0l): Likewise.
27948         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27949         (__ieee754_y1l): Likewise.
27950         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27951         (j1_test): Likewise.
27952         (y0_test): Likewise.
27953         (y1_test): Likewise.
27954
27955 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27956
27957         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27958         variable.
27959
27960 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27961
27962         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27963         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27964         zero since it's initialized to EXEC_PAGESIZE.
27965
27966         * sysdeps/unix/sysv/linux/ldsodefs.h
27967         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27968         * sysdeps/generic/ldsodefs.h: ... here.
27969
27970 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27971
27972         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27973
27974         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27975         math/test-snan.c.
27976         * math/test-snan.c: Renamed from
27977         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27978         * math/Makefile (tests): Add test-snan.
27979         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27980         test-powerpc-snan.
27981
27982         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27983         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27984         functions.
27985         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27986         __builtin_nan family of functions.
27987         * math/libm-test.inc (initialize): Initialize qnan_value with
27988         __builtin_nan family of functions.
27989         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27990         Remove variables.
27991         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27992         Remove functions.
27993         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27994         storage class.  Initialize qNaN_var and sNaN_var with
27995         __builtin_nan and __builtin_nans families of functions,
27996         respectively.
27997
27998         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27999         (sqrt_test): Remove duplicate test with qNaN input.
28000         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28001         (round_test, signbit_test, significand_test): Note missing +/-Inf
28002         as well as qNaN tests.
28003
28004         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28005         qNaN_var.  Fix a few strings, too.
28006         * math/libm-test.inc (nan_value): Rename to qnan_value.
28007         * math/gen-libm-test.pl (%beautify): Adjust to that.
28008         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28009         * math/test-misc.c (main): Likewise.
28010         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28011         to __qnan_bytes, and __qnan_union, respectively.
28012         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28013         Likewise.
28014         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28015         and lqnanval, respectively.
28016         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28017         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28018         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28019         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28020
28021         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28022         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28023         doubles.
28024
28025         * math/test-misc.c (main): Fix copy'n'pastos.
28026         * misc/tst-efgcvt.c (special): Likewise.
28027
28028         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28029         Remove declarations.
28030
28031 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28032
28033         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28034         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28035         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28036         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28037
28038 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28039
28040         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28041         macro to return vdso values correctly in IFUNC implementations.
28042         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28043         Optimization by using IFUNC.
28044
28045 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28046             Richard Henderson  <rth@redhat.com>
28047             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28048
28049         * Makefile.in (bench): New target.
28050         * NEWS: Mention the benchmark framework.
28051         * Rules (bench): Likewise.
28052         (binaries-bench): Generate binaries for functions to
28053         benchmark.
28054         * benchtests/Makefile: New makefile for benchmark tests.
28055         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28056         programs.
28057         * benchtests/exp-inputs: New input file for EXP function.
28058         * benchtests/pow-inputs: New input file for POW function.
28059         * scripts/bench.pl: New script to generate source files for
28060         benchmark programs.
28061
28062 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28063
28064         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28065         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28066         computations on mantissa.  Use macros for rounding and
28067         division.
28068         (denorm): Likewise.
28069         (__dbl_mp): Likewise.
28070         (add_magnitudes): Likewise.
28071         (sub_magnitudes): Likewise.
28072         (__mul): Likewise.
28073         (__sqr): Likewise.
28074         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28075         powers of two in terms of TWOPOW macro.
28076         (mp_no): Make type of mantissa as MANTISSA_T.
28077         [!RADIXI]: Define RADIXI.
28078         [!TWO52]: Define TWO52.
28079         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28080
28081         * manual/nptl.texi (cindex): Modify threads to pthreads.
28082
28083 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28084
28085         * sysdeps/x86_64/preconfigure: Regenerated.
28086
28087 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28088
28089         [BZ #14155]
28090         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28091         0x1p28 and above.
28092         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28093         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28094         0x1p28 and above.
28095         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28096         * math/libm-test.inc (j0_test): Do not allow one spurious
28097         underflow exception.
28098         (y1_test): Likewise.
28099
28100 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28101
28102         * manual/Makefile (chapters): Add nptl.
28103         * manual/debug.texi (Debugging Support): Add link to Threads
28104         chapter.
28105         * manual/nptl.texi: New file.
28106
28107         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28108
28109 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28110
28111         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28112         for non-NULL pointer before the memory validity test. Pointed
28113         out by Holger Brunck <holger.brunck@keymile.com>.
28114
28115 2013-03-13  Andreas Schwab  <schwab@suse.de>
28116
28117         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28118         instead of .os.
28119
28120 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28121
28122         * timezone/zic.c: Update from tzcode 2013b.
28123
28124 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28125
28126         * manual/install.texi (Configuring and compiling):
28127         Mention i686 and i586.
28128         * INSTALL: Regenerate.
28129
28130 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28131
28132         * sysdeps/init_array/elf-init.c: New file.
28133         * csu/elf-init.c
28134         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28135         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28136
28137         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28138         __gmon_start__ as global, but as static with a .preinit_array pointer.
28139         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28140         * sysdeps/init_array/crti.S: New file, empty except for comments.
28141         * sysdeps/init_array/crtn.S: Likewise.
28142
28143 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28144
28145         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28146         definining bcopy.
28147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28148         Remove Prefer_SSE_for_memop.
28149         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28150         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28151         HAS_PREFER_SSE_FOR_MEMOP.
28152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28153         memset-x86-64.
28154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28155         Remove bzero, memset ifunc support.
28156         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28157         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28158         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28159         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28160
28161 2013-03-11  Andreas Schwab  <schwab@suse.de>
28162
28163         [BZ #15234]
28164         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28165         by SHLIB_COMPAT.
28166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28167         (GLIBC_2.16): Remove pthread_atfork.
28168
28169 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28170
28171         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28172         (ptestcases.h): Likewise.
28173
28174 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28175
28176         * Makeconfig ($(common-objpfx)config.status): Depend on
28177         sysdeps/*/preconfigure{,.in} too.
28178
28179 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28180
28181         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28182         (__free_hook): Use void * instead of __malloc_ptr_t.
28183         (__malloc_hook): Likewise.
28184         (__realloc_hook): Likewise.
28185         (__memalign_hook): Likewise.
28186         (__after_morecore_hook): Likewise.
28187         * malloc/arena.c (save_malloc_hook): Likewise.
28188         (save_free_hook): Likewise.
28189         * malloc/hooks.c (malloc_hook_ini): Likewise.
28190         (realloc_hook_ini): Likewise.
28191         (memalign_hook_ini): Likewise.
28192         * malloc/malloc.c (malloc_hook_ini): Likewise.
28193         (realloc_hook_ini): Likewise.
28194         (memalign_hook_ini): Likewise.
28195         (__free_hook): Likewise.
28196         (__malloc_hook): Likewise.
28197         (__realloc_hook): Likewise.
28198         (__memalign_hook): Likewise.
28199         (__libc_malloc): Likewise.
28200         (__libc_free): Likewise.
28201         (__libc_realloc): Likewise.
28202         (__libc_memalign): Likewise.
28203         (__libc_valloc): Likewise.
28204         (__libc_pvalloc): Likewise.
28205         (__libc_calloc): Likewise.
28206         (__posix_memalign): Likewise.
28207         * malloc/morecore.c (__sbrk): Likewise.
28208         (__default_morecore): Likewise.
28209
28210         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28211
28212         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28213         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28214         __malloc_ptrdiff_t.
28215
28216         * malloc/malloc.h (__malloc_size_t): Remove macro.
28217         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28218         __malloc_size_t.
28219         (old_memalign_hook): Likewise.
28220         (old_realloc_hook): Likewise.
28221         (struct hdr): Likewise.
28222         (flood): Likewise.
28223         (mallochook): Likewise.
28224         (memalignhook): Likewise.
28225         (reallochook): Likewise.
28226         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28227         (tr_old_realloc_hook): Likewise.
28228         (tr_old_memalign_hook): Likewise.
28229         (tr_mallochook): Likewise.
28230         (tr_reallochook): Likewise.
28231         (tr_memalignhook): Likewise.
28232
28233 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28234
28235         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28236         default_ldbl_pack and using as default implementation.
28237         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28238         implementation.
28239         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28240         redundant definition.
28241         (ldbl_insert_mantissa): Likewise.
28242         (ldbl_canonicalize): Likewise.
28243         (ldbl_nearbyint): Likewise.
28244         (ldbl_pack): Rename to ldbl_pack_ppc.
28245         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28246         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28247         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28248
28249 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28250
28251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28252         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28253         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28254         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28256         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28257         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28258         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28259
28260 2013-03-07  Andreas Jaeger  <aj@suse.de>
28261
28262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28263         bits/mman-linux.h.
28264
28265 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28266
28267         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28268         Include mpa.h and declare __MPEXP.
28269         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28270         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28271         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28272         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28273         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28274         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28275         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28276
28277         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28278         (__slowpow): Use long double EXPL and LOGL functions to
28279         compute POW.
28280         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28281         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28282         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28283         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28284         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28285         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28286
28287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28288         intermediate variable to calculate exponent.
28289         (__sqr): Likewise.
28290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28291         Likewise.
28292         (__sqr): Likewise.
28293
28294         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28295         [!NO__SQR]: Define __sqr.
28296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28297         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28298         sysdeps/ieee754/dbl-64/mpa.c.
28299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28300
28301         [BZ #12723]
28302         * posix/Makefile (tests): Add tst-pathconf.
28303         * posix/tst-pathconf.c: New test case.
28304         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28305         _PC_PIPE_BUF.
28306         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28307
28308 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28309
28310         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28311
28312 2013-03-06  Andreas Jaeger  <aj@suse.de>
28313
28314         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28315         definition via __MAP_ANONYMOUS.
28316
28317         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28318         it's not part of Linux headers.
28319
28320         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28321         (MAP_HUGE_MASK): Define.
28322
28323         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28324         Define.
28325         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28326         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28327         Define.
28328         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28329         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28330         Define.
28331         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28333         Define.
28334         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28335
28336         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28337         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28338         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28339         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28340         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28341         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28342
28343         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28344         Handle f2fs.
28345
28346         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28347         Handle f2fs and efivarfs.
28348
28349         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28350         f2fs.
28351
28352         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28353         (EFIVARFS_MAGIC): Add.
28354         (F2FS_LINK_MAX): Add.
28355
28356 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28357
28358         * stdio-common/vfprintf.c: Replace __builtin_expect with
28359         __glibc_unlikely.
28360
28361 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28362
28363         [BZ #13550]
28364         * sysdeps/generic/bp-sym.h: Remove file.
28365         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28367         <bp-sym.h> and <bp-asm.h>.
28368         (__longjmp): Don't use BP_SYM.
28369         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28370         and <bp-asm.h>.
28371         (memcpy): Don't use BP_SYM.
28372         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28373         <bp-sym.h> and <bp-asm.h>.
28374         (memcpy): Don't use BP_SYM.
28375         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28376         <bp-asm.h>.
28377         (memcpy): Don't use BP_SYM.
28378         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28379         <bp-asm.h>.
28380         (memset): Don't use BP_SYM.
28381         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28382         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28383         (__bzero): Don't use BP_SYM.
28384         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28385         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28386         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28387         <bp-sym.h> and <bp-asm.h>.
28388         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28389         pointers.
28390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28391         <bp-sym.h> and <bp-asm.h>.
28392         (memcpy): Don't use BP_SYM.
28393         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28394         <bp-sym.h> and <bp-asm.h>.
28395         (memset): Don't use BP_SYM.
28396         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28397         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28398         (__bzero): Don't use BP_SYM.
28399         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28400         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28401         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28402         <bp-sym.h> and <bp-asm.h>.
28403         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28404         pointers.
28405         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28406         <bp-sym.h> and <bp-asm.h>.
28407         (memcpy): Don't use BP_SYM.
28408         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28409         <bp-sym.h> and <bp-asm.h>.
28410         (memset): Don't use BP_SYM.
28411         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28412         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28413         (__bzero): Don't use BP_SYM.
28414         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28415         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28416         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28417         <bp-sym.h> and <bp-asm.h>.
28418         (__memchr): Don't use BP_SYM.
28419         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28420         <bp-sym.h> and <bp-asm.h>.
28421         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28422         pointers.
28423         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28424         <bp-sym.h> and <bp-asm.h>.
28425         (memcpy): Don't use BP_SYM.
28426         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28427         <bp-sym.h> and <bp-asm.h>.
28428         (__mempcpy): Don't use BP_SYM.
28429         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28430         <bp-sym.h> and <bp-asm.h>.
28431         (__memrchr): Don't use BP_SYM.
28432         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28433         <bp-sym.h> and <bp-asm.h>.
28434         (memset): Don't use BP_SYM.
28435         (__bzero): Likewise.
28436         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28437         <bp-sym.h> and <bp-asm.h>.
28438         (__rawmemchr): Don't use BP_SYM.
28439         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28440         <bp-sym.h> and <bp-asm.h>.
28441         (__STRCMP): Don't use BP_SYM.
28442         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28443         <bp-sym.h> and <bp-asm.h>.
28444         (strchr): Don't use BP_SYM.
28445         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28446         <bp-sym.h> and <bp-asm.h>.
28447         (__strchrnul): Don't use BP_SYM.
28448         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28449         <bp-sym.h> and <bp-asm.h>.
28450         (strlen): Don't use BP_SYM.
28451         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28452         <bp-sym.h> and <bp-asm.h>.
28453         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28454         pointers.
28455         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28456         <bp-sym.h> and <bp-asm.h>.
28457         (__strnlen): Don't use BP_SYM.
28458         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28459         <bp-sym.h> and <bp-asm.h>.
28460         (__GI__setjmp): Don't use BP_SYM.
28461         (_setjmp): Likewise.
28462         (__sigsetjmp): Likewise.
28463         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28464         (L(start_addresses)): Don't use BP_SYM.
28465         (_start): Likewise.
28466         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28467         <bp-asm.h>.
28468         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28469         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28470         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28471         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28472         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28473         <bp-asm.h>.
28474         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28475         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28476         about bounded pointers.
28477         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28478         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28479         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28480         <bp-asm.h>.
28481         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28482         about bounded pointers.  Remove GKM FIXME comments.
28483         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28484         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28485         <bp-asm.h>.
28486         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28487         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28488         Remove GKM FIXME comments.
28489         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28490         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28491         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28492         <bp-asm.h>.
28493         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28494         about bounded pointers.  Remove GKM FIXME comment.
28495         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28496         and <bp-asm.h>.
28497         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28498         pointers.
28499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28500         <bp-sym.h> and <bp-asm.h>.
28501         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28503         <bp-sym.h> and <bp-asm.h>.
28504         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28505         comment.
28506
28507 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28508
28509         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28510         call free(NULL).
28511
28512 2013-03-05  David S. Miller  <davem@davemloft.net>
28513
28514         * po/es.po: Update from translation team.
28515
28516 2013-03-05  Andreas Jaeger  <aj@suse.de>
28517
28518         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28519         <bits/mman-linux.h>.
28520         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28521         is fine.
28522         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28523         <bits/mman-linux.h> to end of file.
28524         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28525         is fine.
28526         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28527         <bits/mman-linux.h> to end of file.
28528         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28529         is fine.
28530         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28531         <bits/mman-linux.h> to end of file.
28532
28533         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28534         (MCL_CURRENT, MCL_FUTURE): Define here.
28535
28536 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28537
28538         [BZ #15232]
28539         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28540         attribute_hidden.
28541         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28542
28543 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28544
28545         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28546         fourth parameter needed for rt_sigprocmask syscall.
28547         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28548         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28549         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28550         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28551         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28552         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28553
28554 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28555
28556         [BZ #13550]
28557         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28558         comment about bounded pointers.
28559         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28560         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28561
28562 2013-03-04  Andreas Jaeger  <aj@suse.de>
28563
28564         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28565         common definitions.
28566
28567         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28568         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28569         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28570         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28571         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28573
28574 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28575
28576         [BZ #15055]
28577         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28578         __ieee754_sqrl instead of __sqrl.
28579
28580 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28581
28582         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28583         * sysdeps/powerpc/fpu_control.h: ... here.
28584         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28585         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28586         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28587         * sysdeps/powerpc/bits/mathinline.h: ... here.
28588
28589 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28590
28591         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28592         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28593         to just [NEED_DL_SYSINFO_DSO].
28594         * elf/dl-support.c: Likewise.
28595         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28596         * elf/rtld.c (dl_main): Likewise.
28597         * elf/setup-vdso.h (setup_vdso): Likewise.
28598         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28599         * sysdeps/unix/sysv/linux/dl-sysdep.c
28600         (_dl_discover_osversion): Likewise.
28601
28602 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28603
28604         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28605         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28606
28607 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28608
28609         * NEWS: Mention libm performance improvements and non-x86 PI
28610         futex support.
28611
28612         * csu/libc-start.c (__pthread_initialize_minimal): Change
28613         function arguments.
28614         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28615
28616 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28617
28618         [BZ #13550]
28619         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28620         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28621         <bp-sym.h> and <bp-asm.h>.
28622         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28623         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28624         and <bp-asm.h>.
28625         (memcpy): Don't use BP_SYM.
28626         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28627         <bp-asm.h>.
28628         (__mpn_add_n): Don't use BP_SYM.
28629         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28630         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28631         and <bp-asm.h>.
28632         (__mpn_addmul_1): Don't use BP_SYM.
28633         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28634         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28635         <bp-sym.h>.
28636         (_setjmp): Don't use BP_SYM.
28637         (__novmx_setjmp): Likewise.
28638         (__GI__setjmp): Likewise.
28639         (__vmx_setjmp): Likewise.
28640         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28641         <bp-sym.h>.
28642         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28643         (__bzero): Don't use BP_SYM.
28644         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28645         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28646         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28647         <bp-sym.h> and <bp-asm.h>.
28648         (memcpy): Don't use BP_SYM.
28649         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28650         <bp-sym.h> and <bp-asm.h>.
28651         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28652         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28653         <bp-sym.h> and <bp-asm.h>.
28654         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28655         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28656         <bp-asm.h>.
28657         (__mpn_lshift): Don't use BP_SYM.
28658         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28659         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28660         <bp-asm.h>.
28661         (memset): Don't use BP_SYM.
28662         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28663         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28664         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28665         <bp-asm.h>.
28666         (__mpn_mul_1): Don't use BP_SYM.
28667         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28668         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28669         <bp-sym.h> and <bp-asm.h>.
28670         (memcmp): Don't use BP_SYM.
28671         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28672         <bp-sym.h> and <bp-asm.h>.
28673         (memcpy): Don't use BP_SYM.
28674         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28675         <bp-sym.h> and <bp-asm.h>.
28676         (memset): Don't use BP_SYM.
28677         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28678         <bp-sym.h> and <bp-asm.h>.
28679         (strncmp): Don't use BP_SYM.
28680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28681         <bp-sym.h> and <bp-asm.h>.
28682         (memcpy): Don't use BP_SYM.
28683         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28684         <bp-sym.h> and <bp-asm.h>.
28685         (memset): Don't use BP_SYM.
28686         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28687         <bp-sym.h> and <bp-asm.h>.
28688         (__memchr): Don't use BP_SYM.
28689         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28690         <bp-sym.h> and <bp-asm.h>.
28691         (memcmp): Don't use BP_SYM.
28692         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28693         <bp-sym.h> and <bp-asm.h>.
28694         (memcpy): Don't use BP_SYM.
28695         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28696         <bp-sym.h> and <bp-asm.h>.
28697         (__mempcpy): Don't use BP_SYM.
28698         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28699         <bp-sym.h> and <bp-asm.h>.
28700         (__memrchr): Don't use BP_SYM.
28701         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28702         <bp-sym.h> and <bp-asm.h>.
28703         (memset): Don't use BP_SYM.
28704         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28705         <bp-sym.h> and <bp-asm.h>.
28706         (__rawmemchr): Don't use BP_SYM.
28707         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28708         <bp-sym.h> and <bp-asm.h>.
28709         (__STRCMP): Don't use BP_SYM.
28710         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28711         <bp-sym.h> and <bp-asm.h>.
28712         (strchr): Don't use BP_SYM.
28713         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28714         <bp-sym.h> and <bp-asm.h>.
28715         (__strchrnul): Don't use BP_SYM.
28716         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28717         <bp-sym.h> and <bp-asm.h>.
28718         (strlen): Don't use BP_SYM.
28719         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28720         <bp-sym.h> and <bp-asm.h>.
28721         (strncmp): Don't use BP_SYM.
28722         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28723         <bp-sym.h> and <bp-asm.h>.
28724         (__strnlen): Don't use BP_SYM.
28725         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28726         <bp-asm.h>.
28727         (__mpn_rshift): Don't use BP_SYM.
28728         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28729         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28730         <bp-sym.h> and <bp-asm.h>.
28731         (__sigsetjmp): Don't use BP_SYM.
28732         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28733         (L(start_addresses)): Don't use BP_SYM.
28734         (_start): Likewise.
28735         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28736         <bp-asm.h>.
28737         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28738         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28739         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28740         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28741         <bp-asm.h>.
28742         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28743         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28744         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28745         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28746         <bp-asm.h>.
28747         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28748         comments.
28749         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28750         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28751         <bp-asm.h>.
28752         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28753         FIXME comments.
28754         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28755         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28756         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28757         <bp-asm.h>.
28758         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28759         comment.
28760         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28761         and <bp-asm.h>.
28762         (strncmp): Don't use BP_SYM,
28763         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28764         <bp-asm.h>.
28765         (__mpn_sub_n): Don't use BP_SYM.
28766         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28767         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28768         and <bp-asm.h>.
28769         (__mpn_submul_1): Don't use BP_SYM.
28770         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28772         <bp-sym.h> and <bp-asm.h>.
28773         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28775         <bp-sym.h> and <bp-asm.h>.
28776         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28777         comment.
28778
28779 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28780
28781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28782         Use ZK to minimize writes to Z.
28783         (sub_magnitudes): Simplify code a bit.
28784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28785         Use ZK to minimize writes to Z.
28786         (sub_magnitudes): Simplify code a bit.
28787
28788 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28789
28790         * csu/gmon-start.c: Add special exception to license text.
28791
28792 2013-02-27  Richard Henderson  <rth@redhat.com>
28793
28794         * scripts/config.guess: Update from config.git.
28795         * scripts/config.sub: Likewise.
28796
28797 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28798
28799         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28800
28801         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28802
28803         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28804
28805         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28806
28807         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28808
28809 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28810
28811         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28812         [$(build-shared = yes].
28813
28814 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28815
28816         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28817         (__mul): Reduce iterations for calculating mantissa.
28818
28819         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28820         MPTWO.
28821         (__mpranred): Likewise.
28822
28823         [BZ #15160]
28824         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28825         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28826
28827 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28828
28829         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28830         Define __attribute__.
28831
28832 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28833
28834         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28835         unused.
28836         * posix/regex_internal.h (__attribute): Remove.
28837         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28838         (re_string_context_at): Likewise.
28839         (bitset_not): Use __attribute__ and mark function as possibly
28840         unused.
28841         (bitset_merge): Likewise.
28842         (bitset_mask): Likewise.
28843         (re_string_char_size_at): Likewise.
28844         (re_string_wchar_at): Likewise.
28845         (re_string_elem_size_at): Likewise.
28846
28847 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28848
28849         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28850         code.
28851         (cc32): Likewise.
28852
28853         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28854         (__acr): Likewise.
28855         (__cpy): Likewise.
28856         (norm): Likewise.
28857         (denorm): Likewise.
28858         (__dbl_mp): Likewise.
28859         (add_magnitudes): Likewise.
28860         (sub_magnitudes): Likewise.
28861         (__mul): Likewise.
28862         (__inv): Likewise.
28863
28864         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28865         style.
28866
28867         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28868         style.
28869
28870         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28871         code.
28872
28873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28874         up changes with default code.
28875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28876         Likewise.
28877
28878 2013-02-24  Allan McRae  <allan@archlinux.org>
28879
28880         * manual/socket.texi (The Internet Namespace): Order menu items
28881         to match that in the file.
28882
28883         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28884         node listing of the info page menu.
28885
28886 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28887
28888         [BZ #13550]
28889         * sysdeps/i386/bp-asm.h: Remove file.
28890         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28891         (PARMS): Do not use macros from bp-asm.h.
28892         (S1): Likewise.
28893         (S2): Likewise.
28894         (SIZE): Likewise.
28895         (__mpn_add_n): Do not use BP_SYM
28896         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28897         "bp-asm.h".
28898         (PARMS): Do not use macros from bp-asm.h.
28899         (S1): Likewise.
28900         (SIZE): Likewise.
28901         (__mpn_addmul_1): Do not use BP_SYM
28902         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28903         "bp-asm.h".
28904         (PARMS): Do not use macros from bp-asm.h.
28905         (SIGMSK): Likewise.
28906         (_setjmp): Likewise.  Do not use BP_SYM.
28907         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28908         "bp-asm.h".
28909         (PARMS): Do not use macros from bp-asm.h.
28910         (SIGMSK): Likewise.
28911         (setjmp): Likewise.  Do not use BP_SYM.
28912         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28913         "bp-asm.h".
28914         (PARMS): Do not use macros from bp-asm.h.
28915         (__frexp): Do not use BP_SYM.
28916         (frexp): Likewise.
28917         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28918         "bp-asm.h".
28919         (PARMS): Do not use macros from bp-asm.h.
28920         (__frexpf): Do not use BP_SYM.
28921         (frexpf): Likewise.
28922         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28923         "bp-asm.h".
28924         (PARMS): Do not use macros from bp-asm.h.
28925         (__frexpl): Do not use BP_SYM.
28926         (frexpl): Likewise.
28927         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28928         "bp-asm.h".
28929         (PARMS): Do not use macros from bp-asm.h.
28930         (__remquo): Do not use BP_SYM.
28931         (remquo): Likewise.
28932         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28933         "bp-asm.h".
28934         (PARMS): Do not use macros from bp-asm.h.
28935         (__remquof): Do not use BP_SYM.
28936         (remquof): Likewise.
28937         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28938         "bp-asm.h".
28939         (PARMS): Do not use macros from bp-asm.h.
28940         (__remquol): Do not use BP_SYM.
28941         (remquol): Likewise.
28942         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28943         "bp-asm.h".
28944         (PARMS): Do not use macros from bp-asm.h.
28945         (DEST): Likewise.
28946         (SRC): Likewise.
28947         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28948         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28949         "bp-asm.h".
28950         (PARMS): Do not use macros from bp-asm.h.
28951         (strlen): Do not use BP_SYM.
28952         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28953         "bp-asm.h".
28954         (PARMS): Do not use macros from bp-asm.h.
28955         (S1): Likewise.
28956         (S2): Likewise.
28957         (SIZE): Likewise.
28958         (__mpn_add_n): Do not use BP_SYM.
28959         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28960         "bp-asm.h".
28961         (PARMS): Do not use macros from bp-asm.h.
28962         (S1): Likewise.
28963         (SIZE): Likewise.
28964         (__mpn_addmul_1): Do not use BP_SYM.
28965         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28966         weak_alias.
28967         (bzero): Likewise.
28968         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28969         "bp-asm.h".
28970         (PARMS): Do not use macros from bp-asm.h.
28971         (S): Likewise.
28972         (SIZE): Likewise.
28973         (__mpn_lshift): Do not use BP_SYM.
28974         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28975         "bp-asm.h".
28976         (PARMS): Do not use macros from bp-asm.h.
28977         (DEST): Likewise.
28978         (SRC): Likewise.
28979         (LEN): Likewise.
28980         (memcpy): Likewise.  Do not use BP_SYM.
28981         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28982         libc_hidden_def and weak_alias.
28983         (mempcpy): Do not use BP_SYM in weak_alias.
28984         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28985         "bp-asm.h".
28986         (PARMS): Do not use macros from bp-asm.h.
28987         (DEST): Likewise.
28988         (LEN): Likewise.
28989         [!BZERO_P] (CHR): Likewise.
28990         (memset): Likewise.  Do not use BP_SYM.
28991         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28992         "bp-asm.h".
28993         (PARMS): Do not use macros from bp-asm.h.
28994         (S1): Likewise.
28995         (SIZE): Likewise.
28996         (__mpn_mul_1): Do not use BP_SYM.
28997         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28998         "bp-asm.h".
28999         (PARMS): Do not use macros from bp-asm.h.
29000         (S): Likewise.
29001         (SIZE): Likewise.
29002         (__mpn_rshift): Do not use BP_SYM.
29003         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29004         "bp-asm.h".
29005         (PARMS): Do not use macros from bp-asm.h.
29006         (STR): Likewise.
29007         (CHR): Likewise.
29008         (strchr): Likewise.  Do not use BP_SYM.
29009         (index): Do not use BP_SYM in weak_alias.
29010         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29011         "bp-asm.h".
29012         (PARMS): Do not use macros from bp-asm.h.
29013         (DEST): Likewise.
29014         (SRC): Likewise.
29015         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29016         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29017         "bp-asm.h".
29018         (PARMS): Do not use macros from bp-asm.h.
29019         (strlen): Do not use BP_SYM.
29020         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29021         "bp-asm.h".
29022         (PARMS): Do not use macros from bp-asm.h.
29023         (S1): Likewise.
29024         (S2): Likewise.
29025         (SIZE): Likewise.
29026         (__mpn_sub_n): Do not use BP_SYM.
29027         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29028         "bp-asm.h".
29029         (PARMS): Do not use macros from bp-asm.h.
29030         (S1): Likewise.
29031         (SIZE): Likewise.
29032         (__mpn_submul_1): Do not use BP_SYM.
29033         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29034         "bp-asm.h".
29035         (PARMS): Do not use macros from bp-asm.h.
29036         (S1): Likewise.
29037         (S2): Likewise.
29038         (SIZE): Likewise.
29039         (__mpn_add_n): Do not use BP_SYM.
29040         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29041         weak_alias.
29042         (bzero): Likewise.
29043         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29044         "bp-asm.h".
29045         (PARMS): Do not use macros from bp-asm.h.
29046         (BLK2): Likewise.
29047         (LEN): Likewise.
29048         (memcmp): Do not use BP_SYM.
29049         (bcmp): Do not use BP_SYM in weak_alias.
29050         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29051         "bp-asm.h".
29052         (PARMS): Do not use macros from bp-asm.h.
29053         (DEST): Likewise.
29054         (SRC): Likewise.
29055         (LEN): Likewise.
29056         (memcpy): Likewise.  Do not use BP_SYM.
29057         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29058         "bp-asm.h".
29059         (PARMS): Do not use macros from bp-asm.h.
29060         (DEST): Likewise.
29061         (SRC): Likewise.
29062         (LEN): Likewise.
29063         (memmove): Likewise.  Do not use BP_SYM.
29064         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29065         "bp-asm.h".
29066         (PARMS): Do not use macros from bp-asm.h.
29067         (DEST): Likewise.
29068         (SRC): Likewise.
29069         (LEN): Likewise.
29070         (__mempcpy): Likewise.  Do not use BP_SYM.
29071         (mempcpy): Do not use BP_SYM in weak_alias.
29072         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29073         "bp-asm.h".
29074         (PARMS): Do not use macros from bp-asm.h.
29075         (DEST): Likewise.
29076         (LEN): Likewise.
29077         [!BZERO_P] (CHR): Likewise.
29078         (memset): Likewise.  Do not use BP_SYM.
29079         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29080         "bp-asm.h".
29081         (PARMS): Do not use macros from bp-asm.h.
29082         (STR2): Likewise.
29083         (strcmp): Do not use BP_SYM.
29084         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29085         "bp-asm.h".
29086         (PARMS): Do not use macros from bp-asm.h.
29087         (STR): Likewise.
29088         (DELIM): Likewise.
29089         [USE_AS_STRTOK_R] (SAVE): Likewise.
29090         (FUNCTION): Likewise.  Do not use BP_SYM.
29091         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29092         aliases.
29093         (strtok_r): Likewise.
29094         (__GI___strtok_r): Likewise.
29095         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29096         (PARMS): Do not use macros from bp-asm.h.
29097         (S): Likewise.
29098         (SIZE): Likewise.
29099         (__mpn_lshift): Do not use BP_SYM.
29100         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29101         (PARMS): Do not use macros from bp-asm.h.
29102         (STR): Likewise.
29103         (CHR): Likewise.
29104         (__memchr): Do not use BP_SYM.
29105         (memchr): Do not use BP_SYM in weak_alias.
29106         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29107         (PARMS): Do not use macros from bp-asm.h.
29108         (BLK2): Likewise.
29109         (LEN): Likewise.
29110         (memcmp): Do not use BP_SYM.
29111         (bcmp): Do not use BP_SYM in weak_alias.
29112         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29113         (PARMS): Do not use macros from bp-asm.h.
29114         (S1): Likewise.
29115         (SIZE): Likewise.
29116         (__mpn_mul_1): Do not use BP_SYM.
29117         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29118         "bp-asm.h".
29119         (PARMS): Do not use macros from bp-asm.h.
29120         (STR): Likewise.
29121         (CHR): Likewise.
29122         (__rawmemchr): Do not use BP_SYM.
29123         (rawmemchr): Do not use BP_SYM in weak_alias.
29124         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29125         (PARMS): Do not use macros from bp-asm.h.
29126         (S): Likewise.
29127         (SIZE): Likewise.
29128         (__mpn_rshift): Do not use BP_SYM.
29129         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29130         (PARMS): Do not use macros from bp-asm.h.
29131         (SIGMSK): Likewise.
29132         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29133         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29134         (_start): Do not use BP_SYM.
29135         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29136         (PARMS): Do not use macros from bp-asm.h.
29137         (DEST): Likewise.
29138         (SRC): Likewise.
29139         (__stpcpy): Likewise.  Do not use BP_SYM.
29140         (stpcpy): Do not use BP_SYM in weak_alias.
29141         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29142         "bp-asm.h".
29143         (PARMS): Do not use macros from bp-asm.h.
29144         (DEST): Likewise.
29145         (SRC): Likewise.
29146         (LEN): Likewise.
29147         (__stpncpy): Likewise.  Do not use BP_SYM.
29148         (stpncpy): Do not use BP_SYM in weak_alias.
29149         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29150         (PARMS): Do not use macros from bp-asm.h.
29151         (STR): Likewise.
29152         (CHR): Likewise.
29153         (strchr): Likewise.  Do not use BP_SYM.
29154         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29155         "bp-asm.h".
29156         (PARMS): Do not use macros from bp-asm.h.
29157         (STR): Likewise.
29158         (CHR): Likewise.
29159         (__strchrnul): Likewise.  Do not use BP_SYM.
29160         (strchrnul): Do not use BP_SYM in weak_alias.
29161         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29162         "bp-asm.h".
29163         (PARMS): Do not use macros from bp-asm.h.
29164         (STOP): Likewise.
29165         (strcspn): Do not use BP_SYM.
29166         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29167         "bp-asm.h".
29168         (PARMS): Do not use macros from bp-asm.h.
29169         (STR): Likewise.
29170         (STOP): Likewise.
29171         (strpbrk): Likewise.  Do not use BP_SYM.
29172         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29173         "bp-asm.h".
29174         (PARMS): Do not use macros from bp-asm.h.
29175         (STR): Likewise.
29176         (CHR): Likewise.
29177         (strrchr): Likewise.  Do not use BP_SYM.
29178         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29179         (PARMS): Do not use macros from bp-asm.h.
29180         (SKIP): Likewise.
29181         (strspn): Do not use BP_SYM.
29182         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29183         (PARMS): Do not use macros from bp-asm.h.
29184         (STR): Likewise.
29185         (DELIM): Likewise.
29186         (SAVE): Likewise.
29187         (FUNCTION): Likewise.  Do not use BP_SYM.
29188         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29189         aliases.
29190         (strtok_r): Likewise.
29191         (__GI___strtok_r): Likewise.
29192         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29193         (PARMS): Do not use macros from bp-asm.h.
29194         (S1): Likewise.
29195         (S2): Likewise.
29196         (SIZE): Likewise.
29197         (__mpn_sub_n): Do not use BP_SYM.
29198         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29199         "bp-asm.h".
29200         (PARMS): Do not use macros from bp-asm.h.
29201         (S1): Likewise.
29202         (SIZE): Likewise.
29203         (__mpn_submul_1): Do not use BP_SYM.
29204         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29205         <bp-sym.h>.
29206         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29207         and <bp-asm.h>.
29208         (PARMS): Do not use macros from bp-asm.h.
29209         (FLAGS): Likewise.
29210         (PTID): Likewise.
29211         (TLS): Likewise.
29212         (CTID): Likewise.
29213         (__clone): Do not use BP_SYM.
29214         (clone): Do not use BP_SYM in weak_alias.
29215         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29216         and <bp-asm.h>.
29217         (PARMS): Do not use macros from bp-asm.h.
29218         (LEN): Likewise.
29219         (__mmap64): Do not use BP_SYM.
29220         (mmap64): Do not use BP_SYM in weak_alias.
29221         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29222         <bp-sym.h> and <bp-asm.h>.
29223         (PARMS): Do not use macros from bp-asm.h.
29224         (__posix_fadvise64_l64): Do not use BP_SYM.
29225         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29226         (PARMS): Do not use macros from bp-asm.h.
29227         (NSOPS): Likewise.
29228         (semtimedop): Do not use BP_SYM.
29229         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29230         and <bp-asm.h>.
29231
29232 2013-02-21  Allan McRae  <allan@archlinux.org>
29233
29234         * manual/message.texi (Charset conversion in gettext):
29235         Move @end statement to beginning of line.
29236
29237 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29238
29239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29240         static.
29241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29242         Likewise.
29243
29244         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29245         (denorm): Likewise.
29246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29248
29249 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29250
29251         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29252         tail-call to the resolved function if pltexit isn't needed.
29253
29254 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29255
29256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29257         or Y being zero as being unlikely.
29258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29259         Likewise.
29260
29261 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29262
29263         * manual/nss.texi (System Databases and Name Service Switch):
29264         Remove frobnicate @pxref.
29265
29266 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29267
29268         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29269         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29270
29271 2013-02-20  Petr Machata  <pmachata@redhat.com>
29272
29273         * elf/elf.h (R_ARM_TARGET1): New macro.
29274         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29275         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29276         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29277         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29278         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29279         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29280         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29281         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29282         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29283         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29284         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29285         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29286         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29287         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29288         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29289         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29290         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29291         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29292         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29293         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29294         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29295         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29296         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29297         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29298         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29299         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29300         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29301         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29302         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29303         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29304         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29305         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29306         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29307         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29308         (R_ARM_THM_GOT_BREL12): Likewise.
29309         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29310         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29311         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29312         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29313         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29314         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29315         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29316         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29317         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29318
29319 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29320
29321         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29322         __attribute_used__ to __attribute__ ((unused)).
29323
29324 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29325
29326         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29327         powerpc mpa.c.
29328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29329         comment formatting.
29330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29331
29332 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29333
29334         [BZ #13550]
29335         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29336         Remove macro.
29337         (ENTER): Remove both macro definitions.
29338         (LEAVE): Likewise.
29339         (CHECK_BOUNDS_LOW): Likewise.
29340         (CHECK_BOUNDS_HIGH): Likewise.
29341         (CHECK_BOUNDS_BOTH): Likewise.
29342         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29343         (RETURN_BOUNDED_POINTER): Likewise.
29344         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29345         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29346         (POP_ERRNO_LOCATION_RETURN): Likewise.
29347         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29348         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29349         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29350         macros.
29351         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29352         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29353         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29354         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29355         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29356         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29357         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29358         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29359         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29360         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29361         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29362         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29363         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29364         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29365         removed macros.
29366         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29367         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29368         macros.
29369         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29370         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29371         * sysdeps/i386/i586/memset.S (memset): Likewise.
29372         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29373         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29374         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29375         macros.
29376         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29377         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29378         Change uses of L(2) to L(out).
29379         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29380         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29381         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29382         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29383         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29384         removed macros.
29385         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29386         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29387         macros.
29388         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29389         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29390         (RETURN): Do not use macro LEAVE.
29391         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29392         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29393         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29394         * sysdeps/i386/i686/memset.S (memset): Likewise.
29395         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29396         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29397         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29398         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29399         Likewise.
29400         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29401         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29402         L(1_2) and L(1_3) into L(1).
29403         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29404         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29405         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29406         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29407         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29408         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29409         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29410         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29411         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29412         macros.
29413         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29414         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29415         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29416         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29417         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29418         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29419         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29420         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29421         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29422         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29423         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29424         * sysdeps/i386/strspn.S (strspn): Likewise.
29425         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29426         conditional code.
29427         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29428         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29429         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29430         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29431         L(1_3) into L(1_1).
29432         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29433         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29434         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29435         macros.
29436         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29437
29438 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29439
29440         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29441         macro.
29442
29443 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29444
29445         * math/atest-exp.c (exp_mpn): Remove ROUND.
29446         * math/atest-exp2.c (exp_mpn): Likewise.
29447         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29448
29449         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29450         * stdlib/tst-tls-atexit-lib.c: Likewise.
29451         * stdlib/tst-tls-atexit.c: Likewise.
29452
29453 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29454
29455         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29456         and __attribute_alloc_size__.
29457
29458 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29459
29460         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29461         __attribute_alloc_size__.
29462         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29463         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29464
29465 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29466
29467         * include/programs/xmalloc.h: New file.
29468         * catgets/gencat.c: Include it.
29469         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29470         * elf/pldd.c: Likewise.
29471         * iconv/iconv_charmap.c: Likewise.
29472         * iconv/iconvconfig.c: Likewise.
29473         * iconv/strtab.c: Likewise.
29474         * locale/programs/locale.c: Likewise.
29475         * locale/programs/localedef.h: Likewise.
29476         * locale/programs/simple-hash.c: Likewise.
29477         * nscd/nscd.h: Likewise.
29478         * nss/makedb.c: Likewise.
29479         * sysdeps/generic/ldconfig.h: Likewise.
29480
29481 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29482
29483         * Versions.def: Add GLIBC_2.18.
29484         * include/link.h (struct link_map): New member l_tls_dtor_count.
29485         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29486         (__call_tls_dtors): Likewise.
29487         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29488         __cxa_thread_atexit_impl.
29489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29490         Likewise.
29491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29492         Likewise.
29493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29494         Likewise.
29495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29496         Likewise.
29497         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29499         Likewise.
29500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29501         Likewise.
29502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29504         Likewise.
29505         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29506         (tests): Add test case tst-tls-atexit.
29507         (modules-names): Add shared library for tst-tls-atexit.
29508         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29509         (GLIBC_PRIVATE): Add __call_tls_dtors.
29510         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29511         for libstdc++.
29512         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29513         * stdlib/tst-tls-atexit.c: New test case.
29514         * stdlib/tst-tls-atexit-lib.c: New test case.
29515
29516         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29517
29518         * elf/Versions (ld): Add _dl_find_dso_for_object.
29519         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29520         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29521         (dl_open_worker): Use _dl_find_dso_for_object.
29522         * elf/dl-sym.c (do_sym): Likewise.
29523         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29524
29525 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29526
29527         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29528         Syntactic changes only.
29529         (_dl_runtime_profile): Do a tail-call to the resolved function.
29530
29531 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29532
29533         [BZ #13550]
29534         * sysdeps/x86_64/bp-asm.h: Remove file.
29535         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29536         <bp-sym.h> and <bp-asm.h>.
29537         (__clone): Do not use BP_SYM.
29538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29539         <bp-sym.h> and <bp-asm.h>.
29540         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29541         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29542         "bp-asm.h".
29543         (_setjmp): Do not use BP_SYM.
29544         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29545         "bp-asm.h".
29546         (setjmp): Do not use BP_SYM.
29547         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29548         libc_hidden_def.
29549         (mempcpy): Do not use BP_SYM in weak_alias.
29550         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29551         "bp-asm.h".
29552         (strchr): Do not use BP_SYM.
29553         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29554         "bp-asm.h".
29555         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29556         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29557         (_start): Do not use BP_SYM.
29558         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29559         "bp-asm.h".
29560         (strcat): Do not use BP_SYM.
29561         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29562         "bp-asm.h".
29563         (STRCMP): Do not use BP_SYM.
29564         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29565         "bp-asm.h".
29566         (STRCPY): Do not use BP_SYM.
29567         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29568         "bp-asm.h".
29569         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29570         "bp-asm.h".
29571         (FUNCTION): Do not use BP_SYM.
29572         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29573         weak_alias.
29574         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29575
29576 2013-02-17  Andreas Jaeger  <aj@suse.de>
29577
29578         * time/Versions: Sort entries.
29579         * string/Versions: Likewise.
29580         * resolv/Versions: Likewise.
29581         * posix/Versions: Likewise.
29582         * iconv/Versions: Likewise.
29583         * elf/Versions: Likewise.
29584         * wcsmbs/Versions: Likewise.
29585
29586 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29587
29588         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29589         loop termination condition.
29590
29591         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29592         variable to calculate EZ.
29593         (__sqr): Likewise.
29594
29595         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29596         the lower precision input.
29597
29598 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29599
29600         [BZ #13550]
29601         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29602         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29603         (run-via-rtld-prefix): Do not handle %-bp tests.
29604         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29605         (all-object-suffixes): Remove .ob.
29606         (bppfx): Remove variable.
29607         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29608         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29609         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29610         [$(build-bounded) = yes] (libtype.ob): Likewise.
29611         * Makerules (elide-routines.ob): Remove variable.
29612         (do-tests-clean): Do not handle *-bp.out.
29613         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29614         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29615         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29616         (tests): Do not include $(tests-bp.out).
29617         (xtests): Do not include $(xtests-bp.out).
29618         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29619         [$(build-bounded) = yes] ($(addprefix
29620         $(objpfx),$(binaries-bounded))): Remove rule.
29621         ($(objpfx)%-bp.out): Remove rule.
29622         * config.make.in (build-bounded): Remove variable.
29623         * crypt/Makefile [$(build-bounded) = yes]
29624         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29625         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29626         append to variable.
29627         [$(build-bounded) = yes] (install-lib): Likewise.
29628         [$(build-bounded) = yes] (generated): Likewise.
29629         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29630         Remove rule.
29631         * intl/Makefile [$(build-bounded) = yes]
29632         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29633         * math/Makefile [$(build-bounded) = yes]
29634         ($(tests:%=$(objpfx)%-bp): Likewise.
29635         * misc/Makefile [$(build-bounded) = yes]
29636         ($(objpfx)tst-tsearch-bp): Likewise.
29637         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29638         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29639         Remove dependency.
29640         * string/Makefile (o-objects.ob): Remove variable.
29641         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29642         (CFLAGS-.ob): Remove variable.
29643         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29644         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29645         both definitions of variable.
29646         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29647         (ASFLAGS-.ob): Remove variable.
29648
29649 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29650
29651         [BZ #13550]
29652         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29653         Remove __BOUNDED_POINTERS__ from condition.
29654         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29655         * string/bits/string2.h [!__NO_STRING_INLINES &&
29656         !__BOUNDED_POINTERS__]: Likewise.
29657         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29658         Likewise.
29659         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29660         Remove conditional code.
29661         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29662         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29663         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29664         condition.
29665
29666         [BZ #13550]
29667         * csu/libc-start.c: Do not include <bp-sym.h>.
29668         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29669         * elf/dl-open.c: Do not include <bp-sym.h>.
29670         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29671         * math/fegetenv.c: Do not include <bp-sym.h>.
29672         (fegetenv): Do not use BP_SYM in versioned symbols.
29673         * nptl/sysdeps/pthread/bits/libc-lockP.h
29674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29675         <bp-sym.h>.
29676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29677         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29679         (__pthread_mutex_destroy): Likewise.
29680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29681         (__pthread_mutex_lock): Likewise.
29682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29683         (__pthread_mutex_trylock): Likewise.
29684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29685         (__pthread_mutex_unlock): Likewise.
29686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29687         (__pthread_mutexattr_init): Likewise.
29688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29689         (__pthread_mutexattr_destroy): Likewise.
29690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29691         (__pthread_mutexattr_settype): Likewise.
29692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29693         (__pthread_rwlock_init): Likewise.
29694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29695         (__pthread_rwlock_destroy): Likewise.
29696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29697         (__pthread_rwlock_rdlock): Likewise.
29698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29699         (__pthread_rwlock_tryrdlock): Likewise.
29700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29701         (__pthread_rwlock_wrlock): Likewise.
29702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29703         (__pthread_rwlock_trywrlock): Likewise.
29704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29705         (__pthread_rwlock_unlock): Likewise.
29706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29707         (__pthread_key_create): Likewise.
29708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29709         (__pthread_setspecific): Likewise.
29710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29711         (__pthread_getspecific): Likewise.
29712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29713         Likewise.
29714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29715         (_pthread_cleanup_push_defer): Likewise.
29716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29717         (_pthread_cleanup_pop_restore): Likewise.
29718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29719         (pthread_setcancelstate): Likewise.
29720         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29721         <bp-sym.h>.
29722         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29723         (memchr): Do not use BP_SYM in weak_alias.
29724         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29725         (fegetenv): Do not use BP_SYM in versioned symbols.
29726         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29727         (fesetenv): Do not use BP_SYM in versioned symbols.
29728         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29729         (feupdateenv): Do not use BP_SYM in versioned symbols.
29730         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29731         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29732         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29733         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29734         (open64): Do not use BP_SYM in weak_alias.
29735         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29736         (fegetenv): Do not use BP_SYM in versioned symbols.
29737         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29738         (fesetenv): Do not use BP_SYM in versioned symbols.
29739         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29740         (feupdateenv): Do not use BP_SYM in versioned symbols.
29741         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29742         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29743         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29744         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29745         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29746         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29747         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29748         <bp-sym.h>.
29749         (__libc_start_main): Do not use BP_SYM.
29750
29751 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29752
29753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29754         redundant return line.
29755         (norm): Likewise.
29756         (denorm): Likewise.
29757         (dbl_mp): Likewise.
29758         (sub_magnitudes): Likewise.
29759         (__add): Likewise.
29760         (__sub): Likewise.
29761         (__mul): Likewise.
29762         (__inv): Likewise.
29763         (__dvd): Likewise.
29764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29765         (norm): Likewise.
29766         (denorm): Likewise.
29767         (dbl_mp): Likewise.
29768         (sub_magnitudes): Likewise.
29769         (__add): Likewise.
29770         (__sub): Likewise.
29771         (__mul): Likewise.
29772         (__inv): Likewise.
29773         (__dvd): Likewise.
29774
29775         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29776         instead of __mul.
29777         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29778         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29779         (cc32): Likewise.
29780
29781         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29782         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29784         of __mul for squares.
29785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29786         function
29787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29788         Likewise.
29789         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29790         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29791
29792 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29793
29794         [BZ #13550]
29795         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29796         code.
29797         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29798         prototype or function definition.  Rename ubp_* variables and
29799         parameters.  Remove argv definitions conditional on
29800         [__BOUNDED_POINTERS__].
29801         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29802         * elf/dl-runtime.c (_dl_fixup): Likewise.
29803         * include/set-hooks.h (RUN_HOOK): Likewise.
29804         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29805         definition.
29806         * string/strcpy.c (strcpy): Do not use __unbounded.
29807         * sysdeps/generic/frame.h (struct layout): Likewise.
29808         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29809         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29810         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29811         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29812         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29813         (__backtrace): Likewise.
29814         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29815         use __ptrvalue.
29816         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29817         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29818         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29819         Likewise.
29820         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29821         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29822         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29823         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29824         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29825         Do not use __unbounded.
29826         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29827         Rename __unboundedrlimits parameter to rlimits in prototype.
29828         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29829         Do not use __unbounded.
29830         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29831         not use __ptrvalue.
29832         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29833         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29834         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29835         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29836         __ptrvalue or __unbounded.
29837         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29838         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29839         use __unbounded.
29840         (__new_msgctl): Do not use __ptrvalue.
29841         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29842         __unbounded.
29843         (__libc_msgrcv): Do not use __ptrvalue.
29844         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29845         startup_info): Do not use __unbounded.
29846         (__libc_start_main): Likewise.  Rename ubp_* variables and
29847         parameters.  Remove argv definitions conditional on
29848         [__BOUNDED_POINTERS__].
29849         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29850         __ptrvalue.
29851         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29852         use __unbounded.
29853         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29854         or __ptrvalue.
29855         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29856         use __unbounded.
29857         (__new_shmctl): Do not use __ptrvalue.
29858         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29859         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29860         Likewise.
29861         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29862         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29863         (__libc_sigaction): Likewise.
29864         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29865         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29866         Likewise.
29867         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29868
29869 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29870
29871         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29872
29873         * string/mempcpy.c: Implement by calling memcpy.
29874
29875 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876
29877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29878
29879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29880         evaluation.
29881
29882         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29883         values in the mantissa.
29884
29885         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29886         minimize writes to Z.
29887         (sub_magnitudes): Simplify code a bit.
29888
29889 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29890
29891         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29892         from the message.  The linker prefixes all warnings with that already.
29893
29894 2013-02-12  Andreas Schwab  <schwab@suse.de>
29895
29896         [BZ #15078]
29897         * posix/regexec.c (extend_buffers): Add parameter min_len.
29898         (check_matching): Pass minimum needed length.
29899         (clean_state_log_if_needed): Likewise.
29900         (get_subexp): Likewise.
29901         * posix/Makefile (tests): Add bug-regex34.
29902         (bug-regex34-ENV): Define.
29903         * posix/bug-regex34.c: New file.
29904
29905         [BZ #11561]
29906         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29907         elements compare against the byte sequence of it, not its name.
29908         * posix/Makefile (tests): Add bug-regex35.
29909         (bug-regex35-ENV): Define.
29910         * posix/bug-regex35.c: New file.
29911
29912 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29913
29914         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29915         comment.
29916         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29917         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29918         (CHECK_EOL): Add undef.
29919
29920 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29921
29922         * bits/stdlib-bsearch.h: New file.
29923         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29924         * stdlib/stdlib.h: Likewise.
29925
29926 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29927
29928         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29929         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29930         declaration.
29931         * manual/search.texi (Array Search Function): Add missing const in
29932         lfind prototype.
29933         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29934         declaration to use rlim_t.
29935         (Basic Scheduling Functions): Remove erroneous const from
29936         sched_getparam prototype.  Remove erroneous * from
29937         sched_get_priority_max and sched_get_priority_min prototypes.
29938         (Resource Usage): Fix summary @comment on vtimes to refer to
29939         sys/vtimes.h rather than vtimes.h.
29940         Add missing *s in vtimes prototype.
29941         (Limits on Resources): Fix ulimit prototype to return long int.
29942         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29943         prototypes to use long int rather than double.
29944         (BSD Random): Fix initstate and setstate to use char *, not void *.
29945         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29946         prototype to make second argument 'struct aiocb64 *const[]'.
29947         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29948         (Status of AIO Operations): Remove erroneous const in aio_return and
29949         aio_return64 prototypes.
29950         (Synchronizing I/O): Fix sync prototype to return void.
29951         * manual/startup.texi (Suboptions): Remove an erroneous const in
29952         getsubopt prototype.
29953         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29954         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29955         use size_t rather than int.
29956         (Scanning All Users): Likewise for getpwent_r.
29957         (Setting Groups): Add missing const to setgroups prototype.
29958         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29959         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29960         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29961         'const void *' rather than 'const char *'.
29962         (Host Address Functions): Likewise for inet_ntop.
29963         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29964         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29965         ssize_t for return value.
29966         (Sending Data): Likewise for send, sendto, sendmsg.
29967         (Socket Option Functions): Add a missing const in setsockopt prototype.
29968         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29969         use wchar_t for the argument.
29970         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29971         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29972         take no arguments.
29973         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29974         double/float/long double for second argument.
29975         Fix return types of significand, significandf, significandl.
29976         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29977         argument in fchmod prototype.
29978         (File Owner): Use uid_t and gid_t in fchown prototype.
29979         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29980         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29981         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29982         use 'const struct dirent **' as argument types to CMP function pointer
29983         argument.
29984         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29985         (File Times): Fix summary magic @comment for struct utimbuf and utime
29986         to refer to utime.h, not time.h.
29987         * manual/string.texi (Argz Functions): Add missing const in
29988         argz_extract and argz_next prototypes.
29989         (Finding Tokens in a String): Likewise for basename.
29990         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29991         (Copying and Concatenation): Fix typo in wmemmove prototype.
29992         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29993         (Signal Stack): Remove erroneous const in sigstack prototype.
29994         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29995         prototype.
29996         (Simple Calendar Time): Likewise for stime.
29997         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29998         prototype.
29999         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30000         say sys/sysctl.h instead.
30001         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30002         and vsyslog prototypes.
30003
30004 2013-02-11  Tom de Vries  <tom@codesourcery.com>
30005
30006         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30007         Remove.
30008
30009 2013-02-11  Roland McGrath  <roland@hack.frob.com>
30010
30011         * misc/sys/mman.h: Fix typo in mremap comment.
30012
30013 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30014
30015         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30016         the '\0' terminator.
30017
30018 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30019
30020         [BZ #13550]
30021         * debug/segfault.c: Don't include <bp-checks.h>.
30022         * sysdeps/generic/bp-checks.h: Remove file.
30023         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30024         (__GETDENTS): Don't use CHECK_N.
30025         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30026         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30027         (__getgroups): Don't use CHECK_N.
30028         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30029         (setgroups): Don't use CHECK_N.
30030         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30031         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30032         (__libc_msgrcv): Don't use CHECK_N.
30033         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30034         (__libc_msgsnd): Don't use CHECK_N.
30035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30036         <bp-checks.h>.
30037         (__libc_pread): Don't use CHECK_N.
30038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30039         include <bp-checks.h>.
30040         (__libc_pread64): Don't use CHECK_N.
30041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30042         include <bp-checks.h>.
30043         (__libc_pwrite): Don't use CHECK_N.
30044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30045         include <bp-checks.h>.
30046         (__libc_pwrite64): Don't use CHECK_N.
30047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30048         <bp-checks.h>.
30049         (__libc_pread): Don't use CHECK_N.
30050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30051         include <bp-checks.h>.
30052         (__libc_pread64): Don't use CHECK_N.
30053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30054         include <bp-checks.h>.
30055         (__libc_pwrite): Don't use CHECK_N.
30056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30057         include <bp-checks.h>.
30058         (__libc_pwrite64): Don't use CHECK_N.
30059         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30060         (do_pread): Don't use CHECK_N.
30061         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30062         (do_pread64): Don't use CHECK_N.
30063         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30064         (do_pwrite): Don't use CHECK_N.
30065         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30066         (do_pwrite64): Don't use CHECK_N.
30067         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30068         (__libc_readv): Don't use CHECK_N.
30069         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30070         (semop): Don't use CHECK_N.
30071         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30072         <bp-checks.h>.
30073         (semtimedop): Don't use CHECK_N.
30074         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30075         (__libc_pread): Don't use CHECK_N.
30076         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30077         <bp-checks.h>.
30078         (__libc_pread64): Don't use CHECK_N.
30079         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30080         <bp-checks.h>.
30081         (__libc_pwrite): Don't use CHECK_N.
30082         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30083         <bp-checks.h>.
30084         (__libc_pwrite64): Don't use CHECK_N.
30085         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30086         <bp-checks.h>.
30087         (__libc_msgrcv): Don't use CHECK_N.
30088         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30089         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30090         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30091         (__libc_writev): Don't use CHECK_N.
30092
30093 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30094
30095         * string/strcpy.c: Removed unused variable.
30096
30097         * Makeconfig (+sysdep-includes): Define with := rather than =.
30098         Use an existing include/ subdir of each sysdeps dir before it.
30099
30100 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30101
30102         * nscd/connection.c (register_traced_file): Comment function.
30103         [HAVE_INOTIFY] (union __inev): Define.
30104         [HAVE_INOTIFY] (inotify_check_files): New function.
30105         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30106         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30107         clear_db_cache.
30108         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30109
30110 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30111
30112         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30113         loaded if not already and that a failure is permanent.
30114
30115 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30116
30117         [BZ #15006]
30118         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30119         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30120
30121 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30122
30123         [BZ #13550]
30124         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30125         (CHECK_1_NULL_OK): Likewise.
30126         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30127         (__fxstat): Do not use CHECK_1.
30128         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30129         <bp-checks.h>.
30130         (___fxstat64): Do not use CHECK_1.
30131         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30132         <bp-checks.h>.
30133         (__fxstatat): Do not use CHECK_1.
30134         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30135         <bp-checks.h>.
30136         (__fxstatat64): Do not use CHECK_1.
30137         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30138         <bp-checks.h>.
30139         (__fxstat): Do not use CHECK_1.
30140         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30141         <bp-checks.h>.
30142         (__fxstatat): Do not use CHECK_1.
30143         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30144         <bp-checks.h>.
30145         (__getresgid): Do not use CHECK_1.
30146         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30147         <bp-checks.h>.
30148         (__getresuid): Do not use CHECK_1.
30149         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30150         <bp-checks.h>.
30151         (__lxstat): Do not use CHECK_1.
30152         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30153         <bp-checks.h>.
30154         (__old_msgctl): Do not use CHECK_1.
30155         (__new_msgctl): Likewise.
30156         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30157         <bp-checks.h>.
30158         (__new_setrlimit): Do not use CHECK_1.
30159         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30160         <bp-checks.h>.
30161         (__old_shmctl): Do not use CHECK_1.
30162         (__new_shmctl): Likewise.
30163         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30164         <bp-checks.h>.
30165         (__xstat): Do not use CHECK_1.
30166         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30167         (__lxstat): Do not use CHECK_1.
30168         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30169         <bp-checks.h>.
30170         (___lxstat64): Do not use CHECK_1.
30171         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30172         (__old_msgctl): Do not use CHECK_1.
30173         (__new_msgctl): Likewise.
30174         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30175         <bp-checks.h>.
30176         (__gettimeofday): Do not use CHECK_1.
30177         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30178         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30179         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30180         <bp-checks.h>.
30181         (__gettimeofday): Do not use CHECK_1.
30182         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30183         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30184         (__new_shmctl): Do not use CHECK_1.
30185         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30186         <bp-checks.h>.
30187         (do_sigtimedwait): Do not use CHECK_1.
30188         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30189         <bp-checks.h>.
30190         (do_sigwaitinfo): Do not use CHECK_1.
30191         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30192         <bp-checks.h>.
30193         (msgctl): Do not use CHECK_1.
30194         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30195         <bp-checks.h>.
30196         (shmctl): Do not use CHECK_1.
30197         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30198         (ustat): Do not use CHECK_1.
30199         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30200         <bp-checks.h>.
30201         (__fxstat): Do not use CHECK_1.
30202         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30203         <bp-checks.h>.
30204         (__fxstatat): Do not use CHECK_1.
30205         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30206         <bp-checks.h>.
30207         (__lxstat): Do not use CHECK_1.
30208         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30209         <bp-checks.h>.
30210         (__xstat): Do not use CHECK_1.
30211         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30212         (__xstat): Do not use CHECK_1.
30213         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30214         (___xstat64): Do not use CHECK_1.
30215
30216         [BZ #13550]
30217         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30218         definitions.
30219         (CHECK_BOUNDS_HIGH): Likewise.
30220         * string/strcpy.c: Do not include <bp-checks.h>.
30221         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30222
30223 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30224
30225         * nscd/nscd-client.h (__nscd_drop_map_ref):
30226         Add __attribute__ ((unused)).
30227         * nis/nss-nisplus.h (niserr2nss): Likewise.
30228
30229         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30230         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30231
30232         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30233         Remove inline keyword.
30234         * include/rounding-mode.h (round_away): Likewise.
30235         * libio/wfileops.c (adjust_wide_data): Likewise.
30236         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30237         (__m128i_strloadu_tolower): Likewise.
30238         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30239         (__m128i_strloadu_tolower): Likewise.
30240         * time/mktime.c (ydhms_diff): Likewise.
30241         * locale/elem-hash.h (elem_hash): Likewise.
30242         * locale/setlocale.c (setdata): Likewise.
30243         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30244         (re_string_wchar_at): Likewise.
30245         (bitset_not, bitset_merge, bitset_mask): Likewise.
30246         [!(__GNUC__ > 3)] (inline): Remove macro.
30247         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30248         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30249         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30250         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30251         * string/memcmp.c (memcmp_bytes): Likewise.
30252         * locale/programs/locarchive.c (compute_hashval): Likewise.
30253         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30254         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30255         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30256         * nss/getent.c (print_rpc, print_protocols): Likewise.
30257         (print_passwd, print_group, print_aliases): Likewise.
30258         * nis/nss-nisplus.h (niserr2nss): Likewise.
30259         * nscd/connections.c (restart_p): Likewise.
30260         Change return type to bool.
30261
30262 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30263
30264         * Makeconfig (all-Depend-files): Add existing
30265         $(sorted-subdirs:=/Depend) files.
30266         (all-subdirs): Remove nss.
30267         * sysdeps/unix/inet/Subdirs: Add it here instead.
30268         * hesiod/Depend: New file.
30269
30270         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30271         instead of calling alloca.
30272
30273         * io/lseek.c (__lseek): Rename to __libc_lseek.
30274         Define __lseek as an alias.
30275
30276         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30277
30278 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30279
30280         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30281         else clause and remove check for non-standard endianness.
30282
30283 2013-02-04  David S. Miller  <davem@davemloft.net>
30284
30285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30286
30287 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30288
30289         [BZ #13550]
30290         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30291         (__ubp_memchr): Remove prototype.
30292         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30293         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30294         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30295         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30296         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30297         Remove alias.
30298         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30299         (__ubp_memchr): Likewise.
30300         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30301         (__ubp_memchr): Likewise.
30302         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30303         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30304         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30305         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30306         CHECK_STRING.
30307         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30308         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30309         (__getcwd): Do not use CHECK_STRING.
30310         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30311         <bp-checks.h>.
30312         (__real_chown): Do not use CHECK_STRING.
30313         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30314         <bp-checks.h>.
30315         (fchownat): Do not use CHECK_STRING.
30316         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30317         CHECK_STRING.
30318         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30319         <bp-checks.h>.
30320         (__lchown): Do not use CHECK_STRING.
30321         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30322         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30323         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30324         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30326         include <bp-checks.h>.
30327         (truncate64): Do not use CHECK_STRING.
30328         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30329         <bp-checks.h>.
30330         (__real_chown): Do not use CHECK_STRING.
30331         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30332         <bp-checks.h>.
30333         (__lchown): Do not use CHECK_STRING.
30334         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30335         <bp-checks.h>.
30336         (__chown): Do not use CHECK_STRING.
30337         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30338         <bp-checks.h>.
30339         (truncate64): Do not use CHECK_STRING.
30340         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30341         Likewise.
30342         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30343         (__xmknod): Do not use CHECK_STRING.
30344         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30345         <bp-checks.h>.
30346         (__xmknodat): Do not use CHECK_STRING.
30347         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30348         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30349
30350 2013-02-04  Andreas Schwab  <schwab@suse.de>
30351
30352         [BZ #14142]
30353         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30354         * include/netdb.h: Likewise for h_errno.
30355         * elf/tst-stackguard1.c: Include <tls.h>.
30356
30357 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30358
30359         * elf/link.h (struct link_map): Extend the l_addr comment.
30360         * include/link.h (struct link_map): Likewise.
30361
30362 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30363
30364         [BZ #13550]
30365         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30366         (BOUNDED_1): Remove macro.
30367         * debug/backtrace.c: Don't include <bp-checks.h>.
30368         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30369         (__backtrace): Likewise.
30370         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30371         <bp-checks.h>.
30372         (__backtrace): Don't use BOUNDED_1.
30373         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30374         <bp-checks.h>.
30375         (__backtrace): Don't use BOUNDED_1.
30376         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30377         (__backtrace): Don't use BOUNDED_1.
30378         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30379         (shmat): Don't use BOUNDED_N.
30380
30381 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30382
30383         [BZ #13550]
30384         * sysdeps/generic/bp-start.h: Remove file.
30385         * csu/libc-start.c: Don't include <bp-start.h>.
30386         (LIBC_START_MAIN): Set up __environ directly instead of using
30387         INIT_ARGV_and_ENVIRON.
30388         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30389         <bp-start.h>.
30390
30391         [BZ #13550]
30392         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30393         definitions.
30394         (CHECK_FCNTL): Likewise.
30395         (CHECK_N_PAGES): Likewise.
30396
30397         [BZ #13550]
30398         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30399         definitions.
30400         (CHECK_SIGSET_NULL_OK): Likewise.
30401         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30402         <bp-checks.h>.
30403         (sigpending): Don't use CHECK_SIGSET.
30404         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30405         <bp-checks.h>.
30406         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30407         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30408         <bp-checks.h>.
30409         (do_sigsuspend): Don't use CHECK_SIGSET.
30410         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30411         use CHECK_SIGSET.
30412         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30413         (do_sigwait): Don't use CHECK_SIGSET.
30414         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30415         use CHECK_SIGSET.
30416         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30417         include <bp-checks.h>.
30418         (sigpending): Don't use CHECK_SIGSET.
30419         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30420         include <bp-checks.h>.
30421         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30422         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30423         <bp-checks.h>.
30424         (sigpending): Don't use CHECK_SIGSET.
30425         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30426         <bp-checks.h>.
30427         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30428
30429         [BZ #13550]
30430         * sysdeps/generic/bp-semctl.h: Remove file.
30431         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30432         <bp-checks.h> and <bp-semctl.h>.
30433         (__old_semctl): Don't use CHECK_SEMCTL.
30434         (__new_semctl): Likewise.
30435         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30436         and <bp-semctl.h>.
30437         (__old_semctl): Don't use CHECK_SEMCTL.
30438         (__new_semctl): Likewise.
30439         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30440         <bp-checks.h> and <bp-semctl.h>.
30441         (__old_semctl): Don't use CHECK_SEMCTL.
30442         (__new_semctl): Likewise.
30443         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30444         <bp-checks.h> and <bp-semctl.h>.
30445         (semctl): Don't use CHECK_SEMCTL.
30446
30447         [BZ #13550]
30448         * Makerules (elide-bp-thunks): Remove variable.
30449         (elide-routines.oS): Don't use $(elide-bp-thunks).
30450         (elide-routines.os): Likewise.
30451         (elide-routines.o): Likewise.
30452         (elide-routines.op): Likewise.
30453         (elide-routines.og): Likewise.
30454         (objects): Don't use $(bp-thunks).
30455         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30456         include.
30457         (common-generated): Do not add s-proto-bp.d.
30458         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30459         (int): Likewise.
30460         (typ): Likewise.
30461         Do not generate makefile rules for bounded-pointer thunks.
30462         * sysdeps/generic/bp-thunks.h: Remove file.
30463         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30464         * sysdeps/unix/s-proto-bp.S: Likewise.
30465
30466         [BZ #15062]
30467         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30468         parts of result separately when argument is not close to line from
30469         -i to i and one part of argument is small.
30470         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30471         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30472         * math/libm-test.inc (cacos_test): Add more tests.
30473         (casin_test): Likewise.
30474         (casinh_test): Likewise.
30475         * sysdeps/i386/fpu/libm-test-ulps: Update.
30476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30477
30478 2013-01-31  David S. Miller  <davem@davemloft.net>
30479
30480         * po/de.po: Update from translation team.
30481
30482 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30483
30484         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30485
30486 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30487
30488         * configure.in (_AC_PROG_CC_C89): New definition.
30489         * configure: Regenerate.
30490
30491         * configure.in (AC_PROG_CPP): New definition.
30492         * configure: Regenerate.
30493
30494 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30495
30496         * debug/tst-backtrace.h: New file.
30497         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30498         (ret): Remove variable.
30499         (x): Likewise.
30500         (FAIL): Remove macro.
30501         (NO_INLINE): Likewise.
30502         (fn1): Use match function instead of strstr.
30503         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30504         (ret): Remove variable.
30505         (x): Likewise.
30506         (FAIL): Remove macro.
30507         (NO_INLINE): Likewise.
30508         (fn): Use match function instead of strstr.
30509         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30510         (ret): Remove variable.
30511         (x): Likewise.
30512         (FAIL): Remove macro.
30513         (NO_INLINE): Likewise.
30514         (handle_signal): Use match function instead of strstr.
30515         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30516         (ret): Remove variable.
30517         (x): Likewise.
30518         (FAIL): Remove macro.
30519         (NO_INLINE): Likewise.
30520         (handle_signal): Use match function instead of strstr.
30521
30522 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30523
30524         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30525
30526 2013-01-23  David S. Miller  <davem@davemloft.net>
30527
30528         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30529         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30530         argument of CAS if possible.
30531         * sysdeps/sparc/sparc64/bits/atomic.h
30532         (__arch_compare_and_exchange_val_32_acq): Likewise.
30533         (__arch_compare_and_exchange_val_64_acq): Likewise.
30534
30535 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30536
30537         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30538         * sysdeps/posix/ulimit.c: ... this.
30539         Include <limits.h>.
30540         * sysdeps/unix/bsd/ulimit.c: Remove file.
30541
30542 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30543
30544         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30545         (LDFLAGS-tst-array5): Likewise.
30546
30547 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30548
30549         [BZ #15036]
30550         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30551         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30552         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30553         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30554
30555 2013-01-21  David S. Miller  <davem@davemloft.net>
30556
30557         * sysdeps/sparc/backtrace.c: New file.
30558         * sysdeps/sparc/sparc32/backtrace.h: New file.
30559         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30560         * sysdeps/sparc/sparc64/backtrace.h: New file.
30561         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30562         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30563         -funwind-tables.
30564
30565 2013-01-21  Andreas Schwab  <schwab@suse.de>
30566
30567         [BZ #15020]
30568         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30569         closed its stdout.
30570
30571 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30572
30573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30574         "mpa2.h".
30575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30576
30577 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30578             Mark Mitchell  <mark@codesourcery.com>
30579             Tom de Vries  <tom@codesourcery.com>
30580             Paul Pluzhnikov  <ppluzhnikov@google.com>
30581
30582         * debug/tst-backtrace2.c: New file.
30583         * debug/tst-backtrace3.c: Likewise.
30584         * debug/tst-backtrace4.c: Likewise.
30585         * debug/tst-backtrace5.c: Likewise.
30586         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30587         (CFLAGS-tst-backtrace3.c): Likewise.
30588         (CFLAGS-tst-backtrace4.c): Likewise.
30589         (CFLAGS-tst-backtrace5.c): Likewise.
30590         (LDFLAGS-tst-backtrace2): Likewise.
30591         (LDFLAGS-tst-backtrace3): Likewise.
30592         (LDFLAGS-tst-backtrace4): Likewise.
30593         (LDFLAGS-tst-backtrace5): Likewise.
30594         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30595         tst-backtrace4 and tst-backtrace5.
30596
30597 2013-01-18  Anton Blanchard  <anton@samba.org>
30598             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30599
30600         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30601         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30602         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30603         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30605         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30606         "+r" and remove output regs list as redundant.  Add explicit inline
30607         asm to specify register of return val to work around compiler codegen
30608         bug.  Remove (int) cast on return value.  Add return type parameter to
30609         use in macro so that this macro does not truncate return value for
30610         64-bit values.
30611         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30612         pass to INTERNAL_VSYSCALL_NCS.
30613         (INLINE_VSYSCALL): Add 'long int' as return type to
30614         INTERNAL_VSYSCALL_NCS macro invocation.
30615         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30616         INTERNAL_VSYSCALL_NCS macro invocation.
30617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30618
30619 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30620
30621         [BZ #14496]
30622         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30623         Fix application of SIMD FP exception mask.
30624
30625         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30626         mp_no from a power of two.
30627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30628         __mpexp_twomm1.  Use __pow_mp.
30629
30630         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30631         multiplication.
30632
30633 2013-01-17  David S. Miller  <davem@davemloft.net>
30634
30635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30636
30637 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30638
30639         [BZ #15023]
30640         * include/complex.h: Condition contents on [!_COMPLEX_H].
30641         (__kernel_casinhf): New prototype.
30642         (__kernel_casinh): Likewise.
30643         (__kernel_casinhl): Likewise.
30644         * math/Makefile (libm_calls): Add k_casinh.
30645         * math/k_casinh.c: New file.
30646         * math/k_casinhf.c: Likewise.
30647         * math/k_casinhl.c: Likewise.
30648         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30649         finite nonzero arguments.
30650         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30651         finite nonzero arguments.
30652         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30653         finite nonzero arguments.
30654         * math/s_casinh.c: Do not include <float.h>.
30655         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30656         * math/s_casinhf.c: Do not include <float.h>.
30657         (__casinhf): Move code for finite nonzero arguments to
30658         k_casinhf.c.
30659         * math/s_casinhl.c: Do not include <float.h>.
30660         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30661         redefine.
30662         (__casinhl): Move code for finite nonzero arguments to
30663         k_casinhl.c.
30664         * math/libm-test.inc (cacos_test): Add more tests.
30665         * sysdeps/i386/fpu/libm-test-ulps: Update.
30666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30667
30668 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30669
30670         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30671         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30672         [!HAVE_MREMAP]: Remove [defined linux] case.
30673         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30674
30675 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30676
30677         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30678
30679 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30680
30681         * elf/elf.h (R_386_SIZE32): New relocation.
30682         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30683         R_386_SIZE32.
30684         (elf_machine_rela): Likewise.
30685         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30686         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30687
30688 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30689
30690         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30691         (FP_FAST_FMA): Do not define.
30692         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30693         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30694         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30695         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30696         !_SOFT_FLOAT]: Likewise.
30697         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30698         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30699         value.
30700         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30701         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30702         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30703         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30704         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30705         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30706         file.
30707
30708 2013-01-16  Andreas Schwab  <schwab@suse.de>
30709
30710         [BZ #14327]
30711         * include/stdlib.h (__mktemp): Add declaration.
30712         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30713         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30714
30715 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30716
30717         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30718         definitions.
30719         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30720         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30721         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30722         definitions here.
30723         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30724         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30725         definitions.
30726         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30727         and ONE.
30728         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30729         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30730         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30731         definitions.
30732         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30733         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30734         definitions.
30735         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30736
30737         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30738
30739 2013-01-15  David S. Miller  <davem@davemloft.net>
30740
30741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30742         trunc{,f} to libm-sysdep_routes.
30743         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30745         file.
30746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30748         file.
30749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30750         file.
30751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30753         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30754         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30755         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30756         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30757         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30758         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30759
30760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30761         nearbyint{,f} to libm-sysdep_routes.
30762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30764         New file.
30765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30766         file.
30767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30768         New file.
30769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30770         file.
30771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30773         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30774         file.
30775         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30776         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30777         file.
30778         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30779         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30780         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30781
30782         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30783         libc_feholdexcept and libc_fesetenv.
30784
30785 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30786
30787         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30788
30789 2013-01-14  David S. Miller  <davem@davemloft.net>
30790
30791         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30792         (SPARC_ASM_VIS2_IFUNC): Likewise.
30793         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30795         use of 'siam' instruction.
30796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30797         Likewise.
30798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30799         Likewise.
30800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30801         Likewise.
30802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30807         file.
30808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30809         file.
30810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30811         file.
30812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30813         file.
30814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30816         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30819         new VIS2 routines.
30820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30823         Likewise.
30824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30829         routines to libm-sysdep_routines.
30830         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30831
30832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30833         fdim/fdimf to libm-sysdep_routines.
30834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30835         file.
30836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30838         file.
30839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30842         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30843         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30844         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30845         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30846
30847 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30848
30849         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30850         to optimize copies.
30851
30852         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30855
30856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30857         local variable MPTWO.
30858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30859         Likewise.
30860
30861 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30862
30863         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30864         GLOB_NOESCAPE.
30865
30866 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30867
30868         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30869
30870 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30871
30872         * manual/pattern.texi (glob_t): Document gl_flags.
30873         (glob64_t): Likewise.
30874
30875 2013-01-11  David S. Miller  <davem@davemloft.net>
30876
30877         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30878         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30879         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30880         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30881         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30882         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30883         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30884         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30885         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30886         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30887         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30888         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30889         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30890
30891         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30892         sparc V9 rather than using V8 code.
30893         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30894         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30895
30896         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30897         Move to...
30898         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30899         Here.
30900
30901 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30902
30903         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30904         not in the main loop.
30905         * configure: Regenerated.
30906
30907 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30908
30909         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30910         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30911         to just #else.
30912         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30913         [!__GLIBC_HAVE_LONG_LONG] case.
30914         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30915         condition to just #else.
30916         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30917         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30918         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30919         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30920         unconditional.
30921         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30922         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30923         #elif condition to just #else.
30924         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30925         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30926         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30927         #elif condition to just #else.
30928
30929 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30930
30931         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30932         (EF_MIPS_ARCH_64): Fix value.
30933         (EF_MIPS_ARCH_32R2): New.
30934         (EF_MIPS_ARCH_64R2): New.
30935
30936 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30937
30938         * Makeconfig (+link-pie-before-libc): New.
30939         (+link-pie-after-libc): Likewise.
30940         (+link-pie-tests): Likewise.
30941         (+link-pie): Rewritten.
30942         (link-before-libc): Remove $(config-LDFLAGS).
30943         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30944         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30945         (config-LDFLAGS): Renamed to ...
30946         (rtld-LDFLAGS): This.
30947         (rtld-tests-LDFLAGS): New macro.
30948         (link-libc-rpath-link): Likewise.
30949         (link-libc-tests-rpath-link): Likewise.
30950         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30951         (link-libc): Prepand $(link-libc-rpath-link).
30952         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30953         (test-program-prefix): New macro.
30954         (test-via-rtld-prefix): Likewise.
30955         (test-program-cmd): Likewise.
30956         (host-test-program-cmd): Likewise.
30957         * Makefile ($(common-objpfx)testrun.sh): Replace
30958         $(run-program-prefix) with $(test-program-prefix).
30959         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30960         $(rtld-LDFLAGS).
30961         ($(common-objpfx)shlib.lds): Likewise.
30962         (build-module-helper): Likewise.
30963         ($(common-objpfx)format.lds): Likewise.
30964         * Rules (binaries-pie-tests): New.
30965         (binaries-pie-notests): Likewise.
30966         (binaries-pie): Rewritten.
30967         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30968         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30969         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30970         (make-test-out): Replace $(host-built-program-cmd) with
30971         $(host-test-program-cmd).
30972         * config.make.in (build-hardcoded-path-in-tests): New variable.
30973         * configure.in (--enable-hardcoded-path-in-tests): New configure
30974         option.
30975         (hardcoded_path_in_tests): New AC_SUBST.
30976         * configure: Regenerated.
30977         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30978         $(built-program-cmd) with $(test-program-cmd).
30979         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30980         (test_program_cmd): This.
30981         * elf/Makefile ($(objpfx)order.out): Run test with
30982         $(test-program-prefix).
30983         ($(objpfx)order2.out): Likewise.
30984         ($(objpfx)tst-initorder.out): Likewise.
30985         ($(objpfx)tst-initorder2.out): Likewise.
30986         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30987         $(test-program-cmd).
30988         ($(objpfx)tst-array1-static.out): Likewise.
30989         ($(objpfx)tst-array2.out): Likewise.
30990         ($(objpfx)tst-array3.out): Likewise.
30991         ($(objpfx)tst-array4.out): Likewise.
30992         ($(objpfx)tst-array5.out): Likewise.
30993         ($(objpfx)tst-array5-static.out): Likewise.
30994         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30995         $(test-program-cmd).
30996         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30997         $(run-program-prefix) with $(test-program-prefix).
30998         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30999         (test_program_prefix): This.
31000         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31001         $(run-program-prefix) with $(test-program-prefix).
31002         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31003         (test_program_prefix): This.
31004         * iconvdata/tst-tables.sh: Likewise.
31005         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31006         $(run-program-prefix) with $(test-program-prefix).
31007         ($(objpfx)tst-translit.out): Likewise.
31008         ($(objpfx)tst-gettext2.out): Likewise.
31009         ($(objpfx)tst-gettext4.out): Likewise.
31010         ($(objpfx)tst-gettext6.out): Likewise.
31011         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31012         (test_program_prefix): This.
31013         * intl/tst-gettext2.sh: Likewise.
31014         * intl/tst-gettext4.sh  Likewise.
31015         * intl/tst-gettext6.sh: Likewise.
31016         * intl/tst-translit.sh: Likewise.
31017         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31018         with $(test-program-cmd).
31019         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31020         $(run-program-prefix) with $(test-program-prefix).
31021         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31022         (test_program_prefix): This.
31023         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31024         $(run-program-prefix) with $(test-program-prefix).
31025         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31026         (test_program_prefix): This.
31027         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31028         * posix/Makefile ($(objpfx)globtest.out): Replace
31029         $(run-via-rtld-prefix) and $(test-wrapper) with
31030         $(test-program-prefix) and $(test-via-rtld-prefix).
31031         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31032         $(test-program-prefix).
31033         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31034         $(host-test-program-cmd).
31035         (tst-spawn-ARGS): Likewise.
31036         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31037         $(test-program-prefix).
31038         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31039         (test_via_rtld_prefix): This.
31040         (test_wrapper): Renamed to ...
31041         (test_program_prefix): This.
31042         (run_program_prefix): Replaced by test_program_prefix.
31043         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31044         (test_program_prefix): This.
31045         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31046         with $(host-test-program-cmd).
31047         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31048         $(run-program-prefix) with $(test-program-prefix).
31049         ($(objpfx)tst-printf.out): Likewise.
31050         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31051         $(test-program-cmd).
31052         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31053         (test_program_prefix): This.
31054         * stdio-common/tst-unbputc.sh: Likewise.
31055         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31056         $(run-program-prefix) with $(test-program-prefix).
31057         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31058         (test_program_prefix): This.
31059         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31060         $(built-program-cmd) with $(test-program-cmd).
31061
31062 2013-01-11  Andreas Jaeger  <aj@suse.de>
31063
31064         [BZ #15003]
31065         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31066         value. Sync with Linux 3.7.
31067
31068 2013-01-10  David S. Miller  <davem@davemloft.net>
31069
31070         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31071         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31072         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31073
31074 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31075
31076         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31077         never set.
31078         * configure: Regenerated.
31079
31080 2013-01-10  David S. Miller  <davem@davemloft.net>
31081
31082         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31083         sparc V9 rather than using V8 code.
31084         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31085         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31086
31087 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31088
31089         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31090         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31091         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31092         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31093         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31094         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31095         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31096         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31097         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31098         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31099         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31100         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31101         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31102         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31103         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31104         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31105         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31106         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31107         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31108         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31109         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31110         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31111         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31112         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31113         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31114         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31115         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31116
31117 2013-01-10  David S. Miller  <davem@davemloft.net>
31118
31119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31120
31121 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31122
31123         * posix/Makefile (tests-static): New variable.
31124         (tests): Add $(tests-static).
31125         (tst-exec-static-ARGS): New variable.
31126         (tst-spawn-static-ARGS): Likewise.
31127         * posix/tst-exec-static.c: New file.
31128         * posix/tst-spawn-static.c: Likewise.
31129         * posix/tst-exec.c: Support run directly.
31130         * posix/tst-spawn.c: Likewise.
31131
31132 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31133
31134         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31135         long.
31136         * math/bits/mathcalls.h (llrint): Likewise.
31137         (llround): Likewise.
31138         * stdlib/stdlib.h (struct drand48_data): Likewise.
31139         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31140         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31141         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31142         Likewise.
31143         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31144         Likewise.
31145         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31146         (elf_greg_t): Likewise.
31147         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31148         (__jmp_buf): Likewise.
31149         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31150         definitions.
31151         (llrint): Likewise, for all definitions.
31152         (llrintl): Likewise.
31153
31154         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31155         Remove [__GNUC__] condition.
31156         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31157         condition to just [__USE_ISOC99].
31158         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31159
31160 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31161
31162         [BZ #14200]
31163         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31164         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31165         defined.
31166         (_POSIX_V6_ILP32_OFF32): Likewise.
31167         (_XBS5_ILP32_OFF32): Likewise.
31168         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31169         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31170
31171 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31172
31173         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31174
31175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31176         doubles __mpexp_twomm1.  Adjust usage.
31177         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31178         Remove.
31179
31180 2013-01-10  Andreas Schwab  <schwab@suse.de>
31181
31182         [BZ #14964]
31183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31184         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31185
31186 2013-01-09  David S. Miller  <davem@davemloft.net>
31187
31188         [BZ #15003]
31189         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31190         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31191         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31192         (TCP_FASTOPEN): Define.
31193         (tcp_repair_opt): New structure.
31194         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31195         enum values.
31196         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31197         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31198         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31199         (tcp_cookie_transactions): New structure.
31200
31201 2013-01-09  Anton Blanchard  <anton@samba.org>
31202
31203         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31204         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31205         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31206         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31207
31208 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31209
31210         * include/features.h (__USE_ANSI): Remove.
31211
31212 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31213
31214         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31215
31216         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31217
31218 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31219
31220         * sysdeps/s390/fpu/libm-test-ulps: Update.
31221
31222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31223
31224         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31225         (__acr): Likewise.
31226         (__cpy): Likewise.
31227         (norm): Likewise.
31228         (denorm): Likewise.
31229         (__mp_dbl): Likewise.
31230         (__dbl_mp): Likewise.
31231         (add_magnitudes): Likewise.
31232         (sub_magnitudes): Likewise.
31233         (__add): Likewise.
31234         (__sub): Likewise.
31235         (__mul): Likewise.
31236         (__inv): Likewise.
31237         (__dvd): Likewise.
31238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31239         (__acr): Likewise.
31240         (__cpy): Likewise.
31241         (norm): Likewise.
31242         (denorm): Likewise.
31243         (__mp_dbl): Likewise.
31244         (__dbl_mp): Likewise.
31245         (add_magnitudes): Likewise.
31246         (sub_magnitudes): Likewise.
31247         (__add): Likewise.
31248         (__sub): Likewise.
31249         (__mul): Likewise.
31250         (__inv): Likewise.
31251         (__dvd): Likewise.
31252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31253         (__acr): Likewise.
31254         (__cpy): Likewise.
31255         (norm): Likewise.
31256         (denorm): Likewise.
31257         (__mp_dbl): Likewise.
31258         (__dbl_mp): Likewise.
31259         (add_magnitudes): Likewise.
31260         (sub_magnitudes): Likewise.
31261         (__add): Likewise.
31262         (__sub): Likewise.
31263         (__mul): Likewise.
31264         (__inv): Likewise.
31265         (__dvd): Likewise.
31266
31267 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31268
31269         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31270         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31271         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31272         2 && __USE_EXTERN_INLINES]: Likewise.
31273
31274 2013-01-08  Andreas Jaeger  <aj@suse.de>
31275
31276         [BZ# 14985]
31277         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31278         Remove.
31279         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31280         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31281
31282 2013-01-07  Anton Blanchard  <anton@samba.org>
31283
31284         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31285         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31286         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31287         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31288         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31289         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31290         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31291         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31293         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31294         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31295         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31296         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31297         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31298         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31299         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31300         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31301         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31302         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31303         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31304         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31305         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31306         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31307         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31308         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31309         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31310         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31311         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31312         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31313         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31314         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31316         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31317         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31318         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31319         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31320         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31321         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31322         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31323         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31324         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31325         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31326         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31327
31328 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31329
31330         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31331         (__MALLOC_PMT): Likewise.
31332         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31333         [__GNUC__], only on [_LIBC].
31334         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31335         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31336         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31337         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31338         forward declaration.
31339         (realloc_hook_ini): Likewise.
31340         (memalign_hook_ini): Likewise.
31341         (__libc_memalign): Do not use __MALLOC_PMT in variable
31342         declaration.
31343         (__libc_valloc): Likewise.
31344         (__libc_pvalloc): Likewise.
31345         (__libc_calloc): Likewise.
31346         (__posix_memalign): Likewise.
31347
31348         [BZ #14996]
31349         * math/s_casinh.c: Include <float.h>.
31350         (__casinh): Do not do computation with squaring and square root
31351         for large arguments.
31352         * math/s_casinhf.c: Include <float.h>.
31353         (__casinhf): Do not do computation with squaring and square root
31354         for large arguments.
31355         * math/s_casinhl.c: Include <float.h>.
31356         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31357         (__casinhl): Do not do computation with squaring and square root
31358         for large arguments.
31359         * math/libm-test.inc (casin_test): Add more tests.
31360         (casinh_test): Likewise.
31361         * sysdeps/i386/fpu/libm-test-ulps: Update.
31362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31363
31364 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31365
31366         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31367         (__x86_64_raw_data_cache_size): Likewise.
31368         (__x86_64_data_cache_size_half): Likewise.
31369         (__x86_64_raw_data_cache_size_half): Likewise.
31370         (__x86_64_shared_cache_size): Likewise.
31371         (__x86_64_raw_shared_cache_size): Likewise.
31372         (__x86_64_shared_cache_size_half): Likewise.
31373         (__x86_64_raw_shared_cache_size_half): Likewise.
31374         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31375         to ...
31376         (__x86_data_cache_size): This.
31377         (__x86_64_raw_data_cache_size): Renamed to ...
31378         (__x86_raw_data_cache_size): This.
31379         (__x86_64_data_cache_size_half): Renamed to ...
31380         (__x86_data_cache_size_half): This.
31381         (__x86_64_raw_data_cache_size_half): Renamed to ...
31382         (__x86_raw_data_cache_size_half): This.
31383         (__x86_64_shared_cache_size): Renamed to ...
31384         (__x86_shared_cache_size): This.
31385         (__x86_64_raw_shared_cache_size): Renamed to ...
31386         (__x86_raw_shared_cache_size): This.
31387         (__x86_64_shared_cache_size_half): Renamed to ...
31388         (__x86_shared_cache_size_half): This.
31389         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31390         (__x86_raw_shared_cache_size_half): This.
31391         * sysdeps/x86_64/memcpy.S: Updated.
31392         * sysdeps/x86_64/memset.S: Likewise.
31393         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31394         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31395         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31396
31397 2013-01-04  David S. Miller  <davem@davemloft.net>
31398
31399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31400
31401 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31402
31403         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31404         1 to avoid redefinition warning.
31405         (__USE_GNU): Don't define.
31406         (init_signaling_nan): Protoize.
31407
31408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31409
31410 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31411
31412         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31414         (__cpymn): Likewise.
31415         (norm): Remove commented code.
31416         (denorm): Likewise.
31417         (__mp_dbl): Likewise.
31418         (__inv): Likewise.
31419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31420         (__cpymn): Likewise.
31421         (norm): Remove commented code.
31422         (denorm): Likewise.
31423         (__mp_dbl): Likewise.
31424         (__inv): Likewise.
31425
31426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31427         mp_no value for 1.0 and 2.0.
31428         (norm): Use RADIXI instead of radixi.d.
31429         (denorm): Likewise.
31430         (__mul): Use 0.0 instead of zero.d.
31431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31432         mp_no value for 1.0 and 2.0.
31433         (norm): Use RADIXI instead of radixi.d.
31434         (denorm): Likewise.
31435         (__mul): Use 0.0 instead of zero.d.
31436
31437 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31438
31439         [BZ #14994]
31440         * math/s_casinh.c (__casinh): Reduce finite argument to first
31441         quadrant then set signs of results at the end.
31442         * math/s_casinhf.c (__casinhf): Likewise.
31443         * math/s_casinhl.c (__casinhl): Likewise.
31444         * math/libm-test.inc (casin_test): Add more tests.
31445         (casinh_test): Likewise.
31446         * sysdeps/i386/fpu/libm-test-ulps: Update.
31447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31448
31449 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31450
31451         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31452
31453         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31454
31455         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31456         declarations.
31457         (denorm): Likewise.
31458         (__mp_dbl): Likewise.
31459         (__inv): Likewise.
31460
31461         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31462         and adjust the header comment.
31463
31464         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31465         variable name from declaration.
31466
31467 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31468
31469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31470         Initialize COMMON_CPUID_INDEX_7 element.
31471         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31472         (CPUID_RTM): Likewise.
31473         (HAS_RTM): Likewise.
31474         (COMMON_CPUID_INDEX_7): New enum.
31475
31476 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31477
31478         [BZ #14981]
31479         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31480         size is zero, record memory as freed.
31481
31482 2013-01-03  Andreas Jaeger  <aj@suse.de>
31483
31484         * po/ia.po: Add new Interlingua translation.
31485
31486 2012-01-03  Allan McRae  <allan@archlinux.org>
31487
31488         * locale/programs/localedef.c: Fix description of '--posix' flag.
31489
31490 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31491
31492         * NEWS: Update dates in second copyright notice.
31493         * README: Update copyright dates in example.
31494         * manual/libc.texinfo: Update copyright dates.
31495         * scripts/test-installation.pl: Update copyright date in --version
31496         output.
31497
31498         * hurd/ctty-input.c: Fix copyright notice formatting.
31499         * hurd/ctty-output.c: Likewise.
31500         * hurd/dtable.c: Likewise.
31501         * hurd/hurd-raise.c: Likewise.
31502         * hurd/hurdprio.c: Likewise.
31503         * hurd/msgportdemux.c: Likewise.
31504         * misc/sys/file.h: Likewise.
31505         * misc/sys/ioctl.h: Likewise.
31506         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31507         * sysdeps/mach/hurd/chdir.c: Likewise.
31508         * sysdeps/mach/hurd/fchdir.c: Likewise.
31509         * sysdeps/mach/hurd/rename.c: Likewise.
31510         * sysdeps/mach/hurd/rmdir.c: Likewise.
31511         * sysdeps/mach/hurd/seekdir.c: Likewise.
31512         * sysdeps/mach/hurd/setsid.c: Likewise.
31513         * sysdeps/posix/wait3.c: Likewise.
31514
31515         * All files with FSF copyright notices: Update copyright dates
31516         using scripts/update-copyrights.
31517         * intl/plural.c: Regenerated.
31518         * locale/programs/charmap-kw.h: Likewise.
31519         * locale/programs/locfile-kw.h: Likewise.
31520
31521 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31522
31523         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31524         four values.
31525
31526         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31527         calculation loop and add branch prediction.
31528
31529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31530         check access beyond bounds of m1np.
31531
31532         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31533         MPTWO.
31534         (__inv): Remove local variable MPTWO to use the global
31535         constant.
31536         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31537         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31538         variable MPTWO.
31539         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31540         MP3HALFS static const.
31541
31542 2013-01-01  David S. Miller  <davem@davemloft.net>
31543
31544         * po/ca.po: Update from translation team.
31545
31546 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31547
31548         * scripts/update-copyrights: New file.
31549         * Makeconfig: Reformat copyright notice.
31550         * ctype/ctype.h: Likewise.
31551         * debug/swprintf_chk.c: Likewise.
31552         * elf/dl-cache.c: Likewise.
31553         * elf/dl-debug.c: Likewise.
31554         * elf/dl-object.c: Likewise.
31555         * grp/initgroups.c: Likewise.
31556         * hurd/Makefile: Likewise.
31557         * hurd/hurd/signal.h: Likewise.
31558         * hurd/hurdfault.c: Likewise.
31559         * hurd/hurdioctl.c: Likewise.
31560         * hurd/hurdlookup.c: Likewise.
31561         * hurd/intr-msg.c: Likewise.
31562         * iconv/gconv_open.c: Likewise.
31563         * libio/swprintf.c: Likewise.
31564         * locale/lc-ctype.c: Likewise.
31565         * locale/nl_langinfo.c: Likewise.
31566         * mach/Machrules: Likewise.
31567         * mach/Makefile: Likewise.
31568         * malloc/obstack.h: Likewise.
31569         * manual/Makefile: Likewise.
31570         * manual/tsort.awk: Likewise.
31571         * misc/bits/stab.def: Likewise.
31572         * nis/nis_print_group_entry.c: Likewise.
31573         * nis/nis_table.c: Likewise.
31574         * nis/nss_compat/compat-pwd.c: Likewise.
31575         * nis/nss_compat/compat-spwd.c: Likewise.
31576         * po/Makefile: Likewise.
31577         * posix/fnmatch.c: Likewise.
31578         * posix/regex.h: Likewise.
31579         * resolv/Makefile: Likewise.
31580         * resolv/nss_dns/dns-network.c: Likewise.
31581         * resolv/res_hconf.c: Likewise.
31582         * scripts/gen-sorted.awk: Likewise.
31583         * soft-fp/soft-fp.h: Likewise.
31584         * stdio-common/printf.h: Likewise.
31585         * stdlib/monetary.h: Likewise.
31586         * stdlib/random.c: Likewise.
31587         * stdlib/random_r.c: Likewise.
31588         * sysdeps/generic/Makefile: Likewise.
31589         * sysdeps/gnu/Makefile: Likewise.
31590         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31592         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31593         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31594         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31596         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31597         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31598         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31600         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31601         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31602         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31603         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31604         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31605         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31606         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31607         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31608         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31609         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31610         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31611         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31612         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31613         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31614         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31615         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31616         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31617         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31618         * sysdeps/mach/hurd/errnos.awk: Likewise.
31619         * sysdeps/mach/hurd/fork.c: Likewise.
31620         * sysdeps/mach/hurd/getcwd.c: Likewise.
31621         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31622         * sysdeps/mach/hurd/mmap.c: Likewise.
31623         * sysdeps/mach/hurd/utimes.c: Likewise.
31624         * sysdeps/mach/hurd/xmknod.c: Likewise.
31625         * sysdeps/posix/profil.c: Likewise.
31626         * sysdeps/posix/readdir_r.c: Likewise.
31627         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31628         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31629         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31630         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31632         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31633         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31634         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31636         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31637         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31638         * sysdeps/pthread/lio_listio.c: Likewise.
31639         * sysdeps/sparc/dl-procinfo.h: Likewise.
31640         * sysdeps/unix/i386/sysdep.S: Likewise.
31641         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31642         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31643         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31644         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31646         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31647         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31648         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31649         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31650         * sysdeps/wordsize-32/divdi3.c: Likewise.
31651         * time/sys/time.h: Likewise.
31652         * wcsmbs/Makefile: Likewise.
31653
31654 2013-01-01  David S. Miller  <davem@davemloft.net>
31655
31656         * po/fr.po: Update from translation team.
31657
31658         * catgets/gencat.c: Update copyright year.
31659         * csu/version.c: Likewise.
31660         * debug/catchsegv.sh: Likewise.
31661         * debug/pcprofiledump.c: Likewise.
31662         * debug/xtrace.sh: Likewise.
31663         * elf/ldconfig.c: Likewise.
31664         * elf/ldd.bash.in: Likewise.
31665         * elf/pldd.c: Likewise.
31666         * elf/sotruss.ksh: Likewise.
31667         * elf/sprof.c: Likewise.
31668         * iconv/iconv_prog.c: Likewise.
31669         * iconv/iconvconfig.c: Likewise.
31670         * locale/programs/locale.c: Likewise.
31671         * locale/programs/localedef.c: Likewise.
31672         * login/programs/pt_chown.c: Likewise.
31673         * malloc/memusage.sh: Likewise.
31674         * malloc/memusagestat.c: Likewise.
31675         * malloc/mtrace.pl: Likewise.
31676         * nscd/nscd.c: Likewise.
31677         * nss/getent.c: Likewise.
31678         * nss/makedb.c: Likewise.
31679         * posix/getconf.c: Likewise.
31680
31681 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31682
31683         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31684         numbers.
31685
31686 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31687
31688         * math/bits/mathcalls.h (modf): Use __nonnull.
31689
31690 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31691
31692         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31693         (split): Use macro CN instead of the bare value.
31694         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31695         could be used.
31696         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31697         instead of the bare value.
31698         (power1): Likewise.
31699
31700 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31701
31702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31703         __ATAN_TWOM.
31704         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31705
31706         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31707         their values.
31708         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31709         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31710         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31711         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31712
31713 2012-12-28  Andreas Jaeger  <aj@suse.de>
31714
31715         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31716         values are from Linux 3.7.
31717
31718         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31719         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31720
31721 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31722
31723         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31724         TRUE case.
31725
31726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31727         (norm): Likewise.
31728         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31729         variables with preprocessor constants.
31730         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31731         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31732         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31733
31734 2012-12-27  Bruno Haible  <bruno@clisp.org>
31735
31736         [BZ #14317]
31737         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31738         only if needed.
31739
31740 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31741
31742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31743         and use variable directly.
31744         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31745
31746         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31747         MPONE.
31748         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31749         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31750         variable MPONE.
31751         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31752         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31753         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31754         include directive.  Remove local variable MPONE.
31755         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31756         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31757         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31758
31759 2012-12-25  David S. Miller  <davem@davemloft.net>
31760
31761         * version.h (RELEASE): Set to "development".
31762         (VERSION): Set to "2.17.90".
31763         * NEWS: Add 2.18 section.
31764
31765 2012-12-21  David S. Miller  <davem@davemloft.net>
31766
31767         * po/hr.po: Update from translation team.
31768
31769 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31770
31771         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31772
31773 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31774
31775         * NEWS:  Mention new memcpy for MIPS.
31776
31777 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31778
31779         * manual/contrib.texi (Contributors): Spelling correction.
31780
31781 2012-12-15  David S. Miller  <davem@davemloft.net>
31782
31783         * po/ru.po: Update from translation team.
31784
31785 2012-12-13  David S. Miller  <davem@davemloft.net>
31786
31787         * NEWS: Mention IFUNC testsuite enhancements.
31788
31789         * po/pl.po: Update from translation team.
31790         * po/bg.po: Likewise.
31791
31792         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31793         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31794
31795 2012-12-11  David S. Miller  <davem@davemloft.net>
31796
31797         * po/sv.po: Update from translation team.
31798
31799         * po/vi.po: Update from translation team.
31800
31801         * po/cs.po: Update from translation team.
31802
31803         * po/de.po: Update from translation team.
31804         * po/eo.po: Likewise.
31805         * po/nl.po: Likewise.
31806
31807 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31808
31809         [BZ #14246]
31810         * manual/argp.texi (Argp Helper Functions): Move node to follow
31811         Argp Parsing State.
31812
31813         [BZ #14872]
31814         * manual/conf.texi (Limits on File System Capacity): Mention if
31815         terminating null is included in the max size.
31816
31817 2012-12-10  Andreas Jaeger  <aj@suse.de>
31818
31819         * po/cs.po: Update from translation team.
31820
31821 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31822
31823         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31824         void pointer and cast to uintptr_t.
31825         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31826         path.
31827         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31828         * sysdeps/s390/s390-64/memset.S: Likewise.
31829
31830 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31831
31832         [BZ #14833]
31833         * menual/message.texi (Message Translation): Fix typos.
31834         (Helper programs for gettext): Likewise.
31835
31836 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31837
31838         [BZ #14898]
31839         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31840         Change to -1.
31841
31842 2012-12-07  David S. Miller  <davem@davemloft.net>
31843
31844         * po/libc.pot: Update.
31845
31846 2012-12-07  Richard Henderson  <rth@redhat.com>
31847
31848         [BZ #10114]
31849         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31850         normal/normal case to before the switch.
31851         (_FP_DIV): Likewise.
31852
31853 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31854             Mike Frysinger  <vapier@gentoo.org>
31855
31856         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31857         check for __NR_fadvise64_64.
31858
31859 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31860
31861         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31862         0, not just to plain "0" as a statement.
31863         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31864         with cw.
31865
31866 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31867
31868         * NEWS: Use sourceware.org in Bugzilla URL.
31869
31870 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31871
31872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31873         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31874
31875         * stdio-common/tst-put-error.c (do_test): Add newline to the
31876         padded test to ensure flush.
31877
31878 2012-12-05  Jeff Law  <law@redhat.com>
31879
31880         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31881
31882 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31883
31884         * README: Don't refer to ports add-on as distributed separately.
31885         Mention AArch64 in list of systems supported in the ports add-on.
31886
31887         * LICENSES: Add more non-FSF copyright and license notices.
31888
31889         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31890         ((unused)).
31891
31892         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31893
31894         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31895         10000 as width of padded output.
31896
31897 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31898
31899         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31900
31901         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31902         variable LX with __attribute__ ((unused)).
31903         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31904         Likewise.
31905         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31906         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31908         with __attribute__ ((unused)).
31909
31910 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31911
31912         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31913
31914 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31915
31916         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31917         (CFLAGS-nldbl-acos.c): New variable.
31918         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31919         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31920         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31921         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31922         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31923         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31924         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31925         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31926         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31927         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31928         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31929         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31930         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31931         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31932         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31933         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31934         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31935         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31936         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31937         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31938         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31939         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31940         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31941         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31942         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31943         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31944         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31945         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31946         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31947         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31948         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31949         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31950         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31951         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31952         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31953         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31954         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31955         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31956         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31957         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31958         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31959         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31960         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31961         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31962         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31963         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31964         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31965         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31966         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31967         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31968         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31969         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31970         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31971         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31972         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31973         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31974         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31975         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31976         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31977         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31978         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31979         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31980         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31981         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31982         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31983         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31984         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31985         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31986         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31987         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31988         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31989         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31990         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31991         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31992         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31993         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31994         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31995         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31996         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31997         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31998         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31999         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32000         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32001         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32002         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32003         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32004         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32005         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32006         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32007         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32008         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32009         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32010         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32011         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32012         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32013         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32014         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32015
32016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32017         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32018
32019         [BZ #14914]
32020         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32021         whole low double instead of just low 47 bits when splitting values
32022         into two parts.
32023
32024 2012-12-03  Allan McRae  <allan@archlinux.org>
32025
32026         * manual/stdio.texi (Predefined Printf Handlers): Remove
32027         @hsep and @vsep usage.
32028
32029 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32030
32031         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32032         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32033
32034 2012-12-03  Jeff Law  <law@redhat.com>
32035
32036         * time/sys/time.h (settimeofday): Do not mark TV argument
32037         as __nonnull.
32038
32039 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32040
32041         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32042         when currently writing and seek to current position when not.
32043         * libio/Makefile (tests): Remove bug-fclose1.
32044         * libio/bug-fclose1.c: Delete.
32045
32046 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32047
32048         * manual/arith.texi (feenableexcept): Fix typo.
32049         (fedisableexcept): Likewise.
32050
32051 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32052
32053         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32054         second, differently-typed declaration, rather than a cast.
32055
32056 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32057
32058         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32059         * include/rpc/svc.h: ... here.
32060
32061 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32062
32063         [BZ #13013]
32064         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32065         depending n and resplen2 to catch cases where answer
32066         equals answerp2.
32067
32068 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32069
32070         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32071         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32072
32073 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32074
32075         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32076
32077 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32078
32079         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32080
32081 2012-11-28  Jeff Law  <law@redhat.com>
32082
32083         [BZ #13761]
32084         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32085         dataset_temporary.  Track alloca usage into alloca_used.
32086         If dataset is large allocate and release it via malloc/free.
32087
32088 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32089
32090         [BZ #14197]
32091         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32092
32093 2012-11-28  David S. Miller  <davem@davemloft.net>
32094
32095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32096
32097 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32098
32099         [BZ #14803]
32100         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32101         of pi/2 rounded to nearest to 64 bits.
32102         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32103         nearest to 64 bits.
32104         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32105         bits.
32106
32107 2012-11-28  Jeff Law <law@redhat.com>
32108             Martin Osvald <mosvald@redhat.com>
32109
32110         [BZ #14889]
32111         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32112         * sunrpc/svc.c: Include time.h.
32113         (__svc_accept_failed): New function.
32114         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32115         any reason other than EINTR, call __svc_accept_failed.
32116         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32117         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32118
32119 2012-11-28  Andreas Schwab  <schwab@suse.de>
32120
32121         * scripts/abilist.awk: Also handle indirect functions in .opd
32122         section.
32123
32124 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32125
32126         [BZ #13881]
32127         * sysdeps/x86/fpu/powl_helper.c: New file.
32128         * sysdeps/x86/fpu/Makefile: Likewise.
32129         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32130         (p3): New object.
32131         (__ieee754_powl): Use __powl_helper for finite arguments except
32132         integer exponents below 8.
32133         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32134         (p3): New object.
32135         (__ieee754_powl): Use __powl_helper for finite arguments except
32136         integer exponents below 8.
32137         * math/libm-test.inc (pow_test): Add more tests and enable some
32138         previously disabled tests.
32139         * sysdeps/i386/fpu/libm-test-ulps: Update.
32140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32141
32142 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32143             Carlos O'Donell  <carlos_odonell@mentor.com>
32144
32145         * nss/makedb.c (is_prime): Assert that input is odd and greater
32146         than 4.  Note that fact in a comment too.
32147         (next_prime): Add 4 to input.
32148
32149 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32150
32151         [BZ #11741]
32152         * libio/Makefile (tests): Add test case tst-fwrite-error.
32153         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32154         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32155         * libio/tst-fwrite-error.c: New test case.
32156
32157 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32158
32159         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32160         before casting to void *.
32161         * include/libc-internal.h (__pointer_type): New macro.
32162         (__integer_if_pointer_type_sub): Likewise.
32163         (__integer_if_pointer_type): Likewise.
32164         (cast_to_integer): Likewise.
32165         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32166         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32167         before casting to atomic64_t.
32168         (atomic_exchange_acq): Likewise.
32169         (__arch_exchange_and_add_body): Likewise.
32170         (__arch_add_body): Likewise.
32171         (atomic_add_negative): Likewise.
32172         (atomic_add_zero): Likewise.
32173
32174 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32175
32176         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32177         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32178         (add_fdes): Likewise.
32179         (linear_search_fdes): Likewise.
32180         (binary_search_unencoded_fdes): Likewise.
32181
32182 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32183
32184         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32185
32186 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32187
32188         * configure.in: Autodetect C++ header directories.
32189         * configure: Regenerated.
32190
32191 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32192
32193         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32194
32195 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32196
32197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32198
32199 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32200
32201         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32202         LDBL_MANT_DIG == 106]: Disable some tests.
32203         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32204         Likewise.
32205         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32206         Likewise.
32207
32208         [BZ #14871]
32209         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32210         input for small inputs.  Return +/- pi/2 for large inputs.
32211         * math/libm-test.inc (atan_test): Add more tests.
32212
32213         * sysdeps/generic/unwind-dw2-fde-glibc.c
32214         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32215         __attribute__ ((unused)).
32216
32217         [BZ #14645]
32218         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32219         x * y if x and y are nonzero and z is zero.
32220
32221         [BZ #14811]
32222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32223         nonzero exponents with absolute value below 0x1p-117 to +/-
32224         0x1p-117.
32225
32226         [BZ #14869]
32227         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32228         up arguments below 2**-450, not just those below 2**-500.
32229         * math/libm-test.inc (hypot_test): Add another test.
32230
32231         [BZ #14868]
32232         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32233         Return a+b for ratio over 2**120, not 2**60.
32234         * math/libm-test.inc (hypot_test): Add another test.
32235
32236         * math/libm-test.inc (clog_test): Use
32237         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32238         (clog10_test): Likewise.
32239
32240         [BZ #6778]
32241         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32242
32243 2012-11-22  Andreas Schwab  <schwab@suse.de>
32244
32245         * sysdeps/i386/fpu/libm-test-ulps: Update.
32246
32247 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32248
32249         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32250         printf output with newline.
32251
32252 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32253
32254         [BZ #14865]
32255         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32256         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32257         -z nodlopen, -z initfirst and -z execstack support.
32258         * configure: Regenerated.
32259
32260         * elf/elf.h (DF_1_NODIRECT): New macro.
32261         (DF_1_IGNMULDEF): Likewise.
32262         (DF_1_NOKSYMS): Likewise.
32263         (DF_1_NOHDR): Likewise.
32264         (DF_1_EDITED): Likewise.
32265         (DF_1_NORELOC): Likewise.
32266         (DF_1_SYMINTPOSE): Likewise.
32267         (DF_1_GLOBAUDIT): Likewise.
32268         (DF_1_SINGLETON): Likewise.
32269         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32270         DT_1_SUPPORTED_MASK bits.
32271         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32272
32273 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32274
32275         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32276
32277 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32278
32279         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32280         macro.
32281
32282         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32283         (sendmmsg): Move declarations...
32284         * socket/sys/socket.h: ... here.
32285         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32286         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32287         include it from...
32288         * socket/recvmmsg.c: ... this new file.
32289         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32290         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32291         definition of __sendmmsg hidden.
32292         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32293         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32294         Move ENOSYS stub into and include it from...
32295         * socket/sendmmsg.c: ... this new file.
32296         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32297         (sysdep_routines): Move recvmmsg and sendmmsg...
32298         * socket/Makefile (routines): ... here.
32299         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32300         (GLIBC_PRIVATE): Add __sendmmsg.
32301         * include/sys/socket.h (__sendmmsg): Add declarations.
32302         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32303         sendmmsg.
32304
32305 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32306
32307         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32308         variable I1 with __attribute__ ((unused)).
32309         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32310
32311 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32312
32313         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32314         DUMMY variables with __attribute__ ((unused)).
32315
32316         * bits/byteswap.h: Include <bits/types.h>.
32317         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32318
32319 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32320
32321         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32322         string_t.  Do not manually set errno.
32323         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32324         length with __strnlen.  Make sure to both set errno and return it on
32325         failure.
32326
32327 2012-11-19  David S. Miller  <davem@davemloft.net>
32328
32329         With help from Joseph Myers.
32330         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32331         very large arguments properly.
32332         * math/libm-test.inc (atan_test): New tests.
32333         (atan2_test): New tests.
32334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32336
32337 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32338
32339         [BZ #14856]
32340         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32341         Define to 3.
32342
32343         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32344         [POSIX] (EADDRNOTAVAIL): Likewise.
32345         [POSIX] (EAFNOSUPPORT): Likewise.
32346         [POSIX] (EALREADY): Likewise.
32347         [POSIX] (ECONNABORTED): Likewise.
32348         [POSIX] (ECONNREFUSED): Likewise.
32349         [POSIX] (ECONNRESET): Likewise.
32350         [POSIX] (EDESTADDRREQ): Likewise.
32351         [POSIX] (EDQUOT): Likewise.
32352         [POSIX] (EHOSTUNREACH): Likewise.
32353         [POSIX] (EIDRM): Likewise.
32354         [POSIX] (EISCONN): Likewise.
32355         [POSIX] (ELOOP): Likewise.
32356         [POSIX] (EMULTIHOP): Likewise.
32357         [POSIX] (ENETDOWN): Likewise.
32358         [POSIX] (ENETUNREACH): Likewise.
32359         [POSIX] (ENOBUFS): Likewise.
32360         [POSIX] (ENODATA): Likewise.
32361         [POSIX] (ENOLINK): Likewise.
32362         [POSIX] (ENOMSG): Likewise.
32363         [POSIX] (ENOPROTOOPT): Likewise.
32364         [POSIX] (ENOSR): Likewise.
32365         [POSIX] (ENOSTR): Likewise.
32366         [POSIX] (ENOTCONN): Likewise.
32367         [POSIX] (ENOTSOCK): Likewise.
32368         [POSIX] (EOPNOTSUPP): Likewise.
32369         [POSIX] (EOVERFLOW): Likewise.
32370         [POSIX] (EPROTO): Likewise.
32371         [POSIX] (EPROTONOSUPPORT): Likewise.
32372         [POSIX] (EPROTOTYPE): Likewise.
32373         [POSIX] (ESTALE): Likewise.
32374         [POSIX] (ETIME): Likewise.
32375         [POSIX] (ETXTBSY): Likewise.
32376         [POSIX] (EWOULDBLOCK): Likewise.
32377         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32378         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32379         [POSIX] (SEEK_CUR): Likewise.
32380         [POSIX] (SEEK_END): Likewise.
32381         [POSIX || UNIX98] (mode_t): Do not require.
32382         [POSIX] (off_t): Likewise.
32383         [POSIX] (pid_t): Likewise.
32384         [POSIX] (sys/stat.h): Do not allow header.
32385         [POSIX] (unistd.h): Likewise.
32386         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32387         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32388         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32389         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32390         require.
32391         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32392         sigevent): Specify elements.
32393         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32394         entry.
32395         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32396         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32397
32398         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32399         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32400         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32401         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32402         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32403         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32404         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32405         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32406         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32407         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32408         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32409         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32410         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32411         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32412         Likewise.
32413         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32414         Likewise.
32415         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32416         Likewise.
32417         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32418         Likewise.
32419         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32420         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32421         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32422         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32423         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32424         Specify lower bound on value.
32425         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32426         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32427         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32428         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32429         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32430         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32431         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32432         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32433         value.
32434         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32435         as optional.
32436         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32437         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32438         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32439         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32440         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32441         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32442         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32443         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32444         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32445         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32446         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32447         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32448         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32449         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32450         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32451         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32452         entry.
32453         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32454         optional.
32455         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32456         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32457         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32458         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32459         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32460         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32461         Likewise.
32462         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32463         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32464         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32465         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32466         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32467         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32468         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32469         as optional.
32470         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32471         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32472         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32473         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32474         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32475         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32476         specify as optional.
32477         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32478         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32479         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32480         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32481         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32482         [XPG3] (NL_LANGMAX): Likewise.
32483         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32484         [POSIX || XPG3] (NL_NMAX): Likewise.
32485         [POSIX || XPG3] (NL_SETMAX): Likewise.
32486         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32487         [XPG3] (NZERO): Likewise.
32488         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32489         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32490         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32491         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32492         (REG_ERANGE): Expect.
32493         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32494         optional-constant.
32495         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32496         Use (void) in prototype.
32497         [POSIX] (*_t): Allow.
32498         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32499         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32500         (WRDE_BADVAL): Expect.
32501
32502         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32503         expect.
32504         [XPG3 || XPG4] (O_RSYNC): Likewise.
32505         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32506         Likewise.
32507         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32508         [XPG3 || XPG4] (sigqueue): Likewise.
32509         [XPG3 || XPG4] (sigtimedwait): Likewise.
32510         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32511         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32512         [XPG3 || XPG4] (vsnprintf): Likewise.
32513         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32514         Likewise.
32515         [XPG3 || XPG4] (blksize_t): Likewise.
32516         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32517         Likewise.
32518         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32519         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32520         [XPG3 || XPG4] (struct itimerspec): Likewise.
32521         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32522         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32523         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32524         [XPG3 || XPG4] (clockid_t): Likewise.
32525         [XPG3 || XPG4] (timer_t): Likewise.
32526         [XPG3 || XPG4] (clock_getres): Likewise.
32527         [XPG3 || XPG4] (clock_gettime): Likewise.
32528         [XPG3 || XPG4] (clock_settime): Likewise.
32529         [XPG3 || XPG4] (nanosleep): Likewise.
32530         [XPG3 || XPG4] (timer_create): Likewise.
32531         [XPG3 || XPG4] (timer_delete): Likewise.
32532         [XPG3 || XPG4] (timer_gettime): Likewise.
32533         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32534         [XPG3 || XPG4] (timer_settime): Likewise.
32535         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32536         [XPG3 || XPG4] (getlogin_r): Likewise.
32537         [XPG3 || XPG4] (pread): Likewise.
32538         [XPG3 || XPG4] (pthread_atfork): Likewise.
32539         [XPG3 || XPG4] (pwrite): Likewise.
32540
32541         [BZ #14835]
32542         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32543         <bits/siginfo.h>.
32544
32545 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32546
32547         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32548         finalizing MALLSTREAM.
32549
32550         * sysdeps/mach/hurd/syncfs.c: New file.
32551
32552 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32553
32554         [BZ #14719]
32555         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32556         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32557         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32558         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32559         (_nss_dns_gethostbyname4_r): Likewise.
32560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32561         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32562
32563 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32564
32565         [BZ #13763]
32566         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32567
32568 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32569
32570         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32571         * elf/cache.c (print_entry): Print ",AArch64" for
32572         FLAG_AARCH64_LIB64
32573
32574         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32575         * elf/cache.c (print_entry): Print ",hard-float" for
32576         FLAG_ARM_LIBHF.
32577
32578 2012-11-18  David S. Miller  <davem@davemloft.net>
32579
32580         With help from Joseph Myers.
32581         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32582         cutoff to 2**-13.
32583         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32584         cutoff to 2**-25.
32585         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32586         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32587         small.
32588         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32589         * math/libm-test.inc (y0_test): New tests.
32590         (y1_test): New tests.
32591         * sysdeps/i386/fpu/libm-test-ulps: Update.
32592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32594
32595 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32596
32597         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32598         64-bit targets.
32599         * configure: Regenerated.
32600
32601 2012-11-17  David S. Miller  <davem@davemloft.net>
32602
32603         [BZ #14811]
32604         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32605         nonzero exponents with absolute value below 0x1p-128 to +/-
32606         0x1p-128.
32607
32608 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32609
32610         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32611
32612         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32613
32614         * posix/getconf-speclist.c: New file.
32615         * posix/posix-envs.def: Likewise.
32616         * posix/confstr.c (START_ENV_GROUP): New macro.
32617         (END_ENV_GROUP): Likewise.
32618         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32619         (KNOWN_PRESENT_ENV_STRING): Likewise.
32620         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32621         (UNKNOWN_ENVIRONMENT): Likewise.
32622         (confstr): Include posix-envs.def instead of handling
32623         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32624         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32625         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32626         (END_ENV_GROUP): Likewise.
32627         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32628         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32629         (UNKNOWN_ENVIRONMENT): Likewise.
32630         (__sysconf): Include posix-envs.def instead of handling associated
32631         cases directly here.
32632         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32633         preprocessing getconf-speclist.c rather than running getconf or
32634         generating empty file.
32635
32636 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32637
32638         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32639
32640 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32641
32642         [BZ #14672]
32643         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32644
32645 2012-11-16  David S. Miller  <davem@davemloft.net>
32646
32647         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32648         smaller than LDBL_EPSILON/2.0L, just return xm1.
32649
32650 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32651
32652         * elf/tst-array1.c (init): Set constructor priority to 1000.
32653         (fini): Set destructor priority to 1000.
32654         * elf/tst-array2dep.c: Likewise.
32655
32656 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32657
32658         [BZ #11741]
32659         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32660         (_IO_new_file_xsputn): Also return EOF if none of the input
32661         data was written when overflow failed.
32662         * libio/iopadn.c (_IO_padn): Likewise.
32663         * libio/iowpadn.c (_IO_wpadn): Likewise.
32664         * stdio-common/tst-put-error.c: Add copyright notice.
32665         (do_test): Add case for printing padded string.
32666         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32667         _IO_padn returned error.
32668         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32669         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32670         return EOF.
32671
32672 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32673
32674         * libio/libioP.h: Add comment note that the references to C++
32675         bits are now obsolete.
32676
32677 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32678
32679         * math/libm-test.inc (check_complex): Use asprintf.
32680
32681 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32682
32683         * debug/pcprofiledump.c (print_version): Update copyright year.
32684         * malloc/memusagestat.c (print_version): Likewise.
32685
32686 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32687
32688         [BZ #14831]
32689         * elf/Makefile (tests): Add tst-audit8.
32690         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32691         ($(objpfx)tst-audit8.out): New target.
32692         (tst-audit8-ENV): New variable.
32693         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32694         audit if l_reloc_result is NULL.
32695         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32696         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32697         * elf/tst-audit8.c: New file.
32698
32699 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32700
32701         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32702         * misc/Makefile (CFLAGS-select.c): Define.
32703         * posix/Makefile (CFLAGS-pause.c): Define.
32704
32705 2012-11-13  David S. Miller  <davem@davemloft.net>
32706
32707         * crypt/Makefile: Move test targets after toplevel Rules
32708         inclusion.  Grab any necessary sysdep routines when linking.
32709         * crypt/md5.c (md5_process_block): Remove define, we will always
32710         name it __md5_process_block.
32711         (md5_finish_ctx): Update md5_process_block call.
32712         (md5_stream): Likewise.
32713         (md5_process_bytes): Likewise.
32714         (md5_process_block): Rename to __md5_process_block and move to ...
32715         * crypt/md5-block.c: ... here.
32716         * crypt/sha256.c (sha256_process_block): Move to ...
32717         * crypt/sha256-block.c: ... here.
32718         * crypt/sha512.c (sha512_process_block): Move to ...
32719         * crypt/sha512-block.c: ... here.
32720         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32721         path.
32722         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32723         * sysdeps/sparc/sparc64/multiarch/Makefile
32724         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32725         crypt subdir.
32726         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32727         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32728         multiarch changes.
32729         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32730         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32731         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32732         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32733         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32734         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32735         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32736         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32737         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32738         file.
32739         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32740         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32741         file.
32742         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32743
32744 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32745
32746         * timezone/tzselect.ksh: Update from tzcode git revision
32747         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32748         * timezone/zdump.c: Likewise.
32749         * timezone/zic.c: Likewise.
32750         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32751         in TZVERSION setting, not $(PKGVERSION).
32752         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32753         REPORT_BUGS_TO settings.
32754
32755         [BZ #14838]
32756         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32757         macro.
32758
32759 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32760
32761         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32762         detection to immediately after _FP_ROUND().
32763         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32764         bits are 0.
32765
32766 2012-11-11  David S. Miller  <davem@davemloft.net>
32767
32768         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32769         inttypes.h
32770         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32771         __close rather than their public counterparts.
32772
32773 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32774
32775         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32776         file.
32777         [UNIX98] (sem_timedwait): Do not expect.
32778         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32779         [XPG4 || UNIX98] (sockatmark): Do not expect.
32780         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32781         (clock_getcpuclockid): Do not expect.
32782         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32783         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32784         Do not expect.
32785         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32786         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32787         [UNIX98] (vwscanf): Likewise.
32788         [UNIX98] (vswscanf): Likewise.
32789
32790 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32791
32792         * timezone/version.h: Remove file.
32793         * timezone/README: Do not refer to version.h.
32794         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32795         $(objpfx)version.h.
32796         ($(objpfx)zdump.o): Likewise.
32797         ($(objpfx)version.h): New target.
32798
32799         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32800         2012i.
32801         * timezone/README: Don't mention modification to tzselect.ksh.
32802         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32803         work on unmodified tzselect.ksh.  Substitute version numbers in
32804         tzselect.ksh.
32805
32806         * Makefile (format-me): Remove.
32807         (INSTALL): Adjust indentation.  Use commands directly instead of
32808         using $(format-me).
32809
32810         * aclocal.m4 (ACX_PKGVERSION): New macro.
32811         (ACX_BUGURL): Likewise.
32812         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32813         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32814         (REPORT_BUGS_TO): Likewise.
32815         * configure: Regenerated.
32816         * config.h.in (PKGVERSION): New macro.
32817         (REPORT_BUGS_TO): Likewise.
32818         * config.make.in (PKGVERSION): New variable.
32819         (PKGVERSION_TEXI): Likewise.
32820         (REPORT_BUGS_TO): Likewise.
32821         (REPORT_BUGS_TEXI): Likewise.
32822         * Makefile (format-me): Use -I$(common-objpfx)manual.
32823         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32824         ($(common-objpfx)manual/%): New target.
32825         (manual/%): Remove target.
32826         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32827         (print_version): Use PKGVERSION.
32828         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32829         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32830         and REPORT_BUGS_TO.
32831         ($(objpfx)xtrace): Likewise.
32832         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32833         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32834         (print_version): Use PKGVERSION.
32835         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32836         (do_version): Use PKGVERSION.
32837         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32838         REPORT_BUGS_TO.
32839         (common-ldd-rewrite): Likewise.
32840         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32841         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32842         (print_version): Use PKGVERSION.
32843         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32844         * elf/pldd.c (argp_program_bug_address): Remove variable.
32845         (more_help): New function.
32846         (argp): Use more_help.
32847         (print_version): Use PKGVERSION.
32848         * elf/sln.c (main): Use PKGVERSION.
32849         (usage): Use REPORT_BUGS_TO.
32850         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32851         (top level): Use PKGVERSION.
32852         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32853         (print_version): Use PKGVERSION.
32854         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32855         (print_version): Use PKGVERSION.
32856         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32857         (print_version): Use PKGVERSION.
32858         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32859         (print_version): Use PKGVERSION.
32860         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32861         (print_version): Use PKGVERSION.
32862         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32863         (print_version): Use PKGVERSION.
32864         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32865         and BUGURL.
32866         ($(objpfx)memusage): Likewise.
32867         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32868         (do_version): Use PKGVERSION.
32869         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32870         (print_version): Use PKGVERSION.
32871         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32872         ($PKGVERSION): New variable.
32873         ($REPORT_BUGS_TO): Likewise.
32874         (usage): Use $REPORT_BUGS_TO.
32875         (top level): Use $PKGVERSION.
32876         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32877         ($(objpfx)pkgvers.texi): New rule.
32878         ($(objpfx)stamp-pkgvers): Likewise.
32879         * manual/install.texi: Include pkgvers.texi.
32880         (--with-pkgversion): Document new configure option.
32881         (--with-bugurl): Likewise.
32882         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32883         than necessarily for this particular distribution.  Use
32884         REPORT_BUGS_TO for where to report bugs.
32885         * INSTALL: Regenerated.
32886         * manual/libc.texinfo: Include pkgvers.texi.
32887         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32888         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32889         (print_version): Use PKGVERSION.
32890         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32891         (print_version): Use PKGVERSION.
32892         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32893         (print_version): Use PKGVERSION.
32894         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32895         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32896         macro.
32897         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32898         (print_version): Use PKGVERSION.
32899         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32900         (print_version): Use PKGVERSION.
32901         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32902         and PKGVERSION.
32903
32904         * timezone/checktab.awk: Update from tzcode 2012i.
32905         * timezone/ialloc.c: Likewise.
32906         * timezone/private.h: Likewise.
32907         * timezone/scheck.c: Likewise.
32908         * timezone/tzfile.h: Likewise.
32909         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32910         (TZVERSION): Hardcode tzcode version number.
32911         * timezone/zdump.c: Update from tzcode 2012i.
32912         * timezone/zic.c: Likewise.
32913         * timezone/version.h: New file.
32914         * timezone/README: Describe version.h.  Update upstream location.
32915
32916         [BZ #14824]
32917         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32918         (mktemp): Enable declaration.
32919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32923         Likewise.
32924         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32925         Likewise.
32926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32927         Likewise.
32928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32929         Likewise.
32930         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32931         Likewise.
32932         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32933         Likewise.
32934
32935         [BZ #14821]
32936         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32937         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32938         for copies of such integer values.
32939         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32940         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32941
32942 2012-11-09  Andreas Jaeger  <aj@suse.de>
32943
32944         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32945         definitions and declarations that are provided by
32946         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32947
32948 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32949
32950         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32951         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32952         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32953         definition.
32954
32955 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32956
32957         * elf/elf.h: Update comment before AArch64 relocations.
32958
32959 2012-11-07  David S. Miller  <davem@davemloft.net>
32960
32961         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32962         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32963         (__start_context): Declare.
32964         (__makecontext_ret): Delete.
32965         (__makecontext): Hook up __start_context instead of
32966         __makecontext_ret.
32967         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32968         (sysdep_routines): Add __start_context when in stdlib.
32969
32970 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32971
32972         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32973         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32974         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32975         hardcoded "nm".
32976         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32977         (READELF): New variable.  Use it instead of hardcoded "readelf".
32978
32979 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32980
32981         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32982         * sysdeps/x86/Makefile: Here.
32983         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32984         * sysdeps/x86/tst-xmmymm.sh: This.
32985
32986 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32987
32988         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32989         expectations.
32990         [UNIX98] (pthread_barrier_t): Do not expect.
32991         [UNIX98] (pthread_barrierattr_t): Likewise.
32992         [UNIX98] (pthread_spinlock_t): Likewise.
32993         [UNIX98] (pthread_barrier_destroy): Likewise.
32994         [UNIX98] (pthread_barrier_init): Likewise.
32995         [UNIX98] (pthread_barrier_wait): Likewise.
32996         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32997         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32998         [UNIX98] (pthread_barrierattr_init): Likewise.
32999         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33000         [UNIX98] (pthread_getcpuclockid): Likewise.
33001         [UNIX98] (pthread_mutex_timedlock): Likewise.
33002         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33003         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33004         [UNIX98] (pthread_sigmask): Likewise.
33005         [UNIX98] (pthread_spin_destroy): Likewise.
33006         [UNIX98] (pthread_spin_init): Likewise.
33007         [UNIX98] (pthread_spin_lock): Likewise.
33008         [UNIX98] (pthread_spin_trylock): Likewise.
33009         [UNIX98] (pthread_spin_unlock): Likewise.
33010         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33011         Do not expect.
33012         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33013         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33014         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33015         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33016         [XPG3 || XPG4] (pthread_key_t): Likewise.
33017         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33018         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33019         [XPG3 || XPG4] (pthread_once_t): Likewise.
33020         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33021         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33022         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33023         [XPG3 || XPG4] (pthread_t): Likewise.
33024
33025         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33026         not expect.
33027         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33028
33029         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33030         Change function return type to int.
33031
33032         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33033         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33034         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33035         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33036         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33037         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33038         [!POSIX] (posix_madvise): Likewise.
33039         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33040         && !UNIX98].
33041         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33042         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33043         (mode_t): Likewise.
33044         (posix_mem_offset): Likewise.
33045         (posix_typed_mem_get_info): Likewise.
33046         (posix_typed_mem_open): Likewise.
33047
33048         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33049         Change condition to [XOPEN2K8].
33050
33051         * conform/conformtest.pl: Preprocess allow-header data with -x c
33052         instead of from stdin.
33053         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33054         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33055         [C99-based standards] (cerfc): Likewise.
33056         [C99-based standards] (cexp2): Likewise.
33057         [C99-based standards] (cexpm1): Likewise.
33058         [C99-based standards] (clog10): Likewise.
33059         [C99-based standards] (clog1p): Likewise.
33060         [C99-based standards] (clog2): Likewise.
33061         [C99-based standards] (clgamma): Likewise.
33062         [C99-based standards] (ctgamma): Likewise.
33063         [C99-based standards] (cerff): Likewise.
33064         [C99-based standards] (cerfcf): Likewise.
33065         [C99-based standards] (cexp2f): Likewise.
33066         [C99-based standards] (cexpm1f): Likewise.
33067         [C99-based standards] (clog10f): Likewise.
33068         [C99-based standards] (clog1pf): Likewise.
33069         [C99-based standards] (clog2f): Likewise.
33070         [C99-based standards] (clgammaf): Likewise.
33071         [C99-based standards] (ctgammaf): Likewise.
33072         [C99-based standards] (cerfl): Likewise.
33073         [C99-based standards] (cerfcl): Likewise.
33074         [C99-based standards] (cexp2l): Likewise.
33075         [C99-based standards] (cexpm1l): Likewise.
33076         [C99-based standards] (clog10l): Likewise.
33077         [C99-based standards] (clog1pl): Likewise.
33078         [C99-based standards] (clog2l): Likewise.
33079         [C99-based standards] (clgammal): Likewise.
33080         [C99-based standards] (ctgammal): Likewise.
33081         * conform/data/inttypes.h-data [C99-based standards]: Include
33082         stdint.h-data.  Remove all expectations for stdint.h contents.
33083         [C99-based standards] (PRI*): Do not allow.
33084         [C99-based standards] (SCN*): Likewise.
33085         [C99-based standards] (*_t): Likewise.
33086         [C99-based-standards] (PRId8): Expect macro.
33087         [C99-based-standards] (PRIi8): Likewise.
33088         [C99-based-standards] (PRIo8): Likewise.
33089         [C99-based-standards] (PRIu8): Likewise.
33090         [C99-based-standards] (PRIx8): Likewise.
33091         [C99-based-standards] (PRIX8): Likewise.
33092         [C99-based-standards] (SCNd8): Likewise.
33093         [C99-based-standards] (SCNi8): Likewise.
33094         [C99-based-standards] (SCNo8): Likewise.
33095         [C99-based-standards] (SCNu8): Likewise.
33096         [C99-based-standards] (SCNx8): Likewise.
33097         [C99-based-standards] (PRIdLEAST8): Likewise.
33098         [C99-based-standards] (PRIiLEAST8): Likewise.
33099         [C99-based-standards] (PRIoLEAST8): Likewise.
33100         [C99-based-standards] (PRIuLEAST8): Likewise.
33101         [C99-based-standards] (PRIxLEAST8): Likewise.
33102         [C99-based-standards] (PRIXLEAST8): Likewise.
33103         [C99-based-standards] (SCNdLEAST8): Likewise.
33104         [C99-based-standards] (SCNiLEAST8): Likewise.
33105         [C99-based-standards] (SCNoLEAST8): Likewise.
33106         [C99-based-standards] (SCNuLEAST8): Likewise.
33107         [C99-based-standards] (SCNxLEAST8): Likewise.
33108         [C99-based-standards] (PRIdFAST8): Likewise.
33109         [C99-based-standards] (PRIiFAST8): Likewise.
33110         [C99-based-standards] (PRIoFAST8): Likewise.
33111         [C99-based-standards] (PRIuFAST8): Likewise.
33112         [C99-based-standards] (PRIxFAST8): Likewise.
33113         [C99-based-standards] (PRIXFAST8): Likewise.
33114         [C99-based-standards] (SCNdFAST8): Likewise.
33115         [C99-based-standards] (SCNiFAST8): Likewise.
33116         [C99-based-standards] (SCNoFAST8): Likewise.
33117         [C99-based-standards] (SCNuFAST8): Likewise.
33118         [C99-based-standards] (SCNxFAST8): Likewise.
33119         [C99-based-standards] (PRId16): Likewise.
33120         [C99-based-standards] (PRIi16): Likewise.
33121         [C99-based-standards] (PRIo16): Likewise.
33122         [C99-based-standards] (PRIu16): Likewise.
33123         [C99-based-standards] (PRIx16): Likewise.
33124         [C99-based-standards] (PRIX16): Likewise.
33125         [C99-based-standards] (SCNd16): Likewise.
33126         [C99-based-standards] (SCNi16): Likewise.
33127         [C99-based-standards] (SCNo16): Likewise.
33128         [C99-based-standards] (SCNu16): Likewise.
33129         [C99-based-standards] (SCNx16): Likewise.
33130         [C99-based-standards] (PRIdLEAST16): Likewise.
33131         [C99-based-standards] (PRIiLEAST16): Likewise.
33132         [C99-based-standards] (PRIoLEAST16): Likewise.
33133         [C99-based-standards] (PRIuLEAST16): Likewise.
33134         [C99-based-standards] (PRIxLEAST16): Likewise.
33135         [C99-based-standards] (PRIXLEAST16): Likewise.
33136         [C99-based-standards] (SCNdLEAST16): Likewise.
33137         [C99-based-standards] (SCNiLEAST16): Likewise.
33138         [C99-based-standards] (SCNoLEAST16): Likewise.
33139         [C99-based-standards] (SCNuLEAST16): Likewise.
33140         [C99-based-standards] (SCNxLEAST16): Likewise.
33141         [C99-based-standards] (PRIdFAST16): Likewise.
33142         [C99-based-standards] (PRIiFAST16): Likewise.
33143         [C99-based-standards] (PRIoFAST16): Likewise.
33144         [C99-based-standards] (PRIuFAST16): Likewise.
33145         [C99-based-standards] (PRIxFAST16): Likewise.
33146         [C99-based-standards] (PRIXFAST16): Likewise.
33147         [C99-based-standards] (SCNdFAST16): Likewise.
33148         [C99-based-standards] (SCNiFAST16): Likewise.
33149         [C99-based-standards] (SCNoFAST16): Likewise.
33150         [C99-based-standards] (SCNuFAST16): Likewise.
33151         [C99-based-standards] (SCNxFAST16): Likewise.
33152         [C99-based-standards] (PRId32): Likewise.
33153         [C99-based-standards] (PRIi32): Likewise.
33154         [C99-based-standards] (PRIo32): Likewise.
33155         [C99-based-standards] (PRIu32): Likewise.
33156         [C99-based-standards] (PRIx32): Likewise.
33157         [C99-based-standards] (PRIX32): Likewise.
33158         [C99-based-standards] (SCNd32): Likewise.
33159         [C99-based-standards] (SCNi32): Likewise.
33160         [C99-based-standards] (SCNo32): Likewise.
33161         [C99-based-standards] (SCNu32): Likewise.
33162         [C99-based-standards] (SCNx32): Likewise.
33163         [C99-based-standards] (PRIdLEAST32): Likewise.
33164         [C99-based-standards] (PRIiLEAST32): Likewise.
33165         [C99-based-standards] (PRIoLEAST32): Likewise.
33166         [C99-based-standards] (PRIuLEAST32): Likewise.
33167         [C99-based-standards] (PRIxLEAST32): Likewise.
33168         [C99-based-standards] (PRIXLEAST32): Likewise.
33169         [C99-based-standards] (SCNdLEAST32): Likewise.
33170         [C99-based-standards] (SCNiLEAST32): Likewise.
33171         [C99-based-standards] (SCNoLEAST32): Likewise.
33172         [C99-based-standards] (SCNuLEAST32): Likewise.
33173         [C99-based-standards] (SCNxLEAST32): Likewise.
33174         [C99-based-standards] (PRIdFAST32): Likewise.
33175         [C99-based-standards] (PRIiFAST32): Likewise.
33176         [C99-based-standards] (PRIoFAST32): Likewise.
33177         [C99-based-standards] (PRIuFAST32): Likewise.
33178         [C99-based-standards] (PRIxFAST32): Likewise.
33179         [C99-based-standards] (PRIXFAST32): Likewise.
33180         [C99-based-standards] (SCNdFAST32): Likewise.
33181         [C99-based-standards] (SCNiFAST32): Likewise.
33182         [C99-based-standards] (SCNoFAST32): Likewise.
33183         [C99-based-standards] (SCNuFAST32): Likewise.
33184         [C99-based-standards] (SCNxFAST32): Likewise.
33185         [C99-based-standards] (PRId64): Likewise.
33186         [C99-based-standards] (PRIi64): Likewise.
33187         [C99-based-standards] (PRIo64): Likewise.
33188         [C99-based-standards] (PRIu64): Likewise.
33189         [C99-based-standards] (PRIx64): Likewise.
33190         [C99-based-standards] (PRIX64): Likewise.
33191         [C99-based-standards] (SCNd64): Likewise.
33192         [C99-based-standards] (SCNi64): Likewise.
33193         [C99-based-standards] (SCNo64): Likewise.
33194         [C99-based-standards] (SCNu64): Likewise.
33195         [C99-based-standards] (SCNx64): Likewise.
33196         [C99-based-standards] (PRIdLEAST64): Likewise.
33197         [C99-based-standards] (PRIiLEAST64): Likewise.
33198         [C99-based-standards] (PRIoLEAST64): Likewise.
33199         [C99-based-standards] (PRIuLEAST64): Likewise.
33200         [C99-based-standards] (PRIxLEAST64): Likewise.
33201         [C99-based-standards] (PRIXLEAST64): Likewise.
33202         [C99-based-standards] (SCNdLEAST64): Likewise.
33203         [C99-based-standards] (SCNiLEAST64): Likewise.
33204         [C99-based-standards] (SCNoLEAST64): Likewise.
33205         [C99-based-standards] (SCNuLEAST64): Likewise.
33206         [C99-based-standards] (SCNxLEAST64): Likewise.
33207         [C99-based-standards] (PRIdFAST64): Likewise.
33208         [C99-based-standards] (PRIiFAST64): Likewise.
33209         [C99-based-standards] (PRIoFAST64): Likewise.
33210         [C99-based-standards] (PRIuFAST64): Likewise.
33211         [C99-based-standards] (PRIxFAST64): Likewise.
33212         [C99-based-standards] (PRIXFAST64): Likewise.
33213         [C99-based-standards] (SCNdFAST64): Likewise.
33214         [C99-based-standards] (SCNiFAST64): Likewise.
33215         [C99-based-standards] (SCNoFAST64): Likewise.
33216         [C99-based-standards] (SCNuFAST64): Likewise.
33217         [C99-based-standards] (SCNxFAST64): Likewise.
33218         [C99-based-standards] (PRIdMAX): Likewise.
33219         [C99-based-standards] (PRIiMAX): Likewise.
33220         [C99-based-standards] (PRIoMAX): Likewise.
33221         [C99-based-standards] (PRIuMAX): Likewise.
33222         [C99-based-standards] (PRIxMAX): Likewise.
33223         [C99-based-standards] (PRIXMAX): Likewise.
33224         [C99-based-standards] (SCNdMAX): Likewise.
33225         [C99-based-standards] (SCNiMAX): Likewise.
33226         [C99-based-standards] (SCNoMAX): Likewise.
33227         [C99-based-standards] (SCNuMAX): Likewise.
33228         [C99-based-standards] (SCNxMAX): Likewise.
33229         [C99-based-standards] (PRIdPTR): Likewise.
33230         [C99-based-standards] (PRIiPTR): Likewise.
33231         [C99-based-standards] (PRIoPTR): Likewise.
33232         [C99-based-standards] (PRIuPTR): Likewise.
33233         [C99-based-standards] (PRIxPTR): Likewise.
33234         [C99-based-standards] (PRIXPTR): Likewise.
33235         [C99-based-standards] (SCNdPTR): Likewise.
33236         [C99-based-standards] (SCNiPTR): Likewise.
33237         [C99-based-standards] (SCNoPTR): Likewise.
33238         [C99-based-standards] (SCNuPTR): Likewise.
33239         [C99-based-standards] (SCNxPTR): Likewise.
33240         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33241         allow.
33242         * conform/data/stdint.h-data: Update comments to clarify
33243         requirements.
33244         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33245         type.
33246         [C99-based standards] (INT8_MAX): Likewise.
33247         [C99-based standards] (INT16_MIN): Likewise.
33248         [C99-based standards] (INT16_MAX): Likewise.
33249         [C99-based standards] (INT32_MIN): Likewise.
33250         [C99-based standards] (INT32_MAX): Likewise.
33251         [C99-based standards] (INT64_MIN): Likewise.
33252         [C99-based standards] (INT64_MAX): Likewise.
33253         [C99-based standards] (UINT8_MAX): Likewise.
33254         [C99-based standards] (UINT16_MAX): Likewise.
33255         [C99-based standards] (UINT32_MAX): Likewise.
33256         [C99-based standards] (UINT64_MAX): Likewise.
33257         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33258         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33259         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33260         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33261         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33262         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33263         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33264         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33265         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33266         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33267         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33268         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33269         [C99-based standards] (INT_FAST8_MIN): Likewise.
33270         [C99-based standards] (INT_FAST8_MAX): Likewise.
33271         [C99-based standards] (INT_FAST16_MIN): Likewise.
33272         [C99-based standards] (INT_FAST16_MAX): Likewise.
33273         [C99-based standards] (INT_FAST32_MIN): Likewise.
33274         [C99-based standards] (INT_FAST32_MAX): Likewise.
33275         [C99-based standards] (INT_FAST64_MIN): Likewise.
33276         [C99-based standards] (INT_FAST64_MAX): Likewise.
33277         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33278         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33279         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33280         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33281         [C99-based standards] (INTPTR_MIN): Likewise.
33282         [C99-based standards] (INTPTR_MAX): Likewise.
33283         [C99-based standards] (UINTPTR_MAX): Likewise.
33284         [C99-based standards] (INTMAX_MIN): Likewise.
33285         [C99-based standards] (INTMAX_MAX): Likewise.
33286         [C99-based standards] (UINTMAX_MAX): Likewise.
33287         [C99-based standards] (PTRDIFF_MIN): Likewise.
33288         [C99-based standards] (PTRDIFF_MAX): Likewise.
33289         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33290         [C99-based standards] (SIZE_MAX): Likewise.
33291         [C99-based standards] (WCHAR_MAX): Likewise.
33292         [C99-based standards] (WINT_MAX): Likewise.
33293         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33294         constraint on value.
33295         [C99-based standards] (WCHAR_MIN): Likewise.
33296         [C99-based standards] (WINT_MIN): Likewise.
33297         [C99-based standards] (*_t): Allow.
33298         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33299         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33300         Include math.h-data and complex.h-data.  Remove all expectations
33301         of math.h and complex.h contents.
33302         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33303         at end of line.
33304         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33305         (struct tm): Expect tag.
33306         [C99-based-standards] (wcstof): Expect function.
33307         [C99-based-standards] (wcstold): Likewise.
33308         [C99-based-standards] (wcstoll): Likewise.
33309         [C99-based-standards] (wcstoull): Likewise.
33310         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33311         macro-int-constant.  Specify type.
33312         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33313         constraint on value.
33314         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33315         Specify type.
33316         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33317         Specify value.
33318         [ISO C standards]: Do not allow headers.
33319         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33320         wcs[abcdefghijklmnopqrstuvwxyz]*.
33321         [ISO C standards] (*_t): Do not allow.
33322         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33323         Expect function.
33324         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33325         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33326         Specify type.
33327         [ISO C standards]: Do not allow headers.
33328         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33329         is[abcdefghijklmnopqrstuvwxyz]*.
33330         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33331         to[abcdefghijklmnopqrstuvwxyz]*.
33332         [ISO C standards] (*_t): Do not allow.
33333         * conform/data/stdalign.h-data: New file.
33334         * conform/data/stdbool.h-data: Likewise.
33335         * conform/data/stdnoreturn.h-data: Likewise.
33336
33337 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33338
33339         [BZ #14815]
33340         * manual/filesys.texi (Directory Entries): Typo fix.
33341         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33342
33343 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33344
33345         * elf/elf.h (EM_AARCH64): New macro.
33346         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33347         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33348         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33349         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33350         (R_AARCH64_TLSDESC): Likewise.
33351         (NT_ARM_TLS): Likewise.
33352         (NT_ARM_HW_BREAK): Likewise.
33353         (NT_ARM_HW_WATCH): Likewise.
33354
33355 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33356
33357         [BZ #14811]
33358         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33359         (__ieee754_powl): Saturate nonzero exponents with absolute value
33360         below 0x1p-79 to +/- 0x1p-79.
33361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33362         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33363         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33364         nonzero exponents with absolute value below 0x1p-32 to +/-
33365         0x1p-32.
33366         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33367         (__ieee754_powl): Saturate nonzero exponents with absolute value
33368         below 0x1p-79 to +/- 0x1p-79.
33369         * math/libm-test.inc (pow_test): Add more tests.
33370
33371 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33372
33373         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33374         _dl_s390_cap_flags with kernel. Increase string length.
33375         (_dl_s390_platforms): Add z196 and zEC12.
33376
33377 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33378
33379         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33380         Change XOPEN21K to XOPEN2K.
33381
33382 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33383
33384         * string/memmove.c: Use memcpy when possible.
33385
33386 2012-11-06  Andreas Jaeger  <aj@suse.de>
33387
33388         * po/eo.po: Update from translation team.
33389
33390 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33391
33392         [BZ #14793]
33393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33394         exponent and small x and y exponents, scale x or y up.  Increase
33395         by 2 the exponent used in scaling up.
33396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33397         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33398         * math/libm-test.inc (fma_test): Add more tests.
33399         (fma_test_towardzero): Likewise.
33400         (fma_test_downward): Likewise.
33401         (fma_test_upward): Likewise.
33402
33403 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33404
33405         [BZ #14805]
33406         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33407         fenv_t *.
33408
33409         [BZ #14801]
33410         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33411         namespace for names of struct fields.
33412         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33413         fenv_t fields.
33414         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33415         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33416
33417 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33418
33419         [BZ #3665]
33420         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33421
33422 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33423
33424         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33425         PTR_DEMANGLE.
33426
33427         [BZ #5246]
33428         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33429         PTR_DEMANGLE.
33430
33431 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33432
33433         [BZ #14797]
33434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33435         definitely overflow as x * y not x * y + z.
33436         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33438         * math/libm-test.inc (fma_test): Add more tests.
33439         (fma_test_towardzero): Likewise.
33440         (fma_test_downward): Likewise.
33441         (fma_test_upward): Likewise.
33442
33443 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33444
33445         [BZ #157]
33446
33447         * include/stub-tag.h: Remove file.
33448         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33449         '#include' of it.
33450         * manual/maint.texi (Porting): Don't reference it.
33451         * Makerules ($(objpfx)stubs): Likewise.
33452         * dirent/closedir.c: Don't include <stub-tag.h>.
33453         * dirent/dirfd.c: Likewise.
33454         * dirent/fdopendir.c: Likewise.
33455         * dirent/getdents.c: Likewise.
33456         * dirent/getdents64.c: Likewise.
33457         * dirent/opendir.c: Likewise.
33458         * dirent/readdir.c: Likewise.
33459         * dirent/readdir64.c: Likewise.
33460         * dirent/readdir64_r.c: Likewise.
33461         * dirent/readdir_r.c: Likewise.
33462         * dirent/rewinddir.c: Likewise.
33463         * dirent/seekdir.c: Likewise.
33464         * dirent/telldir.c: Likewise.
33465         * gmon/profil.c: Likewise.
33466         * grp/setgroups.c: Likewise.
33467         * inet/if_index.c: Likewise.
33468         * io/access.c: Likewise.
33469         * io/chdir.c: Likewise.
33470         * io/chmod.c: Likewise.
33471         * io/chown.c: Likewise.
33472         * io/close.c: Likewise.
33473         * io/dup.c: Likewise.
33474         * io/dup2.c: Likewise.
33475         * io/dup3.c: Likewise.
33476         * io/euidaccess.c: Likewise.
33477         * io/faccessat.c: Likewise.
33478         * io/fchdir.c: Likewise.
33479         * io/fchmod.c: Likewise.
33480         * io/fchmodat.c: Likewise.
33481         * io/fchown.c: Likewise.
33482         * io/fchownat.c: Likewise.
33483         * io/fcntl.c: Likewise.
33484         * io/flock.c: Likewise.
33485         * io/fstatfs.c: Likewise.
33486         * io/fstatfs64.c: Likewise.
33487         * io/fstatvfs.c: Likewise.
33488         * io/fstatvfs64.c: Likewise.
33489         * io/futimens.c: Likewise.
33490         * io/fxstat.c: Likewise.
33491         * io/fxstat64.c: Likewise.
33492         * io/fxstatat.c: Likewise.
33493         * io/fxstatat64.c: Likewise.
33494         * io/getcwd.c: Likewise.
33495         * io/isatty.c: Likewise.
33496         * io/lchmod.c: Likewise.
33497         * io/lchown.c: Likewise.
33498         * io/link.c: Likewise.
33499         * io/linkat.c: Likewise.
33500         * io/lseek.c: Likewise.
33501         * io/lseek64.c: Likewise.
33502         * io/lxstat64.c: Likewise.
33503         * io/mkdir.c: Likewise.
33504         * io/mkdirat.c: Likewise.
33505         * io/mkfifo.c: Likewise.
33506         * io/mkfifoat.c: Likewise.
33507         * io/open.c: Likewise.
33508         * io/open64.c: Likewise.
33509         * io/openat.c: Likewise.
33510         * io/openat64.c: Likewise.
33511         * io/pipe.c: Likewise.
33512         * io/pipe2.c: Likewise.
33513         * io/poll.c: Likewise.
33514         * io/posix_fadvise.c: Likewise.
33515         * io/posix_fadvise64.c: Likewise.
33516         * io/posix_fallocate.c: Likewise.
33517         * io/posix_fallocate64.c: Likewise.
33518         * io/read.c: Likewise.
33519         * io/readlink.c: Likewise.
33520         * io/readlinkat.c: Likewise.
33521         * io/rmdir.c: Likewise.
33522         * io/sendfile.c: Likewise.
33523         * io/sendfile64.c: Likewise.
33524         * io/statfs.c: Likewise.
33525         * io/statfs64.c: Likewise.
33526         * io/statvfs.c: Likewise.
33527         * io/statvfs64.c: Likewise.
33528         * io/symlink.c: Likewise.
33529         * io/symlinkat.c: Likewise.
33530         * io/ttyname.c: Likewise.
33531         * io/ttyname_r.c: Likewise.
33532         * io/umask.c: Likewise.
33533         * io/unlink.c: Likewise.
33534         * io/unlinkat.c: Likewise.
33535         * io/utime.c: Likewise.
33536         * io/utimensat.c: Likewise.
33537         * io/write.c: Likewise.
33538         * io/xmknod.c: Likewise.
33539         * io/xmknodat.c: Likewise.
33540         * io/xstat.c: Likewise.
33541         * io/xstat64.c: Likewise.
33542         * login/getpt.c: Likewise.
33543         * login/grantpt.c: Likewise.
33544         * login/unlockpt.c: Likewise.
33545         * math/e_acoshl.c: Likewise.
33546         * math/e_acosl.c: Likewise.
33547         * math/e_asinl.c: Likewise.
33548         * math/e_atan2l.c: Likewise.
33549         * math/e_atanhl.c: Likewise.
33550         * math/e_coshl.c: Likewise.
33551         * math/e_expl.c: Likewise.
33552         * math/e_fmodl.c: Likewise.
33553         * math/e_gammal_r.c: Likewise.
33554         * math/e_hypotl.c: Likewise.
33555         * math/e_j0l.c: Likewise.
33556         * math/e_j1l.c: Likewise.
33557         * math/e_jnl.c: Likewise.
33558         * math/e_lgammal_r.c: Likewise.
33559         * math/e_log10l.c: Likewise.
33560         * math/e_log2l.c: Likewise.
33561         * math/e_logl.c: Likewise.
33562         * math/e_powl.c: Likewise.
33563         * math/e_rem_pio2l.c: Likewise.
33564         * math/e_sinhl.c: Likewise.
33565         * math/e_sqrtl.c: Likewise.
33566         * math/fclrexcpt.c: Likewise.
33567         * math/fedisblxcpt.c: Likewise.
33568         * math/feenablxcpt.c: Likewise.
33569         * math/fegetenv.c: Likewise.
33570         * math/fegetexcept.c: Likewise.
33571         * math/fegetround.c: Likewise.
33572         * math/feholdexcpt.c: Likewise.
33573         * math/fesetenv.c: Likewise.
33574         * math/fesetround.c: Likewise.
33575         * math/feupdateenv.c: Likewise.
33576         * math/fgetexcptflg.c: Likewise.
33577         * math/fraiseexcpt.c: Likewise.
33578         * math/fsetexcptflg.c: Likewise.
33579         * math/ftestexcept.c: Likewise.
33580         * math/k_cosl.c: Likewise.
33581         * math/k_rem_pio2l.c: Likewise.
33582         * math/k_sinl.c: Likewise.
33583         * math/k_tanl.c: Likewise.
33584         * math/s_asinhl.c: Likewise.
33585         * math/s_atanl.c: Likewise.
33586         * math/s_cbrtl.c: Likewise.
33587         * math/s_erfl.c: Likewise.
33588         * math/s_expm1l.c: Likewise.
33589         * math/s_log1pl.c: Likewise.
33590         * math/s_tanhl.c: Likewise.
33591         * misc/acct.c: Likewise.
33592         * misc/brk.c: Likewise.
33593         * misc/chflags.c: Likewise.
33594         * misc/chroot.c: Likewise.
33595         * misc/fchflags.c: Likewise.
33596         * misc/fgetxattr.c: Likewise.
33597         * misc/flistxattr.c: Likewise.
33598         * misc/fremovexattr.c: Likewise.
33599         * misc/fsetxattr.c: Likewise.
33600         * misc/fsync.c: Likewise.
33601         * misc/ftruncate.c: Likewise.
33602         * misc/futimes.c: Likewise.
33603         * misc/futimesat.c: Likewise.
33604         * misc/getdomain.c: Likewise.
33605         * misc/getdtsz.c: Likewise.
33606         * misc/gethostid.c: Likewise.
33607         * misc/gethostname.c: Likewise.
33608         * misc/getloadavg.c: Likewise.
33609         * misc/getpagesize.c: Likewise.
33610         * misc/getsysstats.c: Likewise.
33611         * misc/getxattr.c: Likewise.
33612         * misc/gtty.c: Likewise.
33613         * misc/ioctl.c: Likewise.
33614         * misc/lgetxattr.c: Likewise.
33615         * misc/listxattr.c: Likewise.
33616         * misc/llistxattr.c: Likewise.
33617         * misc/lremovexattr.c: Likewise.
33618         * misc/lsetxattr.c: Likewise.
33619         * misc/lutimes.c: Likewise.
33620         * misc/madvise.c: Likewise.
33621         * misc/mincore.c: Likewise.
33622         * misc/mlock.c: Likewise.
33623         * misc/mlockall.c: Likewise.
33624         * misc/mmap.c: Likewise.
33625         * misc/mprotect.c: Likewise.
33626         * misc/msync.c: Likewise.
33627         * misc/munlock.c: Likewise.
33628         * misc/munlockall.c: Likewise.
33629         * misc/munmap.c: Likewise.
33630         * misc/preadv.c: Likewise.
33631         * misc/preadv64.c: Likewise.
33632         * misc/ptrace.c: Likewise.
33633         * misc/pwritev.c: Likewise.
33634         * misc/pwritev64.c: Likewise.
33635         * misc/readv.c: Likewise.
33636         * misc/reboot.c: Likewise.
33637         * misc/remap_file_pages.c: Likewise.
33638         * misc/removexattr.c: Likewise.
33639         * misc/revoke.c: Likewise.
33640         * misc/select.c: Likewise.
33641         * misc/setdomain.c: Likewise.
33642         * misc/setegid.c: Likewise.
33643         * misc/seteuid.c: Likewise.
33644         * misc/sethostid.c: Likewise.
33645         * misc/sethostname.c: Likewise.
33646         * misc/setregid.c: Likewise.
33647         * misc/setreuid.c: Likewise.
33648         * misc/setxattr.c: Likewise.
33649         * misc/sstk.c: Likewise.
33650         * misc/stty.c: Likewise.
33651         * misc/swapoff.c: Likewise.
33652         * misc/swapon.c: Likewise.
33653         * misc/sync.c: Likewise.
33654         * misc/syncfs.c: Likewise.
33655         * misc/syscall.c: Likewise.
33656         * misc/truncate.c: Likewise.
33657         * misc/ualarm.c: Likewise.
33658         * misc/usleep.c: Likewise.
33659         * misc/ustat.c: Likewise.
33660         * misc/utimes.c: Likewise.
33661         * misc/vhangup.c: Likewise.
33662         * misc/writev.c: Likewise.
33663         * posix/_exit.c: Likewise.
33664         * posix/alarm.c: Likewise.
33665         * posix/execve.c: Likewise.
33666         * posix/fexecve.c: Likewise.
33667         * posix/fork.c: Likewise.
33668         * posix/fpathconf.c: Likewise.
33669         * posix/getaddrinfo.c: Likewise.
33670         * posix/getegid.c: Likewise.
33671         * posix/geteuid.c: Likewise.
33672         * posix/getgid.c: Likewise.
33673         * posix/getgroups.c: Likewise.
33674         * posix/getlogin.c: Likewise.
33675         * posix/getlogin_r.c: Likewise.
33676         * posix/getpgid.c: Likewise.
33677         * posix/getpid.c: Likewise.
33678         * posix/getppid.c: Likewise.
33679         * posix/getresgid.c: Likewise.
33680         * posix/getresuid.c: Likewise.
33681         * posix/getsid.c: Likewise.
33682         * posix/getuid.c: Likewise.
33683         * posix/glob64.c: Likewise.
33684         * posix/nanosleep.c: Likewise.
33685         * posix/pathconf.c: Likewise.
33686         * posix/pause.c: Likewise.
33687         * posix/posix_madvise.c: Likewise.
33688         * posix/pread.c: Likewise.
33689         * posix/pread64.c: Likewise.
33690         * posix/pwrite.c: Likewise.
33691         * posix/pwrite64.c: Likewise.
33692         * posix/sched_getaffinity.c: Likewise.
33693         * posix/sched_getp.c: Likewise.
33694         * posix/sched_gets.c: Likewise.
33695         * posix/sched_primax.c: Likewise.
33696         * posix/sched_primin.c: Likewise.
33697         * posix/sched_rr_gi.c: Likewise.
33698         * posix/sched_setaffinity.c: Likewise.
33699         * posix/sched_setp.c: Likewise.
33700         * posix/sched_sets.c: Likewise.
33701         * posix/sched_yield.c: Likewise.
33702         * posix/setgid.c: Likewise.
33703         * posix/setlogin.c: Likewise.
33704         * posix/setpgid.c: Likewise.
33705         * posix/setresgid.c: Likewise.
33706         * posix/setresuid.c: Likewise.
33707         * posix/setsid.c: Likewise.
33708         * posix/setuid.c: Likewise.
33709         * posix/sleep.c: Likewise.
33710         * posix/spawni.c: Likewise.
33711         * posix/sysconf.c: Likewise.
33712         * posix/times.c: Likewise.
33713         * posix/wait.c: Likewise.
33714         * posix/wait3.c: Likewise.
33715         * posix/wait4.c: Likewise.
33716         * posix/waitpid.c: Likewise.
33717         * resolv/gai_sigqueue.c: Likewise.
33718         * resource/getpriority.c: Likewise.
33719         * resource/getrlimit.c: Likewise.
33720         * resource/getrusage.c: Likewise.
33721         * resource/nice.c: Likewise.
33722         * resource/setpriority.c: Likewise.
33723         * resource/setrlimit.c: Likewise.
33724         * resource/ulimit.c: Likewise.
33725         * rt/aio_cancel.c: Likewise.
33726         * rt/aio_fsync.c: Likewise.
33727         * rt/aio_read.c: Likewise.
33728         * rt/aio_sigqueue.c: Likewise.
33729         * rt/aio_suspend.c: Likewise.
33730         * rt/aio_write.c: Likewise.
33731         * rt/clock_getres.c: Likewise.
33732         * rt/clock_gettime.c: Likewise.
33733         * rt/clock_nanosleep.c: Likewise.
33734         * rt/clock_settime.c: Likewise.
33735         * rt/lio_listio.c: Likewise.
33736         * rt/mq_close.c: Likewise.
33737         * rt/mq_getattr.c: Likewise.
33738         * rt/mq_notify.c: Likewise.
33739         * rt/mq_open.c: Likewise.
33740         * rt/mq_receive.c: Likewise.
33741         * rt/mq_send.c: Likewise.
33742         * rt/mq_setattr.c: Likewise.
33743         * rt/mq_timedreceive.c: Likewise.
33744         * rt/mq_timedsend.c: Likewise.
33745         * rt/mq_unlink.c: Likewise.
33746         * rt/shm_open.c: Likewise.
33747         * rt/shm_unlink.c: Likewise.
33748         * rt/timer_create.c: Likewise.
33749         * rt/timer_delete.c: Likewise.
33750         * rt/timer_getoverr.c: Likewise.
33751         * rt/timer_gettime.c: Likewise.
33752         * rt/timer_settime.c: Likewise.
33753         * setjmp/__longjmp.c: Likewise.
33754         * setjmp/setjmp.c: Likewise.
33755         * signal/kill.c: Likewise.
33756         * signal/killpg.c: Likewise.
33757         * signal/raise.c: Likewise.
33758         * signal/sigaction.c: Likewise.
33759         * signal/sigaltstack.c: Likewise.
33760         * signal/sigblock.c: Likewise.
33761         * signal/sigignore.c: Likewise.
33762         * signal/sigintr.c: Likewise.
33763         * signal/signal.c: Likewise.
33764         * signal/sigpause.c: Likewise.
33765         * signal/sigpending.c: Likewise.
33766         * signal/sigqueue.c: Likewise.
33767         * signal/sigreturn.c: Likewise.
33768         * signal/sigset.c: Likewise.
33769         * signal/sigsetmask.c: Likewise.
33770         * signal/sigstack.c: Likewise.
33771         * signal/sigsuspend.c: Likewise.
33772         * signal/sigtimedwait.c: Likewise.
33773         * signal/sigvec.c: Likewise.
33774         * signal/sigwait.c: Likewise.
33775         * signal/sigwaitinfo.c: Likewise.
33776         * signal/sysv_signal.c: Likewise.
33777         * socket/accept.c: Likewise.
33778         * socket/accept4.c: Likewise.
33779         * socket/bind.c: Likewise.
33780         * socket/connect.c: Likewise.
33781         * socket/getpeername.c: Likewise.
33782         * socket/getsockname.c: Likewise.
33783         * socket/getsockopt.c: Likewise.
33784         * socket/isfdtype.c: Likewise.
33785         * socket/listen.c: Likewise.
33786         * socket/recv.c: Likewise.
33787         * socket/recvfrom.c: Likewise.
33788         * socket/recvmsg.c: Likewise.
33789         * socket/send.c: Likewise.
33790         * socket/sendmsg.c: Likewise.
33791         * socket/sendto.c: Likewise.
33792         * socket/setsockopt.c: Likewise.
33793         * socket/shutdown.c: Likewise.
33794         * socket/sockatmark.c: Likewise.
33795         * socket/socket.c: Likewise.
33796         * socket/socketpair.c: Likewise.
33797         * stdio-common/ctermid.c: Likewise.
33798         * stdio-common/cuserid.c: Likewise.
33799         * stdio-common/remove.c: Likewise.
33800         * stdio-common/rename.c: Likewise.
33801         * stdio-common/renameat.c: Likewise.
33802         * stdio-common/tempname.c: Likewise.
33803         * stdlib/getcontext.c: Likewise.
33804         * stdlib/makecontext.c: Likewise.
33805         * stdlib/setcontext.c: Likewise.
33806         * stdlib/swapcontext.c: Likewise.
33807         * stdlib/system.c: Likewise.
33808         * streams/fattach.c: Likewise.
33809         * streams/fdetach.c: Likewise.
33810         * streams/getmsg.c: Likewise.
33811         * streams/getpmsg.c: Likewise.
33812         * streams/putmsg.c: Likewise.
33813         * streams/putpmsg.c: Likewise.
33814         * sysdeps/unix/bsd/getpt.c: Likewise.
33815         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33816         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33817         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33819         Likewise.
33820         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33821         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33822         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33823         * sysvipc/msgctl.c: Likewise.
33824         * sysvipc/msgget.c: Likewise.
33825         * sysvipc/msgrcv.c: Likewise.
33826         * sysvipc/msgsnd.c: Likewise.
33827         * sysvipc/semctl.c: Likewise.
33828         * sysvipc/semget.c: Likewise.
33829         * sysvipc/semop.c: Likewise.
33830         * sysvipc/semtimedop.c: Likewise.
33831         * sysvipc/shmat.c: Likewise.
33832         * sysvipc/shmctl.c: Likewise.
33833         * sysvipc/shmdt.c: Likewise.
33834         * sysvipc/shmget.c: Likewise.
33835         * termios/tcdrain.c: Likewise.
33836         * termios/tcflow.c: Likewise.
33837         * termios/tcflush.c: Likewise.
33838         * termios/tcgetattr.c: Likewise.
33839         * termios/tcgetpgrp.c: Likewise.
33840         * termios/tcsendbrk.c: Likewise.
33841         * termios/tcsetattr.c: Likewise.
33842         * termios/tcsetpgrp.c: Likewise.
33843         * time/adjtime.c: Likewise.
33844         * time/clock.c: Likewise.
33845         * time/getitimer.c: Likewise.
33846         * time/gettimeofday.c: Likewise.
33847         * time/setitimer.c: Likewise.
33848         * time/settimeofday.c: Likewise.
33849         * time/stime.c: Likewise.
33850         * time/time.c: Likewise.
33851
33852 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33853
33854         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33855         /usr/old/bin.
33856
33857         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33858         instead of spaces.
33859         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33860
33861 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33862
33863         [BZ #14796]
33864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33865         FE_TONEAREST before applying Dekker multiplication and Knuth
33866         addition.  Clear inexact exceptions and check for exact zero
33867         results afterwards.
33868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33869         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33871         * math/libm-test.inc (fma_test): Add more tests.
33872         (fma_test_towardzero): Likewise.
33873         (fma_test_downward): Likewise.
33874         (fma_test_upward): Likewise.
33875         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33876         function.
33877         (libc_fesetround): New macro.
33878         (libc_fesetroundf): Likewise.
33879         (libc_fesetroundl): Likewise.
33880         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33881         function.
33882         (libc_fesetround_387): Likewise.
33883         (libc_fesetroundf): New macro.
33884         (libc_fesetround): Likewise.
33885         (libc_fesetroundl): Likewise.
33886         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33887         function.
33888         (libc_fesetroundf): New macro.
33889         (libc_fesetround): Likewise.
33890         (libc_fesetroundl): Likewise.
33891         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33892         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33893         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33894         libm_hidden_ver.
33895         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33896         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33897         libm_hidden_def.
33898         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33899         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33900         libm_hidden_ver.
33901         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33902         libm_hidden_def.
33903
33904         [BZ #3439]
33905         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33906         integer constant usable in #if and use that to give value to enum
33907         constant.
33908         (FE_DIVBYZERO): Likewise.
33909         (FE_UNDERFLOW): Likewise.
33910         (FE_OVERFLOW): Likewise.
33911         (FE_INVALID): Likewise.
33912         (FE_INVALID_SNAN): Likewise.
33913         (FE_INVALID_ISI): Likewise.
33914         (FE_INVALID_IDI): Likewise.
33915         (FE_INVALID_ZDZ): Likewise.
33916         (FE_INVALID_IMZ): Likewise.
33917         (FE_INVALID_COMPARE): Likewise.
33918         (FE_INVALID_SOFTWARE): Likewise.
33919         (FE_INVALID_SQRT): Likewise.
33920         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33921         (FE_TONEAREST): Likewise.
33922         (FE_TOWARDZERO): Likewise.
33923         (FE_UPWARD): Likewise.
33924         (FE_DOWNWARD): Likewise.
33925         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33926         (FE_DIVBYZERO): Likewise.
33927         (FE_OVERFLOW): Likewise.
33928         (FE_UNDERFLOW): Likewise.
33929         (FE_INEXACT): Likewise.
33930         (FE_TONEAREST): Likewise.
33931         (FE_DOWNWARD): Likewise.
33932         (FE_UPWARD): Likewise.
33933         (FE_TOWARDZERO): Likewise.
33934         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33935         (FE_UNDERFLOW): Likewise.
33936         (FE_OVERFLOW): Likewise.
33937         (FE_DIVBYZERO): Likewise.
33938         (FE_INVALID): Likewise.
33939         (FE_TONEAREST): Likewise.
33940         (FE_TOWARDZERO): Likewise.
33941         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33942         (FE_OVERFLOW): Likewise.
33943         (FE_UNDERFLOW): Likewise.
33944         (FE_DIVBYZERO): Likewise.
33945         (FE_INEXACT): Likewise.
33946         (FE_TONEAREST): Likewise.
33947         (FE_TOWARDZERO): Likewise.
33948         (FE_UPWARD): Likewise.
33949         (FE_DOWNWARD): Likewise.
33950         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33951         (FE_DIVBYZERO): Likewise.
33952         (FE_OVERFLOW): Likewise.
33953         (FE_UNDERFLOW): Likewise.
33954         (FE_INEXACT): Likewise.
33955         (FE_TONEAREST): Likewise.
33956         (FE_DOWNWARD): Likewise.
33957         (FE_UPWARD): Likewise.
33958         (FE_TOWARDZERO): Likewise.
33959
33960 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33961
33962         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33963
33964 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33965
33966         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33967         commands.  Quote $PWD.
33968         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33969         -x" by "export".
33970         (remove_newlines): Remove.
33971
33972 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33973
33974         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33975         * stdlib/stdlib.h (atof): Moved to ...
33976         * include/bits/stdlib-float.h: Here.  New file.
33977         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33978         * stdlib/bits/stdlib-float.h: New file.
33979         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33980         -mno-sse -mno-mmx.
33981         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33982         <xmmintrin.h>.
33983
33984 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33985
33986         * conform/conformtest.pl (@headers): Add fenv.h.
33987         * conform/data/fenv.h-data: New file.
33988         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33989         include of <math/fenv.h>.
33990
33991         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33992         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33993         && !UNIX98].  Enables tests for XOPEN2K8.
33994         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33995         POSIX2008]: Likewise.
33996
33997         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33998         (struct rusage): Do not expect type or its members.
33999
34000         [BZ #3439]
34001         * math/math.h (FP_NAN): Define macro to integer constant usable in
34002         #if and use that to give value to enum constant.
34003         (FP_INFINITE): Likewise.
34004         (FP_ZERO): Likewise.
34005         (FP_SUBNORMAL): Likewise.
34006         (FP_NORMAL): Likewise.
34007
34008 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
34009
34010         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34011         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34012         arguments.
34013
34014 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34015
34016         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34017         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34018         autoconf-time if not.
34019         * configure.in: Remove AC_PREREQ.
34020
34021 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34022
34023         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34024         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34025         of the internal implementation.
34026
34027 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34028
34029         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34030         except include of <misc/sys/syslog.h>.
34031
34032 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34033
34034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34035         function returns with a NULL context exit with zero.
34036
34037 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34038
34039         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34040
34041 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34042
34043         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34044         (run_program_cmd): This.
34045         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34046         (tst_langinfo): New variable.  Use it.
34047
34048 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34049
34050         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34051         floating point opcodes.
34052
34053 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34054
34055         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34056         variable.
34057
34058         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34059
34060         * sysdeps/mach/hurd/powerpc: Remove directory.
34061         * sysdeps/mach/powerpc: Likewise.
34062
34063 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34064
34065         * scripts/check-local-headers.sh: Ignore c++ headers.
34066
34067 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34068
34069         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34070         __libc_cleanup_region_start argument.
34071
34072 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34073
34074         [BZ #14784]
34075         [BZ #14785]
34076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34077         x * y using scaling, not as x * y + z.
34078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34080         * math/libm-test.inc (fma_test): Add more tests.
34081         (fma_test_towardzero): Likewise.
34082         (fma_test_downward): Likewise.
34083         (fma_test_upward): Likewise.
34084
34085 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34086
34087         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34088
34089 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34090
34091         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34092         New variable.
34093
34094 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34095
34096         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34097
34098 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34099
34100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34101         Fix sort order.
34102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34103         Likewise.
34104
34105 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34106
34107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34108         Fix the order of the list for glibc 2.17.
34109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34110         Likewise.
34111
34112 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34113
34114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34115
34116 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34117
34118         [BZ #14610]
34119         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34120         for low part of x being zero before using __atanl (y).
34121         * math/libm-test.inc (atan2_test): Add another test.
34122
34123         * manual/install.texi (Configuring and compiling): Document
34124         general use of test-wrapper and test-wrapper-env.
34125         * INSTALL: Regenerated.
34126
34127         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34128         (__fma): Do not extract and scale down low bits on after-rounding
34129         systems when result rounded to normal precision would have normal
34130         exponent.
34131         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34132         (__fmal): Do not extract and scale down low bits on after-rounding
34133         systems when result rounded to normal precision would have normal
34134         exponent.
34135         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34136         (__fmal): Do not extract and scale down low bits on after-rounding
34137         systems when result rounded to normal precision would have normal
34138         exponent.
34139         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34140         macro.
34141         (fma_test): Add more tests.
34142         (fma_test_towardzero): Likewise.
34143         (fma_test_downward): Likewise.
34144         (fma_test_upward): Likewise.
34145
34146 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34147
34148         * sysdeps/i386/tininess.h: Renamed to ...
34149         * sysdeps/x86/tininess.h: This.
34150         * sysdeps/x86_64/tininess.h: Removed.
34151
34152 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34153
34154         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34155         input.  Use $(build-program-cmd).
34156         ($(objpfx)tst-array1-static.out): Likewise.
34157         ($(objpfx)tst-array2.out): Likewise.
34158         ($(objpfx)tst-array3.out): Likewise.
34159         ($(objpfx)tst-array4.out): Likewise.
34160         ($(objpfx)tst-array5.out): Likewise.
34161         ($(objpfx)tst-array5-static.out): Likewise.
34162
34163 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34164
34165         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34166         if defined.
34167
34168         * nss/nsswitch.h (nss_interface_function): Provide new
34169         macro for use with NSS functions.
34170         * grp/initgroups.c: Use new macro.
34171         * nss/getXXbyYY.c: Likewise.
34172         * nss/getXXbyYY_r.c: Likewise.
34173         * nss/getXXent.c: Likewise.
34174         * nss/getXXent_r.c: Likewise.
34175         * sysdeps/posix/getaddrinfo.c: Likewise.
34176
34177 2012-10-30  Andreas Jaeger  <aj@suse.de>
34178
34179         * po/ru.po: Update Russion translation from translation project.
34180
34181 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34182
34183         [BZ #14152]
34184         [BZ #14783]
34185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34186         result and shift together with sticky bit instead of replicating
34187         round-to-nearest rounding.
34188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34190         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34191         missing underflow exceptions.
34192         (fma_test_towardzero): Add more tests.
34193         (fma_test_downward): Likewise.
34194         (fma_test_upward): Likewise.
34195
34196         [BZ #14047]
34197         * sysdeps/generic/tininess.h: New file.
34198         * sysdeps/i386/tininess.h: Likewise.
34199         * sysdeps/sh/tininess.h: Likewise.
34200         * sysdeps/x86_64/tininess.h: Likewise.
34201         * stdlib/tst-strtod-underflow.c: Likewise.
34202         * stdlib/tst-tininess.c: Likewise.
34203         * stdlib/strtod_l.c: Include <tininess.h>.
34204         (round_and_return): Do not set errno for exact underflow cases.
34205         Force an underflow exception when setting errno for underflow.
34206         Determine underflow based on rounding to normal precision if
34207         TININESS_AFTER_ROUNDING.
34208         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34209         ERANGE for exact underflow cases.
34210         * stdlib/Makefile (tests): Add tst-tininess and
34211         tst-strtod-underflow.
34212         ($(objpfx)tst-tininess): Use $(link-libm).
34213         ($(objpfx)tst-strtod-underflow): Likewise.
34214
34215 2012-10-30  Andreas Jaeger  <aj@suse.de>
34216
34217         [BZ#14767]
34218         * elf/Makefile (tests): Remove conditional for have-initfini-array
34219         since this is now always required and the variable does not exist
34220         anymore.
34221         (tests-static): Likewise.
34222         (modules-names): Likewise.
34223
34224         * po/eo.po: Add Esperanto translation from translation project.
34225
34226         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34227         merged with constructor/destructor.
34228         (init_array): Likewise.
34229         * elf/tst-array2dep.c (fini_array): Likewise.
34230         (init_array): Likewise.
34231
34232 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34233
34234         * manual/message.texi: Delete @cartouche tags.
34235
34236 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34237
34238         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34239         EOPNOTSUPP.
34240         * sysdeps/mach/hurd/fsync.c: Likewise.
34241
34242         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34243         [_POSIX_REALTIME_SIGNALS]: Change condition to
34244         [_POSIX_REALTIME_SIGNALS > 0].
34245
34246 2012-10-27  Andreas Jaeger  <aj@suse.de>
34247
34248         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34249         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34251         [__WORDSIZE != 64]: Likewise.
34252
34253 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34254
34255         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34256         *  iconvdata/tst-tables.sh: Likewise.
34257
34258 2012-10-25  David S. Miller  <davem@davemloft.net>
34259
34260         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34261         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34262         of strtoull.
34263
34264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34265         ifunc-impl-list.c
34266         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34267         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34268         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34269         file.
34270
34271 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34272
34273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34274         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34275         __getdirentries.
34276
34277 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34278             Jim Blandy  <jimb@codesourcery.com>
34279
34280         * scripts/cross-test-ssh.sh: New file.
34281         * manual/install.texi (Configuring and compiling): Document use of
34282         cross-test-ssh.sh.
34283         * INSTALL: Regenerated.
34284
34285 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34286
34287         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34288         EOPNOTSUPP.
34289
34290 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34291
34292         * Makeconfig (run-program-prefix): Fix comment.
34293
34294 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34295             Jim Blandy  <jimb@codesourcery.com>
34296
34297         * Makeconfig (test-wrapper): New variable,
34298         (test-wrapper-env): Likewise.
34299         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34300         (run-built-tests): Define to yes.
34301         (run-program-prefix): Use $(test-wrapper).
34302         (built-program-cmd): Likewise.
34303         * Rules (make-test-out): Use $(test-wrapper-env) and
34304         $(host-built-program-cmd).
34305         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34306         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34307         tst-pathopt.sh.
34308         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34309         $(test-wrapper-env) to tst-rtld-load-self.sh.
34310         ($(objpfx)order2.out): Use $(test-wrapper).
34311         ($(objpfx)tst-initorder.out): Likewise.
34312         ($(objpfx)tst-initorder2.out): Likewise.
34313         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34314         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34315         (test_wrapper_env): New variable.  Use it to run ld.so.
34316         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34317         Use it to run ld.so.
34318         (test_wrapper_env): Likewise.
34319         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34320         $(test-wrapper) to run-iconv-test.sh.
34321         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34322         (ICONV): Use $test_wrapper.
34323         * posix/Makefile ($(objpfx)globtest.out): Pass
34324         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34325         globtest.sh, not $(run-program-prefix).
34326         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34327         (test_wrapper): Likewise.
34328         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34329         set together with run_via_rtld_prefix.
34330         (run_program_prefix): Define in terms of test_wrapper and
34331         run_via_rtld_prefix.
34332
34333 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34334
34335         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34336         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34337         Targets removed.
34338
34339         [BZ #14743]
34340         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34341         Declare __clock_getres, __clock_gettime, __clock_settime,
34342         __clock_nanosleep, and __clock_getcpuclockid.
34343         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34344         Remove librt_hidden_def (clock_gettime).
34345         * sysdeps/unix/clock_gettime.c: Likewise.
34346         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34347         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34348         * rt/clock_getres.c: Define __clock_getres as an alias.
34349         * sysdeps/posix/clock_getres.c: Likewise.
34350         * rt/clock_settime.c: Define __clock_settime as an alias.
34351         * sysdeps/unix/clock_settime.c: Likewise.
34352         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34353         * sysdeps/unix/clock_nanosleep.c: Likewise.
34354         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34355         * rt/clock-compat.c: New file.
34356         * rt/Makefile (librt-routines): Add clock-compat and move
34357         $(clock-routines) to ...
34358         (routines): ... here, new variable.
34359         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34360         Don't add get_clockfreq here.
34361         * rt/Versions (libc: GLIBC_2.17): New version set.
34362         Add clock_* symbols here.
34363         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34364         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34365         (GLIBC_2.17): Add clock_* symbols.
34366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34370         Likewise.
34371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34372         Likewise.
34373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34377         * NEWS: Mention the move.
34378
34379         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34380         Use __open, __read, __close rather than their public counterparts.
34381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34382         (__get_clockfreq_via_cpuinfo): Likewise.
34383         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34384         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34385
34386         * config.h.in (HAVE_IFUNC): New #undef.
34387         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34388         was successful.
34389         * configure: Regenerated.
34390
34391 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34392
34393         * configure.in: Move READELF check to start of file.
34394         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34395         libc_cv_asm_gnu_indirect_function in the process.
34396         * configure: Regenerated.
34397
34398 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34399
34400         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34401         send the output to /dev/null.
34402         (libc_cv_cc_with_libunwind): Likewise.
34403         (libc_cv_as_noexecstack): Likewise.
34404         * configure: Regenerate.
34405
34406 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34407
34408         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34409
34410         * posix/globtest.sh (TMPDIR): Do not set.
34411         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34412         (testout): Likewise.
34413
34414 2012-10-24  Andreas Jaeger  <aj@suse.de>
34415
34416         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34417         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34418         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34419         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34420         posix_fadvise64, posix_fallocate64.
34421
34422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34423         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34424         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34425         Likewise.
34426         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34427         Likewise.
34428         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34429
34430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34431         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34432         <bits/fcntl-linux.h>.
34433         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34434
34435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34436         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34437         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34438         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34439         [__WORDSIZE != 64]: Likewise.
34440
34441 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34442
34443         * Makeconfig (run-built-tests): New variable.
34444         * Rules [$(cross-compiling) = yes]: Change condition to
34445         [$(run-built-tests) = no].
34446         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34447         to [$(run-built-tests) = yes].
34448         * elf/Makefile [$(cross-compiling) = no]: Likewise
34449         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34450         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34451         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34452         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34453         * io/Makefile [$(cross-compiling) = no]: Likewise.
34454         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34455         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34456         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34457         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34458         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34459         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34460         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34461         * string/Makefile [$(cross-compiling) = no]: Likewise.
34462
34463         * posix/Makefile ($(objpfx)globtest.out): Pass
34464         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34465         $(rtld-installed-name).
34466         * posix/globtest.sh (elf_objpfx): Remove variable.
34467         (rtld_installed_name): Likewise.
34468         (library_path): Likewise.
34469         (run_program_prefix): New variable.  Use for running globtest
34470         binary.
34471
34472 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34473             Joseph Myers  <joseph@codesourcery.com>
34474
34475         * Makeconfig (host-built-program-cmd): New variable.
34476         * elf/Makefile (tst-stackguard1-ARGS): Use
34477         $(host-built-program-cmd).
34478         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34479         (tst-spawn-ARGS): Likewise.
34480         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34481
34482 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34483             Jim Blandy  <jimb@codesourcery.com>
34484
34485         * Makeconfig (run-via-rtld-prefix): New variable.
34486         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34487         (built-program-cmd): Likewise.
34488
34489 2012-10-22  Andreas Jaeger  <aj@suse.de>
34490
34491         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34492         __O_RSYNC if it exists, otherwise to O_SYNC.
34493
34494 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34495             Joseph Myers  <joseph@codesourcery.com>
34496
34497         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34498         /dev/null.
34499         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34500         from /dev/null
34501         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34502         /dev/null.
34503
34504 2012-10-22  Andreas Jaeger  <aj@suse.de>
34505
34506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34507         Define always.
34508         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34509
34510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34511         bits/fcntl-linux.h.
34512
34513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34514         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34515
34516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34517         to __O_LARGEFILE.
34518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34519         to __O_LARGEFILE.
34520
34521 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34522             Joseph Myers  <joseph@codesourcery.com>
34523
34524         * config.make.in (NM): New variable.
34525
34526 2012-10-21  Andreas Jaeger  <aj@suse.de>
34527
34528         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34529         definitions and declarations that are provided by
34530         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34531
34532 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34533
34534         [BZ #14683]
34535         * elf/Makefile (tests-static): Add tst-leaks1-static.
34536         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34537         ($(objpfx)tst-leaks1-static): New rule.
34538         ($(objpfx)tst-leaks1-static-mem): Likewise.
34539         (tst-leaks1-static-ENV): New macro.
34540         * elf/dl-open.c (dl_open_worker): Check the main application
34541         only if SHARED is defined.
34542         * elf/tst-leaks1-static.c: New file.
34543
34544 2012-10-20  Andreas Jaeger  <aj@suse.de>
34545
34546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34547         generic values for Linux.
34548         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34549         and declarations that are provided by <bits/fcntl-linux.h> and
34550         include <bits/fcntl-linux.h>.
34551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34553
34554 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34555
34556         * io/fcntl.h: Move include of <bits/types.h> to the top and
34557         include it unconditionally.
34558
34559 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34560
34561         * wcsmbs/Makefile (tests-ifunc): New variable.
34562         (tests): Add $(tests-ifunc).
34563         * wcsmbs/test-wcschr-ifunc.c: New file.
34564         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34565         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34566         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34567         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34568         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34569
34570         * string/Makefile (tests-ifunc): New variable.
34571         (tests): Add $(tests-ifunc).
34572         * string/test-memccpy.c (TEST_NAME): New macro.
34573         * string/test-memchr.c (TEST_NAME): Likewise.
34574         * string/test-memcmp.c (TEST_NAME): Likewise.
34575         * string/test-memcpy.c (TEST_NAME): Likewise.
34576         * string/test-memmem.c (TEST_NAME): Likewise.
34577         * string/test-memmove.c (TEST_NAME): Likewise.
34578         * string/test-memset.c (TEST_NAME): Likewise.
34579         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34580         * string/test-stpcpy.c (TEST_NAME): Likewise.
34581         * string/test-stpncpy.c (TEST_NAME): Likewise.
34582         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34583         * string/test-strcasestr.c (TEST_NAME): Likewise.
34584         * string/test-strcat.c (TEST_NAME): Likewise.
34585         * string/test-strchr.c (TEST_NAME): Likewise.
34586         * string/test-strcmp.c(TEST_NAME): Likewise.
34587         * string/test-strcpy.c (TEST_NAME): Likewise.
34588         * string/test-strcspn.c (TEST_NAME): Likewise.
34589         * string/test-strlen.c (TEST_NAME): Likewise.
34590         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34591         * string/test-strncmp.c (TEST_NAME): Likewise.
34592         * string/test-strncpy.c (TEST_NAME): Likewise.
34593         * string/test-strnlen.c (TEST_NAME): Likewise.
34594         * string/test-strpbrk.c (TEST_NAME): Likewise.
34595         * string/test-strrchr.c (TEST_NAME): Likewise.
34596         * string/test-strspn.c (TEST_NAME): Likewise.
34597         * string/test-strstr.c (TEST_NAME): Likewise.
34598         * string/test-bcopy-ifunc.c: New file.
34599         * string/test-bzero-ifunc.c: Likewise.
34600         * string/test-memccpy-ifunc.c: Likewise.
34601         * string/test-memchr-ifunc.c: Likewise.
34602         * string/test-memcmp-ifunc.c: Likewise.
34603         * string/test-memcpy-ifunc.c: Likewise.
34604         * string/test-memmem-ifunc.c: Likewise.
34605         * string/test-memmove-ifunc.c: Likewise.
34606         * string/test-mempcpy-ifunc.c: Likewise.
34607         * string/test-memset-ifunc.c: Likewise.
34608         * string/test-rawmemchr-ifunc.c: Likewise.
34609         * string/test-stpcpy-ifunc.c: Likewise.
34610         * string/test-stpncpy-ifunc.c: Likewise.
34611         * string/test-strcasecmp-ifunc.c: Likewise.
34612         * string/test-strcasestr-ifunc.c: Likewise.
34613         * string/test-strcat-ifunc.c: Likewise.
34614         * string/test-strchr-ifunc.c: Likewise.
34615         * string/test-strchrnul-ifunc.c: Likewise.
34616         * string/test-strcmp-ifunc.c: Likewise.
34617         * string/test-strcpy-ifunc.c: Likewise.
34618         * string/test-strcspn-ifunc.c: Likewise.
34619         * string/test-strlen-ifunc.c: Likewise.
34620         * string/test-strncasecmp-ifunc.c: Likewise.
34621         * string/test-strncat-ifunc.c: Likewise.
34622         * string/test-strncmp-ifunc.c: Likewise.
34623         * string/test-strncpy-ifunc.c: Likewise.
34624         * string/test-strnlen-ifunc.c: Likewise.
34625         * string/test-strpbrk-ifunc.c: Likewise.
34626         * string/test-strrchr-ifunc.c: Likewise.
34627         * string/test-strspn-ifunc.c: Likewise.
34628         * string/test-strstr-ifunc.c: Likewise.
34629
34630         * debug/Makefile (tests-ifunc): New variable.
34631         (tests): Add $(tests-ifunc).
34632         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34633         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34634         * debug/test-stpcpy_chk-ifunc.c: New file.
34635         * debug/test-strcpy_chk-ifunc.c: Likewise.
34636
34637 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34638
34639         [BZ #13601]
34640         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34641         header is not read in.
34642
34643 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34644
34645         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34646         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34647         directly.  Pass built executable to script as
34648         $(built-program-cmd).
34649         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34650         $testprogram without using LD_LIBRARY_PATH and $ldso.
34651
34652         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34653         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34654         $(rtld-installed-name).
34655         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34656         (rtld_installed_name): Likewise.
34657         (library_path): Likewise.
34658         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34659         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34660         $(run-program-prefix) to tst-tables.sh.
34661         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34662         it to run tst-table-from and tst-table-to.
34663         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34664         Pass it to tst-table.sh.
34665         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34666         $(run-program-prefix) to tst-gettext.sh.
34667         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34668         tst-translit.sh.
34669         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34670         tst-gettext2.sh.
34671         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34672         to run tst-gettext.
34673         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34674         to run tst-gettext2.
34675         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34676         to run tst-translit.
34677         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34678         $(run-program-prefix) to tst-mtrace.sh.
34679         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34680         to run tst-mtrace.
34681         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34682         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34683         $(rtld-installed-name).
34684         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34685         (rtld_installed_name): Likewise.
34686         (run_program_prefix): New variable.  Use it to run wordexp-test.
34687
34688         * Makeconfig (ARCH): Remove all definitions.
34689         (machine): Likewise.
34690         [ARCH]: Remove conditional code.
34691         [!objdir]: Give error.
34692         [!objdir] (objpfx): Remove.
34693         [!objdir] (common-objpfx): Likewise.
34694         [!objdir] (common-objdir): Likewise.
34695         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34696         AC_CONFIG_FILES call.
34697         * configure: Regenerated.
34698
34699         [BZ #13888]
34700         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34701         or TMPDIR.
34702         (testout): Likewise.
34703
34704         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34705         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34706         $(rtld-installed-name).
34707         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34708         (rtld_installed_name): Likwise.
34709         (runit): Remove function.
34710         (run_getconf): New variable,  Use it for running getconf binary.
34711
34712 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34713
34714         [BZ #14716]
34715         * string/test-memmem.c (check_result): New function.
34716         (do_one_test): Use it.
34717         (check1): New function.
34718         (test_main): Use it.
34719
34720 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34721
34722         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34723
34724 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34725
34726         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34727         (_G_LSEEK64): Likewise.
34728         (_G_MMAP64): Likewise.
34729         (_G_FSTAT64): Likewise.
34730         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34731         (_G_LSEEK64): Likewise.
34732         (_G_MMAP64): Likewise.
34733         (_G_FSTAT64): Likewise.
34734         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34735         unconditional.  Call __mmap64 directly.
34736         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34737         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34738         __lseek64 directly.
34739         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34740         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34741         __mmap64 directly.
34742         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34743         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34744         __lseek64 directly.
34745         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34746         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34747         __lseek64 directly.
34748         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34749         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34750         __lseek64 directly.
34751         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34752         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34753         __fxstat64 directly.
34754         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34755         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34756         unconditional.
34757         (freopen64) [!_G_OPEN64]: Remove conditional code.
34758         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34759         unconditional.
34760         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34761         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34762         unconditional.
34763         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34764         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34765         unconditional.
34766         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34767         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34768         unconditional.
34769         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34770         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34771         unconditional.
34772         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34773         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34774         unconditional.
34775         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34776         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34777         unconditional.
34778         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34779
34780 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34781
34782         [BZ #12140]
34783         * manual/memory.texi (Malloc Tunable Parameters): Add note
34784         about free list pointers overwriting some perturb bytes.
34785         Wording suggested by Roland McGrath.
34786
34787 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34788
34789         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34790         (lgamma_test): Likewise.
34791         (tgamma_test): Likewise.
34792
34793 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34794
34795         [BZ #14700]
34796         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34797         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34798
34799 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34800
34801         * NEWS: Mention BZ #14716.
34802         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34803         when removing AVAILABLE1_USES_J macro.
34804
34805 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34806
34807         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34808         (__bswap_64): __uint64_t for unsigned 64-bit int.
34809
34810 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34811
34812         * include/string.h (memmem): Declare libc hidden alias.
34813         * string/memmem.c (memmem): Define libc hidden alias.
34814         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34815         __read, __close instead of open, read, close.
34816
34817 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34818
34819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34820         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34821         global and hidden.
34822         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34823         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34824         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34825         Likewise.
34826         (__rawmemchr_sse2): Likewise.
34827         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34828         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34829         (__strchr_sse2): Likewise.
34830         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34831         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34832         (__strcasecmp_sse2): Likewise.
34833         (__strncasecmp_sse2): Likewise.
34834         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34835         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34836         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34837         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34838         (__strrchr_sse2): Likewise.
34839         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34840         ifunc-impl-list.c.
34841         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34842         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34843         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34844         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34845         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34846         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34847         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34848         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34849         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34850         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34851         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34852         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34853         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34854         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34855         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34856         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34857         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34858         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34859         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34860         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34861         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34862         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34863         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34864         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34865         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34866         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34867         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34868         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34869         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34870         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34871
34872         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34873         global and hidden.
34874         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34875         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34876         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34877         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34878         Likewise.
34879         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34880         Likewise.
34881         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34882         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34883         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34884         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34885         ifunc-impl-list.c.
34886         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34887         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34888         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34889         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34890         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34891         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34892         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34893         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34894         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34895         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34896         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34897         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34898         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34899         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34900         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34901         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34902         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34903         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34904         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34905         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34906         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34907         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34908         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34909         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34910         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34911         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34912         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34913         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34914         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34915         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34916         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34917         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34918         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34919         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34920         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34921         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34922         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34923         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34924         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34925         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34926         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34927
34928         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34929         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34930         * include/ifunc-impl-list.h: New file.
34931         * misc/ifunc-impl-list.c: Likewise.
34932         * misc/Makefile (routines): Add ifunc-impl-list.
34933         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34934         * string/test-string.h: Include <ifunc-impl-list.h>.
34935         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34936         TEST_NAME]: New variables.
34937         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34938         are defined.
34939         (test_init): Call __libc_ifunc_impl_list to initialize
34940         func_list if TEST_IFUNC and TEST_NAME are defined.
34941
34942         * string/Makefile (strop-tests): Add bcopy and bzero.
34943         * string/test-bcopy.c: New file.
34944         * string/test-bzero.c: Likewise.
34945         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34946         defined.
34947         * string/test-memset.c: Support bzero test if TEST_BZERO is
34948         defined.
34949         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34950         __libc_memmove.
34951         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34952         __libc_memset.
34953         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34954         of memset.
34955
34956 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34957
34958         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34959         * configure: Regenerated.
34960
34961         * Makeconfig (+link-static-before-libc): Don't include
34962         $(link-static-libc).
34963
34964         * libio/libio.h (_IO_pos_t): Remove.
34965
34966 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34967
34968         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34969         McGrath.
34970
34971 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34972
34973         * crypt/crypt-entry.c: Include fips-private.h.
34974         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34975         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34976         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34977         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34978
34979 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34980
34981         * crypt/crypt-private.h: Include stdbool.h.
34982         (_ufc_setup_salt_r): Return bool.
34983         * crypt/crypt-entry.c: Include errno.h.
34984         (__crypt_r): Return NULL with EINVAL for bad salt.
34985         * crypt/crypt_util.c (bad_for_salt): New.
34986         (_ufc_setup_salt_r): Check that salt is long enough and within
34987         the specified alphabet.
34988         * crypt/badsalttest.c: New file.
34989         * crypt/Makefile (tests): Add it.
34990         ($(objpfx)badsalttest): New.
34991
34992 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34993
34994         * NEWS: Add entry for BZ #14602.
34995
34996 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34997
34998         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34999         type-generic.
35000         * math/libm-test.inc: Update comment listing what functions and
35001         macros are tested.
35002         (isgreater_test): New function.
35003         (isgreaterequal_test): Likewise.
35004         (isless_test): Likewise.
35005         (islessequal_test): Likewise.
35006         (islessgreater_test): Likewise.
35007         (isunordered_test): Likewise.
35008         (main): Call the new functions.
35009
35010 2012-10-09  Roland McGrath  <roland@hack.frob.com>
35011
35012         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35013         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35014         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35015         * sysdeps/i386/configure: Regenerated.
35016         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35017         * sysdeps/mach/configure: Regenerated.
35018         * sysdeps/mach/hurd/configure: Regenerated.
35019         * sysdeps/powerpc/configure: Regenerated.
35020         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35021         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35022         * sysdeps/s390/s390-32/configure: Regenerated.
35023         * sysdeps/s390/s390-64/configure: Regenerated.
35024         * sysdeps/sh/configure: Regenerated.
35025         * sysdeps/sparc/configure: Regenerated.
35026         * sysdeps/unix/sysv/linux/configure: Regenerated.
35027         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35028         * sysdeps/x86_64/configure: Regenerated.
35029
35030         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35031         defined.  Don't check if MAP is NULL.
35032
35033 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35034
35035         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35036         (_G_stat64): Likewise.
35037         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35038         (_G_stat64): Likewise.
35039         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35040         instead of struct _G_stat64.
35041         * libio/fileops.c (mmap_remap_check): Likewise.
35042         (decide_maybe_mmap): Likewise.
35043         (_IO_new_file_seekoff): Likewise.
35044         (_IO_file_stat): Likewise.
35045         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35046         _G_off64_t.
35047         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35048         instead of struct _G_stat64.
35049         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35050
35051 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35052
35053         [BZ #14602]
35054         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35055         Replace with ...
35056         (CHECK_EOL): New macro.
35057         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35058         CHECK_EOL.
35059         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35060         Replace with CHECK_EOL.
35061         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35062         Replace with CHECK_EOL.
35063
35064 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35065
35066         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35067         type-generic.
35068         * math/libm-test.inc: Update comment listing what functions and
35069         macros are tested.
35070         (finite_test): New function.
35071         (isinf_test): Likewise.
35072         (isnan_test): Likewise.
35073         (fpclassify_test): Test subnormal input.
35074         (isfinite_test): Likewise.
35075         (isnormal_test): Likewise.
35076         (main): Call the new functions.
35077
35078 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35079
35080         [BZ #14660]
35081         * Makerules (%.dynsym): Force C locale when running
35082         $(OBJDUMP) --dynamic-syms.
35083
35084 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35085
35086         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35087         <stdint.h>.
35088
35089 2012-10-06  David S. Miller  <davem@davemloft.net>
35090
35091         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35092         upper 32-bits of the length value in %o2 since we use branch-on-register
35093         tests which consider the entire 64-bit register.
35094
35095 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35096
35097         * string/test-strstr.c (check2): Add a test for page boundary.
35098
35099 2012-10-05  David S. Miller  <davem@davemloft.net>
35100
35101         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35102         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35103         file.
35104         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35105         sysdep_routines.
35106         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35107         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35108         and bzero when HWCAP_SPARC_CRYPTO is present.
35109
35110 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35111
35112         [BZ #14602]
35113         * string/test-strstr.c (check2): New function.
35114         (test_main): Call check2.
35115
35116         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35117         and bug-strchr1.
35118         * string/bug-strcasestr1.c (do_test): Moved to ...
35119         * string/test-strcasestr.c (check1): Here.  New function.
35120         (do_one_test): Break out result checking code into ...
35121         (check_result): This.  New function.
35122         (do_one_test): Call check_result.
35123         (test_main): Call check1.
35124         * string/bug-strchr1.c (do_test): Moved to ...
35125         * string/test-strchr.c (check1): Here.  New function.
35126         (do_one_test): Break out result checking code into ...
35127         (check_result): This.  New function.
35128         (do_one_test): Call check_result.
35129         (test_main): Call check1.
35130         * string/bug-strstr1.c (main): Moved to ...
35131         * string/test-strstr.c (check1): Here.  New function.
35132         (do_one_test): Break out result checking code into ...
35133         (check_result): This.  New function.
35134         (do_one_test): Call check_result.
35135         (test_main): Call check1.
35136         * string/bug-strcasestr1.c: Removed.
35137         * string/bug-strchr1.c: Likewise.
35138         * string/bug-strstr1.c: Likewise.
35139
35140         * elf/Makefile (dl-routines): Add hwcaps.
35141         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35142         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35143         (_dl_important_hwcaps): Moved to ...
35144         * elf/dl-hwcaps.c: Here.  New file.
35145         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35146
35147         [BZ #14557]
35148         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35149         if IS_IN_rtld isn't defined.
35150
35151         * elf/dl-support.c (_dl_sysinfo_map): New.
35152         Include "get-dynamic-info.h" and "setup-vdso.h".
35153         (_dl_non_dynamic_init): Call setup_vdso.
35154         * elf/dynamic-link.h: Don't include <assert.h>.
35155         (elf_get_dynamic_info): Moved to ...
35156         * elf/get-dynamic-info.h: Here.  New file.
35157         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35158         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35159         * elf/setup-vdso.h: Here.  New file.
35160         * elf/rtld.c: Include "setup-vdso.h".
35161         (dl_main): Call setup_vdso.
35162
35163 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35164
35165         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35166         creal in comment listing functions tested.  List finite, isinf,
35167         isnan, isless, islessequal, isgreater, isgreaterequal,
35168         islessgreater, isunordered, lgamma_r and pow10 as functions and
35169         macros not tested.  Mention which functions not tested are aliases
35170         for other functions.  Fix typo.  Note that signs of NaNs are not
35171         tested.
35172
35173         * scripts/config.guess: Update from config.git.
35174         * scripts/config.sub: Likewise.
35175
35176 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35177
35178         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35179         * misc/madvise.c (madvise): Renamed to __madvise.
35180         Make madvise a weak alias.
35181         * include/sys/mman.h: Declare __madvise.
35182         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35183         * sysdeps/unix/syscalls.list
35184         (madvise): Make __madvise the strong name, and madvise a weak alias.
35185         * sysdeps/unix/sysv/linux/syscalls.list
35186         (madvise, mmap): Remove redundant entries.
35187         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35188         * malloc/malloc.c (mtrim): Likewise.
35189         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35190
35191 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35192
35193         * sysdeps/mach/hurd/dl-cache.c: File removed.
35194         * config.h.in (USE_LDCONFIG): New #undef.
35195         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35196         * configure: Regenerated.
35197         * elf/Makefile (dl-routines): Add dl-cache only under
35198         [$(use-ldconfig) = yes].
35199         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35200         cache on [USE_LDCONFIG].
35201         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35202         [USE_LDCONFIG].
35203         * elf/rtld.c (dl_main): Likewise.
35204
35205 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35206
35207         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35208         _SC_LEVEL4_CACHE_LINESIZE.
35209
35210 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35211
35212         * sysdeps/unix/bsd/confstr.h: File removed.
35213
35214 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35215
35216         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35217         sys/sdt-config.h.
35218
35219 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35220
35221         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35222         Make 'mapoff' field ElfW(Off) rather than off_t.
35223
35224 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35225
35226         * nscd/Makefile: Remove nscd-cflags and all its users.
35227         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35228         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35229
35230         [BZ #10631]
35231         * malloc.c (malloc_printerr): Clarify error message.
35232
35233 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35234
35235         [BZ #14648]
35236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35237         Set bit_FMA_Usable if FMA is supported.
35238         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35239         macro.
35240         (bit_FMA4_Usable): Updated.
35241         (index_FMA_Usable): New macro.
35242         (CPUID_FMA): Likewise
35243         (HAS_FMA): Defined with bit_FMA_Usable.
35244
35245 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35246
35247         * bits/types.h (__swblk_t): Type removed.
35248         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35249         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35251         (__SWBLK_T_TYPE): Likewise.
35252         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35253         (__SWBLK_T_TYPE): Likewise.
35254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35255         (__SWBLK_T_TYPE): Likewise.
35256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35257         (__SWBLK_T_TYPE): Likewise.
35258
35259 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35260             Honza Horak <hhorak@redhat.com>
35261
35262         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35263         (xdr_mapname): Use YPMAXMAP as maxsize.
35264         (xdr_peername): Use YPMAXPEER as maxsize.
35265         (xdr_keydat): Use YPAXRECORD as maxsize.
35266         (xdr_valdat): Use YPMAXRECORD as maxsize.
35267
35268 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35269
35270         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35271
35272         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35273         * csu/init-first.c: ... here.
35274         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35275         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35276         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35277         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35278         * sysdeps/i386/init-first.c: File removed.
35279         * sysdeps/sh/init-first.c: File removed.
35280
35281 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35282
35283         [BZ #14645]
35284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35285         if x * y might underflow to zero and z is zero.
35286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35287         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35288         * math/libm-test.inc (min_subnorm_value): New variable.
35289         (fma_test): Add more tests.
35290         (fma_test_towardzero): Likewise.
35291         (fma_test_downward): Likewise
35292         (fma_test_upward): Likewise.
35293         (initialize): Set min_subnorm_value.
35294
35295 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35296
35297         [BZ #14638]
35298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35299         0 + 0.
35300         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35301         mode for addition resulting in exact zero.
35302         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35304         exact 0 + 0.
35305         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35306         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35307         * math/libm-test.inc (fma_test): Add more tests.
35308         (fma_test_towardzero): New function.
35309         (fma_test_downward): Likewise.
35310         (fma_test_upward): Likewise.
35311         (main): Call the new functions.
35312
35313 2012-09-28  David S. Miller  <davem@davemloft.net>
35314
35315         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35316
35317 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35318
35319         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35320         instead of SIGALRM.
35321
35322         * sysdeps/gnu/_G_config.h: Moved to ...
35323         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35324         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35325         * sysdeps/generic/_G_config.h: ... here.
35326
35327         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35328
35329         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35330
35331         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35332         Conditionalize target on [libnss_test1.so-version].
35333
35334         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35335
35336         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35337         (elfobjdir): Move out of conditionals.
35338
35339         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35340         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35341         (__nss_lookup_function): Conditionalize label remove_from_tree on
35342         [!DO_STATIC_NSS || SHARED], matching its only use.
35343
35344 2012-09-28  David S. Miller  <davem@davemloft.net>
35345
35346         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35347         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35348         file.
35349         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35350         sysdep_routines.
35351         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35353         when HWCAP_SPARC_CRYPTO is present.
35354
35355 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35356
35357         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35358
35359 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35360
35361         [BZ #6530]
35362         * stdio-common/vfprintf.c (process_string_arg): Revert
35363         2000-07-22 change.
35364
35365 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35366
35367         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35368         for testcase.
35369         * stdio-common/tst-sprintf.c: Include <locale.h>
35370         (main): Test sprintf's handling of incomplete multibyte
35371         characters.
35372
35373 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35374
35375         * elf/dl-runtime.c (VERSYMIDX): Removed.
35376         * elf/dl-version.c (VERSYMIDX): Likewise.
35377         * elf/do-rel.h (VERSYMIDX): Likewise.
35378         (VALIDX): Likewise.
35379         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35380         * elf/rtld.c (VALIDX): Likewise.
35381         (ADDRIDX): Likewise.
35382         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35383         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35384         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35385         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35386         (VALIDX): Likewise.
35387         (ADDRIDX): Likewise.
35388
35389 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35390
35391         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35392
35393 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35394
35395         [BZ #11438]
35396         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35397         to global scope.
35398         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35399         addresses are in the same scope as 192.0.2/24.
35400         * posix/gai.conf: Document new scope table defaults.
35401
35402 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35403
35404         [BZ #5298]
35405         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35406         for ftell.  Compute offsets from write pointers instead.
35407         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35408
35409 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35410
35411         [BZ #14543]
35412         * libio/Makefile (tests): New test case tst-fseek.
35413         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35414         combination works in wide mode.
35415         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35416         state when the external buffer state changes.
35417
35418 2012-09-27  David S. Miller  <davem@davemloft.net>
35419
35420         [BZ #14376]
35421         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35422         pass reloc->r_addend in as the 'high' argument to
35423         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35424
35425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35426
35427 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35428
35429         * rt/tst-aio2.c: Include <pthread.h>.
35430         * rt/tst-aio3.c: Likewise.
35431
35432 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35433
35434         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35435
35436 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35437
35438         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35439         contents on [SHARED].
35440
35441 2012-09-26  Marek Polacek  <polacek@redhat.com>
35442
35443         [BZ #14530]
35444         [BZ #13741]
35445         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35446         for C++ and GCC <4.3 as well as for non GCC compilers.
35447
35448 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35449
35450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35451
35452 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35453
35454         * Makefile.in (all, install): Declare with .PHONY.
35455         Reported by Michael Hope <michael.hope@linaro.org>.
35456
35457 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35458
35459         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35460         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35461         system header.
35462         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35463         Likewise.
35464         (sydep_routines): Add the new and the internal functions.
35465         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35466         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35468         (GLIBC_2.17): Add the new function.
35469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35470         (GLIBC_2.17): Likewise.
35471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35472         (GLIBC_2.17): Likewise.
35473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35474         (GLIBC_2.17): Likewise.
35475         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35476
35477 2012-09-25  Alan Modra  <amodra@gmail.com>
35478
35479         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35480         Add release barrier before setting once_control to say
35481         initialisation is done.  Add hints on lwarx.  Use macro in
35482         place of isync.
35483         (clear_once_control): Add release barrier.
35484
35485 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35486
35487         [BZ #13629]
35488         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35489         specially.
35490         * math/s_clog10.c (__clog10): Likewise.
35491         * math/s_clog10f.c (__clog10f): Likewise.
35492         * math/s_clog10l.c (__clog10l): Likewise.
35493         * math/s_clogf.c (__clogf): Likewise.
35494         * math/s_clogl.c (__clogl): Likewise.
35495         * math/Makefile (libm-calls): Add x2y2m1.
35496         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35497         (__x2y2m1): Likewise.
35498         (__x2y2m1l): Likewise.
35499         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35500         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35501         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35502         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35503         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35504         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35505         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35506         * sysdeps/i386/fpu/libm-test-ulps: Update.
35507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35508
35509         [BZ #14621]
35510         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35511         int as type of variable DEPTH.
35512         (glob): Use size_t instead of int as type of variables NEWCOUNT
35513         and OLD_PATHC.
35514
35515 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35516
35517         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35518         Add s_sincosf-sse2.
35519         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35520         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35521         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35522         macros for using routine as __sincosf_ia32.
35523         Use macro for function declaration and weak_alias.
35524         * sysdeps/i386/fpu/libm-test-ulps: Update.
35525
35526         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35528
35529         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35530         subnormal argument.
35531         * math/s_cexpf.c (__cexpf): Likewise.
35532         * math/s_csinf.c (__csinf): Likewise.
35533         * math/s_csinhf.c (__csinhf): Likewise.
35534         * math/s_ctanf.c (__ctanf): Likewise.
35535         * math/s_ctanhf.c (__ctanhf): Likewise.
35536         * math/s_ccosh.c (__ccoshf): Likewise.
35537         * math/s_cexp.c (__cexpl): Likewise.
35538         * math/s_csin.c (__csin): Likewise.
35539         * math/s_csinh.c (__csinh): Likewise.
35540         * math/s_ctan.c (__ctan): Likewise.
35541         * math/s_ctanh.c (ctanh): Likewise.
35542         * math/s_ccoshl.c (__ccoshl): Likewise.
35543         * math/s_cexpl.c (__cexpl): Likewise.
35544         * math/s_csinl.c (__csinl): Likewise.
35545         * math/s_csinhl.c (__csinhl): Likewise.
35546         * math/s_ctanl.c (__ctanl): Likewise.
35547         * math/s_ctanhl.c (__ctanhl): Likewise.
35548
35549 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35550
35551         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35552         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35553         (_IO_off_t): Define to __off_t, not _G_off_t.
35554         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35555         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35556         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35557         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35558         type of __dummy and __dummy2 fields.
35559         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35560         (_G_ssize_t): Likewise.
35561         (_G_off_t): Likewise.
35562         (_G_pid_t): Likewise.
35563         (_G_uid_t): Likewise.
35564         (_G_wchar_t): Likewise.
35565         (_G_wint_t): Likewise.
35566         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35567         (_G_ssize_t): Likewise.
35568         (_G_off_t): Likewise.
35569         (_G_pid_t): Likewise.
35570         (_G_uid_t): Likewise.
35571         (_G_wchar_t): Likewise.
35572         (_G_wint_t): Likewise.
35573         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35574         (_G_ssize_t): Likewise.
35575         (_G_off_t): Likewise.
35576         (_G_pid_t): Likewise.
35577         (_G_uid_t): Likewise.
35578         (_G_wchar_t): Likewise.
35579         (_G_wint_t): Likewise.
35580
35581 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35582
35583         * malloc/arena.c: Include malloc-sysdep.h.
35584         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35585         is sufficient to shrink the heap or an unmap is needed.
35586         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35587         new function check_may_shrink_heap.
35588         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35589         new function check_may_shrink_heap.
35590
35591 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35592
35593         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35594         comments.
35595
35596 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35597
35598         * catgets/test-gencat.sh: Add "set -e".
35599         * elf/tst-pathopt.sh: Likewise.
35600         * grp/tst_fgetgrent.sh: Likewise.
35601         * iconvdata/run-iconv-test.sh: Likewise.
35602         * intl/tst-gettext.sh: Likewise.
35603         * intl/tst-gettext2.sh: Likewise.
35604         * intl/tst-gettext4.sh: Likewise.
35605         * intl/tst-gettext6.sh: Likewise.
35606         * intl/tst-translit.sh: Likewise.
35607         * io/ftwtest-sh: Likewise.
35608         * libio/test-freopen.sh: Likewise.
35609         * malloc/tst-mtrace.sh: Likewise.
35610         * posix/globtest.sh: Likewise.
35611         * posix/tst-getconf.sh: Likewise.
35612         * posix/wordexp-tst.sh: Likewise.
35613         * stdio-common/tst-printf.sh: Likewise.
35614         * stdio-common/tst-unbputc.sh: Likewise.
35615         * stdlib/tst-fmtmsg.sh: Likewise.
35616         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35617         * catgets/Makefile: Do not specify -e option when running
35618         testsuite shell scripts.
35619         * elf/Makefile: Likewise.
35620         * grp/Makefile: Likewise.
35621         * iconvdata/Makefile: Likewise.
35622         * intl/Makefile: Likewise.
35623         * io/Makefile: Likewise.
35624         * libio/Makefile: Likewise.
35625         * malloc/Makefile: Likewise.
35626         * posix/Makefile: Likewise.
35627         * stdio-common/Makefile: Likewise.
35628         * stdlib/Makefile: Likewise.
35629         * sysdeps/x86_64/Makefile: Likewise.
35630
35631         * io/ftwtest-sh: Add copyright header.
35632         * posix/globtest.sh: Likewise.
35633         * posix/tst-getconf.sh: Likewise.
35634         * posix/wordexp-tst.sh: Likewise.
35635         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35636
35637 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35638
35639         [BZ #13679]
35640         * Makeconfig (+link): Defined as $(+link-static) if
35641         $(build-shared) isn't yes.
35642         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35643         isn't yes.
35644         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35645
35646         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35647
35648         [BZ #14562]
35649         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35650         new chunk size with MALLOC_ALIGN_MASK.
35651
35652 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35653
35654         [BZ #5044]
35655         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35656         <rounding-mode.h>.
35657         (__printf_fphex): Determine rounding using get_rounding_mode and
35658         round_away.
35659         * stdio-common/tst-printf-round.c (struct hex_test): New
35660         structure.
35661         (hex_tests): New variable.
35662         (test_hex_in_one_mode): New function.
35663         (do_test): Also run tests for hex float output.
35664
35665 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35666
35667         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35668         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35669         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35670         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35671         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35672         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35673         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35674         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35675
35676 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35677
35678         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35679         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35680         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35681         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35682
35683 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35684
35685         [BZ #14579]
35686         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35687         mode only.
35688         * elf/tst-rtld-load-self.sh: New test.
35689         * elf/Makefile: Run it.
35690
35691 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35692
35693         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35694         (tst-writev-ENV): Remove.
35695         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35696
35697 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35698
35699         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35700
35701 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35702
35703         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35704         unconditional.
35705         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35706         Likewise.
35707         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35708         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35709         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35710         Likewise.
35711
35712 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35713
35714         [BZ #14587]
35715         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35716         * config.make.in (have-cpp-asm-debuginfo): Removed.
35717         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35718         * configure: Regenerated.
35719
35720 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35721
35722         [BZ #5044]
35723         * stdio-common/printf_fp.c: Include <stdbool.h> and
35724         <rounding-mode.h>.
35725         (___printf_fp): Determine rounding using get_rounding_mode and
35726         round_away.
35727         * stdio-common/tst-printf-round.c: New file.
35728         * stdio-common/Makefile (tests): Add tst-printf-round.
35729         (link-libm): New variable.
35730         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35731
35732 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35733
35734         [BZ #14576]
35735         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35736         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35737         Likewise.
35738         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35739         Likewise.
35740
35741 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35742
35743         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35744         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35745         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35746         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35747
35748 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35749
35750         [BZ #14518]
35751         * include/rounding-mode.h: New file.
35752         * sysdeps/generic/get-rounding-mode.h: Likewise.
35753         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35754         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35755         (MAX_VALUE): New macro.
35756         (MIN_VALUE): Likewise.
35757         (overflow_value): New function.
35758         (underflow_value): Likewise.
35759         (round_and_return): Use overflow_value and underflow_value to
35760         determine return values in overflow and underflow cases.  Use
35761         round_away to determine rounding depending on rounding mode.
35762         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35763         determine return values in overflow and underflow cases.
35764         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35765         (struct test_results): New structure.
35766         (struct test): Use struct test_results to store expected results
35767         for all rounding modes.
35768         (TEST): Include expected results for all rounding modes.
35769         (test_in_one_mode): New function.
35770         (do_test): Use test_in_one_mode to compute and check results.
35771         Check results for all rounding modes.
35772         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35773         $(link-libm).
35774
35775 2012-12-09  Allan McRae  <allan@archlinux.org>
35776
35777         * sysdeps/i386/fpu/libm-test-ulps: Update
35778
35779 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35780
35781         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35782         (_G_int32_t): Likewise.
35783         (_G_uint16_t): Likewise.
35784         (_G_uint32_t): Likewise.
35785         (_G_HAVE_BOOL): Likewise.
35786         (_G_HAVE_ATEXIT): Likewise.
35787         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35788         (_G_HAVE_IO_FILE_OPEN): Likewise.
35789         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35790         (_G_int32_t): Likewise.
35791         (_G_uint16_t): Likewise.
35792         (_G_uint32_t): Likewise.
35793         (_G_HAVE_BOOL): Likewise.
35794         (_G_HAVE_ATEXIT): Likewise.
35795         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35796         (_G_HAVE_IO_FILE_OPEN): Likewise.
35797         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35798         (_G_int32_t): Likewise.
35799         (_G_uint16_t): Likewise.
35800         (_G_uint32_t): Likewise.
35801         (_G_HAVE_BOOL): Likewise.
35802         (_G_HAVE_ATEXIT): Likewise.
35803         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35804         (_G_HAVE_IO_FILE_OPEN): Likewise.
35805
35806 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35807
35808         * csu/libc-tls.c: Update copyright years.
35809
35810 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35811
35812         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35813         [!_G_USING_THUNKS]: Remove conditional code.
35814         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35815         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35816
35817         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35818         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35819         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35820         (_G_VTABLE_LABEL_PREFIX): Likewise.
35821         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35822         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35823         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35824         (_G_VTABLE_LABEL_PREFIX): Likewise.
35825         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35826         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35827         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35828         (_G_VTABLE_LABEL_PREFIX): Likewise.
35829         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35830
35831 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35832
35833         * libio/Makefile: Include ../Makeconfig before tests.
35834         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35835         only if $(build-shared) is yes.
35836
35837         * iconv/gconv_db.c: Update copyright years.
35838
35839 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35840
35841         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35842         unwind info if defined PIC. Fix special cases description.
35843         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35844
35845         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35846         DP_HI_MASK entry.
35847         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35848
35849 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35850
35851         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35852
35853         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35854         is NULL.
35855
35856         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35857         (LDLIBS-tst-chk4): This.
35858         (LDFLAGS-tst-chk5): Renamed to ...
35859         (LDLIBS-tst-chk5): This.
35860         (LDFLAGS-tst-chk6): Renamed to ...
35861         (LDLIBS-tst-chk6): This.
35862         (LDFLAGS-tst-lfschk4): Renamed to ...
35863         (LDLIBS-tst-lfschk4): This.
35864         (LDFLAGS-tst-lfschk5): Renamed to ...
35865         (LDLIBS-tst-lfschk5): This.
35866         (LDFLAGS-tst-lfschk6): Renamed to ...
35867         (LDLIBS-tst-lfschk6): This.
35868
35869         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35870         on $(common-objpfx)soversions.mk.
35871
35872 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35873
35874         [BZ #10014]
35875         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35876         example host name.
35877
35878 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35879
35880         * malloc/arena.c (arena_get_retry): New function that gets
35881         another arena for the caller to try its request on.
35882         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35883         current arena cannot fulfill the request.
35884         (__libc_memalign): Likewise.
35885         (__libc_memalign): Likewise.
35886         (__libc_pvalloc): Likewise.
35887         (__libc_calloc): Likewise.
35888
35889 2012-09-05  John Tobey  <john.tobey@gmail.com>
35890
35891         [BZ #13542]
35892         * manual/arith.texi (Operations on Complex): Fix description
35893         of carg branch cut.
35894
35895 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35896
35897         [BZ #10014]
35898         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35899         host name.
35900
35901         [BZ #10038]
35902         * manual/memory.texi (Memory): Make order of menu items match
35903         order of sections.
35904
35905 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35906
35907         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35908         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35909         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35910
35911 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35912
35913         * csu/libc-tls.c (static_dtv): Renamed to ...
35914         (_dl_static_dtv): This.  Make it global.
35915         (_dl_initial_dtv): Removed.
35916         (__libc_setup_tls): Updated.
35917         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35918         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35919         DL_INITIAL_DTV.
35920
35921 2012-09-06  Petr Machata  <pmachata@redhat.com>
35922
35923         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35924         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35925         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35926         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35927
35928 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35929
35930         [BZ #14545]
35931         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35932         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35933         freeing dtv[-1].
35934
35935 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35936
35937         [BZ #14544]
35938         * Makeconfig (link-static-before-libc): Replace $(+prector)
35939         with $(+prectorT).
35940         (link-static-after-libc): Replace $(+postctor) with
35941         $(+postctorT).
35942         (link-bounded): Replace $(+prector)/$(+postctor) with
35943         $(+prectorT)/$(+postctorT).
35944         (+prectorT): New macro.
35945         (+postctorT): Likewise.
35946
35947 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35948
35949         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35950         (round_str): Handle values above the maximum for IBM long double
35951         as inexact.
35952         * stdlib/tst-strtod-round.c (tests): Regenerated.
35953
35954 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35955
35956         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35957         assembler flag.
35958         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35959         zarch_nohighgprs around the zarch optimized routines.
35960         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35961         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35962         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35963         for zarch.
35964
35965 2012-09-05  David S. Miller  <davem@davemloft.net>
35966
35967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35968
35969         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35970         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35971         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35972         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35973         entries.
35974
35975 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35976
35977         * malloc/arena.c: Fold copyright years.
35978         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35979
35980 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35981
35982         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35983
35984 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35985
35986         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35987
35988 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35989
35990         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35991         change internal state upon failure.
35992
35993 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35994
35995         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35996         * malloc/memusage.c (mmap): Likewise.
35997         (mmap64, mremap): Likewise.  Adjust name in comment.
35998
35999 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36000
36001         * libio/fileops.c: Fix typos in comments.
36002         * libio/oldfileops.c: Likewise.
36003         * libio/wfileops.c: Likewise.
36004
36005 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36006
36007         [BZ #1349]
36008         * malloc/Makefile (tests): Add tst-malloc-usable test case.
36009         (tst-malloc-usable-ENV): Set environment for test case.
36010         * malloc/hooks.c (malloc_check_get_size): New function to get
36011         requested size.
36012         * malloc/malloc.c (musable): Use malloc_check_get_size.
36013         * malloc/tst-malloc-usable.c: New test case.
36014
36015 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36016
36017         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36018
36019 2012-09-05  Allan McRae  <allan@archlinux.org>
36020
36021         [BZ #13966]
36022         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36023         determine header location.
36024         * configure: Regenerated.
36025
36026 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36027
36028         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36029         float format.
36030         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36031         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36032         format.
36033         (test): Regenerate.
36034
36035 2012-09-04  David S. Miller  <davem@davemloft.net>
36036
36037         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36038         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36039         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36040
36041 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36042
36043         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36044         failures.
36045
36046         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36047
36048 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36049
36050         [BZ #9914]
36051         * libio/iogetdelim.c: Include <limits.h>.
36052         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36053         + len + 1 would overflow.
36054
36055 2012-09-03  Andreas Jaeger  <aj@suse.de>
36056
36057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36058         * sysdeps/i386/fpu/libm-test-ulps: Update.
36059
36060 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36061
36062         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36063         Add s_sinf-sse2, s_conf-sse2.
36064
36065         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36066         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36067         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36068         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36069
36070         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36071         for using routine as __sinf_ia32.
36072         Use macro for function declaration and weak_alias.
36073         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36074         for using routine as __cosf_ia32.
36075         Use macro for function declaration and weak_alias.
36076
36077         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36078         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36079
36080         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36081         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36083
36084         * math/libm-test.inc (cos_test): Add more test cases.
36085         (sin_test): Likewise.
36086         (sincos_test): Likewise.
36087
36088 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36089
36090         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36091         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36092         hidden.
36093         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36094
36095 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36096
36097         [BZ #14538]
36098         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36099         first element of the GOT.
36100         (elf_machine_load_address): Return the difference between
36101         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36102
36103 2012-09-01  Allan McRae  <allan@archlinux.org>
36104
36105         [BZ #13412]
36106         * configure.in (AWK): Require gawk version 3.0 or later.
36107         * configure: Regenerated.
36108
36109 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36110
36111         * sysdeps/unix/sysv/linux/kernel-features.h
36112         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36113         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36114         [__NR_clock_getres]: Make code unconditional.
36115         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36116         (clock_getcpuclockid): Remove code left unreachable by removal of
36117         conditionals.
36118         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36119         code unconditional.
36120         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36121         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36122         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36123         Make code unconditional.
36124         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36125         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36126         * sysdeps/unix/sysv/linux/clock_settime.c
36127         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36128         conditional code.
36129         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36130         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36131
36132 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36133
36134         [BZ #14476]
36135         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36136         scripts/test-installation.pl.
36137
36138         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36139         and $ld_so_version if it is set.
36140
36141 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36142
36143         [BZ #14516]
36144         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36145         failure if reading from procfs failed.
36146         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36147
36148 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36149
36150         * sysdeps/unix/sysv/linux/kernel-features.h
36151         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36152         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36153         Remove conditional code.
36154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36155         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36156         Remove conditional code.
36157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36158         * sysdeps/unix/sysv/linux/i386/fxstat.c
36159         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36161         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36162         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36164         * sysdeps/unix/sysv/linux/i386/lxstat.c
36165         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36167         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36168         Remove conditional code.
36169         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36170         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36171         Remove conditional code.
36172         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36173         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36174         <kernel-features.h>.
36175         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36176         Remove.
36177         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36178         Remove conditional code.
36179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36180         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36181         Remove conditional.
36182
36183 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36184
36185         [BZ #5400]
36186         * NEWS: Add fixed bug number.
36187
36188 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36189
36190         [BZ #14519]
36191         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36192         underflowing exponent in case of negative sign.
36193         * stdlib/tst-strtod-round-data: Add more tests.
36194         * stdlib/tst-strtod-round.c (tests): Regenerated.
36195
36196         [BZ #3479]
36197         * stdlib/strtod_l.c (NDIG): Remove.
36198         (HEXNDIG): Likewise.
36199         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36200         smallest representable value.
36201         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36202         lie within an exact representation of 1/2 ulp of the result.
36203         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36204         unconditionally.
36205         (TENS_P9_IDX): Define unconditionally.
36206         (TENS_P9_SIZE): Likewise.
36207         (TENS_P10_IDX): Likewise.
36208         (TENS_P10_SIZE): Likewise.
36209         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36210         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36211         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36212         entries for 10^2^13 and 10^2^14.
36213         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36214         (TENS_P13_IDX): Define.
36215         (TENS_P13_SIZE): Likewise.
36216         (TENS_P14_IDX): Likewise.
36217         (TENS_P14_SIZE): Likewise.
36218         (_fpioconst_pow10): Change array size to
36219         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36220         unconditional.
36221         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36222         1024]: Add entries for 10^2^13 and 10^2^14.
36223         [LAST_POW10 > _LAST_POW10]: Remove #error.
36224         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36225         (_fpioconst_pow10): Change array size to
36226         FPIOCONST_POW10_ARRAY_SIZE.
36227         * stdlib/gen-fpioconst.c: New file.
36228         * stdlib/gen-tst-strtod-round.c: Likewise.
36229         * stdlib/tst-strtod-round-data: Likewise.
36230         * stdlib/tst-strtod-round.c: Likewise.
36231         * stdlib/Makefile (tests): Add tst-strtod-round.
36232
36233         [BZ #14459]
36234         * stdlib/strtod_l.c: Include <stdint.h>.
36235         (NDEBUG): Do not define.
36236         (round_and_return): Change EXPONENT parameter to type intmax_t.
36237         Rearrange calculations to avoid internal overflow possibilities.
36238         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36239         Rearrange calculations to avoid internal overflow possibilities.
36240         Assert that number fits inside MPNSIZE limbs.
36241         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36242         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36243         calculations and add assertions to avoid internal overflow
36244         possibilities.  Add casts to avoid signed/unsigned operations.
36245         * stdlib/tst-strtod-overflow.c: New file.
36246         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36247
36248 2012-08-25  Marek Polacek  <polacek@redhat.com>
36249
36250         * time/time.h: Fix some typos in comments.
36251
36252 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36253
36254         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36255         * posix/tst-rfc3484-2.c: Likewise.
36256         * posix/tst-rfc3484-3.c: Likewise.
36257
36258 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36259
36260         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36261         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36262
36263 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36264
36265         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36266         #include of fxstatat64.c.
36267
36268 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36269
36270         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36271         * shadow/getspent_r.c: Likewise.
36272         * shadow/getspnam.c: Likewise.
36273         * shadow/getspnam_r.c: Likewise.
36274         * gshadow/getsgent.c: Likewise.
36275         * gshadow/getsgent_r.c: Likewise.
36276         * gshadow/getsgnam.c: Likewise.
36277         * gshadow/getsgnam_r.c: Likewise.
36278         * inet/getnetbyad.c: Likewise.
36279         * inet/getnetbyad_r.c: Likewise.
36280         * inet/getnetbynm.c: Likewise.
36281         * inet/getnetbynm_r.c: Likewise.
36282         * inet/getnetent.c: Likewise.
36283         * inet/getnetent_r.c: Likewise.
36284         * inet/getproto.c: Likewise.
36285         * inet/getproto_r.c: Likewise.
36286         * inet/getprtent.c: Likewise.
36287         * inet/getprtent_r.c: Likewise.
36288         * inet/getprtname.c: Likewise.
36289         * inet/getprtname_r.c: Likewise.
36290         * inet/getrpcbyname.c: Likewise.
36291         * inet/getrpcbyname_r.c: Likewise.
36292         * inet/getrpcbynumber.c: Likewise.
36293         * inet/getrpcbynumber_r.c: Likewise.
36294         * inet/getrpcent.c: Likewise.
36295         * inet/getrpcent_r.c: Likewise.
36296         * inet/getaliasent.c: Likewise.
36297         * inet/getaliasent_r.c: Likewise.
36298         * inet/getaliasname.c: Likewise.
36299         * inet/getaliasname_r.c: Likewise.
36300         * nscd/getgrgid_r.c: Likewise.
36301         * nscd/getgrnam_r.c: Likewise.
36302         * nscd/gethstbyad_r.c: Likewise.
36303         * nscd/gethstbynm3_r.c: Likewise.
36304         * nscd/getpwnam_r.c: Likewise.
36305         * nscd/getpwuid_r.c: Likewise.
36306         * nscd/getsrvbynm_r.c: Likewise.
36307         * nscd/getsrvbypt_r.c: Likewise.
36308         * nscd/gai.c: Likewise.
36309
36310         * configure.in (build_nscd): New substituted variable, set
36311         by --disable-build-nscd and defaults to $use_nscd.
36312         * configure: Regenerated.
36313         * config.make.in (build-nscd): New substituted variable.
36314         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36315         Change conditional to require [$(build-nscd) = yes] as well.
36316         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36317
36318         [BZ# 13696]
36319         * configure.in (use_nscd): New substituted variable, set by
36320         --disable-nscd.  If enabled, define USE_NSCD.
36321         * configure: Regenerated.
36322         * config.h.in: Add USE_NSCD.
36323         * config.make.in (use-nscd): New substituted variable.
36324         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36325         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36326         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36327         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36328         (CFLAGS-getgrnam_r.c): Likewise.
36329         (CFLAGS-initgroups.c): Likewise.
36330         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36331         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36332         Variables removed.
36333         * inet/getnetgrent_r.c
36334         (nscd_setnetgrent): New function, broken out of ...
36335         (setnetgrent): ... here.  Call it.
36336         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36337         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36338         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36339         * nscd/Makefile (routines, aux): Move definitions after include of
36340         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36341         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36342         Conditionalize on [USE_NSCD].
36343         (is_nscd, nscd_init_cb): Likewise.
36344         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36345         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36346         * nss/nss_db/db-init.c: Likewise.
36347         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36348         [USE_NSCD].
36349         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36350         (make_request): Use it.
36351         (cache_valid_p): New function.
36352         (__check_pf): Use it.
36353         * NEWS: Add item for --disable-nscd.
36354
36355 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36356
36357         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36358         to support sed >= 4.2.1-20-ga9bf076.
36359         * configure: Regenerated.
36360
36361 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36362
36363         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36364         Conditionalize whole body on [IREL].
36365
36366 2012-08-22  Jeff Law <law@redhat.com>
36367
36368         [BZ #14505]
36369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36370         if the family is PF_UNSPEC.
36371
36372 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36373
36374         * Makerules (lib-version): Rename from V.
36375         (install-lib-nosubdir): Change V to lib-version.
36376
36377 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36378
36379         [BZ #14252]
36380         * powerpc32/power6/wcschr.c: New file.
36381         * powerpc32/power6/wcscpy.c: New file.
36382         * powerpc32/power6/wcsrchr.c: New file.
36383         * powerpc64/power6/wcschr.c: New file.
36384         * powerpc64/power6/wcscpy.c: New file.
36385         * powerpc64/power6/wcsrchr.c: New file.
36386
36387 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36388
36389         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36390         (two_way_short_needle): Use it.
36391         * string/strstr.c (AVAILABLE1_USES_J): Define.
36392         * string/strcasestr.c: Likewise.
36393
36394         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36395         array references.
36396         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36397
36398         [BZ #11607]
36399         * NEWS: Add an entry.
36400         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36401         define their defaults.
36402         (two_way_short_needle): Detect end-of-string on-the-fly.
36403         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36404         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36405         * string/bug-strcasestr1.c: New test.
36406         * string/Makefile: Run it.
36407
36408 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36409
36410         [BZ #11607]
36411         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36412         the first character.
36413
36414 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36415
36416         * csu/elf-init.c (__libc_csu_irel): Function removed.
36417         * csu/libc-start.c (apply_irel): New function.
36418         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36419
36420 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36421
36422         * sysdeps/unix/sysv/linux/kernel-features.h
36423         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36424         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36425         <kernel-features.h>.
36426         [__NR_fadvise64_64]: Make code unconditional.
36427         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36428         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36429         !__NR_fadvise64_64)]: Likewise.
36430         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36431         !__NR_fadvise64_64))]: Likewise.
36432         [__NR_fadvise64]: Make code unconditional.
36433         [!__NR_fadvise64]: Remove conditional code.
36434         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36435         <kernel-features.h>.
36436         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36437         unconditional.
36438         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36439         conditional code.
36440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36441         not include <kernel-features.h>.
36442         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36443         unconditional.
36444         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36445         conditional code.
36446         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36447         include <kernel-features.h>.
36448         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36449         unconditional.
36450         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36451         conditional code.
36452
36453 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36454
36455         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36456         slight instruction rearrangements per scrollpipe analysis.
36457         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36458
36459 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36460
36461         * manual/syslog.texi (syslog; vsyslog, closelog):
36462         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36463         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36464
36465         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36466         DSOCAPS to match condition on defining it.
36467
36468 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36469
36470         * sysdeps/unix/sysv/linux/kernel-features.h
36471         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36473         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36474         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36476         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36477         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36479         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36480         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36481
36482         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36483         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36484
36485         * sysdeps/unix/sysv/linux/kernel-features.h
36486         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36487         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36488         unconditional.
36489         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36490         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36491         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36492         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36493         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36494         Make code unconditional.
36495         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36496         (__mmap64) [!__NR_mmap2]: Likewise.
36497         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36498         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36499         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36500         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36501         [__NR_mmap2]: Make code unconditional.
36502         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36503         (__mmap64) [!__NR_mmap2]: Likewise.
36504
36505 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36506
36507         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36508
36509 2012-08-18  Andreas Jaeger  <aj@suse.de>
36510
36511         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36512
36513 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36514
36515         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36516         * include/unistd.h (__have_sock_cloexec): Likewise.
36517         (__have_pipe2): Likewise.
36518         (__have_dup3): Likewise.
36519
36520 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36521
36522         [BZ #9685]
36523         * include/unistd.h (__have_pipe2): Change define into an extern int.
36524         (__have_dup3): Likewise.
36525         * socket/have_sock_cloexec.c: Include fcntl.h.
36526         (__have_pipe2): New variable.
36527         (__have_dup3): Likewise.
36528
36529 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36530
36531         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36532
36533 2012-08-17  Marek Polacek  <polacek@redhat.com>
36534
36535         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36536         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36537
36538 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36539
36540         * configure.in: Add AC_SUBST for sysheaders.
36541         * configure: Regenerated.
36542         * config.make.in (sysheaders): New substituted variable.
36543
36544         * sysdeps/unix/mkfifo.c: Moved ...
36545         * sysdeps/posix/mkfifo.c: ... here.
36546         * sysdeps/unix/mkfifoat.c: Moved ...
36547         * sysdeps/posix/mkfifoat.c: ... here.
36548
36549         * sysdeps/unix/utime.c: Moved ...
36550         * sysdeps/posix/utime.c: ... here.
36551
36552         * sysdeps/unix/time.c: Moved ...
36553         * sysdeps/posix/time.c: ... here.
36554         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36555         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36556
36557         * sysdeps/unix/nice.c: Moved ...
36558         * sysdeps/posix/nice.c: ... here.
36559
36560         * sysdeps/unix/alarm.c: Moved ...
36561         * sysdeps/posix/alarm.c: ... here.
36562
36563         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36564
36565 2012-08-17  Jeff Law <law@redhat.com>
36566
36567         * intl/Makefile (codeset_mo): New variable.
36568         ($(codeset_mo)): New target.
36569         (tst-codeset.out): Depend on that.  Remove explicit rule.
36570         (tst-gettext3.out, tst-gettext5.out): Likewise.
36571         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36572         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36573         * intl/tst-codeset.sh: Remove.
36574         * intl/tst-gettext3.sh: Likewise.
36575         * intl/tst-gettext5.sh: Likewise.
36576
36577 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36578
36579         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36580         * sysdeps/unix/syscalls.list: ... here.
36581
36582         * sysdeps/posix/getaddrinfo.c
36583         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36584         (gaiconf_init, gaiconf_reload): Use them.
36585         [!_STATBUF_ST_NSEC]
36586         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36587         Define using time_t rather than struct timespec.
36588
36589         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36590         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36591         Macros removed.
36592         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36593         [!NO_THREADS].
36594         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36595         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36596         Likewise.
36597
36598         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36599         __libc_cleanup_push argument.
36600
36601         * bits/param.h: New file.
36602         * misc/sys/param.h: New file.
36603         * include/sys/param.h: New file.
36604         * misc/Makefile (headers): Add bits/param.h.
36605         * sysdeps/generic/sys/param.h: File removed.
36606         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36607         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36608         * sysdeps/mach/hurd/bits/param.h: New file.
36609         * sysdeps/mach/hurd/sys/param.h: File removed.
36610
36611         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36612         last change.
36613
36614         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36615         [_IO_MTSAFE_IO].
36616         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36617         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36618         New macros.
36619
36620         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36621         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36622         rather than -D_IO_MTSAFE_IO conditionally.
36623         * stdio-common/Makefile (CPPFLAGS): Likewise.
36624         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36625         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36626         Use $(libio-mtsafe).
36627         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36628         of -D_IO_MTSAFE_IO.
36629         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36630         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36631         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36632         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36633         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36634         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36635         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36636         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36637         (CFLAGS-fread_u_chk.c): Likewise.
36638         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36639         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36640         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36641         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36642         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36643         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36644         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36645         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36646         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36647
36648         * libio/Makefile: Test [$(libc-reentrant) = yes]
36649         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36650
36651         * Makeconfig
36652         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36653         * sysdeps/pthread/configure: File removed.
36654         * sysdeps/pthread/Makeconfig: New file.
36655         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36656         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36657
36658 2012-08-16  Gary Benson  <gbenson@redhat.com>
36659
36660         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36661         unmapping the first object in a namespace.
36662
36663 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36664
36665         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36666         (__internal_setnetgrent): ... this.  Add internal_function to
36667         definition.  Add libc_hidden_def.
36668         (setnetgrent): Update caller.
36669         (internal_endnetgrent): Renamed to ...
36670         (__internal_endnetgrent): ... this.  Add internal_function to
36671         definition.  Add libc_hidden_def.
36672         (endnetgrent): Update caller.
36673         (internal_getnetgrent_r): Renamed to ...
36674         (__internal_getnetgrent_r): ... this.  Add internal_function to
36675         definition.  Add libc_hidden_def.
36676         (__getnetgrent_r): Update caller.
36677         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36678
36679 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36680
36681         * stdlib/longlong.h: Update from GCC.
36682
36683 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36684
36685         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36686         on _QL, which is set by umul_ppmm but never used.
36687         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36688         variables, which are set by GMP macros but never used.
36689         * stdio-common/_itowa.c (_itowa): Likewise.
36690         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36691         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36692
36693 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36694
36695         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36696         struct La_sh_regs is not constant.
36697         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36698         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36699         and struct La_sparc64_regs are not constant.
36700
36701 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36702
36703         * sysdeps/unix/sysv/linux/kernel-features.h
36704         (__ASSUME_POSIX_TIMERS): Remove.
36705         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36707         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36708         Make code unconditional.
36709         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36710         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36711         Make code unconditional.
36712         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36713         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36714         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36715         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36716         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36717         Make code unconditional.
36718         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36719         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36720         (__libc_missing_posix_timers): Remove.
36721
36722 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36723
36724         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36725         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36726
36727         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36728
36729         * elf/dl-sym.c: Include <stdlib.h>.
36730
36731         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36732         constants, which avoids warnings in 32-bit builds.
36733
36734         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36735         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36736
36737         * misc/lseek.c: File moved to ...
36738         * io/lseek.c: ... here.
36739
36740         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36741
36742         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36743         shifting LEN more than 31 bits at once.
36744
36745 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36746
36747         [BZ #14195]
36748         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36749         segmentation fault for a case of two empty input strings.
36750         * string/test-strncasecmp.c (check1): Renamed to...
36751         (bz12205): ...this.
36752         (bz14195): Add new testcase for two empty input strings and N > 0.
36753         (test_main): Call new testcase, adapt for renamed function.
36754
36755 2012-08-15  Andreas Jaeger  <aj@suse.de>
36756
36757         [BZ #14090]
36758         * crypt/md5test2.c: New test, based on test supplied by Serge
36759         Belyshev <belyshev@depni.sinp.msu.ru>.
36760         * crypt/Makefile (xtests): Add md5test-giant..
36761         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36762
36763 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36764
36765         [BZ #14090]
36766         * crypt/md5.c (md5_process_block): Don't assume the buffer
36767         length is less than 2**32.
36768         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36769         length is less than 2**64.
36770
36771 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36772
36773         * string/str-two-way.h: Include <sys/param.h>.
36774         (MAX): Macro removed.
36775
36776         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36777         Move #define and #undef of memmove to just before and after
36778         including <string.h>.
36779
36780         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36781         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36782         and after including <string.h>.  Move declarations of
36783         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36784         to before #include "string/memmove.c".
36785
36786         * include/dirent.h: Declare __getdirentries.
36787
36788         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36789         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36790
36791 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36792
36793         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36794         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36795         * sysdeps/i386/configure: Regenerated.
36796         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36797         STABS_CURRENT_FILE, and STABS_FUN.
36798         (END): Remove call to STABS_FUN_END.
36799         (STABS_CURRENT_FILE1): Delete.
36800         (STABS_CURRENT_FILE): Likewise.
36801         (STABS_FUN): Likewise.
36802         (STABS_FUN_END): Likewise.
36803         (STABS_FUN2): Likewise.
36804         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36805         * sysdeps/x86_64/configure: Regenerated.
36806
36807 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36808
36809         * elf/dl-open.c: Include <atomic.h>.
36810         * elf/dl-lookup.c: Likewise.
36811
36812 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36813
36814         * sysdeps/unix/sysv/linux/kernel-features.h
36815         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36816         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36817         unconditionally.
36818         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36819         unconditionally.
36820         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36821         condition on __ASSUME_CLONE_THREAD_FLAGS.
36822
36823 2012-08-14  Andreas Jaeger  <aj@suse.de>
36824
36825         * sysdeps/i386/fpu/libm-test-ulps: Update.
36826
36827 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36828
36829         * include/atomic.h (atomic_exchange_and_add): Split into ...
36830         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36831         New atomic macros.
36832
36833 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36834
36835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36836
36837 2012-08-13  Jeff Law <law@redhat.com>
36838
36839         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36840         null byte in the output string.
36841
36842 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36843
36844         * sysdeps/unix/sysv/linux/kernel-features.h
36845         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36846         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36847         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36848         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36849         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36850         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36851         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36852
36853 2012-08-09  Jeff Law <law@redhat.com>
36854
36855         [BZ #13939]
36856         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36857         When avoid_arena is set, don't retry in the that arena.  Pick the
36858         next one, whatever it might be.
36859         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36860         (arena_lock): Pass in new parameter to arena_get2.
36861         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36862         arena_get2.
36863         (__libc_malloc): Unify retrying after main arena failure with
36864         __libc_memalign version.
36865         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36866
36867 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36868
36869         [BZ #14166]
36870         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36871         to __redirect_strstr.
36872         (__strstr_sse42): Use typeof __redirect_strstr.
36873         (__strstr_ia32): Likewise.
36874         (__libc_strstr): New prototype.
36875         (strstr): Renamed to ...
36876         (__libc_strstr): This.
36877         (strstr): New strong alias of __libc_strstr.
36878         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36879         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36880         __redirect_time.
36881         Include <time.h>.
36882         (__libc_time): New prototype.
36883         (time_ifunc): Replace time with __libc_time.
36884         (time): New strong alias and hidden definition of __libc_time.
36885         (__GI_time): Remove strong alias.
36886         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36887         Include <stddef.h>.
36888         (memmove): Redefined to __redirect_memmove.
36889         (__memmove_sse2): Use typeof __redirect_memmove.
36890         (__memmove_ssse3): Likewise.
36891         (__memmove_ssse3_back): Likewise.
36892         (__libc_memmove): New prototype.
36893         (memmove): Renamed to ...
36894         (__libc_memmove): This.
36895         (memmove): New strong alias of __libc_memmove.
36896
36897 2012-08-08  Mark Salter  <msalter@redhat.com>
36898
36899         * elf/elf.h
36900         (R_MN10300_TLS_GD): Define.
36901         (R_MN10300_TLS_LD): Likewise.
36902         (R_MN10300_TLS_LDO): Likewise.
36903         (R_MN10300_TLS_GOTIE): Likewise.
36904         (R_MN10300_TLS_IE): Likewise.
36905         (R_MN10300_TLS_LE): Likewise.
36906         (R_MN10300_TLS_DTPMOD): Likewise.
36907         (R_MN10300_TLS_DTPOFF): Likewise.
36908         (R_MN10300_TLS_TPOFF): Likewise.
36909         (R_MN10300_SYM_DIFF): Likewise.
36910         (R_MN10300_ALIGN): Likewise.
36911         (R_MN10300_NUM): Update.
36912
36913 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36914
36915         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36916         Remove.
36917
36918 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36919
36920         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36921
36922         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36923         sysdeps/unix -> sysdeps/posix move.
36924         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36925
36926 2012-08-07      Allan McRae     <allan@archlinux.org>
36927
36928         [BZ #14303]
36929         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36930         (SUNOS_CPP): Likewise.
36931         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36932         not found.
36933         (open_input): Call CPP using execvp.
36934
36935 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36936
36937         * sysdeps/unix/sysv/linux/kernel-features.h
36938         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36939         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36940         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36941         (__ASSUME_WAITID_SYSCALL): Likewise.
36942         * sysdeps/unix/sysv/linux/dl-execstack.c
36943         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36944         code unconditional.
36945         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36946         conditional code.
36947         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36948         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36949         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36950         code.
36951         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36952         unconditional.
36953         [__ASSUME_WAITID_SYSCALL]: Likewise.
36954         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36955
36956 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36957
36958         * sysdeps/unix/closedir.c: Renamed to ...
36959         * sysdeps/posix/closedir.c: ... here.
36960         * sysdeps/unix/dirfd.c: Renamed to ...
36961         * sysdeps/posix/dirfd.c: ... here.
36962         * sysdeps/unix/dirstream.h: Renamed to ...
36963         * sysdeps/posix/dirstream.h: ... here.
36964         * sysdeps/unix/fdopendir.c: Renamed to ...
36965         * sysdeps/posix/fdopendir.c: ... here.
36966         * sysdeps/unix/opendir.c: Renamed to ...
36967         * sysdeps/posix/opendir.c: ... here.
36968         * sysdeps/unix/readdir.c: Renamed to ...
36969         * sysdeps/posix/readdir.c: ... here.
36970         * sysdeps/unix/readdir_r.c: Renamed to ...
36971         * sysdeps/posix/readdir_r.c: ... here.
36972         * sysdeps/unix/rewinddir.c: Renamed to ...
36973         * sysdeps/posix/rewinddir.c: ... here.
36974         * sysdeps/unix/seekdir.c: Renamed to ...
36975         * sysdeps/posix/seekdir.c: ... here.
36976         * sysdeps/unix/telldir.c: Renamed to ...
36977         * sysdeps/posix/telldir.c: ... here.
36978         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36979         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36980         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36981         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36982
36983         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36984         * bits/fcntl.h: ... here.
36985
36986         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36987         not 0.
36988         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36989         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36990         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36991         (struct flock): Move l_start, l_len to the beginning.
36992         Use __pid_t for l_pid.
36993         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36994         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36995         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36996         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36997         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36998         [__USE_LARGEFILE64] (struct flock64): New type.
36999         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37000
37001         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37002         * bits/dirent.h: ... here.
37003
37004         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37005         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37006
37007 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
37008
37009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37010         Change from 2.6.0 to 2.6.16.
37011         * sysdeps/unix/sysv/linux/configure: Regenerated.
37012         * sysdeps/unix/sysv/linux/kernel-features.h
37013         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37014         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37015         version.
37016         (__ASSUME_UTIMES): Likewise.
37017         (__ASSUME_CLONE_STOPPED): Remove.
37018         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37019         architectures, not kernel version.
37020         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37021         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37022         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37023         (__ASSUME_WAITID_SYSCALL): Likewise.
37024         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37025         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37026         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37027         refer to older versions.
37028
37029 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37030
37031         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37032         Define alphasort64 as an alias.
37033         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37034         Define versionsort64 as an alias.
37035         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37036         Define scandir64 as an alias.
37037         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37038         Define scandirat64 as an alias.
37039         * dirent/alphasort64.c (alphasort64):
37040         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37041         * dirent/versionsort64.c: Likewise.
37042         * dirent/scandir64.c: Likewise.
37043         * dirent/scandirat64.c: Likewise.
37044         * sysdeps/wordsize-64/alphasort.c: File removed.
37045         * sysdeps/wordsize-64/alphasort64.c: File removed.
37046         * sysdeps/wordsize-64/scandir.c: File removed.
37047         * sysdeps/wordsize-64/scandir64.c: File removed.
37048         * sysdeps/wordsize-64/scandirat.c: File removed.
37049         * sysdeps/wordsize-64/scandirat64.c: File removed.
37050         * sysdeps/wordsize-64/versionsort.c: File removed.
37051         * sysdeps/wordsize-64/versionsort64.c: File removed.
37052         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37053         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37054         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37055         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37056         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37057         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37058         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37059         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37060
37061         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37063         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37065         [defined __arch64__ || defined __sparcv9]
37066         (__INO_T_MATCHES_INO64_T): New macro.
37067         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37068         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37069         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37070         * sysdeps/unix/sysv/linux/bits/dirent.h
37071         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37072         (_DIRENT_MATCHES_DIRENT64): New macro.
37073
37074         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37075         Define lockf64 as an alias.
37076         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37077         Define fseeko64 as an alias.
37078         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37079         Define ftello64 as an alias.
37080         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37081         Define _IO_fgetpos64 and fgetpos64 as aliases.
37082         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37083         Define _IO_fsetpos64 and fsetpos64 as aliases.
37084         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37085         Conditionalize body on this.
37086         * libio/fseeko64.c: Likewise.
37087         * libio/ftello64.c: Likewise.
37088         * libio/iofgetpos64.c: Likewise.
37089         * libio/iofsetpos64.c: Likewise.
37090         * sysdeps/wordsize-64/lockf.c: File removed.
37091         * sysdeps/wordsize-64/lockf64.c: File removed.
37092         * sysdeps/wordsize-64/fseeko.c: File removed.
37093         * sysdeps/wordsize-64/fseeko64.c: File removed.
37094         * sysdeps/wordsize-64/ftello.c: File removed.
37095         * sysdeps/wordsize-64/ftello64.c: File removed.
37096         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37097         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37098         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37099         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37100         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37101         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37102         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37103         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37104         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37105         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37106         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37107         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37108         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37109         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37110
37111         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37112         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37113         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37115         [defined __arch64__ || defined __sparcv9]
37116         (__OFF_T_MATCHES_OFF64_T): New macro.
37117         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37118         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37119         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37120         (__OFF_T_MATCHES_OFF64_T): New macro.
37121
37122 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37123
37124         * stdlib/secure-getenv.c (__secure_getenv): Replace
37125         GLIBC_2_16 with GLIBC_2_17.
37126
37127 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37128
37129         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37130         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37131
37132 2012-08-03  David S. Miller  <davem@davemloft.net>
37133
37134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37135
37136 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37137
37138         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37139         Remove.
37140         (__ASSUME_CORRECT_SI_PID): Likewise.
37141         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37142         (__ASSUME_TMPFS_NAME): Likewise.
37143         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37144         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37145         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37146         (HAVE_AUX_SECURE): Make definition unconditional.
37147         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37148         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37149
37150 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37151
37152         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37153         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37154         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37155         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37156         __eloop_threshold instead of SYMLOOP_MAX.
37157
37158         * sysdeps/generic/eloop-threshold.h: New file.
37159         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37160         of MAXSYMLINKS.
37161         * elf/chroot_canon.c (chroot_canon): Likewise.
37162
37163 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37164
37165         [BZ #13717]
37166         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37167         Change to 2.6.0 everywhere.
37168         * sysdeps/unix/sysv/linux/configure: Regenerated.
37169         * sysdeps/unix/sysv/linux/kernel-features.h
37170         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37171         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37172         kernel versions.
37173         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37174         (__ASSUME_FUTEX_REQUEUE): Remove.
37175         (__ASSUME_STATFS64): Define unconditionally.
37176         (__ASSUME_AT_SECURE): Likewise.
37177         (__ASSUME_CORRECT_SI_PID): Likewise.
37178         (__ASSUME_TGKILL): Define without depending on kernel version for
37179         i386.
37180         (__ASSUME_UTIMES): Likewise.
37181         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37182         kernel version.
37183         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37184         (__ASSUME_TMPFS_NAME): Likewise.
37185         * README: Update reference to Linux kernel versions.
37186
37187 2012-08-02  Marek Polacek  <polacek@redhat.com>
37188
37189         [BZ# 14150]
37190         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37191         libc_cv_asm_type_prefix with %.
37192         * configure: Regenerated.
37193         * include/libc-symbols.h: Remove comment about
37194         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37195         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37196         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37197         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37198         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37199         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37200         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37201         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37202         * elf/tst-unique2mod1.c: Likewise.
37203         * elf/tst-unique1mod2.c: Likewise.
37204         * elf/tst-unique1mod1.c: Likewise.
37205         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37206         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37207         Replace ASM_TYPE_DIRECTIVE with .type.
37208         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37209         * sysdeps/i386/sysdep.h: Likewise.
37210         * sysdeps/x86_64/sysdep.h: Likewise.
37211         * sysdeps/sh/sysdep.h: Likewise.
37212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37213         Do not define ASM_TYPE_DIRECTIVE.
37214         * sysdeps/powerpc/sysdep.h: Likewise.
37215         * sysdeps/powerpc/powerpc32/sysdep.h:
37216         Replace ASM_TYPE_DIRECTIVE with .type.
37217         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37218         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37219         * sysdeps/i386/fpu/e_powf.S: Likewise.
37220         * sysdeps/i386/fpu/e_expl.S: Likewise.
37221         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37222         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37223         * sysdeps/i386/fpu/e_pow.S: Likewise.
37224         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37225         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37226         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37227         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37228         * sysdeps/i386/fpu/e_log2.S: Likewise.
37229         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37230         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37231         * sysdeps/i386/fpu/e_powl.S: Likewise.
37232         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37233         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37234         * sysdeps/i386/fpu/e_logl.S: Likewise.
37235         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37236         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37237         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37238         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37239         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37240         * sysdeps/i386/fpu/e_log.S: Likewise.
37241         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37242         * sysdeps/i386/fpu/e_logf.S: Likewise.
37243         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37244         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37245         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37246         * sysdeps/i386/fpu/e_log10.S: Likewise.
37247         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37248         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37249         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37250         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37251         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37252         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37253         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37254         * sysdeps/i386/i686/strtok.S: Likewise.
37255         * sysdeps/i386/i386-mcount.S: Likewise.
37256         * sysdeps/i386/strtok.S: Likewise.
37257         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37258         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37259         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37260         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37261         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37262         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37263         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37264         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37265         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37266         * sysdeps/x86_64/_mcount.S: Likewise.
37267         * sysdeps/x86_64/strtok.S: Likewise.
37268         * sysdeps/sh/_mcount.S: Likewise.
37269
37270 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37271
37272         * libio/iofopen.c: Include <fcntl.h>.
37273         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37274         (_IO_fopen64, fopen64): Define as aliases.
37275         * libio/iofopen64.c: Include <fcntl.h>.
37276         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37277         Conditionalize body on this.
37278         * sysdeps/wordsize-64/iofopen.c: File removed.
37279         * sysdeps/wordsize-64/iofopen64.c: File removed.
37280
37281 2012-08-01  Marek Polacek  <polacek@redhat.com>
37282
37283         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37284         Use dlfcn directly instead of a variable.
37285         (binfmt-subdir): Do not define.
37286         (dlfcn): Likewise.
37287
37288 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37289
37290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37291         Remove all definitions.
37292         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37293         <kernel-features.h>.
37294         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37295         (miss_F_GETOWN_EX): Remove all definitions.
37296         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37297         macro definition.
37298         [!__ASSUME_FCNTL64]: Remove conditional code.
37299         [__ASSUME_FCNTL64]: Make code unconditional.
37300         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37301         <kernel-features.h>.
37302         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37303         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37304         (lockf64) [__NR_fcntl64]: Make code unconditional.
37305         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37306
37307         * sysdeps/unix/sysv/linux/kernel-features.h
37308         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37309         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37310         Make code unconditional.
37311         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37312         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37314         [__NR_vfork]: Make code unconditional.
37315         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37316         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37318         [__NR_vfork]: Make code unconditional.
37319         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37320         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37321
37322 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37323
37324         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37325         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37326
37327         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37328         Define mkstemp64 as an alias.
37329         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37330         Define mkstemps64 as an alias.
37331         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37332         Define mkostemp64 as an alias.
37333         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37334         Define mkostemps64 as an alias.
37335         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37336         Conditionalize body on this.
37337         * misc/mkostemp64.c: Likewise.
37338         * misc/mkostemps64.c: Likewise.
37339         * misc/mkstemps64.c: Likewise.
37340         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37341         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37342         * sysdeps/wordsize-64/mkostemp.c: File removed.
37343         * sysdeps/wordsize-64/mkstemp.c: File removed.
37344         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37345         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37346         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37347         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37348
37349         [BZ #14138]
37350         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37351         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37352         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37353         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37354
37355         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37356         compat_symbol macros from <shlib-compat.h> rather than the underlying
37357         default_symbol_version and symbol_version macros, so that DEFAULT
37358         lines in shlib-versions are respected.
37359         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37360
37361 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37362
37363         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37364         Declare with warn_unused_result.
37365         (setgid, setregid, setegid, setresgid): Likewise.
37366         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37367         Likewise.
37368         * WUR-REPORT: Remove set*id functions.
37369
37370 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37371
37372         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37373
37374 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37375
37376         [BZ #10191]
37377         * include/sys/socket.h (__libc_accept, __libc_accept4):
37378         Add attribute_hidden.
37379         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37380
37381         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37382         use of PTR_MANGLE.
37383         * inet/getnetgrent_r.c (setup): Likewise.
37384
37385         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37386
37387 2012-07-31  David S. Miller  <davem@davemloft.net>
37388
37389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37390
37391 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37392
37393         [BZ #13629]
37394         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37395         value between 1.0 and 2.0 and smaller part has absolute value less
37396         than 1.0.
37397         * math/s_clog10.c (__clog10): Likewise.
37398         * math/s_clog10f.c (__clog10f): Likewise.
37399         * math/s_clog10l.c (__clog10l): Likewise.
37400         * math/s_clogf.c (__clogf): Likewise.
37401         * math/s_clogl.c (__clogl): Likewise.
37402         * math/libm-test.inc (clog_test): Add more tests.
37403         (clog10_test): Likewise.
37404         * sysdeps/i386/fpu/libm-test-ulps: Update.
37405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37406
37407 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37408
37409         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37410         Exit with zero in case no suitable GID is found, and write a
37411         message to standard error.
37412
37413 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37414
37415         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37416         rather than to 1.
37417         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37418         (MAXPATHLEN): Removed.
37419         (NOGROUP, NODEV): New macros.
37420         (setbit, clrbit, isset, isclr): New macros.
37421         (howmany, roundup, powerof2): New macros.
37422         (DEV_BSIZE): New macro.
37423
37424         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37425         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37426
37427         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37428         definition on [!__NO_LONG_DOUBLE_MATH].
37429
37430         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37431         PTR_MANGLE and PTR_DEMANGLE.
37432
37433         * socket/accept4.c (accept4): Rename to __libc_accept4.
37434         Define accept4 as a weak alias.
37435
37436         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37437         on [_DIRENT_HAVE_D_TYPE].
37438         * io/ftw.c (ftw_dir): Likewise.
37439
37440         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37441
37442         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37443
37444         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37445         Use the BSD numbers rather than the arbitrary ones we had.
37446         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37447         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37448         (SIGXCPU, SIGXFSZ): New macros.
37449         (_NSIG): Now 32.
37450
37451         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37452         initializer on [_LIBC_REENTRANT].
37453
37454         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37455         definitions inside [_POSIX_MAPPED_FILES].
37456
37457         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37458
37459         * dirent/opendir.c: Include <fcntl.h>.
37460
37461         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37462         (__libc_getspecific): Likewise.
37463         (__libc_key_create): Likewise.
37464
37465         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37466         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37467         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37468         (tmpfile64): Define as alias.
37469         * sysdeps/wordsize-64/tmpfile.c: File removed.
37470         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37471         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37472         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37473
37474         * stdio-common/vfscanf.c: Include <stdbool.h>.
37475         * nss/makedb.c: Likewise.
37476         * stdio-common/_i18n_number.h: Likewise.
37477         * argp/argp-help.c: Likewise.
37478         * posix/wordexp.c: Likewise.
37479         * sysdeps/posix/spawni.c: Likewise.
37480         * nss/nss_files/files-initgroups.c: Likewise.
37481         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37482         * nss/nss_files/files-initgroups.c: Likewise.
37483         * nss/nss_db/db-netgrp.c: Likewise.
37484         * nss/nss_db/db-initgroups.c: Likewise.
37485         * io/fchmodat.c: Include <sys/stat.h>.
37486
37487         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37488         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37489
37490         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37491         [HAVE_MMAP].
37492
37493         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37494         Add multiple inclusion protection.
37495
37496 2012-07-27  David S. Miller  <davem@davemloft.net>
37497
37498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37499
37500 2012-07-27  Gary Benson  <gbenson@redhat.com>
37501
37502         [BZ #14298]
37503         * elf/rtld.c: Include <stap-probe.h>.
37504         (dl_main): Added static probes "init_start" and "init_complete".
37505         * elf/dl-load.c: Include <stap-probe.h>.
37506         (lose): Take new parameter "nsid".
37507         Added static probe "map_failed".
37508         (_dl_map_object_from_fd): Pass namespace id to lose.
37509         Added static probe "map_start".
37510         (open_verify): Pass namespace id to lose.
37511         * elf/dl-open.c: Include <stap-probe.h>.
37512         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37513         and "reloc_complete".
37514         * elf/dl-close.c: Include <stap-probe.h>.
37515         (_dl_close_worker): Added static probes "unmap_start" and
37516         "unmap_complete".
37517         * elf/rtld-debugger-interface.txt: New file documenting the above.
37518
37519 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37520
37521         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37522         rather than a string variable.
37523         * sunrpc/rpc_main.c (h_output): Likewise.
37524         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37525
37526 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37527
37528         * inet/check_native.c: New file.
37529
37530 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37531
37532         [BZ #13629]
37533         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37534         if larger part has absolute value 1.0.
37535         * math/s_clog10.c (__clog10): Likewise.
37536         * math/s_clog10f.c (__clog10f): Likewise.
37537         * math/s_clog10l.c (__clog10l): Likewise.
37538         * math/s_clogf.c (__clogf): Likewise.
37539         * math/s_clogl.c (__clogl): Likewise.
37540         * math/libm-test.inc (clog_test): Add more tests.
37541         (clog10_test): Likewise.
37542         * sysdeps/i386/fpu/libm-test-ulps: Update.
37543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37544
37545         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37546         (pltexit): Likewise.
37547         (La_regs): Likewise.
37548         (La_retval): Likewise.
37549         (int_retval): Likewise.
37550         Update #error for removed macros to refer only to definitions in
37551         tst-audit.h.
37552         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37553         macro.
37554         (pltexit): Likewise.
37555         (La_regs): Likewise.
37556         (La_retval): Likewise.
37557         (int_retval): Likewise.
37558         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37559         macro.
37560         (pltexit): Likewise.
37561         (La_regs): Likewise.
37562         (La_retval): Likewise.
37563         (int_retval): Likewise.
37564         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37565         macro.
37566         (pltexit): Likewise.
37567         (La_regs): Likewise.
37568         (La_retval): Likewise.
37569         (int_retval): Likewise.
37570         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37571         macro.
37572         (pltexit): Likewise.
37573         (La_regs): Likewise.
37574         (La_retval): Likewise.
37575         (int_retval): Likewise.
37576         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37577         macro.
37578         (pltexit): Likewise.
37579         (La_regs): Likewise.
37580         (La_retval): Likewise.
37581         (int_retval): Likewise.
37582         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37583         macro.
37584         (pltexit): Likewise.
37585         (La_regs): Likewise.
37586         (La_retval): Likewise.
37587         (int_retval): Likewise.
37588         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37589         macro definitions in tst-audit.h.
37590         * sysdeps/i386/tst-audit.h: New file.
37591         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37592         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37593         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37594         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37595         * sysdeps/sh/tst-audit.h: Likewise.
37596         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37597         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37598         * sysdeps/x86_64/tst-audit.h: Likewise.
37599
37600 2012-07-26  Andreas Jaeger  <aj@suse.de>
37601
37602         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37603         ptrace.
37604
37605         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37606         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37607         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37608         PTRACE_O_MASK.
37609         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37610         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37611         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37612
37613         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37614         value.
37615
37616         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37617         _sigsys.
37618         (si_call_addr, si_syscall, si_arch): Define new macro.
37619         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37620         _sigsys.
37621         (si_call_addr, si_syscall, si_arch): Define new marcro.
37622         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37623         _sigsys.
37624         (si_call_addr, si_syscall, si_arch): Define new macro.
37625         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37626         _sigsys.
37627         (si_call_addr, si_syscall, si_arch): Define new macro.
37628
37629 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37630
37631         [BZ #13717]
37632         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37633         Change to 2.4.21 where previously 2.4.1.
37634         * sysdeps/unix/sysv/linux/configure: Regenerated.
37635         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37636         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37637         Linux kernel version.
37638         (__ASSUME_STD_AUXV): Remove.
37639         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37640         kernel version.
37641         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37642         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37643         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37644         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37645         (__ASSUME_NETLINK_SUPPORT): Likewise.
37646         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37647         (__no_netlink_support): Remove conditional definition.
37648         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37649         Remove.
37650         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37651         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37652         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37653         (if_nameindex_ioctl): Remove.
37654         (if_nameindex_netlink): Do not handle __no_netlink_support.
37655         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37656         code.
37657         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37658         Remove conditional code.
37659         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37660         code.
37661         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37662         unconditional.
37663         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37664         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37665         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37666         Remove.
37667         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37668         [!__ASSUME_STD_AUXV]: Remove conditional code.
37669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37670         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37671         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37673         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37674         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37675         code.
37676         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37678         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37679         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37680         conditional code.
37681         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37683         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37684         code.
37685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37686         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37687         conditional code.
37688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37689         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37690         code unconditional.
37691         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37692         conditional code.
37693         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37694         unconditional.
37695         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37696         conditional code.
37697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37698         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37699         unconditional.
37700         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37701         conditional code.
37702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37703         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37704         code unconditional.
37705         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37706         conditional code.
37707         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37708         unconditional.
37709         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37710         conditional code.
37711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37712         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37713         code unconditional.
37714         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37715         conditional code.
37716         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37717         unconditional.
37718         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37719         conditional code.
37720
37721 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37722
37723         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37724         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37725         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37726         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37727         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37728         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37729         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37730         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37731         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37732         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37733         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37734         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37735         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37736         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37737         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37738         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37739         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37740         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37741         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37743         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37744         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37745         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37746
37747 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37748
37749         * Versions.def: Add GLIBC_2.17.
37750         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37751         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37752         Introduce __libc_secure_getenv.
37753         * stdlib/Versions (2.17): Add secure_getenv
37754         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37755         * stdlib/secure-getenv.c: Rename __secure_getenv to
37756         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37757         symbol __secure_getenv for GLIBC_2.0.
37758         * stdlib/tst-secure-getenv.c: New.
37759         * stdlib/Makefile (tests): Add testcase.
37760         * manual/startup.texi (Environment Access): Document
37761         secure_getenv.
37762         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37763         __libc_secure_getenv.
37764         * inet/ruserpass.c (ruserpass): Likewise.
37765         * malloc/mtrace.c (mtrace): Likewise.
37766         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37767         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37768         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37769         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37770         HAVE_SECURE_GETENV.
37771         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37772         __secure_getenv to __libc_secure_getenv.
37773         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37775         Likewise.
37776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37777         Likewise.
37778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37780         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37785
37786 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37787
37788         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37789         (struct La_i86_retval): Likewise.
37790         (struct La_x86_64_regs): Likewise.
37791         (struct La_x86_64_retval): Likewise.
37792         (struct La_x32_regs): Likewise.
37793         (struct La_x32_retval): Likewise.
37794         (struct La_ppc32_regs): Likewise.
37795         (struct La_ppc32_retval): Likewise.
37796         (struct La_ppc64_regs): Likewise.
37797         (struct La_ppc64_retval): Likewise.
37798         (struct La_sh_regs): Likewise.
37799         (struct La_sh_retval): Likewise.
37800         (struct La_s390_32_regs): Likewise.
37801         (struct La_s390_32_retval): Likewise.
37802         (struct La_s390_64_regs): Likewise.
37803         (struct La_s390_64_retval): Likewise.
37804         (struct La_sparc32_regs): Likewise.
37805         (struct La_sparc32_retval): Likewise.
37806         (struct La_sparc64_regs): Likewise.
37807         (struct La_sparc64_retval): Likewise.
37808         (struct audit_ifaces): Remove architecture-specific pltenter and
37809         pltexit members.
37810         * sysdeps/i386/ldsodefs.h: New file.
37811         * sysdeps/powerpc/ldsodefs.h: Likewise.
37812         * sysdeps/s390/ldsodefs.h: Likewise.
37813         * sysdeps/sh/ldsodefs.h: Likewise.
37814         * sysdeps/sparc/ldsodefs.h: Likewise.
37815         * sysdeps/x86_64/ldsodefs.h: Likewise.
37816
37817 2012-07-25  Marek Polacek  <polacek@redhat.com>
37818
37819         [BZ #6808]
37820         * math/libm-test.inc (yn_test): Add another test.
37821         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37822         to ERANGE when the result is +-Inf.
37823         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37824         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37825         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37826         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37827
37828 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37829
37830         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37831         equal to 0.
37832         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37833         clock_t.
37834         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37835
37836 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37837
37838         * configure.in <sysdeps resolving>: Correct printing
37839         Implies_before.
37840         * configure: Regenerate.
37841
37842 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37843
37844         * math/w_ilogb.c: Include <limits.h>.
37845         * math/w_ilogbl.c: Likewise.
37846
37847 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37848
37849         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37850         va_copy.  Document allowing for unavailable va_copy only as
37851         pre-C99 compatibility.
37852         * manual/string.texi (Copying and Concatenation): Use va_copy
37853         instead of __va_copy in concat example.
37854
37855 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37856
37857         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37858         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37859         it if not null.
37860
37861         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37862         with O_NOLINK passed to __file_name_lookup.
37863
37864         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37865         with O_NOLINK passed to __file_name_lookup.
37866
37867         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37868         negative N or less than NGIDS.
37869
37870         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37871         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37872         enough.  Use memcpy instead of strncpy.
37873
37874 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37875
37876         * elf/Makefile (check-data): Remove.
37877         (localplt.data): New vpath directive.
37878         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37879         instead of $(check-data).
37880         * scripts/data/localplt-generic.data: Move to ...
37881         * sysdeps/generic/localplt.data: ... here.
37882         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37883         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37884         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37886         ... here.
37887         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37889         ... here.
37890         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37892         ... here.
37893         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37895         ... here.
37896         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37898         ... here.
37899         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37901         ... here.
37902
37903 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37904
37905         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37906         PPC32 and PPC64 files.
37907         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37908         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37909
37910 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37911
37912         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37913         __makecontext_ret to ...
37914         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37915         ... here and call exit if uc_link is NULL.  New file.
37916         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37917         __makecontext_ret.S.
37918         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37919         __makecontext_ret to ...
37920         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37921         ... here and call exit if uc_link is NULL.  New file.
37922         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37923         __makecontext_ret.S.
37924
37925 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37926
37927         * elf/elf.h (R_390_IRELATIVE): New definition.
37928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37929         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37930         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37931         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37932         (elf_machine_lazy_rel): Likewise.
37933         * sysdeps/s390/dl-irel.h: New file.
37934         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37935         * sysdeps/s390/s390-64/memset.S: New asm code.
37936         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37937         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37938         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37939         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37940         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37941         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37942         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37943         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37944         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37945         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37946         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37947         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37948         * sysdeps/s390/s390-32/memset.S: New asm code.
37949         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37950
37951 2012-07-17  Marek Polacek  <polacek@redhat.com>
37952
37953         [BZ #14349]
37954         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37955         * sysdeps/s390/s390-64/configure.in: Likewise.
37956         * sysdeps/sparc/configure.in: Likewise.
37957         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37958         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37959         * sysdeps/i386/configure.in: Likewise.
37960         * sysdeps/x86_64/configure.in: Likewise.
37961         * sysdeps/sh/configure.in: Likewise.
37962         * sysdeps/s390/s390-32/configure: Regenerated.
37963         * sysdeps/s390/s390-64/configure: Likewise.
37964         * sysdeps/x86_64/configure: Likewise.
37965         * sysdeps/sh/configure: Likewise.
37966         * sysdeps/powerpc/powerpc64/configure: Likewise.
37967         * sysdeps/powerpc/powerpc32/configure: Likewise.
37968         * sysdeps/sparc/configure: Likwise.
37969         * sysdeps/i386/configure: Likewise.
37970
37971         * elf/dl-open.c: Comment fixes.
37972
37973 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37974
37975         * Makefile [CXX] (check-data): Remove.
37976         [CXX] (c++-types.data): New vpath directive.
37977         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37978         vpath.  Do not allow for C++ type data being missing.
37979         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37980         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37981         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37982         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37983         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37984         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37985         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37987         ... here.
37988         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37990         ... here.
37991         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37993         ... here.
37994         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37996         ... here.
37997         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37999         ... here.
38000         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38002         ... here.
38003         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38005         ... here.
38006         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38008
38009         * elf/tls-macros.h (TLS_LE): Move architecture-specific
38010         definitions to architecture-specific files.
38011         (TLS_IE): Likewise.
38012         (TLS_LD): Likewise.
38013         (TLS_GD): Likewise.
38014         * sysdeps/i386/tls-macros.h: New file.
38015         * sysdeps/powerpc/tls-macros.h: Likewise.
38016         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38017         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38018         * sysdeps/sh/tls-macros.h: Likewise.
38019         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38020         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38021         * sysdeps/x86_64/tls-macros.h: Likewise.
38022
38023 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38024
38025         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38026         zero value for regular exit case.
38027
38028         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38029         (__start_context): Preserve zero value for regular exit case.
38030
38031 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38032             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38033
38034         * manual/setjmp.texi (setcontext): Clarify normal process
38035         termination when uc_link is the null pointer.
38036         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38037         exit call.
38038
38039 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38040
38041         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38042         preprocessor.  Test for each exception mask separately.
38043
38044 2012-07-16  Andreas Jaeger  <aj@suse.de>
38045
38046         * po/ru.po: Update from translation team.
38047
38048 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38049
38050         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38051         equal to 0.
38052         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38053         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38054         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38055         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38057
38058 2012-07-13  Andreas Jaeger  <aj@suse.de>
38059
38060         * po/fr.po: Update from translation team.
38061
38062 2012-07-12  Marek Polacek  <polacek@redhat.com>
38063
38064         [BZ #14173]
38065         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38066         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38067         loop condition.
38068
38069 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38070
38071         [BZ #13717]
38072         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38073         Change to 2.4.1 where previously 2.4.0.
38074         * sysdeps/unix/sysv/linux/configure: Regenerated.
38075         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38076         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38077         version.
38078         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38079         (__ASSUME_AT_CLKTCK): Remove.
38080         (__ASSUME_AT_PAGESIZE): Likewise.
38081         (__ASSUME_AT_XID): Likewise.
38082         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38083         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38084         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38085         unconditionally.
38086         (HAVE_AUX_PAGESIZE): Likewise.
38087         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38088         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38089         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38090
38091 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38092
38093         [BZ #14307]
38094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38095         the temporary buffer used to invoke __gethostbyname2_r,
38096         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38097         host_data / struct gaih_addrtuple.
38098         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38099         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38100         header file nss/nsswitch.h.
38101         * nss/nsswitch.h (global scope): Add definition of implementation
38102         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38103         resolv/nss_dns/dns-host.c).
38104
38105 2012-07-11  Andreas Jaeger  <aj@suse.de>
38106
38107         * po/fr.po: Update from translation team.
38108
38109         * po/sv.po: Update from translation team
38110         * po/fr.po: Another update from translation team.
38111
38112 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38113
38114         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38115         for subnormals or multiply small sinh result by itself.
38116         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38118
38119 2012-07-11  David S. Miller  <davem@davemloft.net>
38120
38121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38122
38123 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38124
38125         [BZ #14347]
38126         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38127         (INTERNAL_MARK): Shift it here.
38128
38129 2012-07-10  Marek Polacek  <polacek@redhat.com>
38130
38131         [BZ #14151]
38132         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38133         libc_cv_asm_global_directive with .globl.
38134         * configure: Regenerated.
38135         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38136         with .globl.
38137         * sysdeps/i386/configure: Regenerated.
38138         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38139         with .globl.
38140         * sysdeps/x86_64/configure: Regenerated.
38141         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38142         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38143         * elf/tst-unique2mod2.c: Likewise.
38144         * elf/tst-unique2mod1.c: Likewise.
38145         * elf/tst-unique1mod2.c: Likewise.
38146         * elf/tst-unique1mod1.c: Likewise.
38147         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38148         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38149         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38150         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38151         * sysdeps/mach/sysdep.h: Likewise.
38152         * sysdeps/i386/sysdep.h: Likewise.
38153         * sysdeps/i386/i386-mcount.S: Likewise.
38154         * sysdeps/x86_64/_mcount.S: Likewise.
38155         * sysdeps/x86_64/sysdep.h: Likewise.
38156         * sysdeps/sh/_mcount.S: Likewise.
38157         * sysdeps/sh/sysdep.h: Likewise.
38158         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38159         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38160         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38161         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38162         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38163         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38164         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38165         * locale/localeinfo.h: Likewise.
38166         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38167         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38168
38169 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38170
38171         [BZ #14336]
38172         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38173         system".
38174         * manual/message.texi (The Uniforum approach): Likewise.
38175         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38176         (glibc iconv Implementation): Likewise.
38177
38178 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38179
38180         [BZ #14337]
38181         * math/s_clog.c (__clog): Avoid scaling a value down where that
38182         could result in underflow.
38183         * math/s_clog10.c (__clog10): Likewise.
38184         * math/s_clog10f.c (__clog10f): Likewise.
38185         * math/s_clog10l.c (__clog10l): Likewise.
38186         * math/s_clogf.c (__clogf): Likewise.
38187         * math/s_clogl.c (__clogl): Likewise.
38188         * math/libm-test.inc (clog_test): Add more tests.
38189         (clog10_test): Likewise.
38190         * sysdeps/i386/fpu/libm-test-ulps: Update.
38191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38192
38193 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38194
38195         [BZ #14283]
38196         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38197         by 7 not 8 to examine high bit of fractional part.
38198
38199         [BZ #14042]
38200         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38201         for call to __mcount_internal.
38202         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38203         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38204         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38205
38206 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38207
38208         [BZ #14154]
38209         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38210         approximation for values within 0x1p-13f of an odd multiple of
38211         pi/4.
38212         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38213         exception.  Add more tests.
38214         * sysdeps/i386/fpu/libm-test-ulps: Update.
38215
38216         [BZ #6778]
38217         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38218         inputs and return -1 for them.  Do not check for +Inf in case not
38219         reachable for +Inf.
38220         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38221         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38222         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38223         and return -1 for them.  Do not check for +Inf in case not
38224         reachable for +Inf.
38225         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38226         define.
38227         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38228         and return -1 for them.  Do not check for +Inf in case not
38229         reachable for +Inf.
38230         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38231         spurious underflow.
38232         * sysdeps/i386/fpu/libm-test-ulps: Update.
38233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38234
38235 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38236
38237         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38238
38239 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38240
38241         [BZ #14157]
38242         [BZ #14331]
38243         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38244         could result in spurious underflow.  Scale down values above
38245         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38246         * math/s_csqrtf.c (__csqrtf): Likewise.
38247         * math/s_csqrtl.c (__csqrtl): Likewise.
38248         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38249         spurious underflow.
38250         * sysdeps/i386/fpu/libm-test-ulps: Update.
38251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38252
38253 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38254
38255         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38256         xopen-msg.sed.
38257         * catgets/xopen-msg.awk: New file.
38258         * catgets/xopen-msg.sed: Removed.
38259
38260         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38261         po2text.sed.
38262         * intl/po2test.awk: New file.
38263         * intl/po2test.sed: Removed.
38264
38265 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38266
38267         [BZ #14328]
38268         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38269         or multiply small sinh result by itself.
38270         * math/s_ctanf.c (__ctanf): Likewise.
38271         * math/s_ctanh.c (__ctanh): Likewise.
38272         * math/s_ctanhf.c (__ctanhf): Likewise.
38273         * math/s_ctanhl.c (__ctanhl): Likewise.
38274         * math/s_ctanl.c (__ctanl): Likewise.
38275         * math/libm-test.inc (ctan_test_tonearest): New function.
38276         (ctan_test_towardzero): Likewise.
38277         (ctan_test_downward): Likewise.
38278         (ctan_test_upward): Likewise.
38279         (ctanh_test_tonearest): Likewise.
38280         (ctanh_test_towardzero): Likewise.
38281         (ctanh_test_downward): Likewise.
38282         (ctanh_test_upward): Likewise.
38283         (main): Call these new functions.
38284         * sysdeps/i386/fpu/libm-test-ulps: Update.
38285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38286
38287 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38288
38289         * .gitignore: Delete /ports entry.
38290
38291 2012-07-03  Andreas Jaeger  <aj@suse.de>
38292
38293         * po/bg.po: Update from translation team.
38294         * po/cs.po: Likewise.
38295         * po/de.po: Likewise.
38296         * po/hr.po: Likewise.
38297         * po/nl.pl: Likewise.
38298         * po/pl.po: Likewise.
38299         * po/vi.po: Likewise.
38300
38301 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38302
38303         * Makeconfig [!+link] (+link-before-libc): New variable.
38304         [!+link] (+link-after-libc): Likewise.
38305         [!+link] (+link-tests): Likewise.
38306         [!+link] (+link): Define in terms of $(+link-before-libc) and
38307         $(+link-after-libc).
38308         [!+link-static] (+link-static-before-libc): New variable.
38309         [!+link-static] (+link-static-after-libc): Likewise.
38310         [!+link-static] (+link-static-tests): Likewise.
38311         [!+link-static] (+link-static): Define in terms of
38312         $(+link-static-before-libc) and $(+link-static-after-libc).
38313         [build-shared] (link-libc-before-gnulib): New variable.
38314         [build-shared] (link-libc-tests): Likewise.
38315         [build-shared] (link-libc): Define in terms of
38316         $(link-libc-before-gnulib).
38317         [!build-shared] (link-libc-tests): New variable.
38318         (link-libc-static-tests): New variable.
38319         [!gnulib] (gnulib-arch): New variable.
38320         [!gnulib] (gnulib-tests): Likewise.
38321         [!gnulib] (static-gnulib-arch): Likewise.
38322         [!gnulib] (static-gnulib-tests): Likewise.
38323         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38324         Define with "=" instead of ":=".
38325         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38326         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38327         * Rules (binaries-all-notests): New variable.
38328         (binaries-all-tests): Likewise.
38329         (binaries-static-notests): Likewise.
38330         (binaries-static-tests): Likewise.
38331         (binaries-all): Define using $(binaries-all-notests) and
38332         $(binaries-all-tests).
38333         (binaries-static): Define using $(binaries-static-notests) and
38334         $(binaries-static-tests).
38335         (binaries-shared-tests): New variable.
38336         (binaries-shared-notests): Likewise.
38337         (binaries-shared): Remove variable.
38338         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38339         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38340         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38341         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38342         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38343         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38344         * elf/Makefile (sln-modules): New variable.
38345         (extra-objs): Add $(sln-modules:=.o).
38346         (ldconfig-modules): Add static-stubs.
38347         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38348         * elf/static-stubs.c: New file.
38349
38350         [BZ #14283]
38351         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38352         by 7 not 8 to examine high bit of fractional part.  Use volatile
38353         variables when splitting into final array of floats if
38354         __FLT_EVAL_METHOD__ != 0.
38355         * math/libm-test.inc (cos_test): Add another test.
38356         (sin_test): Likewise.
38357         * sysdeps/i386/fpu/libm-test-ulps: Update.
38358
38359         [BZ #14273]
38360         * math/libm-test.inc (cosh_test): Add more tests.
38361
38362         * version.h (RELEASE): Set to "development".
38363         (VERSION): Set to "2.16.90".
38364
38365 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38366
38367         * NEWS: Update copyright. Remove last-updated date.
38368         Mention math library bug fixes and timezone data changes.
38369         * README: Mention GNU/Hurd, x32, and HPPA support status.
38370
38371 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38372
38373         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38374
38375 2012-06-27  Andreas Jaeger  <aj@suse.de>
38376
38377         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38378
38379 2012-06-25  Andreas Jaeger  <aj@suse.de>
38380
38381         * sysdeps/s390/fpu/libm-test-ulps: Update.
38382
38383 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38384             Thomas Schwinge  <thomas@codesourcery.com>
38385
38386         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38387         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38388         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38389         fanotify_mark.
38390
38391 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38392
38393         * sysdeps/mach/start.c: Remove file.
38394         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38395         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38396         * sysdeps/sh/init-first.c: Likewise.
38397
38398         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38399         registers for frame unwinding purposes, add CFI directives.
38400         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38401         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38402         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38403         Likewise.
38404
38405         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38406         __fortify_fail returning.
38407         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38408
38409         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38410         sysdeps/sh/____longjmp_chk.S.
38411         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38412         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38413         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38414         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38415
38416         * sysdeps/sh/abort-instr.h: New file.
38417         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38418         process in case exit returns.
38419
38420         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38421         initialize the GOT register before use.
38422
38423         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38424         calculation of ARGC > 4.
38425
38426         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38427         meaningful names to some local labels.
38428
38429 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38430             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38431
38432         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38433         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38434         (__arch_compare_and_exchange_val_16_acq): Likewise.
38435         (__arch_compare_and_exchange_val_32_acq): Likewise.
38436         (atomic_exchange_and_add): Fix gUSA sequence.
38437         (atomic_add): Likewise.
38438         (atomic_add_negative): Likewise.
38439         (atomic_add_zero): Likewise.
38440         (atomic_bit_test_set): Likewise.
38441
38442 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38443
38444         [BZ #13579]
38445         * include/link.h (struct link_map): Add l_free_initfini.
38446         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38447         l_initfini.
38448         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38449         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38450         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38451         set.
38452
38453 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38454
38455         * configure.in: Use AC_LANG_SOURCE.
38456         * configure: Regenerate.
38457
38458 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38459
38460         * configure.in (libc_cv_localstatedir): New substituted variable.
38461         * configure: Regenerated.
38462         * config.make.in (localstatedir): New variable, substituted from
38463         libc_cv_localstatedir.
38464         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38465         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38466         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38467         * sysdeps/gnu/configure: Regenerated.
38468
38469 2012-06-21  Jeff Law  <law@redhat.com>
38470
38471         [BZ #14277]
38472         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38473         free.  Simplify list management for _LIBC case.
38474
38475 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38476
38477         [BZ #14273]
38478         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38479         Clear sign bit of 64-bit integer value before comparing against
38480         overflow value.
38481
38482         * sysdeps/mach/configure: Regenerated.
38483
38484 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38485
38486         [BZ #14278]
38487         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38488
38489 2012-06-21  Jeff Law  <law@redhat.com>
38490
38491         [BZ #13882]
38492         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38493         uint16_t for elements in the "seen" array to avoid char overflows.
38494         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38495         * elf/dl-open.c (dl_open_worker): Likewise.
38496
38497 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38498
38499         * scripts/list-sources.sh: Scan PORTS for translations.
38500         * po/libc.pot: Regenerated.
38501
38502 2012-06-21  Andreas Jaeger  <aj@suse.de>
38503
38504         [BZ #12194]
38505         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38506         warning.
38507         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38508         * bits/byteswap-16.h (__bswap_16): Likewise.
38509         * bits/byteswap.h (__bswap_constant_16): Likewise.
38510
38511 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38512
38513         [BZ #14117]
38514         * sysdeps/i386/fpu_control.h: Removed.
38515         * sysdeps/x86_64/fpu_control.h: Moved to ...
38516         * sysdeps/x86/fpu_control.h: Here.
38517
38518         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38519         (_FPU_SETCW): Likewise.
38520
38521 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38522
38523         [BZ #14117]
38524         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38525         * sysdeps/x86/fpu/bits/mathinline.h: This.
38526         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38527
38528         [BZ #14050]
38529         [BZ #14117]
38530         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38531         functions if __x86_64__ is defined.
38532
38533 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38534
38535         * string/endian.h: Add !__ASSEMBLER__ condition for including
38536         conversion interfaces.
38537
38538 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38539
38540         [BZ #14241]
38541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38542         of ABS(x) in calculating zero to negative powers other than odd
38543         integers.
38544         * math/libm-test.inc (pow_test): Add more tests.
38545
38546 2012-06-15  Andreas Jaeger  <aj@suse.de>
38547
38548         * manual/contrib.texi (Contributors): Update entry of Liubov
38549         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38550         Machado Filho.
38551
38552 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38553
38554         * string/string.h: Add __wur to GNU version of strerror_r.
38555
38556 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38557
38558         [BZ #14229]
38559         * string/Makefile (tests): Add tst-strtok_r.
38560         * string/tst-strtok_r.c: New file.
38561         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38562         RAX_LP/RDX_LP on SAVE_PTR.
38563
38564 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38565
38566         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38567
38568 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38569
38570         * libm_test.inc (csqrt_test): Allow more spurious underflow
38571         exceptions.
38572         (j0_test): Likewise.
38573         (j1_test): Likewise.
38574         (y0_test): Likewise.
38575         (y1_test): Likewise.
38576
38577 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38578
38579         * po/Makefile (libc.pot): Use UTF-8 charset.
38580
38581 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38582
38583         [BZ #14210]
38584         Suppress sign-conversion warning from FD_SET.
38585         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38586         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38587         not unsigned long int.
38588         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38589
38590 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38591
38592         [BZ #14050]
38593         [BZ #14117]
38594         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38595         __extern_always_inline instead of __extern_inline.
38596         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38597         (__signbit): Likewise.
38598         (__signbitl): Support C++ namespace.
38599         (lrintf): New inline function.
38600         (lrint): Likewise.
38601         (llrintf): Likewise.
38602         (llrint): Likewise.
38603         (fmaxf): Likewise.
38604         (fmax): Likewise.
38605         (fminf): Likewise.
38606         (fmin): Likewise.
38607         (rint): Likewise.
38608         (rintf): Likewise.
38609         (ceil): Likewise.
38610         (ceilf): Likewise.
38611         (floor): Likewise.
38612         (floorf): Likewise.
38613         (nearbyint): Likewise.
38614         (nearbyintf): Likewise.
38615
38616 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38617
38618         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38619         non-default versions.
38620
38621 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38622
38623         [BZ #14218]
38624         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38625
38626 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38627
38628         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38629         (FE_UPWARD, FE_DOWNWARD): Don't define.
38630         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38631         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38632
38633         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38634         reading it.
38635         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38636         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38637
38638 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38639
38640         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38642         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38643         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38644
38645 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38646
38647         [BZ #14117]
38648         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38649         * sysdeps/i386/fpu/Implies: New file.
38650         * sysdeps/x86_64/fpu/Implies: Likewise.
38651         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38652         * sysdeps/x86/fpu/bits/fenv.h: This.
38653
38654         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38655         __SSE_MATH__.
38656
38657 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38658
38659         [BZ #14134]
38660         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38661         character 0xffff that matches the last element of the
38662         conversion table.
38663
38664 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38665
38666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38667         fmodl commit.
38668
38669 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38670
38671         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38672         values higher than 25.6283.
38673
38674 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38675
38676         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38677         subnormal exponent extraction and add some __builtin_expect.
38678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38679         Fix for subnormal mantissa calculation.
38680
38681 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38682
38683         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38684         cpu2 is -1 and errno is not ENOSYS.
38685
38686 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38687
38688         [BZ #14117]
38689         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38690         * sysdeps/x86/bits/string.h: This.
38691         * sysdeps/x86_64/bits/string.h: Removed.
38692
38693         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38694         if not compiling for x86-64, but compiling for >= i486.
38695
38696         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38697         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38698
38699         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38700         New macro from Linux kernel 3.4.0.
38701         (FP_XSTATE_MAGIC2): Likewise.
38702         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38703         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38704         (struct _fpx_sw_bytes): New struct.
38705         (struct _xsave_hdr): Likewise.
38706         (struct _ymmh_state): Likewise.
38707         (struct _xstate): Likewise.
38708
38709         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38710         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38711         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38712         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38713         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38714         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38715
38716         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38717         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38718         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38719         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38720         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38721         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38722
38723 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38724
38725         [BZ #13743]
38726         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38727         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38728         (sysdep_headers): Include sys/platform/ppc.h.
38729         * sysdeps/powerpc/test-gettimebase.c: Test for
38730         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38731         * manual/Makefile (appendices): Include platform.texi.
38732         * manual/contrib.texi (Contributors): Update @node pointers.
38733         * manual/maint.texi (Maintenance): Likewise.
38734         (Platform): New node.
38735         * manual/platform.texi: New file.  Document the new features.
38736
38737 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38738             Jakub Jelinek  <jakub@redhat.com>
38739
38740         [BZ #14188]
38741         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38742         where __builtin_expect is unavailable.
38743
38744 2012-06-03  David S. Miller  <davem@davemloft.net>
38745
38746         * stdlib/longlong.h: Updated from GCC.
38747
38748 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38749
38750         [BZ #14042]
38751         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38752         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38753         __mcount_internal.
38754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38755         (GLIBC_2.16): Likewise.
38756
38757 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38758
38759         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38760
38761 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38762
38763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38764         (default-abi): New variable.
38765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38766         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38767         variable.
38768         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38769         Likewise.
38770         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38771         Likewise.
38772         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38773         Likewise.
38774
38775         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38776         definition.  Document in comment.
38777
38778 2012-06-01  David S. Miller  <davem@davemloft.net>
38779
38780         * stdlib/longlong.h: Updated from GCC.
38781
38782 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38783
38784         [BZ #14117]
38785         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38786         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38787         sys/debugreg.h sys/io.h here.
38788         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38789         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38790         sys/io.h.
38791         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38792         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38793         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38794         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38795         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38796         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38797
38798         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38799         Define only if __x86_64__ is defined.
38800
38801 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38802
38803         [BZ #14048]
38804         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38805         Use int64_t for variable i.
38806         * math/libm-test.inc (fmod_test): Add more tests.
38807
38808         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38809         z computation is not scheduled after fetestexcept.
38810         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38811         Use math_force_eval instead of asm to ensure calculation scheduled
38812         before exception test.
38813         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38814         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38815
38816 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38817
38818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38819         computation is not scheduled after fetestexcept.
38820
38821 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38822
38823         [BZ #14117]
38824         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38825         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38826
38827 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38828
38829         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38830         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38831
38832 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38833
38834         [BZ #14117]
38835         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38836         <bits/wordsize.h>.
38837         (__WCHAR_MIN): Support __WORDSIZE == 64.
38838         (__WCHAR_MAX): Likewise.
38839
38840         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38841         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38842
38843         [BZ #14183]
38844         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38845         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38846
38847         [BZ #14117]
38848         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38849         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38850
38851         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38852         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38853
38854         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38855         Defined to 1 if __x86_64__ isn't defined.
38856         (_STAT_VER_LINUX_OLD): New.
38857         (st_atime): Remove duplicate.
38858         (st_mtime): Likewise.
38859         (st_ctime): Likewise.
38860
38861 2012-05-31  David S. Miller  <davem@davemloft.net>
38862
38863         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38864         entries.
38865
38866 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38867
38868         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38869         gen-libm-test.pl.
38870
38871         [BZ #14132]
38872         * elf/dl-reloc.c: Include <_itoa.h>.
38873         (_dl_reloc_bad_type): Remove use of INTUSE.
38874         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38875         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38876         * stdio-common/psiginfo.c (psiginfo): Likewise.
38877         * stdio-common/psignal.c (psignal): Likewise.
38878         * string/strsignal.c (strsignal): Likewise.
38879         * include/signal.h (_sys_siglist): Declare hidden proto.
38880         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38881         INTVARDEF with libc_hidden_data_def.
38882         * stdio-common/itoa-udigits.c: Likewise.
38883         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38884         (_itoa_lower_digits_internal): Remove declaration.
38885         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38886         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38887         (_sys_sigabbrev_internal): Remove aliases.
38888         (_sys_siglist): Define hidden alias.
38889
38890 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38891
38892         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38893         bits/sysctl.h.
38894
38895 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38896
38897         [BZ #14117]
38898         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38899         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38900
38901         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38902         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38903         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38904         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38905         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38906         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38907
38908         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38909         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38910         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38911
38912         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38913         with __addr.
38914         (insw): Likewise.
38915         (insl): Likewise.
38916         (outsb): Likewise.
38917         (outsw): Likewise.
38918         (outsl): Likewise.
38919
38920         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38921         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38922         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38923
38924         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38925         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38926         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38927         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38928         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38929         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38930
38931         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38932         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38933
38934         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38935         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38936
38937         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38939         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38940
38941         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38942         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38943         to ...
38944         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38945
38946         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38947         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38948         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38949
38950         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38951         for x86-64.
38952         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38953
38954 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38955
38956         * math/math.h (M_El): Use two more decimal places.
38957         (M_LOG2El): Likewise.
38958         (M_LOG10El): Likewise.
38959         (M_LN2l): Likewise.
38960         (M_LN10l): Likewise.
38961         (M_PIl): Likewise.
38962         (M_PI_2l): Likewise.
38963         (M_PI_4l): Likewise.
38964         (M_1_PIl): Likewise.
38965         (M_2_PIl): Likewise.
38966         (M_2_SQRTPIl): Likewise.
38967         (M_SQRT2l): Likewise.
38968         (M_SQRT1_2l): Likewise.
38969
38970 2012-05-31  David S. Miller  <davem@davemloft.net>
38971
38972         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38973         values between float registers.
38974         * sysdeps/sparc/sparc64/memset.S: Likewise.
38975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38976
38977 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38978
38979         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38980         -D_FORTIFY_SOURCE=1.
38981         (CPPFLAGS-tst-longjmp_chk.c): Define.
38982         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38983         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38984         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38985         CFLAGS-tst-wchar-h.c.
38986
38987 2012-05-31  Marek Polacek  <polacek@redhat.com>
38988
38989         [BZ #14132]
38990         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38991         __endmntent_internal): Remove declaration.
38992         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38993         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38994         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38995
38996 2012-05-30  David S. Miller  <davem@davemloft.net>
38997
38998         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38999         (___Q_simulate_exceptions): Use real FP ops rather than writing
39000         into the %fsr.
39001         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39002         Likewise.
39003
39004 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39005
39006         [BZ #14117]
39007         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39008         * sysdeps/x86/bits/xtitypes.h: This.
39009
39010         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39011         * sysdeps/x86/bits/wordsize.h: This.
39012
39013         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39014         * sysdeps/x86/bits/huge_vall.h: This.
39015
39016         * sysdeps/i386/bits/select.h: Removed.
39017         * sysdeps/x86_64/bits/select.h: Renamed to ...
39018         * sysdeps/x86/bits/select.h: This.
39019
39020         * sysdeps/i386/bits/setjmp.h: Removed.
39021         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39022         * sysdeps/x86/bits/setjmp.h: This.
39023
39024         * sysdeps/i386/bits/mathdef.h: Removed.
39025         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39026         * sysdeps/x86/bits/mathdef.h: This.
39027
39028 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39029
39030         [BZ #14132]
39031         * include/sys/socket.h (__connect_internal)
39032         (__libc_sa_len_internal): Remove declaration.
39033         (__connect, __libc_sa_len): Declare hidden_proto.
39034         (SA_LEN): Remove use of INTUSE.
39035         * socket/connect.c: Add libc_hidden_def.
39036         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39037         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39038         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39039         alias.
39040         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39041         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39042         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39043         of adding _internal alias.
39044
39045 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39046
39047         [BZ #14117]
39048         * sysdeps/i386/bits/link.h: Removed.
39049         * sysdeps/i386/bits/linkmap.h: Likewise.
39050         * sysdeps/x86_64/bits/link.h: Renamed to ...
39051         * sysdeps/x86/bits/link.h: This.
39052         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39053         * sysdeps/x86/bits/linkmap.h: This.
39054
39055         * sysdeps/i386/bits/endian.h: Removed.
39056         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39057         * sysdeps/x86/bits/endian.h: This.
39058
39059         * sysdeps/i386/bits/byteswap.h: Removed.
39060         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39061         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39062         * sysdeps/x86/bits/byteswap.h: This.
39063         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39064         * sysdeps/x86/bits/byteswap-16.h: This.
39065         * sysdeps/i386/Implies: Add x86.
39066         * sysdeps/x86_64/Implies: Likewise.
39067
39068 2012-05-30  David S. Miller  <davem@davemloft.net>
39069
39070         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39071         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39072         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39073         (FP_TRAPPING_EXCEPTIONS): Define.
39074         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39075         (FP_TRAPPING_EXCEPTIONS): Define.
39076         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39077         subnormals only when inexact has been signalled or underflow
39078         exceptions are enabled.
39079         (_FP_PACK_CANONICAL): Likewise.
39080
39081 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39082
39083         [BZ #14183]
39084         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39085         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39086
39087 2012-05-30  Richard Henderson  <rth@twiddle.net>
39088
39089         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39090         with #ifndef NOT_IN_libc.
39091
39092         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39093         marked to avoid plt entry.
39094
39095 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39096
39097         [BZ #14112]
39098         * Makeconfig (default-abi): New macro.
39099         (abi-includes): Likewise.
39100         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39101         $(abi-$(default-abi)-lib-soname) for soname if defined.
39102         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39103         abi-variants.
39104         * Makefile (installed-stubs): Likewise.
39105         * include/stubs-biarch.h: Removed.
39106         * scripts/lib-names.awk: Only handle one library at a time.
39107         * scripts/soversions.awk: Remove WORDSIZE support.
39108         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39109         entries.
39110         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39111         Removed.
39112         (syscall-list-default-condition): Likewise.
39113         (syscall-list-default-condition): Likewise.
39114         (syscall-list-includes): Likewise.
39115         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39116         syscall-list-* with abi-*.  Handle undefined abi-variants.
39117         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39118         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39119         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39120         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39121         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39122         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39123         Removed.
39124         (syscall-list-32-options): Likewise.
39125         (syscall-list-32-condition): Likewise.
39126         (syscall-list-64-options): Likewise.
39127         (syscall-list-64-condition): Likewise.
39128         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39129         macro.
39130         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39131         Renamed to ...
39132         (abi-*): This.
39133         (abi-64-ld-soname): New macro.
39134         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39135         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39136         Renamed to ...
39137         (abi-*): This.
39138         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39139         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39140
39141 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39142
39143         * sysdeps/unix/sysv/linux/kernel-features.h
39144         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39145         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39146         include <kernel-features.h>.
39147         [!__NR_ftruncate64]: Remove conditional code.
39148         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39149         [__NR_ftruncate64]: Make code unconditional.
39150         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39151         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39152         include <kernel-features.h>.
39153         [!__NR_ftruncate64]: Remove conditional code.
39154         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39155         [__NR_ftruncate64]: Make code unconditional.
39156         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39158         include <kernel-features.h>.
39159         [!__NR_ftruncate64]: Remove conditional code.
39160         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39161         [__NR_ftruncate64]: Make code unconditional.
39162         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39164         include <kernel-features.h>.
39165         [!__NR_ftruncate64]: Remove conditional code.
39166         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39167         [__NR_ftruncate64]: Make code unconditional.
39168         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39169
39170         * configure.in (libc_cv_fpie): Weaken to a compile test using
39171         LIBC_TRY_CC_OPTION.
39172         * configure: Regenerated.
39173
39174 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39175
39176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39180         Refreshed.
39181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39187         Refreshed.
39188
39189 2012-05-27  David S. Miller  <davem@davemloft.net>
39190
39191         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39192         (___Q_zero): New.
39193         (__Q_simulate_exceptions): Return void.  Change to simulate
39194         exceptions by writing into the %fsr.
39195         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39196         (__Qp_handle_exceptions): Likewise.
39197         (numbers): Delete.
39198         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39199         __Qp_handle_exceptions.
39200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39201         __Qp_handle_exceptions.
39202         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39203         as unused and give dummy FP_RND_NEAREST initializer.
39204         (FP_INHIBIT_RESULTS): Define.
39205         (___Q_simulate_exceptions): Update declaration.
39206         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39207         formatting.
39208         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39209         as unused and give dummy FP_RND_NEAREST initializer.
39210         (__Qp_handle_exceptions): Update declaration.
39211         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39212         formatting.
39213
39214 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39215
39216         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39217         the temporary FPU control word.
39218         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39219         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39220         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39221         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39222         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39223         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39224         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39225         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39226         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39227         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39228         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39229
39230 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39231
39232         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39233         fields.
39234
39235 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39236
39237         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39238         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39239         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39240         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39241         Likewise.
39242         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39243         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39244         Likewise.
39245
39246 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39247
39248         * po/h.po: Update from translation team.
39249
39250 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39251
39252         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39253
39254         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39255         handling of denormals.
39256         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39257         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39258         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39259         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39260         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39263         Likewise.
39264
39265 2012-05-26  Marek Polacek  <polacek@redhat.com>
39266
39267         [BZ #14152]
39268         * math/libm-test.inc (fma_test): Don't always expect underflow
39269         exception.
39270
39271 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39272
39273         [BZ #12416]
39274         * elf/tst-execstack.c: Include stackinfo.h.
39275         (do_test): Adjust test case to ensure that pthread_getattr_np
39276         behaviour remains the same after marking stack executable.
39277
39278 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39279
39280         * sysdeps/unix/sysv/linux/kernel-features.h
39281         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39282         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39283         kernel-features.h.
39284         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39285         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39286         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39287         kernel-features.h.
39288         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39289         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39290
39291 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39292
39293         * configure.in: Define the default includes to being none.
39294         * configure: Regenerated.
39295
39296 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39297
39298         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39299         * sysdeps/x86_64/setjmp.S: Likewise.
39300         * sysdeps/i386/bsd-setjmp.S: Likewise.
39301         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39302         * sysdeps/i386/setjmp.S: Likewise.
39303         * sysdeps/i386/__longjmp.S: Likewise.
39304         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39305         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39306
39307         * include/stap-probe.h: New file.
39308         * configure.in: Handle --enable-systemtap.
39309         * configure: Regenerated.
39310         * config.h.in (USE_STAP_PROBE): New #undef.
39311         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39312         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39313         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39314
39315 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39316
39317         [BZ #13717]
39318         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39319         to 2.4.0 where earlier.
39320         * sysdeps/unix/sysv/linux/configure: Regenerated.
39321         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39322         <kernel-features.h>.
39323         [__ASSUME_32BITUIDS]: Make code unconditional.
39324         [!__ASSUME_32BITUIDS]: Remove conditional code.
39325         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39326         <kernel-features.h>.
39327         [__ASSUME_32BITUIDS]: Make code unconditional.
39328         [!__ASSUME_32BITUIDS]: Remove conditional code.
39329         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39330         [__ASSUME_32BITUIDS]: Make code unconditional.
39331         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39332         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39333         <kernel-features.h>.
39334         [__ASSUME_32BITUIDS]: Make code unconditional.
39335         [!__ASSUME_32BITUIDS]: Remove conditional code.
39336         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39337         <kernel-features.h>.
39338         [__ASSUME_32BITUIDS]: Make code unconditional.
39339         [!__ASSUME_32BITUIDS]: Remove conditional code.
39340         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39341         <kernel-features.h>.
39342         [__ASSUME_32BITUIDS]: Make code unconditional.
39343         [!__ASSUME_32BITUIDS]: Remove conditional code.
39344         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39345         <kernel-features.h>.
39346         [__ASSUME_32BITUIDS]: Make code unconditional.
39347         [!__ASSUME_32BITUIDS]: Remove conditional code.
39348         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39349         <kernel-features.h>.
39350         [__ASSUME_32BITUIDS]: Make code unconditional.
39351         [!__ASSUME_32BITUIDS]: Remove conditional code.
39352         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39353         <kernel-features.h>.
39354         [__ASSUME_32BITUIDS]: Make code unconditional.
39355         [!__ASSUME_32BITUIDS]: Remove conditional code.
39356         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39357         <kernel-features.h>.
39358         [__ASSUME_32BITUIDS]: Make code unconditional.
39359         [!__ASSUME_32BITUIDS]: Remove conditional code.
39360         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39361         <kernel-features.h>.
39362         [__ASSUME_32BITUIDS]: Make code unconditional.
39363         [!__ASSUME_32BITUIDS]: Remove conditional code.
39364         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39365         <kernel-features.h>.
39366         [__ASSUME_32BITUIDS]: Make code unconditional.
39367         [!__ASSUME_32BITUIDS]: Remove conditional code.
39368         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39369         <kernel-features.h>.
39370         [__ASSUME_32BITUIDS]: Make code unconditional.
39371         [!__ASSUME_32BITUIDS]: Remove conditional code.
39372         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39373         <kernel-features.h>.
39374         [__NR_setresgid] (__setresgid): Do not declare.
39375         [__ASSUME_32BITUIDS]: Make code unconditional.
39376         [!__ASSUME_32BITUIDS]: Remove conditional code.
39377         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39378         <kernel-features.h>.
39379         [__NR_setresuid] (__setresuid): Do not declare.
39380         [__ASSUME_32BITUIDS]: Make code unconditional.
39381         [!__ASSUME_32BITUIDS]: Remove conditional code.
39382         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39383         <kernel-features.h>.
39384         [__ASSUME_32BITUIDS]: Make code unconditional.
39385         [!__ASSUME_32BITUIDS]: Remove conditional code.
39386         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39387         <kernel-features.h>.
39388         [__ASSUME_32BITUIDS]: Make code unconditional.
39389         [!__ASSUME_32BITUIDS]: Remove conditional code.
39390         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39391         <kernel-features.h>.
39392         [__ASSUME_32BITUIDS]: Make code unconditional.
39393         [!__ASSUME_32BITUIDS]: Remove conditional code.
39394         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39395         <kernel-features.h>.
39396         [__ASSUME_32BITUIDS]: Make code unconditional.
39397         [!__ASSUME_32BITUIDS]: Remove conditional code.
39398         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39399         <kernel-features.h>.
39400         [__ASSUME_32BITUIDS]: Make code unconditional.
39401         [!__ASSUME_32BITUIDS]: Remove conditional code.
39402         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39403         <kernel-features.h>.
39404         [__ASSUME_32BITUIDS]: Make code unconditional.
39405         [!__ASSUME_32BITUIDS]: Remove conditional code.
39406         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39407         <kernel-features.h>.
39408         [__ASSUME_32BITUIDS]: Make code unconditional.
39409         [!__ASSUME_32BITUIDS]: Remove conditional code.
39410         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39411         <kernel-features.h>.
39412         [__ASSUME_32BITUIDS]: Make code unconditional.
39413         [!__ASSUME_32BITUIDS]: Remove conditional code.
39414         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39415         <kernel-features.h>.
39416         [__ASSUME_32BITUIDS]: Make code unconditional.
39417         [!__ASSUME_32BITUIDS]: Remove conditional code.
39418         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39419         <kernel-features.h>.
39420         [__ASSUME_32BITUIDS]: Make code unconditional.
39421         [!__ASSUME_32BITUIDS]: Remove conditional code.
39422         * sysdeps/unix/sysv/linux/kernel-features.h
39423         (__ASSUME_SETRESUID_SYSCALL): Remove.
39424         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39425         (__ASSUME_32BITUIDS): Likewise.
39426         (__ASSUME_LDT_WORKS): Likewise.
39427         (__ASSUME_O_DIRECTORY): Likewise.
39428         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39429         architecture but not kernel version.
39430         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39431         (__ASSUME_MMAP2_SYSCALL): Likewise.
39432         (__ASSUME_STAT64_SYSCALL): Likewise.
39433         (__ASSUME_IPC64): Likewise.
39434         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39435         <kernel-features.h>.
39436         [__ASSUME_32BITUIDS]: Make code unconditional.
39437         [!__ASSUME_32BITUIDS]: Remove conditional code.
39438         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39439         <kernel-features.h>.
39440         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39441         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39442         132096]: Remove conditional code.
39443         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39444         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39445         <kernel-features.h>.
39446         [__ASSUME_32BITUIDS]: Make code unconditional.
39447         [!__ASSUME_32BITUIDS]: Remove conditional code.
39448         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39449         <kernel-features.h>.
39450         [__ASSUME_32BITUIDS]: Make code unconditional.
39451         [!__ASSUME_32BITUIDS]: Remove conditional code.
39452         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39453         <kernel-features.h>.
39454         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39455         unconditional.
39456         (__setresgid): Do not declare.
39457         [__ASSUME_32BITUIDS]: Make code unconditional.
39458         [!__ASSUME_32BITUIDS]: Remove conditional code.
39459         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39460         <kernel-features.h>.
39461         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39462         unconditional.
39463         (__setresuid): Do not declare.
39464         [__ASSUME_32BITUIDS]: Make code unconditional.
39465         [!__ASSUME_32BITUIDS]: Remove conditional code.
39466         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39467         <kernel-features.h>.
39468         [__ASSUME_32BITUIDS]: Make code unconditional.
39469         [!__ASSUME_32BITUIDS]: Remove conditional code.
39470         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39471         <kernel-features.h>.
39472         [__ASSUME_32BITUIDS]: Make code unconditional.
39473         [!__ASSUME_32BITUIDS]: Remove conditional code.
39474
39475 2012-05-25  Richard Henderson  <rth@twiddle.net>
39476
39477         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39478         dl_hwcap to ifunc resolver.
39479         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39480         elf_ifunc_invoke.
39481         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39482         dl_hwcap to ifunc resolver.
39483         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39484
39485 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39486
39487         [BZ #14153]
39488         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39489         for |x| <= 2**-26, not 2**-57.
39490         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39491         exception.
39492
39493 2012-05-24  Jeff Law  <law@redhat.com>
39494
39495         * stdio-common/Makefile (tests): Add bug25.
39496         * stdio-common/bug25.c: New test.
39497
39498 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39499
39500         [BZ #13576]
39501         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39502         multiple of MALLOC_ALIGNMENT in size.
39503         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39504
39505 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39506
39507         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39508         Require >= 256.
39509         (FILENAME_MAX): Use macro-int-constant.
39510         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39511         (_IOFBF): Use macro-int-constant.
39512         (_IOLBF): Likewise.
39513         (_IONBF): Likewise.
39514         (SEEK_CUR): Likewise.
39515         (SEEK_END): Likewise.
39516         (SEEK_SET): Likewise.
39517         (TMP_MAX): Likewise.
39518         (EOF): Use macro-int-constant.  Require < 0.
39519         (NULL): Use macro-constant.  Require == 0.
39520         (stdin): Require type to be FILE *.
39521         (stdout): Likewise.
39522         (stderr): Likewise.
39523         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39524         macro-int-constant.
39525         (EXIT_SUCCESS): Likewise.
39526         (NULL): Use macro-constant.  Require == 0.
39527         (RAND_MAX): Use macro-int-constant.
39528         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39529         [C99-based standards] (strtof): Require function.
39530         [C99-based standards] (strtold): Likewise.
39531         [C99-based standards] (strtoll): Likewise.
39532         [C99-based standards] (strtoull): Likewise.
39533         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39534         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39535         [ISO || ISO99 || ISO11] (math.h): Likewise.
39536         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39537         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39539
39540 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39541
39542         [BZ #14132]
39543         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39544         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39545         * intl/dgettext.c (DCGETTEXT): Likewise.
39546         * intl/gettext.c (DCGETTEXT): Likewise.
39547         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39548         * posix/regex_internal.h (gettext): Likewise.
39549         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39550         Remove declaration.
39551         * include/argz.h (__argz_count_internal)
39552         (__argz_stringify_internal): Remove declaration.
39553         (__argz_count, __argz_stringify): Declare hidden proto.
39554         * intl/dcgettext.c: Remove use of INTDEF.
39555         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39556         * string/argz-stringify.c: Likewise.
39557         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39558         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39559         Declare hidden proto.
39560         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39561         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39562         Declare hidden proto.
39563         * include/stdio.h (__asprintf_internal): Don't declare.
39564         (__asprintf): Don't define as macro.  Declare hidden proto.
39565         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39566         (__fsetlocking): Declare hidden proto.
39567         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39568         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39569         hidden proto.
39570         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39571         (_IO_setlinebuf): Remove use of INTUSE.
39572         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39573         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39574         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39575         Remove declaration.
39576         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39577         (_IO_do_flush): Remove use of INTUSE.
39578         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39579         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39580         (_IO_adjust_column, _IO_least_wmarker)
39581         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39582         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39583         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39584         (_IO_default_doallocate, _IO_wdefault_doallocate)
39585         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39586         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39587         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39588         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39589         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39590         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39591         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39592         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39593         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39594         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39595         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39596         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39597         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39598         proto.
39599         (_IO_flush_all_internal, _IO_adjust_column_internal)
39600         (_IO_default_uflow_internal, _IO_default_finish_internal)
39601         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39602         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39603         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39604         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39605         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39606         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39607         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39608         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39609         (_IO_file_close_internal, _IO_file_close_it_internal)
39610         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39611         (_IO_file_init_internal, _IO_file_attach_internal)
39612         (_IO_file_fopen_internal, _IO_file_read_internal)
39613         (_IO_file_sync_internal, _IO_file_seek_internal)
39614         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39615         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39616         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39617         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39618         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39619         (_IO_list_all_internal, _IO_link_in_internal)
39620         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39621         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39622         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39623         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39624         (_IO_do_write_internal, _IO_padn_internal)
39625         (_IO_getline_info_internal, _IO_getline_internal)
39626         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39627         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39628         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39629         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39630         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39631         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39632         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39633         with libc_hidden_ver, remove use of INTUSE.
39634         * libio/genops.c: Likewise.
39635         * libio/freopen.c: Likewise.
39636         * libio/freopen64.c: Likewise.
39637         * libio/iofclose.c: Likewise.
39638         * libio/iofdopen.c: Likewise.
39639         * libio/iofflush.c: Likewise.
39640         * libio/iofflush_u.c: Likewise.
39641         * libio/iofgets.c: Likewise.
39642         * libio/iofgets_u.c: Likewise.
39643         * libio/iofopen.c: Likewise.
39644         * libio/iofopncook.c: Likewise.
39645         * libio/iofread.c: Likewise.
39646         * libio/iofread_u.c: Likewise.
39647         * libio/ioftell.c: Likewise.
39648         * libio/iofwrite.c: Likewise.
39649         * libio/iogetline.c: Likewise.
39650         * libio/iogets.c: Likewise.
39651         * libio/iogetwline.c: Likewise.
39652         * libio/iopadn.c: Likewise.
39653         * libio/iopopen.c: Likewise.
39654         * libio/ioseekoff.c: Likewise.
39655         * libio/ioseekpos.c: Likewise.
39656         * libio/iosetbuffer.c: Likewise.
39657         * libio/iosetvbuf.c: Likewise.
39658         * libio/ioungetc.c: Likewise.
39659         * libio/ioungetwc.c: Likewise.
39660         * libio/iovdprintf.c: Likewise.
39661         * libio/iovsprintf.c: Likewise.
39662         * libio/iovsscanf.c: Likewise.
39663         * libio/memstream.c: Likewise.
39664         * libio/obprintf.c: Likewise.
39665         * libio/oldfileops.c: Likewise.
39666         * libio/oldiofclose.c: Likewise.
39667         * libio/oldiofdopen.c: Likewise.
39668         * libio/oldiofopen.c: Likewise.
39669         * libio/oldiopopen.c: Likewise.
39670         * libio/oldstdfiles.c: Likewise.
39671         * libio/putc.c: Likewise.
39672         * libio/setbuf.c: Likewise.
39673         * libio/setlinebuf.c: Likewise.
39674         * libio/stdfiles.c: Likewise.
39675         * libio/strops.c: Likewise.
39676         * libio/vasprintf.c: Likewise.
39677         * libio/vscanf.c: Likewise.
39678         * libio/vsnprintf.c: Likewise.
39679         * libio/vswprintf.c: Likewise.
39680         * libio/wfiledoalloc.c: Likewise.
39681         * libio/wfileops.c: Likewise.
39682         * libio/wgenops.c: Likewise.
39683         * libio/wmemstream.c: Likewise.
39684         * libio/wstrops.c: Likewise.
39685         * libio/__fpurge.c: Likewise.
39686         * libio/__fsetlocking.c: Likewise.
39687         * assert/assert.c: Likewise.
39688         * debug/fgets_chk.c: Likewise.
39689         * debug/fgets_u_chk.c: Likewise.
39690         * debug/fread_chk.c: Likewise.
39691         * debug/fread_u_chk.c: Likewise.
39692         * debug/gets_chk.c: Likewise.
39693         * debug/obprintf_chk.c: Likewise.
39694         * debug/vasprintf_chk.c: Likewise.
39695         * debug/vdprintf_chk.c: Likewise.
39696         * debug/vsnprintf_chk.c: Likewise.
39697         * debug/vsprintf_chk.c: Likewise.
39698         * malloc/mtrace.c: Likewise.
39699         * misc/error.c: Likewise.
39700         * misc/syslog.c: Likewise.
39701         * stdio-common/asprintf.c: Likewise.
39702         * stdio-common/fxprintf.c: Likewise.
39703         * stdio-common/getw.c: Likewise.
39704         * stdio-common/isoc99_fscanf.c: Likewise.
39705         * stdio-common/isoc99_scanf.c: Likewise.
39706         * stdio-common/isoc99_vfscanf.c: Likewise.
39707         * stdio-common/isoc99_vscanf.c: Likewise.
39708         * stdio-common/isoc99_vsscanf.c: Likewise.
39709         * stdio-common/printf-prs.c: Likewise.
39710         * stdio-common/printf_fp.c: Likewise.
39711         * stdio-common/printf_fphex.c: Likewise.
39712         * stdio-common/printf_size.c: Likewise.
39713         * stdio-common/putw.c: Likewise.
39714         * stdio-common/scanf.c: Likewise.
39715         * stdio-common/sprintf.c: Likewise.
39716         * stdio-common/tmpfile.c: Likewise.
39717         * stdio-common/vfprintf.c: Likewise.
39718         * stdio-common/vfscanf.c: Likewise.
39719         * stdlib/strfmon_l.c: Likewise.
39720         * sunrpc/openchild.c: Likewise.
39721         * sunrpc/xdr_stdio.c: Likewise.
39722         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39723         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39724
39725 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39726
39727         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39728
39729         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39730         in the third column, to generate for the shared library an IFUNC
39731         that uses _dl_vdso_vsym.
39732         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39733         * Makeconfig (object-suffixes-noshared): New variable.
39734
39735         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39736         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39737         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39738         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39739
39740         [BZ #14132]
39741         * include/sys/time.h (__gettimeofday): Remove macro.
39742         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39743         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39744         Remove INTDEF.
39745         (__gettimeofday): Add libc_hidden_def.
39746         (gettimeofday): Add libc_hidden_weak.
39747         * sysdeps/mach/gettimeofday.c: Likewise.
39748         * sysdeps/posix/gettimeofday.c: Likewise.
39749         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39750         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39751         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39752         (__gettimeofday_internal): Remove strong_alias.
39753         (__gettimeofday): Add libc_hidden_def.
39754         (gettimeofday): Add libc_hidden_weak.
39755         * sysdeps/unix/syscalls.list (gettimeofday):
39756         Remove __gettimeofday_internal alias.
39757
39758 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39759             H.J. Lu  <hongjiu.lu@intel.com>
39760
39761         [BZ #12495]
39762         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39763         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39764         (largebin_index_32_big): New.
39765         (largebin_index): Use it for 16-byte alignment.
39766         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39767         correction with front_misalign.
39768
39769 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39770
39771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39773         Likewise.
39774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39775         Likewise.
39776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39777         Likewise.
39778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39779         Likewise.
39780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39781         Likewise.
39782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39783         Likewise.
39784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39785         Likewise.
39786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39787         Likewise.
39788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39789         Likewise.
39790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39791         Likewise.
39792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39793         Likewise.
39794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39795         Likewise.
39796
39797         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39798         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39799
39800 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39801
39802         [BZ #10846]
39803         [BZ #14036]
39804         * math/libm-test.inc (exp_test): Add test from bug 14036.
39805         (pow_test): Add test from bug 10846.
39806
39807         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39808         and other flags.
39809         (special_function): Do not include flags in test name.
39810         (parse_args): Likewise.
39811         * sysdeps/i386/fpu/libm-test-ulps: Update.
39812         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39813         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39814         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39816
39817         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39818         exceptions.
39819         * math/libm-test.inc ("Philosophy"): Update comment about
39820         exception testing.
39821         (UNDERFLOW_EXCEPTION): New macro.
39822         (UNDERFLOW_EXCEPTION_OK): Likewise.
39823         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39824         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39825         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39826         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39827         (INVALID_EXCEPTION_OK): Update value.
39828         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39829         (OVERFLOW_EXCEPTION_OK): Likewise.
39830         (IGNORE_ZERO_INF_SIGN): Likewise.
39831         (test_exceptions): Handle underflow exceptions.
39832         (acos_test): Update for underflow exception expectations.
39833         (cexp_test): Likewise.
39834         (clog_test): Likewise.
39835         (clog10_test): Likewise.
39836         (csqrt_test): Likewise.
39837         (ctan_test): Likewise.
39838         (ctanh_test): Likewise.
39839         (exp_test): Likewise.
39840         (exp10_test): Likewise.
39841         (exp2_test): Likewise.
39842         (expm1_test): Likewise.
39843         (fma_test): Likewise.
39844         (j0_test): Likewise.
39845         (jn_test): Likewise.
39846         (nexttoward_test): Likewise.
39847         (pow_test): Likewise.
39848         (scalbn_test): Likewise.
39849         (scalbln_test): Likewise.
39850         (tan_test): Likewise.
39851         (y1_test): Likewise.
39852         * sysdeps/i386/fpu/libm-test-ulps: Update.
39853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39854
39855 2012-05-23  David S. Miller  <davem@davemloft.net>
39856
39857         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39858         (__libc_sigaction): Remove unused local variables.
39859
39860 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39861
39862         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39863
39864 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39865
39866         mktime: avoid signed integer overflow
39867         * time/mktime.c (__mktime_internal): Do not mishandle the case
39868         where diff == INT_MIN.
39869
39870         mktime: simplify computation of average
39871         * time/mktime.c (ranged_convert): Use new time_t_avg function
39872         instead of rolling our own (probably-slower) code.
39873
39874         mktime: do not assume signed right shift propagates sign bit
39875         * time/mktime.c (isdst_differ): New static function.
39876         (__mktime_internal): No need to normalize tm_isdst now.
39877         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39878         tm_isdst values.
39879
39880         mktime: merge another wrapv change from gnulib
39881         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39882         from some compilers.
39883
39884         mktime: remove incorrect attempt at unusual arithmetics
39885         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39886         The code didn't really work on such machines anyway.
39887         (TYPE_MINIMUM): Assume two's complement.
39888         (twos_complement_arithmetic): Verify that long_int and time_t
39889         are two's complement (or unsigned, in the latter case).
39890
39891         mktime: check signed shifts on long_int and time_t, too
39892         * time/mktime.c (SHR): Check that shifts work as desired
39893         on the types long_int and time_t too, as SHR is used on
39894         such types.
39895
39896         mktime: do not assume 'long' is wide enough
39897         * time/mktime.c (verify): Move decl up.
39898         (long_int): New type.
39899         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39900         to remove assumption in the code that 'long' is wide enough to
39901         store year values.  This assumption is not true on x32 and on
39902         some non-glibc platforms.
39903
39904         mktime: merge wrapv change from gnulib
39905         * time/mktime.c (WRAPV): New macro.
39906         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39907         (guess_time_tm, __mktime_internal): Do not assume that signed
39908         integer overflow wraps around; modern compilers generate code
39909         where this assumption is no longer valid.
39910
39911 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39912
39913         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39914         Replace "jmp L(pseudo_end)" with "ret".
39915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39916         Likewise.
39917
39918 2012-05-23  Andreas Jaeger  <aj@suse.de>
39919
39920         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39921         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39922
39923 2012-05-23  Andreas Jaeger  <aj@suse.de>
39924             Maximilian Attems  <max@stro.at>
39925
39926         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39927         New macros.
39928
39929 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39930
39931         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39932         code so that pseudo_end is just ret and the stack pointer is
39933         correct also for static library in error case.
39934
39935 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39936
39937         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39938         move to syscalls.list.
39939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39943
39944         * manual/install.texi (Running make install): Do not mention Linux
39945         kernel version for which pt_chown is not needed.
39946         (Linux): Do not mention problems with nscd with 2.0 kernels.
39947         * INSTALL: Regenerated.
39948
39949 2012-05-23  Andreas Jaeger  <aj@suse.de>
39950
39951         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39952         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39953         macro.
39954         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39955         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39956         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39957         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39958         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39959         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39960         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39961         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39962         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39963         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39964         * sysdeps/unix/sysv/linux/bits/in.h
39965         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39966
39967 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39968
39969         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39970         (PREPARE_VERSION): Just use assert instead, it will be elided
39971         under [NDEBUG] anyway.
39972
39973 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39974
39975         * sysdeps/unix/sysv/linux/Makefile: Include
39976         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39977         (sysdep_routines): Remove sysctl.
39978         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39979         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39980         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39981         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39982         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39983
39984 2012-05-22  Andreas Jaeger  <aj@suse.de>
39985
39986         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39987         that pseudo_end is just ret and the stack pointer is correct also
39988         for static library in error case.
39989
39990 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39991
39992         [BZ #14122]
39993         * nss/nsswitch.c (defconfig_entries): New variable.
39994         (__nss_database_lookup): Don't leak defconfig entries.
39995         (nss_parse_service_list): Don't leak on error paths.
39996         (free_database_entries): New function.
39997         (free_defconfig): New function.
39998         (free_mem): Move common code to free_database_entries.
39999
40000 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40001
40002         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40003         Add arch_prctl.
40004         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40005
40006         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40007         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40009         New macro.
40010         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40011         (INTERNAL_SYSCALL_TYPES): Likewise.
40012         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40013         (LOAD_REGS_TYPES_[1-6]): Likewise.
40014         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40015         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40016
40017 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40018
40019         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40020         copysignl for GLIBC_2_0.
40021         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40022         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40024         logbl for GLIBC_2_0.
40025         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40026         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40027
40028 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40029
40030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40031         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40032
40033         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40034         Use "neg %eax".
40035
40036         * time/mktime.c: Update copyright years.
40037
40038 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40039
40040         mktime: merge comment-quoting-style change from gnulib
40041         * time/mktime.c: Quote 'like this' in comments.
40042         The GNU coding standards suggest that we no longer quote `like this',
40043         as "`" and "'" are typically rendered asymmetrically nowadays.
40044         The typical gnulib style is to quote 'like this' when quoting
40045         code, and "like this" when quoting English.
40046
40047         * time/mktime.c (compile-command): Add "-I.".
40048
40049         mktime: merge mktime-internal.h change from gnulib
40050         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40051
40052         mktime: merge time_r change from gnulib
40053         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40054
40055         mktime: merge DEBUG change from gnulib
40056         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40057         case system <time.h> has a #define.
40058
40059         mktime: merge <sys/types.h> change from gnulib
40060         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40061         since <time.t> is now guaranteed to define time_t.
40062
40063         mktime: merge HAVE_CONFIG_H change from gnulib
40064         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40065
40066 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40067
40068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40069         Use "neg %eax".
40070
40071         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40072         __rlim_t cast.
40073         (struct rusage): Use anonymous union to pad each field to
40074         __syscall_slong_t.
40075
40076 2012-05-21  David S. Miller  <davem@davemloft.net>
40077
40078         * Makefules (o-iterator): Remove .s cases.
40079         (compile-command.s): Delete.
40080         (COMPILE.s): Delete.
40081         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40082
40083 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40084
40085         * configure.in (libc_cv_predef_stack_protector): Only consider
40086         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40087         * configure: Regenerated.
40088
40089 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40090
40091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40092         New macro.  Use R*LP on int and pointer.
40093         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40094         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40095         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40096         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40097
40098         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40099         [__WORDSIZE_TIME64_COMPAT32] instead of
40100         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40101         (struct utmp): Likewise.
40102         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40103         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40104         Renamed to ...
40105         (__WORDSIZE_TIME64_COMPAT32): This.
40106         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40107         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40108         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40109         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40110         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40111         (__WORDSIZE_TIME64_COMPAT32): New macro.
40112
40113 2012-05-21  Andreas Jaeger  <aj@suse.de>
40114
40115         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40116         only if [SHARED]. Add prototype for __wcschr_ia32.
40117
40118 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40119
40120         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40121         of %rbp unmolested in the jmp_buf while mangling the low bits.
40122         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40123         unmolested high bits of %rbp while demangling the low bits.
40124         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40125
40126 2012-05-21  Andreas Jaeger  <aj@suse.de>
40127
40128         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40129         * sunrpc/svc_simple.c: Use it for registerrpc.
40130         * sunrpc/xcrypt.c: Use it for passwd2des.
40131
40132         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40133
40134 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40135
40136         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40137         Don't define if [__SYSCALL_WORDSIZE != 32].
40138         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40139         New macro.
40140
40141 2012-05-21  Bruno Haible  <bruno@clisp.org>
40142             Andreas Jaeger  <aj@suse.de>
40143
40144         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40145         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40146         inptr and inend for must_buffer_ch.
40147         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40148         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40149         * stdio-common/Makefile (tests): Remove bug15.
40150         (bug15-ENV): Remove macro.
40151         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40152         anymore.
40153
40154 2012-05-19  Andreas Jaeger  <aj@suse.de>
40155             Roland McGrath  <roland@hack.frob.com>
40156
40157         * manual/contrib.texi: Completely rewritten. It contains now an
40158         alphabetical list of contributors and their contributions.
40159
40160 2012-05-21  Richard Henderson  <rth@twiddle.net>
40161
40162         * misc/getauxval.c (__getauxval): Use unsigned long int.
40163         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40164         (getauxval): Use unsigned long int.
40165
40166 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40167
40168         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40169
40170 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40171
40172         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40173         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40174         __alignof__ (long double).
40175
40176 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40177
40178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40179
40180 2012-05-20  Richard Henderson  <rth@twiddle.net>
40181
40182         * misc/getauxval.c: New file.
40183         * misc/sys/auxv.h: New file.
40184         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40185         (routines): Add getauxval.
40186         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40187         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40188         * elf/dl-sysdep.c (_dl_auxv): Remove.
40189         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40190         * elf/dl-support.c (_dl_auxv): New variable.
40191         (_dl_aux_init): Initialize it.
40192         * manual/startup.texi (Auxiliary Vector): New node.
40193         * sysdeps/generic/bits/hwcap.h: New file.
40194         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40195         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40196         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40197         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40198         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40199         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40201         Update.
40202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40205         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40210
40211 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40212
40213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40214
40215 2012-05-19  David S. Miller  <davem@davemloft.net>
40216
40217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40218
40219 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40220
40221         [BZ #14123]
40222         * math/s_ccosh.c: Include <float.h>
40223         (__ccosh): Avoid internal overflow calculating sinh and cosh
40224         values before multiplying by sin and cos values.
40225         * math/s_ccoshf.c: Likewise.
40226         * math/s_ccoshl.c: Likewise.
40227         * math/s_csin.c: Likewise.
40228         * math/s_csinf.c: Likewise.
40229         * math/s_csinl.c: Likewise.
40230         * math/s_csinh.c: Likewise.
40231         * math/s_csinhf.c: Likewise.
40232         * math/s_csinhl.c: Likewise.
40233         * math/libm-test.inc (ccos_test): Add more tests.
40234         (ccosh_test): Likewise.
40235         (csin_test): Likewise.
40236         (csinh_test): Likewise.
40237         * sysdeps/i386/fpu/libm-test-ulps: Update.
40238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40239
40240 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40241
40242         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40243         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40244
40245         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40246
40247 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40248
40249         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40250         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40251         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40252         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40253         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40254         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40255         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40256         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40257         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40258         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40259         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40260         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40261         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40262         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40263         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40264         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40265         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40266         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40267         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40268         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40269         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40270         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40271         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40272         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40273         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40274         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40275         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40276         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40277         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40278         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40279         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40280
40281 2012-05-18  Andreas Jaeger  <aj@suse.de>
40282
40283         * csu/.gitignore: Delete.
40284
40285 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40286
40287         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40288         (timex): Use __syscall_slong_t.
40289
40290 2012-05-18  Andreas Jaeger  <aj@suse.de>
40291             Carlos O'Donell  <carlos_odonell@mentor.com>
40292
40293         * manual/install.texi (Configuring and compiling): Update
40294         description about files modified in the source directory.
40295         * INSTALL: Regenerated.
40296
40297 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40298
40299         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40300         value.  Use "or" to set return value to -1.
40301         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40302         negate return value.
40303
40304 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40305
40306         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40307         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40308         failure if the compiler has Graphite support disabled.
40309         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40310         Likewise.
40311         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40312         (CFLAGS-memmove.c): Likewise.
40313         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40314         Likewise.
40315
40316 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40317
40318         * sysdeps/x86_64/x32/_itoa.h: New file.
40319
40320         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40321         getdents system call only if kernel and user dirents have the
40322         same d_ino and d_off.
40323
40324         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40325         LLONG_MAX != LONG_MAX.
40326         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40327         (_fitoa_word): Likewise.
40328
40329         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40330         years.
40331         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40332         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40333         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40334
40335         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40336         include <bits/wordsize.h>.  Check __x86_64__ instead of
40337         __WORDSIZE.
40338         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40339         if __x86_64__ is defined.  Use anonymous union on fpstate.
40340
40341         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40342         anonymous union.
40343
40344 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40345
40346         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40347         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40348         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40349         Refer to _rtld_local_ro instead of _rtld_global_ro.
40350         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40351         Likewise.
40352         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40353         Likewise.
40354         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40355         Likewise.
40356         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40357         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40358         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40359
40360         * sysdeps/powerpc/powerpc32/dl-machine.c
40361         (__elf_machine_runtime_setup) [PROF]: Don't reference
40362         _dl_prof_resolve.
40363
40364 2012-05-18  Andreas Jaeger  <aj@suse.de>
40365
40366         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40367         function only available for GCCs before 3.4 since GCC 3.4
40368         introduced a builtin.
40369         (lrint): Likewise.
40370         (llrintf): Likewise.
40371         (llrint): Likewise.
40372         (fmaxf): Likewise.
40373         (fmax): Likewise.
40374         (fminf): Likewise.
40375         (fmin): Likewise.
40376         (rint): Likewise.
40377         (rintf): Likewise.
40378         (nearbyint): Likewise.
40379         (nearbyintf): Likewise.
40380         (ceil): Likewise.
40381         (ceilf): Likewise.
40382         (floor): Likewise.
40383         (floorf): Likewise.
40384
40385 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40386
40387         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40388         on both fields and cast pointer to __syscall_ulong_t.
40389
40390         * bits/types.h (__fsword_t): New type.
40391         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40392         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40394         (__FSWORD_T_TYPE): Likewise.
40395         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40396         (__FSWORD_T_TYPE): Likewise.
40397         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40398         (__FSWORD_T_TYPE): Likewise.
40399         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40400         (__FSWORD_T_TYPE): Likewise.
40401         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40402         __SWORD_TYPE with __fsword_t.
40403         (statfs64): Likewise.
40404
40405 2012-05-17  David S. Miller  <davem@davemloft.net>
40406
40407         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40408
40409 2012-05-17  Andreas Jaeger  <aj@suse.de>
40410
40411         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40412         warning.
40413
40414 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40415
40416         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40417
40418 2012-05-17  Andreas Jaeger  <aj@suse.de>
40419
40420         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40421         when it is used.
40422
40423 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40424
40425         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40426
40427 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40428
40429         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40430         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40431
40432 2012-05-17  Andreas Jaeger  <aj@suse.de>
40433             Carlos O'Donell  <carlos_odonell@mentor.com>
40434
40435         [BZ #14059]
40436         * sysdeps/x86_64/multiarch/init-arch.h
40437         (bit_YMM_Usable): Rename to...
40438         (bit_AVX_Usable): ... this.
40439         (bit_FMA4_Usable): New macro.
40440         (bit_XMM_state): New macro.
40441         (bit_YMM_state): New macro.
40442         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40443         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40444         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40445         (CPUID_OSXSAVE): New macro.
40446         (CPUID_AVX): New macro.
40447         (CPUID_FMA4): New macro.
40448         (index_YMM_Usable): Rename to...
40449         (index_AVX_Usable): ... this.
40450         (HAS_AVX): Use HAS_ARCH_FEATURE.
40451         (HAS_FMA4): Likewise.
40452         (HAS_YMM_USABLE): Remove.
40453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40454         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40455         are present.
40456         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40457         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40458         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40459         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40460         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40461
40462 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40463
40464         * math/libm-test.c: Support platforms without multiple rounding modes.
40465         * math/bug-nextafter.c: Support platforms without FP exceptions.
40466         * math/bug-nexttoward.c: Likewise.
40467         * math/test-fenv.c: Likewise.
40468         * math/test-misc.c: Likewise.
40469         * stdlib/bug-getcontext.c: Likewise.
40470
40471 2012-05-17  Andreas Jaeger  <aj@suse.de>
40472
40473         * manual/examples/search.c (critter_cmp): Change signature to
40474         avoid warnings.
40475         * manual/string.texi (Collation Functions): Likewise.
40476
40477 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40478
40479         * bits/types.h: Fold copyright years.
40480         * bits/typesizes.h: Likewise.
40481         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40482         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40484         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40485         * time/time.h: Likewise.
40486
40487 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40488
40489         [BZ #208]
40490         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40491         in instead of returning them.  Return void.
40492         (__libc_mallinfo): Accumulate over all arenas.
40493         (__malloc_stats): Adjust for change in int_mallinfo interface.
40494
40495 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40496
40497         [BZ #10375]
40498         * configure.in (NM): Add AC_CHECK_TOOL for it.
40499         (libc_extra_cflags): New substituted variable.
40500         Check for -fstack-protector being used implicitly.
40501         * configure: Regenerated.
40502         * config.make.in (config-extra-cflags): New variable,
40503         gets @libc_extra_cflags@.
40504         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40505
40506         [BZ #10375]
40507         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40508         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40509         * configure: Regenerated.
40510         * config.make.in (CPPUNDEFS): New substituted variable.
40511         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40512         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40513         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40514
40515 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40516
40517         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40518         (mq_attr): Use __syscall_slong_t.
40519
40520 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40521
40522         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40523         Check __x86_64__ instead of __WORDSIZE.
40524         (_STAT_VER_LINUX): Likewise.
40525         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40526         __syscall_ulong_t and __syscall_slong_t.
40527         (stat64): Likewise.
40528
40529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40530
40531         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40532
40533 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40534
40535         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40536
40537 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40538
40539         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40540         __syscall_ulong_t.
40541
40542         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40543         include <bits/wordsize.h>.  Check __x86_64__ instead of
40544         __WORDSIZE.
40545         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40546         defined.
40547         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40548
40549         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40550         include <bits/wordsize.h>.  Check __x86_64__ instead of
40551         __WORDSIZE.
40552         (user_regs_struct): Use "__extension__ unsigned long long"
40553         instead of "unsigned long" if __x86_64__ is defined.
40554         (user): Likewise.  Pad after pointer field if __ILP32__ is
40555         defined.
40556
40557 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40558
40559         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40560         versions 5 to 9.
40561         * configure: Regenerated.
40562         * manual/install.texi (texinfo): Increase version requirement to
40563         4.5 or later.
40564         * INSTALL: Regenerated.
40565
40566         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40567
40568 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40569
40570         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40571
40572         * sysdeps/x86_64/x32/ffs.c: New file.
40573
40574         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40575         __syscall_ulong_t.
40576         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40577         defined.  Use __syscall_ulong_t.
40578         (shminfo): Use __syscall_ulong_t.
40579         (shm_info): Likewise.
40580
40581         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40582         __syscall_ulong_t.
40583
40584         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40585         <bits/wordsize.h>.
40586         (msgqnum_t): Use __syscall_ulong_t.
40587         (msglen_t): Likewise.
40588         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40589         __syscall_ulong_t.
40590
40591         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40592         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40593
40594         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40595
40596         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40597         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40598
40599         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40600         __syscall_slong_t.
40601
40602         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40603         include <bits/wordsize.h>.  Check __x86_64__ instead of
40604         __WORDSIZE.
40605
40606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40607         "unsigned long long int" if __x86_64__ is defined.
40608         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40609
40610         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40611         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40612         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40613
40614         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40615         <stdint.h>.
40616         (GET_PC): Cast to uintptr_t first.
40617         (GET_FRAME): Likewise.
40618         (GET_STACK): Likewise.
40619
40620         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40621         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40622         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40623         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40624         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40625         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40626         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40627         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40628         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40629         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40630         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40631         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40632         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40633         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40634         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40635         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40636         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40637         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40638         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40639         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40640         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40641         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40642         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40643         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40644         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40645         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40647         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40648         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40649
40650 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40651
40652         * Makerules (+depfiles): Also collect depfiles from .oS in
40653         $(extra-objs).
40654         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40655         .oS, $(libnldbl-routines)).
40656
40657         * Makerules (native-compile-mkdep-flags): Define.
40658         * sunrpc/Makefile (extra-objs): Add $(addprefix
40659         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40660         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40661         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40662         calling $(make-target-directory).
40663
40664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40665
40666         * bits/types.h (__snseconds_t): Removed.
40667         * time/time.h (struct timespec): Replace __snseconds_t with
40668         __syscall_slong_t.
40669         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40670         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40671         Likewise.
40672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40673         (__SNSECONDS_T_TYPE): Likewise.
40674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40675         (__SNSECONDS_T_TYPE): Likewise.
40676         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40677         (__SNSECONDS_T_TYPE): Likewise.
40678
40679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40680
40681         * sysdeps/mach/hurd/bits/typesizes.h
40682         (__SYSCALL_SLONG_TYPE): New macro.
40683         (__SYSCALL_ULONG_TYPE): Likewise.
40684
40685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40686
40687         * bits/types.h (__syscall_slong_t): New type.
40688         (__syscall_ulong_t): Likewise.
40689
40690         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40691         (__SYSCALL_ULONG_TYPE): Likewise.
40692         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40693         (__SYSCALL_SLONG_TYPE): Likewise.
40694         (__SYSCALL_ULONG_TYPE): Likewise.
40695         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40696         (__SYSCALL_SLONG_TYPE): Likewise.
40697         (__SYSCALL_ULONG_TYPE): Likewise.
40698         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40699         (__SYSCALL_SLONG_TYPE): Likewise.
40700         (__SYSCALL_ULONG_TYPE): Likewise.
40701
40702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40703
40704         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40705         Add sigaltstack-offsets.sym.
40706         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40707         <sigaltstack-offsets.h>.
40708         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40709         longjmp_msg pointer.
40710         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40711         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40712         signal stack.
40713         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40714
40715 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40716
40717         * elf/stackguard-macros.h: Remove file.
40718         * sysdeps/generic/stackguard-macros.h: New file.
40719         * sysdeps/i386/stackguard-macros.h: Likewise.
40720         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40721         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40722         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40723         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40724         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40725         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40726         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40727         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40728         <elf/stackguard-macros.h>.
40729
40730         [BZ #14109]
40731         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40732         __aligned__ in attribute.
40733         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40734         (gregset_t): Likewise.
40735
40736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40737
40738         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40739         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40740         * sysdeps/x86_64/x32/Implies-after: New file.
40741
40742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40743
40744         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40745         and access return value for _dl_profile_fixup.  Use R10_LP to
40746         load frame size.
40747
40748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40749
40750         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40751
40752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40753
40754         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40755         * sysdeps/x86_64/x32/sysdep.h: New file.
40756
40757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40758
40759         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40760         * sysdeps/x86_64/setjmp.S: Likewise.
40761
40762 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40763
40764         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40765         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40766         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40767         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40768         remove unused global constant.
40769
40770 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40771
40772         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40773         include of <not-cancel.h>.
40774
40775 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40776
40777         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40778
40779 2012-05-15  Jeff Law  <law@redhat.com>
40780             Andreas Jaeger  <aj@suse.de>
40781
40782         [BZ #13594]
40783         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40784         out from...
40785         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40786         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40787         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40788         code changing __hst_map_handle.map.
40789
40790 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40791
40792         * configure.in (sysnames): Look for Implies-before and Implies-after
40793         files.
40794         * configure: Regenerated.
40795
40796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40797
40798         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40799         8-byte data alignment with LP_SIZE alignment.
40800
40801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40802
40803         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40804         into R10_LP.
40805
40806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40807
40808         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40809
40810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40811
40812         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40813         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40814         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40815         Likewise.
40816         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40817
40818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40819
40820         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40821         (stackinfo_sub_sp): Likewise.
40822
40823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40824
40825         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40826         RAX_LP.
40827
40828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40829
40830         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40831         into R*_LP.
40832
40833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40834
40835         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40836         sizes into R*_LP.
40837
40838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40839
40840         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40841
40842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40843
40844         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40845         into R11_LP and load __x86_64_shared_cache_size_half into
40846         R8_LP.
40847
40848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40849
40850         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40851         R8_LP.
40852
40853 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40854
40855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40856         logb for POWER7.
40857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40858         logbf for POWER7.
40859         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40860         logbl for POWER7.
40861         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40862         powerpc32/power7/fpu/s_logb.c via #include.
40863         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40864         powerpc32/power7/fpu/s_logbf.c via #include.
40865         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40866         powerpc32/power7/fpu/s_logbl.c via #include.
40867
40868 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40869
40870         * README.libm: Remove file.
40871
40872 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40873
40874         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40875         count for x32.  Use R*_LP and omit operand-size suffix.
40876
40877 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40878
40879         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40880         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40881         * sysdeps/x86_64/x32/shlib-versions: New file.
40882
40883 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40884
40885         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40886         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40887         Use _dl_fatal_printf instead.
40888
40889 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40890
40891         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40892         set if not set by the user.  Do not allow for being unset.
40893         * sysdeps/unix/sysv/linux/configure: Regenerated.
40894
40895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40896
40897         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40898         the `q' suffix from lea and replace .quad with ASM_ADDR.
40899
40900 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40901
40902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40903         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40904         instead of $17.
40905         (PTR_DEMANGLE): Likewise.
40906
40907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40908
40909         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40910         (LP_OP): Likewise.
40911         (ASM_ADDR): Likewise.
40912         (RAX_LP): Likewise.
40913         (RBP_LP): Likewise.
40914         (RBX_LP): Likewise.
40915         (RCX_LP): Likewise.
40916         (RDI_LP): Likewise.
40917         (RSI_LP): Likewise.
40918         (RSP_LP): Likewise.
40919         (R8_LP): Likewise.
40920         (R9_LP): Likewise.
40921         (R10_LP): Likewise.
40922         (R10_LP): Likewise.
40923         (R11_LP): Likewise.
40924         (R12_LP): Likewise.
40925         (R13_LP): Likewise.
40926         (R14_LP): Likewise.
40927         (R15_LP): Likewise.
40928
40929 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40930
40931         * sysdeps/x86_64/x32/dl-machine.h: New file.
40932
40933 2012-05-14  Andreas Jaeger  <aj@suse.de>
40934
40935         * manual/Makefile (subdir): Remove export of subdir.
40936         (all): Remove target.
40937         (.PHONY): Remove all from list.
40938         (mkinstalldirs): Remove.
40939         (.PHONY): Remove installdirs from list.
40940         ($(inst_infodir)/libc.info): Use make-target-directory.
40941         (installdirs): Remove.
40942         (subdir_%): Remove.
40943         (glibc-targets): Remove.
40944         (lib): Remove.
40945         (stubs): Remove.
40946         ($(objpfx)stubs ../po/manual.pot): Remove.
40947         ($(objpfx)stamp%): Remove.
40948         (make-target-directory): Remove.
40949         (subdir_install): Remove.
40950         (routines): Remove.
40951         (aux): Remove.
40952         (sources): Remove.
40953         (objects): Remove.
40954         (headers): Remove.
40955
40956         [BZ #13750]
40957         * manual/.gitignore: Remove, it's not needed anymore.
40958         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40959         all files in it.
40960         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40961         directory.
40962         (texis): Renamed to $(objpfx)texis.
40963         (texis-path): New, contains path to generated files.
40964         (chapters.%): Use texis-path for complete path, add extra argument
40965         libc-texinfo.sh.
40966         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40967         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40968         (summary,texi, stamp-summary): Use complete path of
40969         files. Generate files in build dir.
40970         (dir-add.texi): Build in build dir.
40971         (libm-err.texi,stamp-libm-err): Likewise.
40972         (version.texi, stamp-version): Likewise.
40973         (.%c.texi): Likewise.
40974         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40975         (mostlyclean): Remove target.
40976         (realclean): Remove target.
40977         (generated): Add new variable with contents from mostlyclean and
40978         realclean, remove entries duplicated in common-mostlyclean, add
40979         stamp-libm-err and stamp-version.
40980         (generated-dirs): Add libc directory.
40981         ($(inst_infodir)/libc.info): Install files from build dir.
40982
40983         * manual/install.texi (Configuring and compiling): Adjust since
40984         the info files are not part of the tar ball anymore.
40985
40986 2012-05-14  Andreas Jaeger  <aj@suse.de>
40987
40988         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40989         variable.
40990
40991 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40992
40993         [BZ #13717]
40994         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40995         to 2.2.0 where earlier.
40996         * sysdeps/unix/sysv/linux/configure: Regenerated.
40997         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40998         Remove conditional code.
40999         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41000         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41001         Remove conditional code.
41002         [!__NR_lchown]: Likewise.
41003         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41004         [__NR_lchown]: Likewise.
41005         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41006         comment referencing __ASSUME_LCHOWN_SYSCALL.
41007         * sysdeps/unix/sysv/linux/i386/sigaction.c
41008         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41009         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41010         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41011         Remove conditional code.
41012         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41013         (__protocol_available): Remove #if 0 code.
41014         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41015         conditional code.
41016         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41017         * sysdeps/unix/sysv/linux/kernel-features.h
41018         (__ASSUME_GETCWD_SYSCALL): Don't define.
41019         (__ASSUME_REALTIME_SIGNALS): Likewise.
41020         (__ASSUME_PREAD_SYSCALL): Likewise.
41021         (__ASSUME_PWRITE_SYSCALL): Likewise.
41022         (__ASSUME_POLL_SYSCALL): Likewise.
41023         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41024         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41025         non-SPARC.
41026         (__ASSUME_SIOCGIFNAME): Don't define.
41027         (__ASSUME_MSG_NOSIGNAL): Likewise.
41028         (__ASSUME_SENDFILE): Define unconditionally.
41029         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41030         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41031         conditional code.
41032         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41033         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41034         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41035         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41036         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41037         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41038         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41040         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41043         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41046         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41049         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41052         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41055         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41058         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41061         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41062         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41063         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41064         Remove conditional code.
41065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41066         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41067         Remove conditional code.
41068         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41069         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41070         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41071         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41072         Remove conditional code.
41073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41074         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41075         Remove conditional code.
41076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41077         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41078         Remove conditional code.
41079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41080         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41081         Remove conditional code.
41082         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41083         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41084         Remove conditional code.
41085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41086         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41087         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41088         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41089         * sysdeps/unix/sysv/linux/sigaction.c
41090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41092         * sysdeps/unix/sysv/linux/sigpending.c
41093         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41094         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41095         * sysdeps/unix/sysv/linux/sigprocmask.c
41096         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41097         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41098         * sysdeps/unix/sysv/linux/sigsuspend.c
41099         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41100         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41101         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41102         (__libc_missing_rt_sigs): Remove.
41103         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41104         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41105         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41106         Remove conditional code.
41107         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41108         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41109         return 1.
41110         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41111         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41112         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41113         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41114
41115 2012-05-14  Andreas Jaeger  <aj@suse.de>
41116
41117         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41118         it's not used in glibc.
41119         (__coshm1): Likewise.
41120         (__acosh1p): Likewise.
41121         (__sgn): Likewise.
41122
41123         * manual/string.texi (Copying and Concatenation): Add missing
41124         variable in concat example.
41125         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41126
41127 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41128
41129         [BZ #14103]
41130         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41131         __builtin_clzl with __builtin_clzll.
41132
41133 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41134
41135         [BZ #14104]
41136         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41137         libc_freeres_ptr.
41138
41139 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41140
41141         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41142         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41143         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41144         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41145
41146 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41147
41148         * NEWS: Update ia64 info.
41149
41150 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41151
41152         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41153         used as bcopy.
41154
41155 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41156
41157         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41158         * sysdeps/unix/syscalls.list (dup3): Likewise.
41159         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41160         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41161
41162 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41163
41164         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41165         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41166
41167 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41168
41169         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41170         thread pointer.
41171         (TLS_IE): Use mov/add instead of movq/addq to load thread
41172         pointer.
41173         (TLS_GD_PREFIX): New.
41174         (TLS_GD): Use it.
41175
41176 2012-05-11  David S. Miller  <davem@davemloft.net>
41177
41178         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41179         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41180         (_FPU_SETCW): Likewise.
41181
41182 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41183
41184         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41185         is 32-byte aligned.
41186
41187 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41188
41189         [BZ #11837]
41190         * iconvdata/gb18030.c: Update tables.
41191         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41192         characters specially.
41193         (BODY for TO_LOOP): Add encoding of missing ranges.
41194
41195 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41196
41197         [BZ #13673]
41198         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41199         * sysdeps/mach/hurd/dup3.c: Likewise.
41200         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41201         * sysdeps/powerpc/memmove.c:: Likewise.
41202
41203 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41204
41205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41206         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41207
41208 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41209
41210         * elf/elf.h (R_X86_64_RELATIVE64): New.
41211         (R_X86_64_NUM): Updated.
41212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41213         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41214         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41215         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41216         tst-quad1pie tst-quad2pie
41217         (modules-names): Add tst-quadmod1 tst-quadmod2.
41218         ($(objpfx)tst-quad1): New dependency.
41219         ($(objpfx)tst-quad2): Likewise.
41220         ($(objpfx)tst-quad1pie): Likewise.
41221         ($(objpfx)tst-quad2pie): Likewise.
41222         * sysdeps/x86_64/tst-quad1.c: New file.
41223         * sysdeps/x86_64/tst-quad1pie.c: New file.
41224         * sysdeps/x86_64/tst-quad2.c: Likewise.
41225         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41226         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41227         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41228         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41229         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41230
41231 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41232
41233         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41234         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41235         * streams/stropts.h (t_scalar_t): Define type.
41236
41237         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41238         (_PATH_PRESERVE): Set to "/var/lib".
41239         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41240
41241         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41242         instead of int.
41243
41244         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41245         if __dir_mkfile succeeded.
41246
41247         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41248         checking for _hurd_dtablesize.  Unlock it right after having
41249         finished _hurd_dtable allocation.
41250
41251 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41252
41253         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41254         * sysdeps/mach/hurd/configure: Regenerated.
41255         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41256         special-casing to...
41257         * sysdeps/gnu/configure.in: ... this new file.
41258         * sysdeps/unix/sysv/linux/configure: Regenerated.
41259         * sysdeps/gnu/configure: New generated file.
41260
41261         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41262         for Linux: use nsec instead of usec, as well as:
41263         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41264         members of type struct timespec.
41265         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41266         New macros.
41267         (struct stat64): Likewise.
41268         (_STATBUF_ST_NSEC): New macro.
41269         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41270
41271         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41272         __strtoul_internal rather than strtoul.
41273
41274 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41275
41276         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41277         and reject them.
41278
41279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41280
41281         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41282         which preserves existing values.
41283         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41284
41285 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41286
41287         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41288         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41289         greater than FD_SETSIZE.
41290
41291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41292
41293         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41294         allocated, call __vm_protect to finish enabling the existing space, and
41295         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41296         allocate the remainder.
41297
41298 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41299
41300         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41301         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41302
41303 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41304
41305         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41306         sysdeps/mach/hurd/readlink.c.
41307
41308         * posix/tst-sysconf.c (posix_options): Only use
41309         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41310         _POSIX_SYNCHRONIZED_IO when they are defined
41311         * sysdeps/mach/hurd/bits/posix_opt.h:
41312         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41313         (_XOPEN_REALTIME): Undefine macro.
41314         (_XOPEN_REALTIME_THREADS): Undefine macro.
41315         (_XOPEN_SHM): Undefine macro.
41316         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41317         macro to -1.
41318         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41319         macro to -1.
41320         (_POSIX_ASYNC_IO): Undefine macro.
41321         (_POSIX_PRIORITIZED_IO): Undefine macro.
41322         (_POSIX_SPIN_LOCKS): Define macro to -1.
41323
41324         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41325         SA_NODEFER, SA_RESETHAND.
41326         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41327         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41328         F_DUPFD_CLOEXEC.
41329
41330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41331
41332         * elf/Makefile (pldd-modules): Define unconditionally.
41333
41334 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41335
41336         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41337
41338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41339
41340         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41341         Return ENOENT when name is empty.
41342         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41343
41344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41345
41346         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41347
41348         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41349
41350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41351
41352         Fix mlock in all cases except non-readable pages.
41353         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41354         instead of VM_PROT_ALL as parameter to __vm_wire function.
41355
41356         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41357         (__mkdir): When path is `/', just fail with EEXIST.
41358         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41359
41360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41361
41362         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41363         <sys/uio.h> (for writev).
41364         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41365         and <sys/param.h> (for MIN).
41366
41367 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41368
41369         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41370         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41371         if interrupted.
41372
41373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41374
41375         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41376         Depend on against $(link-rpcuserlibs).
41377
41378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41379
41380         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41381         (__libc_stack_end): Do not use attribute_relro.
41382         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41383         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41384         to libthread-provided value.
41385         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41386         attribute_relro.
41387
41388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41389
41390         [BZ #3748]
41391         * bits/libc-lock.h (__libc_once_get): New macro.
41392         * sysdeps/mach/bits/libc-lock.h: Likewise.
41393         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41395         instead of using implementation details.
41396
41397         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41398         * libio/freopen.c: Likewise.
41399         * libio/freopen64.c: Likewise.
41400         * misc/syslog.c: Likewise.
41401         * nscd/connections.c: Likewise.
41402         * nscd/netgroupcache.c: Likewise.
41403         * sysdeps/posix/getcwd.c: Likewise.
41404
41405 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41406
41407         * math/w_ilogbf.c: Add #include <limits.h>.
41408
41409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41410
41411         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41412         path instead of returning without unlocking.
41413
41414         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41415         immediate-write ioctls.
41416         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41417
41418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41419
41420         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41421         __builtin_frame_address instead of making assumptions about the
41422         location of the return address relative to DATA.  Force early load of
41423         the return address.
41424         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41425         __builtin_frame_address.
41426
41427         dup3 for GNU Hurd.
41428         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41429         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41430         implement dup3 and do some further code clean-ups.
41431         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41432         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41433
41434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41435
41436         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41437
41438         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41439         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41440         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41441         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41442         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41443         d->port.lock.
41444
41445         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41446         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41447         when handler == SIG_ERR, not when handler != SIG_ERR.
41448
41449 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41450
41451         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41452         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41453         definitions.
41454
41455         accept4 for GNU Hurd.
41456         * include/sys/socket.h (__libc_accept4): New prototype.
41457         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41458         to implement __libc_accept4.
41459         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41460         __libc_accept4.
41461         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41462
41463         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41464         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41465         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41466         signal-defines.sym.
41467
41468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41469
41470         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41471
41472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41473
41474         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41475         assertion on O_CLOEXEC flag.
41476         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41477         * hurd/intern-fd.c: Likewise.
41478         * hurd/port2fd.c: Likewise.
41479
41480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41481
41482         [BZ #3906]
41483         * bits/in.h (IPV6_PKTINFO): Define new macro.
41484         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41485
41486 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41487
41488         [BZ #13954]
41489         [BZ #13955]
41490         [BZ #13956]
41491         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41492         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41493         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41494         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41496         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41497         * math/libm-test.inc (logb_test) : Additional logb tests.
41498
41499 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41500             Andreas Jaeger  <aj@suse.de>
41501
41502         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41503         * configure: Regenerated.
41504         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41505         * config.make.in (link-obsolete-rpc): New substituted variable.
41506         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41507         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41508         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41509         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41510         so that libc.a contains the symbols.
41511         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41512         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41513         * sunrpc/auth_none.c: Likewise.
41514         * sunrpc/auth_unix.c: Likewise.
41515         * sunrpc/authdes_prot.c: Likewise.
41516         * sunrpc/authuxprot.c: Likewise.
41517         * sunrpc/clnt_gen.c: Likewise.
41518         * sunrpc/clnt_perr.c: Likewise.
41519         * sunrpc/clnt_raw.c: Likewise.
41520         * sunrpc/clnt_simp.c: Likewise.
41521         * sunrpc/clnt_tcp.c: Likewise.
41522         * sunrpc/clnt_udp.c: Likewise.
41523         * sunrpc/clnt_unix.c: Likewise.
41524         * sunrpc/des_crypt.c: Likewise.
41525         * sunrpc/des_soft.c: Likewise.
41526         * sunrpc/get_myaddr.c: Likewise.
41527         * sunrpc/key_call.c: Likewise.
41528         * sunrpc/key_prot.c: Likewise.
41529         * sunrpc/netname.c: Likewise.
41530         * sunrpc/pm_getmaps.c: Likewise.
41531         * sunrpc/pm_getport.c: Likewise.
41532         * sunrpc/pmap_clnt.c: Likewise.
41533         * sunrpc/pmap_prot.c: Likewise.
41534         * sunrpc/pmap_prot2.c: Likewise.
41535         * sunrpc/pmap_rmt.c: Likewise.
41536         * sunrpc/publickey.c: Likewise.
41537         * sunrpc/rpc_cmsg.c: Likewise.
41538         * sunrpc/rpc_common.c: Likewise.
41539         * sunrpc/rpc_dtable.c: Likewise.
41540         * sunrpc/rpc_prot.c: Likewise.
41541         * sunrpc/rpc_thread.c: Likewise.
41542         * sunrpc/rtime.c: Likewise.
41543         * sunrpc/svc.c: Likewise.
41544         * sunrpc/svc_auth.c: Likewise.
41545         * sunrpc/svc_raw.c: Likewise.
41546         * sunrpc/svc_run.c: Likewise.
41547         * sunrpc/svc_tcp.c: Likewise.
41548         * sunrpc/svc_udp.c: Likewise.
41549         * sunrpc/svc_unix.c: Likewise.
41550         * sunrpc/svcauth_des.c: Likewise.
41551         * sunrpc/xcrypt.c: Likewise.
41552         * sunrpc/xdr.c: Likewise.
41553         * sunrpc/xdr_array.c: Likewise.
41554         * sunrpc/xdr_float.c: Likewise.
41555         * sunrpc/xdr_intXX_t.c: Likewise.
41556         * sunrpc/xdr_mem.c: Likewise.
41557         * sunrpc/xdr_rec.c: Likewise.
41558         * sunrpc/xdr_ref.c: Likewise.
41559         * sunrpc/xdr_sizeof.c: Likewise.
41560         * sunrpc/xdr_stdio.c: Likewise.
41561
41562 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41563
41564         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41565         change.  Update copyright years.
41566
41567 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41568
41569         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41570
41571 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41572             Joseph Myers  <joseph@codesourcery.com>
41573             Paul Pluzhnikov  <ppluzhnikov@google.com>
41574
41575         [BZ #14012]
41576         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41577         requiring rpcgen.
41578         [cross-compiling] (extra-libs): Likewise.
41579         [cross-compiling] (extra-libs-others): Likewise.
41580         [cross-compiling] (librpcsvc-routines): Likewise.
41581         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41582         [cross-compiling] (omit-deps): Likewise.
41583         (sunrpc-CPPFLAGS): New variable.
41584         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41585         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41586         (cross-rpcgen-objs): New variable.
41587         (extra-objs): Append $(cross-rpcgen-objs).
41588         ($(cross-rpcgen-objs)): New rule.
41589         ($(objpfx)cross-rpcgen): Likewise.
41590         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41591         comment.
41592         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41593         ($(objpfx)x%.stmp): Likewise.
41594         * sunrpc/proto.h [IS_IN_build] (_): Define.
41595         [IS_IN_build] (_libc_intl_domainname): Likewise.
41596
41597 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41598
41599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41600         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41601         and R_X86_64_TPOFF64.
41602
41603 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41604
41605         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41606         sysdeps/unix/sysv/syscalls.list.
41607         (stime): Likewise.
41608         (utime): Likewise.
41609         * sysdeps/unix/sysv/syscalls.list: Remove file.
41610
41611 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41612
41613         [BZ #3440]
41614         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41615         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41616         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41617         (__LC_IDENTIFICATION): Make these macros useful in #if
41618         expressions, as required by C99.
41619
41620 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41621
41622         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41623         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41624         after this.
41625
41626 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41627
41628         * stdlib/longlong.h: Updated from GCC.
41629
41630 2012-05-09  Andreas Jaeger  <aj@suse.de>
41631
41632         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41633         default is first entry.
41634         (run_mode): Set type.
41635         (main): Remove informal message about syslog.
41636         (options): Fix typo.
41637
41638         [BZ #14053]
41639         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41640         to asm.
41641         (lrint): Likewise.
41642         (llrintf): Likewise.
41643         (llrint): Likewise.
41644         (rint): Likewise.
41645         (rintf): Likewise.
41646         (nearbyint): Likewise.
41647         (nearbyintf): Likewise.
41648
41649 2012-05-09  Andreas Jaeger  <aj@suse.de>
41650             Pedro Alves  <palves@redhat.com>
41651
41652         * nscd/nscd.c (run_mode): Use enum.
41653         (main): Cleanup coding style issue.
41654
41655 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41656             Andreas Jaeger  <aj@suse.de>
41657
41658         * nscd/nscd.c (go_background): Replaced with...
41659         (run_mode): ... this.
41660         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41661         (options): Add -F --foreground.
41662         (main): Implement it.
41663         (parse_opt): Parse it.
41664
41665 2012-05-09  Andreas Jaeger  <aj@suse.de>
41666
41667         [BZ #14083]
41668         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41669         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41670         -Wconversion warning.
41671         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41672         Likewise.
41673
41674 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41675
41676         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41677         == 0.
41678         (LC_ALL): Use macro-int-constant.
41679         (LC_COLLATE): Likewise.
41680         (LC_CTYPE): Likewise.
41681         (LC_MESSAGES): Likewise.
41682         (LC_MONETARY): Likewise.
41683         (LC_NUMERIC): Likewise.
41684         (LC_TIME): Likewise.
41685         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41686         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41688         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41689         Specify type.
41690         [C99-based standards] (float_t): Expect type.
41691         [C99-based standards] (double_t): Expect type.
41692         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41693         type.
41694         [C99-based standards] (HUGE_VALL): Likewise.
41695         [C99-based standards] (INFINITY): Likewise.
41696         [C99-based standards] (NAN): Likewise.
41697         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41698         [C99-based standards] (FP_NAN): Likewise.
41699         [C99-based standards] (FP_NORMAL): Likewise.
41700         [C99-based standards] (FP_SUBNORMAL): Likewise.
41701         [C99-based standards] (FP_ZERO): Likewise.
41702         [C99-based standards] (FP_FAST_FMA): Use
41703         optional-macro-int-constant.  Specify type.  Require == 1.
41704         [C99-based standards] (FP_FAST_FMAF): Likewise.
41705         [C99-based standards] (FP_FAST_FMAL): Likewise.
41706         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41707         [C99-based standards] (FP_ILOGBNAN): Likewise.
41708         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41709         Specify type.
41710         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41711         [C99-based standards] (math_errhandling): Specify type.
41712         [ISO99 || ISO11] (signgam): Do not allow.
41713         [non-C99-based standards] (copysignf): Do not allow.
41714         [non-C99-based standards] (exp2f): Likewise.
41715         [non-C99-based standards] (log2f): Likewise.
41716         [non-C99-based standards] (modff): Allow.
41717         [non-C99-based standards] (erff): Do not allow.
41718         [non-C99-based standards] (erfcf): Likewise.
41719         [non-C99-based standards] (gammaf): Likewise.
41720         [non-C99-based standards] (hypotf): Likewise.
41721         [non-C99-based standards] (j0f): Likewise.
41722         [non-C99-based standards] (j1f): Likewise.
41723         [non-C99-based standards] (jnf): Likewise.
41724         [non-C99-based standards] (lgammaf): Likewise.
41725         [non-C99-based standards] (tgammaf): Likewise.
41726         [non-C99-based standards] (y0f): Likewise.
41727         [non-C99-based standards] (y1f): Likewise.
41728         [non-C99-based standards] (ynf): Likewise.
41729         [non-C99-based standards] (isnanf): Likewise.
41730         [non-C99-based standards] (acoshf): Likewise.
41731         [non-C99-based standards] (asinhf): Likewise.
41732         [non-C99-based standards] (atanhf): Likewise.
41733         [non-C99-based standards] (cbrtf): Likewise.
41734         [non-C99-based standards] (expm1f): Likewise.
41735         [non-C99-based standards] (ilogbf): Likewise.
41736         [non-C99-based standards] (log1pf): Likewise.
41737         [non-C99-based standards] (logbf): Likewise.
41738         [non-C99-based standards] (nextafterf): Likewise.
41739         [non-C99-based standards] (remainderf): Likewise.
41740         [non-C99-based standards] (rintf): Likewise.
41741         [non-C99-based standards] (scalbf): Likewise.
41742         [non-C99-based standards] (copysignl): Likewise.
41743         [non-C99-based standards] (exp2l): Likewise.
41744         [non-C99-based standards] (log2l): Likewise.
41745         [non-C99-based standards] (modfl): Allow.
41746         [non-C99-based standards] (erfl): Do not allow.
41747         [non-C99-based standards] (erfcl): Likewise.
41748         [non-C99-based standards] (gammal): Likewise.
41749         [non-C99-based standards] (hypotl): Likewise.
41750         [non-C99-based standards] (j0l): Likewise.
41751         [non-C99-based standards] (j1l): Likewise.
41752         [non-C99-based standards] (jnl): Likewise.
41753         [non-C99-based standards] (lgammal): Likewise.
41754         [non-C99-based standards] (tgammal): Likewise.
41755         [non-C99-based standards] (y0l): Likewise.
41756         [non-C99-based standards] (y1l): Likewise.
41757         [non-C99-based standards] (ynl): Likewise.
41758         [non-C99-based standards] (isnanl): Likewise.
41759         [non-C99-based standards] (acoshl): Likewise.
41760         [non-C99-based standards] (asinhl): Likewise.
41761         [non-C99-based standards] (atanhl): Likewise.
41762         [non-C99-based standards] (cbrtl): Likewise.
41763         [non-C99-based standards] (expm1l): Likewise.
41764         [non-C99-based standards] (ilogbl): Likewise.
41765         [non-C99-based standards] (log1pl): Likewise.
41766         [non-C99-based standards] (logbl): Likewise.
41767         [non-C99-based standards] (nextafterl): Likewise.
41768         [non-C99-based standards] (remainderl): Likewise.
41769         [non-C99-based standards] (rintl): Likewise.
41770         [non-C99-based standards] (scalbl): Likewise.
41771         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41772         [non-C99-based standards] (FP_*): Do not allow.
41773         [C99-based standards] (FP_*): Change to
41774         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41775         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41776         allow.
41777         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41778         (SIG_ERR): Likewise.
41779         [X/Open-based standards] (SIG_HOLD): Likewise.
41780         (SIG_IGN): Likewise.
41781         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41782         positive value.
41783         (SIGFPE): Likewise.
41784         (SIGILL): Likewise.
41785         (SIGINT): Likewise.
41786         (SIGSEGV): Likewise.
41787         (SIGTER): Likewise.
41788         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41789         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41790         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41791         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41792         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41793         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41794         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41795         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41796         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41797         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41798         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41799         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41800         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41801         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41802         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41803         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41804         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41805         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41806         [X/Open-based standards] (SIGTRAP): Likewise.
41807         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41808         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41809         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41810         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41811         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41812         allow.
41813
41814 2012-05-08  Ian Wienand  <ianw@vmware.com>
41815
41816         [BZ #14080]
41817         * time/tzset.c (__tzset_parse_tz): Update default rules for
41818         daylight time changes in the Energy Policy Act of 2005.
41819
41820 2012-05-09  Andreas Jaeger  <aj@suse.de>
41821
41822         [BZ #13983]
41823         * elf/ldconfig.c (parse_conf): Change string to make clear that
41824         ldconfig only issued a warning if ld.so.conf does not exist.
41825
41826 2012-05-08  David S. Miller  <davem@davemloft.net>
41827
41828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41829         movxtod instead of popping the value on the stack.
41830
41831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41832
41833 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41834
41835         * config.h.in: Add HAVE_ARM_PCS_VFP.
41836
41837 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41838
41839         [BZ #13979]
41840         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41841         checking but the checks are disabled for any reason.
41842
41843 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41844
41845         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41846         and ELF64_R_TYPE with ELFW(R_TYPE).
41847
41848 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41849
41850         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41851         (ulimit): Likewise.
41852
41853         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41854         (settimeofday): Likewise.
41855
41856 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41857
41858         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41859         a struct th_u2 inside the union, and move tu_block/tu_code into
41860         a new th_u3 union of tu_block/tu_code inside of that.  Move
41861         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41862         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41863         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41864         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41865         (th_stuff): Change to th_u1.tu_stuff.
41866         (th_data): Define.
41867         (th_msg): Change to th_u1.th_u2.tu_data.
41868
41869 2012-05-07  David S. Miller  <davem@davemloft.net>
41870
41871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41872
41873         [BZ #14074]
41874         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41875         (SETUP_PIC_REG): Use it.
41876         (SETUP_PIC_REG_LEAF): Use it.
41877
41878 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41879
41880         [BZ #13885]
41881         [BZ #13923]
41882         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41883         USE_AS_EXPM1L.
41884         (EXPL_FINITE): Likewise.
41885         (FLDLOG): Likewise.
41886         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41887         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41888         e_expl.S.
41889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41890         USE_AS_EXPM1L.
41891         (EXPL_FINITE): Likewise.
41892         (FLDLOG): Likewise.
41893         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41894         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41895         e_expl.S.
41896         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41897         test of -max_value argument for long double.
41898         * sysdeps/i386/fpu/libm-test-ulps: Update.
41899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41900
41901 2012-05-06  David S. Miller  <davem@davemloft.net>
41902
41903         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41904         quad soft-float symbols whose references which are compiler
41905         generated.
41906         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41907
41908 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41909
41910         [BZ #13884]
41911         [BZ #13914]
41912         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41913         USE_AS_EXP10L.
41914         (EXPL_FINITE): Likewise.
41915         (FLDLOG): Likewise.
41916         (c0): Likewise.
41917         (c1): Likewise.
41918         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41919         Adjust comments for base varying.
41920         (__expl_finite): Change alias to EXPL_FINITE.
41921         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41922         e_expl.S.
41923         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41924         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41925         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41926         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41927         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41928         USE_AS_EXP10L.
41929         (EXPL_FINITE): Likewise.
41930         (FLDLOG): Likewise.
41931         (c0): Likewise.
41932         (c1): Likewise.
41933         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41934         Adjust comments for base varying.
41935         (__expl_finite): Change alias to EXPL_FINITE.
41936         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41937         tests for bugs.
41938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41939
41940         [BZ #14064]
41941         * math/libm-test.inc (check_float_internal): Correct ulp
41942         calculation for subnormal expected results.
41943
41944 2012-05-06  Andreas Jaeger  <aj@suse.de>
41945
41946         * Makeconfig (+math-flags): New, set to -frounding-math.
41947         (+cflags): Add +math-flags so that all of glibc gets compiled with
41948         it.
41949
41950         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41951
41952 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41953
41954         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41955         Disable one test.
41956
41957         [BZ #13787]
41958         [BZ #13922]
41959         [BZ #14036]
41960         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41961         (__ieee754_expl): Allow for and saturate large arguments.
41962         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41963         (u_threshold): Likewise.
41964         (__exp): Call __ieee754_exp before checking for overflow and
41965         underflow.
41966         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41967         (u_threshold): Likewise.
41968         (__expf): Call __ieee754_expf before checking for overflow and
41969         underflow.
41970         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41971         (u_threshold): Likewise.
41972         (__expl): Call __ieee754_expl before checking for overflow and
41973         underflow.
41974         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41975         (__ieee754_expl): Allow for and saturate large arguments.
41976         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41977         missing overflow exception on overflow.
41978         (expm1_test): Do not allow missing overflow exception on overflow.
41979
41980         * sysdeps/i386/fpu/e_expl.c: Move to ...
41981         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41982         rather than using inline asm.
41983         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41984         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41985         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41986
41987         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41988         (nice): Likewise.
41989         (poll): Likewise.
41990         (signal): Likewise.
41991         (time): Likewise.
41992         (times): Likewise.
41993
41994 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41995
41996         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41997         sysdeps/unix/common/syscalls.list.
41998         (fchmod): Likewise.
41999         (fchown): Likewise.
42000         (ftruncate): Likewise.
42001         (getrusage): Likewise.
42002         (gettimeofday): Likewise.
42003         (setpgid): Likewise.
42004         (setregid): Likewise.
42005         (setreuid): Likewise.
42006         (sigaction): Likewise.
42007         (truncate): Likewise.
42008         (vhangup): Likewise.
42009         * sysdeps/unix/common/syscalls.list: Remove file.
42010         * sysdeps/unix/bsd/Implies: Don't include unix/common.
42011         * sysdeps/unix/sysv/linux/Implies: Likewise.
42012
42013 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42014
42015         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42017         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42018         Moved to ...
42019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42020         Here.
42021         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42022         to ...
42023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42024         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42025         to ...
42026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42027         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42028         to ...
42029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42030         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42031         to ...
42032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42033         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42034         to ...
42035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42036         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42037         to ...
42038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42039         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42040         to ...
42041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42042         Here.
42043         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42044         to ...
42045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42046         Here.
42047         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42048         to ...
42049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42050         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42051         Moved to ...
42052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42053         Here.
42054         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42055         to ...
42056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42057
42058 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42059
42060         * sysdeps/unix/common/bits/dirent.h: Remove file.
42061         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42062
42063         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42064         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42065         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42066         * sysdeps/unix/bsd/isatty.c: Likewise.
42067         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42068         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42069         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42070
42071 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42072
42073         [BZ #13563]
42074         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42075         long double comparison inaccuracies.
42076         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42078
42079 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42080
42081         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42082         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42083
42084 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42085
42086         [BZ #14049]
42087         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42088         nonzero digits before rounding a hex value.
42089         * stdlib/tst-strtod.c (tests): Add another test.
42090
42091 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42092
42093         * sysdeps/s390/fpu/libm-test-ulps: Update.
42094
42095 2012-05-03  Andreas Jaeger  <aj@suse.de>
42096
42097         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42098         does not get optimized out.
42099         (malloc_opt_barrier): New.
42100
42101 2012-05-03  Andreas Jaeger  <aj@suse.de>
42102             Roland McGrath  <roland@hack.frob.com>
42103
42104         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42105         intermediate file deletion.
42106         (generated): Add .symlist files.
42107
42108 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42109
42110         [BZ #13775]
42111         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42112         Redirect under this condition.
42113         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42114         [__USE_GNU] (__dprintf_chk): Not under this condition.
42115         [__USE_GNU] (__vdprintf_chk): Likewise.
42116         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42117         under this condition.
42118         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42119         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42120         [__USE_XOPEN2K8] (vdprintf): Likewise.
42121         [__USE_GNU] (__dprintf_chk): Not under this condition.
42122         [__USE_GNU] (__vdprintf_chk): Likewise.
42123         [__USE_GNU] (dprintf): Likewise.
42124         [__USE_GNU] (vdprintf): Likewise.
42125
42126 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42127
42128         * elf/Makefile (common-generated): Set this instead of generated for
42129         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42130         $(all-built-dso)-derived lists.
42131
42132 2012-05-03  Andreas Jaeger  <aj@suse.de>
42133
42134         * sysdeps/i386/fpu/libm-test-ulps: Update.
42135
42136         * FAQ: Removed.
42137         * FAQ.in: Likewise.
42138         * scripts/gen-FAQ.pl: Likewise.
42139         * manual/install.texi (Installation): Point to online location of
42140         FAQ.
42141         * Makefile (files-for-dist): Remove FAQ.
42142         (FAQ): Remove.
42143
42144 2012-05-02  Allan McRae  <allan@archlinux.org>
42145
42146         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42147         (LDFLAGS-reldepmod5.so): Likewise.
42148         (LDFLAGS-reldep6mod1.so): Likewise.
42149         (LDFLAGS-reldep6mod4.so): Likewise.
42150         (LDFLAGS-reldep8mod3.so): Likewise.
42151         (LDFLAGS-unload4mod1.so): Likewise.
42152         (LDFLAGS-unload4mod2.so): Likewise.
42153         (LDFLAGS-tst-initorder): Likewise.
42154         (LDFLAGS-tst-initordera2.so): Likewise.
42155         (LDFLAGS-tst-initordera3.so): Likewise.
42156         (LDFLAGS-tst-initordera4.so): Likewise.
42157         (LDFLAGS-tst-initorderb2.so): Likewise.
42158         (LDFLAGS-noload): Likewise.
42159         (LDFLAGS-next): Likewise.
42160         (LDFLAGS-order2mod1.so): Likewise.
42161         (LDFLAGS-order2mod2.so): Likewise.
42162         (LDFLAGS-tst-initorder2): Likewise.
42163         (LDFLAGS-tst-initorder2a.so): Likewise.
42164         (LDFLAGS-tst-initorder2b.so): Likewise.
42165         (LDFLAGS-tst-initorder2c.so): Likewise.
42166         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42167
42168 2012-05-02  David S. Miller  <davem@davemloft.net>
42169
42170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42171
42172 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42173
42174         [BZ #14055]
42175         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42176
42177 2012-05-02  Andreas Jaeger  <aj@suse.de>
42178
42179         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42180         since we manipulate rounding mode.
42181         (CPPFLAGS-test-idouble.c): Likewise.
42182         (CPPFLAGS-test-ifloat.c): Likewise.
42183         (CFLAGS-test-ldouble.c): Likewise.
42184         (CFLAGS-test-double.c): Likewise.
42185         (CFLAGS-test-float.c): Likewise.
42186         (CFLAGS-test-misc.c): Likewise.
42187         (CFLAGS-test-test-fenv.c): Likewise.
42188
42189 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42190
42191         [BZ #2550]
42192         [BZ #2570]
42193         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42194         comparisons to determine direction to adjust input.
42195
42196 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42197
42198         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42199         output to the target.
42200
42201         * scripts/localplt.awk: New file.
42202         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42203         (check-localplt-CFLAGS): Variable removed.
42204         ($(all-built-dso:=.jmprel)): New static pattern rule.
42205         (generated): Add those targets.
42206         (localplt-built-dso): New variable.
42207         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42208
42209         * elf/check-localplt.c: File removed.
42210
42211         * scripts/check-execstack.awk: New file.
42212         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42213         (check-execstack-CFLAGS): Variable removed.
42214         ($(objpfx)check-execstack.h): Target removed.
42215         ($(objpfx)execstack-default): New target.
42216         (generated): Add that instead of check-execstack.h.
42217         ($(all-built-dso:=.phdr)): New static pattern rule.
42218         (generated): Add those targets.
42219         * elf/check-execstack.c: File removed.
42220
42221         * scripts/check-textrel.awk: New file.
42222         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42223         (check-textrel-CFLAGS): Variable removed.
42224         (all-built-dso): Use := to define.o
42225         ($(all-built-dso:=.dyn)): New static pattern rule.
42226         (generated): Add those targets.
42227         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42228         * config.make.in (READELF): New substituted variable.
42229         * elf/check-textrel.c: File removed.
42230
42231 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42232
42233         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42234         allow.
42235         * conform/data/ctype.h-data [C99-based standards] (isblank):
42236         Expect function.
42237         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42238         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42239         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42240         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42241         Specify type.  Require positive value.
42242         (EILSEQ): Likewise.
42243         (ERANGE): Likewise.
42244         [ISO || POSIX] (EILSEQ): Do not expect.
42245         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42246         Specify type.  Require positive value.
42247         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42248         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42249         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42250         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42251         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42252         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42253         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42254         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42255         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42256         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42257         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42258         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42259         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42260         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42261         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42262         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42263         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42264         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42265         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42266         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42267         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42268         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42269         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42270         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42271         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42272         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42273         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42274         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42275         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42276         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42277         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42278         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42279         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42280         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42281         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42282         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42283         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42284         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42285         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42286         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42287         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42288         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42289         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42290         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42291         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42292         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42293         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42294         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42295         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42296         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42297         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42298         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42299         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42300         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42301         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42302         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42303         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42304         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42305         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42306         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42307         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42308         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42309         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42310         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42311         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42312         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42313         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42314         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42315         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42316         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42317         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42318         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42319         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42320         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42321         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42322         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42323         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42324         Require >= 2.
42325         (FLT_ROUNDS): Expect as macro, not constant.
42326         (FLT_MANT_DIG): Use macro-int-constant.
42327         (DBL_MANT_DIG): Likewise.
42328         (LDBL_MANT_DIG): Likewise.
42329         (FLT_DIG): Likewise.
42330         (DBL_DIG): Likewise.
42331         (LDBL_DIG): Likewise.
42332         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42333         (DBL_MIN_EXP): Likewise.
42334         (LDBL_MIN_EXP): Likewise.
42335         (FLT_MAX_EXP): Use macro-int-constant.
42336         (DBL_MAX_EXP): Likewise.
42337         (LDBL_MAX_EXP): Likewise.
42338         (FLT_MAX_10_EXP): Likewise.
42339         (DBL_MAX_10_EXP): Likewise.
42340         (LDBL_MAX_10_EXP): Likewise.
42341         (FLT_MAX): Use macro-constant.
42342         (DBL_MAX): Likewise.
42343         (LDBL_MAX): Likewise.
42344         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42345         (DBL_EPSILON): Likewise.
42346         (LDBL_EPSILON): Likewise.
42347         (FLT_MIN): Likewise.
42348         (DBL_MIN): Likewise.
42349         (LDBL_MIN): Likewise.
42350         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42351         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42352         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42353         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42354         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42355         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42356         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42357         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42358         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42359         [ISO11] (FLT_TRUE_MIN): Likewise.
42360         [ISO11] (LDBL_TRUE_MIN): Likewise.
42361         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42362         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42363         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42364         (SCHAR_MAX): Likewise.
42365         (UCHAR_MAX): Likewise.
42366         (CHAR_MIN): Likewise.
42367         (CHAR_MAX): Likewise.
42368         (MB_LEN_MAX): Use macro-int-constant.
42369         (SHRT_MIN): Use macro-int-constant.  Specify type.
42370         (SHRT_MAX): Likewise.
42371         (USHRT_MAX): Likewise.
42372         (INT_MAX): Likewise.
42373         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42374         bound negative.
42375         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42376         bound with "U".
42377         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42378         bound with "L".
42379         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42380         bound negative.  Suffix upper bound with "L".
42381         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42382         bound with "UL".
42383         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42384         Specify type.
42385         [C99-based standards] (LLONG_MAX): Likewise.
42386         [C99-based standards] (ULLONG_MAX): Likewise.
42387         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42388         == 0.
42389         [ISO11] (max_align_t): Require type.
42390         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42391
42392         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42393         from $CFLAGS, without defining away __attribute__ calls.
42394         (checknamespace): Use $CFLAGS_namespace.
42395
42396         * conform/conformtest.pl (@keywords): Only include C99 keywords
42397         for standards based on C99 or C11.
42398
42399         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42400         Disable tests.
42401         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42402         UNIX98]: Likewise.
42403
42404         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42405         usability of symbols in #if.
42406
42407         * conform/conformtest.pl: If macro or constant types start
42408         "promoted:", expect the symbol to be of the following type
42409         promoted by the integer promotions.
42410
42411         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42412         in one place.  Also handle "macro-constant".
42413
42414         * conform/conformtest.pl: Only accept expected macro values with
42415         "==".  Parse all "macro" lines in one place.
42416         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42417
42418         * conform/conformtest.pl: Handle braced types on "constant" lines
42419         instead of handling "typed-constant".
42420         * conform/data/signal.h-data: Use "constant" instead of
42421         "typed-constant".
42422
42423         * conform/conformtest.pl: Handle "optional-" at start of lines in
42424         one place rather than duplicating several cases.  Handle each
42425         format of "macro" line with initial "optional-".
42426
42427         * conform/conformtest.pl: Only accept expected constant or
42428         optional-constant values with "==".  Parse all "constant" lines in
42429         one place.  Parse all "optional-constant" lines in one place.
42430         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42431         * conform/data/fmtmsg.h-data: Likewise.
42432         * conform/data/netinet/in.h-data: Likewise.
42433         * conform/data/tar.h-data: Likewise.
42434         * conform/data/limits.h-data: Use "==" form on "constant" and
42435         "optional-constant" lines.
42436
42437         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42438         Use -std=c99 for XOPEN2K.
42439         (@knownproblems): Remove.
42440         (newtoken): Don't check %isknown.
42441
42442         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42443         Do not expect macro.
42444         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42445         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42446         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42447         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42448         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42449         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42450         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42451         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42452         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42453         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42454         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42455         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42456         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42457         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42458         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42459         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42460         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42461         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42462         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42463         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42464         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42465         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42466         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42467         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42468         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42469         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42470         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42471         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42472         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42473         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42474         [XPG3] (acosh): Likewise.
42475         [XPG3] (asinh): Likewise.
42476         [XPG3] (atanh): Likewise.
42477         [XPG3] (cbrt): Likewise.
42478         [XPG3] (expm1): Likewise.
42479         [XPG3] (ilogb): Likewise.
42480         [XPG3] (log1p): Likewise.
42481         [XPG3] (logb): Likewise.
42482         [XPG3] (nextafter): Likewise.
42483         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42484         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42485         [XPG3] (remainder): Likewise.
42486         [XPG3] (rint): Likewise.
42487         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42488         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42489         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42490         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42491         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42492         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42493         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42494         [UNIX98 || XOPEN2K] (scalb): Expect.
42495         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42496         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42497         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42498         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42499         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42500         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42501         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42502         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42503         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42504         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42505         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42506         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42507         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42508         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42509         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42510         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42511         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42512         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42513         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42514         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42515         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42516         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42517         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42518         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42519         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42520         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42521         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42522         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42523         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42524         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42525         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42526         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42527         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42528         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42529         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42530         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42531         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42532         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42533         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42534         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42535         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42536         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42537         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42538         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42539         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42540         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42541         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42542         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42543         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42544         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42545         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42546         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42547         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42548         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42549         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42550         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42551         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42552         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42553         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42554         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42555         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42556         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42557         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42558         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42559         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42560         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42561         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42562         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42563         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42564         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42565         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42566         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42567         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42568         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42569         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42570         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42571         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42572         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42573         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42574         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42575         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42576         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42577         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42578         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42579         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42580         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42581         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42582         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42583         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42584         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42585         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42586         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42587         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42588         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42589         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42590         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42591         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42592         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42593         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42594         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42595         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42596         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42597         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42598         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42599         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42600         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42601         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42602         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42603         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42604         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42605         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42606         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42607         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42608         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42609         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42610         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42611         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42612         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42613         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42614         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42615         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42616         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42617         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42618         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42619         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42620         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42621         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42622         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42623         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42624         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42625         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42626         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42627         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42628         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42629         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42630         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42631         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42632
42633         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42634         _XOPEN_SOURCE_EXTENDED for XPG4.
42635
42636         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42637
42638         * Makeconfig (localtime): Remove variable.
42639         (inst_localtime-file): Likewise.
42640
42641 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42642
42643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42644         Update.
42645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42646         Update.
42647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42648         Update.
42649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42650         Update.
42651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42652         Update.
42653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42654         Update.
42655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42656         Update.
42657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42658         Update.
42659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42660         Update.
42661
42662 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42663
42664         [BZ #2550]
42665         [BZ #2570]
42666         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42667         comparisons to determine direction to adjust input.
42668         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42669         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42670         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42671         Likewise.
42672         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42673         Likewise.
42674         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42675         Likewise.
42676         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42677         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42678         Likewise.
42679         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42680         Likewise.
42681         * math/libm-test.inc (nexttoward_test): Add more tests.
42682
42683 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42684
42685         [BZ #14040]
42686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42687         in version GLIBC_2.1, not GLIBC_2.0.
42688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42689         Likewise.
42690
42691 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42692
42693         [BZ #13942]
42694         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42695         (1 - x) * (1 + x).
42696         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42697         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42698         * math/libm-test.inc (acos_test): Add more tests.
42699         (asin_test): Likewise.
42700         * sysdeps/i386/fpu/libm-test-ulps: Update.
42701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42702
42703         [BZ #14034]
42704         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42705         of square root.
42706         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42707         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42708         * math/libm-test.inc (acos_test_tonearest): New function.
42709         (acos_test_towardzero): Likewise.
42710         (acos_test_downward): Likewise.
42711         (acos_test_upward): Likewise.
42712         (asin_test_tonearest): Likewise.
42713         (asin_test_towardzero): Likewise.
42714         (asin_test_downward): Likewise.
42715         (asin_test_upward): Likewise.
42716         (main): Call the new functions.
42717         * sysdeps/i386/fpu/libm-test-ulps: Update.
42718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42719
42720         [BZ #13884]
42721         [BZ #13924]
42722         * math/e_exp10.c: Include <float.h>.
42723         (__ieee754_exp10): Handle underflow here rather than multiplying
42724         large negative argument by M_LN10.
42725         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42726         of __ieee754_expf.
42727         * math/e_exp10l.c: Include <float.h>.
42728         (__ieee754_exp10l): Handle underflow here rather than multiplying
42729         large negative argument by M_LN10l.
42730         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42731         spurious overflow exception on underflow.
42732
42733 2012-04-29  Marek Polacek  <polacek@redhat.com>
42734
42735         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42736         (__fortify_function): New macro.
42737         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42738         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42739         __extern_always_inline.
42740         * libio/bits/stdio2.h: Likewise.
42741         * libio/bits/stdio.h: Likewise.
42742         * string/string.h: Likewise.
42743         * string/bits/string3.h: Likewise.
42744         * include/stdio.h: Likewise.
42745         * stdlib/bits/stdlib.h: Likewise.
42746         * stdlib/stdlib.h: Likewise.
42747         * rt/bits/mqueue2.h: Likewise.
42748         * rt/mqueue.h: Likewise.
42749         * posix/bits/unistd.h: Likewise.
42750         * posix/unistd.h: Likewise.
42751         * io/bits/poll2.h: Likewise.
42752         * io/bits/fcntl2.h: Likewise.
42753         * io/fcntl.h: Likewise.
42754         * io/sys/poll.h: Likewise.
42755         * misc/bits/syslog.h: Likewise.
42756         * misc/bits/syslog-ldbl.h: Likewise.
42757         * misc/sys/syslog.h: Likewise.
42758         * socket/bits/socket2.h: Likewise.
42759         * socket/sys/socket.h: Likewise.
42760         * debug/tst-chk1.c: Likewise.
42761         * wcsmbs/bits/wchar2.h: Likewise.
42762         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42763         * wcsmbs/wchar.h: Likewise.
42764
42765 2012-04-29  Andreas Jaeger  <aj@suse.de>
42766
42767         * Makerules (tests): Remove enable-check-abi protection.
42768         (check-abi-warn): Remove.
42769         (check-abi-%): Remove check-abi-warn usage.
42770
42771         * configure.in: Remove check-abi configure option.
42772         * configure: Regenerated.
42773         * config.make.in (enable-check-abi): Remove.
42774
42775 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42776
42777         [BZ #14033]
42778         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42779         double functions to double *_finite functions.
42780
42781         [BZ #13941]
42782         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42783         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42784         LDBL_MIN_EXP.
42785         * stdio-common/Makefile (tests): Add tst-sprintf3.
42786         * stdio-common/tst-sprintf3.c: New file.
42787
42788         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42789         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42790
42791 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42792
42793         * conform/conformtest.pl: Remove duplicate typed-constant
42794         handling.
42795
42796 2012-04-28  David S. Miller  <davem@davemloft.net>
42797
42798         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42799         (check-abi-%): Remove AWK script prerequisite and explicit
42800         abilist directory.
42801         (check-abi): Rewrite to just diff the symlist with the abilist.
42802         (config-tls, config-abi-config): Delete, no longer used.
42803         (update-abi-%): Remove AWK script and explicit abilist directory.
42804         (update-abi): Rewrite to simply compare and conditionally copy the
42805         symlist and the sysdep abilist file.  Remove update-abi-config
42806         checks.
42807         * abilist/ld.abilist: Remove.
42808         * abilist/libBrokenLocale.abilist: Remove.
42809         * abilist/libanl.abilist: Remove.
42810         * abilist/libcrypt.abilist: Remove.
42811         * abilist/libdl.abilist: Remove.
42812         * abilist/librt.abilist: Remove.
42813         * abilist/libthread_db.abilist: Remove.
42814         * abilist/libutil.abilist: Remove.
42815         * scripts/extract-abilist.awk: Remove.
42816         * scripts/merge-abilist.awk: Remove.
42817         * sysdeps/generic/libcidn.abilist: New file.
42818         * sysdeps/generic/libnss_compat.abilist: New file.
42819         * sysdeps/generic/libnss_db.abilist: New file.
42820         * sysdeps/generic/libnss_dns.abilist: New file.
42821         * sysdeps/generic/libnss_files.abilist: New file.
42822         * sysdeps/generic/libnss_hesiod.abilist: New file.
42823         * sysdeps/generic/libnss_nis.abilist: New file.
42824         * sysdeps/generic/libnss_nisplus.abilist: New file.
42825         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42826         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42827         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42828         file.
42829         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42830         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42831         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42832         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42833         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42834         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42835         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42836         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42837         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42838         file.
42839         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42840         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42841         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42842         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42843         file.
42844         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42845         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42846         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42847         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42848         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42849         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42850         file.
42851         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42852         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42853         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42854         file.
42855         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42857         New file.
42858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42859         New file.
42860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42861         New file.
42862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42863         New file.
42864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42865         New file.
42866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42867         New file.
42868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42869         New file.
42870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42871         New file.
42872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42873         New file.
42874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42875         New file.
42876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42877         New file.
42878         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42879         New file.
42880         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42881         New file.
42882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42883         file.
42884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42885         New file.
42886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42887         New file.
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42889         file.
42890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42891         New file.
42892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42893         New file.
42894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42895         file.
42896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42897         New file.
42898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42899         New file.
42900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42901         New file.
42902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42903         New file.
42904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42905         New file.
42906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42907         New file.
42908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42910         file.
42911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42912         New file.
42913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42914         file.
42915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42916         file.
42917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42918         file.
42919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42920         file.
42921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42922         file.
42923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42924         New file.
42925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42926         file.
42927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42928         file.
42929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42930         New file.
42931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42932         file.
42933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42935         file.
42936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42937         New file.
42938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42939         file.
42940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42941         file.
42942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42943         file.
42944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42945         file.
42946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42947         file.
42948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42949         New file.
42950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42951         file.
42952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42953         file.
42954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42955         New file.
42956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42957         file.
42958         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42959         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42960         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42961         file.
42962         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42963         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42964         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42965         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42966         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42967         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42968         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42969         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42970         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42971         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42974         file.
42975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42976         New file.
42977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42978         file.
42979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42980         file.
42981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42982         file.
42983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42984         file.
42985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42986         file.
42987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42988         New file.
42989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42990         New file.
42991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42992         file.
42993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42994         New file.
42995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42996         file.
42997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42999         file.
43000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43001         New file.
43002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43003         file.
43004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43005         file.
43006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43007         file.
43008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43009         file.
43010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43011         file.
43012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43013         New file.
43014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43015         New file.
43016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43017         file.
43018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43019         New file.
43020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43021         file.
43022
43023 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43024
43025         * conform/conformtest.pl: Fix typo in handling typed-constant from
43026         allow-header.
43027
43028 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43029
43030         * README: Cut down references to pre-2.6 Linux kernels and
43031         Linuxthreads.  Update lists of configurations in libc and ports
43032         and sort alphabetically.  Say "or newer" with Linux kernel version
43033         requirements.
43034
43035         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43036
43037 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43038
43039         [BZ #887]
43040         * math/libm-test.inc (logb_test_downward): New test to expose
43041         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43042         rounding mode.
43043
43044 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43045
43046         [BZ #14027]
43047         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43048         to be done.
43049         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43050         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43051
43052 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43053
43054         * sysdeps/unix/i386/brk.S: Remove file.
43055         * sysdeps/unix/i386/dl-brk.S: Likewise.
43056         * sysdeps/unix/i386/pipe.S: Likewise.
43057         * sysdeps/unix/i386/sigreturn.S: Likewise.
43058         * sysdeps/unix/i386/syscall.S: Likewise.
43059         * sysdeps/unix/i386/vfork.S: Likewise.
43060         * sysdeps/unix/i386/wait.S: Likewise.
43061
43062         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43063         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43064
43065         * configure.in (arm*-none*): Do not allow without
43066         --enable-hacker-mode.
43067         (netbsd*): Remove case setting base_os.
43068         (386bsd*): Likewise.
43069         (freebsd*): Likewise.
43070         (bsdi*): Likewise.
43071         (osf*): Likewise.
43072         (sunos*): Likewise.
43073         (ultrix*): Likewise.
43074         (newsos*): Likewise.
43075         (dynix*): Likewise.
43076         (*bsd*): Likewise.
43077         (sysv*): Likewise.
43078         (isc*): Likewise.
43079         (esix*): Likewise.
43080         (sco*): Likewise.
43081         (minix*): Likewise.
43082         (irix4*): Likewise.
43083         (irix6*): Likewise.
43084         (solaris[2-9]*): Likewise.
43085         (none): Likewise.
43086         * configure: Regenerated.
43087
43088 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43089
43090         [BZ #11521]
43091         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43092         overflow or cancellation in calculating denominator.
43093         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43094         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43095         down expression to avoid unexpected rounding in newer GCCs.
43096         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43097
43098 2012-04-26  David S. Miller  <davem@davemloft.net>
43099
43100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43101         long-double compat symbols.
43102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43115
43116 2012-04-25  David S. Miller  <davem@davemloft.net>
43117
43118         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43119         HWCAP_* values only after the memory barriers have been defined.
43120         (atomic_full_barrier): Define.
43121         (atomic_read_barrier): Define.
43122         (atomic_write_barrier): Define.
43123
43124 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43125
43126         * shlib-versions: Add libgcc_s version information.
43127         * sysdeps/generic/libgcc_s.h: Remove.
43128         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43129         libgcc_s.h.
43130         * sysdeps/gnu/unwind-resume.c: Likewise.
43131         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43132
43133 2012-04-25  David S. Miller  <davem@davemloft.net>
43134
43135         * sysdeps/unix/sparc/brk.S: Delete.
43136         * sysdeps/unix/sparc/dl-brk.S: Delete.
43137         * sysdeps/unix/sparc/pipe.S: Delete.
43138         * sysdeps/unix/sparc/sysdep.S: Delete.
43139         * sysdeps/unix/sparc/sysdep.h: Delete.
43140         * sysdeps/unix/sparc/vfork.S: Delete.
43141         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43142         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43143         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43144         (ret_ERRVAL, r0, r1, MOVE): Define.
43145         (JUMPTARGET): Remove.
43146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43147         sysdeps/unix/sparc/sysdep.h
43148         (ENTRY, END): Remove.
43149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43150
43151 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43152
43153         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43154         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43155         -DIS_IN_build.
43156
43157         * timezone/README: Update upstream location and email address for
43158         tzcode and tzdata.
43159         * timezone/zdump.c: Update from tzcode 2012b.
43160         * timezone/zic.c: Likewise.
43161
43162         * configure.in (libc_cv_as_needed): Remove test.
43163         * configure: Regenerated.
43164         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43165         conditional definition.
43166         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43167         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43168         * config.make.in (have-as-needed): Remove variable.
43169
43170 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43171             Paul Pluzhnikov  <ppluzhnikov@google.com>
43172
43173         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43174         strings correctly.
43175
43176 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43177
43178         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43179         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43180         * sysdeps/sh/strlen.S: Likewise.
43181
43182 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43183
43184         * sysdeps/unix/fork.S: Remove file.
43185         * sysdeps/unix/i386/fork.S: Likewise.
43186         * sysdeps/unix/sparc/fork.S: Likewise.
43187
43188         * sysdeps/unix/system.c: Remove file.
43189         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43190
43191         * sysdeps/unix/getegid.S: Remove file.
43192         * sysdeps/unix/geteuid.S: Likewise.
43193
43194 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43195
43196         * scripts/check-localplt.awk: New file.
43197         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43198         of diff.
43199         * scripts/data/localplt-generic.data: Add a comment.
43200
43201         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43202         NODE when __dir_mkfile failed.
43203         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43204         Reported by Ludovic Courtès <ludo@gnu.org>.
43205
43206 2012-04-24  Andreas Jaeger  <aj@suse.de>
43207
43208         * Makerules (common-clean): Also remove gen-as-const-headers
43209         files.
43210
43211 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43212
43213         * Makerules (native-compile): Do not change working directory for
43214         build.  Use $(OUTPUT_OPTION) in command.
43215         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43216
43217 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43218
43219         [BZ #13886]
43220         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43221         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43222         * math/libm-test.inc (floor_test): Add more tests.
43223         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43224
43225 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43226
43227         * sysdeps/unix/getdents.c: Remove file.
43228         * sysdeps/unix/sysv/getdents.c: Likewise.
43229         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43230
43231         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43232         sysdeps/unix/mman/syscalls.list.
43233         (mmap): Likewise.
43234         (mprotect): Likewise.
43235         (msync): Likewise.
43236         (munmap): Likewise.
43237         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43238         * sysdeps/unix/mman/syscalls.list: Remove.
43239         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43240
43241         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43242         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43243         * configure: Regenerated.
43244         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43245         $(libgcc_s_suffix).
43246         * config.make.in (libgcc_s_suffix): Remove variable.
43247
43248 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43249
43250         * sysdeps/unix/sysv/gethostname.c: Move to ...
43251         * sysdeps/posix/gethostname.c: ... here.
43252
43253         * sysdeps/unix/execve.S: Remove file.
43254
43255         * sysdeps/unix/_exit.S: Remove file.
43256
43257 2012-04-23  Andreas Jaeger  <aj@suse.de>
43258
43259         [BZ #13739]
43260         * manual/Makefile: Remove make dist support, there's no
43261         need for a stand-alone documentation tar ball.
43262         (TEXI2DVI): Define always, it's not in Makeconfig.
43263         (dist): Removed.
43264         (tar-it): Removed.
43265         (edition): Removed.
43266         (glibc-doc-$(edition).tar): Removed
43267         (%.Z): Removed.
43268         (%.gz): Removed.
43269         (%.uu): Removed.
43270         (ETAGS): Remove, it's in Makeconfig.
43271         (move-if-change): Remove, it's in Makeconfig.
43272
43273 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43274
43275         [BZ #13970]
43276         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43277         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43278         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43279         (strtod_l, strtof_l, strtold_l): Remove __wur.
43280         It is not necessarily an error to ignore strtol's return value.
43281         One can reliably look at the stored endptr to decide whether
43282         the number had valid syntax.
43283
43284 2012-04-21  Andreas Jaeger  <aj@suse.de>
43285
43286         [BZ #13739]
43287         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43288
43289 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43290
43291         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43292         * sysdeps/unix/sysv/Versions: Remove file.
43293
43294 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43295
43296         [BZ #13927]
43297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43298
43299 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43300
43301         [BZ #7064]
43302         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43303         version from __vm86.
43304
43305 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43306
43307         * sysdeps/unix/common/lxstat.c: Remove file.
43308         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43309
43310         * sysdeps/unix/sysv/Makefile: Remove file.
43311
43312         * sysdeps/unix/sysv/direct.h: Remove file.
43313
43314         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43315         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43316         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43317         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43318         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43319         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43320         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43321
43322         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43323
43324         * sysdeps/unix/xmknod.c: Remove file.
43325         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43326
43327         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43328
43329         * sysdeps/unix/sysv/i386/time.S: Remove file.
43330
43331         * sysdeps/unix/fxstat.c: Remove file.
43332         * sysdeps/unix/xstat.c: Likewise.
43333         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43334
43335         * sysdeps/unix/sysv/sigaction.c: Remove file.
43336
43337         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43338         (sysdep_headers): Remove variable.
43339         [termio.h not in sysdep_headers] (generated): Likewise.
43340         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43341         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43342         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43343         * sysdeps/unix/sysv/tcflow.c: Likewise.
43344         * sysdeps/unix/sysv/tcflush.c: Likewise.
43345         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43346         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43347         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43348         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43349         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43350
43351         * sysdeps/unix/siglist.c: Remove file.
43352
43353         * sysdeps/unix/getppid.S: Remove file.
43354
43355         * sysdeps/unix/mkdir.c: Remove file.
43356         * sysdeps/unix/rmdir.c: Likewise.
43357
43358 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43359
43360         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43361         ERR_MAX value.
43362         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43363         errlist-compat value.
43364
43365 2012-04-18  David S. Miller  <davem@davemloft.net>
43366
43367         * sysdeps/generic/memcopy.h (reg_char): Delete.
43368         * debug/strcat_chk.c: Use char, not reg_char.
43369         * debug/strcpy_chk.c: Likewise.
43370         * debug/strncat_chk.c: Likewise.
43371         * debug/strncpy_chk.c: Likewise.
43372         * string/memchr.c: Likewise.
43373         * string/memrchr.c: Likewise.
43374         * string/rawmemchr.c: Likewise.
43375         * string/strcat.c: Likewise.
43376         * string/strchr.c: Likewise.
43377         * string/strchrnul.c: Likewise.
43378         * string/strcmp.c: Likewise.
43379         * string/strcpy.c: Likewise.
43380         * string/strncat.c: Likewise.
43381         * string/strncmp.c: Likewise.
43382         * string/strncpy.c: Likewise.
43383
43384 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43385
43386         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43387         __builtin_memcopy is called when src and dest ranges are known to not
43388         overlap.
43389
43390 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43391
43392         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43393         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43394         fwd_align_merge macro call.
43395         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43396         bwd_align_merge macro call.
43397         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43398
43399 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43400
43401         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43402         bwd_align_merge macros.
43403         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43404         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43405         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43406
43407 2012-04-18  David S. Miller  <davem@davemloft.net>
43408
43409         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43410
43411 2012-04-18  Andreas Jaeger  <aj@suse.de>
43412
43413         [BZ# 6794]
43414         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43415         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43416         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43417
43418         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43419         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43420         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43421
43422         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43423         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43424         Adjust for changed ldbl-128 files.
43425
43426         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43427         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43428         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43429
43430 2012-04-17  David S. Miller  <davem@davemloft.net>
43431
43432         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43433
43434 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43435
43436         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43437         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43438         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43439         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43440         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43441         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43442
43443 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43444
43445         [BZ #6794]
43446         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43447         * math/libm-test.inc: Add ilogb errno and exception tests.
43448         * math/w_ilogb.c: New file: ilogb wrapper.
43449         * math/w_ilogbf.c: New file: ilogbf wrapper.
43450         * math/w_ilogbl.c: New file: ilogbl wrapper.
43451         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43452         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43453         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43454         exception being thrown with 0.0 as argument.
43455         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43456         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43457         exception being thrown with 0.0 as argument.
43458         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43459         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43460         exception being thrown with 0.0 as argument.
43461         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43462         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43463         exception being thrown with 0.0 as argument.
43464         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43465         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43466         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43467         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43468         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43469         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43470         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43471         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43472         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43473
43474 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43475
43476         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43477         with altivec.
43478
43479 2012-04-16  Marek Polacek  <polacek@redhat.com>
43480
43481         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43482
43483 2012-04-16  Marek Polacek  <polacek@redhat.com>
43484
43485         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43486         operands of fdivp instruction.
43487
43488 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43489
43490         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43491         * elf/tst-auditmod3b.c: Likewise.
43492         * elf/tst-auditmod4b.c: Likewise.
43493         * elf/tst-auditmod5b.c: Likewise.
43494         * elf/tst-auditmod6b.c: Likewise.
43495         * elf/tst-auditmod6c.c: Likewise.
43496         * elf/tst-auditmod7b.c: Likewise.
43497         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43498         * sysdeps/x86_64/preconfigure.in: Likewise.
43499         * sysdeps/x86_64/preconfigure: Regenerated.
43500
43501 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43502
43503         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43504         __ILP32__.
43505
43506 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43507
43508         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43509         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43510
43511 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43512
43513         [BZ #13973]
43514         * locale/iso-639.def: Fix gl language name. Spotted by
43515         Yaron Shahrabani.
43516
43517 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43518
43519         [BZ #2074]
43520         * libio/libio.h (__io_write_fn): Update comment.
43521
43522 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43523
43524         [BZ #2074]
43525         * stdio.texi (Hook Functions): The user provided writer function
43526         is not allowed to return -1.
43527
43528 2012-04-11  David S. Miller  <davem@davemloft.net>
43529
43530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43531
43532 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43533
43534         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43535         Add a leading slash to rtkaio.
43536
43537 2012-04-11  Jim Meyering  <meyering@redhat.com>
43538
43539         [BZ #11959]
43540         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43541         It is not necessarily an error to ignore fwrite's return
43542         value.  One can reliably use ferror to test for errors after
43543         the fact.
43544
43545 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43546
43547         * bits/types.h (__snseconds_t): New type.
43548         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43549
43550         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43551         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43552         (__SNSECONDS_T_TYPE): Likewise.
43553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43554         (__SNSECONDS_T_TYPE): Likewise.
43555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43556         (__SNSECONDS_T_TYPE): Likewise.
43557
43558 2012-04-10  Andreas Jaeger  <aj@suse.de>
43559
43560         [BZ #2636]
43561         * manual/time.texi (Processor Time): Return type of times is
43562         elapsed real time since an arbitrary point in the past.
43563         (CPU Time): Move CLK_TCK from here...
43564         (Processor Time): ...to here.  Correct description.
43565         * manual/conf.texi (Constants for Sysconf): Correct description of
43566         _SC_CLK_TCK.
43567
43568 2012-04-10  David S. Miller  <davem@davemloft.net>
43569
43570         [BZ #13967]
43571         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43572         where the is a gap between DT_REL(A) and DT_JMPREL.
43573
43574 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43575
43576         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43577         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43578         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43579
43580 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43581
43582         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43583         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43584         (dl_main): Handle --inhibit-cache.
43585         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43586         _dl_inhibit_cache.
43587         * elf/dl-load.c (_dl_map_object): Use it.
43588         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43589
43590 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43591
43592         [BZ #13872]
43593         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43594         (__ieee754_powl): Saturate large exponents rather than testing for
43595         overflow of y*log2(x).
43596         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43597         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43598         exceptions.
43599
43600         [BZ #11521]
43601         * math/s_ctan.c: Include <float.h>.
43602         (__ctan): Avoid internal overflow or cancellation in calculating
43603         denominator.
43604         * math/s_ctanf.c: Likewise.
43605         * math/s_ctanl.c: Likewise.
43606         * math/s_ctanh.c: Likewise.
43607         * math/s_ctanhf.c: Likewise.
43608         * math/s_ctanhl.c: Likewise.
43609         * math/libm-test.inc (ctan_test): Add more tests.
43610         (ctanh_test): Likewise.
43611         * sysdeps/i386/fpu/libm-test-ulps: Update.
43612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43613
43614 2012-04-09  Andreas Jaeger  <aj@suse.de>
43615
43616         [BZ #6894]
43617         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43618         is an optional BSD extension.
43619
43620         [BZ #10254]
43621         * manual/stdio.texi (Opening Streams): Document additional fopen
43622         parameters.
43623
43624 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43625
43626         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43627         %eax without telling the compiler.
43628
43629 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43630
43631         [BZ # 13963]
43632         * manual/install.texi: Use sourceware.org.
43633
43634 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43635
43636         [BZ #13873]
43637         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43638         (__ieee754_pow): Generate overflow and underflow using huge*huge
43639         and tiny*tiny rather than just returning constant infinity or zero
43640         for large exponents.
43641         * math/libm-test.inc (pow_test): Require overflow exceptions for
43642         applicable cases of large exponents.
43643
43644         [BZ #706]
43645         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43646         (__ieee754_pow): Use iterative multiplication algorithm only for
43647         integer exponents with absolute value below 1024.  Check for odd
43648         integer exponents when using algorithm for real exponents.
43649         * math/libm-test.inc (pow_test): Add more tests.
43650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43651
43652 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43653
43654         [BZ #13705]
43655         * math/libm-test.inc (exp_test): Do not allow overflow exception
43656         on underflow test.
43657
43658 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43659
43660         [BZ #13705]
43661         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43662         instead of __kernel_standard_f.
43663
43664 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43665
43666         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43667         * sysdeps/x86_64/memset_chk.S: Likewise.
43668
43669 2012-04-08  Andreas Jaeger  <aj@suse.de>
43670
43671         [BZ #10153]
43672         * manual/startup.texi (Environment Access): Describe return value
43673         for putenv and setenv.
43674
43675         [BZ #6895]
43676         * manual/filesys.texi (Directory Entries): Add description for
43677         DT_LNK.
43678
43679         [BZ #6890]
43680         * manual/filesys.texi (Directory Entries): Clarify that it's file
43681         system not operating system in the description of DT_UNKNOWN.
43682
43683         [BZ #6578]
43684         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43685
43686 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43687
43688         [BZ #6649]
43689         * manual/llio.texi (Opening and Closing Files): Add cross
43690         reference to explain mode argument.
43691
43692 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43693
43694         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43695         * sysdeps/x86_64/memset_chk.S: Likewise.
43696
43697 2012-04-07  David S. Miller  <davem@davemloft.net>
43698
43699         * elf/elf.h (R_SPARC_WDISP10): Define.
43700         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43701         R_SPARC_SIZE32.
43702         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43703         R_SPARC_SIZE64 and R_SPARC_H34.
43704
43705 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43706
43707         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43708         conditions and remove no longer applicable assertion.
43709
43710 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43711
43712         * bits/byteswap.h: Include <features.h>.
43713         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43714         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43715
43716 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43717
43718         * bits/byteswap.h (__bswap_16): Removed.
43719         Include <bits/byteswap-16.h> to get __bswap_16.
43720         * sysdeps/i386/bits/byteswap.h: Likewise.
43721         * sysdeps/s390/bits/byteswap.h: Likewise.
43722         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43723         * bits/byteswap-16.h: New file.
43724         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43725         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43726         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43727         * string/Makefile (headers): Add bits/byteswap-16.h.
43728
43729 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43730
43731         [BZ #13895]
43732         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43733         extra indirection.
43734         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43735         * nss/tst-nss-static.c: New.
43736
43737 2012-04-06  Robert Millan  <rmh@gnu.org>
43738
43739         [BZ #6486]
43740         * manual/llio.texi (File Position Primitive): lseek
43741         refers to WHENCE when it really means OFFSET.
43742
43743 2012-04-06  Andreas Jaeger  <aj@suse.de>
43744
43745         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43746         strncmp declarations.
43747
43748         * abilist/libc.abilist: Add __poll and __ppoll.
43749
43750 2012-04-05  David S. Miller  <davem@davemloft.net>
43751
43752         * scripts/check-local-headers.sh: Accept a host triplet in the
43753         path matched by the exclude regexp.
43754
43755         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43756         definition.
43757         * sysdeps/powerpc/powerpc32/dl-machine.h
43758         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43759         * sysdeps/s390/s390-32/dl-machine.h
43760         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43761         * sysdeps/sparc/sparc32/dl-machine.h
43762         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43763         * sysdeps/sparc/sparc64/dl-machine.h
43764         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43765
43766         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43767         lazy binding.
43768         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43769         undefined symbol errors.
43770
43771         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43772         DT_NEEDED entries.
43773
43774 2012-04-05  Michael Matz  <matz@suse.de>
43775
43776         [BZ #13592]
43777         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43778
43779 2012-04-05  Andreas Jaeger  <aj@suse.de>
43780
43781         [BZ #13908]
43782         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43783         comment.
43784
43785 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43786
43787         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43788         which ROUND is no valid rounding mode.
43789
43790 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43791
43792         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43793         read again.
43794         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43795
43796 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43797
43798         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43799         an exception using FPU order intentionally.
43800
43801 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43802
43803         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43804         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43805         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43806         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43807
43808 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43809
43810         [BZ #12340]
43811         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43812         EINVAL when BUFLEN is too smal.
43813
43814 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43815
43816         [BZ #13553]
43817         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43818         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43819
43820 2012-04-03  Andreas Jaeger  <aj@suse.de>
43821
43822         [BZ #13938]
43823         * manual/setjmp.texi (System V contexts): Fix sentence.
43824
43825         [BZ #13926]
43826         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43827         New macro for this case.
43828         [!__GNUC__] (__bswap_64): New inline function for this case.
43829         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43830         * bits/byteswap.h: Likewise.
43831         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43832         ull, guard with __GLIBC_HAVE_LONG_LONG.
43833
43834         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43835         __GLIBC_HAVE_LONG_LONG.
43836
43837         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43838         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43839
43840 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43841
43842         [BZ #13691]
43843         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43844         inptr and inend, rather than using last_ch.
43845
43846 2012-04-02  David S. Miller  <davem@davemloft.net>
43847
43848         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43849         * stdio-common/printf-parse.h (read_int): Change return type to
43850         'int', return -1 on INT_MAX overflow.
43851         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43852         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43853         overflows INT_MAX.  Check for overflow of in-format-string precision
43854         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43855         SIZE_MAX not INT_MAX for integer overflow test.
43856         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43857         skip the construct in the format string but do not record anything.
43858         * stdio-common/bug22.c: Adjust to test both width/prevision
43859         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43860         explicitly for proper errno values.
43861
43862 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43863
43864         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43865         CHAR_MAX.
43866         * string/test-strcmp.c [! WIDE]: Likewise.
43867         * time/tst-mktime2.c: Likewise for INT_MAX.
43868         * string/test-string.h: #include <sys/param.h> for MIN.
43869
43870         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43871         * sysdeps/i386/init-first.c (init): Likewise.
43872         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43873         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43874         * sysdeps/sh/init-first.c (init): Likewise.
43875
43876 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43877
43878         * po/ru.po: Update from translation team.
43879         * po/vi.po: Likewise.
43880
43881 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43882
43883         * resolv/nss_dns/dns-host.c: Merge copyright years.
43884
43885 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43886
43887         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43888         Optimize memcpy with prefetch if
43889         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43890         src, dst pointers have unequal 16 byte alignments.
43891
43892 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43893
43894         [BZ #13928]
43895         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43896         from a CNAME entry and return the minimum ttl for the query.
43897         (gaih_getanswer_slice): Likewise.
43898
43899 2012-03-30  Jeff Law  <law@redhat.com>
43900
43901         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43902         due to long keys.
43903         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43904         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43905
43906         * resolv/nss_dns/dns-host.c: Update copyright year.
43907
43908 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43909
43910         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43911         requests to save a system call.  Fix check that all bytes are sent.
43912
43913         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43914         comments for sendmmsg.
43915
43916 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43917
43918         [BZ #13691]
43919         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43920         with only 1 character between 0x0041 and 0x01b0.
43921         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43922         * wcsmbs/tst-mbsnrtowcs.c: New file.
43923
43924 2012-03-29  David S. Miller  <davem@davemloft.net>
43925
43926         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43927         small copies by hand.
43928
43929 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43930
43931         [BZ #13761]
43932         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43933         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43934         group memberships.
43935
43936 2012-03-28  David S. Miller  <davem@davemloft.net>
43937
43938         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43939         that branches into memcpy.
43940         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43942         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43943         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43944         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43945         bits.
43946         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43947         implementation too.
43948         * sysdeps/sparc/mempcpy.S: New file.
43949
43950         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43951         the IFUNC routine in the libc case.
43952         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43953
43954         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43955         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43956         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43957         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43958         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43959         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43960         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43961         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43962
43963         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43964         loop to 256 bytes instead of 64 bytes and fix test signedness.
43965
43966         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43967         * sysdeps/sparc/sparc32/Makefile: rather than here...
43968         * sysdeps/sparc/sparc64/Makefile: and here.
43969
43970 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43971
43972         * malloc/mallocbug.c: Avoid warnings about unused variables.
43973
43974 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43975
43976         [BZ #13760]
43977         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43978         in the right place. Discard and retry query if response is
43979         larger than input buffer size.
43980
43981 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43982
43983         [BZ #369]
43984         [BZ #2678]
43985         [BZ #3866]
43986         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43987         x for large integer exponent.
43988         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43989         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43990         sign of result as needed afterwards.
43991         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43992         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43993         result for underflowing pow the same as for overflow.
43994         (__kernel_standard_l): Handle powl overflow and underflow here
43995         rather than calling __kernel_standard.
43996         * math/libm-test.inc (pow_test): Add more tests.
43997
43998         [BZ #3868]
43999         [BZ #13879]
44000         [BZ #13910]
44001         [BZ #13911]
44002         [BZ #13912]
44003         [BZ #13913]
44004         [BZ #13915]
44005         [BZ #13916]
44006         [BZ #13917]
44007         [BZ #13918]
44008         [BZ #13919]
44009         [BZ #13920]
44010         [BZ #13921]
44011         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44012         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44013         (__kernel_standard_l): New function.
44014         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44015         __kernel_standard.
44016         * math/w_acosl.c (__acosl): Likewise.
44017         * math/w_asinl.c (__asinl): Likewise.
44018         * math/w_atan2l.c (__atan2l): Likewise.
44019         * math/w_atanhl.c (__atanhl): Likewise.
44020         * math/w_coshl.c (__coshl): Likewise.
44021         * math/w_exp10l.c (__exp10l): Likewise.
44022         * math/w_exp2l.c (__exp2l): Likewise.
44023         * math/w_fmodl.c (__fmodl): Likewise.
44024         * math/w_hypotl.c (__hypotl): Likewise.
44025         * math/w_j0l.c (__j0l, __y0l): Likewise.
44026         * math/w_j1l.c (__j1l, __y1l): Likewise.
44027         * math/w_jnl.c (__jnl, __ynl): Likewise.
44028         * math/w_lgammal.c (__lgammal): Likewise.
44029         * math/w_log10l.c (__log10l): Likewise.
44030         * math/w_log2l.c (__log2l): Likewise.
44031         * math/w_logl.c (__logl): Likewise.
44032         * math/w_powl.c (__powl): Likewise.
44033         * math/w_remainderl.c (__remainderl): Likewise.
44034         * math/w_scalbl.c (sysv_scalbl): Likewise.
44035         * math/w_sinhl.c (__sinhl): Likewise.
44036         * math/w_sqrtl.c (__sqrtl): Likewise.
44037         * math/w_tgammal.c (__tgammal): Likewise.
44038         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44039         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44040         * math/libm-test.inc (acos_test): Add more tests.
44041         (acosh_test): Likewise.
44042         (asin_test): Likewise.
44043         (atanh_test): Likewise.
44044         (exp_test): Likewise.
44045         (exp10_test): Likewise.
44046         (exp2_test): Likewise.
44047         (expm1_test): Likewise.
44048         (lgamma_test): Likewise.
44049         (log_test): Likewise.
44050         (log10_test): Likewise.
44051         (log1p_test): Likewise.
44052         (log2_test): Likewise.
44053         (pow_test): Do not allow some spurious overflow exceptions.
44054         (sqrt_test): Add more tests.
44055         (tgamma_test): Likewise.
44056         (y0_test): Likewise.
44057         (y1_test): Likewise.
44058         (yn_test): Likewise.
44059
44060 2012-03-27  Anton Blanchard  <anton@samba.org>
44061
44062         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44063         MAP_HUGETLB.
44064         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44065         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44066         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44067
44068 2012-03-27  David S. Miller  <davem@davemloft.net>
44069
44070         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44071
44072         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44073         have-as-vis3 check.
44074
44075 2012-03-27  Andreas Jaeger  <aj@suse.de>
44076
44077         * sysdeps/x86_64/elf/configure.in: Moved to ...
44078         * sysdeps/x86_64/configure.in: ... here.
44079         * sysdeps/x86_64/elf/start.S: Moved to ...
44080         * sysdeps/x86_64/start.S: ... here.
44081         * sysdeps/x86_64/elf/configure: Delete.
44082
44083         * sysdeps/x86_64/configure.in: Merge contents from
44084         sysdeps/i386/configure.in (without i686 check).
44085
44086         * sysdeps/i386/elf/Versions: Merge into ...
44087         * sysdeps/i386/Versions: ... this.
44088         * sysdeps/i386/elf/Versions: Delete file.
44089         * sysdeps/i386/elf/start.S: Moved to ...
44090         * sysdeps/i386/start.S: ...here.
44091         * sysdeps/i386/elf/configure.in: Merge into...
44092         * sysdeps/i386/configure.in: ...here.
44093         * sysdeps/i386/elf/configure.in: Delete file.
44094         * sysdeps/i386/elf/configure: Delete file.
44095
44096         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44097         * debug/backtracesyms.c: ... here.
44098         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44099         * debug/backtracesymsfd.c: ... here.
44100         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44101         * sysdeps/generic/ifunc-sel.h: ... here.
44102
44103         * sysdeps/unix/i386/start.c: Delete file.
44104         * sysdeps/unix/sparc/start.c: Delete file.
44105         * sysdeps/unix/start.c: Delete file.
44106
44107         * sysdeps/sh/elf/configure.in: Moved to ...
44108         * sysdeps/sh/configure.in: ... here.
44109         * sysdeps/sh/elf/start.S: Moved to ...
44110         * sysdeps/sh/start.S: ... here.
44111         * sysdeps/sh/elf/configure: Delete file.
44112
44113         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44114         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44115         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44116         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44117         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44118         * sysdeps/powerpc/powerpc64/start.S: here.
44119         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44120         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44121         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44122         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44123         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44124
44125         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44126         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44127         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44128         * sysdeps/powerpc/powerpc32/start.S: ... here.
44129         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44130         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44131         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44132
44133         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44134         * sysdeps/powerpc/ifunc-sel.h: ... here.
44135         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44136         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44137
44138         * sysdeps/sparc/elf/configure.in: Moved to ...
44139         * sysdeps/sparc/configure.in: ... here.
44140         * sysdeps/sparc/elf/configure: Delete file.
44141         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44142         * sysdeps/sparc/sparc32/start.S: ... here.
44143         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44144         * sysdeps/sparc/sparc64/start.S: ... here.
44145         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44146         * sysdeps/sparc/sparc32/Makefile: ... this.
44147         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44148         * sysdeps/sparc/sparc64/Makefile: ... this.
44149
44150         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44151         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44152         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44153         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44154         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44155         * sysdeps/s390/s390-32/setjmp.S: ... here.
44156         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44157         * sysdeps/s390/s390-32/configure.in: ... here.
44158         * sysdeps/s390/s390-32/elf/configure: Delete file.
44159         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44160         * sysdeps/s390/s390-32/start.S: ... here.
44161
44162         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44163         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44164         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44165         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44166         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44167         * sysdeps/s390/s390-64/setjmp.S: ... here.
44168         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44169         * sysdeps/s390/s390-64/configure.in: ... here
44170         * sysdeps/s390/s390-64/elf/configure: Delete file.
44171         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44172         * sysdeps/s390/s390-64/start.S: ... here.
44173         * sysdeps/s390/s390-64/elf/configure: Delete.
44174
44175         * configure.in: Remove support for elf directories in sysdeps.
44176
44177         * configure: Regenerated.
44178         * sysdeps/i386/configure: Regenerated.
44179         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44180         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44181         * sysdeps/s390/s390-32/configure: Regenerated.
44182         * sysdeps/s390/s390-64/configure: Regenerated.
44183         * sysdeps/sh/configure: Regenerated.
44184         * sysdeps/sparc/configure: Regenerated.
44185         * sysdeps/x86_64/configure: Regenerated.
44186
44187 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44188
44189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44190
44191         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44192         denormal result into account.
44193
44194 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44195
44196         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44197         Reported by Allan McRae <allan@archlinux.org>.
44198
44199 2012-03-23  Jeff Law  <law@redhat.com>
44200
44201         * nss/getnssent.c (__nss_getent): Fix typo.
44202
44203 2012-03-23  David S. Miller  <davem@davemloft.net>
44204
44205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44206
44207 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44208
44209         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44210         to pad to uint64_t for each field.
44211         (dl_tls_index): Replace unsigned long with uint64_t.
44212
44213 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44214         Paul Pluzhnikov  <ppluzhnikov@google.com>
44215
44216         [BZ #6528]
44217         * grp/Makefile (otherlibs): Don't set it.
44218         * inet/Makefile (otherlibs): Likewise.
44219         * login/Makefile (otherlibs): Likewise.
44220         * nscd/Makefile (otherlibs): Likewise.
44221         * posix/Makefile (otherlibs): Likewise.
44222         * pwd/Makefile (otherlibs): Likewise.
44223         * rt/Makefile (otherlibs): Likewise.
44224         * sunrpc/Makefile (otherlibs): Likewise.
44225         * nss/Makefile (otherlibs): Likewise.
44226         Add libnss_files to routines and static-only-routines.
44227         ($(objpfx)getent): Remove rule.
44228         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44229         static-only-routines.
44230
44231 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44232
44233         [BZ #13892]
44234         * math/s_cexp.c: Include <float.h>.
44235         (__cexp): Handle exp result overflowing not necessarily
44236         overflowing both real and imaginary parts of result.
44237         * math/s_cexpf.c: Likewise.
44238         * math/s_cexpl.c: Likewise.
44239         * math/libm-test.inc (cexp_test): Add more tests.
44240         * sysdeps/i386/fpu/libm-test-ulps: Update.
44241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44242
44243 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44244
44245         * include/link.h (ELFW): New macro.
44246         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44247         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44248
44249 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44250
44251         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44252         with uint64_t.
44253
44254 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44255
44256         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44257         declaration.
44258         (struct La_x32_retval): Likewise.
44259
44260 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44261
44262         * sysdeps/x86_64/preconfigure.in: New file.
44263         * sysdeps/x86_64/preconfigure: New generated file.
44264
44265 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44266
44267         [BZ #13824]
44268         * math/e_exp2l.c: Include <float.h>.
44269         (__ieee754_exp2l): Handle overflow and underflow cases
44270         separately.  Only pass fractional part of argument to
44271         __ieee754_expl.
44272         * math/libm-test.inc (exp2_test): Add more tests.
44273
44274         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44275         negating x to take absolute value.
44276         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44277         Likewise.
44278         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44279         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44280         Likewise.
44281         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44282         computing low part if x was negated.
44283         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44284
44285 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44286
44287         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44288         la_x32_gnu_pltexit.
44289         (pltexit): Cast int_retval to ptrdiff_t.
44290         * elf/tst-auditmod3b.c: Likewise.
44291         * elf/tst-auditmod4b.c: Likewise.
44292         * elf/tst-auditmod5b.c: Likewise.
44293         * elf/tst-auditmod6b.c: Likewise.
44294         * elf/tst-auditmod6c.c: Likewise.
44295         * elf/tst-auditmod7b.c: Likewise.
44296
44297         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44298         and x32_gnu_pltexit.
44299
44300         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44301         __ELF_NATIVE_CLASS.
44302         (La_x32_regs): New macro.
44303         (La_x32_retval): Likewise.
44304         (la_x32_gnu_pltenter): New function prototype.
44305         (la_x32_gnu_pltexit): Likewise.
44306
44307 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44308
44309         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44310         exponent.
44311
44312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44313
44314         * configure.in (libc_cv_cc_nofma): Check for option to disable
44315         generation of FMA instructions.
44316         * configure: Regenerate.
44317         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44318         * sysdeps/ieee754/dbl-64/Makefile: New file.
44319         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44320         Remove brandred-fma4.
44321         (CFLAGS-brandred-fma4.c): Remove.
44322         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44323         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44324         define.
44325         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44326         define.
44327
44328 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44329
44330         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44331         LLONG_MAX != LONG_MAX.
44332         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44333         (_fitoa_word): Likewise.
44334         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44335         LLONG_MAX != LONG_MAX.
44336         * stdio-common/_itowa.h: Include <_itoa.h>.
44337         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44338         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44339         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44340         only if not defined.
44341         (_ITOA_WORD_TYPE): Likewise.
44342         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44343         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44344
44345 2012-03-21  David S. Miller  <davem@davemloft.net>
44346
44347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44348
44349 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44350
44351         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44352         of x86_64 when setting libc_cv_slibdir, libdir and
44353         libc_cv_localedir.
44354         * sysdeps/unix/sysv/linux/configure: Regenerated.
44355
44356 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44357
44358         * manual/lang.texi (Old Varargs): Remove section.
44359         (How Variadic): Update menu.
44360         (va_start): Do not mention varargs.h.
44361
44362 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44363             Joseph Myers  <joseph@codesourcery.com>
44364
44365         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44366         link test.
44367         * configure: Regenerated.
44368
44369 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44370
44371         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44372         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44373         conformtest.pl
44374
44375 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44376
44377         * NOTES: Remove.
44378         * Makefile (files-for-dist): Remove NOTES.
44379         (NOTES): Remove rule.
44380         * README: Don't refer to NOTES.
44381         * manual/creature.texi: Don't include macros.texi.
44382         * manual/intro.texi (creature.texi): Remove comment referring to
44383         NOTES.
44384
44385         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44386         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44387         * configure: Regenerated.
44388         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44389         LIBC_TRY_CC_OPTION.
44390         (libc_cv_as_i686): Likewise.
44391         (libc_cv_cc_avx): Likewise.
44392         (libc_cv_cc_sse2avx): Likewise.
44393         (libc_cv_cc_fma4): Likewise.
44394         (libc_cv_cc_novzeroupper): Likewise.
44395         * sysdeps/i386/configure: Regenerated.
44396
44397         [BZ #13883]
44398         * sysdeps/i386/fpu/s_cexp.S: Remove.
44399         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44400         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44401         * math/libm-test.inc (cexp_test): Add more tests.
44402         * sysdeps/i386/fpu/libm-test-ulps: Update.
44403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44404
44405 2012-03-21  Allan McRae  <allan@archlinux.org>
44406
44407         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44408
44409 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44410
44411         [BZ #13871]
44412         * math/w_exp2.c: Do not include <float.h>.
44413         (o_threshold, u_threshold): Remove.
44414         (__exp2): Calculate result before checking finiteness and calling
44415         __kernel_standard.
44416         * math/w_exp2f.c: Likewise.
44417         * math/w_exp2l.c: Likewise.
44418         * math/libm-test.inc (exp2_test): Require overflow exception for
44419         1e6 input.
44420
44421         [BZ #3866]
44422         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44423         range of signed 64-bit integers before using fistpll.  Remove
44424         checks for whether integers fit in mantissa bits.
44425         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44426         the range of signed 32-bit integers before using fistpl.  Remove
44427         checks for whether integers fit in mantissa bits.
44428         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44429         (__ieee754_powl): Test for y outside the range of signed 64-bit
44430         integers before using fistpll.  Reduce 64-bit values to 63-bit
44431         ones as needed.
44432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44433         divide-by-zero is raised for zero to large negative powers.
44434         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44435         (__ieee754_powl): Test for y outside the range of signed 64-bit
44436         integers before using fistpll.  Reduce 64-bit values to 63-bit
44437         ones as needed.
44438         * math/libm-test.inc (pow_test): Add more tests.
44439
44440 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44441
44442         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44443         <stdio-common/_itoa.h>.
44444         * debug/segfault.c: Likewise.
44445         * elf/dl-cache.c: Likewise.
44446         * elf/dl-minimal.c: Likewise.
44447         * elf/dl-misc.c: Likewise.
44448         * elf/dl-sysdep.c: Likewise.
44449         * elf/dl-version.c: Likewise.
44450         * elf/rtld.c: Likewise.
44451         * hurd/hurdsock.c: Likewise.
44452         * hurd/lookup-retry.c: Likewise.
44453         * malloc/malloc.c: Likewise.
44454         * malloc/mtrace.c: Likewise.
44455         * nscd/nscd_getgr_r.c: Likewise.
44456         * nscd/nscd_getpw_r.c: Likewise.
44457         * nscd/nscd_getserv_r.c: Likewise.
44458         * posix/getopt_init.c: Likewise.
44459         * posix/wordexp.c: Likewise.
44460         * stdio-common/_itoa.c: Likewise.
44461         * stdio-common/printf_fphex.c: Likewise.
44462         * stdio-common/vfprintf.c: Likewise.
44463         * string/_strerror.c: Likewise.
44464         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44465         * sysdeps/i386/i686/hp-timing.h: Likewise.
44466         * sysdeps/mach/_strerror.c: Likewise.
44467         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44468         * sysdeps/mach/hurd/sethostid.c: Likewise.
44469         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44470         * sysdeps/mach/xpg-strerror.c: Likewise.
44471         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44473         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44474         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44475         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44476         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44477         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44478         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44479         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44480         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44481         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44482         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44483         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44484         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44485         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44486         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44487         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44488         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44489         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44490         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44491         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44492
44493         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44494
44495         * stdio-common/_itoa.h: Moved to ...
44496         * sysdeps/generic/_itoa.h: Here.
44497
44498         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44499
44500         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44501         instead of "_itoa.h" and "_itowa.h".
44502         * stdio-common/vfprintf.: Likewise.
44503
44504 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44505
44506         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44507         <bits/wordsize.h>.
44508         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44509         (__signbit): Likwise.
44510         (llrintf): Likwise.
44511         (llrint): Likwise.
44512
44513 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44514
44515         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44516         __WORDSIZE != 64.
44517
44518 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44519
44520         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44521         OVERFLOW_EXCEPTION_OK.
44522         * math/libm-test.inc ("Philosophy"): Update comment about
44523         exception testing.
44524         (OVERFLOW_EXCEPTION): Define.
44525         (OVERFLOW_EXCEPTION_OK): Likewise.
44526         (INVALID_EXCEPTION_OK): Renumber.
44527         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44528         (IGNORE_ZERO_INF_SIGN): Likewise.
44529         (test_exceptions): Handle FE_OVERFLOW.
44530         (exp10_test): Expect overflow exceptions.
44531         (exp2_test): Likewise.
44532         (expm1_test): Likewise.
44533         (nextafter_test): Likewise.
44534         (pow_test): Likewise.
44535         (scalbn_test): Likewise.
44536         (scalbln_test): Likewise.
44537
44538 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44539
44540         * sysdeps/x86_64/bits/atomic.h
44541         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44542         64bit integer.
44543         (atomic_exchange_acq): Likewise.
44544         (__arch_exchange_and_add_body): Likewise.
44545         (__arch_add_body): Likewise.
44546         (atomic_add_negative): Likewise.
44547         (atomic_add_zero): Likewise.
44548
44549 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44550
44551         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44552         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44553
44554 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44555
44556         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44557         Check __x86_64__ instead of __WORDSIZE.
44558
44559 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44560
44561         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44562
44563 2012-03-19  David S. Miller  <davem@davemloft.net>
44564
44565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44566
44567         * sysdeps/sparc/fpu/fenv_private.h: New file.
44568         * sysdeps/sparc/fpu/math_private.h: Use it.
44569         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44570         Remove.
44571         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44572         (libc_feholdexcept_setroundl): Remove.
44573         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44574         Remove.
44575         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44576         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44577
44578 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44579
44580         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44581         int64_t instead of long int.
44582         (INSERT_WORDS64): Likwise.
44583
44584 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44585
44586         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44587         _Unwind_GetCFA return to _Unwind_Ptr first.
44588
44589 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44590
44591         [BZ #13629]
44592         * math/s_clog.c: Include <float.h>.
44593         (__clog): Scale large or subnormal inputs.
44594         * math/s_clogf.c: Likewise.
44595         * math/s_clogl.c: Likewise.
44596         * math/s_clog10.c: Include <float.h>.
44597         (M_LOG10_2): Define.
44598         (__clog10): Scale large or subnormal inputs.
44599         * math/s_clog10f.c: Likewise.
44600         * math/s_clog10l.c: Likewise.
44601         * math/libm-test.inc (clog_test): Add more tests.
44602         (clog10_test): Likewise.
44603         * sysdeps/i386/fpu/libm-test-ulps: Update.
44604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44605
44606         [BZ #11451]
44607         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44608         x and y.
44609         * math/libm-test.inc (atan2_test): Add another test.
44610
44611         * Makerules (common-objdir-compile): Remove.
44612         * sysdeps/unix/Makefile (config-generated): Do not add
44613         $(unix-generated) to variable.
44614         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44615         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44616         Remove rule.
44617         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44618         Likewise.
44619         [generic bits/local_lim.h] (before-compile): Do not append to
44620         variable.
44621         [generic bits/local_lim.h] (common-generated): Likewise.
44622         [generic sys/param.h] (before-compile): Do not append to variable.
44623         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44624         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44625         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44626         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44627         include.
44628         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44629         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44630         [generic sys/param.h] ($(addprefix
44631         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44632         [generic sys/param.h] (common-generated): Do not append to
44633         variable.
44634         [generic sys/param.h] (sysdep_headers): Likewise.
44635         [generic bits/errno.h] (before-compile): Do not append to
44636         variable.
44637         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44638         rule.
44639         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44640         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44641         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44642         [generic bits/errno.h] (common-generated): Do not append to
44643         variable.
44644         [generic bits/ioctls.h] (before-compile): Do not append to
44645         variable.
44646         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44647         rule.
44648         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44649         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44650         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44651         rule.
44652         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44653         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44654         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44655         [generic bits/ioctls.h] (common-generated): Do not append to
44656         variable.
44657         [generic sys/syscall.h] (syscall.h): Remove variable.
44658         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44659         rule.
44660         [generic sys/syscall.h] (before-compile): Do not append to
44661         variable.
44662         [generic sys/syscall.h] (common-generated): Likewise.
44663         * sysdeps/unix/errnos-tmpl.c: Remove file.
44664         * sysdeps/unix/errnos.awk: Likewise.
44665         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44666         * sysdeps/unix/ioctls.awk: Likewise.
44667         * sysdeps/unix/mk-local_lim.c: Likewise.
44668         * sysdeps/unix/snarf-ioctls: Likewise.
44669
44670 2012-03-19  Richard Henderson  <rth@twiddle.net>
44671
44672         * sysdeps/i386/fpu/fenv_private.h: New file.
44673         * sysdeps/i386/fpu/math_private.h: Use it.
44674         (math_opt_barrier, math_force_eval): Remove.
44675         (libc_feholdexcept_setround_53bit): Remove.
44676         (libc_feupdateenv_53bit): Remove.
44677         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44678         (math_opt_barrier, math_force_eval): Remove.
44679         (libc_feholdexcept): Remove.
44680         (libc_feholdexcept_setround): Remove.
44681         (libc_fetestexcept, libc_fesetenv): Remove.
44682         (libc_feupdateenv_test): Remove.
44683         (libc_feupdateenv, libc_feholdsetround): Remove.
44684         (libc_feresetround): Remove.
44685
44686         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44687         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44688
44689         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44690         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44691         (libc_feupdateenv_testl): New.
44692         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44693         (libc_feupdateenv_testf): New.
44694         (libc_feupdateenv): Use libc_feupdateenv_test.
44695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44696         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44697
44698         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44699         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44700         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44701         (libc_feresetround_noex): New.
44702         (libc_feresetround_noexf): New.
44703         (libc_feresetround_noexl): New.
44704         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44705         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44706         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44707         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44708         SET_RESTORE_ROUND.
44709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44711         (__cos): Likewise.
44712         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44713         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44714         SET_RESTORE_ROUND_NOEX.
44715         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44716         SET_RESTORE_ROUND_NOEXF.
44717         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44718         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44719         (libc_feholdsetroundf): New.
44720         (libc_feresetround, libc_feresetroundf): New.
44721
44722         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44723         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44724         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44725
44726         * sysdeps/generic/math_private.h: Include <fenv.h>.
44727         (default_libc_feholdexcept): New.
44728         (default_libc_feholdexcept_setround): New.
44729         (default_libc_fesetenv, default_libc_feupdateenv): New.
44730         (libc_feholdexcept): Only define if undefined.
44731         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44732         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44733         (libc_feholdexcept_setroundl): Likewise.
44734         (libc_feholdexcept_setround_53bit): Likewise.
44735         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44736         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44737         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44738         (libc_feupdateenv_53bit): Likewise.
44739         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44740         (libc_feholdexcept): Convert from macro to inline function.
44741         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44742         (libc_fesetenv, libc_feupdateenv): Likewise.
44743
44744         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44745         not previously defined.
44746         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44747         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44748         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44749         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44750         * sysdeps/ieee754/flt-32/math_private.h: New file.
44751         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44752         math_private.h below SET_FLOAT_WORD.
44753         (__isnan, __isinf_ns, __finite): Remove.
44754         (__isnanf, __isinf_nsf, __finitef): Remove.
44755
44756 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44757
44758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44759
44760 2012-03-17  David S. Miller  <davem@davemloft.net>
44761
44762         [BZ #6471]
44763         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44764         for 2.16.
44765
44766 2012-03-16  David S. Miller  <davem@davemloft.net>
44767
44768         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44769         warnings.
44770
44771         [BZ #6471]
44772         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44773         properly.
44774         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44775         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44776         sysdep_routines when subdir is sysvipc.
44777         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44778         __getshmlba helper.
44779
44780         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44781
44782 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44783
44784         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44785         [__LP64__].
44786
44787 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44788
44789         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44790         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44791         (__lround): Renamed to ...
44792         (__llround): This.  Replace long int with long long int.
44793         Define lround functions as aliases of llround functions.
44794         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44795
44796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44797
44798         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44799         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44800         adresses to uintptr_t.  Replace "long int" and "unsigned long
44801         int" with "greg_t" on va_arg.
44802
44803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44804
44805         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44806         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44807
44808         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44809         Move e_machine check before EI_CLASS check.  Handle x32
44810         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44811         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44812         SKIP_EM_IA_64 and include
44813         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44814
44815         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44816         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44817         (add_system_dir): New macro.
44818
44819         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44820         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44821
44822 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44823
44824         [BZ #2551]
44825         [BZ #2552]
44826         [BZ #2553]
44827         [BZ #2554]
44828         [BZ #2562]
44829         [BZ #2563]
44830         [BZ #2565]
44831         [BZ #2566]
44832         [BZ #2576]
44833         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44834         (y0): Likewise.
44835         * math/w_j0f.c (j0f): Likewise.
44836         (y0f): Likewise.
44837         * math/w_j0l.c (__j0l): Likewise.
44838         (__y0l): Likewise.
44839         * math/w_j1.c (j1): Likewise.
44840         (y1): Likewise.
44841         * math/w_j1f.c (j1f): Likewise.
44842         (y1f): Likewise.
44843         * math/w_j1l.c (__j1l): Likewise.
44844         (__y1l): Likewise.
44845         * math/w_jn.c (jn): Likewise.
44846         (yn): Likewise.
44847         * math/w_jnf.c (jnf): Likewise.
44848         (ynf): Likewise.
44849         * math/w_jnl.c (__jnl): Likewise.
44850         (__ynl): Likewise.
44851         * math/libm-test.inc (j0_test): Add more tests.
44852         (j1_test): Likewise.
44853         (jn_test): Likewise.  Add trailing semicolon to existing test.
44854         (y0_test): Likewise.
44855         (y1_test): Likewise.
44856         * sysdeps/i386/fpu/libm-test-ulps: Update.
44857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44858
44859         [BZ #13851]
44860         [BZ #13854]
44861         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44862         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44863         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44864         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44865         (__tanl): Set errno for infinite argument.
44866         * sysdeps/i386/fpu/mptan.c: Remove.
44867         * sysdeps/i386/fpu/s_tan.S: Likewise.
44868         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44869         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44870         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44871         * math/libm-test.inc (tan_test): Add more tests and enable more
44872         tests for double and long double.
44873         * sysdeps/i386/fpu/libm-test-ulps: Update.
44874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44875
44876 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44877
44878         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44879         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44880
44881 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44882
44883         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44884         * configure.in: Use it for both main tree and add-ons.
44885         * configure: Regenerated.
44886
44887 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44888
44889         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44890
44891 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44892
44893         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44894         in comment.
44895
44896         [BZ #13851]
44897         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44898         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44899         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44900         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44901         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44902         infinite argument.
44903         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44904         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44905         != 0 for prec == 2.
44906         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44907         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44908         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44909         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44910         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44911         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44912         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44913         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44914         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44915         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44916         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44917         * math/libm-test.inc (cos_test): Add more tests and enable more
44918         tests for long double.
44919         (sin_test): Likewise.
44920         (sincos_test): Likewise.
44921         * sysdeps/i386/fpu/libm-test-ulps: Update.
44922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44923
44924 2012-03-16  David S. Miller  <davem@davemloft.net>
44925
44926         * sysdeps/sparc/fpu/math_private.h: New file.
44927
44928 2012-03-15  David S. Miller  <davem@davemloft.net>
44929
44930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44931         file.
44932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44934         file.
44935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44941         sysdep routines.
44942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44943
44944         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44945         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44946
44947         * sysdeps/sparc/sparc-ifunc.h: New file.
44948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44949         sparc-ifunc.h
44950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44952         Likewise.
44953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44954         Likewise.
44955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44959         Likewise.
44960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44965         Likewise.
44966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44967         Likewise.
44968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44974         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44975         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44986         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44987         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44988         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44989         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44990         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44991         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44992
44993 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44994
44995         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44996         scaling.
44997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44998
44999 2012-03-15  Andreas Jaeger  <aj@suse.de>
45000
45001         [BZ #13852]
45002         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45003         ieee754/flt-32 implementation for sin, cos and sincos.
45004         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45005         * sysdeps/i386/fpu/s_cosf.S: Likewise.
45006         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45007         * sysdeps/i386/fpu/s_sinf.S: Likewise.
45008         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45009         ieee754/flt-32 implementation for tan.
45010
45011         * math/libm-test.inc (cos_test): Enable some large input tests for
45012         float as well
45013         (sin_test): Likewise.
45014         (sincos_test): Likewise.
45015         (tan_test): Add tests for large input.
45016
45017         * sysdeps/i386/fpu/libm-test-ulps: Update.
45018
45019 2012-03-15  Andreas Jaeger  <aj@suse.de>
45020
45021         [BZ #13658]
45022         * math/libm-test.inc (cos_test): Add more test cases.
45023         (sin_test): Likewise.
45024         (sincos_test): Likewise.
45025
45026 2012-03-15  Andreas Jaeger  <aj@suse.de>
45027
45028         [BZ #13837]
45029         * math/libm-test.inc (cos_test): Add a test case for large input
45030         value.
45031         (sin_test): Likewise.
45032         (sincos_test): Likewise.
45033
45034 2012-03-15  Andreas Jaeger  <aj@suse.de>
45035             Joseph Myers  <joseph@codesourcery.com>
45036
45037         [BZ #13658]
45038         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45039         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45040         * sysdeps/i386/fpu/branred.c: Likewise.
45041         * sysdeps/i386/fpu/dosincos.c: Likewise.
45042         * sysdeps/i386/fpu/mpa.c: Likewise.
45043         * sysdeps/i386/fpu/s_cos.S: Likewise.
45044         * sysdeps/i386/fpu/s_sin.S: Likewise.
45045         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45046         * sysdeps/i386/fpu/sincos32.c: Likewise.
45047
45048         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45049         Define.
45050         (libc_feupdateenv_53bit): Define.
45051         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45052         Define.
45053         (libc_feupdateenv_53bit): Define.
45054
45055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45056         53 bit (without extend i386 double precision).
45057
45058         * math/libm-test.inc (sincos_test): Add tests for large input.
45059         (sin): Likewise.
45060         (cos): Likewise.
45061
45062         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45063
45064 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45065
45066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45067
45068 2012-03-15  David S. Miller  <davem@davemloft.net>
45069
45070         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45071         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45072         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45073         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45086         file.
45087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45089         file.
45090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45092         file.
45093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45095         file.
45096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45097         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45098         fmin/fmax sysdep routines.
45099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45100
45101 2012-03-14  David S. Miller  <davem@davemloft.net>
45102
45103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45107         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45108         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45109         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45110         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45123         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45124         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45125         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45126         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45127         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45128         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45129         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45130         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45131         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45132         routines.
45133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45134         file.
45135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45137         file.
45138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45140         file.
45141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45143         file.
45144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45146         file.
45147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45149         file.
45150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45151         file.
45152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45153         file.
45154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45155         file.
45156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45157         New file.
45158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45159         file.
45160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45161         file.
45162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45164         file.
45165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45167         file.
45168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45170         file.
45171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45173         VIS3 routines.
45174
45175         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45176         New file.
45177
45178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45179
45180         * sysdeps/sparc/configure.in: New file.
45181         * sysdeps/sparc/configure: Generate.
45182         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45183         * configure: Regenerate.
45184         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45185         * config.make.in (have-as-vis3): New.
45186         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45187         available use -Av9d instead of -Av9a.
45188         * sysdeps/sparc/sparc64/Makefile: Likewise.
45189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45191         New file.
45192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45193         file.
45194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45195         New file.
45196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45197         file.
45198         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45199         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45203
45204         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45205         fzeros/fnegs to load 0x80000000 into a float register instead of
45206         using the stack.
45207         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45208
45209 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45210
45211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45212         bits/syscall.h.
45213         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45214         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45215         ($(inst_includedir)/bits/syscall.h): Remove rule.
45216         ($(objpfx)bits/syscall.d): Include instead of
45217         $(objpfx)syscall-list.d.
45218         (generated): Change syscall-list.h and syscall-list.d to
45219         bits/syscall.h and bits/syscall.d.
45220
45221 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45222
45223         [BZ #13846]
45224         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45225
45226 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45227
45228         [BZ #13841]
45229         * math/s_csqrt.c: Include <float.h>.
45230         (__csqrt): Scale large or subnormal inputs.
45231         * math/s_csqrtf.c: Likewise.
45232         * math/s_csqrtl.c: Likewise.
45233         * math/libm-test.inc (csqrt_test): Add more tests.
45234         * sysdeps/i386/fpu/libm-test-ulps: Update.
45235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45236
45237         [BZ #13840]
45238         * math/libm-test.inc (hypot_test): Add more tests.
45239
45240 2012-03-13  David S. Miller  <davem@davemloft.net>
45241
45242         [BZ #13840]
45243         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45244         double-precision for the calculation instead of scaling.
45245
45246 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45247
45248         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45249         manipulate bits before adding and subtracting TWO52[sx].
45250         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45251         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45252         Likewise.
45253         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45254
45255 2012-03-13  David S. Miller  <davem@davemloft.net>
45256
45257         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45258         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45259         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45260         rtld-global-offsets.h
45261         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45262
45263         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45264         large parameters.
45265
45266         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45267
45268         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45269         'err' in the ifdef scope in which it is actually used.
45270
45271         * nss/nss_db/db-init.c: Include string.h
45272
45273 2012-03-12  David S. Miller  <davem@davemloft.net>
45274
45275         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45276         masking out of the most significant byte of random value used.
45277         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45278         Fix coding style in previous change.
45279
45280         * sysdeps/unix/sysv/linux/kernel-features.h
45281         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45282         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45283         expression.
45284         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45285         later.
45286
45287 2012-03-11  David S. Miller  <davem@davemloft.net>
45288
45289         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45290         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45291         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45292         for 'resultvar' otherwise things get truncated on 64-bit.
45293
45294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45295         Fix masking out of the most significant byte of random value used.
45296
45297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45298
45299 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45300
45301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45302
45303 2012-03-09  David S. Miller  <davem@davemloft.net>
45304
45305         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45306         variables with appropriate CPP guards.
45307         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45308         from the frame pointer, not the stack pointer.  Correct layout
45309         comments.  Fix test on resulting framesize and the management of
45310         the outregs buffer for pltexit.  Preserve floating point return
45311         values across _dl_call_pltexit call.
45312         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45313         framesize and the management of the outregs buffer for pltexit.
45314         Preserve floating point return values across _dl_call_pltexit
45315         call.
45316         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45317         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45318         (la_sparc64_gnu_pltexit): New functions.
45319         (print_exit): Fix format string for return register value.
45320
45321 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45322
45323         * sunrpc/Makefile (others): Add rpcgen.
45324         ($(objpfx)rpcgen): Remove special build rule and dependency on
45325         libc.
45326         * sunrpc/rpcgen.c: New file.
45327
45328 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45329
45330         [BZ #13673]
45331         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45332         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45333         * sysdeps/i386/crti.S: Likewise.
45334         * sysdeps/i386/crtn.S: Likewise.
45335         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45336         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45337         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45338         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45339         * sysdeps/sh/crti.S: Likewise.
45340         * sysdeps/sh/crtn.S: Likewise.
45341         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45342
45343         [BZ #13673]
45344         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45345         with URL.
45346         * locale/programs/locfile-kw.gperf: Likewise.
45347         * locale/programs/charmap-kw.h: Regenerated.
45348         * locale/programs/locfile-kw.h: Likewise.
45349
45350         [BZ #13673]
45351         * intl/plural.y: Replace FSF snail mail address with URL.
45352         * intl/plural.c: Regenerated.
45353
45354 2012-03-09  Richard Henderson  <rth@twiddle.net>
45355
45356         * include/math_private.h: Remove file.
45357         * math/math_private.h: Move file ...
45358         * sysdeps/generic/math_private.h: ... here.
45359
45360         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45361         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45362         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45363
45364         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45365         and <math_private.h>.
45366         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45367         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45368         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45369         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45370         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45371         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45372         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45374         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45375         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45377         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45378         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45380         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45381         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45382         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45383         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45384         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45385         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45387         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45388         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45390         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45391         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45392         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45396         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45398         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45399         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45400         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45401         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45402         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45403         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45404         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45405         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45406         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45407         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45408         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45409         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45410         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45411         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45412         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45413         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45414         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45415         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45416         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45417         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45418         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45419         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45420         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45421         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45422         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45423         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45424         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45425         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45426         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45427         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45429         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45430         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45434         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45435         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45436         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45437         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45438         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45439         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45440         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45445         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45447         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45449         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45451         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45453         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45454         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45455         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45456         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45457         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45458         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45459         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45460         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45461         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45462         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45463         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45464         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45465         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45466         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45467         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45468         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45469         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45470         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45471         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45472         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45473         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45474         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45475         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45476         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45477         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45478         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45479         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45480         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45481         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45482         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45483         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45484         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45485         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45486         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45487         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45488         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45489         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45490         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45491         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45492         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45493         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45494         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45495         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45496         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45497         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45498         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45499         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45500         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45501         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45502         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45503         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45504         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45505         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45506         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45507         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45508         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45509         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45510         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45511         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45512         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45513         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45514         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45515         * sysdeps/ieee754/k_standard.c: Likewise.
45516         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45517         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45518         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45519         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45520         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45521         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45522         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45523         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45524         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45525         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45526         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45527         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45528         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45529         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45530         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45531         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45532         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45533         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45534         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45535         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45536         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45537         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45538         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45539         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45540         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45541         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45542         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45543         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45544         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45545         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45546         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45547         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45548         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45549         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45550         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45551         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45552         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45553         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45554         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45555         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45556         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45557         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45558         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45559         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45560         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45561         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45562         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45563         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45564         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45565         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45568         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45569         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45570         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45571         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45572         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45573         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45574         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45575         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45576         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45577         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45578         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45579         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45582         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45583         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45584         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45585         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45588         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45589         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45590         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45591         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45592         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45593         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45594         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45595         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45596         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45597         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45598         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45599         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45600         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45601         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45602         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45603         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45604         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45606         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45607         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45608         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45609         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45611         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45612         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45613         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45614         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45615         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45617         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45619         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45620         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45623         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45624         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45625         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45626         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45627         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45628         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45629         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45630         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45631         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45632         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45633         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45634         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45635         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45636         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45637         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45638         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45639         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45640         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45641         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45643         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45646         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45647         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45648         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45649         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45650         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45651         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45652         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45653         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45654         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45655         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45656         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45657         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45658         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45659         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45660         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45661         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45662         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45663         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45664         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45665         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45666         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45667         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45668         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45669         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45670         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45671         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45672         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45673         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45674         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45675         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45676         * sysdeps/ieee754/s_lib_version.c: Likewise.
45677         * sysdeps/ieee754/s_matherr.c: Likewise.
45678         * sysdeps/ieee754/s_signgam.c: Likewise.
45679         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45680         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45681         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45682         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45683         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45684         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45685         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45686         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45687         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45688         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45689         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45690         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45691         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45692         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45693         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45694         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45695         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45696         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45697         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45699         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45700
45701 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45702
45703         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45704         * sunrpc/rpc_main.c: Likewise.
45705         * sunrpc/rpc_svcout.c: Likewise.
45706
45707 2012-03-09  David S. Miller  <davem@davemloft.net>
45708
45709         * include/math_private.h: New file.
45710
45711 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45712
45713         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45714         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45715         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45716         from <bits/socket_type.h>.
45717         (enum __socket_type): Don't define here.
45718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45720         bits/socket_type.h.
45721
45722         [BZ #13566]
45723         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45724         checking __USE_GNU.
45725
45726         * Makerules ($(inst_includedir)/%.h): New rule.
45727         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45728         (install-others): Remove variable setting.
45729         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45730
45731 2012-03-08  Richard Henderson  <rth@twiddle.net>
45732
45733         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45734         from macro to inline function; merge with the
45735         !__LIBC_INTERNAL_MATH_INLINES version.
45736         (__ieee754_sqrtf): Likewise.
45737
45738         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45739         to inline function.
45740         (__rintf, __floor, __floorf): Likewise.
45741
45742         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45743         macro to inline function.
45744         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45745
45746         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45747         not <math/math_private.h>.
45748
45749 2012-03-08  David S. Miller  <davem@davemloft.net>
45750
45751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45752         copyright year.
45753         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45754
45755 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45756
45757         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45758         normalization.
45759         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45760         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45761
45762 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45763
45764         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45765         be defined individually, they must be defined as a block.  Define
45766         S for printing a string instead of hidint the different by using a
45767         macro for adding the 'l'.
45768         * stdio-common/tst-fphex-wide.c: Adjust.
45769
45770 2012-03-07  Marek Polacek  <polacek@redhat.com>
45771
45772         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45773
45774 2012-03-08  Marek Polacek  <polacek@redhat.com>
45775
45776         [BZ #13806]
45777         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45778         * stdio-common/tst-fphex.c: Define a few macros to make the
45779         test reusable.  Use them.
45780         * stdio-common/tst-fphex-wide.c: New file.
45781
45782 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45783
45784         [BZ #6911]
45785         * manual/macros.texi (gnusystems): New macro.
45786         (nongnusystems): Likewise.
45787         (gnulinuxhurdsystems): Likewise.
45788         (gnuhurdsystems): Likewise..
45789         (gnulinuxsystems): Likewise.
45790         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45791         variants of the GNU system, not "GNU system".
45792         * manual/conf.texi: Likewise.
45793         * manual/errno.texi: Likewise.  Update example of errno macro
45794         expansion.
45795         * manual/filesys.texi: Likewise.
45796         (getumask): Document as specific to GNU/Hurd.
45797         * manual/install.texi: Likewise.  Reword some references to
45798         GNU/Linux.
45799         * manual/intro.texi: Likewise.
45800         * manual/io.texi: Likewise.
45801         (File Name Portability): Detail which constraints are inapplicable
45802         to all GNU systems and which are only inapplicable to GNU/Hurd.
45803         * manual/job.texi: Likewise.
45804         * manual/llio.texi: Likewise.
45805         (O_NOCTTY): Document as present on GNU/Linux.
45806         * manual/maint.texi: Likewise.
45807         * manual/memory.texi: Likewise.
45808         * manual/pattern.texi: Likewise.
45809         * manual/pipe.texi: Likewise.
45810         * manual/process.texi: Likewise.
45811         * manual/resource.texi: Likewise.
45812         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45813         child on GNU/Hurd.
45814         * manual/setjmp.texi: Likewise.
45815         * manual/signal.texi: Likewise.
45816         * manual/startup.texi: Likewise.
45817         * manual/stdio.texi: Likewise.
45818         * manual/terminal.texi: Likewise.
45819         (ONLCR): Document as POSIX.
45820         (OXTABS): Document availability on GNU/Linux as XTABS.
45821         (ONOEOT): Document availability separately from other bits.
45822         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45823         * manual/time.texi: Likewise.
45824         * manual/users.texi: Likewise.
45825         * INSTALL: Regenerated.
45826         * sysdeps/gnu/errlist.c: Regenerated.
45827
45828         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45829         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45830         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45831         puts.
45832         * configure: Regenerated.
45833
45834 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45835
45836         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45837         default includes instead of AC_HEADER_CHECK.
45838         * sysdeps/i386/configure: Regenerated.
45839
45840         [BZ #10716]
45841         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45842         * math/s_cacoshf.c (__cacoshf): Likewise.
45843         * math/s_cacoshl.c (__cacoshl): Likewise.
45844         * math/s_casinh.c (__casinh): Set signs of result from argument.
45845         * math/s_casinhf.c (__casinhf): Likewise.
45846         * math/s_casinhl.c (__casinhl): Likewise.
45847         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45848         (casinh_test): Add more tests.
45849         * sysdeps/i386/fpu/libm-test-ulps: Update.
45850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45851
45852 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45853
45854         * po/zh_TW.po: Update from translation team.
45855
45856         * login/Makefile (distribute): Remove variable.
45857         * catgets/Makefile: Likewise.
45858         * mach/Makefile: Likewise.
45859         * malloc/Makefile: Likewise.
45860         * misc/Makefile: Likewise.
45861         * iconv/Makefile: Likewise.
45862         * nscd/Makefile: Likewise.
45863         * hurd/Makefile: Likewise.
45864         * manual/Makefile: Likewise.
45865         * locale/Makefile: Likewise.
45866         * intl/Makefile: Likewise.
45867         * conform/Makefile: Likewise.
45868         * nss/Makefile: Likewise.
45869         * time/Makefile: Likewise.
45870         * soft-fp/Makefile: Likewise.
45871         * dirent/Makefile: Likewise.
45872         * gmon/Makefile: Likewise.
45873         * po/Makefile: Likewise.
45874         * rt/Makefile: Likewise.
45875         * socket/Makefile: Likewise.
45876         * math/Makefile: Likewise.
45877         * signal/Makefile: Likewise.
45878         * debug/Makefile: Likewise.
45879         * elf/Makefile: Likewise.
45880         * timezone/Makefile: Likewise.
45881         * stdlib/Makefile: Likewise.
45882         * iconvdata/Makefile: Likewise.
45883         * sunrpc/Makefile: Likewise.
45884         * io/Makefile: Likewise.
45885         * argp/Makefile: Likewise.
45886         * inet/Makefile: Likewise.
45887         * hesiod/Makefile: Likewise.
45888         * grp/Makefile: Likewise.
45889         * csu/Makefile: Likewise.
45890         * wctype/Makefile: Likewise.
45891         * crypt/Makefile: Likewise.
45892         * libio/Makefile: Likewise.
45893         * string/Makefile: Likewise.
45894         * nis/Makefile: Likewise.
45895         * resolv/Makefile: Likewise.
45896         * stdio-common/Makefile: Likewise.
45897         * wcsmbs/Makefile: Likewise.
45898         * dlfcn/Makefile: Likewise.
45899         * posix/Makefile: Likewise.
45900
45901         [BZ #6959]
45902         * timezone/Makefile: Don't install timezone files, just the programs
45903         and scripts.
45904
45905 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45906
45907         * nss/databases.def: Add missing gshadow entry.
45908
45909         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45910
45911 2012-03-06  Marek Polacek  <polacek@redhat.com>
45912
45913         [BZ #13726]
45914         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45915         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45916         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45917         * stdio-common/tst-long-dbl-fphex.c: New file.
45918
45919 2012-03-06  David S. Miller  <davem@davemloft.net>
45920
45921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45922         (set_obp_int): New function.
45923         (get_obp_int): New function.
45924         (__get_clockfreq_via_dev_openprom): Likewise.
45925         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45926         Avoid unused variable warnings on 'val' and use builtin_expect.
45927         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45928         __builtin_expect.
45929         (INLINE_CLONE_SYSCALL): Likewise.
45930
45931 2012-03-05  David S. Miller  <davem@davemloft.net>
45932
45933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45934
45935 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45936
45937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45938
45939         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45940         only for |x| >= 40.
45941         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45942
45943 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45944
45945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45946         Replace gettimeofday with __vdso_gettimeofday.
45947
45948         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45949         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45950         __vdso_clock_gettime and __vdso_getcpu.
45951
45952         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45953         time with __vdso_time.
45954
45955 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45956
45957         * manual/lang.texi (size_t): Note types to which size_t may be
45958         equivalent with the GNU C Library, but do not describe when
45959         differences between them are significant.
45960
45961 2012-03-05  Andreas Jaeger  <aj@suse.de>
45962
45963         * sysdeps/i386/fpu/libm-test-ulps: Update.
45964
45965 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45966
45967         [BZ #3976]
45968         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45969         (__ieee754_pow): Save and restore rounding mode and use
45970         round-to-nearest for main computations.
45971         * math/libm-test.inc (pow_test_tonearest): New function.
45972         (pow_test_towardzero): Likewise.
45973         (pow_test_downward): Likewise.
45974         (pow_test_upward): Likewise.
45975         (main): Call the new functions.
45976         * sysdeps/i386/fpu/libm-test-ulps: Update.
45977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45978
45979         [BZ #3976]
45980         * math/libm-test.inc (cosh_test_tonearest): New function.
45981         (cosh_test_towardzero): Likewise.
45982         (cosh_test_downward): Likewise.
45983         (cosh_test_upward): Likewise.
45984         (sinh_test_tonearest): Likewise.
45985         (sinh_test_towardzero): Likewise.
45986         (sinh_test_downward): Likewise.
45987         (sinh_test_upward): Likewise.
45988         (main): Call the new functions.
45989         * sysdeps/i386/fpu/libm-test-ulps: Update.
45990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45991
45992 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45993
45994         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45995         default stack guard is set in last bytes.
45996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45997
45998 2012-03-05  Kees Cook  <keescook@chromium.org>
45999
46000         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46001
46002         [BZ #13656]
46003         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46004         possibly allocate from heap instead of stack.
46005         * stdio-common/bug-vfprintf-nargs.c: New file.
46006         * stdio-common/Makefile (tests): Add nargs overflow test.
46007
46008 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
46009
46010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46011
46012 2012-03-03  Marek Polacek  <polacek@redhat.com>
46013
46014         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46015         * math/math_private.h: Likewise.
46016         * stdlib/tst-strtod.c: Likewise.
46017         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46018         * sysdeps/x86_64/bits/atomic.h: Likewise.
46019
46020 2012-03-02  David S. Miller  <davem@davemloft.net>
46021
46022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46026         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46027         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46028         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46029         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46030
46031 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46032
46033         [BZ #13792]
46034         * manual/examples/README: New file, says the example source files
46035         can be used under GPL>=2.
46036         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46037         line containing just "*/".
46038         * manual/examples/add.c: Add copyright header (GPL>=2).
46039         * manual/examples/argp-ex1.c: Likewise.
46040         * manual/examples/argp-ex2.c: Likewise.
46041         * manual/examples/argp-ex3.c: Likewise.
46042         * manual/examples/argp-ex4.c: Likewise.
46043         * manual/examples/atexit.c: Likewise.
46044         * manual/examples/db.c: Likewise.
46045         * manual/examples/dir.c: Likewise.
46046         * manual/examples/dir2.c: Likewise.
46047         * manual/examples/execinfo.c: Likewise.
46048         * manual/examples/filecli.c: Likewise.
46049         * manual/examples/filesrv.c: Likewise.
46050         * manual/examples/fmtmsgexpl.c: Likewise.
46051         * manual/examples/genpass.c: Likewise.
46052         * manual/examples/inetcli.c: Likewise.
46053         * manual/examples/inetsrv.c: Likewise.
46054         * manual/examples/isockad.c: Likewise.
46055         * manual/examples/longopt.c: Likewise.
46056         * manual/examples/memopen.c: Likewise.
46057         * manual/examples/memstrm.c: Likewise.
46058         * manual/examples/mkfsock.c: Likewise.
46059         * manual/examples/mkisock.c: Likewise.
46060         * manual/examples/mygetpass.c: Likewise.
46061         * manual/examples/pipe.c: Likewise.
46062         * manual/examples/popen.c: Likewise.
46063         * manual/examples/rprintf.c: Likewise.
46064         * manual/examples/search.c: Likewise.
46065         * manual/examples/select.c: Likewise.
46066         * manual/examples/setjmp.c: Likewise.
46067         * manual/examples/sigh1.c: Likewise.
46068         * manual/examples/sigusr.c: Likewise.
46069         * manual/examples/stpcpy.c: Likewise.
46070         * manual/examples/strdupa.c: Likewise.
46071         * manual/examples/strftim.c: Likewise.
46072         * manual/examples/strncat.c: Likewise.
46073         * manual/examples/subopt.c: Likewise.
46074         * manual/examples/swapcontext.c: Likewise.
46075         * manual/examples/termios.c: Likewise.
46076         * manual/examples/testopt.c: Likewise.
46077         * manual/examples/testpass.c: Likewise.
46078         * manual/examples/timeval_subtract.c: Likewise.
46079
46080         [BZ #13792]
46081         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46082         function to ...
46083         * manual/timeval_subtract.c.texi: ... here, new file.
46084
46085 2012-03-02  David S. Miller  <davem@davemloft.net>
46086
46087         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46088
46089 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46090
46091         [BZ #3976]
46092         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46093         (__sin): Save and restore rounding mode and use round-to-nearest
46094         for all computations.
46095         (__cos): Save and restore rounding mode and use round-to-nearest
46096         for all computations.
46097         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46098         <fenv.h>.
46099         (tan): Save and restore rounding mode and use round-to-nearest for
46100         all computations.
46101         * math/libm-test.inc (cos_test_tonearest): New function.
46102         (cos_test_towardzero): Likewise.
46103         (cos_test_downward): Likewise.
46104         (cos_test_upward): Likewise.
46105         (sin_test_tonearest): Likewise.
46106         (sin_test_towardzero): Likewise.
46107         (sin_test_downward): Likewise.
46108         (sin_test_upward): Likewise.
46109         (tan_test_tonearest): Likewise.
46110         (tan_test_towardzero): Likewise.
46111         (tan_test_downward): Likewise.
46112         (tan_test_upward): Likewise.
46113         (main): Call the new functions.
46114         * sysdeps/i386/fpu/libm-test-ulps: Update.
46115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46116
46117         [BZ #10135]
46118         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46119         small n, then large n, before computing and testing k+n.
46120         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46122         Likewise.
46123         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46124         Likewise.
46125         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46126         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46127         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46128         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46130         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46131         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46132         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46133         * math/libm-test.inc (scalbn_test): Add more tests.
46134         (scalbln_test): Likewise.
46135
46136         * manual/filesys.texi (mode_t): Describe constraints on size and
46137         signedness, not exact equivalence to a particular type.
46138         (ino_t): Likewise.
46139         (ino64_t): Likewise.
46140         (dev_t): Likewise.
46141         (nlink_t): Likewise.
46142         (blkcnt_t): Likewise.
46143         (blkcnt64_t): Likewise.
46144         * manual/llio.texi (off_t): Likewise.
46145
46146         [BZ #3976]
46147         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46148         (__ieee754_exp): Save and restore rounding mode and use
46149         round-to-nearest for all computations.
46150         * math/libm-test.inc (exp_test_tonearest): New function.
46151         (exp_test_towardzero): Likewise.
46152         (exp_test_downward): Likewise.
46153         (exp_test_upward): Likewise.
46154         (main): Call the new functions.
46155         * sysdeps/i386/fpu/libm-test-ulps: Update.
46156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46157
46158 2012-03-01  Chris Demetriou  <cgd@google.com>
46159
46160         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46161         have predictable order.
46162
46163 2012-03-01  David S. Miller  <davem@davemloft.net>
46164
46165         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46166
46167         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46168         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46169         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46170         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46171
46172         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46173         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46174         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46176         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46177         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46178         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46179         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46180         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46181
46182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46183
46184         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46185         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46186         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46187
46188         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46189         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46190         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46191         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46192         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46193         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46194         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46195         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46196         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46197         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46198         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46199         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46200         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46201         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46202         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46204         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46205         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46206         * sysdeps/sparc/elf/configure: Regenerated.
46207
46208 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46209
46210         * configure.in (AS, LD): Require binutils 2.20 or later.
46211         * configure: Regenerated.
46212         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46213         as required minimum version.
46214         * INSTALL: Regenerated.
46215
46216         [BZ #2541]
46217         [BZ #4108]
46218         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46219         before squaring exponent.
46220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46221         bottom long double and 27 bits of top long double before squaring
46222         exponent.
46223         * math/libm-test.inc (erfc_test): Add more tests.
46224         * sysdeps/i386/fpu/libm-test-ulps: Update.
46225         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46227
46228 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46229
46230         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46231         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46232         containing bit-fields.
46233         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46234         * soft-fp/single.h (_FP_UNION_S): Likewise.
46235         * soft-fp/double.h (_FP_UNION_D): Likewise.
46236
46237 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46238
46239         [BZ #13786]
46240         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46241         not include ../strcmp.S.
46242         [USE_AS_STRNCASECMP_L]: Likewise.
46243         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46244         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46245         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46246         (__strncasecmp_l_ia32): Define as alias to
46247         __strncasecmp_l_nonascii.
46248
46249         [BZ #5794]
46250         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46251         * sysdeps/i386/fpu/libm-test-ulps: Update.
46252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46253
46254         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46256
46257 2012-02-29  Jeff Law  <law@redhat.com>
46258
46259         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46260         out of bounds read.
46261
46262 2012-02-29  Marek Polacek  <polacek@redhat.com>
46263
46264         [BZ #13706]
46265         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46266         * elf/Makefile: Add rules to run tst-unused-dep.out.
46267
46268 2012-02-28  David S. Miller  <davem@davemloft.net>
46269
46270         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46271         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46272         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46274         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46275         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46276
46277 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46278
46279         * math/libm-test.inc (llround_test): Move one test from
46280         lround_test.  Use TEST_f_L in moved test.
46281         (lround_test): Move misplaced test to llround_test.  Add testcase
46282         from bug 2561.
46283
46284 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46285
46286         * sysdeps/x86_64/fpu/e_expf.S: New file.
46287         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46288
46289 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46290
46291         [BZ #13637]
46292         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46293         of remain_len that may cause incomplete multi-byte character and
46294         false match.
46295         * posix/bug-regex33.c: New file.
46296         * posix/Makefile (tests): Add bug-regex33.
46297
46298 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46299
46300         * manual/macros.texi: New file.
46301         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46302         * manual/libc.texinfo: Include macros.texi.
46303         * manual/creatute.texi: Likewise.
46304         * manual/install.texi: Likewise.
46305         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46306         @glibcadj{} in references to the GNU C Library.
46307         * manual/charset.texi: Likewise.
46308         * manual/conf.texi: Likewise.
46309         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46310         when not using those macros.
46311         * manual/creature.texi: Likewise.
46312         * manual/crypt.texi: Likewise.
46313         * manual/errno.texi: Likewise.
46314         * manual/filesys.texi: Likewise.
46315         * manual/header.texi: Likewise.
46316         * manual/install.texi: Likewise.
46317         * manual/intro.texi: Likewise.
46318         * manual/io.texi: Likewise.
46319         * manual/job.texi: Likewise.
46320         * manual/lang.texi: Likewise.
46321         * manual/libc.texiinfo: Likewise.
46322         * manual/llio.texi: Likewise.
46323         * manual/locale.texi: Likewise.
46324         * manual/maint.texi: Likewise.
46325         * manual/math.texi: Likewise.
46326         * manual/memory.texi: Likewise.
46327         * manual/message.texi: Likewise.
46328         * manual/nss.texi: Likewise.
46329         * manual/pattern.texi: Likewise.
46330         * manual/process.texi: Likewise.
46331         * manual/resource.texi: Likewise.
46332         * manual/search.texi: Likewise.
46333         * manual/setjmp.texi: Likewise.
46334         * manual/signal.texi: Likewise.
46335         * manual/socket.texi: Likewise.
46336         * manual/startup.texi: Likewise.
46337         * manual/stdio.texi: Likewise.
46338         * manual/string.texi: Likewise.
46339         * manual/sysinfo.texi: Likewise.
46340         * manual/syslog.texi: Likewise.
46341         * manual/terminal.texi: Likewise.
46342         * manual/time.texi: Likewise.
46343         * manual/users.texi: Likewise.
46344         * INSTALL: Regenerated.
46345         * NOTES: Regenerated.
46346         * sysdeps/gnu/errlist.c: Regenerated.
46347
46348 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46349
46350         * include/dirent.h: Include <dirstream.h> before
46351         <dirent/dirent.h>.
46352
46353 2012-02-28  David S. Miller  <davem@davemloft.net>
46354
46355         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46356         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46357         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46358         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46359
46360 2012-02-27  David S. Miller  <davem@davemloft.net>
46361
46362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46364         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46365         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46366
46367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46368         frame pointer instead of stack pointer relative arg slot.
46369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46370         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46371         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46372
46373 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46374
46375         [BZ #3992]
46376         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46377
46378 2012-02-27  David S. Miller  <davem@davemloft.net>
46379
46380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46384         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46385         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46386         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46387         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46388
46389 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46390
46391         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46392         later.  Allow versions 5-9.
46393         * configure: Regenerated.
46394         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46395         required minimum version and 4.6 as recommended version.  Do not
46396         mention bugs in GCC 2.7 and 2.8.
46397         * INSTALL: Regenerated.
46398
46399 2012-02-27  David S. Miller  <davem@davemloft.net>
46400
46401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46405         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46406         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46407         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46408         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46409
46410         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46411         manipulate bits before adding and subtracting TWO112[sx].
46412         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46413
46414 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46415
46416         [BZ #13775]
46417         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46418         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46419         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46420         being in POSIX, because they are in 1003.1-2008.
46421
46422         * rt/tst-aio.c: Include <fcntl.h>.
46423         * rt/tst-aio7.c: Likewise.
46424         * rt/tst-aio64.c: Likewise.
46425
46426         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46427
46428 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46429
46430         * manual/install.texi (--with-headers): Describe headers as
46431         interface headers, not private headers.
46432         (Specific advice for GNU/Linux systems): Describe use of headers
46433         from "make headers_install", not private headers from older
46434         kernels.
46435         * INSTALL: Regenerated.
46436         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46437         Change to 2.6.19.
46438         * sysdeps/unix/sysv/linux/configure: Regenerated.
46439
46440         * manual/llio.texi (fclean): Remove documentation.
46441
46442         * manual/Makefile (libc-texi-generated): New variable.  Include
46443         version.texi.
46444         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46445         $(libc-texi-generated), not duplicated list of files.
46446         (version.texi, stamp-version): New rules.
46447         (realclean): Remove $(libc-texi-generated), not individual files
46448         from that list.  Do not remove dir-add.texinfo.
46449         * manual/libc.texinfo: Comment out uses of edition numbers and
46450         references to printed manual.  Remove last-updated dates.
46451         (EDITION): Comment out.
46452         (ISBN): Likewise.
46453         (VERSION, UPDATED): Remove.
46454         (version.texi): Include.
46455
46456 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46457
46458         * sysdeps/posix/spawni.c: Include <signal.h>.
46459         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46460         * sysdeps/pthread/aio_fsync.c: Likewise.
46461
46462 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46463
46464         * conform/Makefile (tests): Run only when not cross-compiling and
46465         when fast-check is not defined.
46466
46467         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46468         * conform/data/limits.h-data: Fixes for POSIX2008.
46469         * conform/run-conformtest.sh: Run all tests.
46470         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46471         headers.
46472         * include/bits/dlfcn.h: Likewise.
46473         * include/langinfo.h: Likewise.
46474         * include/monetary.h: Likewise.
46475         * include/sys/poll.h: Likewise.
46476
46477         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46478         for __USE_GNU.
46479         * posix/spawn.h: Define __need_sigset_t.
46480         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46481         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46482         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46483         to get sigevent_t only.
46484         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46485         only for __USE_GNU.
46486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46487         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46488         process_vm_writev only for __USE_GNU.
46489         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46490
46491         * conform/Makefile: For now ignore errors from run-conformtest.
46492         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46493         POSIX to avoid namespace pollution.  Don't prepend headers.
46494         * conform/data/aio.h-data: Fixes for POSIX testing.
46495         * conform/data/fcntl.h-data: Likewise.
46496         * conform/data/glob.h-data: Likewise.
46497         * conform/data/grp.h-data: Likewise.
46498         * conform/data/pthread.h-data: Likewise.
46499         * conform/data/pwd.h-data: Likewise.
46500         * conform/data/signal.h-data: Likewise.
46501         * conform/data/spawn.h-data: Likewise.
46502         * conform/data/stdio.h-data: Likewise.
46503         * conform/data/stdlib.h-data: Likewise.
46504         * conform/data/stropts.h-data: Likewise.
46505         * conform/data/sys/mman.h-data: Likewise.
46506         * conform/data/sys/stat.h-data: Likewise.
46507         * conform/data/sys/types.h-data: Likewise.
46508         * conform/data/sys/wait.h-data: Likewise.
46509         * conform/data/time.h-data: Likewise.
46510         * conform/data/unistd.h-data: Likewise.
46511         * conform/data/utime.h-data: Likewise.
46512
46513         * io/sys/stat.h: fchmod was always in POSIX.
46514         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46515         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46516         * rt/aio.h: Define __need_timespec before including <time.h>.
46517         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46518         struct.  Add forward declaration of pthread_attr_t and use it in
46519         sigevent.
46520         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46521         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46522         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46523         always remove CLK_TCK definition.
46524
46525 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46526
46527         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46528
46529 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46530
46531         * conform/run-conformtest.sh: New file.
46532         * conform/Makefile: Run run-conformtest for tests.
46533         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46534         support.
46535
46536         * conform/data/uchar.h-data: New file.
46537         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46538         * conform/data/arpa/inet.h-data: Likewise.
46539         * conform/data/assert.h-data: Likewise.
46540         * conform/data/complex.h-data: Likewise.
46541         * conform/data/cpio.h-data: Likewise.
46542         * conform/data/ctype.h-data: Likewise.
46543         * conform/data/dirent.h-data: Likewise.
46544         * conform/data/dlfcn.h-data: Likewise.
46545         * conform/data/errno.h-data: Likewise.
46546         * conform/data/fcntl.h-data: Likewise.
46547         * conform/data/float.h-data: Likewise.
46548         * conform/data/fmtmsg.h-data: Likewise.
46549         * conform/data/fnmatch.h-data: Likewise.
46550         * conform/data/ftw.h-data: Likewise.
46551         * conform/data/glob.h-data: Likewise.
46552         * conform/data/grp.h-data: Likewise.
46553         * conform/data/iconv.h-data: Likewise.
46554         * conform/data/inttypes.h-data: Likewise.
46555         * conform/data/langinfo.h-data: Likewise.
46556         * conform/data/libgen.h-data: Likewise.
46557         * conform/data/limits.h-data: Likewise.
46558         * conform/data/locale.h-data: Likewise.
46559         * conform/data/math.h-data: Likewise.
46560         * conform/data/monetary.h-data: Likewise.
46561         * conform/data/mqueue.h-data: Likewise.
46562         * conform/data/ndbm.h-data: Likewise.
46563         * conform/data/net/if.h-data: Likewise.
46564         * conform/data/netdb.h-data: Likewise.
46565         * conform/data/netinet/in.h-data: Likewise.
46566         * conform/data/nl_types.h-data: Likewise.
46567         * conform/data/poll.h-data: Likewise.
46568         * conform/data/pthread.h-data: Likewise.
46569         * conform/data/pwd.h-data: Likewise.
46570         * conform/data/regex.h-data: Likewise.
46571         * conform/data/sched.h-data: Likewise.
46572         * conform/data/search.h-data: Likewise.
46573         * conform/data/semaphore.h-data: Likewise.
46574         * conform/data/setjmp.h-data: Likewise.
46575         * conform/data/signal.h-data: Likewise.
46576         * conform/data/spawn.h-data: Likewise.
46577         * conform/data/stdarg.h-data: Likewise.
46578         * conform/data/stdio.h-data: Likewise.
46579         * conform/data/stdlib.h-data: Likewise.
46580         * conform/data/string.h-data: Likewise.
46581         * conform/data/strings.h-data: Likewise.
46582         * conform/data/stropts.h-data: Likewise.
46583         * conform/data/sys/ipc.h-data: Likewise.
46584         * conform/data/sys/mman.h-data: Likewise.
46585         * conform/data/sys/msg.h-data: Likewise.
46586         * conform/data/sys/resource.h-data: Likewise.
46587         * conform/data/sys/select.h-data: Likewise.
46588         * conform/data/sys/sem.h-data: Likewise.
46589         * conform/data/sys/shm.h-data: Likewise.
46590         * conform/data/sys/socket.h-data: Likewise.
46591         * conform/data/sys/stat.h-data: Likewise.
46592         * conform/data/sys/statvfs.h-data: Likewise.
46593         * conform/data/sys/time.h-data: Likewise.
46594         * conform/data/sys/timeb.h-data: Likewise.
46595         * conform/data/sys/times.h-data: Likewise.
46596         * conform/data/sys/types.h-data: Likewise.
46597         * conform/data/sys/uio.h-data: Likewise.
46598         * conform/data/sys/un.h-data: Likewise.
46599         * conform/data/sys/utsname.h-data: Likewise.
46600         * conform/data/sys/wait.h-data: Likewise.
46601         * conform/data/syslog.h-data: Likewise.
46602         * conform/data/tar.h-data: Likewise.
46603         * conform/data/termios.h-data: Likewise.
46604         * conform/data/utime.h-data: Likewise.
46605         * conform/data/utmpx.h-data: Likewise.
46606         * conform/data/varargs.h-data: Likewise.
46607         * conform/data/wchar.h-data: Likewise.
46608         * conform/data/wctype.h-data: Likewise.
46609         * conform/data/wordexp.h-data: Likewise.
46610
46611         * include/stropts.h: New file.
46612         * include/uchar.h: New file.
46613         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46614         * include/assert.h: Likewise.
46615         * include/ctype.h: Likewise.
46616         * include/dirent.h: Likewise.
46617         * include/dlfcn.h: Likewise.
46618         * include/fcntl.h: Likewise.
46619         * include/fnmatch.h: Likewise.
46620         * include/glob.h: Likewise.
46621         * include/grp.h: Likewise.
46622         * include/libio.h: Likewise.
46623         * include/locale.h: Likewise.
46624         * include/math.h: Likewise.
46625         * include/net/if.h: Likewise.
46626         * include/netdb.h: Likewise.
46627         * include/netinet/in.h: Likewise.
46628         * include/pthread.h: Likewise.
46629         * include/pwd.h: Likewise.
46630         * include/regex.h: Likewise.
46631         * include/sched.h: Likewise.
46632         * include/search.h: Likewise.
46633         * include/setjmp.h: Likewise.
46634         * include/signal.h: Likewise.
46635         * include/stdio.h: Likewise.
46636         * include/stdlib.h: Likewise.
46637         * include/string.h: Likewise.
46638         * include/sys/cdefs.h: Likewise.
46639         * include/sys/mman.h: Likewise.
46640         * include/sys/msg.h: Likewise.
46641         * include/sys/resource.h: Likewise.
46642         * include/sys/select.h: Likewise.
46643         * include/sys/socket.h: Likewise.
46644         * include/sys/stat.h: Likewise.
46645         * include/sys/statvfs.h: Likewise.
46646         * include/sys/time.h: Likewise.
46647         * include/sys/times.h: Likewise.
46648         * include/sys/uio.h: Likewise.
46649         * include/sys/utsname.h: Likewise.
46650         * include/sys/wait.h: Likewise.
46651         * include/termios.h: Likewise.
46652         * include/time.h: Likewise.
46653         * include/ulimit.h: Likewise.
46654         * include/unistd.h: Likewise.
46655         * include/utime.h: Likewise.
46656         * include/wchar.h: Likewise.
46657         * include/wctype.h: Likewise.
46658         * include/wordexp.h: Likewise.
46659
46660         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46661
46662         * time/time.h: TIME_UTC must be a macro.
46663         Make timespec_get available for ISO C11 only as well.
46664
46665 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46666
46667         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46668         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46669
46670 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46671
46672         * configure.in: Use -o not -a in test for unsupported multi-arch.
46673
46674 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46675
46676         * manual/texinfo.tex: Update to version 2012-01-19.16.
46677
46678 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46679
46680         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46681
46682 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46683
46684         [BZ #13738]
46685         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46686         * manual/fdl-1.3.texi: New file.
46687         * manual/fdl-1.1.texi: File removed.
46688
46689         [BZ #13738]
46690         * manual/libc.texinfo (FDL_VERSION): New @set.
46691         Use it for mention of FDL in cover text.
46692         (Documentation License): Use it in @include file name.
46693
46694 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46695             Roland McGrath  <roland@hack.frob.com>
46696
46697         [BZ #5461]
46698         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46699         (not LONG_LONG_MAX and LONG_LONG_MIN.
46700         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46701         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46702         name.
46703         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46704
46705 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46706
46707         [BZ #2547]
46708         [BZ #11365]
46709         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46710         manipulate bits before adding and subtracting TWO23[sx].
46711         * math/libm-test.inc (nearbyint_test): Add more tests.
46712
46713 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46714
46715         [BZ #2548]
46716         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46717         bits before adding and subtracting TWO23[sx].
46718         * math/libm-test.inc (rint_test): Add more tests.
46719         (rint_test_tonearest): Likewise.
46720         (rint_test_towardzero): Likewise.
46721         (rint_test_downward): Likewise.
46722         (rint_test_upward: Likewise.
46723
46724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46725
46726         [BZ #10110]
46727         * include/stdc-predef.h: New file.  Extracted from features.h.
46728         * include/features.h: Include stdc-predef.h.
46729         * Makefile (headers): Add stdc-predef.h.
46730         * CONFORMANCE (Compiler limitations): Update.
46731
46732 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46733
46734         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46735
46736 2012-02-21  David S. Miller  <davem@davemloft.net>
46737
46738         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46739         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46740
46741 2012-02-20  David S. Miller  <davem@davemloft.net>
46742
46743         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46744         using a normal save/restore sequence, rather than allocating a
46745         dummy stack frame just to store a frame pointer and restore.
46746         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46747
46748 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46749
46750         * manual/install.texi: Fix stray word in line-wrapped comment.
46751
46752 2012-02-20  David S. Miller  <davem@davemloft.net>
46753
46754         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46755         both binutils and gcc support GOTDATA.
46756
46757         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46758         "rd %pc" in the PIC register setup sequences.
46759
46760         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46761         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46762         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46763         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46764         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46767         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46769         (SYSCALL_ERROR_HANDLER): Likewise.
46770         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46771         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46773         (SYSCALL_ERROR_HANDLER): Likewise.
46774
46775         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46776         (HAVE_GCC_GOTDATA): New.
46777         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46778         relocation support in both binutils and gcc.
46779         * sysdeps/sparc/elf/configure: Regenerate.
46780
46781         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46782         * sysdeps/sparc/sparc32/elf/configure: Delete.
46783         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46784         * sysdeps/sparc/sparc64/elf/configure: Delete.
46785         * sysdeps/sparc/elf/configure.in: New file.
46786         * sysdeps/sparc/elf/configure: Generate.
46787
46788         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46789         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46790         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46791         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46792         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46793
46794 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46795
46796         * manual/install.texi: Do not mention specific glibc version
46797         numbers.
46798         * manual/libc.texinfo (VERSION, UPDATED): Update.
46799         (@copying): Use @copyright{} and range of years.
46800
46801 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46802
46803         [BZ #13695]
46804         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46805         [crti.S not in sysdirs] (generated): Do not append.
46806         [crti.S not in sysdirs] (omit-deps): Likewise.
46807         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46808         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46809         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46810         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46811         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46812         Likewise.
46813         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46814         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46815         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46816         * csu/defs.awk: Remove file.
46817         * sysdeps/generic/initfini.c: Likewise.
46818         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46819         variable.
46820         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46821         Likewise.
46822
46823 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46824
46825         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46826         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46827         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46828         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46829         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46830         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46831         <bits/epoll.h>.
46832         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46833         (__EPOLL_PACKED): Define to empty if not defined by
46834         <bits/epoll.h>.
46835         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46837         bits/epoll.h.
46838
46839 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46840
46841         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46842         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46843         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46844         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46845         <bits/timerfd.h>.
46846         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46848         bits/timerfd.h.
46849
46850 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46851
46852         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46853         in C locale.
46854         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46855         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46856         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46858
46859 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46860
46861         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46862         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46863
46864 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46865
46866         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46867         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46868         defined.
46869         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46870         Likewise.
46871         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46872         entry for 2.16.
46873
46874 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46875
46876         * math/w_acos.c: Use non-signaling floating-point comparisons.
46877         * math/w_acosf.c: Likewise.
46878         * math/w_acosh.c: Likewise.
46879         * math/w_acoshf.c: Likewise.
46880         * math/w_acoshl.c: Likewise.
46881         * math/w_acosl.c: Likewise.
46882         * math/w_asin.c: Likewise.
46883         * math/w_asinf.c: Likewise.
46884         * math/w_asinl.c: Likewise.
46885         * math/w_atanh.c: Likewise.
46886         * math/w_atanhf.c: Likewise.
46887         * math/w_atanhl.c: Likewise.
46888         * math/w_exp2.c: Likewise.
46889         * math/w_exp2f.c: Likewise.
46890         * math/w_exp2l.c: Likewise.
46891         * math/w_j0.c: Likewise.
46892         * math/w_j0f.c: Likewise.
46893         * math/w_j0l.c: Likewise.
46894         * math/w_j1.c: Likewise.
46895         * math/w_j1f.c: Likewise.
46896         * math/w_j1l.c: Likewise.
46897         * math/w_jn.c: Likewise.
46898         * math/w_jnf.c: Likewise.
46899         * math/w_log.c: Likewise.
46900         * math/w_log10.c: Likewise.
46901         * math/w_log10f.c: Likewise.
46902         * math/w_log10l.c: Likewise.
46903         * math/w_log2.c: Likewise.
46904         * math/w_log2f.c: Likewise.
46905         * math/w_log2l.c: Likewise.
46906         * math/w_logf.c: Likewise.
46907         * math/w_logl.c: Likewise.
46908         * math/w_sqrt.c: Likewise.
46909         * math/w_sqrtf.c: Likewise.
46910         * math/w_sqrtl.c: Likewise.
46911         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46912         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46913         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46914         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46915         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46916
46917 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46918
46919         [BZ #9739]
46920         * manual/string.texi (strnlen): Use correct parameter name in
46921         equivalent expression.
46922
46923 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46924
46925         [BZ #11174]
46926         * manual/users.texi (seteuid): Consistently use neweuid for
46927         argument name.
46928
46929 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46930
46931         [BZ #13704]
46932         * manual/nss.texi (Services in the NSS configuration): Correct
46933         list of services in example configuration file.
46934
46935 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46936
46937         [BZ #11322]
46938         * manual/arith.texi: Remove statements about negative zero
46939         behaving identically to zero.
46940
46941 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46942
46943         [BZ #5993]
46944         * manual/install.texi: Do not document upgrading from libc5.
46945
46946 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46947
46948         [BZ #4596]
46949         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46950
46951 2012-02-18  David S. Miller  <davem@davemloft.net>
46952
46953         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46954         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46955         %o7 across the call.
46956         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46957         instead.
46958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46959         SETUP_PIC_REG_LEAF.
46960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46961         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46962         * sysdeps/sparc/crtn.S: Likewise.
46963
46964 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46965
46966         * aout/Makefile: Remove.
46967
46968 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46969
46970         [BZ #13058]
46971         * manual/examples/argp-ex1.c (main): Format definition in GNU
46972         style.
46973         * manual/examples/argp-ex2.c (main): Likewise.
46974         * manual/examples/argp-ex3.c (main): Likewise.
46975         * manual/examples/argp-ex4.c (main): Likewise.
46976         * manual/examples/longopt.c (main): Use new-style prototype
46977         definition.
46978         * manual/examples/strncat.c (main): Specify return type and use
46979         (void) for arguments.
46980         * manual/examples/subopt.c (main): Use char **argv argument.
46981
46982 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46983
46984         [BZ #5077]
46985         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46986         rounding modes.
46987
46988 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46989
46990         [BZ #6907]
46991         * manual/string.texi (strchr): Change when strchrnul is
46992         recommended.
46993
46994 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46995
46996         [BZ #174]
46997         * manual/locale.texi (setlocale): Document LOCPATH.
46998
46999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47000
47001         [BZ #10210]
47002         * manual/process.texi (execle): Move @dots{} before last argument.
47003
47004 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
47005
47006         [BZ #12047]
47007         * manual/charset.texi (Generic Charset Conversion): Fix typo
47008         (LC_TYPE -> LC_CTYPE).
47009
47010 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
47011
47012         [BZ #5805]
47013         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47014         (scalbnf): Likewise.
47015         (scalbnl): Likewise.
47016         (scalbln): Likewise.
47017         (scalblnf): Likewise.
47018         (scalblnl): Likewise.
47019         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47020         (vwarnx): Likewise.
47021         (verr): Likewise.
47022         (verrx): Likewise.
47023         * manual/filesys.texi (telldir): Use braces around return type.
47024         * manual/llio.texi (mmap): Add space after comma.
47025         (mmap64): Likewise.
47026         * manual/math.texi (jn): Use @var{} on parameter names.
47027         (jnf): Likewise.
47028         (jnl): Likewise.
47029         (yn): Likewise.
47030         (ynf): Likewise.
47031         (ynl): Likewise.
47032         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47033         line.
47034         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47035         "...".
47036         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47037         (sched_get_priority_max): Likewise.
47038         * manual/signal.texi (sigvec): Add space after comma.
47039         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47040         names.
47041         (if_indextoname): Likewise.
47042         (if_freenameindex): Likewise.
47043         (sendto): Use ',' instead of '.' in prototype.
47044         * manual/startup.texi (syscall): Use @dots{} instead of literal
47045         "...".
47046         * manual/stdio.texi (__fpending): Separate initial words of
47047         paragraph from @deftypefun line.
47048         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47049         "...".
47050         (vsyslog): Use @var{} on parameter names.
47051         * manual/terminal.texi (stty): Use @var{} on parameter names.
47052         * manual/users.texi (getutmp): Use @var{} on parameter names.
47053         (getutmpx): Likewise.
47054
47055 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47056
47057         [BZ #6884]
47058         * manual/stdio.texi (fopen): Fix typos in description of
47059         ",ccs=STRING".
47060
47061 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47062
47063         [BZ #4026]
47064         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47065         get clock_id definition.
47066
47067 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47068
47069         [BZ #4822]
47070         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47071         (madvise): Cast every argument to void on its own.
47072
47073 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47074
47075         [BZ #9902]
47076         * manual/startup.texi (Exit Status): Fix typo.
47077
47078 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47079
47080         [BZ #10140]
47081         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47082         * manual/examples/argp-ex2.c: Likewise.
47083         * manual/examples/argp-ex3.c: Likewise.
47084
47085 2012-02-16  Richard Henderson  <rth@redhat.com>
47086
47087         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47088         * sysdeps/s390/s390-32/initfini.c: Remove.
47089         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47090         * sysdeps/s390/s390-64/initfini.c: Remove.
47091
47092 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47093
47094         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47095         compiler output for sysdeps/generic/initfini.c.
47096         * sysdeps/sh/elf/initfini.c: Remove file.
47097
47098 2012-02-16  David S. Miller  <davem@davemloft.net>
47099
47100         [BZ #11494]
47101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47102
47103         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47104         * sysdeps/sparc/crti.S: New file.
47105         * sysdeps/sparc/crtn.S: New file.
47106         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47107         * sysdeps/sparc/sparc64/Makefile: Likewise.
47108
47109 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47110
47111         [BZ #3335]
47112         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47113
47114 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47115
47116         [BZ #4822]
47117         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47118
47119         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47120         (write, read, close): Likewise.
47121         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47122
47123 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47124
47125         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47126         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47127         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47128         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47129         <bits/signalfd.h>.
47130         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47132         bits/signalfd.h.
47133
47134 2012-02-14  Marek Polacek  <polacek@redhat.com>
47135
47136         * sysdeps/x86_64/crti.S: New file.
47137         * sysdeps/x86_64/crtn.S: New file.
47138         * sysdeps/x86_64/elf/initfini.c: Remove file.
47139
47140 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47141
47142         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47143         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47144         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47145         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47146         <bits/inotify.h>.
47147         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47149         bits/inotify.h.
47150
47151 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47152
47153         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47154         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47155         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47156         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47157         <bits/eventfd.h>.
47158         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47160         bits/eventfd.h.
47161
47162 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47163
47164         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47165         __feraiseexcept instead of feraiseexcept.
47166
47167         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47168         nanosleep invocations.
47169         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47170         strings, and add error checking for a nanosleep invocations.
47171
47172 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47173
47174         Replace FSF snail mail address with URLs, as per GNU coding standards.
47175         Most of the snail mail addresses were wrong anyway, and omitting
47176         them makes the source code easier to maintain.  Almost all of the
47177         changes are to license notices and to locale LC_IDENTIFICATION
47178         addresses, except for this one:
47179         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47180         not its snail mail address.
47181
47182 2012-02-09  Richard Henderson  <rth@twiddle.net>
47183
47184         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47185         of kernel-features.h.
47186
47187         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47188
47189 2012-02-08  Marek Polacek  <polacek@redhat.com>
47190
47191         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47192         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47193         * sysdeps/gnu/_G_config.h: Likewise.
47194         * sysdeps/generic/_G_config.h: Likewise.
47195
47196 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47197
47198         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47199         tests.
47200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47201
47202         * sysdeps/powerpc/powerpc32/crti.S: New file.
47203         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47204         * sysdeps/powerpc/powerpc64/crti.S: New file.
47205         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47206
47207         * Makeconfig (have-initfini): Don't set.
47208         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47209         * configure.in (nopic_initfini): Don't substitute.
47210         * config.h.in (HAVE_INITFINI): Don't #undef.
47211         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47212         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47213
47214 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47215
47216         Support crti.S and crtn.S provided directly by architectures.
47217         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47218         [crti.S in sysdirs] (omit-deps): Likewise.
47219         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47220         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47221         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47222         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47223         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47224         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47225         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47226         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47227         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47228         compiler output for sysdeps/generic/initfini.c.
47229         * sysdeps/i386/elf/Makefile: Remove file.
47230         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47231
47232 2012-02-07  Marek Polacek  <polacek@redhat.com>
47233
47234         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47235         * sysdeps/gnu/_G_config.h: Likewise.
47236         * sysdeps/mach/hurd/_G_config.h: Likewise.
47237
47238 2012-02-07  Marek Polacek  <polacek@redhat.com>
47239
47240         * math/Makefile (tests): Add tst-CMPLX2.
47241         * math/tst-CMPLX2.c: New file.
47242
47243 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47244
47245         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47246
47247         * math/libm-test.inc (jn_test): Add missing L suffix.
47248
47249 2012-02-06  Marek Polacek  <polacek@redhat.com>
47250
47251         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47252         * sysdeps/i386/fpu/e_powf.S: Likewise.
47253         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47254         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47255         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47256         * sysdeps/i386/fpu/e_pow.S: Likewise.
47257         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47258         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47259         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47260         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47261         * sysdeps/i386/fpu/e_log2.S: Likewise.
47262         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47263         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47264         * sysdeps/i386/fpu/e_powl.S: Likewise.
47265         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47266         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47267         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47268         * sysdeps/i386/fpu/e_logl.S: Likewise.
47269         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47270         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47271         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47272         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47273         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47274         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47275         * sysdeps/i386/fpu/e_log.S: Likewise.
47276         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47277         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47278         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47279         * sysdeps/i386/fpu/e_logf.S: Likewise.
47280         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47281         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47282         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47283         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47284         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47285         * sysdeps/i386/fpu/e_log10.S: Likewise.
47286         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47287         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47288         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47289         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47290         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47291         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47292         * sysdeps/i386/asm-syntax.h: Likewise.
47293         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47295         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47296         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47297         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47298         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47299         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47300         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47301         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47302         * sysdeps/powerpc/sysdep.h: Likewise.
47303         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47304         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47305
47306 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47307
47308         [BZ #411]
47309         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47310
47311 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47312
47313         * sysdeps/i386/sysdep.h: Include <features.h>.
47314         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47315         version.
47316
47317 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47318
47319         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47320         Define.
47321         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47322         LOAD_PIC_REG_STR.
47323
47324 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47325
47326         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47327         (SETUP_PIC_REG): Use GET_PC_THUNK.
47328         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47329         macro.
47330
47331 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47332
47333         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47334         for non-PIC compilation.
47335         (SETUP_PIC_REG): Add .p2align directive.
47336         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47337         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47338         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47339         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47340         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47341         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47342         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47343         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47344         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47345         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47346         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47347         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47348         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47350         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47351         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47352         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47353         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47354         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47355         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47356         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47357         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47358         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47359         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47362         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47363         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47364         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47365         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47366         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47367         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47368         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47369         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47370         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47371         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47372         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47373         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47374         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47375         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47376         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47377
47378 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47379
47380         * math/tst-CMPLX.c: Include <stdio.h>.
47381
47382 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47383
47384         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47385         float.
47386         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47387         * sysdeps/sparc/bits/mathdef.h: Likewise.
47388
47389 2012-01-31  Marek Polacek  <polacek@redhat.com>
47390
47391         * libio/libio.h: Don't define _PARAMS.
47392         * locale/programs/config.h: Don't define PARAMS.
47393         * stdlib/strtol_l.c: Likewise.
47394         (__strtol_l): Remove PARAMS from the prototype.
47395
47396 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47397
47398         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47399         names.  Just use the correct names.  Remove unnecessary wrapper
47400         functions.
47401         * malloc/arena.c: Likewise.
47402         * malloc/hooks.c: Likewise.
47403
47404         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47405         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47406         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47407
47408 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47409
47410         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47411         into tail calls.
47412         (update_get_addr): New function.
47413         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47414         GET_ADDR_MODULE parameter.
47415
47416 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47417
47418         * crypt/cert.c: Remove __STDC__ conditionals.
47419         * crypt/crypt-entry.c: Likewise.
47420         * crypt/crypt_util.c: Likewise.
47421         * libio/filedoalloc.c: Likewise.
47422         * libio/fileops.c: Likewise.
47423         * libio/genops.c: Likewise.
47424         * libio/iofclose.c: Likewise.
47425         * libio/iofdopen.c: Likewise.
47426         * libio/iofopen.c: Likewise.
47427         * libio/iofopen64.c: Likewise.
47428         * libio/iogetdelim.c: Likewise.
47429         * libio/iopopen.c: Likewise.
47430         * libio/obprintf.c: Likewise.
47431         * libio/oldfileops.c: Likewise.
47432         * libio/oldiofclose.c: Likewise.
47433         * libio/oldiofdopen.c: Likewise.
47434         * libio/oldiofopen.c: Likewise.
47435         * libio/oldiopopen.c: Likewise.
47436         * libio/wfiledoalloc.c: Likewise.
47437         * libio/wgenops.c: Likewise.
47438         * locale/programs/xmalloc.c: Likewise.
47439         * misc/syslog.c: Likewise.
47440         * stdio-common/xbug.c: Likewise.
47441         * string/memchr.c: Likewise.
47442         * string/memcmp.c: Likewise.
47443         * string/memrchr.c: Likewise.
47444         * string/rawmemchr.c: Likewise.
47445         * sysdeps/posix/getcwd.c: Likewise.
47446         * time/strftime_l.c: Likewise.
47447
47448 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47449
47450         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47451         * config.make.in (config-cflags-sse2avx): Define.
47452         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47453         Fix typo.
47454
47455 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47456
47457         * scripts/config.guess: Update from upstream config git repository.
47458         * scripts/config.sub: Likewise.
47459
47460 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47461
47462         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47463         (EM_NUM): Update.
47464         (R_TILEPRO_*, R_TILEGX_*): New macros.
47465
47466         * scripts/firstversions.awk: Fix bug in version range handling.
47467
47468         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47469
47470         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47471
47472         * include/sys/epoll.h: New file.
47473         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47474         libc_hidden_def.
47475
47476 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47477
47478         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47479         Avoid unnecessary __WORDSIZE == 64 test.
47480         (fmaxf): Use VEX format if possible.
47481         (fmax): Likewise.
47482         (fminf): Likewise.
47483         (fmin): Likewise.
47484
47485         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47486         * math/math_private.h: Remove libc_fegetround* and
47487         libc_fesetround*.
47488         * sysdeps/i386/configure.in: Check for -msse2avx.
47489         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47490         also if SSE2AVX is defined.
47491         Remove libc_fegetround* and libc_fesetround*.
47492         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47493         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47494         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47495         of HAS_YMM_USABLE.
47496         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47497         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47498         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47499         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47500         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47501
47502         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47503
47504 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47505
47506         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47507         size is not set.
47508         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47509
47510 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47511
47512         [BZ #13618]
47513         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47514         relocation.
47515         * Makeconfig (libm): Define.
47516         * elf/Makefile: Add rules to build and run tst-relsort1.
47517         * elf/tst-relsort1.c: New file.
47518         * elf/tst-relsort1mod1.c: New file.
47519         * elf/tst-relsort1mod2.c: New file.
47520
47521 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47522
47523         * math/s_ldexp.c: Remove __STDC__ conditionals.
47524         * math/s_ldexpf.c: Likewise.
47525         * math/s_ldexpl.c: Likewise.
47526         * math/s_nextafter.c: Likewise.
47527         * math/s_nexttowardf.c: Likewise.
47528         * math/s_significand.c: Likewise.
47529         * math/s_significandf.c: Likewise.
47530         * math/s_significandl.c: Likewise.
47531         * math/w_jnl.c: Likewise.
47532         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47533         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47534         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47535         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47536         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47537         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47538         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47539         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47540         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47541         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47542         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47543         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47544         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47545         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47546         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47547         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47548         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47549         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47551         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47552         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47553         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47554         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47556         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47557         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47558         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47559         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47560         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47561         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47562         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47563         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47564         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47565         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47566         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47568         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47569         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47570         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47571         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47572         * sysdeps/ieee754/k_standard.c: Likewise.
47573         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47574         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47575         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47576         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47577         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47578         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47579         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47580         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47581         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47582         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47583         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47584         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47585         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47586         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47587         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47589         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47591         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47592         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47593         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47594         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47595         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47596         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47597         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47598         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47599         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47602         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47603         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47604         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47605         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47606         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47607         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47608         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47609         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47611         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47612         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47613         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47615         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47616         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47617         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47618         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47620         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47621         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47622         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47623         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47624         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47625         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47626         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47627         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47628         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47629         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47630         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47631         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47632         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47633         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47634         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47635         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47636         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47637         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47638         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47639         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47640         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47641         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47642         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47643         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47644         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47645         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47646         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47647         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47648         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47649         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47650         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47651         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47652         * sysdeps/ieee754/s_matherr.c: Likewise.
47653         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47654         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47655         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47656         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47657
47658 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47659
47660         * crypt/md5.h: Remove __STDC__ conditionals.
47661         * libio/libioP.h: Likewise.
47662         * locale/programs/config.h: Likewise.
47663         * sysdeps/generic/sysdep.h: Likewise.
47664         * sysdeps/i386/asm-syntax.h: Likewise.
47665         * sysdeps/s390/asm-syntax.h: Likewise.
47666         * sysdeps/unix/sysdep.h: Likewise.
47667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47669
47670 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47671
47672         * libio/libio.h: Remove __STDC__ conditionals.
47673         * malloc/obstack.h: Likewise.
47674         * math/complex.h: Likewise.
47675         * math/math.h: Likewise.
47676         * sysdeps/generic/_G_config.h: Likewise.
47677         * sysdeps/gnu/_G_config.h: Likewise.
47678         * sysdeps/mach/hurd/_G_config.h: Likewise.
47679         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47680         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47681         * sysdeps/sparc/bits/mathdef.h: Likewise.
47682
47683 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47684
47685         [BZ #13583]
47686         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47687         Clean up HAS_* macros.
47688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47689         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47690         possible.
47691         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47692         HAS_AVX.
47693         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47694         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47695         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47696         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47697         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47698
47699 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47700
47701         * elf/tst-unique3.cc (gets): Remove declaration.
47702         * elf/tst-unique3lib.cc (gets): Likewise.
47703         * elf/tst-unique3lib2.cc (gets): Likewise.
47704         * elf/tst-unique4.cc (gets): Likewise.
47705
47706 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47707
47708         * include/stdio.h: Add C++ protection.  Add gets declarations and
47709         definitions.
47710         * debug/tst-chk1.c: Don't declare gets here.
47711         * stdio-common/tst-gets.c: Likewise.
47712
47713 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47714
47715         * posix/glob: Remove directory.
47716
47717 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47718
47719         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47720
47721 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47722
47723         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47724         of the non-standard EPFNOSUPPORT.
47725
47726 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47727
47728         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47729         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47730         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47731
47732 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47733
47734         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47735
47736 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47737
47738         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47739         transient errors.
47740         * nscd/grpcache.c (cache_addgr): Likewise.
47741         * nscd/hstcache.c (cache_addhst): Likewise.
47742         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47743         * nscd/pwdcache.c (cache_addpw): Likewise.
47744         * nscd/servicescache.c (cache_addserv): Likewise.
47745
47746 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47747
47748         * malloc/malloc.c: Various cleanups.
47749         * malloc/hooks.c: Likewise.
47750
47751         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47752         * stdlib/bug-fmtmsg1.c: New file.
47753
47754         * stdlib/fmtmsg.c (init): Add missing unlock.
47755         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47756
47757 2012-01-12  Marek Polacek  <polacek@redhat.com>
47758
47759         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47760         and _GNU_SOURCE.
47761
47762 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47763
47764         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47765         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47766         macro to ensure uniqueness of label name.
47767         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47768         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47769
47770 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47771
47772         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47773
47774         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47775         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47776         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47778
47779 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47780
47781         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47782
47783         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47784         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47785         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47786
47787         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47788
47789         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47790         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47791         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47792         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47793
47794         * math/bits/math-finite.h: Add ldexp support.
47795
47796 2012-01-10  Marek Polacek  <polacek@redhat.com>
47797
47798         * locale/programs/localedef.h (show_archive_content): Add noreturn
47799         attribute.
47800
47801 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47802
47803         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47804
47805 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47806
47807         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47808
47809         * io/Makefile (headers): Add bits/poll2.h.
47810
47811 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47812
47813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47814         typo #include statement.
47815
47816 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47817
47818         * include/sys/cdefs.h: Define __attribute_alloc_size.
47819         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47820         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47821         * elf/pldd.c: Likewise.
47822         * iconv/iconv_charmap.c: Likewise.
47823         * iconv/iconvconfig.c: Likewise.
47824         * iconv/strtab.c: Likewise.
47825         * locale/programs/locale.c: Likewise.
47826         * locale/programs/localedef.h: Likewise.
47827         * locale/programs/simple-hash.c: Likewise.
47828         * nscd/nscd.h: Likewise.
47829         * nss/makedb.c: Likewise.
47830         * sysdeps/generic/ldconfig.h: Likewise.
47831         * locale/programs/localedef.c: Remove xmalloc prototype.
47832         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47833
47834 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47835
47836         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47837         appropriate.
47838
47839 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47840
47841         * math/Makefile (tests): Add tst-CMPLX.
47842         * math/tst-CMPLX.c: New file.
47843
47844         * math/complex.h (CMPLXL): Fix typo.
47845
47846         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47847         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47848         GLIBC_2.16.
47849         * debug/tst-chk1.c: Add poll and ppoll tests.
47850         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47851         * include/sys/poll.h: Add hidden proto for ppoll.
47852         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47853         * sysdeps/mach/hurd/ppoll.c: Likewise.
47854         * io/ppoll.c: Likewise.
47855         * debug/poll_chk.c: New file.
47856         * debug/ppoll_chk.c: New file.
47857         * include/bits/poll2.h: New file.
47858         * io/bits/poll2.h: New file.
47859
47860         [BZ #1350]
47861         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47862
47863         * configure.in: static is always set to yes.  Remove.
47864         * config.make.in: Don't set build-static.
47865         * Makeconfig: Remove use of build-static.
47866         * dlfcn/Makefile: Likewise.
47867         * elf/Makefile: Likewise.
47868         * math/Makefile: Likewise.
47869         * misc/Makefile: Likewise.
47870         * nptl/Makefile: Likewise.
47871         * sysdeps/mach/hurd/Makefile: Likewise.
47872
47873         * configure.in: PWD_P is not used anymore.
47874         * config.make.in: Remove PWD_P entry.
47875
47876         * configure.in: Remove last remnants of RANLIB.
47877         No need to check for signed size_t anymore.
47878         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47879         and IA-64.
47880         Remove __builtin_expect test because we require at least gcc 3.4.
47881         * aclocal.m4: Likewise.
47882
47883         * wcsmbs/mbrtoc16.c: Implement using towc function.
47884         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47885         * wcsmbs/wcsmbsload.c: Likewise.
47886         * iconv/gconv_simple.c: Likewise.
47887         * iconv/gconv_int.h: Likewise.
47888         * iconv/gconv_builtin.h: Likewise.
47889         * iconv/iconv_prog.c: Remove CHAR16 handling.
47890
47891         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47892
47893         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47894
47895         * configure.in: Remove --with-elf and --enable-bounded options.
47896         Dont set base_machine for ia64.  More non-ELF conditions removed.
47897         Remove testing and setting of leading underscore information.
47898         * config.make.in (build-bounded): Set to no.
47899         * config.h.in: Remove NO_UNDERSCORES entry.
47900         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47901         them.
47902         * csu/start.c: Remove !NO_UNDERSCORE code.
47903         * locale/localeinfo.h: Likewise.
47904         * sysdeps/generic/machine-gmon.h: Likewise.
47905         * sysdeps/generic/sysdep.h: Likewise.
47906         * sysdeps/i386/sysdep.h: Likewise.
47907         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47908         * sysdeps/mach/sysdep.h: Likewise.
47909         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47910         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47911         * sysdeps/sh/sysdep.h: Likewise.
47912         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47913         * sysdeps/unix/i386/sysdep.S: Likewise.
47914         * sysdeps/unix/sparc/start.c: Likewise.
47915         * sysdeps/unix/sparc/sysdep.S: Likewise.
47916         * sysdeps/unix/sparc/sysdep.h: Likewise.
47917         * sysdeps/unix/start.c: Likewise.
47918         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47919         * sysdeps/x86_64/sysdep.h: Likewise.
47920
47921 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47922
47923         [BZ #13553]
47924         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47925         for non-gcc.
47926         * argp/argp-fmtstream.h: Use const instead __const.
47927         * argp/argp.h: Likewise.
47928         * assert/assert.h: Likewise.
47929         * bits/fenv.h: Likewise.
47930         * bits/sched.h: Likewise.
47931         * bits/sigset.h: Likewise.
47932         * bits/sigthread.h: Likewise.
47933         * catgets/nl_types.h: Likewise.
47934         * conform/data/pthread.h-data: Likewise.
47935         * crypt/crypt-private.h: Likewise.
47936         * crypt/crypt.h: Likewise.
47937         * crypt/crypt_util.c: Likewise.
47938         * ctype/ctype.h: Likewise.
47939         * debug/execinfo.h: Likewise.
47940         * debug/mbsnrtowcs_chk.c: Likewise.
47941         * debug/mbsrtowcs_chk.c: Likewise.
47942         * debug/wcsnrtombs_chk.c: Likewise.
47943         * debug/wcsrtombs_chk.c: Likewise.
47944         * debug/wcstombs_chk.c: Likewise.
47945         * dirent/dirent.h: Likewise.
47946         * dlfcn/dlfcn.h: Likewise.
47947         * elf/neededtest4.c: Likewise.
47948         * grp/grp.h: Likewise.
47949         * gshadow/gshadow.h: Likewise.
47950         * iconv/gconv.h: Likewise.
47951         * iconv/gconv_int.h: Likewise.
47952         * iconv/gconv_simple.c: Likewise.
47953         * iconv/iconv.h: Likewise.
47954         * iconv/loop.c: Likewise.
47955         * iconv/skeleton.c: Likewise.
47956         * include/aio.h: Likewise.
47957         * include/aliases.h: Likewise.
47958         * include/argz.h: Likewise.
47959         * include/arpa/inet.h: Likewise.
47960         * include/assert.h: Likewise.
47961         * include/dirent.h: Likewise.
47962         * include/dlfcn.h: Likewise.
47963         * include/execinfo.h: Likewise.
47964         * include/fcntl.h: Likewise.
47965         * include/fenv.h: Likewise.
47966         * include/glob.h: Likewise.
47967         * include/grp.h: Likewise.
47968         * include/libintl.h: Likewise.
47969         * include/mntent.h: Likewise.
47970         * include/netdb.h: Likewise.
47971         * include/pwd.h: Likewise.
47972         * include/rpc/netdb.h: Likewise.
47973         * include/sched.h: Likewise.
47974         * include/search.h: Likewise.
47975         * include/shadow.h: Likewise.
47976         * include/signal.h: Likewise.
47977         * include/stdio.h: Likewise.
47978         * include/stdlib.h: Likewise.
47979         * include/string.h: Likewise.
47980         * include/sys/socket.h: Likewise.
47981         * include/sys/stat.h: Likewise.
47982         * include/sys/statfs.h: Likewise.
47983         * include/sys/statvfs.h: Likewise.
47984         * include/sys/syslog.h: Likewise.
47985         * include/sys/time.h: Likewise.
47986         * include/sys/uio.h: Likewise.
47987         * include/time.h: Likewise.
47988         * include/unistd.h: Likewise.
47989         * include/utmp.h: Likewise.
47990         * include/wchar.h: Likewise.
47991         * include/wctype.h: Likewise.
47992         * inet/aliases.h: Likewise.
47993         * inet/arpa/inet.h: Likewise.
47994         * inet/netinet/ether.h: Likewise.
47995         * inet/netinet/in.h: Likewise.
47996         * intl/libintl.h: Likewise.
47997         * io/bits/fcntl2.h: Likewise.
47998         * io/fcntl.h: Likewise.
47999         * io/ftw.h: Likewise.
48000         * io/sys/poll.h: Likewise.
48001         * io/sys/stat.h: Likewise.
48002         * io/sys/statfs.h: Likewise.
48003         * io/sys/statvfs.h: Likewise.
48004         * io/utime.h: Likewise.
48005         * libio/bits/stdio.h: Likewise.
48006         * libio/bits/stdio2.h: Likewise.
48007         * libio/libio.h: Likewise.
48008         * libio/libioP.h: Likewise.
48009         * libio/stdio.h: Likewise.
48010         * locale/lc-ctype.c: Likewise.
48011         * locale/locale.h: Likewise.
48012         * login/utmp.h: Likewise.
48013         * malloc/arena.c: Likewise.
48014         * malloc/malloc.c: Likewise.
48015         * malloc/malloc.h: Likewise.
48016         * malloc/mcheck.c: Likewise.
48017         * malloc/mtrace.c: Likewise.
48018         * math/bits/mathcalls.h: Likewise.
48019         * math/fenv.h: Likewise.
48020         * math/math_private.h: Likewise.
48021         * misc/bits/error.h: Likewise.
48022         * misc/bits/syslog.h: Likewise.
48023         * misc/err.h: Likewise.
48024         * misc/error.h: Likewise.
48025         * misc/fstab.h: Likewise.
48026         * misc/mntent.h: Likewise.
48027         * misc/regexp.h: Likewise.
48028         * misc/search.h: Likewise.
48029         * misc/sgtty.h: Likewise.
48030         * misc/sys/mman.h: Likewise.
48031         * misc/sys/syslog.h: Likewise.
48032         * misc/sys/uio.h: Likewise.
48033         * misc/sys/xattr.h: Likewise.
48034         * misc/ttyent.h: Likewise.
48035         * nis/rpcsvc/ypclnt.h: Likewise.
48036         * nss/nss.h: Likewise.
48037         * posix/bits/unistd.h: Likewise.
48038         * posix/fnmatch.h: Likewise.
48039         * posix/glob.h: Likewise.
48040         * posix/sched.h: Likewise.
48041         * posix/spawn.h: Likewise.
48042         * posix/sys/wait.h: Likewise.
48043         * posix/unistd.h: Likewise.
48044         * posix/wordexp.h: Likewise.
48045         * pwd/pwd.h: Likewise.
48046         * resolv/netdb.h: Likewise.
48047         * resource/sys/resource.h: Likewise.
48048         * rt/aio.h: Likewise.
48049         * rt/bits/mqueue2.h: Likewise.
48050         * rt/mqueue.h: Likewise.
48051         * shadow/shadow.h: Likewise.
48052         * signal/signal.h: Likewise.
48053         * socket/send.c: Likewise.
48054         * socket/sendto.c: Likewise.
48055         * socket/sys/socket.h: Likewise.
48056         * stdio-common/printf.h: Likewise.
48057         * stdlib/bits/stdlib.h: Likewise.
48058         * stdlib/fmtmsg.h: Likewise.
48059         * stdlib/monetary.h: Likewise.
48060         * stdlib/stdlib.h: Likewise.
48061         * stdlib/ucontext.h: Likewise.
48062         * streams/stropts.h: Likewise.
48063         * string/argz.h: Likewise.
48064         * string/bits/string2.h: Likewise.
48065         * string/string.h: Likewise.
48066         * string/strings.h: Likewise.
48067         * sunrpc/rpc/auth.h: Likewise.
48068         * sunrpc/rpc/auth_des.h: Likewise.
48069         * sunrpc/rpc/clnt.h: Likewise.
48070         * sunrpc/rpc/netdb.h: Likewise.
48071         * sunrpc/rpc/pmap_clnt.h: Likewise.
48072         * sunrpc/rpc/xdr.h: Likewise.
48073         * sysdeps/generic/inttypes.h: Likewise.
48074         * sysdeps/generic/net/if.h: Likewise.
48075         * sysdeps/generic/sys/swap.h: Likewise.
48076         * sysdeps/gnu/net/if.h: Likewise.
48077         * sysdeps/gnu/utmpx.h: Likewise.
48078         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48079         * sysdeps/i386/i486/bits/string.h: Likewise.
48080         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48081         * sysdeps/s390/bits/string.h: Likewise.
48082         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48083         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48084         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48085         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48086         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48087         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48088         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48089         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48090         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48091         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48092         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48093         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48094         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48095         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48096         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48097         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48098         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48100         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48101         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48103         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48104         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48105         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48106         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48107         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48108         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48109         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48110         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48111         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48112         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48113         * sysvipc/sys/ipc.h: Likewise.
48114         * sysvipc/sys/msg.h: Likewise.
48115         * sysvipc/sys/sem.h: Likewise.
48116         * sysvipc/sys/shm.h: Likewise.
48117         * termios/termios.h: Likewise.
48118         * time/sys/time.h: Likewise.
48119         * time/time.h: Likewise.
48120         * wcsmbs/bits/wchar2.h: Likewise.
48121         * wcsmbs/uchar.h: Likewise.
48122         * wcsmbs/wchar.h: Likewise.
48123         * wctype/wctype.h: Likewise.
48124
48125         [BZ #13551]
48126         * Makeconfig: Remove all but ELF support including AIX support.
48127         * Makerules: Likewise.
48128         * config.h.in: Likewise.
48129         * config.make.in: Likewise.
48130         * configure: Likewise.
48131         * configure.in: Likewise.
48132         * csu/Makefile: Likewise.
48133         * csu/version.c: Likewise.
48134         * debug/Makefile: Likewise.
48135         * dlfcn/Makefile: Likewise.
48136         * elf/Makefile: Likewise.
48137         * extra-lib.mk: Likewise.
48138         * iconv/Makefile: Likewise.
48139         * include/libc-symbols.h: Likewise.
48140         * include/shlib-compat.h: Likewise.
48141         * resolv/Makefile: Likewise.
48142         * resolv/res_libc.c: Likewise.
48143         * rt/Makefile: Likewise.
48144         * sysdeps/i386/asm-syntax.h: Likewise.
48145         * sysdeps/i386/sysdep.h: Likewise.
48146         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48147         * sysdeps/mach/sysdep.h: Likewise.
48148         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48149         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48150         * sysdeps/s390/asm-syntax.h: Likewise.
48151         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48152         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48153         * sysdeps/sh/sysdep.h: Likewise.
48154         * sysdeps/unix/sparc/sysdep.h: Likewise.
48155         * sysdeps/wordsize-32/divdi3.c: Likewise.
48156         * sysdeps/x86_64/sysdep.h: Likewise.
48157
48158         * argp/Versions: Remove _argp_unlock_xxx.
48159
48160         [BZ #13559]
48161         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48162         * abilist/libBrokenLocale.abilist: Likewise.
48163         * abilist/libanl.abilist: Likewise.
48164         * abilist/libc.abilist: Likewise.
48165         * abilist/libcrypt.abilist: Likewise.
48166         * abilist/libdl.abilist: Likewise.
48167         * abilist/libm.abilist: Likewise.
48168         * abilist/libnsl.abilist: Likewise.
48169         * abilist/libpthread.abilist: Likewise.
48170         * abilist/libresolv.abilist: Likewise.
48171         * abilist/librt.abilist: Likewise.
48172         * abilist/libthread_db.abilist: Likewise.
48173         * abilist/libutil.abilist: Likewise.
48174         * abilist/libnss_db.abilist: New file.
48175
48176         * scripts/abilist.awk: Add support for indirect functions.
48177
48178         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48179
48180         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48181
48182         * shlib-versions: Remove entries for ports architectures.
48183
48184         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48185         files in ports.
48186         * elf/stackguard-macros.h: Remove support for IA-64.
48187         * elf/tst-auditmod1.c: Likewise.
48188         * sysdeps/generic/ldsodefs.h: Likewise.
48189
48190         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48191         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48192         configure files.
48193
48194         [BZ #13552]
48195         * configure.in: Remove --enable-omitfp support.
48196         * FAQ.in: Adjust.
48197         * config.make.in: Likewise.
48198         * Makeconfig: Likewise.
48199         * manual/install.texi: Likewise.
48200
48201         In case anyone cares, the IA-64 architecture could move to ports.
48202         * sysdeps/ia64/*: Removed.
48203         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48204         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48205
48206         [BZ #13555]
48207         * configure.in: Remove entries for unsupported architectures.
48208
48209         [BZ #13533]
48210         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48211         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48212         routines.
48213         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48214         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48215         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48216         fall back to using wcrtomb.
48217         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48218         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48219         renaming.
48220         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48221         * wcsmbs/tst-c16c32-1.c: New file.
48222
48223         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48224         local variable.
48225
48226         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48227
48228         * elf/tst-unique3.cc: Add explicit declaration of gets.
48229         * elf/tst-unique3lib.cc: Likewise.
48230         * elf/tst-unique3lib2.cc: Likewise.
48231         * elf/tst-unique4.cc: Likewise.
48232
48233         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48234
48235 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48236
48237         [BZ #13566]
48238         * assert/assert.h (static_assert): Don't define for C++.
48239         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48240         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48241
48242 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48243
48244         * iconv/loop.c (single loop): Fix assertion in storing of
48245         remaining bytes.
48246
48247         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48248
48249 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48250
48251         * posix/getconf.c: Update copyright year.
48252         * nss/getent.c: Likewise.
48253         * nss/makedb.c: Likewise.
48254         * iconv/iconvconfig.c: Likewise.
48255         * iconv/iconv_prog.c: Likewise.
48256         * elf/ldconfig.c: Likewise.
48257         * elf/pldd.c: Likewise.
48258         * elf/sotruss.ksh: Likewise.
48259         * catgets/gencat.c: Likewise.
48260         * csu/version.c: Likewise.
48261         * elf/ldd.bash.in: Likewise.
48262         * elf/sprof.c (print_version): Likewise.
48263         * locale/programs/locale.c: Likewise.
48264         * locale/programs/localedef.c: Likewise.
48265         * login/programs/pt_chown.c: Likewise.
48266         * nscd/nscd.c (print_version): Likewise.
48267         * debug/xtrace.sh: Likewise.
48268         * malloc/memusage.sh: Likewise.
48269         * malloc/mtrace.pl: Likewise.
48270         * debug/catchsegv.sh: Likewise.
48271
48272 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48273
48274         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48275         pure attribute.
48276
48277 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48278
48279         [BZ #13533]
48280         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48281         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48282         transformations.
48283         * iconv/gconv_int.h: Likewise.
48284         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48285         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48286         from libc for GLIBC_2.16.
48287         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48288         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48289         * wcsmbs/uchar.h: Really define mbstate_t.
48290         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48291         * wcsmbs/c16rtomb.c: New file.
48292         * wcsmbs/mbrtoc16.c: New file.
48293         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48294         for C/POSIX locale.
48295         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48296         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48297
48298         * wcsmbs/wchar.h: Add missing __restrict.
48299
48300 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48301
48302         [BZ #13532]
48303         * time/Makefile (routines): Add timespec_get.
48304         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48305         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48306         timespec for ISO C11.
48307         * time/timespec_get.c: New file.
48308         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48309         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48310
48311         [BZ #13531]
48312         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48313         * stdlib/stdlib.h: Declare aligned_alloc.
48314         * Versions.def: Add GLIBC_2.16 for libc.
48315         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48316
48317         [BZ 13527]
48318         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48319         ISO C11.
48320
48321         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48322         code.
48323
48324         [BZ #13528]
48325         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48326
48327         [BZ #13529]
48328         * assert/assert.h (static_assert): Define.
48329
48330         * version.h: Update for 2.16 development version.
48331
48332         [BZ #13526]
48333         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48334         _ISOC11_SOURCE.
48335
48336         * version.h (RELEASE): Bump for 2.15 release.
48337         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48338
48339         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48340         Patch by Marek Polacek <mpolacek@redhat.com>.
48341
48342         * bits/byteswap.h: Protect long long constants with __extension__.
48343         * sysdeps/i386/bits/byteswap.h: Likewise.
48344         * sysdeps/ia64/bits/byteswap.h: Likewise.
48345         * sysdeps/s390/bits/byteswap.h: Likewise.
48346         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48347
48348 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48349
48350         [BZ #13540]
48351         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48352         destination buffer.
48353         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48354
48355 2011-12-23  Marek Polacek  <polacek@redhat.com>
48356
48357         * elf/dl-addr.c (determine_info): Add inline keyword.
48358         * elf/tst-auditmod4b.c (check_avx): Likewise.
48359         * elf/tst-auditmod6b.c (check_avx): Likewise.
48360         * elf/tst-auditmod6c.c (check_avx): Likewise.
48361         * elf/tst-auditmod7b.c (check_avx): Likewise.
48362
48363 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48364
48365         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48366         !__SSE_MATH__.
48367
48368 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48369
48370         [BZ #13540]
48371         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48372         processing for last bytes.
48373
48374 2011-08-06  Bruno Haible  <bruno@clisp.org>
48375
48376         [BZ #13061]
48377         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48378         U+0385, not to U+1FEE.
48379
48380         [BZ #13062]
48381         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48382         entry for U+00A5 U+0301.
48383
48384 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48385
48386         [BZ #13166]
48387         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48388         buffer for the output is too small.
48389
48390         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48391         optimization.
48392
48393         [BZ #13185]
48394         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48395         SSE flags if possible.
48396
48397 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48398
48399         [BZ #13540]
48400         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48401         processing for last bytes.
48402
48403 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48404
48405         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48406         (syscall-list-default-options, syscall-list-default-condition)
48407         (syscall-list-includes): Define.
48408         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48409         list of ABIs and options and #if conditions for each ABI.  Do not
48410         handle common syscalls between ABIs specially.
48411         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48412         Remove.
48413         (syscall-list-variants, syscall-list-32bit-options)
48414         (syscall-list-32bit-condition, syscall-list-64bit-options)
48415         (syscall-list-64bit-condition): Define.
48416         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48417         (syscall-list-variants, syscall-list-32bit-options)
48418         (syscall-list-32bit-condition, syscall-list-64bit-options)
48419         (syscall-list-64bit-condition): Define.
48420         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48421         Remove.
48422         (syscall-list-variants, syscall-list-32bit-options)
48423         (syscall-list-32bit-condition, syscall-list-64bit-options)
48424         (syscall-list-64bit-condition): Define.
48425         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48426         Remove.
48427         (syscall-list-variants, syscall-list-32bit-options)
48428         (syscall-list-32bit-condition, syscall-list-64bit-options)
48429         (syscall-list-64bit-condition): Define.
48430
48431 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48432
48433         * locale/iso-639.def: Add brx entry.
48434
48435         [BZ #13328]
48436         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48437         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48438
48439         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48440         __feraiseexcept_renamed.
48441
48442 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48443
48444         [BZ #13538]
48445         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48446         EPOLLET with unsigned values.
48447         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48448         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48449
48450         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48451         to large cancellation.
48452         * math/s_cacoshf.c: Likewise.
48453         * math/s_cacoshl.c: Likewise.
48454
48455 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48456
48457         [BZ #13305]
48458         [BZ #12786]
48459         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48460         * math/s_cacoshf.c: Likewise.
48461         * math/s_cacoshl.c: Likewise.
48462
48463 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48464
48465         [BZ #13439]
48466         * iconv/gconv.h: Define __GCONV_SWAP.
48467         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48468         * iconvdata/utf-16.c: Likewise.
48469         * iconvdata/utf-32.c: Likewise.
48470
48471 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48472
48473         [BZ #13524]
48474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48475         numerator after shifting it by one limb.
48476
48477 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48478
48479         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48480         under [__USE_EXTERN_INLINES].
48481
48482 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48483
48484         [BZ #13446]
48485         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48486
48487 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48488
48489         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48490         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48491         optimized code.
48492         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48493         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48494         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48495         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48496         for strncasecmp/strncasecmp_l compilation.
48497         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48498         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48499
48500 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48501
48502         [BZ #13484]
48503         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48504         of __asm__.
48505
48506 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48507
48508         [BZ #13506]
48509         * time/tzfile.c (__tzfile_read): Check values from file header.
48510
48511 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48512
48513         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48514         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48515         * powerpc/powerpc32/dl-start.S: Likewise.
48516         * powerpc/powerpc32/elf/start.S: Likewise.
48517         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48518         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48519         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48520         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48521         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48522         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48523         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48524         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48525         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48526         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48527         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48528         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48529         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48530         * powerpc/powerpc32/memset.S: Likewise.
48531         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48532         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48533         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48534         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48535         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48536         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48537         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48538         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48539         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48540         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48541         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48542         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48543         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48544
48545 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48546
48547         * math/libm-test.inc: Added more nearbyint tests.
48548         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48549         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48550         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48552
48553 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48554
48555         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48556         FD_CLOEXEC.
48557
48558 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48559
48560         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48561         Add wcscpy-ssse3 wcscpy-c.
48562         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48563         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48564         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48565         * sysdeps/x86_64/wcschr.S: New file.
48566         * sysdeps/x86_64/wcsrchr.S: New file.
48567         * string/test-strcmp.c: Remove checking of wcscmp function for
48568         wrong alignments.
48569         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48570         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48571         wcsrchr-sse2 wcsrchr-c.
48572         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48573         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48574         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48575         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48576         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48577         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48578         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48579         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48580         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48581         * wcsmbc/wcschr.c (WCSCHR): New macro.
48582
48583 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48584
48585         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48586         * wcsmbs/test-wcsrchr.c: New file.
48587         * string/test-strrchr.c: Add wcsrchr support.
48588         (WIDE): New macro.
48589         * wcsmbs/test-wcscpy.c: New file.
48590         * string/test-strcpy.c: Add wcscpy support.
48591         (WIDE): New macro.
48592
48593 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48594
48595         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48596         the inner loop.
48597
48598 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48599
48600         [BZ #13472]
48601         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48602
48603 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48604
48605         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48606         Minor optimizations.
48607
48608         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48609         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48610         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48611
48612 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48613
48614         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48615         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48616         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48617         for gcc to avoid warnings.
48618         * inet/Makefile (tests): Add tst-checks.
48619         * inet/tst-checks.c: New file.
48620
48621         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48622         warning.
48623
48624         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48625         __wmemcmp_sse2.
48626
48627         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48628         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48629
48630         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48631
48632 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48633
48634         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48635         problem.
48636
48637         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48638
48639 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48640
48641         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48642         conditional on GCC version.
48643         (__arch_compare_and_exchange_val_8_acq)
48644         (__arch_compare_and_exchange_val_16_acq)
48645         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48646         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48647         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48648
48649 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48650
48651         * sysdeps/sh/backtrace.c: New file.
48652
48653 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48654
48655         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48656         parenthesis.
48657
48658 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48659
48660         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48661         falling back to utime.
48662
48663 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48664
48665         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48666         expectations for float.
48667
48668 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48669
48670         * locale/weight.h (findidx): Add parameter len.
48671         * locale/weightwc.h (findidx): Likewise.
48672         * posix/fnmatch_loop.c (FCT): Adjust caller.
48673         * posix/regcomp.c (build_equiv_class): Likewise.
48674         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48675         * posix/regexec.c (check_node_accept_bytes): Likewise.
48676         * string/strcoll_l.c (STRCOLL): Likewise.
48677         * string/strxfrm_l.c (STRXFRM): Likewise.
48678
48679 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48680
48681         * Makefile.in: Remove CVSOPT handling.
48682         * configure.in: Remove use of AC_REVISION.
48683         * iconvdata/Makefile (distribute): No need to filter out CVS.
48684         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48685         handling.
48686
48687 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48688
48689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48690         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48691         [USE_AS_STRNCASECMP_L]: Likewise.
48692         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48693         NO_TLS_DIRECT_SEG_REFS.
48694         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48695         Fix argument offsets for non-PIC.
48696         [USE_AS_STRNCASECMP_L]: Likewise.
48697         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48698         NO_TLS_DIRECT_SEG_REFS.
48699
48700 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48701
48702         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48703         O_CLOEXEC.
48704         * locale/loadlocale.c (_nl_load_locale): Likewise.
48705
48706 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48707
48708         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48709         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48710         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48711         (SYSCALL_GETTIME): Set errno on error.
48712
48713         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48714         count references to noai6ai_cached.
48715
48716 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48717
48718         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48719
48720         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48721         FD_CLOEXEC for /proc/self/maps.
48722
48723         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48724         FD_CLOEXEC for /proc/meminfo.
48725
48726         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48727         gai.conf.
48728
48729         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48730         FD_CLOEXEC for given file.
48731
48732         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48733
48734         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48735         FD_CLOEXEC for /etc/hosts.
48736         (_gethtent): Likewise.
48737
48738         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48739
48740         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48741         cancellation and set FD_CLOEXEC for /etc/netgroup.
48742
48743         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48744         reading /etc/publickey.
48745
48746         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48747         allow cancellation when reading /etc/group.
48748
48749         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48750         cancellation.
48751         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48752
48753         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48754         when using data file.
48755
48756         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48757
48758         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48759         (write_nis_obj): Use "c" and "e" in fopen.
48760
48761         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48762
48763         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48764
48765         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48766
48767         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48768
48769         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48770         locale.alias.
48771
48772         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48773
48774         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48775
48776         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48777
48778         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48779         file parsing and set FD_CLOEXEC.
48780
48781 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48782
48783         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48784
48785 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48786
48787         * malloc/arena.c (arena_get2): Don't call reused_arena when
48788         _int_new_arena failed.
48789
48790 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48791
48792         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48793         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48794         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48796         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48797         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48798         to compile strcasecmp and strncasecmp.
48799         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48800         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48801
48802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48803
48804 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48805
48806         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48807         locale-defines.sym to gen-as-const-headers.
48808         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48809         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48811         to compile strcasecmp and strncasecmp.
48812         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48813         strcasecmp_l and strncasecmp_l.
48814         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48815         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48816         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48817         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48818         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48819         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48820         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48821         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48822         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48823         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48824         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48825
48826 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48827
48828         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48829         result of SYSDEP_GETTIME_CPU to retval.
48830         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48831         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48832
48833         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48834         variable.
48835
48836         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48837         mantissa words.
48838         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48839
48840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48841         from unused variable.
48842
48843         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48844         DWARF definitions.
48845         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48846         for assembling.
48847
48848         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48849         over namespaces.
48850
48851         * sunrpc/rpc_prot.c (rejected): Fix case value.
48852
48853         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48854         unsigned long long int to avoid warnings in shift.
48855
48856         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48857         of use of trans.
48858         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48859         variable tmp.
48860
48861         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48862         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48863         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48864
48865         * nis/nis_table.c (nis_list): Use variable of correct type for
48866         result of __follow_path call.
48867
48868 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48869
48870         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48871         of math functions ceil, trunc, floor, round, and sqrt, when
48872         avaliable on the platform.
48873         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48874         name clash.
48875         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48876         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48877         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48878
48879 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48880
48881         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48882         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48883
48884 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48885
48886         * include/unistd.h: Fix __readlink return type.
48887         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48888
48889 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48890
48891         * stdlib/ucontext.h: Undo last change for makecontext.
48892
48893 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48894
48895         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48896
48897         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48898         * setjmp/setjmp.h: Mark functions as non-leaf.
48899         * setjmp/bits/setjmp2.h: Likewise.
48900         * stdlib/ucontext.h: Likewise.
48901
48902 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48903
48904         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48905         (reused_arena): Don't check arena limit.
48906         (arena_get2): Atomically check arena limit.
48907
48908 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48909
48910         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48911         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48912
48913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48914         instructions.
48915
48916 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48917
48918         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48919         handler when locking.
48920
48921         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48922         Fix size of allocated buffer.
48923
48924 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48925
48926         [BZ #10103]
48927         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48928         declarations for long double functions.
48929         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48930
48931         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48932
48933 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48934
48935         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48936         installed.
48937
48938         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48939         is disabled.
48940
48941 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48942
48943         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48944
48945 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48946
48947         * include/alloca.h (stackinfo_alloca_round): Define.
48948         (extend_alloca): Use it.
48949         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48950         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48951         here.
48952
48953         * scripts/check-local-headers.sh: Ignore libaudit.h.
48954
48955         * nscd/Makefile (extra-objs): Make recursively expanded.
48956
48957 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48958
48959         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48960         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48961
48962         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48963         * posix/tst-rfc3484-2.c: Likewise.
48964         * posix/tst-rfc3484-3.c: Likewise.
48965
48966         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48967         process_vm_writev.
48968         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48969         process_vm_writev.
48970         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48971         process_vm_writev from libc using GLIBC_2.15 version.
48972
48973         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48974
48975 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48976
48977         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48978         stack usage.
48979
48980 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48981
48982         [BZ #13367]
48983         * nss/getent.c (initgroups_keys): Show error message in case no group
48984         names are given.
48985
48986         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48987         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48988         __bump_nl_timestamp.
48989         * nscd/connections (nscd_init): When host database is served open
48990         netlink socket and request notification about configuration changes.
48991         (main_loop_poll): Track netlink file descriptor and bump timestamp
48992         in case data becomes available.
48993         (main_loop_epoll): Likewise.
48994         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48995         (database_pers_head): Add extra_data fileds.
48996         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48997         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48998         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48999         Adjust caller.
49000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49001         in6ai data, call __free_in6ai.
49002         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49003         Add -DHAVE_NETLINK.
49004         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
49005         interface information.  Reuse previous data if netlink timestamp
49006         is not changed.
49007         (__bump_nl_timestamp): New function.
49008         (__free_in6ai): New function.
49009
49010 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
49011
49012         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49013         close_not_cancel_no_status here.
49014         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49015
49016 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49017
49018         [BZ #13276]
49019         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49020         return value.
49021
49022         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49023         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49024         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49025
49026 2011-07-03  Andreas Jaeger  <aj@suse.de>
49027
49028         [BZ #10709]
49029         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49030         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49031         * math/libm-test.inc (sin_test): Add test case.
49032
49033 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49034
49035         [BZ #13337]
49036         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49037         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49038
49039         * elf/chroot_canon.c (chroot_canon): Cleanups.
49040
49041         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49042
49043         [BZ #13335]
49044         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49045         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49046
49047         * string/test-strchr.c: Make usable for strchrnul testing.
49048         * string/test-strchrnul.c: New file.
49049         * string/Makefile (strop-tests): Add strchrnul.
49050
49051         * po/it.po: Update from translation team.
49052         * po/es.po: Likewise.
49053
49054 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49055
49056         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49057         the three constants needed as parameters.  Drop the others.
49058         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49059         __m128i_strloadu_tolower.
49060         Create and initialize variable zero and use it in all the places
49061         where _mm_setzero_si128 was used.
49062
49063         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49064         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49065         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49066         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49067         anymore.
49068         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49069         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49070         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49071         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49072         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49073         __mpranred, __mptan.
49074         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49075         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49076         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49077         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49078         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49079         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49080         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49081         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49082         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49083
49084 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49085
49086         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49087         redefine if SHARED.
49088         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49089
49090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49091         wide char related routines to wcsmbs subdir.
49092
49093 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49094
49095         [BZ #13344]
49096         * misc/sys/cdefs.h (__THROWNL): Define.
49097         * posix/unistd.h: Use __THREADNL instead of __THREAD
49098         for memory synchronization functions.
49099
49100 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49101
49102         [BZ #13349]
49103         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49104         doesn't exist.
49105         * manual/stdio.texi (Obstack Streams): Node removed.
49106
49107 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49108
49109         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49110         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49111         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49112
49113         * math/math_private.h (math_force_eval): Allow non-addressable
49114         arguments.
49115         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49116
49117 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49118
49119         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49120         file is not needed.
49121
49122         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49123         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49124         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49125         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49126         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49127         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49128         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49129         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49130         Add AVX variants.
49131         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49132         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49133         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49134         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49135         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49136         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49137         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49138         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49139         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49140         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49141         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49142         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49143         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49144         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49145         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49146         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49147         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49148         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49149         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49150
49151         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49152         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49153
49154         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49155         place.  Use VEX encoding when compiling for AVX.
49156
49157 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49158
49159         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49160         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49161
49162         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49163
49164 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49165
49166         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49167         useless if() expression.
49168         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49169         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49170         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49171         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49172         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49173         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49174         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49175         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49176         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49177         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49178         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49179         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49180         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49181         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49182         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49183         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49184         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49185         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49186         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49187
49188         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49189
49190 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49191
49192         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49193         condition.
49194         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49195
49196 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49197
49198         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49199         .text section.  Avoid duplicate constants.
49200         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49202         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49204         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49205         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49206         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49207         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49208         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49209         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49210         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49211         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49212         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49213         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49214         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49215         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49216         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49217         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49218         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49219         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49220         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49221         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49222         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49223         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49224         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49225         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49226         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49227         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49228         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49229         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49230         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49231         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49232         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49233         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49234         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49235         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49236         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49237         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49238         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49239         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49240         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49241         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49242         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49243         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49244         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49245
49246 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49247
49248         * sysdeps/x86_64/dla.h: Move to ...
49249         * sysdeps/x86_64/fpu/dla.h: ...here.
49250         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49251         situations.  Use __builtin_fma only for gcc 4.6 and up.
49252
49253         * config.make.in: Add have-mfma4 entry.
49254         * configure.in: Substitute libc_cv_cc_fma4.
49255         * math/Makefile (dbl-only-routines): Add sincostab.
49256         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49257         Use __sincostab not sincos.
49258         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49259         name is a macro.
49260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49264         using __copysign.
49265         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49266         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49267         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49268         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49269         and __inv.
49270         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49271         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49272         __copysign.
49273         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49274         define aliases when function name is a macro.
49275         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49276         sysdeps/ieee754/dbl-64/sincos.tbl.
49277         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49278         fma4-enabled routines.
49279         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49280         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49281         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49282         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49283         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49284         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49286         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49287         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49288         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49289         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49290         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49291         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49292         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49293         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49294         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49295         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49296         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49297         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49298         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49299         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49300         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49302         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49303         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49304         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49305         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49306         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49307         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49308         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49309
49310         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49311         rename.
49312         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49314         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49315         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49316         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49317         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49318         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49319         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49320
49321 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49322
49323         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49324
49325 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49326
49327         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49328
49329         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49330         prediction.
49331         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49332
49333         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49334         Remove unused variable magic_bits.
49335         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49336
49337         * string/strnlen.c: Define and use STRNLEN macro.
49338         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49339         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49341         * wcsmbs/wcslen.c: Define and use WCSLEN.
49342         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49343         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49344         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49345         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49346         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49347         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49348         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49349
49350 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49351
49352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49353         strnlen-sse2-no-bsf.
49354         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49356         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49357         Add strnlen support.
49358         (USE_AS_STRNLEN): New macro.
49359         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49360         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49361         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49362         * sysdeps/x86_64/wcslen.S: New file.
49363
49364 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49365
49366         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49367         XMM-moves are used for copying on small sizes.
49368
49369 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49370
49371         * wcsmbs/Makefile (strop-tests): Add wcschr.
49372         * wcsmbs/test-wcschr.c: New file.
49373         * string/test-strchr.c: Update.
49374         Add wcschr support.
49375         (WIDE): New macro.
49376
49377 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49378
49379         * wcsmbs/Makefile (strop-tests): Add wcslen.
49380         * wcsmbs/test-wcslen.c: New file.
49381         * string/test-strlen.c: Update.
49382         Add wcslen support.
49383         (WIDE): New macro.
49384
49385 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49386
49387         * po/it.po: Update from translation team.
49388
49389 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49390
49391         * sysdeps/x86_64/wcscmp.S: Update.
49392         Fix wrong comparison semantics.
49393         wcscmp shall use signed comparison not unsigned.
49394         Don't use substraction to avoid overflow bug.
49395         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49396         * wcsmbc/wcscmp.c: Likewise.
49397         * string/test-strcmp.c: Likewise.
49398         Add new tests to check cases with negative values.
49399
49400 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49401
49402         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49403         * sysdeps/x86_64/dla.h: ...here.  New file.
49404         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49412         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49413
49414 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49415
49416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49417         __ynl_finite aliases.
49418
49419 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49420
49421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49422
49423         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49424         define DLA_FMA.
49425         [DLA_FMA] (EMULV): Use DLA_FMA.
49426         [DLA_FMA] (MUL12): Use EMULV.
49427         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49428         that are not needed.
49429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49430         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49433         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49434         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49436
49437 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49438
49439         * math/s_nan.c: Undef __nan.
49440         * math/s_nanf.c: Undef __nanf.
49441         * math/s_nanl.c: Undef __nanl.
49442         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49443         "math_private.h".
49444
49445 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49446
49447         * math/s_catan.c: Add branch predictions.
49448         * math/s_catanf.c: Likewise.
49449         * math/s_catanh.c: Likewise.
49450         * math/s_catanhf.c: Likewise.
49451         * math/s_catanhl.c: Likewise.
49452         * math/s_catanl.c: Likewise.
49453         * math/s_cexp.c: Likewise.
49454         * math/s_cexpf.c: Likewise.
49455         * math/s_cexpl.c: Likewise.
49456         * math/s_clog.c: Likewise.
49457         * math/s_clog10.c: Likewise.
49458         * math/s_clog10f.c: Likewise.
49459         * math/s_clog10l.c: Likewise.
49460         * math/s_clogf.c: Likewise.
49461         * math/s_clogl.c: Likewise.
49462         * math/s_csqrt.c: Likewise.
49463         * math/s_csqrtf.c: Likewise.
49464         * math/s_csqrtl.c: Likewise.
49465         * math/s_ctanf.c: Likewise.
49466         * math/s_ctanh.c: Likewise.
49467         * math/s_ctanhf.c: Likewise.
49468         * math/s_ctanhl.c: Likewise.
49469         * math/s_ctanl.c: Likewise.
49470
49471         * math/math_private.h: Define __nan, __nanf, __nanl.
49472         * math/s_cacosh.c: Include <math_private.h>.
49473         * math/s_cacoshl.c: Likewise.
49474         * math/s_casinh.c: Likewise.
49475         * math/s_casinhf.c: Likewise.
49476         * math/s_casinhl.c: Likewise.
49477         * math/s_ccos.c: Rely entire on ccosh.
49478         * math/s_ccosf.c: Rely entire on ccoshf.
49479         * math/s_ccosl.c: Rely entirely on ccoshl.
49480         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49481         Remove tests for FE_INVALID.
49482         * math/s_ccoshf.c: Likewise.
49483         * math/s_ccoshl.c: Likewise.
49484         * math/s_csin.c: Likewise.
49485         * math/s_csinf.c: Likewise.
49486         * math/s_csinh.c Likewise.
49487         * math/s_csinhf.c: Likewise.
49488         * math/s_csinhl.c: Likewise.
49489         * math/s_csinl.c: Likewise.
49490         * math/s_ctan.c: Likewise.
49491         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49492         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49493         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49494
49495 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49496
49497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49498         compilation problems.
49499
49500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49501         __builtin_expect.
49502
49503 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49504
49505         * sysdeps/i386/configure.in: Test for -mfma4 option.
49506         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49507         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49508         COMMON_CPUID_INDEX_80000001.
49509         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49510         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49511         use it if FMA3 is not supported.
49512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49513
49514         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49515         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49516
49517 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49518
49519         [BZ #12892]
49520         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49521         it would create a cycle with a link time dependency.
49522
49523 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49524
49525         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49526         instruction.
49527         * string/Makefile (strop-tests): Add rawmemchr.
49528         * string/test-rawmemchr.c: New file.
49529
49530         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49531         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49532         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49533         when compiling str{,n}casecmp and when AVX is available.  Hook up
49534         new optimized code in initializers.
49535
49536 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49537
49538         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49539         __feraiseexcept instead of feraiseexcept.
49540
49541 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49542
49543         * math/math_private.h: Define defaults for libc_fetestexcept and
49544         libc_feupdateenv.
49545         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49546         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49547         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49548         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49549         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49550         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49551         libc_fetestexcept and libc_feupdateenv.
49552
49553         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49554         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49555         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49556         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49557         libc_feholdexcept_setround.
49558
49559         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49560         Add s_nearbyint-c and s_nearbyintf-c.
49561         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49562         nearbyintf inlines.
49563         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49564         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49565         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49566         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49567
49568         * math/math_private.h: Define defaults for libc_fegetround,
49569         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49570         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49571         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49572         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49573         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49574         standard functions.
49575         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49576         Remove comments and hacks for old compiler versions.
49577         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49578         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49579         libc_feholdexceptl.
49580
49581 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49582
49583         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49584         (__feraiseexcept_renamed): Add __NTH.
49585         (feraiseexcept): Add __NTH.  Rename local variables to fix
49586         namespace violations.
49587
49588 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49589
49590         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49591
49592         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49593
49594         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49595         recently added interfaces.
49596         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49597
49598         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49599         about macro parameter expansion.
49600
49601         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49602         __NO_MATH_INLINES is defined.  Cleanups.
49603
49604         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49605         and __floorf is target has SSE4.1.
49606         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49607         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49608         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49609         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49610
49611         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49612         name.
49613         (floorf): Likewise.
49614
49615         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49616
49617 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49618
49619         * misc/sys/cdefs.h: Fix last change.
49620
49621         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49622         database lookup.
49623
49624 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49625
49626         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49627
49628         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49629         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49630         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49631         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49632         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49633         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49634         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49635         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49636         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49637         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49638         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49639         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49640         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49641         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49642         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49643         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49644         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49645         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49646         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49647         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49648         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49649         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49650
49651         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49652         ceil, ceilf, floor, floorf.
49653
49654         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49655         Perform IRELATIVE relocations last.
49656
49657         * elf/do-rel.h: Add another parameter nrelative, replacing the
49658         local variable with the same name.  Change name of the function
49659         to end in Rel or Rela (uppercase).
49660         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49661         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49662         elf_dynamic_do_##reloc function.
49663
49664 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49665
49666         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49667         is sufficient, at least on modern CPUs.
49668
49669         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49670
49671         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49672         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49673
49674         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49675         __expl_finite.
49676         * math/bits/math-finite.h: Add entries for exp.
49677         * math/e_expl.c: Add __*_finite alias.
49678         * sysdeps/i386/fpu/e_exp.S: Likewise.
49679         * sysdeps/i386/fpu/e_expf.S: Likewise.
49680         * sysdeps/i386/fpu/e_expl.c: Likewise.
49681         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49682         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49683         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49685         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49686         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49687         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49688
49689         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49690         is sufficient, at least on modern CPUs.
49691
49692         * ctype/ctype-info.c (__ctype_init): Define.
49693         * include/ctype.h (__ctype_init): Declare.
49694         (__ctype_b_loc): The variable is always initialized.
49695         (__ctype_toupper_loc): Likewise.
49696         (__ctype_tolower_loc): Likewise.
49697         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49698         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49699
49700 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49701
49702         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49703
49704         * configure.in: Also look in $cxxmachine/include for C++ system
49705         headers.
49706
49707 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49708
49709         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49710         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49711         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49712         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49713         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49714         (USE_AS_WMEMCMP): New macro.
49715         Fixing indents.
49716         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49717         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49718         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49719         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49721         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49722         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49723         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49724         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49725         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49726         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49727         (USE_AS_WMEMCMP): New macro.
49728         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49729         * sysdeps/string/test-memcmp.c: Update.
49730         Fix simple_wmemcmp.
49731         Add new tests.
49732         * wcsmbs/wmemcmp.c: Update.
49733         (WMEMCMP): New macro.
49734         Fix overflow bug.
49735
49736 2011-10-12  Andreas Jaeger  <aj@suse.de>
49737
49738         [BZ #13268]
49739         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49740
49741 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49742
49743         * libio/iofwide.c (do_length): Avoid warning.
49744
49745         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49746
49747 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49748
49749         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49750
49751         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49752         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49753         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49754         * sysdeps/i386/i686/fpu/e_log.S: New file.
49755         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49756         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49757
49758         * ctype/ctype.h: Add support for inlined isXXX functions when
49759         compiling C++ code.
49760
49761 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49762
49763         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49764
49765         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49766
49767 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49768
49769         [BZ #13291]
49770         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49771
49772 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49773
49774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49775         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49776         feraiseexcept.
49777
49778         * sysdeps/x86_64/memrchr.S: Check for zero size.
49779
49780         * string/stratcliff.c: Add memrchr tests.
49781
49782 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49783
49784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49785         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49786         rawmemchr-sse2 rawmemchr-sse2-bsf.
49787         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49788         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49789         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49790         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49791         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49792         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49793         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49794         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49795         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49796         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49797         * string/memrchr.c (MEMRCHR): New macro.
49798
49799 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49800
49801         Add integration with gcc's -ffinite-math-only and optimize wrapper
49802         functions in libm.
49803         * Versions.def: Define GLIBC_2.15 version for libm.
49804         * math/Makefile (headers): Add bits/math-finite.h.
49805         * math/bits/math-finite.h: New file.
49806         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49807         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49808         * math/e_acoshl.c: Add __*_finite alias.
49809         * math/e_acosl.c: Likewise.
49810         * math/e_asinl.c: Likewise.
49811         * math/e_atan2l.c: Likewise.
49812         * math/e_atanhl.c: Likewise.
49813         * math/e_coshl.c: Likewise.
49814         * math/e_exp10.c: Likewise.
49815         * math/e_exp10f.c: Likewise.
49816         * math/e_exp10l.c: Likewise.
49817         * math/e_exp2l.c: Likewise.
49818         * math/e_fmodl.c: Likewise.
49819         * math/e_gammal_r.c: Likewise.
49820         * math/e_hypotl.c: Likewise.
49821         * math/e_j0l.c: Likewise.
49822         * math/e_j1l.c: Likewise.
49823         * math/e_jnl.c: Likewise.
49824         * math/e_lgammal_r.c: Likewise.
49825         * math/e_log10l.c: Likewise.
49826         * math/e_log2l.c: Likewise.
49827         * math/e_logl.c: Likewise.
49828         * math/e_powl.c: Likewise.
49829         * math/e_sinhl.c: Likewise.
49830         * math/e_sqrtl.c: Likewise.
49831         * math/e_scalb.c: Completely rewritten and optimized.
49832         * math/e_scalbf.c: Likewise.
49833         * math/e_scalbl.c: Likewise.
49834         * math/w_acos.c: Likewise.
49835         * math/w_acosf.c: Likewise.
49836         * math/w_acosl.c: Likewise.
49837         * math/w_acosh.c: Likewise.
49838         * math/w_acoshf.c: Likewise.
49839         * math/w_acoshl.c: Likewise.
49840         * math/w_asin.c: Likewise.
49841         * math/w_asinf.c: Likewise.
49842         * math/w_asinl.c: Likewise.
49843         * math/w_atan2.c: Likewise.
49844         * math/w_atan2f.c: Likewise.
49845         * math/w_atan2l.c: Likewise.
49846         * math/w_atanh.c: Likewise.
49847         * math/w_atanhf.c: Likewise.
49848         * math/w_atanhl.c: Likewise.
49849         * math/w_exp10.c: Likewise.
49850         * math/w_exp10f.c: Likewise.
49851         * math/w_exp10l.c: Likewise.
49852         * math/w_fmod.c: Likewise.
49853         * math/w_fmodf.c: Likewise.
49854         * math/w_fmodl.c: Likewise.
49855         * math/w_j0.c: Likewise.
49856         * math/w_j0f.c: Likewise.
49857         * math/w_j0l.c: Likewise.
49858         * math/w_j1.c: Likewise.
49859         * math/w_j1f.c: Likewise.
49860         * math/w_j1l.c: Likewise.
49861         * math/w_jn.c: Likewise.
49862         * math/w_jnf.c: Likewise.
49863         * math/w_log.c: Likewise.
49864         * math/w_logf.c: Likewise.
49865         * math/w_logl.c: Likewise.
49866         * math/w_log10.c: Likewise.
49867         * math/w_log10f.c: Likewise.
49868         * math/w_log10l.c: Likewise.
49869         * math/w_log2.c: Likewise.
49870         * math/w_log2f.c: Likewise.
49871         * math/w_log2l.c: Likewise.
49872         * math/w_pow.c: Likewise.
49873         * math/w_powf.c: Likewise.
49874         * math/w_powl.c: Likewise.
49875         * math/w_remainder.c: Likewise.
49876         * math/w_remainderf.c: Likewise.
49877         * math/w_remainderl.c: Likewise.
49878         * math/w_scalb.c: Likewise.
49879         * math/w_scalbf.c: Likewise.
49880         * math/w_scalbl.c: Likewise.
49881         * math/w_sqrt.c: Likewise.
49882         * math/w_sqrtf.c: Likewise.
49883         * math/w_sqrtl.c: Likewise.
49884         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49885         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49886         used.
49887         * math/math_private.h: Declare __kernel_standard_f.
49888         * math/w_cosh.c: Remove cruft and optimize a bit.
49889         * math/w_coshf.c: Likewise.
49890         * math/w_coshl.c: Likewise.
49891         * math/w_exp2.c: Likewise.
49892         * math/w_exp2f.c: Likewise.
49893         * math/w_exp2l.c: Likewise.
49894         * math/w_hypot.c: Likewise.
49895         * math/w_hypotf.c: Likewise.
49896         * math/w_hypotl.c: Likewise.
49897         * math/w_lgamma.c: Likewise.
49898         * math/w_lgamma_r.c: Likewise.
49899         * math/w_lgammaf.c: Likewise.
49900         * math/w_lgammaf_r.c: Likewise.
49901         * math/w_lgammal.c: Likewise.
49902         * math/w_lgammal_r.c: Likewise.
49903         * math/w_sinh.c: Likewise.
49904         * math/w_sinhf.c: Likewise.
49905         * math/w_sinhl.c: Likewise.
49906         * math/w_tgamma.c: Likewise.
49907         * math/w_tgammaf.c: Likewise.
49908         * math/w_tgammal.c: Likewise.
49909         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49910         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49911         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49912         Minor optimizations.  Pretty printing.  Remove cruft.
49913         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49914         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49915         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49916         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49917         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49918         * sysdeps/i386/fpu/e_asin.S: Likewise.
49919         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49920         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49921         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49922         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49923         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49924         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49925         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49926         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49927         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49928         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49929         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49930         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49931         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49932         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49933         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49934         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49935         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49936         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49937         * sysdeps/i386/fpu/e_log.S: Likewise.
49938         * sysdeps/i386/fpu/e_log10.S: Likewise.
49939         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49941         * sysdeps/i386/fpu/e_log2.S: Likewise.
49942         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49943         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49944         * sysdeps/i386/fpu/e_logf.S: Likewise.
49945         * sysdeps/i386/fpu/e_logl.S: Likewise.
49946         * sysdeps/i386/fpu/e_pow.S: Likewise.
49947         * sysdeps/i386/fpu/e_powf.S: Likewise.
49948         * sysdeps/i386/fpu/e_powl.S: Likewise.
49949         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49950         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49951         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49952         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49953         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49954         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49955         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49956         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49957         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49958         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49959         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49961         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49962         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49963         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49964         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49965         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49966         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49967         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49968         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49969         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49970         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49971         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49972         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49974         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49975         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49976         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49978         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49979         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49980         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49981         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49982         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49983         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49984         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49985         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49986         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49987         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49988         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49989         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49990         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49991         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49992         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49993         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49994         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49995         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49996         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49997         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49998         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49999         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50000         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50001         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50002         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50003         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50004         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50005         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50006         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50007         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50008         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50009         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50010         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50011         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50012         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50013         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50014         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50015         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50016         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50017         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50018         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50019         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50022         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50023         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50024         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50026         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50027         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50028         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50029         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50032         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50034         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50035         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50036         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50037         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50038         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50039         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50040         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50041         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50042         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50043         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50044         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50045         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50046         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50047         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50049         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50050         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50051         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50052         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50053         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50054         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50055         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50056         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50057         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50058         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50059         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50060         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50061         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50062         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50063         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50064         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50065         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50066         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50067         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50068         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50069         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50070         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50071         (__isnanf): Likewise.
50072         (__isinf_ns): Likewise.
50073         (__isinf_nsf): Likewise.
50074         (__finite): Likewise.
50075         (__finitef): Likewise.
50076         (__ieee754_sqrt): Define as macro.
50077         (__ieee754_sqrtf): Define as macro.
50078         (__ieee754_sqrtl): Define as macro.
50079         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50080         inlined copy.
50081         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50082         __FINITE_MATH_ONLY__ consistent.
50083         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50084
50085 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50086
50087         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50088         of rawmemchr.
50089
50090         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50091
50092 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50093
50094         * po/ja.po: Update from translation team.
50095
50096 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50097
50098         * locale/programs/locarchive.c (prepare_address_space): New function.
50099         (create_archive, enlarge_archive, open_archive): Use it.
50100
50101         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50102         inside [SHARED], where it is used.
50103
50104         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50105
50106         * nss/getent.c (netgroup_keys): Remove unused variable.
50107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50108
50109 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50110
50111         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50112         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50114         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50115         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50116         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50117         * math/Makefile (libm-calls): Add s_isinf_ns.
50118         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50119         * math/multc3.c: Likewise.
50120         * math/s_casin.c: Likewise.
50121         * math/s_casinf.c: Likewise.
50122         * math/s_casinl.c: Likewise.
50123         * math/s_ccos.c: Likewise.
50124         * math/s_ccosf.c: Likewise.
50125         * math/s_ccosl.c: Likewise.
50126         * math/s_ctan.c: Likewise.
50127         * math/s_ctanf.c: Likewise.
50128         * math/s_ctanh.c: Likewise.
50129         * math/s_ctanhf.c: Likewise.
50130         * math/s_ctanhl.c: Likewise.
50131         * math/s_ctanl.c: Likewise.
50132         * math/w_fmod.c: Likewise.
50133         * math/w_fmodf.c: Likewise.
50134         * math/w_fmodl.c: Likewise.
50135         * math/w_remainder.c: Likewise.
50136         * math/w_remainderf.c: Likewise.
50137         * math/w_remainderl.c: Likewise.
50138         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50139         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50140         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50142         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50143         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50144         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50145         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50146
50147         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50148         of the number.
50149         * stdio-common/printf_fphex.c: Likewise.
50150         * stdio-common/printf_size.c: Likewise.
50151
50152         * math/e_exp10.c: Include math_private.h using <...> not "...".
50153         * math/e_exp10f.c: Likewise.
50154         * math/e_exp10l.c: Likewise.
50155         * math/e_exp2l.c: Likewise.
50156         * math/e_j0l.c: Likewise.
50157         * math/e_j1l.c: Likewise.
50158         * math/e_jnl.c: Likewise.
50159         * math/e_lgammal_r.c: Likewise.
50160         * math/e_rem_pio2l.c: Likewise.
50161         * math/e_scalb.c: Likewise.
50162         * math/e_scalbf.c: Likewise.
50163         * math/e_scalbl.c: Likewise.
50164         * math/k_cosl.c: Likewise.
50165         * math/k_sinl.c: Likewise.
50166         * math/k_tanl.c: Likewise.
50167         * math/s_cacoshf.c: Likewise.
50168         * math/s_catan.c: Likewise.
50169         * math/s_catanf.c: Likewise.
50170         * math/s_catanh.c: Likewise.
50171         * math/s_catanhf.c: Likewise.
50172         * math/s_catanhl.c: Likewise.
50173         * math/s_catanl.c: Likewise.
50174         * math/s_ccosh.c: Likewise.
50175         * math/s_ccoshf.c: Likewise.
50176         * math/s_ccoshl.c: Likewise.
50177         * math/s_cexp.c: Likewise.
50178         * math/s_cexpf.c: Likewise.
50179         * math/s_cexpl.c: Likewise.
50180         * math/s_clog.c: Likewise.
50181         * math/s_clog10.c: Likewise.
50182         * math/s_clog10f.c: Likewise.
50183         * math/s_clog10l.c: Likewise.
50184         * math/s_clogf.c: Likewise.
50185         * math/s_clogl.c: Likewise.
50186         * math/s_csin.c: Likewise.
50187         * math/s_csinf.c: Likewise.
50188         * math/s_csinh.c: Likewise.
50189         * math/s_csinhf.c: Likewise.
50190         * math/s_csinhl.c: Likewise.
50191         * math/s_csinl.c: Likewise.
50192         * math/s_csqrt.c: Likewise.
50193         * math/s_csqrtf.c: Likewise.
50194         * math/s_csqrtl.c: Likewise.
50195         * math/s_ctan.c: Likewise.
50196         * math/s_ctanf.c: Likewise.
50197         * math/s_ctanh.c: Likewise.
50198         * math/s_ctanhf.c: Likewise.
50199         * math/s_ctanhl.c: Likewise.
50200         * math/s_ctanl.c: Likewise.
50201         * math/s_ldexp.c: Likewise.
50202         * math/s_ldexpf.c: Likewise.
50203         * math/s_ldexpl.c: Likewise.
50204         * math/s_significand.c: Likewise.
50205         * math/s_significandf.c: Likewise.
50206         * math/s_significandl.c: Likewise.
50207         * math/w_acos.c: Likewise.
50208         * math/w_acosf.c: Likewise.
50209         * math/w_acosh.c: Likewise.
50210         * math/w_acoshf.c: Likewise.
50211         * math/w_acoshl.c: Likewise.
50212         * math/w_acosl.c: Likewise.
50213         * math/w_asin.c: Likewise.
50214         * math/w_asinf.c: Likewise.
50215         * math/w_asinl.c: Likewise.
50216         * math/w_atan2.c: Likewise.
50217         * math/w_atan2f.c: Likewise.
50218         * math/w_atan2l.c: Likewise.
50219         * math/w_atanh.c: Likewise.
50220         * math/w_atanhf.c: Likewise.
50221         * math/w_atanhl.c: Likewise.
50222         * math/w_cosh.c: Likewise.
50223         * math/w_coshf.c: Likewise.
50224         * math/w_coshl.c: Likewise.
50225         * math/w_dremf.c: Likewise.
50226         * math/w_exp10.c: Likewise.
50227         * math/w_exp10f.c: Likewise.
50228         * math/w_exp10l.c: Likewise.
50229         * math/w_exp2.c: Likewise.
50230         * math/w_exp2f.c: Likewise.
50231         * math/w_fmod.c: Likewise.
50232         * math/w_fmodf.c: Likewise.
50233         * math/w_fmodl.c: Likewise.
50234         * math/w_hypot.c: Likewise.
50235         * math/w_hypotf.c: Likewise.
50236         * math/w_hypotl.c: Likewise.
50237         * math/w_j0.c: Likewise.
50238         * math/w_j0f.c: Likewise.
50239         * math/w_j0l.c: Likewise.
50240         * math/w_j1.c: Likewise.
50241         * math/w_j1f.c: Likewise.
50242         * math/w_j1l.c: Likewise.
50243         * math/w_jn.c: Likewise.
50244         * math/w_jnf.c: Likewise.
50245         * math/w_jnl.c: Likewise.
50246         * math/w_lgamma.c: Likewise.
50247         * math/w_lgamma_r.c: Likewise.
50248         * math/w_lgammaf.c: Likewise.
50249         * math/w_lgammaf_r.c: Likewise.
50250         * math/w_lgammal.c: Likewise.
50251         * math/w_lgammal_r.c: Likewise.
50252         * math/w_log.c: Likewise.
50253         * math/w_log10.c: Likewise.
50254         * math/w_log10f.c: Likewise.
50255         * math/w_log10l.c: Likewise.
50256         * math/w_log2.c: Likewise.
50257         * math/w_log2f.c: Likewise.
50258         * math/w_log2l.c: Likewise.
50259         * math/w_logf.c: Likewise.
50260         * math/w_logl.c: Likewise.
50261         * math/w_pow.c: Likewise.
50262         * math/w_powf.c: Likewise.
50263         * math/w_powl.c: Likewise.
50264         * math/w_remainder.c: Likewise.
50265         * math/w_remainderf.c: Likewise.
50266         * math/w_remainderl.c: Likewise.
50267         * math/w_scalb.c: Likewise.
50268         * math/w_scalbf.c: Likewise.
50269         * math/w_scalbl.c: Likewise.
50270         * math/w_sinh.c: Likewise.
50271         * math/w_sinhf.c: Likewise.
50272         * math/w_sinhl.c: Likewise.
50273         * math/w_sqrt.c: Likewise.
50274         * math/w_sqrtf.c: Likewise.
50275         * math/w_sqrtl.c: Likewise.
50276         * math/w_tgamma.c: Likewise.
50277         * math/w_tgammaf.c: Likewise.
50278         * math/w_tgammal.c: Likewise.
50279
50280         * po/ja.po: Update from translation team.
50281
50282 2011-09-29  Andreas Jaeger  <aj@suse.de>
50283
50284         [BZ #13179]
50285         * sunrpc/netname.c (netname2host): Fix logic.
50286
50287         [BZ #6779]
50288         [BZ #6783]
50289         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50290         correctly.
50291         * math/w_remainder.c (__remainder): Likewise.
50292         * math/w_remainderf.c (__remainderf): Likewise.
50293         * math/libm-test.inc (remainder_test): Add test cases.
50294
50295 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50296
50297         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50298         sdiv_qrnnd.
50299
50300 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50301
50302         * string/test-memcmp.c: Avoid unncessary #defines.
50303         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50304
50305 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50306
50307         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50308         Use new sse2 version for core i3 - i7 as it's faster
50309         than sse42 version.
50310         (bit_Prefer_PMINUB_for_stringop): New.
50311         * sysdeps/x86_64/rawmemchr.S: Update.
50312         Replace with faster SSE2 version.
50313         * sysdeps/x86_64/memrchr.S: New file.
50314         * sysdeps/x86_64/memchr.S: Update.
50315         Replace with faster SSE2 version.
50316
50317 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50318
50319         * elf/dl-load.c (lose): Add cast to avoid warning.
50320
50321 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50322
50323         * po/ca.po: Update from translation team.
50324
50325         * inet/getnetgrent_r.c: Hook up nscd.
50326         * nscd/Makefile (routines): Add nscd_netgroup.
50327         (nscd-modules): Add netgroupcache.
50328         (CFLAGS-netgroupcache.c): Define.
50329         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50330         (cache_search): Add const to second parameter.
50331         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50332         INNETGR.
50333         (dbs): Add netgrdb entry.
50334         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50335         (verify_persistent_db): Handle netgrdb.
50336         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50337         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50338         GETFDNETGR.
50339         (netgroup_response_header): Define.
50340         (innetgroup_response_header): Define.
50341         (datahead): Add netgroup_response_header and innetgroup_response_header
50342         elements.
50343         * nscd/nscd.conf: Add entries for netgroup cache.
50344         * nscd/nscd.h (dbtype): Add netgrdb.
50345         (_PATH_NSCD_NETGROUP_DB): Define.
50346         (netgroup_iov_disabled): Declare.
50347         (xmalloc, xcalloc, xrealloc): Move declarations here.
50348         (cache_search): Adjust prototype.
50349         Add netgroup-related prototypes.
50350         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50351         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50352         (__nscd_innetgr): Declare.
50353         * nscd/selinux.c (perms): Use access_vector_t as element type and
50354         add netgroup-related initializers.
50355         * nscd/netgroupcache.c: New file.
50356         * nscd/nscd_netgroup.c: New file.
50357         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50358         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50359         For four parameters use innetgr.
50360         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50361         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50362         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50363         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50364
50365         * nscd/connections.c (register_traced_file): Don't register file
50366         for disabled databases.
50367
50368 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50369
50370         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50371
50372         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50373         from tree and freeing node.
50374
50375 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50376
50377         * nss/nsswitch.c (__nss_database_lookup): Handle
50378         nss_parse_service_list out of memory case.
50379
50380 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50381
50382         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50383         out of memory case.
50384
50385 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50386
50387         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50388         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50389         pass it down.
50390         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50391         elf_machine_rela, elf_machine_lazy_rel.
50392         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50393         (ELF_DYNAMIC_DO_REL): Likewise.
50394         (ELF_DYNAMIC_DO_RELA): Likewise.
50395         (ELF_DYNAMIC_RELOCATE): Likewise.
50396         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50397         to ELF_DYNAMIC_DO_REL.
50398         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50399         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50400         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50401         elf_machine_rela.
50402         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50403         skip_ifunc, don't call ifunc function if non-zero.
50404         (elf_machine_rela): Likewise.
50405         (elf_machine_lazy_rel): Likewise.
50406         (elf_machine_lazy_rela): Likewise.
50407         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50408         (elf_machine_lazy_rel): Likewise.
50409         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50410         Likewise.
50411         (elf_machine_lazy_rel): Likewise.
50412         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50413         Likewise.
50414         (elf_machine_lazy_rel): Likewise.
50415         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50416         (elf_machine_lazy_rel): Likewise.
50417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50418         (elf_machine_lazy_rel): Likewise.
50419         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50420         (elf_machine_lazy_rel): Likewise.
50421         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50422         (elf_machine_lazy_rel): Likewise.
50423         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50424         (elf_machine_lazy_rel): Likewise.
50425         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50426         (elf_machine_lazy_rel): Likewise.
50427
50428 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50429
50430         * nss/nss_files/files-init.c (_nss_files_init): Use static
50431         initialization for all the *_traced_file variables.
50432
50433 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50434
50435         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50436
50437 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50438
50439         [BZ #13226]
50440         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50441
50442 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50443
50444         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50445         Reread the line before reparsing it.
50446
50447 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50448
50449         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50450
50451 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50452             Maxim Kuvyrkov  <maxim@codesourcery.com>
50453             Joseph Myers  <joseph@codesourcery.com>
50454
50455         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50456         if needed for __stack_chk_guard.
50457
50458 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50459
50460         * sysdeps/posix/spawni.c (script_execute): Always define it.
50461         It will be optimized away if unused.
50462         (maybe_script_execute): New function.
50463         (__spawni): Call it.
50464
50465         * Makerules: Don't include tls.make.
50466         (config-tls): Always set to thread.
50467         * tls.make.c: File removed.
50468
50469 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50470
50471         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50472         * config.make.in (CPPFLAGS-config): New substituted variable.
50473
50474 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50475
50476         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50477
50478         [BZ #13192]
50479         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50480         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50481
50482 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50483
50484         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50485         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50487         (CALL_FAIL): Likewise.
50488         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50489         (CALL_FAIL): Macro removed.
50490         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50491
50492 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50493
50494         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50495         for __FINITE_MATH_ONLY__ == 1.
50496
50497 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50498
50499         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50500         __ieee754_sqrt instead of sqrt.
50501         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50502         __ieee754_sqrtf instead of sqrtf.
50503         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50504         __floorf instead of floorf.
50505         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50506         __floorf, __truncf instead of floorf, truncf.
50507
50508 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50509
50510         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50511
50512         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50513         __extern_always_inline.
50514         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50515         32-bit.
50516
50517 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50518
50519         * elf/rtld.c (dl_main): Also relocate in dependency order when
50520         doing symbol dependency testing.
50521
50522 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50523
50524         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50525         Always define `refsym'.
50526
50527 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50528
50529         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50530         (__FD_ELT): Renamed from __FDELT.
50531         * misc/bits/select2.h (__FD_ELT): Likewise.
50532         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50533         __FD_MASK instead of __FDELT, __FDMASK.
50534         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50535         Likewise.
50536         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50537         Likewise.
50538
50539         * elf/Makefile (gen-ldd): Fix pattern.
50540
50541         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50542         (init_tls): Likewise.
50543
50544 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50545
50546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50547
50548 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50549
50550         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50551         `struct cmsghdr *' instead of `void *'.
50552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50553         Likewise.
50554
50555 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50556
50557         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50558         if non-absolute.
50559         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50560         ldd_rewrite_script.
50561
50562 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50563
50564         * configure.in: Remove --with-tls option.
50565         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50566         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50567         out in case it is missing.
50568         * sysdeps/ia64/elf/configure.in: Likewise.
50569         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50570         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50571         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50572         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50573         * sysdeps/sh/elf/configure.in: Likewise.
50574         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50575         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50576         * sysdeps/x86_64/elf/configure.in: Likewise.
50577         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50578         * sysdeps/mach/hurd/tls.h: Likewise.
50579
50580         [BZ #13067]
50581         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50582
50583         [BZ #13090]
50584         * configure.in: Fix use of AC_INIT.
50585
50586         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50587
50588 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50589
50590         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50591         __set_errno.
50592         * malloc/hooks.c: Likewise.
50593
50594         [BZ #11929]
50595         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50596         variables statically.
50597         (narenas): Initialize.
50598         (list_lock): Initialize.
50599         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50600         initializtion of main_arena and list_lock.  Small cleanups.
50601         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50602         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50603         Add initializers to main_arena and mp_.
50604         (malloc_state): Remove pagesize member.  Change all users to use
50605         GLRO(dl_pagesize).
50606
50607         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50608         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50609         is always initialized.
50610
50611         * malloc/malloc.c: Removed unused configurations and dead code.
50612         * malloc/arena.c: Likewise.
50613         * malloc/hooks.c: Likewise.
50614         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50615
50616         * include/tls.h: Removed.  USE___THREAD must always be defined.
50617         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50618         * elf/dl-libc.c: Likewise.
50619         * elf/dl-tsd.c: Likewise.
50620         * include/errno.h: Likewise.
50621         * include/netdb.h: Likewise.
50622         * include/resolv.h: Likewise.
50623         * inet/herrno-loc.c: Likewise.
50624         * inet/herrno.c: Likewise.
50625         * malloc/arena.c: Likewise.
50626         * malloc/hooks.c: Likewise.
50627         * malloc/malloc.c: Likewise.
50628         * resolv/res-state.c: Likewise.
50629         * resolv/res_libc.c: Likewise.
50630         * sysdeps/i386/dl-machine.h: Likewise.
50631         * sysdeps/ia64/dl-machine.h: Likewise.
50632         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50633         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50634         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50635         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50636         * sysdeps/sh/dl-machine.h: Likewise.
50637         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50638         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50639         * sysdeps/unix/i386/sysdep.S: Likewise.
50640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50641         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50646         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50648         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50650         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50651         * sysdeps/x86_64/dl-machine.h: Likewise.
50652         * tls.make.c: Likewise.
50653
50654         * configure.in: Remove --with-__thread option.  Make tests for
50655         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50656         tls_model attribute fail if no support is available.  Remove
50657         USE_IN_LIBIO.
50658         * Makeconfig: Adjust for dropped configure option.  All features are
50659         now mandatory.
50660         * Makerules: Likewise.
50661         * Versions.def: Likewise.
50662         * argp/argp-fmtstream.c: Likewise.
50663         * argp/argp-fmtstream.h: Likewise.
50664         * argp/argp-help.c: Likewise.
50665         * assert/assert.c: Likewise.
50666         * config.h.in: Likewise.
50667         * config.make.in: Likewise.
50668         * configure: Likewise.
50669         * configure.in: Likewise.
50670         * csu/Versions: Likewise.
50671         * csu/init.c: Likewise.
50672         * elf/tst-audit2.c: Likewise.
50673         * elf/tst-tls10.c: Likewise.
50674         * elf/tst-tls10.h: Likewise.
50675         * elf/tst-tls11.c: Likewise.
50676         * elf/tst-tls12.c: Likewise.
50677         * elf/tst-tls14.c: Likewise.
50678         * elf/tst-tlsmod11.c: Likewise.
50679         * elf/tst-tlsmod12.c: Likewise.
50680         * elf/tst-tlsmod13.c: Likewise.
50681         * elf/tst-tlsmod13a.c: Likewise.
50682         * elf/tst-tlsmod14a.c: Likewise.
50683         * elf/tst-tlsmod15b.c: Likewise.
50684         * elf/tst-tlsmod16a.c: Likewise.
50685         * elf/tst-tlsmod16b.c: Likewise.
50686         * elf/tst-tlsmod7.c: Likewise.
50687         * elf/tst-tlsmod8.c: Likewise.
50688         * elf/tst-tlsmod9.c: Likewise.
50689         * gmon/gmon.c: Likewise.
50690         * grp/fgetgrent_r.c: Likewise.
50691         * grp/putgrent.c: Likewise.
50692         * hurd/fopenport.c: Likewise.
50693         * include/libc-symbols.h: Likewise.
50694         * include/tls.h: Likewise.
50695         * intl/gettextP.h: Likewise.
50696         * intl/loadinfo.h: Likewise.
50697         * locale/global-locale.c: Likewise.
50698         * locale/localeinfo.h: Likewise.
50699         * mach/devstream.c: Likewise.
50700         * malloc/arena.c: Likewise.
50701         * malloc/set-freeres.c: Likewise.
50702         * misc/err.c: Likewise.
50703         * misc/getttyent.c: Likewise.
50704         * misc/mntent_r.c: Likewise.
50705         * posix/getopt.c: Likewise.
50706         * posix/wordexp.c: Likewise.
50707         * pwd/fgetpwent_r.c: Likewise.
50708         * resolv/Versions: Likewise.
50709         * resolv/res_hconf.c: Likewise.
50710         * shadow/fgetspent_r.c: Likewise.
50711         * shadow/putspent.c: Likewise.
50712         * stdio-common/printf_fphex.c: Likewise.
50713         * stdio-common/tmpfile.c: Likewise.
50714         * stdlib/abort.c: Likewise.
50715         * stdlib/fmtmsg.c: Likewise.
50716         * sunrpc/auth_unix.c: Likewise.
50717         * sunrpc/clnt_perr.c: Likewise.
50718         * sunrpc/clnt_tcp.c: Likewise.
50719         * sunrpc/clnt_udp.c: Likewise.
50720         * sunrpc/clnt_unix.c: Likewise.
50721         * sunrpc/openchild.c: Likewise.
50722         * sunrpc/svc_simple.c: Likewise.
50723         * sunrpc/svc_tcp.c: Likewise.
50724         * sunrpc/svc_udp.c: Likewise.
50725         * sunrpc/svc_unix.c: Likewise.
50726         * sunrpc/xdr.c: Likewise.
50727         * sunrpc/xdr_array.c: Likewise.
50728         * sunrpc/xdr_rec.c: Likewise.
50729         * sunrpc/xdr_ref.c: Likewise.
50730         * sunrpc/xdr_stdio.c: Likewise.
50731
50732 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50733
50734         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50735
50736 2011-07-03  Andreas Jaeger  <aj@suse.de>
50737
50738         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50739         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50740         regenerate with gen-libm-tests.pl.
50741
50742 2010-05-12  Petr Baudis  <pasky@suse.cz>
50743
50744         [BZ #11589]
50745         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50746         around j0() zero points by switching to j1().
50747         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50748         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50750         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50751
50752 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50753
50754         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50755         instead of 0.
50756         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50757         instead of 0.
50758         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50759         Patch in part by Pavel Roskin <proski@gnu.org>.
50760
50761         [BZ #13138]
50762         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50763         realloc.
50764         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50765         Free memory block if necessary.
50766
50767         [BZ #12847]
50768         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50769         be NULL.  Don't lock in this case.
50770
50771 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50772
50773         * elf/elf.h (ELFOSABI_GNU): New macro.
50774         (ELFOSABI_LINUX): Define to that.
50775
50776 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50777
50778         * string/strncat.c (strncat): Undef the symbol in case it has been
50779         defined in bits/string.h.
50780
50781 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50782
50783         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50784
50785         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50786         link map.
50787
50788 2011-08-17  Andreas Jaeger  <aj@suse.de>
50789
50790         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50791
50792 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50793             Ian Lance Taylor  <iant@google.com>
50794
50795         * math/libm-test.inc (lround_test): New testcase.
50796         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50797
50798 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50799
50800         * Makefile: Remove support for automatic cvs check-ins.
50801         * Makerules: Likewise.
50802         * config.make.in: Likewise.
50803         * configure.in: Likewise.
50804         * intl/Makefile: Likewise.
50805         * locale/Makefile: Likewise.
50806         * po/Makefile: Likewise.
50807         * posix/Makefile: Likewise.
50808         * sysdeps/gnu/Makefile: Likewise.
50809         * sysdeps/mach/hurd/Makefile: Likewise.
50810         * sysdeps/sparc/sparc32/Makefile: Likewise.
50811
50812         [BZ #13118]
50813         * posix/Makefile (bug-regex32-ENV): Define.
50814         Patch by John Stanley <jpsinthemix@verizon.net>.
50815
50816         * misc/Makefile (headers): Add bits/select2.h.
50817         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50818         * misc/bits/select2.h: New file.
50819         * include/bits/select2.h: New file.
50820         * debug/Makefile (routines): Add fdelt_chk.
50821         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50822         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50823         FD_ISSET.
50824         * debug/fdelt_chk.c: New file.
50825
50826         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50827         * wcsmbs/test-wmemcmp.c: Likewise.
50828         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50829         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50830
50831 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50832
50833         * string/Makefile (strop-tests): Add memcmp.
50834         * string/test-wmemcmp.c: New file.
50835         * string/test-memcmp.c: Add wmemcmp support.
50836
50837 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50838
50839         [BZ #13153]
50840         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50841         2011-07-19 change.
50842
50843         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50844         garbage value in a __mach_port_mod_refs call in the cases of the
50845         task-self and thread-self ports.
50846
50847 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50848
50849         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50850
50851 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50852
50853         * elf/dl-load.c (lose): Check for non-null L.
50854
50855 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50856
50857         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50858
50859         * elf/dl-libc.c (dlerror_run): Pass back error code from
50860         dl_catch_error.
50861
50862         [BZ #13123]
50863         * elf/dl-load.c (lose): Free l_origin if it is valid.
50864
50865         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50866         names.
50867         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50868         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50869         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50870         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50871         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50872         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50873
50874 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50875
50876         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50877         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50878         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50879         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50880         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50881         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50882         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50883         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50884         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50885         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50886
50887 2011-08-15  Alan Modra  <amodra@gmail.com>
50888
50889         [BZ #13092]
50890         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50891         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50892         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50893         ppc_mcount to static-only-routines.
50894         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50895         __mcount_internal.
50896         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50897         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50898
50899 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50900
50901         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50902         for finite and infinity parameters.
50903
50904 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50905
50906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50907         and add nop instructions for throughput optimization.
50908         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50909
50910 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50911
50912         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50913         aligned copy for power7 with vector-scalar instructions.
50914         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50915
50916 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50917
50918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50919         AVX check.
50920
50921 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50922
50923         [BZ #13144]
50924         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50925         last change.
50926
50927 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50928
50929         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50930         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50931         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50933         clock_gettime.
50934
50935 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50936
50937         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50938         Forgot to demangle the pointer.
50939
50940         * sysdeps/i386/sysdep.h: Define atom_text_section.
50941         * sysdeps/x86_64/sysdep.h: Likewise.
50942         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50943         section with atom_text_section.
50944         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50945         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50946         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50947         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50948         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50949
50950         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50951         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50952         already be defined.  Change to take two parameters and don't assign
50953         result to variable.  Adjust all users.
50954         Define INTERNAL_GETTIME if not already defined.
50955         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50956         call.
50957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50958         HAVE_CLOCK_GETTIME_VSYSCALL.
50959         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50960
50961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50962         gettimeofday vsyscall, just use time.
50963
50964 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50965
50966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50967         <errno.h>.
50968
50969 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50970
50971         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50972         syscall on x86-64.
50973         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50974         syscall.
50975         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50976         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50977         syscall if possible.
50978
50979 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50980
50981         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50982         e_ident.  Don't pass to find_mapsXX.
50983         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50984
50985 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50986
50987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50988         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50989         * sysdeps/x86_64/multiarch/strchr.S: Update.
50990         Check bit_slow_BSF bit.
50991         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50992         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50993         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50994
50995 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50996
50997         [BZ #13134]
50998         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50999         before glibc 2.15.
51000         (tryshell): Define.
51001         (__spawni): Change last parameter to be flag.  Test
51002         SPAWN_XFLAGS_USE_PATH flag to use path or not.
51003         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51004         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51005         * posix/spawni.c: Likewise.
51006         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51007         * posix/spawnp.c: Likewise.  Change normal version to use
51008         SPAWN_XFLAGS_USE_PATH.
51009         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51010         SPAWN_XFLAGS_TRY_SHELL.
51011
51012         [BZ #13150]
51013         * posix/glob.h: Remove gcc 1.x support.
51014
51015         [BZ #13068]
51016         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51017
51018 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51019
51020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51021         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51022         strrchr-sse2-bsf
51023         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51024         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51025         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51027         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51028         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51029
51030 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51031
51032         * sysdeps/x86_64/wcscmp.S: New file.
51033
51034         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51035         wcscmp-c wcscmp-sse2
51036         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51037         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51038         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51039         * wcsmbs/wcscmp.c: Allow renaming.
51040
51041 2011-09-05  David S. Miller  <davem@davemloft.net>
51042
51043         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51044         stack slot, rather than the struct return pointer slot.
51045         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51046         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51048         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51049
51050 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51051
51052         * po/ja.po: Update from translation team.
51053
51054         [BZ #13144]
51055         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51056         kernel in 64-bit binaries.
51057
51058 2011-09-01  David S. Miller  <davem@davemloft.net>
51059
51060         * elf/elf.h (HWCAP_SPARC_*): Move to..
51061         * sysdeps/sparc/sysdep.h: this new file and add new values.
51062         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51063         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51064         _DL_HWCAP_COUNT to 24.
51065         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51066         entries.
51067         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51068         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51069         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51070         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51071         instead of magic constants.
51072         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51073
51074 2011-08-31  David S. Miller  <davem@davemloft.net>
51075
51076         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51078         Reimplement to do errno handling inline.
51079         (SYSCALL_ERROR_HANDLER): New macro.
51080         (__SYSCALL_STRING): Do not do errno handling in asm.
51081         (__CLONE_SYSCALL_STRING): Delete.
51082         (__INTERNAL_SYSCALL_STRING): Delete.
51083         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51084         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51085         (PSEUDO): Reimplement to do errno handling inline.
51086         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51087         (SYSCALL_ERROR_HANDLER): New macro.
51088         (__SYSCALL_STRING): Do not do errno handling in asm.
51089         (__CLONE_SYSCALL_STRING): Delete.
51090         (__INTERNAL_SYSCALL_STRING): Delete.
51091         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51092         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51093         i386.
51094         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51095         (inline_syscall*): Add 'err' argument.
51096         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51097         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51098         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51099         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51100
51101         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51102         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51103
51104 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51105
51106         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51107
51108 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51109
51110         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51111         directive.
51112
51113 2011-08-24  David S. Miller  <davem@davemloft.net>
51114
51115         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51116
51117 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51118
51119         * elf/Makefile: Add rules to build and run unload8 test.
51120         * elf/unload8.c: New file.
51121         * elf/unload8mod1.c: New file.
51122         * elf/unload8mod1x.c: New file.
51123         * elf/unload8mod2.c: New file.
51124         * elf/unload8mod3.c: New file.
51125
51126         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51127         it wasn't used.
51128
51129 2011-08-23  David S. Miller  <davem@davemloft.net>
51130
51131         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51132         subtract stack bias.
51133         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51134         %sp not %fp in calculations.
51135         (_JMPBUF_UNWINDS_ADJ): Likewise.
51136
51137         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51138         (aio_suspend): Call it to force an exception region around the
51139         AIO_MISC_WAIT() invocation.
51140
51141 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51142
51143         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51144         backslash.
51145
51146 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51147
51148         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51149         protection macro.
51150         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51151         and <dl-machine.h>.
51152         (Elf64_FuncDesc): Remove.
51153
51154 2011-08-22  David S. Miller  <davem@davemloft.net>
51155
51156         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51157         sigaltstack check, add missing cfi directives.
51158         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51159         missing cfi directives, and sigaltstack handling.
51160
51161 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51162
51163         [BZ #11724]
51164         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51165         object is seen twice.
51166         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51167
51168         * elf/Makefile (distribute): Add tst-initorder2.c.
51169         (tests): Add tst-initorder2.
51170         (modules-names): Add tst-initorder2a tst-initorder2b
51171         tst-initorder2c tst-initorder2d.  Add rules to build them.
51172         ($(objpfx)tst-initorder2.out): New rule.
51173         * elf/tst-initorder2.c: New file.
51174         * elf/tst-initorder2.exp: New file.
51175
51176 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51177
51178         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51179
51180         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51181         dependencies back to end of function.
51182
51183         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51184         $(elfobjdir)/ld.so.
51185
51186 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51187
51188         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51189         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51190         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51191         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51192         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51193         of __vdso_gettimeofday.
51194         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51195         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51196         attribute_hidden.
51197         (_libc_vdso_platform_setup): Remove initialization of
51198         __vdso_gettimeofday and __vdso_time.
51199
51200 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51201
51202         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51203         and fgetc_unlocked.
51204         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51205         getc_unlocked.
51206
51207         * elf/dl-open.c (add_to_global): Report additions to the global scope
51208         for LD_DEBUG=scopes.
51209         (dl_open_worker): Also print scope of newly loaded dependencies.
51210         (_dl_show_scope): Indicate if there is no scope.
51211
51212         [BZ #13114]
51213         * stdio-common/Makefile (tests): Add bug24.
51214         * stdio-common/bug24.c: New file.
51215
51216 2011-08-19  Andreas Jaeger  <aj@suse.de>
51217
51218         [BZ #13114]
51219         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51220         non-existant file when using close-on-exec mode.
51221
51222 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51223
51224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51225         the very first instruction.
51226
51227         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51228         the CFI state in the end.
51229         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51230         inclusion of dl-trampoline.h.
51231         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51232
51233 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51234
51235         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51236         expectations for long double.
51237
51238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51239         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51240
51241 2011-08-14  David S. Miller  <davem@davemloft.net>
51242
51243         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51244         artificual limit depends upon the system page size.
51245
51246 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51247
51248         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51249         * resolv/Makefile: Define CFLAGS-libresolv.
51250
51251 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51252
51253         * nss/makedb.c (compute_tables): Make variables used in nested
51254         function static.
51255
51256 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51257
51258         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51259         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51260         if buffer was too small.
51261
51262         * elf/pldd.c (main): Attach to all threads in the process.
51263         Rewrite /proc handling to use *at functions.
51264
51265 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51266
51267         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51268         specifies first scope to show.
51269         (dl_open_worker): Update callers.  Move printing scope of new
51270         object to before the relocation.
51271         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51272         * sysdeps/generic/ldsodefs.h: Update declaration.
51273
51274         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51275         string for the scope number.
51276
51277 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51278
51279         * nscd/servicescache.c (cache_addserv): Make sure written is always
51280         initialized.
51281
51282 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51283
51284         * sysdeps/i386/i486/bits/atomic.h
51285         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51286         statement expression, so as to suppress "set but not used" warning.
51287         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51288
51289         * string/strncat.c (STRNCAT): Use prototype definition.
51290
51291         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51292         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51293         -Iprograms here.
51294         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51295         (localedef-modules): Add localedef.
51296         (locale-modules): Add locale.
51297
51298         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51299         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51300         to avoid a warning.
51301
51302 2011-08-14  David S. Miller  <davem@davemloft.net>
51303
51304         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51305         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51306
51307 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51308
51309         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51310         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51311         * elf/rtld.c (dl_main): Set l_name of vDSO.
51312         Call _dl_show_scope when DL_DEBUG_SCOPES.
51313         (process_dl_debug): Recognize scopes flag and also set it for all.
51314         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51315         Declare _dl_show_scope.
51316
51317         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51318         (do_dlopen): Pass caller_dlopen to dl_open.
51319         (__libc_dlopen_mode): Initialize caller_dlopen.
51320
51321         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51322         of libc.  Make tolower call locale-independent.  Optimize a bit by
51323         using isdigit instead of isalnum.
51324         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51325
51326 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51327
51328         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51329         was a dependency or dynamically loaded.
51330
51331 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51332
51333         * intl/l10nflist.c: Allow architecture-specific pop function.
51334         * sysdeps/x86_64/l10nflist.c: New file.
51335
51336         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51337         classification.
51338
51339 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51340
51341         * include/dirent.h: Add libc_hidden_proto for scandirat and
51342         scandirat64.  Don't declare __scandirat64.
51343         * dirent/scandirat.c: Add libc_hidden_def.
51344         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51345         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51346
51347 2011-08-10  David S. Miller  <davem@davemloft.net>
51348
51349         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51350         enum.
51351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51352         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51353         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51354
51355 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51356
51357         * Versions.def [libc]: Add GLIBC_2.15.
51358         * dirent/Makefile (routines): Add scandirat and scandirat64.
51359         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51360         GLIBC_2.15.
51361         * dirent/dirent.h: Declare scandirat and scandirat64.
51362         * dirent/scandirat.c: New file.
51363         * dirent/scandirat64.c: New file.
51364         * sysdeps/wordsize-64/scandirat.c: New file.
51365         * sysdeps/wordsize-64/scandirat64.c: New file.
51366         * dirent/opendir.c: Define opendirat.
51367         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51368         using scandirat.
51369         * dirent/scandir64.c: Adjust for scandir.c change.
51370         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51371         __scandirat64, and __scandir_cancel_handler.
51372         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51373         additional parameter and use openat instead of open (outside of ld.so).
51374         Add new __opendir as wrapper around __opendirat.
51375         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51376         here without requiring old scandirat implementation.
51377
51378 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51379
51380         * dirent/scandir.c (cancel_handler): Renamed to
51381         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51382         defined.  Adjust users.
51383         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51384         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51385
51386 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51387
51388         * string/test-string.h (IMPL): Use __STRING to expand name and then
51389         stringify it.
51390
51391         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51392         of cleanups.
51393
51394 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51395
51396         * string/Makefile: Update.
51397         (strop-tests): Append strncat.
51398         * string/test-wcscmp.c: New file.
51399         New comprehensive test for wcscmp.
51400         * string/test-strcmp.c: Update.
51401         (WIDE): New define.
51402
51403 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51404
51405         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51406         line.
51407
51408 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51409
51410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51411         encoding to ACE if AI_IDN.
51412
51413 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51414
51415         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51416         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51417
51418 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51419
51420         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51421         Fix overflow bug in strncat.
51422         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51423
51424         * string/test-strncat.c: Update.
51425         Add new tests for checking overflow bugs.
51426
51427 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51428
51429         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51430         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51431         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51432         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51433         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51434         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51435         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51436         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51437         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51438
51439         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51440         (USE_AS_STRCAT): Define.
51441         Add strcat and strncat support.
51442         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51443
51444 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51445
51446         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51447         __n bigger than INT_MAX+1.
51448         (__strncmp_g): Likewise.
51449
51450 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51451
51452         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51453         * libio/stido.h: Likewise.
51454
51455         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51456         (AF_NFC): Define.
51457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51458         (AF_NFC): Define.
51459
51460         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51461         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51462         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51463         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51465
51466         [BZ #13021]
51467         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51468         installed.
51469
51470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51471         typo.
51472         (_dl_x86_64_save_sse): Likewise.
51473
51474 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51475
51476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51477         OSXSAVE.
51478         (_dl_x86_64_save_sse): Likewise.
51479
51480         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51481
51482         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51483
51484 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51485
51486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51487         change.
51488         (_dl_x86_64_save_sse): Use correct AVX check.
51489
51490 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51491
51492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51493         bug in strncpy/strncat.
51494         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51495
51496 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51497
51498         * string/tester.c (test_strcat): Add tests for different alignments
51499         of source and destination.
51500         (test_strncat): Likewise.
51501
51502 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51503
51504         [BZ #12852]
51505         * posix/glob.c (glob): Check passed in values before using them in
51506         expressions to avoid some overflows.
51507         (glob_in_dir): Likewise.
51508
51509         [BZ #13007]
51510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51511         check for AVX enablement so that we don't crash with old kernels and
51512         new hardware.
51513         * elf/tst-audit4.c: Add same checks here.
51514         * elf/tst-audit6.c: Likewise.
51515
51516         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51517
51518 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51519
51520         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51521
51522 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51523
51524         * po/cs.po: Update from translation team.
51525         * po/bg.po: Likewise.
51526
51527 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51528
51529         * misc/sys/cdefs.h: Add support for const attribute.
51530         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51531         to gnu_dev_{major,minor,makedev} functions.
51532
51533 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51534
51535         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51536
51537 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51538
51539         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51540         strlen results.
51541
51542 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51543
51544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51545         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51546         register in order to avoid conflicts with the soft frame pointer
51547         being held in r11 when necessary.
51548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51549         (INTERNAL_VSYSCALL_NCS): Likewise.
51550
51551 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51552
51553         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51554         * elf/dl-fini.c (_dl_fini): Adjust caller.
51555         * elf/dl-close.c (_dl_close_worker): Likewise.
51556         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51557
51558 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51559
51560         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51561         "aux_cache->nlibs < 0".
51562
51563         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51564         in the reload-count case.
51565
51566 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51567
51568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51569         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51570         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51571         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51572         * sysdeps/x86_64/multiarch/strcat.S: New file.
51573         * sysdeps/x86_64/multiarch/strncat.S: New file.
51574         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51575         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51576         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51577         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51578         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51579         (USE_AS_STRCAT): Define.
51580         Add strcat and strncat support.
51581         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51582         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51583         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51584         * string/strncat.c: Update.
51585         (USE_AS_STRNCAT): Define.
51586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51587         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51588         and i7.
51589         * sysdeps/x86_64/multiarch/init-arch.h
51590         (bit_Prefer_PMINUB_for_stringop): New.
51591         (index_Prefer_PMINUB_for_stringop): Likewise.
51592         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51593         bit_Prefer_PMINUB_for_stringop.
51594
51595 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51596
51597         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51598         buffer64.
51599         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51600         of casting of buffer.
51601         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51602         buffer32 and buffer64.
51603         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51604         writes instead of casting of buffer.
51605         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51606         buffer32.
51607         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51608         casting of buffer.
51609
51610 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51611
51612         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51613
51614 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51615
51616         * nscd/nscd.c (termination_handler): Don't do anything for a database
51617         if it has not yet been initialized.
51618
51619 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51620
51621         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51622
51623 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51624
51625         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51626
51627 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51628
51629         * po/nl.po: Update from translation team.
51630         * po/sv.po: Likewise.
51631
51632 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51633
51634         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51635         now disallowed by GCC.
51636
51637         * configure.in (use-default-link): Default to yes if a test -shared
51638         link meets our qualifications.
51639         * configure: Regenerated.
51640
51641         * config.make.in (output-format): New variable.
51642         * configure.in: Check for ld --print-output-format support.
51643         * configure: Regenerated.
51644         * Makerules ($(common-objpfx)format.lds)
51645         [$(output-format) != unknown]: Just use $(output-format),
51646         instead of the linker-script munging.
51647
51648 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51649
51650         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51651         of $(common-objpfx)shlib.lds.
51652         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51653
51654         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51655         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51656
51657         * configure.in (-z relro check): Adjust test code to add a large
51658         writable data section after it.
51659         * configure: Regenerated.
51660
51661 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51662
51663         * configure.in (-z relro check): Fix test code to make the variable
51664         truly const.
51665         * configure: Regenerated.
51666
51667 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51668
51669         * nscd/nscd.h (struct traced_file): Define.
51670         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51671         elements.  Add traced_files.
51672         (inotify_fd): Declare.
51673         (register_traced_file): Declare.
51674         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51675         (inotify_fd): Export.
51676         (resolv_conf_descr): Remove.
51677         (nscd_init): Move inotify descriptor creation to main.
51678         Don't register files for notification here.
51679         (register_traced_file): New function.
51680         (invalidate_cache): Don't use reset_res to determine whether to call
51681         res_init, go through the list of registered files.
51682         (main_loop_poll): The inotify descriptors are now stored in the
51683         structures for the traced files.
51684         (main_loop_epoll): Likewise
51685         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51686         to __nss_disable_nscd.
51687         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51688         for a database anymore.  Check the records for all the registered
51689         files instead.
51690         * nss/Makefile (libnss_files-routines): Add files-init.
51691         (libnss_db-routines): Add db-init.
51692         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51693         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51694         * nss/nss_db/db-init.c: New file.
51695         * nss/nss_files/files-init.c: New file.
51696         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51697         __nss_lookup_function.
51698         (__nss_lookup_function): Call nss_load_library.
51699         (nss_load_all_libraries): New function.
51700         (__nss_disable_nscd): Take parameter with callback function for files
51701         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51702         used for the cached services.
51703         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51704         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51705         options for features to all the files in nscd.
51706
51707         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51708
51709 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51710
51711         * csu/elf-init.c (__libc_csu_init): Comment typo.
51712
51713 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51714
51715         * po/pl.po: Update from translation team.
51716         * po/ja.po: Likewise.
51717         * po/ru.po: Likewise.
51718         * po/ko.po: Likewise.
51719         * po/fr.po: Likewise.
51720
51721 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51722
51723         * configure.in (.ctors/.dtors header and trailer check):
51724         Use an empirical test on a built program.
51725         * configure: Regenerated.
51726
51727         * configure.in (-z relro check): Use an empirical test on a built DSO.
51728         Detect, but do not require, on ia64.
51729         * configure: Regenerated.
51730
51731         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51732         Update tests that use readelf to use $READELF instead.
51733         * configure: Regenerated.
51734
51735 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51736
51737         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51738         if the result is not used.
51739
51740 2011-07-05  Andreas Jaeger  <aj@suse.de>
51741
51742         [BZ#9696]
51743         * stdlib/tst-strtod.c: Add testcase.
51744
51745 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51746
51747         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51748         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51749         The latter has a higher limit.  Take additional parameter to pass to
51750         the new function.
51751         (__pathconf): Pass file to __statfs_link_max.
51752         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51753         __statfs_link_max.
51754         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51755         __statfs_link_max.
51756
51757         [BZ #12868]
51758         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51759         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51760         Handle Lustre.
51761         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51762         (__statfs_filesize_max): Likewise.
51763         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51764
51765 2011-07-05  Andreas Jaeger  <aj@suse.de>
51766
51767         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51768
51769 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51770
51771         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51772         `status' variable.
51773         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51774         Likewise.
51775
51776 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51777
51778         * Makefile (strop-tests): Add strncat.
51779         * string/test-strncat.c: New file.
51780
51781 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51782
51783         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51784
51785 2011-06-21  Andreas Jaeger  <aj@suse.de>
51786
51787         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51788         Copy rule from iconvdata/Makefile.
51789
51790 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51791
51792         [BZ #12922]
51793         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51794         but no long options are defined, just return 'W'.
51795
51796 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51797
51798         [BZ #9696]
51799         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51800
51801 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51802
51803         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51804         netgroups to read.
51805         (innetgr): Likewise.
51806
51807 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51808
51809         * config.make.in (install_root): Default to $(DESTDIR).
51810
51811 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51812
51813         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51814
51815 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51816
51817         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51818
51819         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51820         containing directory rather than embedding absolute directory names.
51821
51822         * scripts/check-local-headers.sh: Rewritten using awk.
51823         Match by word, not by line.  Print error messages for matches.
51824         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51825
51826         * Makerules [shlib-lds-flags empty]:
51827         ($(common-objpfx)libc_pic.opts): New target.
51828         ($(common-objpfx)libc_pic.os.clean): New target.
51829         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51830
51831         * config.make.in (OBJCOPY): New variable.
51832         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51833         * configure: Regenerated.
51834
51835         * config.make.in (use-default-link): New variable.
51836         * configure.in (use_default_link): Grok --with-default-link to set it.
51837         * configure: Regenerated.
51838         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51839         (shlib-lds, shlib-lds-flags): Define to empty.
51840
51841         * Makerules (shlib-lds): New variable.
51842         (shlib-lds-flags): New variable.
51843         (build-shlib, build-moduile, build-module-asneeded): Use it.
51844         ($(common-objpfx)libc.so): Use $(shlib-lds).
51845         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51846         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51847
51848         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51849         DT_FLAGS/DT_FLAGS_1 with zero flags.
51850
51851         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51852         linker script munging.
51853
51854 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51855
51856         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51857         as 128-bit value.
51858         * crypt/sha512.c (sha512_process_block): Perform total addition using
51859         128-bit if possible.
51860         (__sha512_finish_ctx): Likewise.
51861         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51862         as 64-bit value.
51863         * crypt/sha256.c (SWAP64): Define.
51864         (sha256_process_block): Perform total addition using 64-bit if
51865         possible.
51866         (__sha256_finish_ctx): Likewise.
51867
51868 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51869
51870         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51872         * nscd/hstcache.c (cache_addhst): Likewise.
51873         * nscd/grpcache.c (cache_addgr): Likewise.
51874         * nscd/aicache.c (addhstaiX): Likewise
51875         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51876
51877 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51878
51879         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51881         * nscd/hstcache.c (cache_addhst): Likewise.
51882         * nscd/grpcache.c (cache_addgr): Likewise.
51883         * nscd/aicache.c (addhstaiX): Likewise
51884
51885 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51886
51887         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51888         domain only when needed.
51889
51890 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51891
51892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51893         is always restored.
51894
51895 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51896
51897         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51898         are re-adding the entry.
51899         * nscd/servicescache.c (cache_addserv): Likewise.
51900
51901 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51902
51903         * sysdeps/generic/dl-irel.h: fix protection against multiple
51904         inclusions.
51905         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51906
51907 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51908
51909         [BZ #12935]
51910         * malloc/memusage.sh: Fix quoting in message.
51911         * debug/xtrace.sh: Likewise.
51912
51913         * configure.in: Remove support for --experimental-malloc option, make
51914         it the default.
51915         * config.make.in: Likewise.
51916         * malloc/Makefile: Likewise.
51917
51918 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51919
51920         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51921         two-byte characters.
51922
51923 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51924
51925         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51926         AC_CACHE_CHECK invocation.
51927         * configure: Regenerated.
51928
51929         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51930
51931 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51932
51933         [BZ #12350]
51934         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51935         bit from old_res_options.
51936
51937         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51938
51939         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51940         value type for setfct.
51941
51942 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51943
51944         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51945         __gettimeofday instead of gettimeofday.
51946
51947 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51948
51949         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51950
51951 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51952
51953         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51954
51955         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51956         info.
51957
51958 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51959
51960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51961         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51962         strcpy-sse2-unaligned strncpy-sse2-unaligned
51963         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51964         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51965         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51966         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51967         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51968         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51969         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51970         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51971         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51972         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51973         (STRCPY): Support SSE2 and SSSE3 versions.
51974
51975 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51976
51977         [BZ #12874]
51978         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51979         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51980         kernels which artificially limit size of requests.
51981
51982 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51983
51984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51985         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51986         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51987         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51988         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51989         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51990         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51991         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51992         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51994         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51995         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51996         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51997         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51998         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52000         Enable unaligned load optimization for Intel Core i3, i5 and i7
52001         processors.
52002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52003         Define.
52004         (index_Fast_Unaligned_Load): Define.
52005         (HAS_FAST_UNALIGNED_LOAD): Define.
52006
52007 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
52008
52009         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52010
52011 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52012
52013         [BZ #12907]
52014         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52015         until it is clear that the information is realy needed.
52016         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52017
52018 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52019
52020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52021
52022 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52023
52024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52025         /sys/devices/system/cpu/online if it is usable.
52026
52027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52028         reading the information from the /proc filesystem to once a second.
52029
52030 2011-06-21  Andreas Jaeger  <aj@suse.de>
52031
52032         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52033         NULL after inclusion of kernel headers.
52034
52035 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52036
52037         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52038         calls to internal_setent.
52039
52040         [BZ #12885]
52041         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52042         addresses using gethostbyname4_r ignore IPv4 addresses.
52043
52044         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52045         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52046
52047         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52048
52049 2011-06-20  David S. Miller  <davem@davemloft.net>
52050
52051         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52052         inclusions.
52053         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52054
52055         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52056         (elf_irel): Use it.
52057         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52058         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52059         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52060         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52061         * sysdeps/x86_64/dl-irel.h: Likewise.
52062
52063         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52064         * elf/dl-sym.c: Likewise.
52065
52066 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52067
52068         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52069         need to dereference resplen2.
52070
52071 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52072
52073         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52074
52075 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52076
52077         * Makeconfig: Define vardbdir and inst_vardbdir.
52078         * nss/Makefile: Add rules to install db-Makefile.
52079
52080         * nss/nss_db/db-XXX.c: Cleanup.
52081
52082         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52083         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52084         GLIBC_PRIVATE.
52085         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52086         * nss/makedb.c: Implement -g option to specify that value strings
52087         are generated and should not be added to table iterated over for
52088         get*ent calls.
52089         * nss/nss_db/db-initgroups.c: New file.
52090
52091         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52092         interface.
52093
52094         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52095         (internal_getgrouplist): Adjust to name change.
52096         Update use_initgroups_entry if this is not the first call.
52097         * nss/databases.def: Add initgroups entry.
52098
52099         * nss/makedb.c (compute_tables): Check result of multiple hash table
52100         sizes to minimize maximum chain length.
52101
52102 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52103
52104         * Versions.def: Add entry for libnss_db.
52105         * shlib-versions: Likewise.
52106         * nss/Makefile: Add rules to build libnss_db.
52107         * nss/Versions: Add libnss_db information.  Organize libnss_files
52108         entries better.
52109         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52110         makedb progra.  Some minor improvements to generate smaller files.
52111         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52112         here from...
52113         * nss/makedb.c: ...here.
52114         Improve database format to be smaller and require less memory at
52115         runtime.
52116         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52117         db anymore.
52118         * nss/nss_db/db-netgrp.c: Likewise.
52119         * nss/nss_db/db-open.c: Likewise.
52120         * nss/nss_files/flies-XXX.x: Adjust comments.
52121         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52122         * nss/nss_files/files-grp.c: Likewise.
52123         * nss/nss_files/files-hosts.c: Likewise.
52124         * nss/nss_files/files-network.c: Likewise.
52125         * nss/nss_files/files-proto.c: Likewise.
52126         * nss/nss_files/files-pwd.c: Likewise.
52127         * nss/nss_files/files-rpc.c: Likewise.
52128         * nss/nss_files/files-service.c: Likewise.
52129         * nss/nss_files/files-sgrp.c: Likewise.
52130         * nss/nss_files/files-spwd.c: Likewise.
52131         * nss/nss_db/db-alias.c: Removed.
52132         * nss/nss_db/dummy-db.h: Removed.
52133
52134 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52135
52136         * nss/makedb.c: Rewritten to not use database library.
52137         * nss/Makefile: Update to build new makedb program.
52138
52139 2011-06-14  Andreas Jaeger  <aj@suse.de>
52140
52141         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52142         memset declaration.
52143
52144 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52145
52146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52147         tmpbuf.
52148
52149 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52150
52151         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52152         * elf/Makefile ($(objpfx)ld.so): Likewise.
52153
52154         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52155         Don't list ld.so twice in dependencies.
52156
52157         * posix/bug-regex31.c: Include <stdlib.h>.
52158
52159         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52160
52161         * nis/nss_compat/compat-spwd.c
52162         (getspent_next_nss_netgr): Remove unused variable.
52163         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52164
52165         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52166         nonmembers" output to use the right array.
52167
52168         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52169
52170         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52171
52172         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52173         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52174         * catgets/gencat.c (read_input_file): Likewise.
52175         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52176
52177         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52178         variable definition inside #if's controlling its use.
52179
52180         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52181
52182         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52183
52184         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52185
52186         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52187         unreachable code.
52188
52189         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52190
52191         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52192         * configure: Regenerated.
52193
52194         * Makerules: Revert last change.
52195         * elf/Makefile: Likewise.
52196
52197 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52198
52199         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52200         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52201         (reloc-link): Likewise.
52202
52203 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52204
52205         * elf/Makefile: Add rules to build pldd.
52206         * elf/pldd.c: New file.
52207         * elf/pldd-xx.c: New file.
52208
52209 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52210
52211         * version.h: Update for 2.15 development version.
52212
52213 2011-06-07  David S. Miller  <davem@davemloft.net>
52214
52215         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52216         ifuncs.
52217         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52218         elf_machine_lazy_rel): Likewise.
52219         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52221         elf_machine_lazy_rel): Likewise.
52222         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52223         dl_hwcap via passed in argument.
52224         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52225         Likewise.
52226
52227 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52228
52229         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52230
52231 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52232
52233         [BZ #12849]
52234         * manual/fdl-1.1.texi: New file, verbatim from:
52235         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52236         * manual/lgpl-2.1.texi: New file, verbatim from:
52237         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52238         * manual/Makefile (licenses): New variable, list those new file names.
52239         (texis): Use it.
52240         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52241
52242         * manual/fdl.texi: File removed.
52243         * manual/lesser.texi: File removed.
52244         * manual/libc.texinfo (Copying, Documentation License):
52245         Use new @include file names, put @appendix directive before @include.
52246
52247 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52248
52249         [BZ #12841]
52250         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52251         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52252         (mq_open): Add __NTH.
52253
52254 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52255
52256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52257         Assume Intel Core i3/i5/i7 processor if AVX is available.
52258
52259 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52260
52261         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52262         typo.
52263
52264 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52265
52266         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52267         memory.  Use alloca_account.  Fix memory leak when retrying.
52268
52269 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52270
52271         * version.h (RELEASE): Bump for 2.14 release.
52272         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52273
52274         * config.make.in (RANLIB): Remove entry.
52275
52276 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52277
52278         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52279         (libc.pot): Work around missing support for .ksh extension in xgettext.
52280
52281         [BZ #12684]
52282         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52283         if both request failed.
52284         (send_dg): In case of server errors clear resplen or *resplen2.
52285
52286         [BZ #12454]
52287         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52288         when there are multiple maps.
52289         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52290         (_dl_fini): Remove test here.
52291
52292         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52293
52294 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52295
52296         [BZ #12350]
52297         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52298         bit from old_res_options.
52299         (gaih_inet): Likewise.
52300
52301         [BZ #11099]
52302         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52303         as signed.
52304
52305         * resolv/res_init.c (res_setoptions): Make the code more compact.
52306
52307         [BZ #11558]
52308         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52309         set RES_USEVC.
52310
52311         [BZ #11634]
52312         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52313
52314         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52315
52316         [BZ #11781]
52317         * malloc/malloc.h: Declare malloc hook variables as volatile.
52318
52319         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52320         in last patch.
52321
52322         [BZ #11799]
52323         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52324         raise in the comment.
52325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52327         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52328
52329 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52330
52331         [BZ #12811]
52332         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52333         grow the buffers more if it already has to be sufficient.
52334         (build_wcs_upper_buffer): Likewise.
52335         * posix/regexec.c (check_matching): Likewise.
52336         (clean_state_log_if_needed): Likewise.
52337         (extend_buffers): Don't enlarge buffers beyond size of the input
52338         buffer.
52339         Patches mostly by Emil Wojak <emil@wojak.eu>.
52340         * posix/bug-regex32.c: New file.
52341         * posix/Makefile (tests): Add bug-regex32.
52342
52343         * locale/findlocale.c (_nl_find_locale): Return right away if
52344         _nl_explode_name failed.
52345         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52346
52347         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52348
52349         * debug/xtrace.sh: Unify messages.
52350         * malloc/memusage.sh: Likewise.
52351
52352         [BZ #12813]
52353         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52354         time symbol from vDSO.  Substitute with vsyscall if not available.
52355         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52356         __vdso_time.
52357
52358         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52359         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52360         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52361         Add sendmmsg and internal_sendmmsg.
52362         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52363         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52364         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52365
52366         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52367         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52368         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52369
52370 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52371
52372         [BZ #12813]
52373         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52374         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52375         available.
52376         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52377         __vdso_getcpu.
52378
52379         [BZ #12814]
52380         * iconvdata/Makefile (tests): Add bug-iconv9.
52381         * iconvdata/bug-iconv9.c: New file.
52382
52383 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52384
52385         [BZ #12814]
52386         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52387
52388 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52389
52390         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52391         (struct user_regs_struct): Change intcs field back to cs.
52392
52393 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52394
52395         * po/ja.po: Update from translation team.
52396
52397 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52398
52399         [BZ #12795]
52400         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52401         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52402
52403 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52404
52405         * stdlib/longlong.h: Update from GCC.
52406
52407 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52408
52409         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52410         parameter name.
52411         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52412         Add parameter name.
52413         (__sysconf): Pass it down.
52414
52415 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52416
52417         [BZ #12671]
52418         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52419         some situations.
52420         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52421         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52422         add in in __libc_use_alloca calls.  Adjust callers.
52423         (glob): Use malloc in some situations.
52424
52425         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52426         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52427         pltexit.
52428
52429 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52430
52431         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52432         and CLOCK_BOOTTIME_ALARM.
52433
52434         [BZ #12782]
52435         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52436         is returned.
52437
52438         * string/_strerror.c (__strerror_r): Print negative errors as signed
52439         numbers.
52440
52441         [BZ #12777]
52442         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52443         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52444         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52445
52446         * configure.in: Fix typo in redirection and correct removal of test
52447         files in two cases.
52448
52449         [BZ #12788]
52450         * locale/setlocale.c (new_composite_name): Fix test to check for
52451         identical name of all categories.
52452
52453         [BZ #12792]
52454         * libio/filedoalloc.c (local_isatty): New function.
52455         (_IO_file_doallocate): Use local_isatty.
52456         * stdio-common/perror.c (perror): In case a new stream is used
52457         forward the stream error.
52458         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52459         error flag.
52460
52461 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52462
52463         [BZ #11869]
52464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52465         alloca.
52466         * include/alloca.h (extend_alloca_account): Define.
52467
52468         [BZ #11857]
52469         * posix/regex.h: Fix comments with documentation of user-accessible
52470         fields after compilation and describe correct free'ing of pattern
52471         after re_compile_pattern.
52472         Patch by Reuben Thomas <rrt@sc3d.org>.
52473
52474 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52475
52476         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52477         and -mno-altivec to prevent the compiler from using Altivec and/or
52478         VSX instructions when the corresponding registers are not available.
52479
52480 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52481
52482         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52483
52484 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52485
52486         * libio/freopen.c (freopen): Use __dup2, not dup2.
52487         * libio/freopen64.c (freopen64): Likewise.
52488
52489 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52490
52491         [BZ #12775]
52492         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52493         * math/Makefile (tests): Add test-powl.
52494         (CFLAGS-test-powl.c): Define.
52495         * math/test-powl.c: New file.
52496
52497 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52498
52499         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52500
52501 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52502
52503         [BZ #11837]
52504         * iconvdata/gb18030.c: Update to GB18020-2005.
52505
52506 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52507
52508         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52509         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52510         Patch by Aharon Robbins <arnold@skeeve.com>.
52511
52512         [BZ #11892]
52513         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52514         on the stack.
52515
52516         [BZ #11895]
52517         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52518         through underflows.
52519
52520         [BZ #12766]
52521         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52522         point to strings before performing equality test for error_one_per_line
52523         mode.
52524
52525         [BZ #11697]
52526         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52527
52528         [BZ #11820]
52529         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52530         (struct user_fpregs_struct): Avoid __uint*_t types.
52531
52532         [BZ #6420]
52533         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52534         symbol info.  Use it instead of calling _dl_addr locally.
52535         (lock_and_info): New function.
52536         (tr_freehook): Call lock_and_info and pass symbol info as additional
52537         parameter to tr_where.
52538         (tr_mallochook): Likewise.
52539         (tr_reallochook): Likewise.
52540         (tr_memalignhook): Likewise.
52541
52542         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52543         used and couldn't be at all thread-safe.
52544
52545 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52546
52547         * libio/freopen.c (freopen): Don't close old file descriptor
52548         before the new one is opened.  Instead dup the new file descriptor
52549         to the old one after the new stream is created.
52550         * libio/freopen64.c (freopen64): Likewise.
52551         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52552         * libio/fileops.c (_IO_new_file_close_it): Handle new
52553         _IO_FLAGS2_NOCLOSE flag.
52554         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52555         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52556         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52557         _IO_FLAGS2_NOCLOSE flag.
52558         * include/unistd.h: Add hidden_proto for dup3.
52559         Define __have_dup3.
52560         * io/dup3.c: Define hidden symbol.
52561         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52562
52563         [BZ #7101]
52564         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52565         when an incomplete long option is used.
52566         * posix/tst-getopt_long1.c: New file.
52567         * posix/Makefile (tests): Add tst-getopt_long1.
52568
52569         [BZ #10138]
52570         * scripts/config.guess: Update from autoconf-2.68.
52571         * scripts/config.sub: Likewise.
52572
52573         [BZ #10157]
52574         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52575         tests into ...
52576         (has_cpuclock): ...this.  New function.
52577         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52578         macro here based on has_cpuclock code.
52579
52580         [BZ #10149]
52581         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52582         First byte (not low byte) is now always NUL.
52583         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52584
52585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52586         Use non-cancelable interfaces.
52587
52588         [BZ #9809]
52589         * locale/iso-639.def: Add entry for Sorani.
52590
52591         [BZ #11901]
52592         * include/stdlib.h: Move include protection to the right place.
52593         Define abort_msg_s.  Declare __abort_msg with it.
52594         * stdlib/abort.c (__abort_msg): Adjust type.
52595         * assert/assert.c (__assert_fail_base): New function.  Majority
52596         of code from __assert_fail.  Allocate memory for __abort_msg with
52597         mmap.
52598         (__assert_fail): Now call __assert_fail_base.
52599         * assert/assert-perr.c: Remove bulk of implementation.  Use
52600         __assert_fail_base.
52601         * include/assert.hL Declare __assert_fail_base.
52602         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52603         mmap.
52604         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52605
52606 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52607
52608         [BZ #11952]
52609         [BZ #12453]
52610         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52611         until all modules are registered in the DTV.
52612         * elf/Makefile: Add rules to build and run tst-tls19.
52613         * elf/tst-tls19.c: New file.
52614         * elf/tst-tls19mod1.c: New file.
52615         * elf/tst-tls19mod2.c: New file.
52616         * elf/tst-tls19mod3.c: New file.
52617         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52618
52619         [BZ #12083]
52620         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52621         correctly.
52622
52623         [BZ #12601]
52624         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52625         two-byte sequence errors.
52626         * iconvdata/Makefile (tests): Add bug-iconv8.
52627         * iconvdata/bug-iconv8.c: New file.
52628
52629         [BZ #12626]
52630         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52631         buf2 definition.
52632
52633         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52634
52635         [BZ #12432]
52636         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52637         (dummy_getcfa): New function.
52638         (init): Get _Unwind_GetCFA address, use dummy if not found.
52639         (backtrace_helper): In recursion check, also check whether CFA changes.
52640         (__backtrace): Completely initialize arg.
52641
52642         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52643         storing incomplete byte sequence in state object.  Avoid testing for
52644         guaranteed too small input if we know there is enough data available.
52645
52646 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52647
52648         * Makeconfig (+link-pie): Indent.
52649         * Rules (binaries-pie): Define if $(have-fpie) and
52650         $(build-shared).
52651         (binaries-shared): Also filter out $(binaries-pie).
52652         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52653         * nscd/Makefile (others-pie): Add nscd.
52654         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52655         ($(objpfx)nscd): Remove command override.
52656         * login/Makefile (others-pie): Add pt_chown.
52657         ($(objpfx)pt_chown): Remove command override.
52658         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52659         remove command overrides.
52660
52661 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52662
52663         * libio/tst_putwc.c: Fix error messages.
52664
52665         [BZ #12724]
52666         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52667         currently writing and seek to current position when not.
52668         * libio/Makefile (tests): Add bug-fclose1.
52669         * libio/bug-fclose1.c: New file.
52670
52671 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52672
52673         [BZ #12511]
52674         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52675         don't set DF_1_NODELETE here.
52676         (do_lookup_x): When entering new entry test for copy relocation
52677         and if necessary set DF_1_NODELETE flag.
52678         * elf/tst-unique4.cc: New file.
52679         * elf/tst-unique4.h: New file.
52680         * elf/tst-unique4lib.cc: New file.
52681         * elf/Makefile: Add rules to build and run tst-unique4.
52682         Patch by Piotr Bury <pbury@goahead.com>.
52683
52684 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52685
52686         [BZ #12052]
52687         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52688
52689         [BZ #12625]
52690         * misc/mntent_r.c (addmntent): Flush the stream after the output
52691
52692         [BZ #12393]
52693         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52694         (is_trusted_path_normalize): Skip initial colon.  Append slash
52695         to empty buffer.  Duplicate is_trusted_path code but allow
52696         constructed patch to be prefix.
52697         (is_dst): Allow $ORIGIN followed by /.
52698         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52699         Correct testing of result of is_trusted_path_normalize
52700         (decompose_rpath): Fix warning.
52701
52702 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52703
52704         [BZ #11257]
52705         * grp/initgroups.c (internal_getgrouplist): When we found the service
52706         list through the initgroups entry in nsswitch.conf do not always
52707         continue on a successful lookup.  Don't always use the
52708         __nss_group_database value if it is set.
52709         * nss/nsswitch.conf (initgroups): Change action for successful db
52710         lookup to continue for compatibility.
52711
52712 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52713
52714         [BZ #11532]
52715         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52716         and CP774 modules.
52717         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52718         and CP774 modules.
52719         * iconvdata/tst-tables.sh: Likewise.
52720         * iconvdata/cp770.c: New file.
52721         * iconvdata/cp771.c: New file.
52722         * iconvdata/cp772.c: New file.
52723         * iconvdata/cp773.c: New file.
52724         * iconvdata/cp774.c: New file.
52725         * iconvdata/testdata/CP770: New file.
52726         * iconvdata/testdata/CP770..UTF8: New file.
52727         * iconvdata/testdata/CP771: New file.
52728         * iconvdata/testdata/CP771..UTF8: New file.
52729         * iconvdata/testdata/CP772: New file.
52730         * iconvdata/testdata/CP772..UTF8: New file.
52731         * iconvdata/testdata/CP773: New file.
52732         * iconvdata/testdata/CP773..UTF8: New file.
52733         * iconvdata/testdata/CP774: New file.
52734         * iconvdata/testdata/CP774..UTF8: New file.
52735
52736         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52737         END CHARMAP line.
52738         * iconvdata/gen-8bit-gap.sh: Likewise.
52739         * iconvdata/gen-8bit.sh: Likewise.
52740
52741         * locale/iso-639.def: Add ary entry.
52742
52743         [BZ #11258]
52744         * locale/C-translit.h.in: Add U20A1 transliteration.
52745
52746         [BZ #12178]
52747         * locale/iso-639.def: Add wae entry.
52748         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52749
52750         [BZ #12545]
52751         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52752         for n.
52753
52754         [BZ #12711]
52755         * locale/C-translit.h.in: Add entry for U20B9.
52756         Patch by pravin.d.s@gmail.com.
52757
52758 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52759
52760         [BZ #12713]
52761         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52762         ENAMETOOLONG use generic getcwd.
52763         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52764         in rtld.  Use *stat64.
52765         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52766         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52767         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52768         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52769         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52770         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52771         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52772         __fstatat64 macros.
52773         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52774         * dirent/rewinddir.c: Add libc_hidden_def.
52775         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52776         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52777
52778         * include/dirent.h (__alloc_dir): Add flags parameter.
52779         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52780         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52781         __alloc_dir.
52782         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52783         from fdopendir if O_CLOEXEC is already set.
52784
52785 2011-03-15  Alan Modra  <amodra@gmail.com>
52786
52787         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52788         l_tls_firstbyte_offset non-zero.  Save padding offset in
52789         l_tls_firstbyte_offset for later use.
52790         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52791         freeing static tls block.
52792
52793 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52794
52795         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52796         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52797         being defined by the kernel headers.
52798
52799 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52800
52801         [BZ #12734]
52802         * resolv/resolv.h: Define RES_NOTLDQUERY.
52803         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52804         no-tld-query and set RES_NOTLDQUERY.
52805         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52806         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52807         modern BIND to search name as TLD unless forbidden.
52808
52809 2011-05-07  Petr Baudis  <pasky@suse.cz>
52810             Ulrich Drepper  <drepper@gmail.com>
52811
52812         [BZ #12393]
52813         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52814         (is_trusted_path): ...to here.
52815         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52816         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52817         using is_trusted_path_normalize() in setuid scripts.
52818
52819 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52820
52821         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52822         __BEGIN/__END_DECLS.
52823
52824 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52825
52826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52827         NSS_STATUS_NOTFOUND if no record was found.
52828
52829 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52830
52831         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52832         (headers-not-in-tirpc): Remove rpc/netdb.h
52833         * resolv/netdb.h: Revert last change.
52834
52835 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52836
52837         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52838         circular dependency between libgcc.a and libc.a.
52839
52840 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52841
52842         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52843         * nis/Makefile: Don't install rpcsvc/*.
52844         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52845         instead of <rpc/types.h>.
52846         (MAXHOSTNAMELEN): Define.
52847
52848 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52849
52850         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52851
52852 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52853
52854         [BZ #12714]
52855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52856         gethostbyname4_r when IPv6 results are possible.
52857
52858 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52859
52860         [BZ #12723]
52861         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52862         _PC_PIPE_BUF handling.
52863
52864 2011-04-30  Bruno Haible  <bruno@clisp.org>
52865
52866         [BZ #12717]
52867         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52868         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52869         to 'int'.
52870         * inet/getnameinfo.c (getnameinfo): Likewise.
52871
52872 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52873
52874         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52875         to groups setting in database lookup.
52876         * nss/nsswitch.conf: Add initgroups entry.
52877
52878 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52879
52880         [BZ #12685]
52881         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52882         mode string.
52883         Patch by Eric Blake <eblake@redhat.com>.
52884
52885 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52886
52887         * sunrpc/Makefile (need-export-routines): Add svc_run.
52888         (routines): Remove svc_run.
52889         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52890         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52891         * sunrpc/svc_run.c (svc_run): Likewise.
52892         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52893
52894 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52895
52896         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52897         problem in reallocation in last patch.
52898
52899 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52900
52901         * sunrpc/Makefile: Move inclusion of Rules.
52902
52903 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52904
52905         * nss/nss_files/files-initgroups.c: New file.
52906         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52907         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52908         _nss_files_initgroups_dyn.
52909
52910 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52911
52912         * elf/elf.h (R_ARM_IRELATIVE): Define.
52913
52914 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52915
52916         * po/ru.po: Update from translation team.
52917
52918 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52919
52920         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52921         dependencies.
52922
52923 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52924
52925         [BZ #12653]
52926         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52927         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52928         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52929         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52930         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52931
52932 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52933
52934         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52935         differing bytes.
52936         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52937         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52939
52940 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52941
52942         [BZ #12420]
52943         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52944         storing it.
52945         * stdlib/bug-getcontext.c: New file.
52946         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52947
52948 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52949
52950         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52951         instructions into .machine "z9-109".
52952         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52953         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52954
52955 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52956
52957         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52958         between environment variables and auxiliary vector.
52959
52960 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52961
52962         * Makefile: Add rules to build linkobj/libc.so.
52963         * include/libc-symbols.h: Define libc_hidden_nolink.
52964         * include/rpc/auth.h: Mark functions which are to be hidden.
52965         * include/rpc/auth_des.h: Likewise.
52966         * include/rpc/auth_unix.h: Likewise.
52967         * include/rpc/clnt.h: Likewise.
52968         * include/rpc/des_crypt.h: Likewise.
52969         * include/rpc/key_prot.h: Likewise.
52970         * include/rpc/pmap_clnt.h: Likewise.
52971         * include/rpc/pmap_prot.h: Likewise.
52972         * include/rpc/pmap_rmt.h: Likewise.
52973         * include/rpc/rpc_msg.h: Likewise.
52974         * include/rpc/svc.h: Likewise.
52975         * include/rpc/svc_auth.h: Likewise.
52976         * include/rpc/xdr.h: Likewise.
52977         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52978         * nss/Makefile: Likewise.
52979         * sunrpc/Makefile: Don't install headers.  Build library with normal
52980         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52981         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52982         for the compat linking library.  Remove use of INTDEF/INTUSE.
52983         * sunrpc/auth_none.c: Likewise.
52984         * sunrpc/auth_unix.c: Likewise.
52985         * sunrpc/authdes_prot.c: Likewise.
52986         * sunrpc/authuxprot.c: Likewise.
52987         * sunrpc/clnt_gen.c: Likewise.
52988         * sunrpc/clnt_perr.c: Likewise.
52989         * sunrpc/clnt_raw.c: Likewise.
52990         * sunrpc/clnt_simp.c: Likewise.
52991         * sunrpc/clnt_tcp.c: Likewise.
52992         * sunrpc/clnt_udp.c: Likewise.
52993         * sunrpc/clnt_unix.c: Likewise.
52994         * sunrpc/des_crypt.c: Likewise.
52995         * sunrpc/des_soft.c: Likewise.
52996         * sunrpc/get_myaddr.c: Likewise.
52997         * sunrpc/key_call.c: Likewise.
52998         * sunrpc/key_prot.c: Likewise.
52999         * sunrpc/netname.c: Likewise.
53000         * sunrpc/pm_getmaps.c: Likewise.
53001         * sunrpc/pm_getport.c: Likewise.
53002         * sunrpc/pmap_clnt.c: Likewise.
53003         * sunrpc/pmap_prot.c: Likewise.
53004         * sunrpc/pmap_prot2.c: Likewise.
53005         * sunrpc/pmap_rmt.c: Likewise.
53006         * sunrpc/publickey.c: Likewise.
53007         * sunrpc/rpc_cmsg.c: Likewise.
53008         * sunrpc/rpc_common.c: Likewise.
53009         * sunrpc/rpc_dtable.c: Likewise.
53010         * sunrpc/rpc_prot.c: Likewise.
53011         * sunrpc/rpc_thread.c: Likewise.
53012         * sunrpc/rtime.c: Likewise.
53013         * sunrpc/svc.c: Likewise.
53014         * sunrpc/svc_auth.c: Likewise.
53015         * sunrpc/svc_authux.c: Likewise.
53016         * sunrpc/svc_raw.c: Likewise.
53017         * sunrpc/svc_run.c: Likewise.
53018         * sunrpc/svc_simple.c: Likewise.
53019         * sunrpc/svc_tcp.c: Likewise.
53020         * sunrpc/svc_udp.c: Likewise.
53021         * sunrpc/svc_unix.c: Likewise.
53022         * sunrpc/svcauth_des.c: Likewise.
53023         * sunrpc/xcrypt.c: Likewise.
53024         * sunrpc/xdr.c: Likewise.
53025         * sunrpc/xdr_array.c: Likewise.
53026         * sunrpc/xdr_float.c: Likewise.
53027         * sunrpc/xdr_intXX_t.c: Likewise.
53028         * sunrpc/xdr_mem.c: Likewise.
53029         * sunrpc/xdr_rec.c: Likewise.
53030         * sunrpc/xdr_ref.c: Likewise.
53031         * sunrpc/xdr_sizeof.c: Likewise.
53032         * sunrpc/xdr_stdio.c: Likewise.
53033
53034 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53035
53036         [BZ #12650]
53037         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53038         * sysdeps/ia64/dl-tls.h: Likewise.
53039         * sysdeps/powerpc/dl-tls.h: Likewise.
53040         * sysdeps/s390/dl-tls.h: Likewise.
53041         * sysdeps/sh/dl-tls.h: Likewise.
53042         * sysdeps/sparc/dl-tls.h: Likewise.
53043         * sysdeps/x86_64/dl-tls.h: Likewise.
53044         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53045
53046 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53047
53048         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53049         rpath element also skip the following colon.
53050         (expand_dynamic_string_token): Add is_path parameter and pass
53051         down to DL_DST_REQUIRED and _dl_dst_substitute.
53052         (decompose_rpath): Call expand_dynamic_string_token with
53053         non-zero is_path.  Ignore empty rpaths.
53054         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53055         with zero is_path.
53056
53057 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53058
53059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53060         Make cancelable.
53061
53062 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53063
53064         [BZ #12655]
53065         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53066         Patch by Filipe David Manana <fdmanana@apache.org>.
53067
53068 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53069
53070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53071         Maintain aligned stack.
53072         (CHECK_RSP): Remove unused macro.
53073
53074 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53075
53076         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53077         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53078
53079 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53080
53081         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53082
53083         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53084
53085 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53086
53087         [BZ #12518]
53088         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53089         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53090         * sysdeps/x86_64/memmove.c: New file.
53091         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53092         (memcpy): Renamed to ...
53093         (__new_memcpy): This.
53094         (memcpy): Provide GLIBC_2_14 memcpy.
53095         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53096         (memcpy): Provide GLIBC_2_2_5 memcpy.
53097
53098 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53099
53100         [BZ #12631]
53101         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53102
53103 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53104
53105         * misc/syncfs.c: New file.
53106         * misc/Makefile (routines): Add syncfs.
53107         * posix/unistd.h: Declare syncfs.
53108         * sysdeps/unix/syscalls.list: Add syncfs.
53109
53110 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53111
53112         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53113         open_by_handle_at.
53114         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53115         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53116         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53117         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53119         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53120         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53121
53122 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53123
53124         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53125         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53126         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53128         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53130         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53131
53132         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53133         sync_file_range.c with -fexceptions.
53134         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53135         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53136         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53137         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53138         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53139         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53141         sync_file_range as cancellation point
53142         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53143         now a wrapper around __call_sync_file_range with cancellation handling.
53144         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53145         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53146         function name to __call_sync_file_range.
53147         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53148         Add call_sync_file_range.
53149
53150 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53151
53152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53153         bits/timex.h.
53154
53155 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53156
53157         * iconv/iconv.h: Fix typo in comment.
53158         * io/fcntl.h: Likewise.
53159         * libio/stdio.h: Likewise.
53160         * posix/spawn.h: Likewise.
53161         * posix/unistd.h: Likewise.
53162         * stdlib/stdlib.h: Likewise.
53163         * time/time.h: Likewise.
53164         * wcsmbs/wchar.h: Likewise.
53165
53166         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53167         open_by_handle): Add.
53168         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53169         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53170         Augment a few comments.
53171         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53173         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53175         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53176         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53177         open_by_handle.
53178
53179         * io/fcntl.h (AT_EMPTY_PATH): Define.
53180
53181 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53182
53183         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53184         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53185         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53186         to...
53187         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53188         * Versions.def: Add GLIBC_2.14.
53189         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53190         Export.
53191
53192 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53193
53194         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53195         round counter.
53196         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53197
53198 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53199
53200         [BZ #12597]
53201         * string/test-strncmp.c (do_page_test): New function.
53202         (check2): Likewise.
53203         (test_main): Call check2.
53204         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53205
53206 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53207
53208         [BZ #12587]
53209         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53210         Handle cache information in CPU leaf 4.
53211         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53212
53213 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53214
53215         [BZ #12583]
53216         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53217         character representation.
53218         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53219
53220 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53221
53222         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53223         END(__isnan) to END(__isnanf) to match function entry point/label
53224         EALIGN(__isnanf,...).
53225
53226 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53227
53228         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53229
53230 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53231
53232         [BZ #12510]
53233         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53234         copy from the symbol referenced in the relocation to initialize the
53235         used variable.
53236         Patch by Piotr Bury <pbury@goahead.com>.
53237         * elf/Makefile: Add rules to build and tst-unique3.
53238         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53239         * elf/tst-unique3.cc: New file.
53240         * elf/tst-unique3.h: New file.
53241         * elf/tst-unique3lib.cc: New file.
53242         * elf/tst-unique3lib2.cc: New file.
53243
53244         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53245
53246 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53247
53248         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53249         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53250         to _start.
53251
53252 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53253
53254         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53255         to-be-loaded object along a path to loader is ld.so.
53256
53257 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53258             Ulrich Drepper  <drepper@gmail.com>
53259
53260         * sysdeps/x86_64/memset.S: After aligning destination, code
53261         branches to different locations depending on the value of
53262         misalignment, when multiarch is enabled. Fix this.
53263
53264 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53265
53266         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53267         Set _x86_64_preferred_memory_instruction for AMD processsors.
53268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53269         Set bit_Prefer_SSE_for_memop for AMD processors.
53270
53271 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53272
53273         * libio/fmemopen.c (fmemopen): Optimize a bit.
53274
53275 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53276
53277         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53278
53279 2011-03-03  Roland McGrath  <roland@redhat.com>
53280
53281         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53282
53283 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53284
53285         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53286         __bzero_ultra1 instead of __memset_ultra1.
53287
53288 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53289             Ulrich Drepper  <drepper@gmail.com>
53290
53291         [BZ #12509]
53292         * include/link.h (struct link_map): Add l_orig_initfini.
53293         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53294         returning unsuccessfully.
53295         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53296         close of a file loaded at startup, restore the original l_initfini
53297         list.
53298         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53299         list, store the pointer.
53300         * elf/Makefile ($(objpfx)noload-mem): New rule.
53301         (noload-ENV): Define.
53302         (tests): Add $(objpfx)noload-mem.
53303         * elf/noload.c: Include <memcheck.h>.
53304         (main): Call mtrace.  Close all opened handles.
53305
53306 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53307
53308         [BZ #12454]
53309         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53310         dependencies are missing.
53311
53312 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53313
53314         Fix __if_freereq crash: Unlike the generic version which uses free,
53315         Hurd needs munmap.
53316         * sysdeps/mach/hurd/ifreq.h: New file.
53317
53318 2011-01-27  Petr Baudis  <pasky@suse.cz>
53319             Ulrich Drepper  <drepper@gmail.com>
53320
53321         [BZ 12445]#
53322         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53323         to extend_alloca().
53324         * stdio-common/bug23.c: New file.
53325         * stdio-common/Makefile (tests): Add bug23.
53326
53327 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53328             Ulrich Drepper  <drepper@gmail.com>
53329
53330         [BZ #12489]
53331         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53332         before performing relro protection.  At old place add assertion
53333         to make sure nothing changed.
53334
53335 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53336             Glauber de Oliveira Costa  <glommer@gmail.com>
53337
53338         * elf/elf.h: Add new ARM TLS relocs.
53339
53340 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53341
53342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53343         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53344         cast from r3.
53345         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53346         'tests' variable.
53347         * sysdeps/wordsize-64/tst-writev.c: New file.
53348
53349 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53350
53351         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53352         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53353         insns in _dl_start to prevent a TOC reference before relocs are
53354         resolved.
53355
53356 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53357
53358         [BZ #12469]
53359         * Makeconfig: Remove RANLIB definition.
53360         * Makerules: Don't use RANLIB.
53361         * aclocal.m4: Remove ranlib test.
53362         * configure.in: No need to check for ranlib.
53363         * elf/rtld-Rules: Don't use RANLIB.
53364
53365 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53366
53367         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53368         protection macro.
53369         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53370         inclusion protection macro.
53371
53372         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53373         SIGRTMIN and SIGRTMAX and print information in that case only when
53374         SIGRTMIN is defined.
53375
53376 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53377
53378         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53379         arginfo fn returning -1.
53380
53381         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53382         and thousands string is zero terminated.
53383
53384 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53385
53386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53387         sysdeps/unix/sysv/linux/bits/socket.h.
53388
53389 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53390
53391         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53392         (__CPU_COUNT): Remove old macros.
53393         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53394         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53395         (__CPU_ALLOC, __CPU_FREE): Add macros.
53396         (__sched_cpualloc, __sched_cpufree): Add declarations.
53397
53398 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53399
53400         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53401         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53402         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53403         (readdhstai): Return value of addhstaiX call.
53404         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53405         (addgrbyX): Return value returned by cache_addgr.
53406         (readdgrbyname): Return value returned by addgrbyX.
53407         (readdgrbygid): Likewise.
53408         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53409         (addpwbyX): Return value returned by cache_addpw.
53410         (readdpwbyname): Return value returned by addhstbyX.
53411         (readdpwbyuid): Likewise.
53412         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53413         (addservbyX): Return value returned by cache_addserv.
53414         (readdservbyname): Return value returned by addservbyX:
53415         (readdservbyport): Likewise.
53416         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53417         (addhstbyX): Return value returned by cache_addhst.
53418         (readdhstbyname): Return value returned by addhstbyX.
53419         (readdhstbyaddr): Likewise.
53420         (readdhstbynamev6): Likewise.
53421         (readdhstbyaddrv6): Likewise.
53422         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53423         (readdinitgroups): Return value returned by addinitgroupsX.
53424         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53425         (prune_cache): Keep track of timeout value of re-added entries.
53426         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53427         * nscd/nscd.h: Adjust prototypes of readd* functions.
53428
53429 2011-02-04  Roland McGrath  <roland@redhat.com>
53430
53431         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53432         (nis_stats): Likewise.
53433         * nis/nis_modify.c (nis_modify): Likewise.
53434         * nis/nis_remove.c (nis_remove): Likewise.
53435         * nis/nis_add.c (nis_add): Likewise.
53436
53437         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53438
53439         * posix/fnmatch_loop.c: Add some consts.
53440
53441         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53442
53443 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53444
53445         [BZ #12460]
53446         * config.make.in (config-cflags-novzeroupper): Define.
53447         * configure.in: Substitute libc_cv_cc_novzeroupper.
53448         * elf/Makefile (AVX-CFLAGS): Define.
53449         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53450         (CFLAGS-tst-auditmod4a.c): Likewise.
53451         (CFLAGS-tst-auditmod4b.c): Likewise.
53452         (CFLAGS-tst-auditmod6b.c): Likewise.
53453         (CFLAGS-tst-auditmod6c.c): Likewise.
53454         (CFLAGS-tst-auditmod7b.c): Likewise.
53455         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53456
53457 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53458
53459         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53460         function to the callback.
53461         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53462
53463 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53464
53465         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53466         of errno.
53467
53468 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53469
53470         [BZ #11724]
53471         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53472         of constructors.
53473         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53474         of destructors.
53475         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53476
53477         [BZ #11724]
53478         * elf/Makefile: Add rules to build and run new test.
53479         * elf/tst-initorder.c: New file.
53480         * elf/tst-initorder.exp: New file.
53481         * elf/tst-initordera1.c: New file.
53482         * elf/tst-initordera2.c: New file.
53483         * elf/tst-initordera3.c: New file.
53484         * elf/tst-initordera4.c: New file.
53485         * elf/tst-initorderb1.c: New file.
53486         * elf/tst-initorderb2.c: New file.
53487         * elf/tst-order-a1.c: New file.
53488         * elf/tst-order-a2.c: New file.
53489         * elf/tst-order-a3.c: New file.
53490         * elf/tst-order-a4.c: New file.
53491         * elf/tst-order-b1.c: New file.
53492         * elf/tst-order-b2.c: New file.
53493         * elf/tst-order-main.c: New file.
53494         New test case by George Gensure <werkt0@gmail.com>.
53495
53496 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53497
53498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53499         decoding ACE if AI_CANONIDN.
53500
53501 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53502
53503         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53504
53505 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53506
53507         * version.h (RELEASE): Bump for 2.13 release.
53508         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53509
53510         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53511
53512         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53513         MADV_NOHUGEPAGE.
53514         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53515         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53516         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53517         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53519         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53520
53521         * posix/getconf.c: Update copyright year.
53522         * catgets/gencat.c: Likewise.
53523         * csu/version.c: Likewise.
53524         * debug/catchsegv.sh: Likewise.
53525         * debug/xtrace.sh: Likewise.
53526         * elf/ldconfig.c: Likewise.
53527         * elf/ldd.bash.in: Likewise.
53528         * elf/sprof.c (print_version): Likewise.
53529         * iconv/iconv_prog.c: Likewise.
53530         * iconv/iconvconfig.c: Likewise.
53531         * locale/programs/locale.c: Likewise.
53532         * locale/programs/localedef.c: Likewise.
53533         * malloc/memusage.sh: Likewise.
53534         * malloc/mtrace.pl: Likewise.
53535         * nscd/nscd.c (print_version): Likewise.
53536         * nss/getent.c: Likewise.
53537
53538         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53539         PF_CAIF, and PF_ALG.
53540         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53541
53542 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53543
53544         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53545         (modules-names): Use them.
53546         (ifunc-test-modules, ifunc-pie-tests): Define.
53547         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53548         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53549         (test-extras): Likewise.
53550         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53551         $(compile-command.c).
53552         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53553         (all-built-dso): Define.
53554         (check-textrel.out, check-execstack.out): Depend on it.
53555
53556         * configure.in: Don't override --enable-multi-arch.
53557
53558 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53559
53560         [BZ #6812]
53561         * nscd/hstcache.c (tryagain): Define.
53562         (cache_addhst): Return tryagain not notfound for temporary errors.
53563         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53564         failed.
53565
53566 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53567
53568         [BZ #10563]
53569         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53570         to make the syscall.
53571         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53572
53573         [BZ #12378]
53574         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53575         and fall back to matching as normal character if the string ends before
53576         the matching ']' is found.  This is what POSIX requires.
53577         * posix/testfnm.c: Adjust test result.
53578         * posix/globtest.sh: Adjust test result.  Add new test.
53579         * posix/tst-fnmatch.input: Likewise.
53580         * posix/tst-fnmatch2.c: Add new test.
53581
53582 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53583
53584         * elf/Makefile (check-execstack): Revert last change.  Depend on
53585         check-execstack.h.
53586         (check-execstack.h): New target.
53587         (generated): Add check-execstack.h.
53588         * elf/check-execstack.c: Include "check-execstack.h".
53589         (main): Revert last change.
53590         (handle_file): Return zero if GNU_STACK is absent and
53591         DEFAULT_STACK_PERMS doesn't include PF_X.
53592
53593 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53594
53595         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53596         in child fails because the descriptor is already closed.
53597         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53598         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53599         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53600
53601         [BZ #12397]
53602         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53603         syscall.
53604
53605         [BZ #10484]
53606         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53607         temporary buffer used to handle multi lookups locally.
53608         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53609
53610 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53611
53612         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53613         loader is ld.so.
53614
53615 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53616
53617         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53618         alignment for SSE2.
53619
53620 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53621
53622         [BZ #12394]
53623         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53624         characters.  When rounding increased number of integer digits recompute
53625         number of groups.
53626         * stdio-common/tst-grouping.c: New file.
53627         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53628
53629 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53630
53631         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53632         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53633
53634         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53635         void.
53636         * bits/select.h: Likewise.
53637
53638 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53639
53640         * po/ja.po: Update from translation team.
53641
53642 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53643
53644         [BZ #11155]
53645         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53646         implementation just like for lxstat, fxstatat, et al.
53647
53648 2010-12-27  Jim Meyering  <meyering@redhat.com>
53649
53650         [BZ #12348]
53651         * posix/regexec.c (build_trtable): Return failure indication upon
53652         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53653
53654 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53655
53656         [BZ #12201]
53657         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53658         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53659         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53660         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53661
53662         [BZ #12207]
53663         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53664
53665         [BZ #12204]
53666         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53667         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53668
53669 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53670
53671         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53672         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53673         script has SORT_BY_INIT_PRIORITY.
53674         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53675         NO_CTORS_DTORS_SECTIONS is defined.
53676         * elf/soinit.c: Likewise.
53677         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53678         NO_CTORS_DTORS_SECTIONS is defined.
53679         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53680         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53681         * sysdeps/sh/init-first.c: Likewise.
53682         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53683
53684 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53685
53686         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53687         always use the slow path.
53688
53689 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53690
53691         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53692         similar rule which adds the sysdep directories to the header search in
53693         order to pick up the correct platform stackinfo.h.
53694         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53695         perform test if it is, otherwise return successfully without testing.
53696         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53697         DEFAULT_STACK_PERMS define in stackinfo.h.
53698         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53699         defined in stackinfo.h.
53700         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53701         DEFAULT_STACK_PERMS defined in stackinfo.h.
53702         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53703         * sysdeps/ia64/stackinfo.h: Likewise.
53704         * sysdeps/s390/stackinfo.h: Likewise.
53705         * sysdeps/sh/stackinfo.h: Likewise.
53706         * sysdeps/sparc/stackinfo.h: Likewise.
53707         * sysdeps/x86_64/stackinfo.h: Likewise.
53708         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53709         PF_X for powerpc64.  Retain PF_X for powerpc32.
53710
53711 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53712
53713         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53714         accurately.
53715         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53716         GETDENTS_64BIT_ALIGNED.
53717
53718 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53719
53720         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53721
53722 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53723
53724         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53725         _GNU_SOURCE.
53726
53727         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53728         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53729         Remove __restrict.
53730         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53731         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53732
53733 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53734
53735         [BZ #11655]
53736         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53737         are initialized.
53738
53739 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53740
53741         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53742
53743 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53744
53745         * po/it.po: Update from translation team.
53746
53747 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53748
53749         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53750         unused codes.
53751
53752 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53753
53754         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53755
53756 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53757
53758         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53759         specially.
53760         (gaih_getanswer_slice): Likewise.
53761
53762 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53763
53764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53765
53766 2010-05-31  Petr Baudis  <pasky@suse.cz>
53767
53768         [BZ #11149]
53769         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53770         silently even in the chroot mode.
53771
53772 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53773
53774         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53775         last patch a bit.  Pretty printing
53776
53777 2010-05-31  Petr Baudis <pasky@suse.cz>
53778
53779         [BZ #10085]
53780         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53781         initialization of skip_initgroups_dyn.
53782
53783 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53784
53785         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53786         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53787
53788 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53789
53790         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53791
53792 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53793
53794         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53795         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53796         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53797         ($(objpfx)tst-fnmatch-mem): New rule.
53798         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53799         * posix/tst-fnmatch.c (main): Call mtrace.
53800
53801 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53802
53803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53804         Support Intel processor model 6 and model 0x2c.
53805
53806 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53807
53808         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53809           signed comparison.
53810
53811 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53812
53813         [BZ #12205]
53814         * string/test-strncasecmp.c (check_result): New function.
53815         (do_one_test): Use it.
53816         (check1): New function.
53817         (test_main): Use it.
53818         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53819         Support strcasecmp and strncasecmp.
53820
53821 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53822
53823         [BZ #12194]
53824         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53825         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53826
53827 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53828
53829         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53830         IFUNC support.
53831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53832         memset-x86-64.
53833         * sysdeps/x86_64/multiarch/bzero.S: New file.
53834         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53835         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53836         * sysdeps/x86_64/multiarch/memset.S: New file.
53837         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53839         Set bit_Prefer_SSE_for_memop for Intel processors.
53840         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53841         Define.
53842         (index_Prefer_SSE_for_memop): Define.
53843         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53844
53845 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53846
53847         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53848         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53849
53850 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53851
53852         [BZ #12191]
53853         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53854         (__x86_64_raw_data_cache_size_half): Likewise.
53855         (__x86_64_raw_shared_cache_size): Likewise.
53856         (__x86_64_raw_shared_cache_size_half): Likewise.
53857
53858         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53859         (__x86_64_raw_data_cache_size_half): Likewise.
53860         (__x86_64_raw_shared_cache_size): Likewise.
53861         (__x86_64_raw_shared_cache_size_half): Likewise.
53862         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53863         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53864         and __x86_64_raw_shared_cache_size_half.  Round
53865         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53866         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53867         to multiple of 256 bytes.
53868
53869 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53870
53871         [BZ #12167]
53872         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53873         of inacessible symlinks.  Verify result of symlink before returning it.
53874         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53875         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53876
53877 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53878
53879         * math/math.h (isinf): Fix typo in comment.
53880
53881 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53882
53883         * po/da.po: Update from translation team.
53884
53885 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53886
53887         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53888         is added to the list.
53889
53890 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53891             Ulrich Drepper  <drepper@gmail.com>
53892
53893         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53894         the global list here.  Move code to...
53895         (_dl_add_to_namespace_list): ...here.  New function.
53896         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53897         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53898         * elf/dl-load.c (lose): Don't remove the element from the list.
53899         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53900         (_dl_map_object): Likewise.
53901
53902 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53903
53904         [BZ #12159]
53905         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53906         into all bytes of SSE register.
53907         Patch by Richard Li <richardpku@gmail.com>.
53908
53909 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53910
53911         [BZ #12140]
53912         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53913         perturbing.
53914
53915 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53916
53917         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53918         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53919         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53920         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53922         submachine.
53923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53924
53925 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53926
53927         * include/dlfcn.h (__RTLD_SECURE): Define.
53928         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53929         mode & __RTLD_SECURE instead.
53930         (open_path): Rename preloaded parameter to secure.
53931         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53932         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53933         * elf/dl-deps.c (openaux): Likewise.
53934         * elf/rtld.c (struct map_args): Remove is_preloaded.
53935         (map_doit): Don't use it.
53936         (dl_main): Likewise.
53937         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53938         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53939
53940 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53941
53942         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53943         (sysd-rules-targets): Remove duplicates.
53944         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53945         rtld-%.$o dependency.
53946
53947 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53948
53949         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53950         _dl_map_object do it.
53951
53952 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53953
53954         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53955         fast fma builtins, define the macros in the C99 standard.
53956         (FP_FAST_FMAF): Likewise.
53957         (FP_FAST_FMAL): Likewise.
53958         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53959
53960         * bits/mathdef.h: Update copyright year.
53961         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53962
53963 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53964
53965         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53966         builtins, define the macros in the C99 standard.
53967         (FP_FAST_FMAF): Likewise.
53968         (FP_FAST_FMAL): Likewise.
53969         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53970         multiply/add.
53971         (FP_FAST_FMAF): Likewise.
53972
53973 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53974
53975         [BZ #3268]
53976         * math/libm-test.inc (fma_test): Some new testcases.
53977         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53978         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53979         y and infinite z.  Do multiplication by C already in long double.
53980         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53982         y and infinite z.  Do bitwise or of inexact bit into u.d.
53983         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53984         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53985         * sysdeps/i386/fpu/s_fma.S: Removed.
53986         * sysdeps/i386/fpu/s_fmal.S: Removed.
53987
53988 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53989
53990         [BZ #3268]
53991         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53993         computation is not scheduled after fetestexcept.  Fix value
53994         of minimum denormal long double.
53995
53996 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53997
53998         [BZ #3268]
53999         * math/libm-test.inc (fma_test): Add some more tests.
54000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54001         correctly.
54002
54003 2010-10-15  Andreas Schwab  <schwab@redhat.com>
54004
54005         * scripts/data/localplt-s390-linux-gnu.data: New file.
54006         * scripts/data/localplt-s390x-linux-gnu.data: New file.
54007
54008 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
54009
54010         [BZ #3268]
54011         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54012         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54013         instead of dbl-64.
54014         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54015         inlines.
54016         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54018         if one of x and y is very large and the other is subnormal.
54019         * sysdeps/s390/fpu/s_fmaf.c: New file.
54020         * sysdeps/s390/fpu/s_fma.c: New file.
54021         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54022         * sysdeps/powerpc/fpu/s_fma.S: New file.
54023         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54024         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54025         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54026
54027 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54028
54029         [BZ #3268]
54030         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54031         fma tests.
54032         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54033         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54034         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54035         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54036         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54037         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54038         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54039
54040 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54041
54042         [BZ #12078]
54043         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54044         * posix/bug-regex31.input: Add test case.
54045
54046 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54047
54048         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54049         * posix/bug-regex31.input: New file.
54050
54051         [BZ #12078]
54052         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54053         (parse_sub_exp): Fix last change, use postorder.
54054
54055         * posix/bug-regex31.c: New file.
54056         * posix/Makefile: Add rules to build and run bug-regex31.
54057
54058         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54059
54060         [BZ #12078]
54061         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54062
54063         [BZ #12108]
54064         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54065         to have entries in sys_siglist.
54066
54067         [BZ #12093]
54068         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54069         be NULL.
54070
54071 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54072
54073         [BZ #3268]
54074         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54075         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54076         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54077         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54078         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54079         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54080         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54081         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54082         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54083         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54084         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54085         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54086         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54087         * math/ftestexcept.c (fetestexcept): Likewise.
54088         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54089         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54090         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54091         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54092         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54093         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54094         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54095
54096 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54097
54098         [BZ #12107]
54099         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54100         newline.
54101
54102 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54103
54104         * string/bug-strstr1.c: New file.
54105         * string/Makefile: Add rules to build and run bug-strstr1.
54106
54107 2010-10-05  Eric Blake  <eblake@redhat.com>
54108
54109         [BZ #12092]
54110         * string/str-two-way.h (two_way_long_needle): Always clear memory
54111         when skipping input due to the shift table.
54112
54113 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54114
54115         [BZ #12005]
54116         * malloc/mcheck.c: Handle large requests.
54117
54118         [BZ #12077]
54119         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54120         for strncmp and strncasecmp.
54121         * string/stratcliff.c: Add tests for strcmp and strncmp.
54122         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54123
54124 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54125
54126         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54127         __set_fpscr.
54128
54129 2010-09-30  Andreas Jaeger  <aj@suse.de>
54130
54131         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54132         (CGROUP_SUPER_MAGIC): Define.
54133         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54134         Handle btrfs and cgroup file systems.
54135         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54136         Likewise.
54137
54138 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54139
54140         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54141         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54142
54143 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54144
54145         [BZ #12067]
54146         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54147         trying to locate the ELF header.
54148
54149 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54150
54151         [BZ #11611]
54152         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54153         Mask out sign-bit copies when constructing f_fsid.
54154
54155 2010-09-24  Petr Baudis <pasky@suse.cz>
54156
54157         * debug/stack_chk_fail_local.c: Add missing licence exception.
54158         * debug/warning-nop.c: Likewise.
54159
54160 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54161
54162         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54163         implementing getdents64 using getdents syscall, set d_type if
54164         __ASSUME_GETDENTS32_D_TYPE.
54165
54166 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54167
54168         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54169         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54170
54171 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54172
54173         [BZ #12037]
54174         * posix/unistd.h: Undo change of feature selection for ftruncate from
54175         2010-01-11.
54176
54177 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54178
54179         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54180         detection.
54181
54182 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54183
54184         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54185         fanotify_mark.
54186         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54187
54188 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54189
54190         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54191         variables after CHECK_SP call.
54192         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54193
54194 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54195             Ulrich Drepper  <drepper@redhat.com>
54196
54197         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54198         re-relocationg ld.so.
54199         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54200         _dl_init_paths call.
54201         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54202         here anymore.
54203
54204 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54205
54206         * resolv/res_init.c (__res_vinit): Count the default server we added.
54207
54208 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54209             Ulrich Drepper  <drepper@redhat.com>
54210
54211         [BZ #11968]
54212         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54213         (____longjmp_chk): Use %ebx for saving value across system call.
54214         Add unwind info.
54215
54216 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54217
54218         * manual/Makefile: Don't mix pattern rules with normal rules.
54219
54220 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54221
54222         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54223         operation.
54224         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54225         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54226         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54227         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54228         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54229         Likewise.
54230
54231 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54232
54233         [BZ #11979]
54234         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54235         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54236
54237 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54238
54239         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54240         * sysdeps/x86_64/addmul_1.S: Likewise.
54241         * sysdeps/x86_64/lshift.S: Likewise.
54242         * sysdeps/x86_64/mul_1.S: Likewise.
54243         * sysdeps/x86_64/rshift.S: Likewise.
54244         * sysdeps/x86_64/sub_n.S: Likewise.
54245         * sysdeps/x86_64/submul_1.S: Likewise.
54246
54247 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54248
54249         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54250         Define __sched_param instead of SCHED_* and sched_param when
54251         <bits/sched.h> is included with __need_schedparam defined.
54252         * bits/sched.h [__need_schedparam]
54253         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54254         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54255         (__defined_schedparam): Define to 1.
54256         (__sched_param): New structure, identical to sched_param.
54257         (__need_schedparam): Undefine.
54258
54259 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54260
54261         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54262         (epoll_create1): Declare.
54263
54264         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54265
54266 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54267
54268         [BZ #7066]
54269         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54270         shifting retval into place.
54271
54272 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54273
54274         * nis/rpcsvc/nis.h: Update copyright notice.
54275         * nis/rpcsvc/nis.x: Likewise.
54276         * nis/rpcsvc/nis_callback.h: Likewise.
54277         * nis/rpcsvc/nis_callback.x: Likewise.
54278         * nis/rpcsvc/nis_object.x: Likewise.
54279         * nis/rpcsvc/nis_tags.h: Likewise.
54280         * nis/rpcsvc/yp.h: Likewise.
54281         * nis/rpcsvc/yp.x: Likewise.
54282         * nis/rpcsvc/ypupd.h: Likewise.
54283         * nis/yp_xdr.c: Likewise.
54284         * nis/ypupdate_xdr.c: Likewise.
54285
54286         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54287         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54288         (pmap_getport): Use __libc_rpc_getport.
54289         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54290         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54291         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54292
54293 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54294
54295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54296         fanotify_mark.
54297
54298 2010-08-27  Roland McGrath  <roland@redhat.com>
54299
54300         * sysdeps/i386/i686/multiarch/Makefile
54301         (CFLAGS-varshift.c): New variable.
54302
54303 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54304
54305         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54306         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54307
54308         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54309
54310         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54311
54312 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54313
54314         * sysdeps/x86_64/strlen.S: Unroll the loop.
54315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54316         strlen-sse2 strlen-sse2-bsf.
54317         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54318         __strlen_no_bsf if bit_Slow_BSF is set.
54319         (__strlen_sse42): Removed.
54320         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54321         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54322
54323 2010-08-25  Roland McGrath  <roland@redhat.com>
54324
54325         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54326         * sysdeps/x86_64/multiarch/varshift.c: New file.
54327         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54328         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54329         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54330         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54331
54332 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54333
54334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54335         strlen-sse2 strlen-sse2-bsf.
54336         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54337         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54338         (__strlen_sse2): Removed.
54339         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54342         bit_Slow_BSF for Atom.
54343         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54344         (index_Slow_BSF): Define.
54345         (HAS_SLOW_BSF): Define.
54346
54347 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54348
54349         [BZ #10851]
54350         * resolv/res_init.c (__res_vinit): When no server address at all
54351         is given default to loopback.
54352
54353 2010-08-24  Roland McGrath  <roland@redhat.com>
54354
54355         * configure.in: Remove config-name.h generation.
54356         * configure: Regenerated.
54357         * config-name.in: File removed.
54358         * scripts/config-uname.sh: New file.
54359         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54360         ($(objdir)config-name.h): New target.
54361
54362         * sunrpc/rpc_parse.h: Avoid nested comment.
54363
54364 2010-08-24  Richard Henderson  <rth@redhat.com>
54365             Ulrich Drepper  <drepper@redhat.com>
54366             H.J. Lu  <hongjiu.lu@intel.com>
54367
54368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54370         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54371         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54372         _mm_alignr_epi8 with _mm_loadu_si128.
54373         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54374         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54375         (__m128i_shift_right): Removed.
54376         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54377         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54378         * sysdeps/x86_64/multiarch/varshift.h: New file.
54379         * sysdeps/x86_64/multiarch/varshift.S: New file.
54380
54381 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54382
54383         * configure.in: Move assembler checks to before sysdep dir checking.
54384
54385 2010-08-20  Petr Baudis  <pasky@suse.cz>
54386
54387         * LICENSES: Sync the sunrpc license.
54388
54389 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54390
54391         * sunrpc/auth_des.c: Update copyright notice once again.
54392         * sunrpc/auth_none.c: Likewise.
54393         * sunrpc/auth_unix.c: Likewise.
54394         * sunrpc/authdes_prot.c: Likewise.
54395         * sunrpc/authuxprot.c: Likewise.
54396         * sunrpc/bindrsvprt.c: Likewise.
54397         * sunrpc/clnt_gen.c: Likewise.
54398         * sunrpc/clnt_perr.c: Likewise.
54399         * sunrpc/clnt_raw.c: Likewise.
54400         * sunrpc/clnt_simp.c: Likewise.
54401         * sunrpc/clnt_tcp.c: Likewise.
54402         * sunrpc/clnt_udp.c: Likewise.
54403         * sunrpc/clnt_unix.c: Likewise.
54404         * sunrpc/des_crypt.c: Likewise.
54405         * sunrpc/des_soft.c: Likewise.
54406         * sunrpc/get_myaddr.c: Likewise.
54407         * sunrpc/getrpcport.c: Likewise.
54408         * sunrpc/key_call.c: Likewise.
54409         * sunrpc/key_prot.c: Likewise.
54410         * sunrpc/openchild.c: Likewise.
54411         * sunrpc/pm_getmaps.c: Likewise.
54412         * sunrpc/pm_getport.c: Likewise.
54413         * sunrpc/pmap_clnt.c: Likewise.
54414         * sunrpc/pmap_prot.c: Likewise.
54415         * sunrpc/pmap_prot2.c: Likewise.
54416         * sunrpc/pmap_rmt.c: Likewise.
54417         * sunrpc/rpc/auth.h: Likewise.
54418         * sunrpc/rpc/auth_unix.h: Likewise.
54419         * sunrpc/rpc/clnt.h: Likewise.
54420         * sunrpc/rpc/des_crypt.h: Likewise.
54421         * sunrpc/rpc/key_prot.h: Likewise.
54422         * sunrpc/rpc/netdb.h: Likewise.
54423         * sunrpc/rpc/pmap_clnt.h: Likewise.
54424         * sunrpc/rpc/pmap_prot.h: Likewise.
54425         * sunrpc/rpc/pmap_rmt.h: Likewise.
54426         * sunrpc/rpc/rpc.h: Likewise.
54427         * sunrpc/rpc/rpc_des.h: Likewise.
54428         * sunrpc/rpc/rpc_msg.h: Likewise.
54429         * sunrpc/rpc/svc.h: Likewise.
54430         * sunrpc/rpc/svc_auth.h: Likewise.
54431         * sunrpc/rpc/types.h: Likewise.
54432         * sunrpc/rpc/xdr.h: Likewise.
54433         * sunrpc/rpc_clntout.c: Likewise.
54434         * sunrpc/rpc_cmsg.c: Likewise.
54435         * sunrpc/rpc_common.c: Likewise.
54436         * sunrpc/rpc_cout.c: Likewise.
54437         * sunrpc/rpc_dtable.c: Likewise.
54438         * sunrpc/rpc_hout.c: Likewise.
54439         * sunrpc/rpc_main.c: Likewise.
54440         * sunrpc/rpc_parse.c: Likewise.
54441         * sunrpc/rpc_parse.h: Likewise.
54442         * sunrpc/rpc_prot.c: Likewise.
54443         * sunrpc/rpc_sample.c: Likewise.
54444         * sunrpc/rpc_scan.c: Likewise.
54445         * sunrpc/rpc_scan.h: Likewise.
54446         * sunrpc/rpc_svcout.c: Likewise.
54447         * sunrpc/rpc_tblout.c: Likewise.
54448         * sunrpc/rpc_util.c: Likewise.
54449         * sunrpc/rpc_util.h: Likewise.
54450         * sunrpc/rpcinfo.c: Likewise.
54451         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54452         * sunrpc/rpcsvc/key_prot.x: Likewise.
54453         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54454         * sunrpc/rpcsvc/mount.x: Likewise.
54455         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54456         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54457         * sunrpc/rpcsvc/rex.x: Likewise.
54458         * sunrpc/rpcsvc/rstat.x: Likewise.
54459         * sunrpc/rpcsvc/rusers.x: Likewise.
54460         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54461         * sunrpc/rpcsvc/spray.x: Likewise.
54462         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54463         * sunrpc/rtime.c: Likewise.
54464         * sunrpc/svc.c: Likewise.
54465         * sunrpc/svc_auth.c: Likewise.
54466         * sunrpc/svc_authux.c: Likewise.
54467         * sunrpc/svc_raw.c: Likewise.
54468         * sunrpc/svc_run.c: Likewise.
54469         * sunrpc/svc_simple.c: Likewise.
54470         * sunrpc/svc_tcp.c: Likewise.
54471         * sunrpc/svc_udp.c: Likewise.
54472         * sunrpc/svc_unix.c: Likewise.
54473         * sunrpc/svcauth_des.c: Likewise.
54474         * sunrpc/xcrypt.c: Likewise.
54475         * sunrpc/xdr.c: Likewise.
54476         * sunrpc/xdr_array.c: Likewise.
54477         * sunrpc/xdr_float.c: Likewise.
54478         * sunrpc/xdr_mem.c: Likewise.
54479         * sunrpc/xdr_rec.c: Likewise.
54480         * sunrpc/xdr_ref.c: Likewise.
54481         * sunrpc/xdr_sizeof.c: Likewise.
54482         * sunrpc/xdr_stdio.c: Likewise.
54483
54484         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54485         handling.
54486
54487 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54488
54489         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54490
54491 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54492
54493         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54494         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54496         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54497         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54498         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54499         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54500         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54501         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54502         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54503         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54504         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54505         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54506         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54507
54508 2010-07-26  Anton Blanchard  <anton@samba.org>
54509
54510         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54511         * malloc/arena.c (heap_trim): Likewise.
54512
54513 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54514
54515         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54516         here.  Not...
54517         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54518         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54519
54520 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54521
54522         * sysdeps/i386/elf/Makefile: New file.
54523
54524 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54525
54526         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54527         from fanotify_init.
54528         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54530
54531 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54532
54533         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54534         of strncasecmp_l.
54535         * sysdeps/multiarch/strcmp.S: Likewise.
54536
54537 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54538
54539         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54540         strncase_l-nonascii.
54541         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54542         Add strncase_l-ssse3.
54543         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54544         * sysdeps/x86_64/strcmp.S: Likewise.
54545         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54546         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54547         * sysdeps/x86_64/strncase.S: New file.
54548         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54549         * sysdeps/x86_64/strncase_l.S: New file.
54550         * string/Makefile (strop-tests): Add strncasecmp.
54551         * string/test-strncasecmp.c: New file.
54552
54553         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54554         warning.
54555
54556         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54557         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54558
54559 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54560
54561         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54562
54563 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54564
54565         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54566         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54567         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54568
54569 2010-05-01  Alan Modra  <amodra@gmail.com>
54570
54571         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54572         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54573         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54574         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54575         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54576         tidying.  Don't tail-call __sigjmp_save for static lib.
54577         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54578         save location.
54579         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54580         (CALL_MCOUNT): Add eh info, and nop after bl.
54581         (TAIL_CALL_SYSCALL_ERROR): New macro.
54582         (PSEUDO_RET): Use it.
54583         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54584         Correct save location of integer regs and cr.
54585         (_dl_profile_resolve): Correct cr save location.  Delete nops
54586         after bl when SHARED.  Reduce cfi size a little by better
54587         placement of cfi directives.
54588         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54589         make a stack frame.  Instead use parm save area as a temp.
54590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54591         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54593         Don't make a stack frame for parent, use parm save area.
54594         Increase child stack frame to 112 bytes.  Don't save unused reg,
54595         and adjust reg usage.  Set up cfi on error recovery and
54596         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54598         (__makecontext): Add dummy nop after jump to exit.
54599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54600         Use correct parm save area and cr save, reduce stack frame.
54601         Correct cfi for possible PSEUDO_RET frame setup.
54602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54603         Branch to local label emitted by PSEUDO_RET rather than
54604         __syscall_error.
54605
54606 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54607
54608         [BZ #11904]
54609         * locale/programs/locale.c (print_assignment): New function.
54610         (show_locale_vars): Use it.
54611
54612 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54613
54614         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54615         field.
54616         (struct statfs64): Likewise.
54617         (_STATFS_F_FLAGS): Define.
54618         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54619         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54620         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54621         (ST_VALID): Define locally.
54622         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54623         __statvfs_getflags, use the provided value.
54624         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54625         __ASSUME_STATFS_F_FLAGS.
54626
54627         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54628
54629         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54630         Add sys/fanotify.h.
54631         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54632         fanotify_mask for GLIBC_2.13.
54633         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54634         fanotify_init and fanotify_mark.
54635         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54636         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54637
54638         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54639         Add prlimit.
54640         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54641         prlimit64 for GLIBC_2.13.
54642         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54643         prlimit64.
54644         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54645         syscall.
54646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54647         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54648         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54649         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54650         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54651         add prlimit alias.
54652         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54653
54654         [BZ #11903]
54655         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54656         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54657
54658         * nss/Makefile: Add rules to build and run tst-nss-test1.
54659         * shlib-versions: Add entry for libnss_test1.
54660         * nss/nss_test1.c: New file.
54661         * nss/tst-nss-test1.c: New file.
54662
54663         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54664         (__nss_configure_lookup): Set appropriate entry in
54665         __nss_configure_lookup to true.
54666         * nss/nsswitch.h: Define enum with indeces of databases in
54667         databases and __nss_database_custom arrays.  Declare
54668         __nss_database_custom.
54669         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54670         to avoid using nscd when custom rules are installed.
54671         * nss/getXXbyYY_r.c: Likewise.
54672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54673
54674         * nss/nss_files/files-parse.c: Whitespace fixes.
54675
54676 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54677
54678         [BZ #11883]
54679         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54680         * posix/fnmatch_loop.c: Likewise.
54681
54682 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54683
54684         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54685         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54686         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54687         * Versions.def [GLIBC_2.13]: Add.
54688
54689 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54690
54691         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54692         Also fail if tpwd after pwuid call is NULL.
54693
54694 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54695
54696         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54697         when converting to ms.
54698
54699 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54700
54701         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54702         EOPNOTSUPP errors with ENOTTY.
54703         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54704         EOPNOTSUPP errors with ENOTTY.
54705
54706 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54707
54708         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54709         Add strcasecmp_l-ssse3.
54710         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54711         strcasecmp.
54712         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54713         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54714         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54715
54716 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54717
54718         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54719
54720         * string/Makefile (strop-tests): Add strcasecmp.
54721         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54722         strcasecmp_l-nonascii.
54723         (gen-as-const-headers): Add locale-defines.sym.
54724         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54725         * sysdeps/x86_64/strcasecmp.S: New file.
54726         * sysdeps/x86_64/strcasecmp_l.S: New file.
54727         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54728         * sysdeps/x86_64/locale-defines.sym: New file.
54729         * string/test-strcasecmp.c: New file.
54730
54731         * string/test-strcasestr.c: Test both ends of the range of characters.
54732         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54733
54734 2010-07-29  Roland McGrath  <roland@redhat.com>
54735
54736         [BZ #11856]
54737         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54738
54739 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54740
54741         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54742         for ld.so.
54743
54744 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54745
54746         * manual/memory.texi (Malloc Tunable Parameters): Document
54747         M_PERTURB.
54748
54749 2010-07-26  Roland McGrath  <roland@redhat.com>
54750
54751         [BZ #11840]
54752         * configure.in (-fgnu89-inline check): Set and substitute
54753         gnu89_inline, not libc_cv_gnu89_inline.
54754         * configure: Regenerated.
54755         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54756
54757 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54758
54759         * string/test-strnlen.c: New file.
54760         * string/Makefile (strop-tests): Add strnlen.
54761         * string/tester.c (test_strnlen): Add a few more test cases.
54762         * string/tst-strlen.c: Better error reporting.
54763
54764         * sysdeps/x86_64/strnlen.S: New file.
54765
54766 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54767
54768         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54769         lower-latency instructions.
54770
54771 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54772
54773         * string/test-strcasestr.c: New file.
54774         * string/test-strstr.c: New file.
54775         * string/Makefile (strop-tests): Add strstr and strcasestr.
54776         * string/str-two-way.h: Don't undefine MAX.
54777         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54778
54779 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54780
54781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54782         strcasestr-nonascii.
54783         (CFLAGS-strcasestr-nonascii.c): Define.
54784         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54785         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54786         Remove unused attribute.
54787
54788 2010-07-20  Roland McGrath  <roland@redhat.com>
54789
54790         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54791         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54792         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54793         like LD_HWCAP_MASK can disable hwcaps.
54794
54795 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54796
54797         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54798
54799 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54800
54801         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54802         call in strcasestr.
54803         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54804         __strcasestr_sse42_nonascii.
54805         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54806         strcasestr-nonascii.c.
54807         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54808
54809 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54810
54811         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54812         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54813         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54814         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54815
54816 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54817
54818         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54819         fcntl.
54820
54821 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54822
54823         [BZ #11577]
54824         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54825         dl_signal_cerror.
54826
54827 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54828
54829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54830         _PC_PIPE_BUF using F_GETPIPE_SZ.
54831
54832 2010-07-05  Roland McGrath  <roland@redhat.com>
54833
54834         * manual/arith.texi (Rounding Functions): Fix rint description
54835         implicit in round description.
54836
54837 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54838
54839         * elf/Makefile: Fix linking for a few tests to make recent linker
54840         happy.
54841
54842 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54843
54844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54845         $(common-objpfx)libc_nonshared.a.
54846
54847 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54848
54849         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54850         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54851         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54852         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54853         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54854         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54855         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54856         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54871         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54872         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54873         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54874         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54875         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54876         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54877         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54878         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54879         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54880         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54881         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54882         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54897
54898 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54899
54900         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54901         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54902         * string/memmove.c (memmove): Renamed to ...
54903         (MEMMOVE): ...this.  Default to memmove.
54904         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54905         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54906         (END_CHK): Define.
54907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54908         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54909         mempcpy-ssse3-back memmove-ssse3-back.
54910         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54912         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54913         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54914         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54915         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54916         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54917         * sysdeps/x86_64/multiarch/memmove.c: New file.
54918         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54919         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54920         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54921         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54922         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54923         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54924         Define.
54925         (index_Fast_Copy_Backward): Define.
54926         (HAS_ARCH_FEATURE): Define.
54927         (HAS_FAST_REP_STRING): Define.
54928         (HAS_FAST_COPY_BACKWARD): Define.
54929
54930 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54931
54932         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54933         Restore proper fallback handling.
54934
54935 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54936
54937         [BZ #11701]
54938         * posix/group_member.c (__group_member): Correct checking loop.
54939
54940         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54941         OOM in getpwuid_r correctly.  Return error number when the caller
54942         should return, otherwise -1.
54943         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54944         call returning > 0 value.
54945         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54946
54947 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54948
54949         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54950         libc_nonshared.a from targets in modules-names.
54951
54952 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54953
54954         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54955         requires it.
54956
54957 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54958
54959         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54960         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54961         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54962         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54963
54964 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54965
54966         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54967
54968 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54969
54970         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54971         and F_GETPIPE_SZ.
54972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54976         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54977         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54978
54979 2010-06-14  Roland McGrath  <roland@redhat.com>
54980
54981         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54982
54983 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54984
54985         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54986         __REDIRECT followed by __THROW.
54987         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54988         * posix/getopt.h (getopt): Likewise.
54989
54990 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54991
54992         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54993         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54994         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54995         in AT_FLAGS.
54996         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54997         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54998
54999 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
55000
55001         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55002
55003 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
55004
55005         [BZ #11640]
55006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55007         Properly check family and model.
55008
55009 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
55010
55011         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55012
55013 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55014
55015         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55016
55017 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55018
55019         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55020         symbol reference.
55021
55022 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55023
55024         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55025         symbol reference.
55026
55027 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55028
55029         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55030         and internal_recvmmsg.
55031         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55032         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55033         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55034         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55035
55036         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55037         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55038         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55039
55040 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55041
55042         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55043
55044 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55045
55046         POWER7 optimizations.
55047         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55048         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55049
55050 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55051
55052         * version.h: Update for 2.13 development version.
55053
55054 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55055
55056         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55057         exceptions.  Return 0.
55058
55059 2010-05-07  Roland McGrath  <roland@redhat.com>
55060
55061         * elf/ldconfig.c (main): Add a const.
55062
55063 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55064
55065         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55066         (args_options): Add no-idn option.
55067         (ahosts_keys_int): Add idn_flags to ai_flags.
55068         (parse_option): Handle 'i' option to clear idn_flags.
55069
55070         * malloc/malloc.c (_int_free): Possible race in the most recently
55071         added check.  Only act on the data if no current modification
55072         happened.
55073
55074 See ChangeLog.17 for earlier changes.