Fix isblank / isascii / toascii namespace (bug 17635).
[glibc.git] / ChangeLog
blob493e34b2cff92008bf70380440fa11da2d5d007d
1 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17635]
4         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5         ...
6         * ctype/ctype-extn.c: ... here.
7         (__isblank_l): Move to ...
8         * ctype/ctype-c99_l.c: ... here.  New file.
9         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11         Remove variable.
12         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
15         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18         [BZ #17777]
19         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20         (posix_fadvise64): Define as weak alias not strong alias.
21         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22         (posix_fallocate64): Likewise.
23         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24         Remove variable.
25         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
33         [BZ #16191]
34         * NEWS: Mention bug fix.
35         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
36         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
37         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38         (HOST_STACK_END_ADDR): Likewise.
40 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
42         [BZ #17748]
43         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
44         * math/fegetround.c (fegetround): Rename to __fegetround and
45         define as weak alias of __fegetround.  Use libm_hidden_weak.
46         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
47         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
48         * sysdeps/arm/fegetround.c (fegetround): Likewise.
49         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
50         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
51         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
52         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
53         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
54         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55         Undefine after rather than before function definition; use
56         parentheses around function name in definition.
57         (__fegetround): Also undefine macro after function definition.
58         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
59         __fegetround and define as weak alias of __fegetround.  Use
60         libm_hidden_weak.  Do not undefine as macro.
61         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
62         Likewise.
63         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
64         __fegetround and define as weak alias of __fegetround.  Use
65         libm_hidden_weak.
66         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
68         * sysdeps/tile/math_private.h (__fegetround): New inline function.
69         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
70         __fegetround and define as weak alias of __fegetround.  Use
71         libm_hidden_weak.
72         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
73         __fegetround instead of fegetround.
75         [BZ #17782]
76         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
77         Condition macro definition on [__USE_MISC].
79         [BZ #17781]
80         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
81         (struct sigaction): Change type of sa_flags field to int.
83         [BZ #17780]
84         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
85         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
86         __glibc_reserved0.
88         * nptl/version.c (banner): Use single year in copyright notice.
90         * NEWS: Update copyright dates.
91         * catgets/gencat.c (print_version): Likewise.
92         * csu/version.c (banner): Likewise.
93         * debug/catchsegv.sh: Likewise.
94         * debug/pcprofiledump.c (print_version): Likewise.
95         * debug/xtrace.sh (do_version): Likewise.
96         * elf/ldconfig.c (print_version): Likewise.
97         * elf/ldd.bash.in: Likewise.
98         * elf/pldd.c (print_version): Likewise.
99         * elf/sotruss.sh: Likewise.
100         * elf/sprof.c (print_version): Likewise.
101         * iconv/iconv_prog.c (print_version): Likewise.
102         * iconv/iconvconfig.c (print_version): Likewise.
103         * locale/programs/locale.c (print_version): Likewise.
104         * locale/programs/localedef.c (print_version): Likewise.
105         * login/programs/pt_chown.c (print_version): Likewise.
106         * malloc/memusage.sh (do_version): Likewise.
107         * malloc/memusagestat.c (print_version): Likewise.
108         * malloc/mtrace.pl: Likewise.
109         * manual/libc.texinfo: Likewise.
110         * nptl/version.c (banner): Likewise.
111         * nscd/nscd.c (print_version): Likewise.
112         * nss/getent.c (print_version): Likewise.
113         * nss/makedb.c (print_version): Likewise.
114         * posix/getconf.c (main): Likewise.
115         * scripts/test-installation.pl: Likewise.
116         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
118 2015-01-02  Will Newton  <will.newton@linaro.org>
120         * sysdeps/arm/armv7/configure: Removed.
121         * sysdeps/arm/armv7/configure.ac: Likewise.
123 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
125         * All files with FSF copyright notices: Update copyright dates
126         using scripts/update-copyrights.
127         * intl/plural.c: Regenerated.
128         * locale/programs/charmap-kw.h: Likewise.
129         * locale/programs/locfile-kw.h: Likewise.
131 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
133         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
135 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
137         [BZ #17748]
138         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
139         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
140         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
141         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
142         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
143         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
144         define as weak alias of __fegetenv.  Use libm_hidden_weak.
145         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
146         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
147         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
148         define as weak alias of __fegetenv.  Use libm_hidden_weak.
149         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
150         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
151         define as weak alias of __fegetenv.  Use libm_hidden_weak.
152         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
153         libm_hidden_def.
154         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
155         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
156         Likewise.
157         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
158         define as weak alias of __fegetenv.  Use libm_hidden_weak.
159         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
160         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
161         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
162         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
163         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
164         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
165         __fegetenv instead of fegetenv.
166         (libc_feholdsetround_noex_ctx): Likewise.
168 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
170         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
171         (Elf_MIPS_ABIFlags_v0): New structure.
172         (EF_MIPS_FP64): Define.
173         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
174         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
175         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
176         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
177         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
178         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
179         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
180         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
181         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
182         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
183         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
184         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
185         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
186         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
187         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
188         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
189         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
190         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
191         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
192         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
193         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
194         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
195         field.
196         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
197         EF_MIPS_FP64.
198         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
199         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
200         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
201         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
202         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
203         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
204         * sysdeps/mips/tst-abi-interlink.c: Likewise.
205         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
206         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
207         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
208         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
209         record the current FP ABI extension.
210         (mips-mode-switch): Define to show if kernel headers support mode
211         switching.
212         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
213         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
214         supported SYSV ABI version to 3.
215         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
216         feature.
218 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
219             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
221         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
222         path.
223         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
225 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
227         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
228         __fegetround and redefine to call __fegetround.  Remove condition
229         on [!__NO_MATH_INLINES].
230         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
231         function.
232         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
233         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
234         Remove macro.
235         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
236         instead of <fenv_libc.h>.
237         (__llrintl): Call fegetround instead of __fegetround.
238         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
239         instead of <fenv_libc.h>.
240         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
241         (__lrintl): Call fegetround instead of __fegetround.
242         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
243         instead of <fenv_libc.h>.
244         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
245         (__rintl): Call fegetround instead of __fegetround.
247 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
249         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
250         arrays.
252 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
254         [BZ #17775]
255         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
256         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
257         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
259 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
261         * sysdeps/i386/tls-macros.h: Include <features.h>.
262         (TLS_LE): Use non-PIC version for GCC >= 5.0.
263         (TLS_IE): Likewise.
264         (TLS_LD): Likewise.
265         (TLS_GD): Likewise.
266         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
267         define for GCC >= 5.0.
269 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
271         * math/test-fenv.c (test_single_exception, set_single_exc,
272         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
273         feexcp_mask_test, feenable_test, fe_single_test): Add
274         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
275         case where they are not used.
276         * math/libm-test.inc: Likewise.
277         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
278         unused in the absence of FP rounding/exception support.
279         * stdio-common/tst-printf-round.c: Likewise.
280         * stdlib/tst-strtod-round.c: Likewise.
281         * stdlib/tst-strtod-underflow.c: Likewise.
283 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
285         [BZ #17723]
286         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
287         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
288         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
289         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
290         libm_hidden_weak.
291         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
292         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
293         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
294         libm_hidden_def.
295         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
296         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
297         libm_hidden_weak.
298         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
299         Likewise.
300         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
301         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
302         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
303         libm_hidden_weak.
304         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
305         libm_hidden_def.
306         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
307         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
308         (__feraiseexcept): Likewise.
309         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
310         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
311         libm_hidden_weak.
312         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
313         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
314         libm_hidden_def.
315         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
316         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
317         Use libm_hidden_def.
318         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
319         libm_hidden_def.
320         (feraiseexcept): Define as weak not strong alias.  Use
321         libm_hidden_weak.
322         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
323         New inline function.  Factored out of ...
324         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
325         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
326         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
327         feraiseexcept.
328         * math/w_acos.c (__acos): Likewise.
329         * math/w_asin.c (__asin): Likewise.
330         * math/w_ilogb.c (__ilogb): Likewise.
331         * math/w_j0.c (y0): Likewise.
332         * math/w_j1.c (y1): Likewise.
333         * math/w_jn.c (yn): Likewise.
334         * math/w_log.c (__log): Likewise.
335         * math/w_log10.c (__log10): Likewise.
336         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
337         * sysdeps/aarch64/fpu/math_private.h
338         (libc_feupdateenv_test_aarch64): Likewise.
339         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
340         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
341         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
342         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
343         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
344         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
345         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
346         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
347         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
348         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
350 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
352         [BZ #17732]
353         * io/test-utime.c (main): Replace %ld with %jd and cast to
354         intmax_t.
355         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
356         * nptl/tst-mutex5.c: Include <stdint.h>.
357         (do_test): Replace %ld with %jd and cast to intmax_t.
358         * posix/tst-regex.c (run_test): Likewise.
359         (run_test_backwards): Likewise.
360         * rt/tst-clock.c: Include <stdint.h>.
361         (clock_test): Replace %ld with %jd and cast to intmax_t.
362         * rt/tst-cpuclock1.c: Include <stdint.h>.
363         (do_test): Replace %lu with %ju and cast to uintmax_t.
364         * rt/tst-cpuclock2.c: Include <stdint.h>.
365         (do_test): Replace %lu with %ju and cast to uintmax_t.
366         * rt/tst-mqueue1.c: Include <stdint.h>.
367         (check_attrs): Replace %ld with %jd and cast to intmax_t.
368         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
369         intmax_t.
370         * rt/tst-mqueue4.c (do_test): Likewise.
371         * rt/tst-timer4.c: Include <stdint.h>.
372         (check_ts): Replace %ld with %jd and cast to intmax_t.
373         (do_test): Likewise.
374         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
375         and cast to intmax_t.
376         * sysdeps/pthread/tst-timer.c (main): Likewise.
377         * time/clocktest.c (main): Likewise.
378         * time/tst-posixtz.c (do_test): Likewise.
379         * timezone/tst-timezone.c (main): Likewise.
381 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
382             H.J. Lu  <hongjiu.lu@intel.com>
384         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
385         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
386         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
387         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
388         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
389         version if bit_Fast_Unaligned_Load is set.
390         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
391         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
392         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
393         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
394         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
395         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
396         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
397         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
398         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
399         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
400         to 4.
401         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
402         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
403         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
404         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
406 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
408         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
409         instead of #if to avoid a Wundef warning.
410         * stdlib/tst-limits.c (do_test): Likewise.
412         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
413         parallel other exception macros.
414         (fegetenv): Convert from macro to extern inline so that it applies
415         retroactively to inline functions already seen by the compiler.
416         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
418         * posix/Makefile (before-compile): Use $(objpfx) for
419         posix-conf-vars-def.h.
421 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
423         * posix/getconf.c (main): Use size_t for type of I.
424         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
425         NSPEC.
427         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
428         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
429         * posix/posix-envs.def: Likewise.
430         * sysdeps/posix/sysconf.c: Likewise.
431         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
432         (specs): Remove array.
433         * scripts/gen-posix-conf-vars.awk: Support generation of specs
434         array.
436         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
437         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
438         (__sysconf): Use CONF_IS_* macros.
440         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
441         ($(objpfx)posix-conf-vars-def.h): New target.
442         * posix/posix-conf-vars.list: New file.
443         * posix/posix-conf-vars.h: New file.
444         * posix/confstr.c: Include posix-conf-vars.h.
445         (confstr): Use CONF_IS_* macros.
446         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
447         CONF_IS_* macros.
448         * scripts/gen-posix-conf-vars.awk: New file.
450 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
452         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
453         fegetround): Add no-op macros to avoid linknamespace issues.
455         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
456         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
458         * sysdeps/unix/sysv/linux/tile/sysdep.h
459         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
460         assembly-specific section to avoid a redefinition warning.
462         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
463         long before casting to pointer to avoid a cast warning.
465 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
467         * sysdeps/tile/tilegx/Implies: New file.
469 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
471         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
473 2014-12-23  Florian Weimer  <fweimer@redhat.com>
475         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
477 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
479         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
480         not define.
481         * sysdeps/unix/sysv/linux/utimes.c: Do not include
482         <kernel-features.h>.
483         (__utimes) [__NR_utimes]: Make code unconditional.
484         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
485         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
486         (__ASSUME_UTIMES): Do not undefine.
487         * sysdeps/unix/sysv/linux/tile/kernel-features.h
488         (__ASSUME_UTIMES): Likewise.
489         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
490         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
491         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
492         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
494 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
496         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
498 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
500         [BZ #17747]
501         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
502         alias to weak alias for j0l, y0l.
503         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
504         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
506         [BZ #17746]
507         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
508         conversion.
510 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
512         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
513         to zero if not already defined.
515 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
517         [BZ #17724]
518         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
519         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
520         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
521         (char *) casts added.
522         * sysdeps/ieee754/k_standardf.c: New file.
523         * sysdeps/ieee754/k_standardl.c: Likewise.
524         * math/Makefile (libm-support): Remove k_standard.
525         (libm-calls): Add k_standard.
527 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
529         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
530         Optimize to avoid an unnecessary FPCR read.
532 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
534         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
535         Optimize to reduce FPCR/FPSR accesses.
537 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
539         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
540         Call libc_fetestexcept_aarch64.
542 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
544         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
545         Call libc_fesetround_aarch64.
547 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
549         [BZ #17733]
550         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
551         (__bind): Do not define as weak alias.
552         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
553         define.
554         (__getsockname): Do not define as weak alias.
556 2014-12-22  Will Newton  <will.newton@linaro.org>
558         * manual/install.texi: Document that we require bison 2.7
559         or above.
560         * INSTALL: Regenerate.
561         * configure.ac: Use AC_CHECK_PROG_VER instead of
562         AC_PATH_PROG when checking for bison and check for
563         version 2.7 or above.
564         * configure: Regenerate.
566 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
568         [BZ #17745]
569         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
570         * sysdeps/tile/ffsll.c (ffsll): To here.
572         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
574 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
576         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
577         if not defined.
578         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
579         definition.
580         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
581         hidden ___tls_get_addr.
582         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
583         hidden __tls_get_addr.
584         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
585         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
586         Likewise.
588 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
590         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
591         _dl_init call.
593 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
595         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
596         from "call _dl_init@PLT".
597         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
599 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
601         * manual/search.texi: (Array Sort Function): Clarify stable sorting
602         guarantees.
604 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
606         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
608 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
610         [BZ #17744]
611         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
612         strnlen.
614 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
616         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
617         of multu on MIPSr6.
618         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
619         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
620         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
621         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
622         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
624 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
626         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
627         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
628         (PTR_SUBU): Use subu for mips32r6/mips64r6.
629         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
630         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
631         mips32r6/mips64r6.
632         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
634 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
636         * string/strncat.c (STRNCAT): Simplify implementation.
638 2014-12-19  David S. Miller  <davem@davemloft.net>
640         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
641         access the quad as both a long double and as a series of 4 words.
643         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
644         link_map->l_info array access.
646 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
648         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
650         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
651         * math/atest-exp2.c (TIMEOUT): Likewise.
652         * math/atest-sincos.c (TIMEOUT): Likewise.
654 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
656         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
657         -Wno-error with -fno-builtin-lround.
659 2014-12-19  Torvald Riegel  <triegel@redhat.com>
661         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
662         Contains futex constants and functions moved over from ...
663         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
664         <lowlevellock-futex.h>.
665         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
666         (lll_timedwait_tid): Add comments and parentheses around macro
667         arguments.
669 2014-12-19  Torvald Riegel  <triegel@redhat.com>
671         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
672         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
673         (__lll_private_flag): Remove.
674         (lll_futex_wait): Likewise.
675         (lll_futex_timed_wait): Likewise.
676         (lll_futex_wake): Likewise.
677         (lll_futex_requeue): Likewise.
678         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
679         (__lll_timedwait_tid): Spell out argument names.
680         (lll_timedwait_tid): Add comments and parentheses around macro
681         arguments.
682         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
683         LLL_SHARED and LLL_PRIVATE usable from assembly code.
685 2014-12-19  Torvald Riegel  <triegel@redhat.com>
687         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
688         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
689         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
690         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
691         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
692         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
693         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
694         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
695         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
696         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
697         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
698         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
699         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
700         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
701         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
702         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
703         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
704         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
705         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
707 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
709         * sysdeps/x86_64/x32/Makefile: New file.
711 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
713         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
714         1L with (mp_limb_t) 1.
716 2014-12-17  Roland McGrath  <roland@hack.frob.com>
718         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
719         * nptl/libc_pthread_init.c: ... here.
720         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
721         * nptl/register-atfork.c: ... here.
723         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
724         Use pthread_sigmask rather than INTERNAL_SYSCALL.
725         Use assert_perror to check its return value.
726         (__gai_create_helper_thread): Likewise.
728         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
730         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
732 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
734         [BZ #17725]
735         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
736         __profil_counter.
737         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
738         Likewise.
739         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
740         Likewise.
741         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
742         Likewise.
743         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
744         (profil_counter): Likewise.
745         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
746         (profil_counter): Likewise.
747         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
748         Likewise.
749         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
750         Likewise.
751         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
752         (profil_counter): Likewise.
753         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
754         Likewise.
755         [!__profil_counter] (profil_counter): Define as weak alias of
756         __profil_counter.
757         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
758         (profil_counter): Rename to __profil_counter.
759         [!__profil_counter] (profil_counter): Define as weak alias of
760         __profil_counter.
761         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
762         (profil_counter): Rename to __profil_counter.
763         [!__profil_counter] (profil_counter): Define as weak alias of
764         __profil_counter.
765         * sysdeps/posix/profil.c: Update comment referring to
766         profil_counter.
767         (__profil): Use __profil_counter instead of profil_counter.
768         * sysdeps/posix/sprofil.c (profil_counter): Rename to
769         __profil_counter.  Use __profil_counter_ushort and
770         __profil_counter_uint in definitions.
771         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
772         instead of profil_counter_uint and profil_counter_ushort.
774         [BZ #17722]
775         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
776         define as weak alias of __inet_makeaddr.
777         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
778         as weak alias of __inet_addr.
779         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
780         as weak alias of __inet_pton.  Use libc_hidden_weak.
781         * include/arpa/inet.h (__inet_pton): Declare.  Use
782         libc_hidden_proto.
783         (inet_makeaddr): Don't use libc_hidden_proto.
784         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
785         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
786         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
787         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
788         Remove variable.
789         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
790         (test-xfail-POSIX/time.h/linknamespace): Likewise.
792 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
794         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
796 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
798         * stdio-common/bug-vfprintf-nargs.c (do_test):
799         Cast value to intptr_t to avoid format warning
800         for usage with PRIdPTR printing macro.
802 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
804         * libio/tst-widetext.c (do_test):
805         Use format type %td instead of %Zd for ptrdiff_t
806         in order to avoid format warning.
808 2014-12-17  Andreas Schwab  <schwab@suse.de>
810         * nscd/mem.c (gc): Add size_t cast to match printf format.
812 2014-12-16  Roland McGrath  <roland@hack.frob.com>
814         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
815         (init): Apply PTR_MANGLE to pointers before storing them.
816         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
817         before using them.
819 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
821         [BZ #17719]
822         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
823         define as weak alias of __memrchr.
824         (__memrchr): Do not define as strong alias of memrchr.
825         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
826         Remove variable.
827         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
828         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
829         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
831         [BZ #17717]
832         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
833         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
834         (if_indextoname): Rename to __if_indextoname and define as weak
835         alias of __if_indextoname.  Use libc_hidden_weak.
836         (if_freenameindex): Rename to __if_freenameindex and define as
837         weak alias of __if_freenameindex.
838         (if_nameindex): Rename to __if_nameindex and define as weak alias
839         of __if_nameindex.
840         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
841         __if_nametoindex and define as weak alias of __if_nametoindex.
842         Use libc_hidden_weak.
843         (if_freenameindex): Rename to __if_freenameindex and define as
844         weak alias of __if_freenameindex.
845         (if_nameindex): Rename to __if_nameindex and define as weak alias
846         of __if_nameindex.
847         (if_indextoname): Rename to __if_indextoname and define as weak
848         alias of __if_indextoname.  Use libc_hidden_weak.
849         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
850         __if_nametoindex and define as weak alias of __if_nametoindex.
851         Use libc_hidden_weak.
852         (if_freenameindex): Rename to __if_freenameindex and define as
853         weak alias of __if_freenameindex.  Use libc_hidden_weak.
854         (if_nameindex_netlink): Use __if_freenameindex instead of
855         if_freenameindex.
856         (if_nameindex): Rename to __if_nameindex and define as weak alias
857         of __if_nameindex.  Use libc_hidden_weak.
858         (if_indextoname): Rename to __if_indextoname and define as weak
859         alias of __if_indextoname.  Use libc_hidden_weak.
860         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
861         libc_hidden_proto.
862         [!_ISOMAC] (__if_freenameindex): Likewise.
863         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
864         if_nametoindex.
865         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
866         variable.
867         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
868         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
869         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
870         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
871         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
872         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
873         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
875         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
876         Remove variable.
877         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
878         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
880 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
882         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
883         subscript above bounds'
885         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
886         bounds.
888 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
890         * libio/tst-fopenloc.c: Use test-skeleton.c.
892         * stdlib/tst-bsearch.c: Use test-skeleton.c.
893         (entry): Rename to ITEM.
894         (do_test, comp): Adjust.
896         * stdio-common/tst-fseek.c: Use test-skeleton.c.
898 2014-12-16  Torvald Riegel  <triegel@redhat.com>
900         * string/tester.c: Include <libc-internal.h>.
901         (test_memset): Ignore -Wmemset-transposed-args.
903 2014-12-16  Torvald Riegel  <triegel@redhat.com>
905         * misc/tst-mntent2.c (do_test): Fix warning.
907 2014-12-16  Torvald Riegel  <triegel@redhat.com>
909         * elf/tst-unique4lib.cc(a): Mark as used.
911 2014-12-16  Florian Weimer  <fweimer@redhat.com>
913         [BZ #17630]
914         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
915         names.
917 2014-12-16  Allan McRae  <allan@archlinux.org>
919         * stdio-common/Makefile (tests): Re-add bug26.
921 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
923         [BZ #17657]
924         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
925         static array.
927 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
929         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
930         (__lll_lock_wait): Likewise.
931         (__lll_timedlock_wait): Likewise.
932         (__lll_timedwait_tid): Likewise.
933         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
934         (__lll_robust_timedlock_wait): Likewise.
935         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
936         (lll_cond_trylock): Likewise.
937         (__lll_lock): Likewise.
938         (__lll_robust_lock): Likewise.
939         (__lll_cond_lock): Likewise.
940         (lll_robust_cond_lock): Likewise.
941         (__lll_timedlock): Likewise.
942         (__lll_robust_timedlock): Likewise.
943         (__lll_unlock): Likewise.
944         (__lll_robust_unlock): Likewise.
945         (lll_wait_tid): Likewise.
946         (lll_timedwait_tid): Likewise.
948 2014-12-15  Torvald Riegel  <triegel@redhat.com>
950         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
952 2014-12-15  Torvald Riegel  <triegel@redhat.com>
954         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
956 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
958         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
959         * stdio-common/tst-sprintf.c: Likewise.
961 2014-12-15  Torvald Riegel  <triegel@redhat.com>
963         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
965 2014-12-15  Jeff Law  <law@redhat.com>
967         [BZ #16617]
968         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
969         on the heap.  (CVE-2012-3406)
970         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
971         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
972         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
974 2014-12-15  Will Newton  <will.newton@linaro.org>
976         * manual/install.texi: Bump required version of texinfo
977         to 4.7 from 4.5.
978         * INSTALL: Regenerated.
979         * configure.ac: Check for makeinfo version 4.7 and above.
980         * configure: Regenerated.
982 2014-12-12  Roland McGrath  <roland@hack.frob.com>
984         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
985         PREFIX, string constant to insert between directory and name.
986         * sysdeps/posix/shm_open.c: Update caller.
987         * sysdeps/posix/shm_unlink.c: Likewise.
988         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
989         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
990         (SEM_SHM_PREFIX): New macro.
991         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
992         [$(have-thread-library) = no].
993         * nptl/Makefile (libpthread-routines): Add shm-directory.
994         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
995         * sysdeps/nptl/shm-directory.h: New file.
996         * sysdeps/posix/shm-directory.c
997         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
998         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
999         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1000         INTERNAL_SYSCALL.
1001         (__where_is_shmfs): Function removed.
1002         (mountpoint, defaultmount, defaultdir, __namedsem_once):
1003         Variables removed.
1004         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1005         Use SHM_GET_NAME.
1006         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
1008         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1009         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1010         unconditional for use inside libpthread.
1011         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1013 2014-12-12  Roland McGrath  <roland@hack.frob.com>
1015         * nptl/pthread_getaffinity.c: New file.
1016         * nptl/pthread_setaffinity.c: New file.
1017         * nptl/pthread_getname.c: New file.
1018         * nptl/pthread_setname.c: New file.
1020         * nptl/pthread_create.c (START_THREAD_DEFN)
1021         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1023 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1024             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1026         * resolv/res_send.c (send_vc): Disable warning resplen may
1027         be used uninitialized.
1029 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
1031         * nptl/tst-mutex6.c
1032         (ATTR_NULL): New define checks ATTR against NULL.
1033         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1034         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1036 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
1038         [BZ #17581]
1039         * malloc/hooks.c
1040         (mem2mem_check): Revert my previous change.
1041         (malloc_check_get_size): Revert my previous change.
1042         (mem2chunk_check): Revert my previous change.
1044 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1046         * sysdeps/posix/shm-directory.c: New file.
1047         * sysdeps/posix/shm-directory.h: New file.
1048         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1049         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1050         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
1051         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1052         Transmute EPERM to EACCES.
1053         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1054         from ...
1055         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
1056         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1058 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1060         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1061         pointer and cast to uintptr_t.
1062         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1063         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1064         Add cast to avoid warning.
1065         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1067 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1069         * nptl/semaphore.h: Move to ...
1070         * sysdeps/pthread/semaphore.h: ... here.
1071         * Makefile (installed-headers): Change nptl/semaphore.h to
1072         sysdeps/pthread/semaphore.h.
1074 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1076         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1077         generated error format strings.
1079         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1080         -Wformat-extra-args warnings for scanf formats.
1081         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1082         test of zero-length format (duh).
1083         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1084         corner-case scanf format test.
1085         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1086         generated fprintf format string.
1087         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1088         corner-case sprintf format tests.
1089         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1090         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1091         -Wformat-extra-args warnings throughout.
1092         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1093         (CFLAGS-scanf4.c): Likewise.
1094         (CFLAGS-scanf7.c): Likewise.
1095         (CFLAGS-tst-sprintf.c): Likewise.
1096         (CFLAGS-tst-printf.c): Likewise.
1097         (CFLAGS-tst-printfsz.c): Likewise.
1099 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
1101         * include/cpio.h: New file.
1102         * include/fmtmsg.h: Likewise.
1104         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
1105         corresponding format argument to size_t.
1106         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
1107         arguments.
1108         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
1109         corresponding format argument to size_t.
1110         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
1111         arguments.
1112         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
1113         corresponding format argument to size_t.
1114         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1115         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1116         (CFLAGS-tst-mbswcs2.c): Likewise.
1117         (CFLAGS-tst-mbswcs3.c): Likewise.
1118         (CFLAGS-tst-mbswcs4.c): Likewise.
1119         (CFLAGS-tst-mbswcs5.c): Likewise.
1120         (CFLAGS-tst-trans.c): Likewise
1122 2014-12-11  Roland McGrath  <roland@hack.frob.com>
1124         * posix/regexbug1.c (main): Use "%s" format with regerror results,
1125         rather than assuming they won't contain any '%'s.
1127 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
1129         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1130         inhibit_loop_to_libcall to avoid recursive calls.
1131         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1132         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1134 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
1136         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1137         prototype.
1139 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1141         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1142         integer value instead of boolean.
1144 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
1146         * malloc/malloc.c: Fix powerof2 check.
1148 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1150         * locale/programs/locfile.h (maybe_swap_uint32):
1151         Remove inline and add unused attribute.
1153 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1155         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1156         Truncating assembler expression to a .long expression.
1158 2014-12-11  Andreas Schwab  <schwab@suse.de>
1160         * elf/rtld.c (struct map_args): Constify str member.
1161         (do_preload): Constify fname argument.
1163 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1165         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1166         constants definition.
1168 2014-12-11  Andreas Schwab  <schwab@suse.de>
1170         [BZ #16657]
1171         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1172         FORCE_ELISION instead of DO_ELISION.
1173         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1174         Remove.
1175         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1176         Likewise.
1178         * iconvdata/gconv-modules: Remove duplicate entry.
1180 2014-12-11  Will Newton  <will.newton@linaro.org>
1182         Merge gettext 0.19.3 into intl/.
1184         This involves a number of cosmetic changes to comments
1185         and ANSI function definitions and prototypes throughout
1186         all the files. The gettext copyright header is used but
1187         with the date ranges taken from the glibc copy.
1189         * NEWS: Add gettext merge to 2.21.
1190         * intl/bindtextdom.c: Switch to gettext copyright.
1191         Use ANSI definitions and prototypes.
1192         Use gl_* locking primitives rather than __libc_* ones.
1193         Use __builtin_expect rather than __glibc_likely/unlikely.
1194         * intl/dcgettext.c: Switch to gettext copyright.
1195         Use ANSI definitions and prototypes.
1196         * intl/dcigettext.c: Switch to gettext copyright.
1197         Use ANSI definitions and prototypes.
1198         (INTDIV0_RAISES_SIGFPE): New define.
1199         Use gl_* locking primitives rather than __libc_* ones.
1200         Include eval-plural.h instead of plural-eval.c.
1201         Use __builtin_expect rather than __glibc_likely/unlikely.
1202         * intl/dcngettext.c: Switch to gettext copyright.
1203         Use ANSI definitions and prototypes.
1204         * intl/dgettext.c: Likewise.
1205         * intl/dngettext.c: Likewise.
1206         * intl/plural-eval.c: Renamed to...
1207         * intl/eval-plural.h: ...this.
1208         * intl/explodename.c: Switch to gettext copyright.
1209         Use ANSI definitions and prototypes.
1210         (_nl_explode_name): Use strchr instead of __rawmemchr.
1211         * intl/finddomain.c: Switch to gettext copyright.
1212         Use ANSI definitions and prototypes.
1213         Use gl_* locking primitives rather than __libc_* ones.
1214         (_nl_find_domain): Use malloc rather than alloca for
1215         allocation of temporary locale name.
1216         * intl/gettext.c: Switch to gettext copyright.
1217         Use ANSI definitions and prototypes.
1218         * intl/gettextP.h: Switch to gettext copyright.
1219         Use ANSI definitions and prototypes.
1220         Use gl_* locking primitives rather than __libc_* ones.
1221         * intl/gmo.h: Switch to gettext copyright.
1222         (struct sysdep_string): Move struct segment_pair outside of
1223         struct definition.
1224         * intl/hash-string.c: Use ANSI definitions and prototypes.
1225         * intl/hash-string.h: Switch to gettext copyright.
1226         Use ANSI definitions and prototypes.
1227         * intl/l10nflist.c: Switch to gettext copyright.
1228         Use ANSI definitions and prototypes.
1229         (_nl_normalize_codeset): Avoid integer overflow.
1230         * intl/loadinfo.h: Switch to gettext copyright.
1231         Use ANSI definitions and prototypes.
1232         (LIBINTL_DLL_EXPORTED): New define.
1233         (PATH_SEPARATOR): New define.
1234         * intl/loadmsgcat.c: Switch to gettext copyright.
1235         * intl/localealias.c: Switch to gettext copyright.
1236         Use ANSI definitions and prototypes.
1237         (_nl_expand_alias): Use PATH_SEPARATOR.
1238         * intl/ngettext.c: Switch to gettext copyright.
1239         Use ANSI definitions and prototypes.
1240         * intl/plural-exp.c: Likewise.
1241         * intl/plural-exp.h: Switch to gettext copyright.
1242         Use ANSI definitions and prototypes.
1243         (struct expression): Move definition of enum operator outside
1244         of struct definition.
1245         * intl/plural.c: Regenerate.
1246         * intl/plural.y: Switch to gettext copyright.
1247         Use ANSI definitions and prototypes.
1248         Port to bison 3.0.
1249         * intl/textdomain.c: Switch to gettext copyright.
1250         Use ANSI definitions and prototypes.
1251         Use gl_* locking primitives rather than __libc_* ones.
1253 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
1255         * debug/warning-nop.c: Add used atrribute.
1257 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1259         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1261         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1262         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1263         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1265 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1266             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1268         [BZ #17634]
1269         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1270         Undefine after defining function.  Define as weak alias of
1271         __wcschr.  Use libc_hidden_weak.
1272         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
1273         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1274         (libc_hidden_def): Also define __GI___wcschr alias.
1275         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1276         __wcschr and define as weak alias of __wcschr.
1277         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1278         __wcschr.
1279         [!WCSCHR] (DEFAULT_WCSCHR): Define.
1280         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1281         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1282         libc_hidden_weak.  Do not use libc_hidden_def.
1283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1284         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1285         __GI___wcschr alias.
1286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1287         [IS_IN (libc)] (wcschr): Define as macro expanding to
1288         __redirect_wcschr.
1289         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1290         [IS_IN (libc)] (__wcschr_power6): Likewise.
1291         [IS_IN (libc)] (__wcschr_power7): Likewise.
1292         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1293         instead of wcschr.
1294         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1295         __libc_wcschr.
1296         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1297         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1298         __wcschr and define as weak alias of __wcschr.  Use
1299         libc_hidden_builtin_def.
1300         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1301         as weak alias of __wcschr.  Use libc_hidden_weak.
1302         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1303         wcschr.
1304         * time/era.c (_nl_init_era_entries): Likewise.
1305         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1306         variable.
1307         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1308         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1310 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1312         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1313         format for long int variable.
1315 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1317         [BZ #10672]
1318         * manual/search.texi: (Array Sort Function): Remove claim how to make
1319         qsort stable.
1321 2014-12-10  Andreas Schwab  <schwab@suse.de>
1323         [BZ #12847]
1324         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1325         user-controlled locks.
1327 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1329         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1330         register.
1332 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1334         * configure.ac (--disable-werror): New configure option.
1335         (enable_werror): New AC_SUBST.
1336         * configure: Regenerated.
1337         * config.make.in (enable-werror): New variable.
1338         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1339         -Wno-error=undef.
1340         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1341         * manual/install.texi (Configuring and compiling): Document
1342         --disable-werror.
1343         * INSTALL: Regenerated.
1344         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1345         (CFLAGS-tst-chk2.c): Likewise.
1346         (CFLAGS-tst-chk3.c): Likewise.
1347         (CFLAGS-tst-chk4.cc): Likewise.
1348         (CFLAGS-tst-chk5.cc): Likewise.
1349         (CFLAGS-tst-chk6.cc): Likewise.
1350         (CFLAGS-tst-lfschk1.c): Likewise.
1351         (CFLAGS-tst-lfschk2.c): Likewise.
1352         (CFLAGS-tst-lfschk3.c): Likewise.
1353         (CFLAGS-tst-lfschk4.cc): Likewise.
1354         (CFLAGS-tst-lfschk5.cc): Likewise.
1355         (CFLAGS-tst-lfschk6.cc): Likewise.
1357         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1358         (main): Disable -Wdeprecated-declarations around calls to
1359         register_printf_function.
1361         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1362         (do_test): Disable -Wdiv-by-zero around some calls to
1363         fwrite_unlocked and fread_unlocked.
1365         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1366         (DIAG_POP_NEEDS_COMMENT): Likewise.
1367         (_DIAG_STR1): Likewise.
1368         (_DIAG_STR): Likewise.
1369         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1370         * stdio-common/bug21.c: Include <libc-internal.h>.
1371         (do_test): Disable -Wformat around call to sscanf.
1372         * stdio-common/scanf14.c: Include <libc-internal.h>.
1373         (main): Disable -Wformat around some calls to scanf functions.
1375 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1377         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1379 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1381         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1382         stack variable alignment.
1384 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1386         [BZ #17682]
1387         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1388         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1389         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1390         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1391         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1392         __getrlimit instead of getrlimit.
1393         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1394         __gettimeofday instead of gettimeofday.
1395         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1396         Likewise.
1397         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1398         Likewise.
1399         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1400         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1401         Remove variable.
1402         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1403         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1405 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1407         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1408         for wide-character tests.
1410 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1412         * io/openat64.c: #include <libc-internal.h>
1413         (__openat64): Prototypify.  Use ignore_value on MODE.
1414         * io/openat.c: Likewise.
1415         * misc/reboot.c: #include <libc-internal.h>
1416         (reboot): Prototypify.  Use ignore_value on HOWTO.
1417         * misc/ptrace.c: #include <libc-internal.h>
1418         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1420 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1422         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1423         XPG4, UNIX98 and XOPEN2K.
1424         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1425         Remove variable.
1426         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1428 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1430         * libio/fileops.c: Use ISO C style for function definitions.
1431         * libio/iofopen.c: Likewise.
1432         * libio/wfileops.c: Likewise.
1434         [BZ #17653]
1435         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1436         offset on EOF.
1437         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1438         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1439         (fgets_func): Function pointer to fgets and fgetws.
1440         (do_ftell_test): Add test to verify ftell value after read
1441         EOF.
1442         (do_test): Set fgets_func.
1444         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1445         O_TRUNC flag for w and w+ modes.
1446         (do_rewind_test): Likewise.
1447         (do_ftell_test): Likewise.
1448         (do_write_test): Likewise.
1450         [BZ #17647]
1451         * libio/fileops.c (do_ftell): Seek only when there are
1452         unflushed writes.
1453         * libio/wfileops.c (do_ftell_wide): Likewise.
1454         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1455         test case.
1456         (do_one_test): Call it.
1458 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1460         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1461         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1462         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1463         Remove variable.
1464         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1465         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1466         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1468 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1470         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1471         Remove variable.
1472         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1474         [BZ #17668]
1475         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1476         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1477         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1478         __freeifaddrs.  Use libc_hidden_weak.
1479         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1480         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1481         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1482         __freeifaddrs.  Use libc_hidden_weak.
1483         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1484         __getifaddrs and define as weak alias of __getifaddrs.  Use
1485         libc_hidden_weak.
1486         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1487         __freeifaddrs.  Use libc_hidden_weak.
1488         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1489         Remove variable.
1490         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1491         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1493 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1495         [BZ #17601]
1496         * sysdeps/mips/start.S (__start): Use indirect jump to call
1497         __libc_start_main.
1499 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1501         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1503         * nptl/tst-mutex1.c: Include <stdbool.h>.
1504         [!ATTR] (ATTR_NULL): New macro.
1505         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1506         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1507         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1509         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1510         to char *.
1512         [BZ #17665]
1513         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1514         Change conditional to [__USE_MISC].
1516         [BZ #17664]
1517         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1518         fgets_unlocked.
1519         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1520         __fgets_unlocked.
1521         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1522         fgets_unlocked.
1523         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1524         Remove variable.
1525         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1526         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1527         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1528         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1529         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1530         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1531         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1532         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1533         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1535         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1537 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1539         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1540         Remove strpbrk objects.
1541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1542         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1543         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1544         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1545         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1546         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1548         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1549         Remove strcspn objects.
1550         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1551         (__libc_ifunc_impl_list): Remove strcspn implementation.
1552         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1553         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1554         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1555         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1557         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1558         Remove strspn objetcs.
1559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1560         (__libc_ifunc_impl_list): Remove strspn implementation.
1561         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1562         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1563         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1564         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1566 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1568         [BZ #17581]
1569         * malloc/hooks.c
1570         (mem2mem_check): Add a terminator to the chain of checking blocks.
1571         (malloc_check_get_size): Use it here.
1572         (mem2chunk_check): Ditto.
1574 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1576         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1577         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1579 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1581         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1583         * nptl/nptl-init.c: Include libc-internal.h.
1584         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1586         * elf/ldconfig.c (search_dir): Expand comment.
1588 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1590         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1591         variable.
1592         (linknamespace-symlist-stdlibs-tests): Likewise.
1593         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1594         instead of $(objpfx)symlist-stdlibs.
1595         (linknamespace-libs-isoc): New variable.
1596         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1597         (linknamespace-libs-ISO): New variable.
1598         (linknamespace-libs-ISO99): Likewise.
1599         (linknamespace-libs-ISO11): Likewise.
1600         (linknamespace-libs-XPG3): Likewise.
1601         (linknamespace-libs-XPG4): Likewise.
1602         (linknamespace-libs-POSIX): Likewise.
1603         (linknamespace-libs-UNIX98): Likewise.
1604         (linknamespace-libs-XOPEN2K): Likewise.
1605         (linknamespace-libs-POSIX2008): Likewise.
1606         (linknamespace-libs-XOPEN2K8): Likewise.
1607         ($(objpfx)symlist-stdlibs): Replace by
1608         $(linknamespace-symlist-stdlibs-tests).  Use
1609         $(linknamespace-libs-$*) as set of libraries.
1610         ($(linknamespace-header-tests)): Update dependencies.  Use
1611         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1612         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1613         * conform/linknamespace.pl: Remove comment about considering
1614         definitions of symbols from irrelevant libraries.
1616 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1618         [BZ #13862]
1619         * elf/dl-tls.c: Include <atomic.h>.
1620         (oom): Remove #ifdef SHARED/#endif.
1621         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1622         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1623         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1624         big enough.
1625         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1626         * nptl/Makefile (tests): Add tst-stack4.
1627         (modules-names): Add tst-stack4mod.
1628         ($(objpfx)tst-stack4): New.
1629         (tst-stack4mod.sos): Likewise.
1630         ($(objpfx)tst-stack4.out): Likewise.
1631         ($(tst-stack4mod.sos)): Likewise.
1632         (clean): Likewise.
1633         * nptl/tst-stack4.c: New file.
1634         * nptl/tst-stack4mod.c: Likewise.
1636 2014-11-27  J. Brown  <jb999@gmx.de>
1638         * sysdeps/x86/bits/string.h: Add recent CPUs.
1640 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1642         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1643         sigblock.
1645         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1646         feof.
1648         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1649         variable.
1651 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1653         * nscd/connections.c: Include libc-internal.h because of macro
1654         usage ignore_value.
1656 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1658         * string/bits/string3.h (__warn_memset_zero_len): Don't
1659         declare for gcc newer than 5.0.
1660         (memset): Don't test for zero-length __LEN for gcc newer than
1661         5.0.
1663 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1665         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1666         size_t for %zu format.
1668         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1669         difference, not %ju.
1671 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1673         * include/libc-internal.h (ignore_value): New macro.
1674         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1675         with ignore_value.
1677         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1678         definition.
1680         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1681         pthread_cleanup_push to void *.
1683         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1684         Undefine.
1686         [BZ #16619]
1687         [BZ #16740]
1688         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1689         instead of 1L << 52.
1691         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1692         * libio/bug-rewind2.c (do_test): Likewise.
1694         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1695         * debug/test-strcpy_chk-ifunc.c: Likewise.
1696         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1697         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1698         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1699         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1700         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1701         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1702         * Rules [$(multi-arch) = no] (tests): Do not filter out
1703         $(tests-ifunc).
1704         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1705         * debug/Makefile (tests-ifunc): Remove variable.
1706         (tests): Do not add $(tests-ifunc).
1707         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1708         (tests): Do not add $(tests-ifunc).
1709         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1710         [TEST_IFUNC]: Remove conditionals.
1711         * string/test-string.h (TEST_IFUNC): Remove macro.
1712         [TEST_IFUNC]: Remove conditionals.
1714         * string/test-strchr.c [!WIDE] (L): New macro.
1715         [WIDE] (L): Likewise.
1716         (check1): Use CHAR instead of char.  Use L on string and character
1717         constants.
1719 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1721         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1722         tests.
1723         * sysdeps/powerpc/bits/atomic.h
1724         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1725         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1726         (atomic_exchange_and_add_acq): Likewise.
1727         (atomic_exchange_and_add_rel): Likewise.
1728         * sysdeps/powerpc/powerpc32/bits/atomic.h
1729         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1730         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1731         * sysdeps/powerpc/powerpc64/bits/atomic.h
1732         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1733         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1735 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1737         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1738         Change synchronization of __sched_fifo_min_prio and
1739         __sched_fifo_max_prio.
1740         * nptl/pthread_mutexattr_getprioceiling.c
1741         (pthread_mutexattr_getprioceiling): Likewise.
1742         * nptl/pthread_mutexattr_setprioceiling.c
1743         (pthread_mutexattr_setprioceiling): Likewise.
1744         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1745         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1746         Likewise.
1748 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1750         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1751         void.
1753 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1755         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1756         third argument const.
1758 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1760         fnmatch: work around GCC compiler warning bug with uninit var
1761         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1762         This works around a bug with x86-64 GCC 4.9.2 and earlier
1763         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1764         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1765         used uninitialized in this function [-Wmaybe-uninitialized]".
1767 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1769         * posix/bug-regex31.c (main): Return RES not 0.
1771 2014-11-25  Anton Blanchard <anton@samba.org>
1773         * sysdeps/powerpc/bits/atomic.h
1774         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1776 2014-11-24  Sterling Augustine  <saugustine@google.com>
1778         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1780 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1782         [BZ #17608]
1783         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1785 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1787         [BZ #17633]
1788         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1789         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1790         variable.
1791         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1792         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1794 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1796         * string/strncpy.c (strncpy): Improve performance by using memset.
1798 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1800         * string/strcpy.c (strcpy):
1801         Improve performance by using strlen and memcpy.
1803 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1805         * string/strcoll_l.c (get_next_seq): __always_inline.
1806         * string/strcoll_l.c (do_compare): __always_inline.
1808 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1810         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1811         defined.
1812         * include/mqueue.h: Likewise.
1813         * include/stdlib.h: Likewise.
1815         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1816         (get_null_defines): Adjust.
1817         * sunrpc/Makefile: Adjust comment.
1818         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1819         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1820         (CFLAGS-interp.c): Likewise.
1821         (CFLAGS-ldconfig.c): Likewise.
1822         (CPPFLAGS-.os): Likewise.
1823         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1824         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1825         * extra-modules.mk (extra-modules.mk): Likewise.
1826         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1827         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1828         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1829         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1830         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1831         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1832         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1833         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1834         * iconvdata/Makefile (CPPFLAGS): Likewise.
1835         (cpp-srcs-left): Add libof for all iconvdata routines.
1836         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1837         * include/assert.h: Likewise.
1838         * include/ctype.h: Likewise.
1839         * include/errno.h: Likewise.
1840         * include/libc-symbols.h: Likewise.
1841         * include/math.h: Likewise.
1842         * include/netdb.h: Likewise.
1843         * include/resolv.h: Likewise.
1844         * include/stdio.h: Likewise.
1845         * include/stdlib.h: Likewise.
1846         * include/string.h: Likewise.
1847         * include/sys/stat.h: Likewise.
1848         * include/wctype.h: Likewise.
1849         * intl/l10nflist.c: Likewise.
1850         * libidn/idn-stub.c: Likewise.
1851         * libio/libioP.h: Likewise.
1852         * nptl/libc_multiple_threads.c: Likewise.
1853         * nptl/pthreadP.h: Likewise.
1854         * posix/regex_internal.h: Likewise.
1855         * resolv/res_hconf.c: Likewise.
1856         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1857         * sysdeps/arm/memmove.S: Likewise.
1858         * sysdeps/arm/sysdep.h: Likewise.
1859         * sysdeps/generic/_itoa.h: Likewise.
1860         * sysdeps/generic/symbol-hacks.h: Likewise.
1861         * sysdeps/gnu/errlist.awk: Likewise.
1862         * sysdeps/gnu/errlist.c: Likewise.
1863         * sysdeps/i386/i586/memcpy.S: Likewise.
1864         * sysdeps/i386/i586/memset.S: Likewise.
1865         * sysdeps/i386/i686/memcpy.S: Likewise.
1866         * sysdeps/i386/i686/memmove.S: Likewise.
1867         * sysdeps/i386/i686/mempcpy.S: Likewise.
1868         * sysdeps/i386/i686/memset.S: Likewise.
1869         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1870         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1871         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1872         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1873         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1874         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1875         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1876         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1877         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1878         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1879         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1880         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1881         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1882         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1883         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1884         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1885         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1886         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1887         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1888         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1889         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1890         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1891         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1892         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1893         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1894         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1895         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1896         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1897         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1898         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1899         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1900         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1901         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1902         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1903         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1904         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1905         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1906         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1907         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1908         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1909         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1910         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1911         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1912         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1913         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1914         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1915         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1916         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1917         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1918         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1919         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1920         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1921         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1922         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1923         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1924         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1925         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1926         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1927         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1928         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1929         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1930         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1931         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1932         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1933         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1934         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1935         * sysdeps/posix/closedir.c: Likewise.
1936         * sysdeps/posix/opendir.c: Likewise.
1937         * sysdeps/posix/readdir.c: Likewise.
1938         * sysdeps/posix/rewinddir.c: Likewise.
1939         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1940         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1941         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1942         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1943         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1944         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1945         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1946         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1947         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1948         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1949         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1950         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1951         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1952         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1953         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1954         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1955         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1956         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1957         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1958         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1959         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1960         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1961         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1962         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1963         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1964         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1965         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1966         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1967         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1968         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1969         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1970         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1971         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1974         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1975         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1976         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1977         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1978         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1979         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1980         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1981         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1982         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1983         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1984         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1985         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1986         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1987         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1988         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1989         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1990         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1991         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1992         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1993         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1994         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1995         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1996         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1997         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1998         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1999         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2000         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2001         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2002         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2003         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2004         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2005         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2006         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2007         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2008         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2009         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2010         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2011         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2012         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2013         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2014         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2015         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2016         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2017         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2018         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2019         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2020         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2021         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2022         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2023         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2024         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2025         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2026         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2027         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2028         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2029         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2030         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2031         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2032         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2033         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2034         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2035         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2036         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2037         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2038         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2039         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2040         * sysdeps/unix/alpha/sysdep.S: Likewise.
2041         * sysdeps/unix/alpha/sysdep.h: Likewise.
2042         * sysdeps/unix/make-syscalls.sh: Likewise.
2043         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2044         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2045         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2046         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2047         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2048         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2049         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2050         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2051         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2052         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2053         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2054         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2055         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2056         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2057         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2058         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2059         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2060         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2061         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2062         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2063         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2064         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2065         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2066         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2067         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2068         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2069         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2072         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2073         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2074         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2075         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2076         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2077         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2079         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2080         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2081         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2082         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2083         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2084         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2085         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2086         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2087         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2088         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2090         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2091         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2093         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2094         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2095         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2096         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2098         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2099         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2100         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2101         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2102         * sysdeps/x86_64/memcpy.S: Likewise.
2103         * sysdeps/x86_64/memmove.c: Likewise.
2104         * sysdeps/x86_64/memset.S: Likewise.
2105         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2106         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2107         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2108         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2109         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2110         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2111         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2112         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2113         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2114         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2115         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2116         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2117         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2118         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2119         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2120         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2121         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2122         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2123         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2124         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2125         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2126         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2127         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2128         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2129         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2130         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2131         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2132         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2133         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2134         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2135         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2136         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2137         * sysdeps/x86_64/strcmp.S: Likewise.
2139         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2141         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2142         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2143         * elf/rtld-Rules: Likewise.
2144         * elf/setup-vdso.h: Likewise.
2145         * include/assert.h: Likewise.
2146         * include/bits/stdlib-float.h: Likewise.
2147         * include/errno.h: Likewise.
2148         * include/sys/stat.h: Likewise.
2149         * include/unistd.h: Likewise.
2150         * sysdeps/aarch64/setjmp.S: Likewise.
2151         * sysdeps/alpha/setjmp.S: Likewise.
2152         * sysdeps/arm/__longjmp.S: Likewise.
2153         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2154         * sysdeps/arm/setjmp.S: Likewise.
2155         * sysdeps/arm/sysdep.h: Likewise.
2156         * sysdeps/generic/_itoa.h: Likewise.
2157         * sysdeps/generic/dl-sysdep.h: Likewise.
2158         * sysdeps/generic/ldsodefs.h: Likewise.
2159         * sysdeps/i386/dl-tls.h: Likewise.
2160         * sysdeps/i386/setjmp.S: Likewise.
2161         * sysdeps/m68k/setjmp.c: Likewise.
2162         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2163         * sysdeps/mach/hurd/opendir.c: Likewise.
2164         * sysdeps/posix/getcwd.c: Likewise.
2165         * sysdeps/posix/opendir.c: Likewise.
2166         * sysdeps/posix/profil.c: Likewise.
2167         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2168         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2169         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2170         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2171         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2172         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2173         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2174         * sysdeps/s390/dl-tls.h: Likewise.
2175         * sysdeps/s390/s390-32/setjmp.S: Likewise.
2176         * sysdeps/s390/s390-64/setjmp.S: Likewise.
2177         * sysdeps/sh/sh3/setjmp.S: Likewise.
2178         * sysdeps/sh/sh4/setjmp.S: Likewise.
2179         * sysdeps/unix/alpha/sysdep.h: Likewise.
2180         * sysdeps/unix/arm/sysdep.S: Likewise.
2181         * sysdeps/unix/i386/sysdep.S: Likewise.
2182         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2183         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2184         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2185         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2186         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2187         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2188         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2189         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2190         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2191         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2192         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2193         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2194         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2197         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2198         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2200         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2201         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2202         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2203         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2204         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2205         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2206         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2207         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2208         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2209         * sysdeps/unix/x86_64/sysdep.S: Likewise.
2210         * sysdeps/x86_64/setjmp.S: Likewise.
2212         * include/math.h: Use IS_IN instead of IS_IN_libm.
2213         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2214         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2215         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2216         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2217         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2218         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2219         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2220         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2221         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2222         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2223         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2224         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2225         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2226         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2227         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2228         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2229         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2230         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2231         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2232         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2233         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2234         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2235         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2236         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2237         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2238         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2239         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2240         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2241         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2242         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2243         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2244         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2245         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2247         Likewise.
2248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2249         Likewise.
2250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2251         Likewise.
2252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2253         Likewise.
2254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2255         Likewise.
2256         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2257         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2258         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2259         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2260         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2261         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2267         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2268         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2269         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2270         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2271         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2272         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2273         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2274         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2275         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2276         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2277         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2278         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2279         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2280         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2282         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2284         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2285         * nptl/pthreadP.h: Likewise.
2286         * nptl_db/structs.def: Likewise.
2287         * sysdeps/arm/sysdep.h: Likewise.
2288         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2289         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2290         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2291         * sysdeps/unix/alpha/sysdep.h: Likewise.
2292         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2293         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2294         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2295         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2296         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2297         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2298         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2299         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2300         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2301         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2302         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2303         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2304         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2305         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2310         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2311         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2313         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2314         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2315         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2316         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2317         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2319         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2320         * nptl/pthreadP.h: Likewise.
2321         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2322         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2323         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2324         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2325         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2326         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2327         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2328         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2329         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2330         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2331         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2332         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2334         Likewise.
2335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2336         Likewise.
2337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2339         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2341         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2342         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2343         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2344         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2346         * dlfcn/dladdr.c: Use IS_IN.
2347         * dlfcn/dladdr1.c: Likewise.
2348         * dlfcn/dlclose.c: Likewise.
2349         * dlfcn/dlerror.c: Likewise.
2350         * dlfcn/dlinfo.c: Likewise.
2351         * dlfcn/dlmopen.c: Likewise.
2352         * dlfcn/dlopen.c: Likewise.
2353         * dlfcn/dlsym.c: Likewise.
2354         * dlfcn/dlvsym.c: Likewise.
2356         * include/ifaddrs.h: Use IS_IN.
2357         * inet/check_pf.c: Likewise.
2358         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2359         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2361         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2362         IS_IN_ldconfig.
2363         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2364         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2366         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2367         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2368         IS_IN (libc).
2370         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2372         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2373         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2374         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2375         * include/libc-symbols.h (IS_IN_LIB): New macro.
2376         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2377         * include/netdb.h: Likewise.
2378         * include/stap-probe.h: Remove all uses of IN_LIB.
2380         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2381         instead of IN_MODULE.
2382         * include/libc-symbols.h (IN_MODULE): Define using
2383         MODULE_NAME.
2384         (PASTE_NAME, PASTE_NAME1): New macros.
2385         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2386         of IN_LIB.
2387         (STAP_PROBE_ASM): Likewise.
2389 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2391         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2392         __mach_init in dlopened libc.
2394 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2396         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2397         * sysdeps/arm/preconfigure: Regenerate.
2399 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2401         * nptl/pthread_create.c (__pthread_create_2_1): Set
2402         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2403         when copying values from IATTR into PD.
2405 2014-11-21  Will Newton  <will.newton@linaro.org>
2406             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2408         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2409         Refactor inline-asm.  Also add comment.
2411         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2412         ElfW macro instead of hardcoded Elf64 types.
2413         (la_aarch64_gnu_pltenter): Likewise.
2414         * sysdeps/aarch64/dl-machine.h
2415         (elf_machine_runtime_setup): Use ElfW(Addr).
2417         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2418         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2419         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2420         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2421         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2422         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2423         (R_AARCH64_TLS_DTPMOD): This.
2424         (R_AARCH64_TLS_DTPREL64): Rename to ...
2425         (R_AARCH64_TLS_DTPREL): This.
2426         (R_AARCH64_TLS_TPREL64): Rename to ...
2427         (R_AARCH64_TLS_TPREL): This.
2428         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2429         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2430         R_AARCH64_TLS_TPREL64.
2431         (elf_machine_rela): Likewise.
2433 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2435         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2436         by setting it to 0.  64b atomics are not supported currently.
2438 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2440         [BZ #16469]
2441         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2442         search domain names.
2444 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2446         [BZ #16469]
2447         * NEWS: Update.
2448         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2449         trailing dot.
2450         * posix/tst-getaddrinfo5.c: New.
2451         * posix/Makefile (tests): Add it.
2453 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2455         [BZ #14498]
2456         * NEWS: Fixed.
2457         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2458         after parsing line but before break_if_match.
2459         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2460         if there is a protocol mismatch.
2462 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2464         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2465         because the potential race is on the user-supplied stream.
2467 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2469         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2470         string literal if not passed a buffer.
2471         * manual/job.texi (ctermid): Update reasoning, note deviation
2472         from posix, suggest mtasurace when not passed a buffer, for
2473         future non-preliminary safety notes.
2475 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2477         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2478         of not passing it a buffer.
2479         Reported by Peng Haitao.
2481 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2483         * manual/Makefile ($(objpfx)stamp-summary): Require
2484         check-safety.sh to pass.
2485         * manual/check-safety.sh: Wish for verification that every
2486         @deftypefn and @deftypefun is followed by a @safety remark.
2488 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2490         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2492         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2493         PTHREAD_CANCEL_ASYNCHRONOUS.
2494         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2495         send SIGCANCEL.
2497         * nptl/default-sched.h: New file.
2498         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2499         * nptl/pthread_create.c: Include it.
2500         (__pthread_create_2_1): Use collect_default_sched instead of making
2501         Linux syscalls here directly.
2503 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2505         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2506         __pthread_once): Use C11 atomics.
2508 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2510         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2512 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2514         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2515         atomic_thread_fence_acquire, atomic_thread_fence_release,
2516         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2517         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2518         atomic_compare_exchange_weak_relaxed,
2519         atomic_compare_exchange_weak_acquire,
2520         atomic_compare_exchange_weak_release,
2521         atomic_exchange_acquire, atomic_exchange_release,
2522         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2523         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2524         atomic_fetch_and_acquire,
2525         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2527 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2529         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2530         USE_ATOMIC_COMPILER_BUILTINS): Define.
2531         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2533         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2535         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2537         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2539         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2541         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2543         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2545         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2547         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2548         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2549         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2551         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2553         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2554         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2555         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2556         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2557         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2559         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2560         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2561         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2562         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2563         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2564         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2565         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2566         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2567         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2568         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2569         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2570         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2572 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2574         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2575         the sched_priority value here.  It was already checked when the user
2576         called pthread_attr_setschedparam.
2578         * nptl/tst-bad-schedattr.c: New file.
2579         * nptl/Makefile (tests): Add it.
2581 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2582             Florian Weimer  <fweimer@redhat.com>
2583             Joseph Myers  <joseph@codesourcery.com>
2584             Adam Conrad  <adconrad@0c3.net>
2585             Andreas Schwab  <schwab@suse.de>
2586             Brooks  <bmoses@google.com>
2588         [BZ #17625]
2589         * wordexp-test.c (__dso_handle): Add prototype.
2590         (__register_atfork): Likewise.
2591         (__app_register_atfork): New function.
2592         (registered_forks): New global.
2593         (register_fork): New function.
2594         (test_case): Add 3 new tests for WRDE_CMDSUB.
2595         (main): Call __app_register_atfork.
2596         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2597         fork count is non-zero fail the test.
2598         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2599         is set.
2600         (parse_dollars): Remove check for WRDE_NOCMD.
2601         (parse_dquote): Likewise.
2603 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2605         * Makeconfig (built-modules): List non-library modules to be
2606         built.
2607         (module-cppflags): Include libc-modules.h for
2608         everything except shlib-versions.v.i.
2609         (CPPFLAGS): Use it.
2610         (before-compile): Add libc-modules.h.
2611         ($(common-objpfx)libc-modules.h,
2612         $(common-objpfx)libc-modules.stmp): New targets.
2613         (common-generated): Add libc-modules.h and libc-modules.stmp.
2614         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2615         * include/libc-symbols.h: Don't include libc-modules.h.
2616         * include/libc-modules.h: Remove file.
2617         * scripts/gen-libc-modules.awk: New script to generate
2618         libc-modules.h.
2619         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2620         Depend on libc-modules.stmp.
2622         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2624         * Makeconfig (in-module): Get value of libof set for the
2625         translation unit.
2626         (CPPFLAGS): Use $(in-module).
2627         * Makerules: Don't suffix routine names for nonlib.
2628         * include/libc-modules.h: New file.
2629         * include/libc-symbols.h: Include libc-modules.h
2630         (IS_IN): New macro to replace IS_IN_* macros.
2631         * elf/Makefile: Set libof-* for each routine.
2632         * elf/rtld-Rules: Likewise.
2633         * extra-modules.mk: Likewise.
2634         * iconv/Makefile: Likewise.
2635         * iconvdata/Makefile: Likewise.
2636         * locale/Makefile: Likewise.
2637         * malloc/Makefile: Likewise.
2638         * nss/Makefile: Likewise.
2639         * sysdeps/gnu/Makefile: Likewise.
2640         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2641         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2642         * sysdeps/s390/s390-64/Makefile: Likewise.
2643         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2644         CPPFLAGS for nscd instead of nonlib.
2646 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2648         * nptl/createthread.c: New file.
2650         * nptl/createthread.c: Moved ...
2651         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2653         * nptl/createthread.c: Add proper top-line comment.
2654         (do_clone): Folded into ...
2655         (create_thread): ... here.  Take new arguments STOPPED_START and
2656         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2657         increment __nptl_threads, do event-reporting logic, do
2658         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2659         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2660         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2661         just send SIGCANCEL.
2662         * nptl/pthread_create.c: Forward-declare create_thread before
2663         including createthread.c.
2664         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2665         declaration, and new macro START_THREAD_SELF to replace argument.
2666         Remove return statement.
2667         (report_thread_creation): New function.
2668         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2669         synchronization logic, and __nptl_nthreads increment here, around
2670         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2671         PD->parent_cancelhandling here, before create_thread.  When
2672         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2673         __deallocate_stack, and ENOMEM translation here.
2675 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2677         [BZ #17616]
2678         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2679         (mptwo): Rename to __mptwo.
2680         (__inv): Use __mptwo instead of mptwo.
2681         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2682         (mptwo): Rename to __mptwo.
2683         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2684         of mpone and __mptwo instead of mptwo.
2685         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2686         instead of mpone.
2687         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2688         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2689         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2690         of mpone and __mptwo instead of mptwo.
2691         (__mpranred): Use __mpone instead of mpone.
2692         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2693         variable.
2694         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2695         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2696         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2697         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2698         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2699         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2700         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2701         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2702         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2703         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2704         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2705         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2706         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2707         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2708         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2709         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2710         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2711         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2712         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2714 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2716         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2717         replace BSD Handler xref with BSD Signal Handling.
2719 2014-11-17  Richard Henderson  <rth@redhat.com>
2721         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2722         (_FP_PACK_RAW_2): Remove.
2723         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2724         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2725         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2726         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2727         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2728         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2729         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2730         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2731         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2732         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2733         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2734         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2735         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2736         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2737         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2738         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2740 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2742         * signal/signal.h [__USE_MISC]
2743         (struct sigvec): Remove type.
2744         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2745         (sigvec): Remove declaration.
2746         * sysdeps/posix/sigvec.c: Moved ...
2747         * signal/sigvec.c: ... here, replacing old file.
2748         (struct sigvec): New type, copied from old signal.h definition.
2749         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2750         (__sigvec): Convert definition to prototype.
2751         (sigvec): Replace weak_alias with compat_symbol.
2752         * signal/Versions (libc: GLIBC_2.21): New version set.
2753         * include/signal.h: Remove __sigvec declaration.
2754         * sysdeps/unix/bsd/sigvec.c: Remove file.
2755         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2756         * manual/signal.texi (BSD Handler): Remove subsection.
2757         Move siginterrupt up to ...
2758         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2759         (Blocking in BSD): Fold subsection into its parent.
2760         * NEWS: Mention sigvec removal.
2762 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2764         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2765         (DLA_FMS): Make definition conditional only on [__FMA4__].
2766         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2767         definition.
2769         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2770         Make definition conditional only on [PROF].
2771         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2772         definition.
2773         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2774         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2776         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2777         !__GNUC__].
2778         * include/signal.h (__sigpause): Move declaration above call to
2779         libc_hidden_proto.
2780         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2781         variable.
2782         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2783         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2785 2014-11-14  David S. Miller  <davem@davemloft.net>
2787         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2788         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2790 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2792         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2793         * configure: Regenerated.
2794         * manual/install.texi (Tools for Compilation): Document a
2795         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2796         compiler verified to work.
2797         * INSTALL: Regenerated.
2799         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2800         redeclare with asm name.
2801         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2802         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2803         including <string.h>.
2804         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2805         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2806         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2807         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2808         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2809         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2810         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2812 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2814         * stdlib/strtol.c (__strtol): Use prototype definition.
2816         [BZ #17594]
2817         * stdlib/strtol.c (SYM__): New macro.
2818         (SYM__1): Likewise.
2819         (__strtol): Likewise.
2820         (strtol): Rename to __strtol and define as weak alias of
2821         __strtol.  Use libc_hidden_weak.
2823 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2825         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2826         Use numbered labels in inline assembly.
2828 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2830         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2831         Add setjmp LIBC_PROBE.
2832         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2833         Likewise.
2834         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2835         Add longjmp, longjmp_target LIBC_PROBE.
2836         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2837         Likewise.
2839 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2841         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2842         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2843         to get rid of unused variable warning.
2845 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2847         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2848         Check for unwind_backtrace ==  NULL only in SHARED case.
2849         (__backchain_backtrace): Compile only in SHARED case.
2850         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2851         Likewise.
2852         (__backchain_backtrace): Declare as static.
2854 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2856         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2857         (__libc_multiple_threads_ptr): Variable moved ...
2858         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2860 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2862         * conform/GlibcConform.pm: New file.
2863         * conform/conformtest.pl: Use GlibcConform module.
2864         * conform/linknamespace.pl: New file.
2865         * conform/list-header-symbols.pl: Likewise.
2866         * conform/Makefile (linknamespace-symlists-base): New variable.
2867         (linknamespace-symlists-tests): Likewise.
2868         (linknamespace-header-base): Likewise.
2869         (linknamespace-header-tests): Likewise.
2870         (tests-special): Add new tests.
2871         ($(linknamespace-symlists-tests)): New rule.
2872         (linknamespace-libs): New variable.
2873         ($(objpfx)symlist-stdlibs): New rule.
2874         ($(linknamespace-header-tests)): Likewise.
2875         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2876         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2877         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2878         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2879         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2880         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2881         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2882         (test-xfail-ISO/math.h/linknamespace): Likewise.
2883         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2884         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2885         (test-xfail-ISO/time.h/linknamespace): Likewise.
2886         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2887         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2888         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2889         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2890         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2891         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2892         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2893         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2894         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2895         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2896         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2897         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2898         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2899         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2900         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2901         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2902         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2903         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2904         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2905         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2906         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2907         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2908         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2909         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2910         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2911         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2912         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2913         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2914         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2915         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2916         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2917         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2918         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2919         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2920         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2921         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2922         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2923         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2924         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2925         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2926         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2927         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2928         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2929         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2930         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2931         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2932         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2933         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2934         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2935         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2936         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2937         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2938         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2939         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2940         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2941         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2942         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2943         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2944         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2945         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2946         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2947         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2948         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2949         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2950         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2951         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2952         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2953         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2954         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2955         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2956         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2957         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2958         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2959         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2960         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2961         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2962         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2963         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2964         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2965         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2966         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2967         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2968         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2969         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2970         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2971         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2972         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2973         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2974         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2975         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2976         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2977         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2978         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2979         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2980         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2981         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2982         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2983         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2984         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2985         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2986         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2987         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2988         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2989         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2990         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2991         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2992         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2993         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2994         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2995         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2996         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2997         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2998         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2999         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3000         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3001         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3002         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3003         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3004         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3005         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3006         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3007         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3008         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3009         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3010         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3011         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3012         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3013         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3014         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3015         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3016         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3017         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3018         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3019         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3020         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3021         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3022         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3023         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3024         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3025         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3026         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3027         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3028         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3029         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3030         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3031         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3032         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3033         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3034         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3035         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3037         [BZ #17589]
3038         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3039         of fgets_unlocked.
3041         [BZ #17585]
3042         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3043         (memmem): Rename to __memmem and define as weak alias of
3044         __memmem.  Use libc_hidden_weak.
3045         (__memmem): Use libc_hidden_def.
3046         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
3047         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3048         memmem.
3050         [BZ #17582]
3051         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3052         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
3053         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3054         and define as weak alias of __fgets_unlocked.  Use
3055         libc_hidden_weak.
3056         (__fgets_unlocked): Use libc_hidden_def.
3057         * include/stdio.h (__fgets_unlocked): Declare.  Use
3058         libc_hidden_proto.
3059         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3060         __fgets_unlocked instead of fgets_unlocked.
3061         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3062         (GET_NPROCS_CONF_PARSER): Likewise.
3063         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3064         (GET_NPROCS_CONF_PARSER): Likewise.
3066         [BZ #17574]
3067         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3068         weak alias of __wmemset.  Use libc_hidden_weak.
3069         (__wmemset): Use libc_hidden_def.
3070         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
3071         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3072         of wmemset.
3074         [BZ #17573]
3075         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3076         with asm name __mempcpy.
3077         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3079         [BZ #17572]
3080         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3081         and define as weak alias of __rawmemchr.
3082         (__rawmemchr): Do not define as strong alias of rawmemchr.
3084         [BZ #17571]
3085         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3086         alias of __qsort_r.
3087         (qsort): Call __qsort_r instead of qsort_r.
3088         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3089         (__qsort_r): Declare.  Call libc_hidden_proto.
3090         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3091         instead of qsort_r.
3092         * nscd/gai.c (__qsort_r): Define to qsort_r.
3093         * posix/tst-rfc3484.c (__qsort_r): Likewise.
3094         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3095         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3097         [BZ #17570]
3098         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3099         define as weak alias of __malloc_info.
3101         [BZ #17584]
3102         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3103         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3104         (__rewinddir): Use libc_hidden_def.
3105         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3106         as weak alias of __rewinddir.  Don't use libc_hidden_def.
3107         (__rewinddir): Use libc_hidden_def.
3108         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3109         weak alias of __rewinddir.  Don't use libc_hidden_def.
3110         (__rewinddir): Use libc_hidden_def.
3111         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3112         (__rewinddir): Use libc_hidden_proto.
3113         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3114         rewinddir.
3115         (__getcwd): Use __rewinddir instead of rewinddir.
3117         [BZ #17583]
3118         * libio/fileno.c (fileno): Rename to __fileno and define as weak
3119         alias of __fileno.  Use libc_hidden_weak.
3120         (__fileno): Use libc_hidden_def.
3121         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3122         * libio/ftello.c (ftello): Rename to __ftello and define as weak
3123         alias of __ftello.
3124         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3125         __ftello.
3126         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3127         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
3128         libc_hidden_def.
3129         (fread_unlocked): Don't use libc_hidden_ver.
3130         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3131         and define as weak alias of __fread_unlocked.  Don't use
3132         libc_hidden_def.
3133         (__fread_unlocked): Use libc_hidden_def.
3134         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
3135         (ftello): Don't use libc_hidden_proto.
3136         (__ftello): Declare.  Use libc_hidden_proto.
3137         (fread_unlocked): Don't use libc_hidden_proto.
3138         (__fread_unlocked): Declare.  Use libc_hidden_proto.
3139         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3140         and __ftello instead of fileno, fread_unlocked and ftello.
3142 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3144         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3145         GOT12.
3146         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3147         Likewise.
3148         (_dl_start_user): Likewise.
3149         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3151 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
3152             Siddhesh Poyarekar  <siddhesh@redhat.com>
3154         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3155         Move argv and envp down instead of moving argc up.
3156         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3158 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
3160         [BZ #17506]
3161         * test-skeleton.c (main): Return successful if one of
3162         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3163         * string/tst-strcoll-overflow.c: Define expected status.
3165 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
3167         [BZ #17475]
3168         * locale/iso-639.def: Define Bhili and Tulu language codes.
3170 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
3172         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3174 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
3176         [BZ #17555]
3177         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3179 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
3181         * configure.ac: Updated check of minimal required version to
3182         2.22.
3183         * manual/install.texi (Tools for Compilation): Updated version
3184         number.
3185         * configure: Regenerated.
3186         * INSTALL: Likewise.
3188 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
3190         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3191         __tls_get_addr.
3193 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
3195         * include/sys/wait.h (__libc_waitpid): Remove declaration.
3196         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3197         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3198         libc_hidden_weak.
3199         (waitpid): Define as alias of __waitpid.
3200         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3201         __waitpid.
3202         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3203         libc_hidden_weak.
3204         (waitpid): Define as alias of __waitpid.
3205         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3206         __libc_waitpid alias.
3207         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3208         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3209         Likewise.
3210         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3211         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3212         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3213         alias.
3214         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3215         __waitpid.
3216         (__waitpid): Don't define as alias.  Use libc_hidden_def not
3217         libc_hidden_weak.
3218         (waitpid): Define as alias of __waitpid.
3220 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
3222         * manual/llio.texi: Add comment that write safety has been
3223         fixed in Linux.
3225         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3226         (localplt-build-dso): Add elf/ld.so.
3227         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3228         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3229         and free for ld.so.
3230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3231         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3233         Likewise.
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3235         Likewise.
3236         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3237         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3238         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3239         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3240         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3241         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3242         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3243         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3244         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3245         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3246         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3248 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
3250         [BZ #14132]
3251         * include/libc-symbols.h (INTUSE): Remove macro.
3252         (INTDEF): Likewise.
3253         (INTVARDEF): Likewise.
3254         (_INTVARDEF): Likewise.
3255         (INTDEF2): Likewise.
3256         (INTVARDEF2): Likewise.
3257         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3258         rtld_hidden_def instead of INTVARDEF.
3259         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3260         (_dl_starting_up_internal): Remove declaration.
3261         (_dl_starting_up): Use rtld_hidden_proto.
3262         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3263         declaration.
3264         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3265         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3266         _dl_starting_up.
3267         * elf/dl-writev.h (_dl_writev): Likewise.
3268         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3269         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3270         _dl_starting_up_internal.
3272 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3274         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3275         test-skeleton.c.
3277 2014-11-05  Will Newton  <will.newton@linaro.org>
3279         * benchtests/Makefile: (bench-malloc): Add malloc thread
3280         scalability benchmark.
3281         * benchtests/bench-malloc-threads.c: New file.
3283 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3285         * sysdeps/aarch64/strchrnul.S: New file.
3287 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3289         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3290         definition.
3291         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3292         Likwise.
3293         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3294         Likewise.
3295         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3296         Likewise.
3297         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3298         Likewise.
3299         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3300         Likewise.
3302 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3304         * catgets/test-gencat.c: Use test-skeleton.c.
3305         * catgets/tst-catgets.c: Likewise.
3306         * csu/tst-empty.c: Likewise.
3307         * elf/tst-audit2.c: Likewise.
3308         * elf/tst-global1.c: Likewise.
3309         * elf/tst-pathopt.c: Likewise.
3310         * elf/tst-piemod1.c: Likewise.
3311         * elf/tst-tls10.c: Likewise.
3312         * elf/tst-tls11.c: Likewise.
3313         * elf/tst-tls12.c: Likewise.
3314         * gnulib/tst-gcc.c: Likewise.
3315         * iconvdata/tst-e2big.c: Likewise.
3316         * iconvdata/tst-loading.c: Likewise.
3317         * iconv/tst-iconv1.c: Likewise.
3318         * iconv/tst-iconv2.c: Likewise.
3319         * inet/test-inet6_opt.c: Likewise.
3320         * inet/tst-gethnm.c: Likewise.
3321         * inet/tst-network.c: Likewise.
3322         * inet/tst-ntoa.c: Likewise.
3323         * intl/tst-codeset.c: Likewise.
3324         * intl/tst-gettext2.c: Likewise.
3325         * intl/tst-gettext3.c: Likewise.
3326         * intl/tst-ngettext.c: Likewise.
3327         * intl/tst-translit.c: Likewise.
3328         * io/test-stat.c: Likewise.
3329         * libio/test-fmemopen.c: Likewise.
3330         * libio/tst-freopen.c: Likewise.
3331         * libio/tst-sscanf.c: Likewise.
3332         * libio/tst-ungetwc1.c: Likewise.
3333         * libio/tst-ungetwc2.c: Likewise.
3334         * libio/tst-widetext.c: Likewise.
3335         * localedata/tst-ctype.c: Likewise.
3336         * localedata/tst-digits.c: Likewise.
3337         * localedata/tst-leaks.c: Likewise.
3338         * localedata/tst-mbswcs1.c: Likewise.
3339         * localedata/tst-mbswcs2.c: Likewise.
3340         * localedata/tst-mbswcs3.c: Likewise.
3341         * localedata/tst-mbswcs4.c: Likewise.
3342         * localedata/tst-mbswcs5.c: Likewise.
3343         * localedata/tst-setlocale.c: Likewise.
3344         * localedata/tst-trans.c: Likewise.
3345         * localedata/tst-wctype.c: Likewise.
3346         * localedata/tst-xlocale1.c: Likewise.
3347         * login/tst-grantpt.c: Likewise.
3348         * malloc/tst-calloc.c: Likewise.
3349         * malloc/tst-malloc.c: Likewise.
3350         * malloc/tst-mallocstate.c: Likewise.
3351         * malloc/tst-mcheck.c: Likewise.
3352         * malloc/tst-mtrace.c: Likewise.
3353         * malloc/tst-obstack.c: Likewise.
3354         * math/atest-exp2.c: Likewise.
3355         * math/atest-exp.c: Likewise.
3356         * math/atest-sincos.c: Likewise.
3357         * math/test-matherr.c: Likewise.
3358         * math/test-misc.c: Likewise.
3359         * math/test-powl.c: Likewise.
3360         * math/tst-definitions.c: Likewise.
3361         * misc/tst-dirname.c: Likewise.
3362         * misc/tst-efgcvt.c: Likewise.
3363         * misc/tst-fdset.c: Likewise.
3364         * misc/tst-hsearch.c: Likewise.
3365         * misc/tst-mntent2.c: Likewise.
3366         * nptl/tst-sem7.c: Likewise.
3367         * nptl/tst-sem8.c: Likewise.
3368         * nptl/tst-sem9.c: Likewise.
3369         * nss/test-netdb.c: Likewise.
3370         * posix/tst-fnmatch.c: Likewise.
3371         * posix/tst-getlogin.c: Likewise.
3372         * posix/tst-gnuglob.c: Likewise.
3373         * posix/tst-mmap.c: Likewise.
3374         * pwd/tst-getpw.c: Likewise.
3375         * resolv/tst-inet_ntop.c: Likewise.
3376         * rt/tst-timer.c: Likewise.
3377         * stdio-common/test-fseek.c: Likewise.
3378         * stdio-common/test-popen.c: Likewise.
3379         * stdio-common/test-vfprintf.c: Likewise.
3380         * stdio-common/tst-cookie.c: Likewise.
3381         * stdio-common/tst-fileno.c: Likewise.
3382         * stdio-common/tst-gets.c: Likewise.
3383         * stdio-common/tst-obprintf.c: Likewise.
3384         * stdio-common/tst-perror.c: Likewise.
3385         * stdio-common/tst-sprintf2.c: Likewise.
3386         * stdio-common/tst-sprintf3.c: Likewise.
3387         * stdio-common/tst-sprintf.c: Likewise.
3388         * stdio-common/tst-swprintf.c: Likewise.
3389         * stdio-common/tst-tmpnam.c: Likewise.
3390         * stdio-common/tst-unbputc.c: Likewise.
3391         * stdio-common/tst-wc-printf.c: Likewise.
3392         * stdlib/tst-environ.c: Likewise.
3393         * stdlib/tst-fmtmsg.c: Likewise.
3394         * stdlib/tst-limits.c: Likewise.
3395         * stdlib/tst-rand48-2.c: Likewise.
3396         * stdlib/tst-rand48.c: Likewise.
3397         * stdlib/tst-random2.c: Likewise.
3398         * stdlib/tst-random.c: Likewise.
3399         * stdlib/tst-strtol.c: Likewise.
3400         * stdlib/tst-strtoll.c: Likewise.
3401         * stdlib/tst-tls-atexit.c: Likewise.
3402         * stdlib/tst-xpg-basename.c: Likewise.
3403         * string/test-ffs.c: Likewise.
3404         * string/tst-bswap.c: Likewise.
3405         * string/tst-inlcall.c: Likewise.
3406         * string/tst-strtok.c: Likewise.
3407         * string/tst-strxfrm.c: Likewise.
3408         * sysdeps/x86_64/tst-audit10.c: Likewise.
3409         * sysdeps/x86_64/tst-audit3.c: Likewise.
3410         * sysdeps/x86_64/tst-audit4.c: Likewise.
3411         * sysdeps/x86_64/tst-audit5.c: Likewise.
3412         * time/tst-ftime_l.c: Likewise.
3413         * time/tst-getdate.c: Likewise.
3414         * time/tst-mktime3.c: Likewise.
3415         * time/tst-mktime.c: Likewise.
3416         * time/tst-posixtz.c: Likewise.
3417         * time/tst-strptime2.c: Likewise.
3418         * time/tst-strptime3.c: Likewise.
3419         * wcsmbs/tst-btowc.c: Likewise.
3420         * wcsmbs/tst-mbrtowc.c: Likewise.
3421         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3422         * wcsmbs/tst-wchar-h.c: Likewise.
3423         * wcsmbs/tst-wcpncpy.c: Likewise.
3424         * wcsmbs/tst-wcrtomb.c: Likewise.
3425         * wcsmbs/tst-wcsnlen.c: Likewise.
3426         * wcsmbs/tst-wcstof.c: Likewise.
3428 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3430         [BZ #14132]
3431         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3432         INTDEF.
3433         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3434         declaration.
3435         (_dl_mcount): Use rtld_hidden_proto.
3436         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3437         _dl_mcount.
3438         * elf/rtld.c (_rtld_global_ro): Likewise.
3440         [BZ #14132]
3441         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3442         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3443         of _dl_init_internal.
3444         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3445         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3446         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3447         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3448         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3449         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3450         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3451         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3452         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3453         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3454         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3455         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3456         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3457         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3458         * sysdeps/tile/dl-start.S (_start): Likewise.
3459         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3460         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3462         [BZ #14132]
3463         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3464         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3465         (rtld_progname): Make macro definition unconditional.
3466         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3467         INTDEF.
3468         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3469         (dl_main): Likewise.
3470         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3471         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3472         instead of _dl_argv_internal.
3473         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3474         __GI__dl_argv instead of INTUSE(_dl_argv).
3475         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3476         __GI__dl_argv instead of _dl_argv_internal.
3478         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3479         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3480         macro.
3481         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3482         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3483         New macro.
3484         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3485         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3486         macro.
3487         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3488         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3490 2014-11-04  Andreas Schwab  <schwab@suse.de>
3492         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3494 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3496         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3497         mtvsrd instruction in binary form.
3499 2014-11-03  Andreas Schwab  <schwab@suse.de>
3501         [BZ #17522]
3502         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3503         for less than MB_LEN_MAX use a local buffer of that size.
3504         * libio/tst-fputws.c: New file.
3505         * libio/Makefile (tests): Add tst-fputws.
3507 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3509         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3510         the size of the fpu_fr.fpu_dregs[] array.
3512 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3514         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3515         (__nanosleep): Do not define as alias.
3516         (nanosleep): Define as alias of __nanosleep.
3517         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3518         __libc_nanosleep name.
3520 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3522         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3523         install.texi in comment.
3525 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3527         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3528         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3529         ... add here and use lwsync or sync ...
3530         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3531         ... and add here using lwsync.
3533 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3535         * elf/dl-machine-reject-phdr.h: New file.
3536         * elf/dl-load.c: #include that.
3537         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3538         if that returned true.
3540 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3542         [BZ #17496]
3543         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3544         gen-as-const-headers chunk.  Add a big scare comment after the last
3545         safe place to touch before-compile.
3547 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3549         * manual/install.texi (Tools for Compilation): Update autoconf
3550         version requirements.
3551         * INSTALL: Regenerated.
3553         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3554         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3555         (__libc_pselect): Likewise.
3557         [BZ #14138]
3558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3563 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3565         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3566         correct barrier instruction.
3567         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3568         Likewise.
3569         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3570         Likewise.
3572 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3574         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3575         after defining inlines.  Instead, just use parens to defeat macro
3576         expansion of __isctype in its declaration.
3578 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3580         * include/sys/uio.h (__libc_readv): Remove declaration.
3581         (__libc_writev): Likewise.
3582         * misc/readv.c (__libc_readv): Rename to __readv.
3583         (__readv): Do not define as alias.
3584         (readv): Define as alias of __readv.
3585         * misc/writev.c (__libc_writev): Rename to __writev.
3586         (__writev): Do not define as alias.
3587         (writev): Define as alias of __writev.
3588         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3589         (__readv): Do not define as alias.
3590         (readv): Define unconditionally as alias of __readv.
3591         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3592         (__writev): Do not define as alias.
3593         (writev): Define unconditionally as alias of __writev.
3594         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3595         name.
3596         (writev): Do not define __libc_writev name.
3598 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3600         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3601         (convert_charseq): New function, broken out of ...
3602         (use_from_charmap): ... here.  Call it.
3603         (use_to_charmap): Use convert_charseq and free instead of duplicating
3604         its code with a variable-length stack struct.
3606 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3608         * include/fcntl.h (__libc_creat): Remove declaration.
3609         * io/creat.c (__libc_creat): Rename to creat.
3610         (creat): Do not define as alias.
3611         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3612         of creat instead of __libc_creat.
3613         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3614         to creat.
3615         (creat): Do not define as alias.
3616         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3617         __libc_creat.
3618         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3619         __libc_creat name.
3620         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3621         Likewise.
3623 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3625         * manual/llio.texi: Add comments discussing why write() may be
3626         considered MT-unsafe on Linux.
3628 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3630         * dl-load.c (local_strdup): Remove.
3631         (expand_dynamic_string_token): Use __strdup.
3632         (decompose_rpath): Likewise.
3633         (_dl_map_object): Likewise.
3635 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3637         [BZ #14132]
3638         * sysdeps/generic/unwind-dw2-fde.c
3639         (__register_frame_info_bases_internal): Do not declare.
3640         (__register_frame_info_table_bases_internal): Likewise.
3641         (__deregister_frame_info_bases_internal): Likewise.
3642         (__register_frame_info_bases): Declare and use hidden_proto before
3643         definition.  Use hidden_def instead of INTDEF.
3644         (__register_frame_info_table_bases): Likewise.
3645         (__deregister_frame_info_bases): Likewise.
3646         (__register_frame_info): Do not use INTUSE.
3647         (__register_frame): Likewise.
3648         (__register_frame_info_table): Likewise.
3649         (__register_frame_table): Likewise.
3650         (__deregister_frame_info): Likewise.
3651         (__deregister_frame): Likewise.
3653 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3655         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3656         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3657         not undefine.
3658         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3659         Likewise.
3660         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3661         Likewise.
3663 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3665         [BZ #14138]
3666         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3667         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3668         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3669         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3670         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3671         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3672         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3673         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3674         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3675         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3676         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3677         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3678         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3679         syscall.
3680         (setfsuid): Likewise.
3681         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3682         (setfsuid): Likewise.
3683         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3684         (setfsuid): Likewise.
3685         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3686         Likewise.
3687         (setfsuid): Likewise.
3688         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3689         (setfsuid): Likewise.
3690         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3691         Likewise.
3692         (setfsuid): Likewise.
3694 2014-10-27  Andreas Schwab  <schwab@suse.de>
3696         [BZ #17501]
3697         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3698         check for Slow_SSE4_2 feature bit.
3699         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3700         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3701         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3702         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3704 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3706         * configure.ac: Validate compiler version with a empirical test of
3707         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3708         $CC -v output.
3709         * configure: Regenerated.
3711         * inet/htons.c (htons): Prototypify.
3712         * inet/htonl.c (htonl): Likewise.
3714 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3716         * string/strncat.c (strncat): Improve performance by using strlen.
3718 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3720         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3722 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3724         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3725         Call libc_fetestexcept_aarch64.
3727 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3729         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3730         Call libc_feholdexcept_aarch64.
3732 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3734         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3735         Call get_rounding_mode.
3737 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3739         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3740         Simplify logic.
3742 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3744         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3745         Simplify logic.
3747 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3749         [BZ #14138]
3750         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3751         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3752         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3753         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3754         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3755         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3756         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3757         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3758         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3759         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3760         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3761         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3762         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3763         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3764         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3765         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3766         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3767         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3768         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3769         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3770         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3771         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3772         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3773         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3774         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3775         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3776         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3777         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3778         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3779         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3780         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3781         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3782         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3783         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3784         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3785         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3786         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3787         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3788         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3789         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3790         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3791         syscall.
3792         (geteuid): Likewise.
3793         (getgid): Likewise.
3794         (getuid): Likewise.
3795         (getresgid): Likewise.
3796         (getresuid): Likewise.
3797         (getgroups): Likewise.
3798         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3799         (geteuid): Likewise.
3800         (getgid): Likewise.
3801         (getuid): Likewise.
3802         (getresgid): Likewise.
3803         (getresuid): Likewise.
3804         (getgroups): Likewise.
3805         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3806         (geteuid): Likewise.
3807         (getgid): Likewise.
3808         (getuid): Likewise.
3809         (getresgid): Likewise.
3810         (getresuid): Likewise.
3811         (getgroups): Likewise.
3812         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3813         Likewise.
3814         (geteuid): Likewise.
3815         (getgid): Likewise.
3816         (getuid): Likewise.
3817         (getresgid): Likewise.
3818         (getresuid): Likewise.
3819         (getgroups): Likewise.
3820         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3821         (geteuid): Likewise.
3822         (getgid): Likewise.
3823         (getuid): Likewise.
3824         (getresgid): Likewise.
3825         (getresuid): Likewise.
3826         (getgroups): Likewise.
3827         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3828         Likewise.
3829         (geteuid): Likewise.
3830         (getgid): Likewise.
3831         (getuid): Likewise.
3832         (getgroups): Likewise.
3834         [BZ #14138]
3835         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3836         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3837         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3838         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3839         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3840         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3841         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3842         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3843         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3844         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3845         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3846         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3847         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3848         __chown.
3849         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3850         (lchown): Likewise.
3851         (fchown): Likewise.
3852         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3853         Likewise.
3854         (lchown): Likewise.
3855         (fchown): Likewise.
3856         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3857         (lchown): Likewise.
3858         (fchown): Likewise.
3859         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3860         Likewise.
3861         (lchown): Likewise.
3862         (fchown): Likewise.
3864 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3866         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3867         Simplify logic.
3869 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3871         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3872         Cleanup logic.
3874 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3876         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3877         Remove unused include.
3879 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3881         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3882         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3883         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3884         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3886 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3887             Helge Deller <deller@gmx.de>
3889         [BZ #17508]
3890         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3891         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3892         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3894 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3896         [BZ #14132]
3897         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3898         Remove macro definition.
3899         (__ashrdi3_v_glibc20): Likewise.
3900         (__lshrdi3_v_glibc20): Likewise.
3901         (__cmpdi2_v_glibc20): Likewise.
3902         (__ucmpdi2_v_glibc20): Likewise.
3903         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3904         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3905         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3906         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3907         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3908         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3910 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3912         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3913         old GNU extension [0] syntax.
3914         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3915         alloca rather than an array member with variable length.
3916         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3917         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3918         (parse_opt): ... here.  Likewise use alloca there.
3919         Validate the -i argument before checking for rootness.
3920         (send_shutdown): New function, broken out of ...
3921         (parse_opt): ... here.
3923 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3925         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3926         macro to get at the _rt_local_ro field.
3927         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3928         ([PIC] case) or _dl_hwcap ([!PIC] case).
3929         * sysdeps/arm/setjmp.S: Likewise.
3931         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3932         * sysdeps/arm/configure.ac: New check to define it.
3933         * sysdeps/arm/configure: Regenerated.
3934         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3935         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3936         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3937         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3938         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3939         Use move/movt pair instead of a load.
3940         (LDST_GLOBAL): Macro removed.
3941         (LDR_GLOBAL): New macro replaces it.
3942         (LDR_HIDDEN): New macro.
3943         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3944         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3946         * setjmp/tst-setjmp-static.c: New file.
3947         * setjmp/Makefile (tests): Add it.
3948         (tests-static): New variable.
3950 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3952         [BZ #17485]
3953         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3955 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3957         [BZ #14132]
3958         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3960 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3962         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3964 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3966         * io/fts.c (dirent_not_directory): New function.
3967         (fts_build): Call it.
3969 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3971         * nptl/version.c (__nptl_main): Use normal __write rather than
3972         INTERNAL_SYSCALL.
3973         (banner): Update copyright years.
3975         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3976         gettimeofday.
3977         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3978         * nptl/pthread_cond_timedwait.c: Likewise.
3979         * nptl/pthread_mutex_timedlock.c: Likewise.
3980         * nptl/sem_timedwait.c: Likewise.
3982         * sysdeps/nptl/bits/libc-lock.h
3983         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3984         (__libc_lock_init_recursive): Return void, not 0.
3985         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3986         (__libc_rwlock_init): Likewise.
3987         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3989 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3991         [BZ #15215]
3992         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3993         (__pthread_once_slow): ... here.
3994         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3995         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3997 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3999         [BZ #15215]
4000         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4001         __PTHREAD_ONCE_FORK_GEN_INCR): New.
4002         * sysdeps/nptl/fork.c (__libc_fork): Use them.
4003         * nptl/pthread_once.c (__pthread_once): Likewise.
4004         Update comments.
4006 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
4008         [BZ #14138]
4009         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4010         name.
4011         (writev): Use __libc_writev as strong name.
4012         * sysdeps/unix/sysv/linux/readv.c: Remove file.
4013         * sysdeps/unix/sysv/linux/writev.c: Likewise.
4015 2014-10-17  Roland McGrath  <roland@hack.frob.com>
4017         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4019         * sysdeps/i386/nptl/tls.h
4020         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4021         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4022         New macros.
4023         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4024         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4025         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4026         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4027         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4028         Call CHECK_THREAD_SYSINFO instead of doing an assert.
4030         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4031         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4032         on [__NR_futex].
4033         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4034         broken out of ...
4035         (__pthread_mutex_init): ... here.  Call it.
4036         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4037         Conditionalize PI cases on [__NR_futex].
4038         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4039         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4040         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4042         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4043         conditional on [SIGSETXID].
4044         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4045         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4046         is defined.  Likewise for SIGSETXID.
4047         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4048         Conditionalize definitions on [SIGSETXID].
4049         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4050         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4051         unblocking on [SIGCANCEL].
4053         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4054         [__NR_set_robust_list].
4056 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4058         * string/strcoll_l.c (get_next_seq): Fix up formatting.
4059         (do_compare): Likewise.
4061 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
4063         [BZ #15884]
4064         * string/strcoll_l.c: Don't include stdio.h.
4065         (coll_seq): Remove members idxarr and rulearr.
4066         (get_next_seq_cached): Remove function.
4067         (get_next_seq): Likewise.
4068         (get_next_seq_nocache): Rename to get_next_seq.
4069         (do_compare): Remove function.
4070         (do_compare_nocache): Rename to do_compare.
4071         (STRCOLL): Remove weight and rules cache.
4073 2014-10-16  Roland McGrath  <roland@hack.frob.com>
4075         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4076         * sysdeps/arm/sfp-machine.h: ... to here.
4077         * sysdeps/arm/Implies: Remove arm/soft-fp.
4079 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
4081         * conform/data/sys/utsname.h-data (*_t): Allow.
4082         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4083         [POSIX] (WEXITED): Do not expect constant.
4084         [POSIX] (WSTOPPED): Likewise.
4085         [POSIX] (WNOHANG): Likewise.
4086         [POSIX] (WNOWAIT): Likewise.
4087         [POSIX] (siginfo_t): Do not expect type or elements.
4088         [POSIX] (pid_t): Do not expect type.
4089         [POSIX] (signal.h): Do not allow header.
4090         [POSIX] (sys/resource.h): Likewise.
4091         [POSIX] (si_*): Do not allow pattern.
4092         [POSIX] (W*): Likewise.
4093         [POSIX] (P_*): Likewise.
4094         [POSIX] (BUS_*): Likewise.
4095         [POSIX] (CLD_*): Likewise.
4096         [POSIX] (FPE_*): Likewise.
4097         [POSIX] (ILL_*): Likewise.
4098         [POSIX] (POLL_*): Likewise.
4099         [POSIX] (SEGV_*): Likewise.
4100         [POSIX] (SI_*): Likewise.
4101         [POSIX] (TRAP_*): Likewise.
4102         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4103         variable.
4105 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
4107         [BZ #12926]
4108         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4109         infinite loop when __recvmsg returns 0.
4111 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
4113         * CANCEL-FCT-WAIVE: Remove file.
4114         * CANCEL-FILE-WAIVE: Likewise.
4116         [BZ #14132]
4117         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4118         instead of INTVARDEF.
4119         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4120         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4121         rtld_hidden_data_def instead of INTVARDEF.
4122         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4123         * elf/dl-deps.c (expand_dst): Likewise.
4124         * elf/dl-load.c (_dl_dst_count): Likewise.
4125         (_dl_dst_substitute): Likewise.
4126         (decompose_rpath): Likewise.
4127         (_dl_init_paths): Likewise.
4128         (open_path): Likewise.
4129         (_dl_map_object): Likewise.
4130         * elf/rtld.c (dl_main): Likewise.
4131         (process_dl_audit): Likewise.
4132         (process_envvars): Likewise.
4133         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4134         Remove declaration.
4135         (__libc_enable_secure): Use rtld_hidden_proto.
4137 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4139         * elf/dl-load.c
4140         (add_path): New function broken out of _dl_rtld_di_serinfo.
4141         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
4143 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4145         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4146         parentheses around macro arguments.
4147         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4148         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4149         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4150         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4152         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4156         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4157         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4158         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4159         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4160         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4161         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4162         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4163         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4166         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4172         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4173         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4174         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4176         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4177         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4178         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4179         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4180         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4181         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4182         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4183         Likewise.
4184         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4185         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4189         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4190         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4191         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4192         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4193         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4194         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4195         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4196         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4197         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4198         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4201         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4202         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4203         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4205         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4206         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4207         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4208         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4209         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4210         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4211         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4212         (_FP_FRAC_SRS_1): Likewise.
4213         (_FP_FRAC_CLZ_1): Likewise.
4214         (_FP_MUL_MEAT_1_imm): Likewise.
4215         (_FP_MUL_MEAT_1_wide): Likewise.
4216         (_FP_MUL_MEAT_1_hard): Likewise.
4217         (_FP_SQRT_MEAT_1): Likewise.
4218         (_FP_FRAC_ASSEMBLE_1): Likewise.
4219         (_FP_FRAC_DISASSEMBLE_1): Likewise.
4220         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4221         (__FP_CLZ_2): Likewise.
4222         (_FP_MUL_MEAT_2_wide): Likewise.
4223         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4224         (_FP_MUL_MEAT_2_gmp): Likewise.
4225         (_FP_MUL_MEAT_2_120_240_double): Likewise.
4226         (_FP_SQRT_MEAT_2): Likewise.
4227         (_FP_FRAC_ASSEMBLE_2): Likewise.
4228         (_FP_FRAC_DISASSEMBLE_2): Likewise.
4229         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4230         (_FP_FRAC_CLZ_4): Likewise.
4231         (_FP_MUL_MEAT_4_wide): Likewise.
4232         (_FP_MUL_MEAT_4_gmp): Likewise.
4233         (_FP_SQRT_MEAT_4): Likewise.
4234         (_FP_FRAC_ASSEMBLE_4): Likewise.
4235         (_FP_FRAC_DISASSEMBLE_4): Likewise.
4236         * soft-fp/op-common.h (_FP_CMP): Likewise.
4237         (_FP_CMP_EQ): Likewise.
4238         (_FP_CMP_UNORD): Likewise.
4239         (_FP_TO_INT): Likewise.
4240         (_FP_FROM_INT): Likewise.
4241         [!__FP_CLZ] (__FP_CLZ): Likewise.
4242         (_FP_DIV_HELP_imm): Likewise.
4243         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4244         Likewise.
4245         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4246         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4247         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4248         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4250         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4251         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4252         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4253         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4254         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4255         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4256         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4257         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4258         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4259         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4260         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4261         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4262         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4263         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4264         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4265         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4268         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4269         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4270         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4271         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4272         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4273         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4274         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4275         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4276         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4277         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4278         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4279         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4280         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4281         (FP_UNPACK_RAW_SP): Likewise.
4282         (FP_PACK_RAW_S): Likewise.
4283         (FP_PACK_RAW_SP): Likewise.
4284         (FP_UNPACK_S): Likewise.
4285         (FP_UNPACK_SP): Likewise.
4286         (FP_UNPACK_SEMIRAW_S): Likewise.
4287         (FP_UNPACK_SEMIRAW_SP): Likewise.
4288         (FP_PACK_S): Likewise.
4289         (FP_PACK_SP): Likewise.
4290         (FP_PACK_SEMIRAW_S): Likewise.
4291         (FP_PACK_SEMIRAW_SP): Likewise.
4292         (_FP_SQRT_MEAT_S): Likewise.
4293         (FP_CMP_S): Likewise.
4294         (FP_CMP_EQ_S): Likewise.
4295         (FP_CMP_UNORD_S): Likewise.
4296         (FP_TO_INT_S): Likewise.
4297         (FP_FROM_INT_S): Likewise.
4299         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4301         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4302         (FP_EX_INVALID_IMZ): Likewise.
4303         (FP_EX_INVALID_IMZ_FMA): Likewise.
4304         (FP_EX_INVALID_ISI): Likewise.
4305         (FP_EX_INVALID_ZDZ): Likewise.
4306         (FP_EX_INVALID_IDI): Likewise.
4307         (FP_EX_INVALID_SQRT): Likewise.
4308         (FP_EX_INVALID_CVI): Likewise.
4309         (FP_EX_INVALID_VC): Likewise.
4310         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4311         "invalid" exceptions.
4312         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4313         (_FP_ADD_INTERNAL): Likewise.
4314         (_FP_MUL): Likewise.
4315         (_FP_FMA): Likewise.
4316         (_FP_DIV): Likewise.
4317         (_FP_CMP_CHECK_NAN): Likewise.
4318         (_FP_SQRT): Likewise.
4319         (_FP_TO_INT): Likewise.
4320         (FP_EXTEND): Likewise.
4322 2014-10-09  Allan McRae  <allan@archlinux.org>
4324         * po/fr.po: Update French translation from translation project.
4326 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4328         [BZ #14132]
4329         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4330         of INTDEF.
4331         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4332         (__cxa_atexit): Use libc_hidden_proto.
4333         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4335         [BZ #14132]
4336         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4337         declaration.
4338         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4339         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4340         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4341         [!_ISOMAC] (__iswctype_internal): Likewise.
4342         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4343         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4344         alias.
4345         (fcntl): Remove __fcntl_internal alias.
4346         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4347         __connect_internal alias.
4348         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4349         Likewise.
4351         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4352         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4353         FP_DENORM_ZERO.
4354         (_FP_CHECK_FLUSH_ZERO): New macro.
4355         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4356         (_FP_CMP): Likewise.
4357         (_FP_CMP_EQ): Likewise.
4358         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4359         FP_DENORM_ZERO.
4360         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4361         (FP_TRUNC): Likewise.
4363         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4364         treated as invalid conversion, not as normal exponent.
4366         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4367         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4368         (_FP_CMP_EQ): Likewise.
4369         (_FP_CMP_UNORD): Likewise.
4370         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4371         (FP_CMP_EQ_D): Likewise.
4372         (FP_CMP_UNORD_D): Likewise.
4373         * soft-fp/extended.h (FP_CMP_E): Likewise.
4374         (FP_CMP_EQ_E): Likewise.
4375         (FP_CMP_UNORD_E): Likewise.
4376         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4377         (FP_CMP_EQ_Q): Likewise.
4378         (FP_CMP_UNORD_Q): Likewise.
4379         * soft-fp/single.h (FP_CMP_S): Likewise.
4380         (FP_CMP_EQ_S): Likewise.
4381         (FP_CMP_UNORD_S): Likewise.
4382         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4383         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4384         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4385         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4386         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4387         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4388         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4389         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4390         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4391         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4392         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4393         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4394         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4395         to FP_CMP_Q.
4396         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4397         FP_CMP_Q.
4398         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4399         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4400         FP_CMP_EQ_Q.
4401         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4402         FP_CMP_Q.
4403         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4404         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4405         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4406         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4407         FP_CMP_EQ_Q.
4408         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4409         FP_CMP_Q.
4410         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4411         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4412         FP_CMP_EQ_Q.
4413         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4414         FP_CMP_Q.
4415         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4416         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4417         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4418         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4419         FP_CMP_EQ_Q.
4421         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4422         a subnormal result, set the underflow exception if trapping on
4423         underflow is enabled.
4424         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4425         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4426         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4427         redefine to 0.
4428         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4429         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4430         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4431         * soft-fp/extendxftf2.c (__extendxftf2): Use
4432         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4434         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4435         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4436         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4437         FP_HANDLE_EXCEPTIONS.
4438         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4439         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4440         FP_HANDLE_EXCEPTIONS.
4441         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4442         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4443         FP_HANDLE_EXCEPTIONS.
4444         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4445         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4446         FP_HANDLE_EXCEPTIONS.
4448 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4450         [BZ #14132]
4451         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4452         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4453         use INTUSE.
4454         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4455         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4456         Remove alias.
4457         (__adjtimex): Define using libc_hidden_ver.
4458         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4459         Remove declaration.
4460         (ntp_gettime): Call __adjtimex directly.
4461         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4462         Remove declaration.
4463         (ntp_gettimex): Call __adjtimex directly.
4464         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4465         __adjtimex_internal alias.
4467 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4469         [BZ #17460]
4470         * nscd/nscd.c (more_help): Rewrite list of tables collection
4471         using xstrdup and asprintf.
4473         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4475 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4476             Roland McGrath  <roland@hack.frob.com>
4478         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4479         (do_lookup_unique): ... local function 'enter' here; update callers.
4481 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4483         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4484         compat_symbol calls on [SHARED].
4485         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4486         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4487         Remove.
4488         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4489         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4490         (oldsetrlimit): Remove.
4491         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4493         (lchown): New syscall entry.
4494         (oldsetrlimit): Remove.
4495         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4496         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4497         (oldsetrlimit): Remove.
4498         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4500         [BZ #14138]
4501         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4502         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4503         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4504         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4505         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4506         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4507         (fchown): Likewise.
4508         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4509         (fchown): Likewise.
4510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4511         Likewise.
4513 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4515         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4516         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4517         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4518         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4519         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4520         Likewise.
4521         (__old_sem_post): Likewise.
4523 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4525         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4526         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4527         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4528         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4529         Use INLINE_VSYSCALL macro.
4530         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4531         __vdso_clock_gettime.
4532         * sysdeps/unix/sysv/linux/tile/init-first.c
4533         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4534         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4535         __vdso_clock_gettime.
4537         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4538         to set up frame more cleanly.
4540         * sysdeps/tile/memcmp.c: New file.
4542         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4544         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4545         * sysdeps/tile/tilegx/strcasestr.c: New file.
4546         * sysdeps/tile/tilegx/strnlen.c: New file.
4547         * sysdeps/tile/tilegx/strstr.c: New file.
4549         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4551 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4553         * nptl/tst-setuid3.c: Write errors to stdout.
4555 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4557         * elf/dl-deps.c
4558         (preload): New functions broken out of _dl_map_object_deps.
4559         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4561 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4563         [BZ #14138]
4564         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4565         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4567 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4569         * sysdeps/mips/strcmp.S: New.
4571 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4573         [BZ #14138]
4574         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4575         (linkat): Likewise.
4576         (mkdirat): Likewise.
4577         (readlinkat): Likewise.
4578         (renameat): Likewise.
4579         (symlinkat): Likewise.
4580         (unlinkat): Likewise.
4581         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4582         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4583         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4584         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4585         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4586         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4587         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4589 2014-09-30  Will Newton  <will.newton@linaro.org>
4591         * math/math.h: Define long double math functions if
4592         _LIBC_TEST is defined.
4593         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4595         * localedata/Makefile: Move assignment to tests-special
4596         into an ifdef testing run-built-tests.
4597         * timezone/Makefile: Likewise.
4599 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4601         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4602         with $(BASH) not $(SHELL).
4604 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4605             Matthew LeGendre  <legendre1@llnl.gov>
4607         [BZ #17411]
4608         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4609         l_reloc_result.
4611 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4613         * stdio-common/printf_fp.c
4614         (hack_digit): New function, broken out of ...
4615         (__printf_fp): ... local function here.  Update call sites.
4616         hack_digit now takes an additional parameter that is a pointer
4617         to a struct of the referenced locals.  Those locals moved inside
4618         the struct and references updated.
4620 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4622         * aclocal.m4: Require autoconf 2.69.
4623         * configure: Regenerated.
4624         * sysdeps/aarch64/configure: Likewise.
4625         * sysdeps/alpha/configure: Likewise.
4626         * sysdeps/arm/armv7/configure: Likewise.
4627         * sysdeps/arm/configure: Likewise.
4628         * sysdeps/ia64/configure: Likewise.
4629         * sysdeps/mach/configure: Likewise.
4630         * sysdeps/mips/configure: Likewise.
4631         * sysdeps/s390/configure: Likewise.
4632         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4635         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4636         file.
4637         * sysdeps/ia64/configure.ac: Likewise.
4639 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4642         specify symbol version for ld.so.  Do not include entry for
4643         libpthread.
4644         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4645         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4646         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4648         [BZ #14171]
4649         * Makeconfig [$(build-shared) = yes]
4650         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4651         makefiles.
4652         [$(build-shared) = yes && $(soversions.mk-done) = t]
4653         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4654         [$(build-shared) = yes && $(soversions.mk-done) = t]
4655         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4656         to Makerules.
4657         [$(build-shared) = yes && $(soversions.mk-done) = t]
4658         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4659         here.
4660         [$(build-shared) = yes && $(soversions.mk-done) = t]
4661         (common-generated): Don't append gnu/lib-names.h and
4662         gnu/lib-names.stmp here.
4663         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4664         (lib-names-h-abi): New variable.
4665         [$(build-shared) = yes && $(soversions.mk-done) = t]
4666         (lib-names-stmp-abi): Likewise.
4667         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4668         abi-variants] (before-compile): Append
4669         $(common-objpfx)$(lib-names-h-abi).
4670         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4671         abi-variants] (common-generated): Append gnu/lib-names.h.
4672         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4673         abi-variants] (install-others-nosubdir): Depend on
4674         $(inst_includedir)/$(lib-names-h-abi).
4675         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4676         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4677         [$(build-shared) = yes && $(soversions.mk-done) = t]
4678         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4679         [$(build-shared) = yes && $(soversions.mk-done) = t]
4680         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4681         [$(build-shared) = yes && $(soversions.mk-done) = t]
4682         (common-generated): Append $(lib-names-h-abi) and
4683         $(lib-names-stmp-abi).
4684         * scripts/lib-names.awk: Do not handle multi being set.
4685         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4686         Remove variable.
4687         (abi-lp64_be-ld-soname): Likewise.
4688         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4689         Likewise.
4690         (abi-hard-ld-soname): Likewise.
4691         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4692         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4693         Remove variable.
4694         (abi-o32_hard-ld-soname): Likewise.
4695         (abi-o32_soft_2008-ld-soname): Likewise.
4696         (abi-o32_hard_2008-ld-soname): Likewise.
4697         (abi-n32_soft-ld-soname): Likewise.
4698         (abi-n32_hard-ld-soname): Likewise.
4699         (abi-n32_soft_2008-ld-soname): Likewise.
4700         (abi-n32_hard_2008-ld-soname): Likewise.
4701         (abi-n64_soft-ld-soname): Likewise.
4702         (abi-n64_hard-ld-soname): Likewise.
4703         (abi-n64_soft_2008-ld-soname): Likewise.
4704         (abi-n64_hard_2008-ld-soname): Likewise.
4705         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4706         Likewise.
4707         (abi-64-v2-ld-soname): Likewise.
4708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4709         ld.so entries.
4710         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4711         variable.
4712         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4713         entry.
4714         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4715         variable.
4716         (abi-64-ld-soname): Likewise.
4717         (abi-x32-ld-soname): Likewise.
4718         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4719         entry.
4720         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4722 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4724         [BZ #14138]
4725         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4726         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4727         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4728         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4729         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4730         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4731         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4732         syscall entry for GLIBC_2.2 symbol version.
4733         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4734         Likewise.
4735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4736         (setrlimit): Likewise.
4737         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4738         Likewise.
4740 2014-09-23  Will Newton  <will.newton@linaro.org>
4742         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4743         _LINUX_ARM_SYSDEP_H include guard too.
4744         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4745         define.
4747 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4749         * sysdeps/unix/sysv/linux/eventfd.c:
4750         Make first argument unsigned.
4751         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4752         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4754 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4756         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4757         * socket/sys/socket.h: Likewise
4758         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4760 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4762         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4764 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4766         * time/tst-ftime.c: New test.
4767         * time/Makefile (tests): Add tst-ftime.
4769 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4771         * soft-fp/extended.h: Fix comment formatting.
4772         * soft-fp/op-1.h: Likewise.
4773         * soft-fp/op-2.h: Likewise.
4774         * soft-fp/op-4.h: Likewise.
4775         * soft-fp/op-8.h: Likewise.
4776         * soft-fp/op-common.h: Likewise.
4777         * soft-fp/soft-fp.h: Likewise.
4779         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4781 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4783         [BZ #6652]
4784         * Makeconfig (soversions-default-setname): Remove variable.
4785         ($(common-objpfx)soversions.i): Don't pass default_setname to
4786         soversions.awk.
4787         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4788         oldest_abi to abi-versions.awk.
4789         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4790         * config.make.in (oldest-abi): Remove variable.
4791         * configure.ac (--enable-oldest-abi): Remove configure option.
4792         * configure: Regenerated.
4793         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4794         text.
4795         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4796         * scripts/soversions.awk: Do not handle default_setname variable.
4797         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4798         variable.
4799         * sysdeps/mach/hurd/configure: Regenerated.
4800         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4801         variable.
4802         * sysdeps/unix/sysv/linux/configure: Regenerated.
4804 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4806         * elf/Makefile (CFLAGS-interp.c): Remove.
4807         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4808         path string.
4809         * elf/interp.c: Include generated runtime-linker.h
4811         * Makerules (lib%.so): Don't include $(+interp) in
4812         prerequisites.
4813         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4814         * dlfcn/eval.c: Remove file.
4816         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4817         macros.
4819         [BZ #17266]
4820         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4821         4.2 and newer.
4823         [BZ #17370]
4824         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4826 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4827             Jakub Jelinek  <jakub@redhat.com>
4829         [BZ #17266]
4830         * libio/stdio.h: Check definition of __fortify_function
4831         instead of __extern_always_inline to include bits/stdio2.h.
4832         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4833         check if __extern_always_inline is defined.
4834         [__USE_MISC || __USE_XOPEN]: Likewise.
4835         [__USE_ISOC99] Likewise.
4836         * misc/sys/cdefs.h (__fortify_function): Define only if
4837         __extern_always_inline is defined.
4838         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4839         __extern_always_inline and __extern_inline only for g++-4.3
4840         and newer or a compatible gcc.
4842 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4844         [BZ #17371]
4845         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4846         last change to handle zero prefix length.
4848 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4850         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4851         _SC_REGEX_VERSION.
4853         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4854         _POSIX_RAW_SOCKETS.
4856 2014-09-13  Allan McRae  <allan@archlinux.org>
4858         * po/ru.po: Update Russian translation from translation project.
4860 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4862         * locale/programs/locale.c (show_locale_vars): Inline local function
4863         into its sole call site.  Clean up some style nits.
4864         (print_item): New function, broken out of ...
4865         (show_info): ... local function here.  Clean up style nits.
4867         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4868         out of ...
4869         (set_class_defaults): ... local function set_default here.
4870         Define set_default as a macro locally to pass constant parameters.
4871         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4872         rather than a shared local.
4874         * stdlib/rpmatch.c (try): New function, broken out of ...
4875         (rpmatch): ... local function here.  Also, prototypify definition.
4877 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4879         * scripts/soversions.awk: Do not handle configuration names.
4880         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4881         vendor and os variables to soversions.awk.
4882         * configure.ac: Do not modify gnu-* host_os.
4883         * configure: Regenerated
4884         * shlib-versions: Remove first column with configuration names.
4885         * nptl/shlib-versions: Likewise.
4886         * nptl_db/shlib-versions: Likewise.
4887         * sysdeps/hppa/shlib-versions: Likewise.
4888         * sysdeps/m68k/shlib-versions: Likewise.
4889         * sysdeps/mach/hurd/shlib-versions: Likewise.
4890         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4891         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4892         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4893         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4894         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4895         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4896         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4897         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4899         Likewise.
4900         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4901         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4902         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4903         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4904         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4905         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4906         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4907         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4910         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4912         Regenerated.
4913         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4915         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4917         * shlib-versions: Remove OS-specific entries.  Moved to files in
4918         sysdeps.
4919         * sysdeps/mach/hurd/shlib-versions: New file.
4920         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4922         * nptl/shlib-versions: Remove architecture-specific entries.
4923         Moved to files in sysdeps.
4924         * shlib-versions: Likewise.
4925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4926         file.
4927         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4928         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4929         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4930         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4932         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4933         (UDP_NO_CHECK6_RX): Likewise.
4935 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4937         * sysdeps/posix/sysconf.c (__sysconf): Spell
4938         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4940 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4942         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4943         loading.
4944         * iconv/Versions (__gconv_transliterate): Export for use from
4945         gconv modules.
4946         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4947         (struct __gconv_trans_data, __gconv_trans_fct,
4948         __gconv_trans_context_fct, __gconv_trans_query_fct,
4949         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4950         definitions.
4951         (struct __gconv_step_data): Remove __trans member.
4952         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4953         longer hidden.  Remove unused trans_data argument.
4954         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4955         (__gconv_translit_find): Remove declaration.
4956         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4957         prototype.
4958         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4959         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4960         trans_data argument.  Add hidden definition.
4961         (__gconv_translit_find): Remove.
4962         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4963         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4964         * iconv/skeleton.c: Remove transliteration initialization.
4965         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4966         __gconv_step_data initialization.
4967         * libio/iofwide.c (__libio_translit_): Remove.
4968         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4969         * wcsmbs/btowc.c (__btowc): Likewise.
4970         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4971         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4972         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4973         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4974         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4975         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4976         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4977         * wcsmbs/wctob.c (wctob): Likewise.
4979 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4981         [BZ #16194]
4982         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4983         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4984         register usage.
4985         * sysdeps/x86/Makefile: Adjust.
4987 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4988             Roland McGrath  <roland@hack.frob.com>
4990         * locale/weight.h: Add include guard.
4991         (findidx): Make static rather than auto; take new parameters
4992         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4993         * locale/weightwc.h: Likewise.
4994         * posix/fnmatch_loop.c
4995         (FCT): Change type of EXTRA from int32_t to wint_t.
4996         Don't include either header inside the function.
4997         Call FINDIDX rather than findidx, and pass new arguments.
4998         #undef FINDIDX at the end of the file.
4999         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5000         FINDIDX before including fnmatch_loop.c for the non-wide version.
5001         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5002         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5003         for the wide version.
5004         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5005         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5006         Pass new arguments to findidx.
5007         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5008         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5009         Don't #include it inside the function.  Pass new arguments to findidx.
5010         * posix/regex_internal.h
5011         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5012         (re_string_elem_size_at): Don't #include it inside the function.
5013         Pass new arguments to findidx.
5014         * string/strcoll_l.c: #include WEIGHT_H at top level.
5015         (get_next_seq): Don't #include it inside the function.
5016         Pass new arguments to findidx.
5017         (get_next_seq_nocache): Likewise.
5018         * string/strxfrm_l.c: #include WEIGHT_H at top level.
5019         (STRXFRM): Don't #include it inside the function.
5020         Pass new arguments to findidx.
5022 2014-09-11  Florian Weimer  <fweimer@redhat.com>
5024         [BZ #17344]
5025         * malloc/malloc.c (unlink): Turn asserts into a call to
5026         malloc_printerr.
5028 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
5030         [BZ #17370]
5031         * libio/wfileops (do_ftell_wide): Free OUT.
5033 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
5035         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5037 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5039         [BZ #17363]
5040         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5041         group if the current group is empty.
5043 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5045         * benchtests/bench-memset.c (test_main): Add more test from size
5046         from 32 to 512 bytes.
5047         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5048         Add POWER8 memset object.
5049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5050         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5051         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5052         implementation.
5053         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5054         Likewise.
5055         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5056         multiarch POWER8 memset optimization.
5057         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5058         POWER8 memset optimization.
5060         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5061         Remove bzero multiarch objects.
5062         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5063         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5064         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5065         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5066         Remove define.
5067         [__bzero]: Redefine to specific name.
5068         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5069         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5070         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5071         define.
5072         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5073         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5075 2014-09-10  Florian Weimer  <fweimer@redhat.com>
5077         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5078         warnings into errors.
5080         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5081         __cxa_thread_atexit_impl prototype.
5083 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5085         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5086         Fix capitalization of error message.
5088 2014-09-09  Steve Ellcey  <sellcey@mips.com>
5090         * sysdeps/mips/preconfigure: Modify ABI tests.
5092 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
5094         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5096 2014-09-07  Roland McGrath  <roland@hack.frob.com>
5097             Carlos O'Donell  <carlos@systemhalted.org>
5099         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5100         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5101         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5102         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5103         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5104         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5105         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5106         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5107         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5108         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5109         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5110         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5111         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5112         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5113         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5114         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5115         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5116         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5117         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5118         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5119         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5120         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5121         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5122         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5123         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5124         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5125         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5126         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5127         Deconditionalize the code that was previously under [RESET_PID].
5128         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5129         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5130         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5131         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5132         include sysdep.h.
5134 2014-09-08  Allan McRae  <allan@archlinux.org>
5136         * version.h (RELEASE): Set to "development".
5137         (VERSION): Set to "2.20.90"
5139 2014-09-07  Allan McRae  <allan@archlinux.org
5141         * version.h (RELEASE): Set to "stable".
5142         (VERSION): Set to "2.20"
5143         * include/features.h (__GLIBC_MINOR__): Set to 20.
5145         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5146         Liebler.
5148         * po/ko.po: Update Korean translation from translation project.
5150 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
5152         [BZ #17354]
5153         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5154         macro for handling signed relocations.
5156 2014-09-03  Florian Weimer  <fweimer@redhat.com>
5158         [BZ #17325]
5159         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5160         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5161         assert.
5162         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5163         * iconvdata/ibm935.c (BODY): Likewise.
5164         * iconvdata/ibm937.c (BODY): Likewise.
5165         * iconvdata/ibm939.c (BODY): Likewise.
5166         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5167         assert.
5168         * iconvdata/Makefile (iconv-test.out): Pass module list to test
5169         script.
5170         * iconvdata/run-iconv-test.sh: New test loop for checking for
5171         decoder crashers.
5173 2014-09-02  Khem Raj  <raj.khem@gmail.com>
5175         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5176         libm_hidden_ver.
5178 2014-09-01  Allan McRae  <allan@archlinux.org>
5180         * po/eo.po: Update Esperanto translation from translation project.
5182         * po/ca.po: Update Catalan translation from translation project.
5184 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5186         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5187         __proc_dostop call.
5189 2014-08-27  Mark Wielaard  <mjw@redhat.com>
5191         [BZ #17319]
5192         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5193         to call set_thread_area instead of hand written asm.
5194         (__NR_set_thread_area): Removed define.
5195         (TLS_FLAG_WRITABLE): Likewise.
5196         (__ASSUME_SET_THREAD_AREA): Remove check.
5197         (TLS_EBX_ARG): Remove define.
5198         (TLS_LOAD_EBX): Likewise.
5200 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5202         Simplify atomicity of socket creation in bind.
5204         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5205         looking up the name after linking the file.
5207 2014-08-27  Allan McRae  <allan@archlinux.org>
5209         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5211 2014-08-26  Florian Weimer  <fweimer@redhat.com>
5213         [BZ #17187]
5214         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5215         trans_compare, open_translit, __gconv_translit_find):
5216         Remove module loading code.
5218 2014-08-26  Allan McRae  <allan@archlinux.org>
5220         * po/vi.po: Update Vietnamese translation from translation project.
5222         * po/uk.po: Update Ukrainian translation from translation project.
5224         * po/fr.po: Update French translation from translation project.
5226         * po/ru.po: Update Russian translation from translation project.
5228         * po/pl.po: Update Polish translation from translation project.
5230         * po/cs.po: Update Czech translation from translation project.
5232         * po/de.po: Update German translation from translation project.
5234         * po/bg.po: Update Bulgarian translation from translation project.
5236         * po/sv.po: Update Sweedish translation from translation project.
5238         * po/nl.po: Update Dutch translation from translation project.
5240         * po/es.po: Update Spanish translation from translation project.
5242 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5244         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5246         * catgets/Makefile (CPPFLAGS-gencat): Remove.
5247         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5248         (CPPFLAGS-iconvconfig): Likewise.
5249         * timezone/Makefile (CPPFLAGS-zic): Likewise.
5251         * include/libc-symbols.h: Remove unnecessary check for
5252         NOT_IN_libc.
5253         * nptl/pthreadP.h: Likewise.
5254         * sysdeps/aarch64/setjmp.S: Likewise.
5255         * sysdeps/alpha/setjmp.S: Likewise.
5256         * sysdeps/arm/sysdep.h: Likewise.
5257         * sysdeps/i386/setjmp.S: Likewise.
5258         * sysdeps/m68k/setjmp.c: Likewise.
5259         * sysdeps/posix/getcwd.c: Likewise.
5260         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5261         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5262         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5263         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5264         * sysdeps/sh/sh3/setjmp.S: Likewise.
5265         * sysdeps/sh/sh4/setjmp.S: Likewise.
5266         * sysdeps/unix/alpha/sysdep.h: Likewise.
5267         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5268         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5269         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5270         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5274         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5275         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5278         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5280         * sysdeps/x86_64/setjmp.S: Likewise.
5282 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5284         [BZ #17263]
5285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5286         <stdint.h>.
5287         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5288         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5290 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5292         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5294         [BZ #17262]
5295         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5296         and __x86_64__ when disabling x87 inline functions.
5298 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5300         [BZ #17259]
5301         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5302         asm statement with __cpuid_count.
5304 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5306         * configure.ac: Change __ehdr_start code to dereference the struct.
5307         Run readelf on the output to look for relocations.
5308         * configure: Regenerated.
5310 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5312         [BZ #17261]
5313         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5314         value to 0.
5315         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5317 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5319         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5321 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5323         [BZ #16892]
5324         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5325         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5327 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5329         * malloc/malloc.c: Fix typo in comment.
5331 2014-08-09  Allan McRae  <allan@archlinux.org>
5333         * Regenerate libc.po.
5335 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5337         * intl/tst-gettext2.sh: Check every lang file for creation.
5339 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5341         * sysdeps/aarch64/fpu/math_private.h
5342         (libc_feholdsetround_noex_aarch64_ctx): New function.
5344 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5346         * sysdeps/arm/armv6/strcpy.S (strcpy):
5347         Fix performance issue in misaligned cases.
5349 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5351         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5352         Move definition from termios.h.
5353         (struct termio): Likewise.
5354         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5355         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5356         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5357         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5358         Likewise.
5359         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5360         Move definition to ioctl-types.h
5361         (struct termio): Likewise.
5362         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5363         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5364         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5365         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5366         Likewise.
5368 2014-08-05  Richard Henderson  <rth@redhat.com>
5370         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5371         exceptions.
5372         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5373         Add fraiseexcpt.
5374         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5375         Use __feraiseexcept.
5376         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5377         Protect libm symbols with IS_IN_libm.
5379         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5381 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5383         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5385 2014-08-04  Will Newton  <will.newton@linaro.org>
5387         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5388         file.
5390 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5392         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5393         variants for each function.
5395 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5397         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5398         appended ...
5399         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5400         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5401         appended ...
5402         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5403         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5404         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5405         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5406         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5407         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5408         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5409         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5410         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5411         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5412         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5413         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5414         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5415         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5416         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5417         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5418         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5419         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5420         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5421         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5422         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5423         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5424         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5425         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5426         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5427         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5428         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5429         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5430         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5431         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5432         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5433         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5434         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5435         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5436         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5437         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5438         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5439         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5440         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5441         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5442         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5443         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5444         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5445         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5446         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5447         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5448         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5449         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5450         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5451         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5452         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5453         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5454         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5455         Update #include.
5456         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5457         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5459 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5461         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5462         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5463         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5464         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5465         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5466         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5468 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5470         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5471         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5472         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5473         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5475 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5477         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5478         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5479         (__libc_vfork): Define function under this name.
5480         (__vfork): Define as an alias.
5481         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5482         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5484 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5486         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5487         that was previously under [RESET_PID].
5488         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5490 2014-08-04  Andreas Schwab  <schwab@suse.de>
5492         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5494 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5496         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5497         (main): Likewise.
5499 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5501         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5503 2014-08-01  Richard Henderon  <rth@redhat.com>
5505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5506         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5507         typo in exact zero test.
5508         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5509         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5510         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5512 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5514         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5515         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5516         * sysdeps/arm/sysdep.h: ... here.
5517         [!__ASSEMBLER__]: Include <stdint.h>.
5519 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5521         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5522         (HAVE_WCTYPE_H): Likewise.
5523         (HAVE_ISWCTYPE): Likewise.
5524         (ENABLE_NLS): Likewise.
5525         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5526         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5528         * posix/regex_internal.c: Check if DEBUG is defined and is
5529         set.
5531         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5532         (HAVE_MBSRTOWCS): Likewise.
5533         * posix/fnmatch.c: Include string.h unconditionally.
5535 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5537         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5538         reversal.
5540 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5542         * sysdeps/generic/safe-fatal.h: New file.
5543         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5544         * nptl/forward.c: Include it.
5545         (__pthread_unwind): Use __safe_fatal as default action, rather
5546         than a bogus use of INTERNAL_SYSCALL that could never work.
5548         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5549         * configure.ac (libc_cv_builtin_trap): New test.
5550         * configure: Regenerated.
5551         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5552         (ABORT_INSTRUCTION): Define using __builtin_trap.
5554         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5555         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5556         * sysdeps/nptl/nptl-signals.h: New file.
5557         * nptl/pthreadP.h: Include <nptl-signals.h>.
5559 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5561         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5562         (ONE_DIRECTION): Define.
5563         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5564         (ONE_DIRECTION): Define.
5565         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5566         (ONE_DIRECTION): Define.
5568 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5570         * sysdeps/s390/Makefile: Delete file.
5571         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5572         * sysdeps/s390/__longjmp.c: Delete file.
5573         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5574         Remove fields __flags and __reserved.
5575         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5576         and add versioning.
5577         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5578         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5579         * sysdeps/s390/rtld-setjmp.S: Likewise.
5580         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5581         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5582         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5583         * sysdeps/s390/s390-32/setjmp.S: ... here.
5584         Add versioning.
5585         (__sigsetjmp): Remove setting __flags field.
5586         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5587         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5588         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5589         * sysdeps/s390/s390-64/setjmp.S: ... here.
5590         Add versioning.
5591         (__sigsetjmp): Remove setting __flags field.
5592         * sysdeps/s390/setjmp.S: Delete file.
5593         * sysdeps/s390/sigjmp.c: Likewise.
5594         * sysdeps/s390/v1-longjmp.c: Likewise.
5595         * sysdeps/s390/v1-setjmp.h: Likewise.
5596         * sysdeps/s390/v1-sigjmp.c: Likewise.
5597         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5598         Remove v1-longjmp_chk.
5599         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5600         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5601         Include debug/longjmp_chk.c and add versioning.
5602         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5603         Include nptl/pt-longjmp.c and add versioning.
5604         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5605         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5606         Include __longjmp.c.
5607         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5608         Move to ...
5609         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5610         (__getcontext): Remove setting __flags field.
5611         Add versioning.
5612         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5613         Don't restore upper high grps.
5614         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5615         Likewise.
5616         (__swapcontext): Remove setting uc_flags field.
5617         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5618         Delete file.
5619         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5620         Include __longjmp.c.
5621         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5622         Move to ...
5623         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5624         (__getcontext): Remove setting __flags field.
5625         Add versioning.
5626         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5627         (__swapcontext): Remove setting uc_flags field.
5628         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5629         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5630         Remove fields uc_high_gprs and __reserved.
5631         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5632         New file with reverted content.
5633         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5634         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5635         Regenerated.
5636         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5637         Regenerated.
5639 2014-07-31  Andreas Schwab  <schwab@suse.de>
5641         * config.h.in (HAVE_IFUNC): Define to 0.
5642         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5643         definedness.
5645 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5647         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5648         memmove-avx-unaligned, memcpy-avx-unaligned and
5649         mempcpy-avx-unaligned.
5650         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5651         Add tests for AVX memcpy functions.
5652         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5653         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5654         memcpy_chk.
5655         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5656         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5657         memmove_chk.
5658         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5659         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5660         mempcpy_chk.
5661         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5662         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5663         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5665 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5667         [BZ #17213]
5668         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5669         powerpc64le.
5671 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5673         [BZ #16839]
5674         * manual/llio.texi: Add section about open file description locks.
5675         * manual/examples/ofdlocks.c: Example of open file description
5676         lock usage.
5677         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5678         F_OFD_SETLK, and F_OFD_SETLKW.
5680 2014-07-23  Allan McRae  <allan@archlinux.org>
5682         * po/es.po: Update Spanish translation from translation project.
5684 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5686         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5688 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5690         [BZ #17078]
5691         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5692         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5693         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5695 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5697         [BZ #17088]
5698         * math/fesetenv.c (__fesetenv)
5699         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5700         * math/feupdateenv.c (__feupdateenv)
5701         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5703         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5704         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5705         (__ASSUME_SOCKETCALL): Do not define.
5707         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5708         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5709         (__ASSUME_SOCKETCALL): Do not define.
5710         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5711         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5712         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5713         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5714         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5715         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5716         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5717         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5719         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5720         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5721         (__ASSUME_SOCKETCALL): Do not define.
5722         (__ASSUME_IPC64): Define unconditionally.
5723         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5724         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5725         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5726         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5727         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5728         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5729         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5730         Likewise.
5732         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5733         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5734         (__ASSUME_SOCKETCALL): Do not define.
5735         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5736         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5737         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5738         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5739         (__ASSUME_REQUEUE_PI): Define unconditionally.
5740         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5741         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5742         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5743         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5744         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5745         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5747         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5748         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5749         (__ASSUME_SOCKETCALL): Do not define.
5750         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5751         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5752         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5753         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5754         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5755         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5757         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5758         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5759         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5760         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5761         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5762         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5763         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5764         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5765         (__ASSUME_GETCPU_SYSCALL): Likewise.
5767         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5768         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5769         cases for individual architectures.
5770         * sysdeps/gnu/configure: Regenerated.
5771         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5772         LIBC_SLIBDIR_RTLDDIR.
5773         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5774         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5775         LIBC_SLIBDIR_RTLDDIR.
5776         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5778         LIBC_SLIBDIR_RTLDDIR.
5779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5780         Regenerated.
5781         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5782         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5783         file.
5784         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5785         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5786         file.
5787         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5788         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5789         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5790         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5792         * sysdeps/aarch64/shlib-versions: Move to ...
5793         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5794         * sysdeps/alpha/shlib-versions: Move to ...
5795         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5796         * sysdeps/arm/shlib-versions: Move to ...
5797         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5798         * sysdeps/hppa/shlib-versions: Move all contents except for
5799         libgcc_s entry to ...
5800         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5801         entry from ...
5802         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5803         * sysdeps/ia64/shlib-versions: Move to ...
5804         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5805         entry from ...
5806         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5807         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5808         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5809         * sysdeps/microblaze/shlib-versions: Move to ...
5810         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5811         * sysdeps/mips/shlib-versions: Move to ...
5812         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5813         entry from ...
5814         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5815         * sysdeps/tile/shlib-versions: Move to ...
5816         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5817         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5818         from ...
5819         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5820         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5821         entry from ...
5822         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5824 2014-07-17  Will Newton  <will.newton@linaro.org>
5826         * sysdeps/arm/bits/atomic.h
5827         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5828         (__arch_compare_and_exchange_bool_16_int): Likewise.
5829         (__arch_compare_and_exchange_bool_64_int): Likewise.
5831         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5832         into an #else block.
5834 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5836         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5837         just Linux configurations.  Test empirically that the compiler sets
5838         __ARM_EABI__, rather than using the tuple to decide.
5839         * sysdeps/arm/preconfigure: Regenerated.
5840         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5841         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5842         contents appended ...
5843         * sysdeps/arm/configure.ac: ... here.
5844         * sysdeps/arm/configure: Regenerated.
5846 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5848         * nptl/pthread_kill.c: New file.
5849         * nptl/pthread_sigmask.c: New file.
5850         * nptl/pthread_sigqueue.c: New file.
5852         * sysdeps/nptl/lowlevellock.h: New file.
5853         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5854         * sysdeps/nptl/lowlevellock-futex.h: New file.
5856         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5857         Remove dead declarations.
5859 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5861         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5862         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5863         config-cflags-avx2.
5864         * sysdeps/x86_64/configure.ac: Likewise.
5865         * sysdeps/i386/configure: Regenerated.
5866         * sysdeps/x86_64/configure: Likewise.
5867         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5868         memset-avx2 only if config-cflags-avx2 is yes.
5869         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5870         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5871         defined.
5872         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5873         only if HAVE_AVX2_SUPPORT is defined.
5874         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5876 2014-07-14  Alan Modra  <amodra@gmail.com>
5878         [BZ #17153]
5879         * elf/elf.h (DT_PPC64_NUM): Correct value.
5880         * NEWS: Add to fixed bug list.
5882 2014-07-13  Jim Meyering  <meyering@fb.com>
5884         [BZ 17150]
5885         regex: don't deref NULL upon heap allocation failure
5886         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5887         failure in one more place.
5888         To trigger the segfault, configure grep -with-included-regex,
5889         build it, and run these commands:
5890         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5892 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5894         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5896 2014-07-11  Richard Henderson  <rth@redhat.com>
5898         * sysdeps/aarch64/libm-test-ulps: Update.
5900 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5902         [BZ #17135]
5903         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5904         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5905         (__nptl_setxid): Initialize error member.  Call
5906         __nptl_setxid_error.
5907         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5908         * nptl/descr.h (struct xid_command): Add error member.
5909         * nptl/tst-setuid3.c: New file.
5910         * nptl/Makefile (tests): Add it.
5912 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5914         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5915         New define.
5916         (__lll_trylock): Use __lll_base_trylock.
5917         (__lll_cond_trylock): Likewise.
5919 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5921         * nptl/pthread_create.c (start_thread): Use atomic_or and
5922         lll_futex_wake directly rather than lll_robust_dead.
5923         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5924         (lll_robust_dead): Macro removed.
5925         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5926         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5927         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5928         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5929         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5930         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5931         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5932         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5933         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5934         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5935         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5936         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5937         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5938         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5939         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5941         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5942         Use atomic_compare_and_exchange_val_acq directly rather than
5943         lll_robust_trylock.
5944         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5945         (__lll_robust_trylock, lll_robust_trylock): Removed.
5946         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5947         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5948         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5949         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5950         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5951         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5952         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5953         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5954         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5955         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5956         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5957         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5958         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5959         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5961 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5963         * manual/locale.texi (Locale Names): New section documenting
5964         locale name syntax.  Adjust menu and node chaining accordingly.
5965         (Choosing Locale): Reference Locale Names, Locale Categories.
5966         Mention setting LC_ALL=C.  Reflect that name syntax is now
5967         documented.
5968         (Locale Categories): New section title.  Reference Locale Names.
5969         LC_ALL is an environment variable, but not a category.
5970         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5971         description, now in Locale Name.  Reference that section.  Locale
5972         name syntax is now documented.
5974 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5976         [BZ #17137]
5977         * locale/findlocale.c (name_present, valid_locale_name): New
5978         functions.
5979         (_nl_find_locale): Use the loc_name variable to store name
5980         candidates.  Call name_present and valid_locale_name to check and
5981         validate locale names.  Return an error if the locale is invalid.
5983 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5985         * locale/setlocale.c (setlocale): Use strdup for allocating
5986         composite name copy.
5988 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5990         Sync up with gnulib.
5991         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5992         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5993         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5994         and _GL_ARG_NONNULL.
5995         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5996         [!_LIBC]: Include code for Windows and Cygwin.
5997         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5998         Include prototype for int strerror_r.
5999         [!_LIBC] (is_open): New function.
6000         (flush_stdout): New function.
6001         (print_errno_message): Use it.
6002         (error): Likewise.
6003         (error_at_line): Likewise.
6004         (error_tail) Add function attribute macros.  Use
6005         __builtin_expect.
6007         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6009         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6011         * io/ftw.c: Include sys/param.h unconditionally.
6013         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6015         [BZ #17125]
6016         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6017         libc_freeres_ptr.
6018         (freecache): New function to free CACHE on exit.
6020         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6021         initialization.
6023 2014-07-09  David S. Miller  <davem@davemloft.net>
6025         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6027         * sysdeps/sparc/nptl/internaltypes.h: Delete.
6028         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6029         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6030         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6031         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6032         * sysdeps/sparc/nptl/sem_init.c: Likewise.
6033         * sysdeps/sparc/nptl/sem_post.c: Likewise.
6034         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6035         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6036         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6037         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6038         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6039         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6041 2014-07-09  Andreas Schwab  <schwab@suse.de>
6043         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6044         output.
6045         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6046         (do_test): Likewise.
6048         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6050 2014-07-09  Will Newton  <will.newton@linaro.org>
6052         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6053         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6054         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6055         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6056         * sysdeps/hppa/start.S (_start): Likewise.
6058 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
6060         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6062         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6063         defined.
6065 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6067         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6068         after checking that it is non-NULL.
6070         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6072 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6074         * sysdeps/powerpc/memmove.c: Remove file.
6075         * sysdeps/powerpc/powerpc32/power4/memcopy.h
6076         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6077         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6078         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6079         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6080         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6081         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6082         string memmove instead of removed powerpc one.
6084         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6085         [weak_alias]: Fix compiler warning due trailing data.
6086         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6087         [weak_alias]: Likewise.
6088         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6089         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6092         (__libc_ifunc_impl_list): Add memmove functions.
6094 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6096         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6097         Remove code.
6098         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6099         Likewise
6100         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6101         Likewise
6102         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6103         Likewise
6104         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6105         Likewise
6106         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6107         Likewise
6108         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6109         Likewise
6110         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6111         Likewise
6112         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6113         Likewise
6114         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6115         Likewise
6116         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6117         Likewise
6118         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6119         Likewise
6120         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6121         Likewise
6122         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6123         Likewise
6124         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6125         Likewise
6126         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6127         Likewise
6128         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6129         Likewise
6131 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6133         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6134         to avoid alignment traps in non-cacheable memory.
6135         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6138         multiarch objects.
6139         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6140         file: multiarch power7 memmove.
6141         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6142         multiarch default memmove.
6143         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6144         multiarch memove for powerpc32/power4.
6146         * string/bcopy.c: Use full path to include memmove.c.
6147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6148         multiarch objects.
6149         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6150         bcopy for powerpc64.
6151         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6152         bcopy for powerpc64.
6153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6154         and memmove implementations.
6155         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6156         optimized multiarch memmove for POWER7/powerpc64.
6157         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6158         default multiarch memmove for powerpc64.
6159         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6160         multiarch for powerpc64.
6161         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6162         for POWER7/powerpc64.
6163         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6164         memmove for POWER7/powerpc64.
6166         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6167         glibc default one.
6169         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6170         __ELF_NATIVE_CLASS equal to 64.
6172 2014-07-07  Roland McGrath  <roland@hack.frob.com>
6174         * sysdeps/nptl/lowlevellock.h: File removed.
6176         * NEWS: NPTL is no longer an add-on!
6177         * nptl/internaltypes.h: Moved ...
6178         * sysdeps/nptl/internaltypes.h: ... here.
6179         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6180         * sysdeps/nptl/fork.c: Likewise.
6181         * sysdeps/nptl/gai_misc.h: Likewise.
6182         * sysdeps/nptl/librt-cancellation.c: Likewise.
6183         * sysdeps/nptl/jmp-unwind.c: Likewise.
6184         * sysdeps/nptl/setxid.h: Likewise.
6185         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6186         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6187         * sysdeps/unix/sysv/linux/arm/Implies: New file.
6188         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6189         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6190         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6191         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6192         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6193         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6194         * sysdeps/unix/sysv/linux/mips/Implies: New file.
6195         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6196         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6197         * sysdeps/unix/sysv/linux/sh/Implies: New file.
6198         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6199         * sysdeps/unix/sysv/linux/tile/Implies: New file.
6200         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6201         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6202         * nptl/Makeconfig: Moved ...
6203         * sysdeps/nptl/Makeconfig: ... here.
6204         * nptl/configure: File removed.
6205         * nptl/ANNOUNCE: File removed.
6206         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6207         * sysdeps/unix/sysv/linux/configure: Regenerated.
6209         * nptl/Makefile (routines): Add libc_pthread_init,
6210         libc_multiple_threads, register-atfork and unregister-atfork.
6211         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6212         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6213         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6214         pthread-pi-defines.sym, structsem.sym.
6215         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6216         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6217         [$(subdir) = nptl] (tests): Add tst-setgetname.
6218         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6219         * sysdeps/unix/sysv/linux/sigaction.c: Just include
6220         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6221         [!LIBC_SIGACTION]: Remove aliases.
6222         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6223         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6224         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6225         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6226         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6227         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6228         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6229         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6230         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6231         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6232         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6233         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6234         __libc_allocate_rtsig_private.
6235         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6236         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6237         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6238         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6239         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6240         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6241         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6242         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6243         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6244         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6245         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6246         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6247         * nptl/internaltypes.h: ... here.
6248         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6249         * sysdeps/nptl/jmp-unwind.c: ... here.
6250         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6251         * nptl/libc-lowlevellock.c: ... here.
6252         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6253         * nptl/libc_multiple_threads.c: ... here.
6254         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6255         * nptl/libc_pthread_init.c: ... here.
6256         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6257         * nptl/lowlevelbarrier.sym: ... here.
6258         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6259         * nptl/lowlevelcond.sym: ... here.
6260         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6261         * nptl/lowlevellock.c: ... here.
6262         * nptl/lowlevellock.h: Moved ...
6263         * sysdeps/nptl/lowlevellock.h: ... here.
6264         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6265         * nptl/lowlevelrobustlock.c: ... here.
6266         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6267         * nptl/lowlevelrobustlock.sym: ... here.
6268         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6269         * nptl/lowlevelrwlock.sym: ... here.
6270         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6271         * nptl/pt-fork.c: ... here.
6272         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6273         * nptl/pthread-pi-defines.sym: ... here.
6274         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6275         * nptl/pthread_attr_getaffinity.c: ... here.
6276         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6277         * nptl/pthread_attr_setaffinity.c: ... here.
6278         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6279         * nptl/pthread_mutex_cond_lock.c: ... here.
6280         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6281         Update #include.
6282         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6283         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6284         * nptl/pthread_once.c: ... here, replacing old file.
6285         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6286         * nptl/pthread_yield.c: ... here.
6287         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6288         * nptl/register-atfork.c: ... here.
6289         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6290         * nptl/sem_post.c: ... here.
6291         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6292         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6293         * nptl/sem_timedwait.c: ... here.
6294         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6295         * nptl/sem_trywait.c: ... here.
6296         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6297         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6298         * nptl/sem_wait.c: ... here.
6299         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6300         * nptl/structsem.sym: ... here.
6301         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6302         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6303         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6304         * nptl/unregister-atfork.c: ... here.
6305         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6306         * nptl/unwindbuf.sym: ... here.
6307         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6308         * sysdeps/nptl/fork.c: ... here.
6309         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6310         * sysdeps/nptl/fork.h: ... here.
6311         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6312         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6313         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6314         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6315         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6316         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6317         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6318         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6319         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6320         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6321         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6322         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6323         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6324         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6325         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6326         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6327         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6328         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6329         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6330         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6331         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6332         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6333         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6334         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6335         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6336         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6337         * sysdeps/unix/sysv/linux/raise.c: ... here.
6338         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6339         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6340         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6341         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6342         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6343         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6344         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6345         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6346         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6347         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6348         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6349         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6350         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6351         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6352         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6354 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6356         * sysdeps/generic/memcopy.h: Add comment for
6357         MEMCPY_OK_FOR_FWD_MEMMOVE.
6359 2014-07-04  Will Newton  <will.newton@linaro.org>
6361         * string/memchr.c: Merge from gnulib.
6362         [_LIBC]: Remove conditionals.
6363         (__ptr_t): Remove define.
6364         (LONG_MAX_32_BITS): Likewise.
6365         (LONG_MAX): Likewise.
6366         (MEMCHR): Use ANSI prototype and optimize algorithm.
6368         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6370 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6372         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6373         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6375         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6376         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6377         in a bare environment with no <stdlib.h> installed.
6378         * sysdeps/nptl/configure: Regenerated.
6380         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6382         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6383         AC_EGREP_CPP for kernel header checks, so they only succeed if
6384         including <linux/version.h> actually works right.
6385         * sysdeps/unix/sysv/linux/configure: Regenerated.
6387         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6388         value so it's not diagnosed as unused.
6390         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6391         thing) with "ifeq ($(subdir),rt)".
6393 2014-07-03  Richard Henderson  <rth@redhat.com>
6395         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6396         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6397         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6399         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6400         (math_force_eval): New.
6402         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6403         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6405         * sysdeps/alpha/fpu/s_round.c: Remove file.
6406         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6408         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6409         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6410         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6411         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6412         (_dl_start, print_statistics): Likewise.
6413         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6414         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6416         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6417         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6418         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6419         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6420         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6421         (HP_SMALL_TIMING_AVAIL): Define.
6422         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6423         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6424         (HP_SMALL_TIMING_AVAIL): Define.
6425         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6426         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6428         * sysdeps/aarch64/hp-timing.h: New file.
6430         * sysdeps/generic/hp-timing.h: Remove dead comment.
6431         * sysdeps/generic/hp-timing-common.h: New file.
6432         * sysdeps/alpha/hp-timing.h: Include it.
6433         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6434         * sysdeps/i386/i686/hp-timing.h: Likewise.
6435         * sysdeps/ia64/hp-timing.h: Likewise.
6436         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6437         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6438         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6439         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6440         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6441         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6442         (hp_timing_t): New.
6444         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6445         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6446         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6447         * elf/rtld.c (_dl_start_final): Likewise.
6448         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6449         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6450         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6451         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6452         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6453         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6454         (HP_TIMING_DIFF_INIT): Remove.
6455         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6456         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6457         (HP_TIMING_DIFF_INIT): Remove.
6458         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6459         * sysdeps/i386/i686/hp-timing.c: Remove file.
6460         * sysdeps/x86_64/hp-timing.c: Remove file.
6461         * sysdeps/ia64/hp-timing.c: Remove file.
6462         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6463         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6464         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6465         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6467         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6468         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6469         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6470         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6471         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6472         (HP_TIMING_ACCUM): Remove.
6473         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6474         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6475         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6477         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6478         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6479         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6480         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6481         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6482         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6483         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6484         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6486         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6488 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6490         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6492 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6494         Sync up with gettext.
6495         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6496         [_MSC_VER]: Include malloc.h
6497         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6498         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6499         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6500         TEMP_FAILURE_RETRY.  Cast return of alloca.
6501         [!_LIBC] Call gl_rwlock_init.
6502         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6504 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6506         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6507         before checking its value.
6509 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6511         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6513         * debug/memcpy_chk.c: Don't include pagecopy.h.
6514         * debug/mempcpy_chk.c: Likewise.
6515         * string/memcpy.c: Likewise.
6516         * string/memmove.c: Likewise.
6517         * sysdeps/powerpc/memmove.c: Likewise.
6518         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6519         definition of PAGE_COPY_FWD_MAYBE here...
6520         * sysdeps/generic/pagecopy.h: ... from here.
6521         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6523 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6524             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6526         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6528         optimizations.
6529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6530         (__libc_ifunc_impl_list): Likewise.
6531         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6532         multiarch strcat for PPC64.
6533         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6534         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6536 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6538         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6540 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6542         * intl/loadmsgcat.c: Remove declaration of
6543         get_sysdep_segment_value.
6544         (get_sysdep_segment_value): Use ISO C style.
6545         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6546         semicolon.  Fix typo and formatting in comment.
6547         (_nl_unload_domain): Use ISO C style.
6549         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6551 2014-07-02  Will Newton  <will.newton@linaro.org>
6553         * malloc/obstack.c: Merge from gnulib master.
6554         [HAVE_CONFIG_H]: Remove conditional code.
6555         [!_LIBC]: Include config.h.
6556         [!ELIDE_CODE]: Don't include inttypes.h, include
6557         stdint.h unconditionally.
6558         (print_and_abort): Mark as _Noreturn.
6559         (_obstack_allocated_p): Mark as __attribute_pure__.
6560         (obstack_free): Rename to __obstack_free.
6561         [!__attribute__]: Remove conditional code.
6562         * malloc/obstack.h: Merge from gnulib master.
6563         [__cplusplus]: Move conditional down.
6564         [!__attribute_pure__]: Define __attribute_pure__ here
6565         if it is not already defined.
6566         (_obstack_memory_used): Mark as __attribute_pure__.
6567         [!__obstack_free]: Define as obstack_free.
6568         [__GNUC__]: Remove check for ancient NeXT gcc.
6570 2014-07-02  Will Newton  <will.newton@linaro.org>
6571             Paul Eggert  <eggert@cs.ucla.edu>
6573         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6575 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6577         * resolv/gethnamaddr.c: Add comment warning that the file is
6578         not maintained.
6580 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6582         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6583         entries.
6585         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6586         entry for aio_cancel and aio_cancel64.
6587         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6588         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6589         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6590         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6591         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6592         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6593         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6594         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6595         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6596         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6597         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6598         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6599         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6601 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6603         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6604         * nptl/pthread_mutex_lock.c: Likewise.
6605         * nptl/pthread_mutex_timedlock.c: Likewise.
6606         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6608 2014-07-01  Richard henderson  <rth@redhat.com>
6610         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6611         (__isnan, __isnanl): Remove.
6612         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6614         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6616 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6618         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6620 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6622         * resolv/nss_dns/dns-host.c (getanswer_r)
6623         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6625 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6628         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6629         undefine.
6630         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6631         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6633 2014-07-01  Roland McGrath <roland@hack.frob.com>
6635         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6636         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6638         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6639         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6641         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6642         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6643         ... here.
6644         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6645         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6647         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6648         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6649         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6650         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6652         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6653         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6654         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6655         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6656         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6657         Moved ...
6658         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6659         ... here.
6660         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6661         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6662         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6663         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6664         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6665         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6666         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6667         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6668         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6669         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6670         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6671         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6672         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6673         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6674         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6675         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6676         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6677         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6678         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6679         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6680         ... here.
6681         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6682         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6683         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6684         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6685         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6686         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6687         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6688         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6690 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6692         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6693         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6694         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6695         Add sysdep.
6697 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6701 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6703         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6704         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6706         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6708         * sysdeps/arm/libm-test-ulps: Regenerated.
6710 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6711             Roland McGrath <roland@hack.frob.com>
6713         * test-skeleton.c (signal_handler): Kill the whole process group
6714         before killing the child individually.
6715         (main): Report any failure on `setpgid'.
6717 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6719         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6720         from _TLS_H to _ARM_NPTL_TLS_H.
6721         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6722         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6724 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6726         [BZ #16539]
6727         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6728         (__expm1l): Return argument unchanged when small but not
6729         subnormal.
6731         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6732         include macro name.
6733         (_FP_UNPACK_RAW_1_P): Likewise.
6734         (_FP_PACK_RAW_1): Likewise.
6735         (_FP_PACK_RAW_1_P): Likewise.
6736         (_FP_MUL_MEAT_1_wide): Likewise.
6737         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6738         (_FP_MUL_MEAT_1_hard): Likewise.
6739         (_FP_DIV_MEAT_1_imm): Likewise.
6740         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6741         (_FP_DIV_MEAT_1_udiv): Likewise.
6742         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6743         (_FP_UNPACK_RAW_2): Likewise.
6744         (_FP_UNPACK_RAW_2_P): Likewise.
6745         (_FP_PACK_RAW_2): Likewise.
6746         (_FP_PACK_RAW_2_P): Likewise.
6747         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6748         (_FP_MUL_MEAT_2_wide): Likewise.
6749         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6750         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6751         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6752         (_FP_MUL_MEAT_2_gmp): Likewise.
6753         (_FP_DIV_MEAT_2_udiv): Likewise.
6754         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6755         (_FP_FRAC_SRL_4): Likewise.
6756         (_FP_FRAC_SRST_4): Likewise.
6757         (_FP_FRAC_SRS_4): Likewise.
6758         (_FP_UNPACK_RAW_4): Likewise.
6759         (_FP_UNPACK_RAW_4_P): Likewise.
6760         (_FP_PACK_RAW_4): Likewise.
6761         (_FP_PACK_RAW_4_P): Likewise.
6762         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6763         (_FP_MUL_MEAT_4_wide): Likewise.
6764         (_FP_MUL_MEAT_4_gmp): Likewise.
6765         (umul_ppppmnnn): Likewise.
6766         (_FP_DIV_MEAT_4_udiv): Likewise.
6767         (__FP_FRAC_ADD_4): Likewise.
6768         (__FP_FRAC_SUB_3): Likewise.
6769         (__FP_FRAC_SUB_4): Likewise.
6770         (__FP_FRAC_DEC_3): Likewise.
6771         (__FP_FRAC_DEC_4): Likewise.
6772         (__FP_FRAC_ADDI_4): Likewise.
6773         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6774         (_FP_FRAC_SRL_8): Likewise.
6775         (_FP_FRAC_SRS_8): Likewise.
6777         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6778         include macro name.
6779         (FP_UNPACK_RAW_EP): Likewise.
6780         (FP_PACK_RAW_E): Likewise.
6781         (FP_PACK_RAW_EP): Likewise.
6782         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6783         (_FP_ISSIGNAN): Likewise.
6784         (_FP_ADD_INTERNAL): Likewise.
6785         (_FP_FMA): Likewise.
6786         (_FP_CMP): Likewise.
6787         (_FP_SQRT): Likewise.
6788         (_FP_TO_INT): Likewise.
6789         (_FP_FROM_INT): Likewise.
6790         (FP_EXTEND): Likewise.
6791         (_FP_DIV_MEAT_N_loop): Likewise.
6793 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6795         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6796         throughout.
6798 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6800         [BZ #17097]
6801         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6802         result with correct sign in case of exponents that produce
6803         overflow except for X very close to 1.
6805 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6807         mktime: merge #if/#ifdef usage from glibc
6808         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6809         as that works with both Glibc's and Gnulib's style.
6810         See thread starting at Siddhesh Poyarekar's bug report at:
6811         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6813 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6815         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6816         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6817         * sysdeps/tile/tilegx/memmove.c: Remove file.
6819 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6821         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6822         abi-name definition.
6823         * scripts/soversions.awk: Do not handle or generate ABI lines.
6824         * shlib-versions: Remove ABI entries.
6825         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6826         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6828 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6831         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6832         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6833         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6835         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6836         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6837         Moved ...
6838         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6839         ... here.
6840         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6841         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6842         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6843         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6845         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6847         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6849         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6851         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6853         Moved ...
6854         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6856         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6858         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6860         Moved ...
6861         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6863         Moved ...
6864         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6866         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6868         Moved ...
6869         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6871         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6873         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6875         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6877         Moved ...
6878         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6880         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6881         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6882         Moved ...
6883         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6885         Moved ...
6886         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6888         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6889         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6890         Moved ...
6891         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6892         ... here.
6893         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6894         Identical file removed.
6895         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6896         Moved ...
6897         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6899         Identical file removed.
6900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6901         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6902         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6903         Moved ...
6904         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6906         Identical file removed.
6907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6908         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6909         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6910         Identical file removed.
6911         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6912         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6914         Identical file removed.
6915         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6916         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6918         Identical file removed.
6919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6920         Moved ...
6921         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6923         Identical file removed.
6924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6925         Moved ...
6926         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6927         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6928         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6930         Identical file removed.
6931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6932         Moved ...
6933         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6934         ... here.
6935         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6936         Identical file removed.
6937         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6938         Moved ...
6939         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6941         Identical file removed.
6942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6943         Moved ...
6944         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6945         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6946         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6948         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6950         Moved ...
6951         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6952         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6953         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6955         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6956         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6957         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6958         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6959         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6961 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6963         [BZ #17092]
6964         * nscd/nscd.c (monitor_child): Return exit status of child
6965         instead of return value from wait syscall.
6967 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6969         * configure.ac (libc_commonpagesize): Remove variable.
6970         (libc_relro_required): Likewise.
6971         (libc_cv_z_relro): Remove configure test.
6972         * configure: Regenerated.
6973         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6974         variable.
6975         (libc_relro_required): Likewise.
6976         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6977         (libc_relro_required): Likewise.
6978         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6979         (libc_relro_required): Likewise.
6980         * sysdeps/arm/preconfigure: Regenerated.
6981         * sysdeps/ia64/preconfigure: Remove file.
6982         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6983         variable.
6984         (libc_relro_required): Likewise.
6986         [BZ #16561]
6987         [BZ #16562]
6988         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6989         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6990         recompute overflowing results in original rounding mode.
6991         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6992         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6993         recompute overflowing results in original rounding mode.
6994         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6995         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6996         recompute overflowing results in original rounding mode.
6997         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6998         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6999         recompute overflowing results in original rounding mode.
7000         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7001         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7002         recompute overflowing results in original rounding mode.
7003         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7004         (libc_feholdsetround_ctx): New macro.
7005         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7006         * sysdeps/i386/fpu/libm-test-ulps: Update.
7007         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7009 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7011         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7012         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7013         corresponding .cpsetup call.
7015 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7017         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7018         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7019         * sysdeps/arm/Makefile [$(subdir) = csu]
7020         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7021         (static-only-routines): Add aeabi_read_tp here.
7022         (shared-only-routines): Add libc-aeabi_read_tp here.
7023         (CFLAGS-libc-start.c): Add -fexceptions here.
7024         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7025         (sysdep_routines, static-only-routines, shared-only-routines):
7026         Don't add to these here.
7027         (CFLAGS-libc-start.c): Likewise.
7029         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7030         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7031         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7032         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7033         * sysdeps/arm/Makefile [$(subdir) = rt]
7034         (librt-sysdep_routines, librt-shared-only-routines):
7035         Append rt-aeabi_unwind_cpp_pr1 here.
7036         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7037         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7038         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7039         (libpthread-sysdep_routines, libpthread-shared-only-routines):
7040         Append nptl-aeabi_unwind_cpp_pr1 here.
7041         (tests): Filter out tst-cleanupx4 here.
7042         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7043         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7044         Don't do those here.
7046 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7048         * scripts/list-sources.sh: Do not handle ports specially.
7050 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7052         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7053         * sysdeps/arm/feupdateenv.c: Likewise.
7055         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7057 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7059         * manual/texinfo.tex: Update to version 2014-05-05.10 with
7060         trailing whitespace removed.
7061         * scripts/config.guess: Update to version 2014-03-23.
7062         * scripts/config.sub: Update to version 2014-05-01
7063         * scripts/install-sh: Update to version 2013-12-25.23.
7064         * scripts/move-if-change: Update from gnulib.
7066 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7068         * debug/memmove_chk.c: Remove pagecopy.h include.
7070 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7072         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
7073         identical to gnulib mktime.
7075 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
7077         * configure.ac: Do not test for machine being rs6000.  Do not test
7078         for powerpc*-*soft.
7079         * configure: Regenerated.
7081         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7082         test.
7083         * configure: Regenerated.
7084         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7085         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7086         Remove configure test.
7087         * sysdeps/arm/configure: Regenerated.
7088         * sysdeps/nptl/configure.ac: Do not check
7089         libc_cv_asm_cfi_directives.
7090         * sysdeps/nptl/configure: Regenerated.
7091         * sysdeps/x86_64/nptl/configure.ac: Remove file.
7092         * sysdeps/x86_64/nptl/configure: Remove generated file.
7093         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7094         unconditional.
7095         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7097 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7099         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7100         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7101         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7102         it is defined.
7104         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7105         instead of whether it is defined.
7106         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7107         * sysdeps/hppa/dl-machine.h: Likewise.
7108         * sysdeps/ia64/dl-machine.h: Likewise.
7109         * sysdeps/m68k/dl-machine.h: Likewise.
7110         * sysdeps/microblaze/dl-machine.h: Likewise.
7111         * sysdeps/mips/dl-machine.: Likewise.
7112         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7113         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7114         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7115         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7116         * sysdeps/sh/dl-machine.h: Likewise.
7117         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7118         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7119         * sysdeps/tile/dl-machine.h: Likewise.
7120         * sysdeps/x86_64/dl-machine.h: Likewise.
7122         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7123         code.
7124         (verify_persistent_db): Likewise.
7126 2014-06-26  Roland McGrath  <roland@hack.frob.com>
7128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7129         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7131         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7133         Moved ...
7134         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7135         ... here.
7136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7137         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7139         Identical file removed.
7140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7141         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7143         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7145         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7147         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7149         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7151         Moved ...
7152         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7154         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7156         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7158         Moved ...
7159         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7161         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7163         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7165         Identical file removed.
7166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7167         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7169         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7171         Moved ...
7172         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7173         ... here.
7174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7175         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7177         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7179         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7181         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7183         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7185         Moved ...
7186         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7188         Moved ...
7189         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7191         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7193         Moved ...
7194         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7196         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7198         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7199         folded into ...
7200         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7201         * sysdeps/unix/sysv/linux/s390/Versions
7202         (libpthread: GLIBC_2.19): New version set.
7203         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7204         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7205         (librt: GLIBC_2.3.3): New version set.
7206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7207         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7208         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7209         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7210         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7211         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7212         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7213         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7214         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7215         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7216         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7217         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7218         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7219         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7220         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7221         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7222         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7223         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7224         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7225         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7226         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7227         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7228         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7229         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7230         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7231         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7232         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7233         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7234         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7236         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7237         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7238         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7242         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7244         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7246         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7248         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7250         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7252         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7253         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7254         (__libc_vfork): Define the function under this name.
7255         [!NOT_IN_libc] (__vfork): Make this an alias.
7256         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7257         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7258         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7259         (__libc_vfork): Define the function under this name.
7260         [!NOT_IN_libc] (__vfork): Make this an alias.
7261         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7262         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7263         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7265         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7266         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7268         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7269         code that was previously under [RESET_PID].
7270         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7271         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7272         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7274         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7275         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7276         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7277         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7278         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7279         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7280         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7281         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7282         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7283         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7284         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7285         Moved ...
7286         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7287         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7288         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7289         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7290         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7291         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7292         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7293         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7294         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7295         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7296         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7297         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7298         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7299         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7300         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7301         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7302         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7303         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7304         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7305         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7306         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7307         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7308         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7309         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7310         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7311         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7312         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7313         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7314         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7316 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7318         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7319         that was previously under [RESET_PID].
7320         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7322 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7324         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7325         not undefine and redefine.
7326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7327         [O_CLOEXEC]: Make code unconditional.
7328         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7329         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7330         <kernel-features.h>.
7331         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7332         conditional variable definition.
7333         (shm_open) [O_CLOEXEC]: Make code unconditional.
7334         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7335         code.
7337         * configure.ac (USE_REGPARMS): Don't define here.
7338         * configure: Regenerated.
7339         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7340         * sysdeps/i386/configure: Regenerated.
7342         * nptl/createthread.c: Don't include kernel-features.h.
7343         * nptl/pthread_cancel.c: Likewise.
7344         * nptl/pthread_condattr_setclock.c: Likewise.
7345         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7346         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7347         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7348         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7349         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7350         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7351         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7353         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7354         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7355         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7356         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7357         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7358         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7359         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7360         * nscd/gai.c: Likewise.
7361         * nss/nss_db/db-open.c: Likewise.
7362         * sysdeps/generic/ldsodefs.h: Likewise.
7363         * sysdeps/sh/nptl/tls.h: Likewise.
7364         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7365         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7366         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7367         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7368         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7369         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7370         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7371         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7372         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7373         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7374         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7375         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7376         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7377         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7378         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7379         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7380         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7381         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7382         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7383         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7384         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7385         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7386         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7387         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7388         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7389         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7390         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7391         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7392         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7393         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7394         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7395         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7396         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7397         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7398         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7399         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7400         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7401         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7402         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7403         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7404         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7405         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7406         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7407         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7408         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7409         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7410         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7411         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7412         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7413         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7414         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7415         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7416         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7417         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7418         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7419         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7420         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7421         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7444         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7445         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7446         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7447         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7448         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7449         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7450         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7451         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7452         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7453         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7454         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7455         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7456         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7457         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7458         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7459         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7460         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7461         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7462         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7463         * sysdeps/unix/sysv/linux/system.c: Likewise.
7464         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7465         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7466         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7467         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7468         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7469         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7470         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7472         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7473         * configure: Regenerated.
7474         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7476         * configure.ac (base_machine): Do not set specially for particular
7477         machines here.
7478         * configure: Regenerated.
7479         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7480         settings from configure.ac.
7481         * sysdeps/i386/preconfigure: New file.
7482         * sysdeps/s390/preconfigure: Likewise.
7483         * sysdeps/sh/preconfigure: Likewise.
7484         * sysdeps/sparc/preconfigure: Likewise.
7486 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7488         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7489         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7490         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7491         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7492         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7493         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7494         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7495         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7496         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7497         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7498         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7499         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7500         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7501         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7502         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7503         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7504         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7505         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7506         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7508         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7509         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7510         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7511         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7512         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7513         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7514         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7515         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7516         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7517         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7518         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7519         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7520         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7521         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7522         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7523         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7524         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7525         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7526         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7527         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7528         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7529         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7530         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7531         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7532         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7533         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7534         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7535         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7537         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7538         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7539         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7540         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7541         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7542         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7543         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7544         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7545         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7548         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7550         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7552         Moved ...
7553         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7554         ... here.
7555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7556         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7558         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7560         Moved ...
7561         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7563         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7565         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7567         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7569         Moved ...
7570         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7572         Moved ...
7573         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7575         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7577         Moved ...
7578         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7580         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7582         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7584         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7586         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7588         Moved ...
7589         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7590         ... here.
7591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7592         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7594         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7596         Moved ...
7597         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7599         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7601         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7603         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7605         Moved ...
7606         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7608         Moved ...
7609         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7611         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7613         Moved ...
7614         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7616         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7618         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7620 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7622         * timezone/checktab.awk: Update from tzcode 2014e.
7623         * timezone/private.h: Likewise.
7624         * timezone/tzfile.h: Likewise.
7625         * timezone/zdump.c: Likewise.
7626         * timezone/zic.c: Likewise.
7628         * sysdeps/unix/sysv/linux/kernel-features.h
7629         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7630         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7631         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7632         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7633         Remove conditional code.
7635 2014-06-25  Will Newton  <will.newton@linaro.org>
7637         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7638         (_dl_arm_cap_flags): Add HWCAP2 values.
7639         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7640         (_DL_HWCAP_COUNT): Increase to 37.
7641         (_DL_HWCAP_LAST): New define.
7642         (_DL_HWCAP2_LAST): New define.
7643         (_dl_procinfo): Add support for printing
7644         AT_HWCAP2 entries.
7645         (_dl_string_hwcap): Use _dl_hwcap_string.
7647 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7651 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7653         * README: Do not mention ports directory.
7655         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7656         Remove macro.
7657         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7658         <kernel-features.h>.
7659         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7660         conditional variable definition.
7661         (__futimes): Update comment.
7662         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7663         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7665         [BZ #16560]
7666         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7667         arguments close to 0.
7668         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7669         Likewise.
7670         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7671         Likewise.
7672         * math/auto-libm-test-in: Add more tests of exp10.
7673         * math/auto-libm-test-out: Regenerated.
7674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7676         * sysdeps/unix/sysv/linux/kernel-features.h
7677         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7678         * sysdeps/unix/sysv/linux/readv.c: Do not include
7679         <kernel-features.h>.
7680         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7681         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7682         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7683         unconditional.
7684         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7685         conditional code.
7686         * sysdeps/unix/sysv/linux/writev.c: Do not include
7687         <kernel-features.h>.
7688         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7689         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7690         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7691         unconditional.
7692         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7693         conditional code.
7695 2014-06-25  Will Newton  <will.newton@linaro.org>
7697         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7698         comment changes throughout the file.  Remove checks
7699         for HAVE_*_H definitions that are not required.
7700         (__gen_tempname): Call abort if an unknown kind value is
7701         passed.
7703 2014-06-25  Andreas Schwab  <schwab@suse.de>
7705         [BZ #17086]
7706         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7707         scalbln, scalblnf, scalblnl in libc.
7709 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7711         [BZ #17086]
7712         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7713         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7714         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7716 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7718         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7719         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7720         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7721         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7722         Update #include.
7723         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7724         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7725         Update #include.
7726         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7727         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7728         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7729         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7730         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7731         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7732         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7733         * sysdeps/x86/bits/semaphore.h: ... here.
7734         * sysdeps/x86/nptl/elide.h: Moved ...
7735         * sysdeps/x86/elide.h: ... here.
7736         * sysdeps/x86_64/nptl/Implies: File removed.
7737         * sysdeps/i386/nptl/Implies: File removed.
7739 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7741         [BZ #16539]
7742         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7743         return the argument for normal arguments with exponent below -64.
7744         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7745         Likewise.
7746         * math/auto-libm-test-in: Add another test of expm1.
7747         * math/auto-libm-test-out: Regenerated.
7749         [BZ #16287]
7750         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7751         calling __erfcl for arguments at least 16.
7752         * math/auto-libm-test-in: Add more tests of erf.
7753         * math/auto-libm-test-out: Regenerated.
7755         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7756         individual architectures.
7757         * sysdeps/unix/sysv/linux/configure: Regenerated.
7758         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7759         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7760         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7761         (ldd_rewrite_script): Define variable.
7762         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7764         file.
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7766         generated file.
7767         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7768         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7769         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7770         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7771         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7772         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7773         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7774         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7776 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7778         [BZ #17084]
7779         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7780         Rename member __data.d to __data.__elision_data.
7782 2014-06-24  Wilco  <wdijkstr@arm.com>
7784         * NEWS: Add 16918 to fixed bug list.
7786 2014-06-24  Wilco  <wdijkstr@arm.com>
7788         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7790 2014-06-24  Wilco  <wdijkstr@arm.com>
7792         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7793         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7794         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7795         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7796         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7797         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7798         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7799         Use _FPU_MASK_RM.
7801 2014-06-24  Wilco  <wdijkstr@arm.com>
7803         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7805 2014-06-24  Wilco  <wdijkstr@arm.com>
7807         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7808         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7809         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7810         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7812 2014-06-24  Wilco  <wdijkstr@arm.com>
7814         [BZ #16918]
7815         * sysdeps/arm/feupdateenv.c (feupdateenv):
7816         Rewrite to reduce FPSCR accesses and fix return value.
7818 2014-06-24  Wilco  <wdijkstr@arm.com>
7820         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7821         Optimize to avoid unnecessary FPSCR writes.
7822         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7823         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7824         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7825         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7827 2014-06-24  Wilco  <wdijkstr@arm.com>
7829         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7830         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7831         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7832         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7833         Call libc_fetestexcept_vfp.
7834         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7835         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7836         __SOFTFP__ ifdef so that they can be built for softfp.
7838 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7840         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7841         argument type signed char.
7843         * Makerules (check-abi): Dump diff of symlist if the test
7844         fails.
7846 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7848         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7849         using abort.
7851         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7852         Remove unused variable ST.
7854 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7856         [BZ #16354]
7857         [BZ #17061]
7858         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7859         small arguments before calling __expm1.
7860         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7861         small arguments before calling __expm1f.
7862         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7863         small arguments before calling __expm1l.
7864         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7865         Likewise.
7866         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7867         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7868         spurious underflow for some cosh tests.
7869         * math/auto-libm-test-out: Regenerated.
7870         * sysdeps/i386/fpu/libm-test-ulps: Update.
7872         [BZ #17050]
7873         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7874         (__ieee754_y1): Set errno if return value overflows.
7875         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7876         (__ieee754_y1f): Set errno if return value overflows.
7877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7878         (__ieee754_y1l): Set errno if return value overflows.
7879         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7880         (__ieee754_y1l): Set errno if return value overflows.
7881         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7882         * math/auto-libm-test-out: Regenerated.
7884         * math/gen-auto-libm-tests.c: Document use of
7885         ignore-zero-inf-sign.
7886         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7887         (input_flags): Add ignore-zero-inf-sign.
7888         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7889         * math/gen-libm-test.pl (generate_testfile): Handle
7890         ignore-zero-inf-sign.
7891         * math/auto-libm-test-in: Mark some cpow tests with
7892         ignore-zero-inf-sign and some with xfail-rounding.
7893         * math/auto-libm-test-out: Regenerated.
7894         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7895         * sysdeps/i386/fpu/libm-test-ulps: Update.
7896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7898         [BZ #16315]
7899         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7900         overflowing or underflowing operations take place with sign of
7901         result.
7902         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7903         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7904         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7905         (__ieee754_pow): Recompute overflowing and underflowing results in
7906         original rounding mode.
7907         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7908         (__powl_helper): Allow negative argument X and scale negated value
7909         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7910         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7911         overflowing or underflowing operations take place with sign of
7912         result.
7913         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7914         Include <math.h>.
7915         * math/auto-libm-test-in: Add more tests of pow.
7916         * math/auto-libm-test-out: Regenerated.
7917         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7918         (pow_tonearest_test_data): Remove.
7919         (pow_test_tonearest): Likewise.
7920         (pow_towardzero_test_data): Likewise.
7921         (pow_test_towardzero): Likewise.
7922         (pow_downward_test_data): Likewise.
7923         (pow_test_downward): Likewise.
7924         (pow_upward_test_data): Likewise.
7925         (pow_test_upward): Likewise.
7926         (main): Don't call removed functions.
7927         * sysdeps/i386/fpu/libm-test-ulps: Update.
7928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7930 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7933         Moved ...
7934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7936         Moved ...
7937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7939         Moved ...
7940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7942         Moved ...
7943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7945         File removed.
7946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7947         File removed.
7948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7949         File removed.
7950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7951         File removed.
7952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7953         File removed.
7954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7955         File removed.
7956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7957         File removed.
7958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7959         File removed.
7960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7961         File removed.
7962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7963         File removed.
7964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7965         File removed.
7966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7967         File removed.
7968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7969         Moved ...
7970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7972         Moved ...
7973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7974         ... here.
7975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7976         Moved ...
7977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7979         Moved ...
7980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7982         Moved ...
7983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7985         Moved ...
7986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7988         Moved ...
7989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7991         Moved ...
7992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7994         Moved ...
7995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7998         ... here.
7999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8000         Moved ...
8001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8003         Moved ...
8004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8005         ... here.
8006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8007         Moved ...
8008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8009         ... here.
8010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8011         Moved ...
8012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8013         ... here.
8014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8015         Moved ...
8016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8018         Moved ...
8019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8023         Moved ...
8024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8025         ... here.
8026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8027         Moved ...
8028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8029         ... here.
8030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8031         Moved ...
8032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8034         Moved ...
8035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8037         Moved ...
8038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8040         Moved ...
8041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8043         Moved ...
8044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8045         ... here.
8046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8047         Moved ...
8048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8050         Moved ...
8051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8053         Moved ...
8054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8056         Moved ...
8057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8061         Moved ...
8062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8064         Moved ...
8065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8067         Moved ...
8068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8069         ... here.
8070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8071         Moved ...
8072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8073         ... here.
8074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8075         Moved ...
8076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8077         ... here.
8078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8079         Moved ...
8080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8082         Moved ...
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8085         Moved ...
8086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8088         Moved ...
8089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8090         ... here.
8091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8092         Moved ...
8093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8094         ... here.
8095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8096         Moved ...
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8098         ... here.
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8100         Moved ...
8101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8103         Moved ...
8104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8106 2014-06-23  Will Newton  <will.newton@linaro.org>
8107             Wilco  <wdijkstr@arm.com>
8109         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8110         implementation.  Include get-rounding-mode.h.
8111         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8112         [!libc_feholdsetround_noex_ctx]: Define
8113         libc_feholdsetround_noex_ctx.
8114         [!libc_feholdsetround_noexf_ctx]: Define
8115         libc_feholdsetround_noexf_ctx.
8116         [!libc_feholdsetround_noexl_ctx]: Define
8117         libc_feholdsetround_noexl_ctx.
8118         (libc_feholdsetround_ctx): New function.
8119         (libc_feresetround_ctx): New function.
8120         (libc_feholdsetround_noex_ctx): New function.
8121         (libc_feresetround_noex_ctx): New function.
8123 2014-06-23  Roland McGrath  <roland@hack.frob.com>
8125         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8126         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8127         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8128         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8129         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8130         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8132         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8133         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8134         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8135         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8136         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8137         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8139         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8140         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8141         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8143         Moved ...
8144         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8145         ... here.
8146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8147         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8148         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8149         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8150         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8151         Moved ...
8152         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8153         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8154         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8156         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8158         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8160         Moved ...
8161         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8162         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8163         Moved ...
8164         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8165         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8166         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8167         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8168         Moved ...
8169         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8171         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8172         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8173         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8174         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8175         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8177         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8179         Moved ...
8180         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8181         ... here.
8182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8183         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8184         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8185         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8186         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8187         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8189         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8190         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8191         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8192         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8193         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8194         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8195         Moved ...
8196         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8197         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8198         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8199         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8200         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8202         Moved ...
8203         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8204         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8205         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8206         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8207         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8209         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8210         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8211         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8212         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8213         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8214         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8215         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8216         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8217         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8218         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8219         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8220         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8221         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8222         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8223         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8224         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8225         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8226         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8227         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8228         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8229         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8230         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8231         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8232         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8233         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8234         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8235         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8236         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8238 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
8240         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8241         (FALLOC_FL_COLLAPSE_RANGE): New macro.
8242         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8243         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8244         (IPV6_PMTUDISC_INTERFACE): Likewise.
8245         (IPV6_PMTUDISC_OMIT): Likewise.
8247 2014-06-23  Andreas Schwab  <schwab@suse.de>
8249         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8250         Remove unused errout label.
8252 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8254         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8255         macro: hardware supports Vector Crypto instructions.
8257 2014-06-23  Will Newton  <will.newton@linaro.org>
8259         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8260         rather than __builtin_expect.
8262         * elf/dl-lookup.c (undefined_msg): Remove variable.
8263         (_dl_lookup_symbol_x): Replace undefined_msg with string
8264         literal.
8266         * elf/dl-lookup.c (do_lookup_unique): New function.
8267         (do_lookup_x): Move STB_GNU_UNIQUE handling code
8268         to a separate function.
8270 2014-06-23  Andreas Schwab  <schwab@suse.de>
8272         [BZ #17079]
8273         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8274         before reading the next line.
8276 2014-06-23  Will Newton  <will.newton@linaro.org>
8278         * test-skeleton.c (signal_handler): Use printf and %m
8279         rather than perror.  Use printf rather than fprintf to
8280         stderr.  Use puts rather than fputs to stderr.
8281         (main): Likewise.
8283 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8285         * nscd/nscd.c (thread_info_t): Remove typedef.
8286         (thread_info): Remove variable.
8288 2014-06-21  Allan McRae  <allan@archlinux.org>
8290         * NEWS: Mention CVE-2014-4043.
8292 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8294         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8295         * nptl/smp.h: ... here.
8297         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8299         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8300         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8301         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8302         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8304         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8305         * nptl/stack-aliasing.h: New file.
8306         * sysdeps/i386/i686/stack-aliasing.h: New file.
8307         * sysdeps/i386/i686/nptl/Makefile: File removed.
8308         * sysdeps/x86_64/stack-aliasing.h: New file.
8309         * sysdeps/x86_64/nptl/Makefile
8310         (CFLAGS-pthread_create.c): Variable removed.
8312         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8313         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8314         old file.
8315         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8316         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8317         old file.
8319 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8321         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8322         (__ASSUME_SIGFRAME_V2): Remove macro.
8323         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8324         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8325         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8326         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8327         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8328         Declare as function.  Remove conditional macro definitions.
8329         (__default_rt_sa_restorer): Likewise.
8330         (__default_sa_restorer_v1): Remove declaration.
8331         (__default_sa_restorer_v2): Likewise.
8332         (__default_rt_sa_restorer_v1): Likewise.
8333         (__default_rt_sa_restorer_v2): Likewise.
8334         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8335         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8336         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8338 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8340         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8341         (libpthread-routines): Add sysdep.
8342         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8343         * sysdeps/unix/sysv/linux/sparc/Versions
8344         (libpthread: GLIBC_2.3.3): New version set.
8345         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8346         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8347         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8348         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8349         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8350         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8351         Moved ...
8352         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8353         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8354         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8355         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8356         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8357         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8358         * sysdeps/sparc/nptl/sem_init.c: ... here.
8359         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8360         * sysdeps/sparc/nptl/sem_post.c: ... here.
8361         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8362         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8363         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8364         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8365         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8366         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8367         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8368         (libpthread-routines): Add cpu_relax.
8369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8370         File removed.
8371         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8372         (librt: GLIBC_2.3.3): New version set.
8373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8374         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8375         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8376         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8379         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8381         Moved ...
8382         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8384         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8386         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8388         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8390         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8392         Moved ...
8393         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8394         Update #include.
8395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8396         Moved ...
8397         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8398         Update #include.
8399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8400         Moved ...
8401         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8402         Update #include.
8403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8404         Moved ...
8405         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8406         Update #include.
8407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8408         Moved ...
8409         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8410         Update #include.
8411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8412         Moved ...
8413         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8414         Update #include.
8415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8416         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8418         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8422         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8424         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8426         Moved ...
8427         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8429         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8431         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8433 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8435         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8436         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8437         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8438         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8439         * nscd/nscd.c: Likewise.
8440         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8441         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8442         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8443         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8445         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8446         <kernel-features.h>.
8447         (init_mq_netlink): Remove conditional have_sock_cloexec
8448         definitions.  Remove code conditional on have_sock_cloexec < 0.
8449         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8450         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8451         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8452         <kernel-features.h>.
8453         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8454         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8456 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8459         Add tests for memset_chk and memset.
8461         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8462         with AVX2_Usable.
8464 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8466         [BZ #16046]
8467         * elf/tst-dl-iter-static.c: New file.
8468         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8470         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8471         error.
8473 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8475         * sysdeps/unix/sysv/linux/kernel-features.h
8476         (__ASSUME_F_GETOWN_EX): Remove macro.
8477         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8478         <kernel-features.h>.
8479         (miss_F_GETOWN_EX): Remove variable or macro.
8480         (do_fcntl): Do not check miss_F_GETOWN_EX.
8481         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8484         Remove macro.
8485         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8486         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8487         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8489         * sysdeps/unix/sysv/linux/kernel-features.h
8490         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8491         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8492         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8493         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8495 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8497         [BZ #17075]
8498         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8499         Fix calculation of the symbol's value.
8500         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8501         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8502         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8503         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8504         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8505         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8506         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8507         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8508         (modules-names): Add `tst-armtlsdescmod',
8509         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8510         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8511         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8512         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8513         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8514         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8515         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8516         ($(objpfx)tst-armtlsdescloc): New dependency.
8517         ($(objpfx)tst-armtlsdescextnow): Likewise.
8518         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8519         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8520         TLS scheme support.
8521         * sysdeps/arm/configure: Regenerate.
8523 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8525         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8526         (__atfct_seterrno_2): Likewise.
8527         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8528         <kernel-features.h>.
8529         (__ASSUME_ATFCTS): Do not undefine and redefine.
8530         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8531         (__have_atfcts): Remove conditional definition.
8532         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8533         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8534         unreachable if [__ASSUME_ATFCTS].
8535         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8536         not undefine and redefine.
8537         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8538         <kernel-features.h>.
8539         (faccessat) [__NR_faccessat]: Make code unconditional.
8540         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8541         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8542         <kernel-features.h>.
8543         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8544         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8545         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8546         <kernel-features.h>.
8547         (fchownat) [__NR_fchownat]: Make code unconditional.
8548         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8549         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8550         <kernel-features.h>.
8551         (futimesat) [__NR_futimesat]: Make code unconditional.
8552         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8553         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8554         <kernel-features.h>.
8555         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8556         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8557         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8558         <kernel-features.h>.
8559         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8560         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8561         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8562         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8563         <kernel-features.h>.
8564         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8565         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8566         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8567         <kernel-features.h>.
8568         (linkat) [__NR_linkat]: Make code unconditional.
8569         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8570         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8571         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8572         <kernel-features.h>.
8573         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8574         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8575         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8576         <kernel-features.h>.
8577         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8578         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8579         * sysdeps/unix/sysv/linux/openat.c: Do not include
8580         <kernel-features.h>.
8581         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8582         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8583         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8584         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8585         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8586         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8587         <kernel-features.h>.
8588         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8589         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8590         result of INLINE_SYSCALL directly, not via int variable.
8591         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8592         <kernel-features.h>.
8593         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8594         (renameat) [__NR_renameat]: Make code unconditional.
8595         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8596         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8597         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8598         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8599         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8600         (__ASSUME_ATFCTS): Do not undefine and redefine.
8601         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8602         <kernel-features.h>.
8603         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8604         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8605         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8606         <kernel-features.h>.
8607         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8608         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8609         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8610         (__ASSUME_ATFCTS): Do not undefine and redefine.
8611         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8612         <kernel-features.h>.
8613         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8614         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8615         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8616         <kernel-features.h>.
8617         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8618         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8620 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8622         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8624 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8626         [BZ #17069]
8627         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8628         constructed tree before returning error.
8629         * posix/bug-regexp36.c: Expand test case.
8631 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8633         [BZ #6803]
8634         * math/libm-test.inc (scalbln_test_date):
8635         Add errno expectations.
8636         * math/w_scalblnf.c: New File.
8637         Add wrapper which checks for setting errno to ERANGE.
8638         Add weak_alias for corresponding scalbln function.
8639         * math/w_scalbln.c: Likewise.
8640         * math/w_scalblnl.c: Likewise.
8641         * math/Makefile (libm-calls): Add w_scalbln.
8642         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8643         Remove weak_alias for corresponding scalbln function.
8644         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8646         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8647         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8648         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8649         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8650         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8651         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8652         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8653         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8654         Remove long_double_symbol for scalblnl function in libm, libc.
8655         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8656         Add wrapper which checks for setting errno to ERANGE.
8657         Add long_double_symbol for scalblnl function in libm, libc.
8658         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8659         Remove long_double_symbol for scalblnl in libm.
8660         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8661         Add wrapper which checks for setting errno to ERANGE.
8662         Add long_double_symbol for scalblnl function in libm.
8663         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8664         Do not use wrapper because of own implementation.
8666 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8668         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8669         3 bytes for __pad1 for x32.
8670         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8672 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8673             H.J. Lu  <hongjiu.lu@intel.com>
8675         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8676         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8677         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8678         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8679         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8681 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8683         [BZ #17069]
8684         * posix/regcomp.c (parse_expression): Deallocate partially
8685         constructed tree before returning error.
8686         * posix/Makefile.c (tests): Add bug-regex36.
8687         (generated): Add bug-regex36.mtrace.
8688         (tests-special): Add $(objpfx)bug-regex36-mem.out
8689         (bug-regex36-ENV): New variable.
8690         ($(objpfx)bug-regex36-mem.out): New rule.
8691         * posix/bug-regex36.c: New file.
8693 2014-06-19  Will Newton  <will.newton@linaro.org>
8695         * malloc/malloc.c (systrim): If extra is zero then return
8696         early.
8698 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8700         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8702 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8704         * sysdeps/aarch64/strchr.S: New file.
8706 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8708         [BZ #17022]
8709         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8710         from arguments -2 or below.
8711         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8712         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8714 2014-06-18  Andreas Schwab  <schwab@suse.de>
8716         [BZ #17062]
8717         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8718         of a bracket expr not to run off the end of the string.
8719         * posix/Makefile (tests): Add tst-fnmatch3.
8720         * posix/tst-fnmatch3.c: New file.
8722 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8724         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8725         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8726         [$(cross-compiling) = no]: Likewise.
8727         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8728         [$(cross-compiling) = no]: Likewise.
8730 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8732         [BZ #17031]
8733         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8734         double, adjusted for any remainder from the high double.
8735         * math/libm-test.inc (nearbyint): Add tests.
8736         (rint): Likewise.
8738 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8740         * nptl/sysdeps/powerpc/Makefile: Moved ...
8741         * sysdeps/powerpc/nptl/Makefile: ... here.
8742         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8743         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8744         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8745         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8746         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8747         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8748         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8749         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8750         * nptl/sysdeps/powerpc/tls.h: Moved ...
8751         * sysdeps/powerpc/nptl/tls.h: ... here.
8753 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8755         [BZ #16681]
8756         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8757         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8758         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8759         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8760         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8761         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8762         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8763         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8764         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8766 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8768         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8770 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8772         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8773         defined operator.
8775         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8776         $TIMEOUTFACTOR.
8778 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8780         [BZ #17058]
8781         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8782         non-executed part of the test.
8784 2014-06-16  Andreas Schwab  <schwab@suse.de>
8786         * string/bits/string2.h (strdup, strndup): Update feature guard.
8788 2014-06-14  David S. Miller  <davem@davemloft.net>
8790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8792 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8794         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8795         that was previously under [RESET_PID].
8796         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8798         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8799         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8800         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8801         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8802         (__libc_vfork): New strong alias.
8803         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8805 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8807         * sysdeps/generic/elide.h: New file.
8809 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8811         * Makefile (installed-headers): Adjust path of pthread.h header.
8813 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8815         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8816         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8817         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8818         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8820         * nptl/sysdeps/s390/Makefile: Moved ...
8821         * sysdeps/s390/nptl/Makefile: ... here.
8822         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8823         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8824         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8825         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8826         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8827         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8828         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8829         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8830         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8831         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8832         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8833         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8834         * nptl/sysdeps/s390/tls.h: Moved ...
8835         * sysdeps/s390/nptl/tls.h: ... here.
8837         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8838         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8840 2014-06-13  David S. Miller  <davem@davemloft.net>
8842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8845         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8849         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8850         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8851         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8852         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8853         Remove RESET_PID cpp guards.
8854         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8855         Remove RESET_PID cpp guards.
8856         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8858 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8860         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8861         __sp to uintptr_t.
8863 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8865         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8866         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8867         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8868         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8869         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8870         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8871         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8872         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8873         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8874         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8875         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8876         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8877         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8878         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8880         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8881         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8882         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8883         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8884         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8886         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8887         (pthread_rwlock_rdlock): Add elision.
8888         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8889         (pthread_rwlock_wrlock): Add elision.
8890         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8891         (pthread_rwlock_trywrlock): Add elision.
8892         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8893         (pthread_rwlock_tryrdlock): Add elision.
8894         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8895         (pthread_rwlock_tryrdlock): Add elision unlock.
8896         * nptl/sysdeps/pthread/pthread.h:
8897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8898         (PTHREAD_RWLOCK_INITIALIZER,
8899         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8900         Handle new elision field.
8901         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8902         * sysdeps/arm/nptl/bits/pthreadtypes.h
8903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8904         * sysdeps/sh/nptl/bits/pthreadtypes.h
8905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8906         * sysdeps/tile/nptl/bits/pthreadtypes.h
8907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8908         * sysdeps/a/nptl/bits/pthreadtypes.h
8909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8910         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8912         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8914         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8916         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8918         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8920         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8922         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8924         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8926         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8927         (elision_init): Set try_xbegin to zero when no RTM.
8928         * sysdeps/x86/nptl/bits/pthreadtypes.h
8929         (pthread_rwlock_t): Change __pad1 to __rwelision.
8930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8932 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8934         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8935         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8936         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8937         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8939 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8941         [BZ #16996]
8942         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8943         that the cached result has been set before returning it.
8945 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8947         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8948         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8949         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8950         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8951         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8952         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8954         * nptl/sysdeps/sparc/Makefile: Moved ...
8955         * sysdeps/sparc/nptl/Makefile: ... here.
8956         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8957         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8958         * nptl/sysdeps/sparc/tls.h: Moved ...
8959         * sysdeps/sparc/nptl/tls.h: ... here.
8960         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8961         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8962         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8963         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8964         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8965         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8966         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8967         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8968         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8969         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8970         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8971         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8972         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8973         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8974         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8975         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8976         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8977         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8978         Update #include.
8979         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8980         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8981         Update #include.
8982         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8984         Update #include.
8985         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8986         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8987         Update #include.
8989         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8991         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8992         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8994         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8995         (struct list_links): Type removed.
8996         (struct thread_node, struct timer_node): Replace struct list_links
8997         with struct list_head.
8998         (list_unlink_ip): Likewise.
8999         * sysdeps/pthread/timer_routines.c
9000         (timer_free_list, thread_free_list, thread_active_list): Likewise.
9001         (list_append, list_insbefore): Likewise.
9002         (list_init): Function removed.
9003         (thread_init, init_module): Use INIT_LIST_HEAD instead.
9004         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9005         * sysdeps/pthread/Makefile: ... here, new file.
9007         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9008         * sysdeps/nptl/Implies: ... here.
9009         * sysdeps/unix/sysv/linux/Implies: Add nptl.
9010         * nptl/sysdeps/pthread/list.h: Moved ...
9011         * include/list.h: ... here.
9012         * nptl/sysdeps/pthread/createthread.c: Moved ...
9013         * nptl/createthread.c: ... here.
9014         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9015         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9016         * nptl/pt-longjmp.c: ... here.
9017         * nptl/sysdeps/pthread/Makefile: Moved ...
9018         * sysdeps/nptl/Makefile: ... here.
9019         * nptl/sysdeps/pthread/Subdirs: Moved ...
9020         * sysdeps/nptl/Subdirs: ... here.
9021         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9022         * sysdeps/nptl/aio_misc.h: ... here.
9023         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9024         * sysdeps/nptl/bits/libc-lock.h: ... here.
9025         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9026         * sysdeps/nptl/bits/libc-lockP.h: ... here.
9027         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9028         * sysdeps/nptl/bits/stdio-lock.h: ... here.
9029         * nptl/sysdeps/pthread/configure: Moved ...
9030         * sysdeps/nptl/configure: ... here.
9031         * nptl/sysdeps/pthread/configure.ac: Moved ...
9032         * sysdeps/nptl/configure.ac: ... here.
9033         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9034         * sysdeps/nptl/gai_misc.h: ... here.
9035         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9036         * sysdeps/nptl/librt-cancellation.c: ... here.
9037         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9038         * sysdeps/nptl/malloc-machine.h: ... here.
9039         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9040         * sysdeps/nptl/pthread-functions.h: ... here.
9041         * nptl/sysdeps/pthread/pthread.h: Moved ...
9042         * sysdeps/nptl/pthread.h: ... here.
9043         * nptl/sysdeps/pthread/setxid.h: Moved ...
9044         * sysdeps/nptl/setxid.h: ... here.
9045         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9046         * sysdeps/nptl/sigfillset.c: ... here.
9047         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9048         * sysdeps/nptl/tcb-offsets.h: ... here.
9049         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9050         * sysdeps/nptl/tst-mqueue8x.c: ... here.
9051         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9052         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9053         * nptl/sysdeps/pthread/allocalim.h: Moved ...
9054         * sysdeps/pthread/allocalim.h: ... here.
9055         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9056         * sysdeps/pthread/bits/sigthread.h: ... here.
9057         * nptl/sysdeps/pthread/flockfile.c: Moved ...
9058         * sysdeps/pthread/flockfile.c: ... here.
9059         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9060         * sysdeps/pthread/ftrylockfile.c: ... here.
9061         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9062         * sysdeps/pthread/funlockfile.c: ... here.
9063         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9064         * sysdeps/pthread/posix-timer.h: ... here.
9065         * nptl/sysdeps/pthread/timer_create.c: Moved ...
9066         * sysdeps/pthread/timer_create.c: ... here.
9067         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9068         * sysdeps/pthread/timer_delete.c: ... here.
9069         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9070         * sysdeps/pthread/timer_getoverr.c: ... here.
9071         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9072         * sysdeps/pthread/timer_gettime.c: ... here.
9073         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9074         * sysdeps/pthread/timer_routines.c: ... here.
9075         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9076         * sysdeps/pthread/timer_settime.c: ... here.
9077         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9078         * sysdeps/pthread/tst-timer.c: ... here.
9079         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9080         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9082         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9083         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9085         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9086         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9087         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9088         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9089         Update #include target.
9090         * nptl/sysdeps/i386/i686/Makefile: Moved ...
9091         * sysdeps/i386/i686/nptl/Makefile: ... here.
9092         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9093         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9094         Update #include target.
9095         * nptl/sysdeps/i386/i686/tls.h: Moved ...
9096         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
9097         * nptl/sysdeps/i386/Makefile: Moved ...
9098         * sysdeps/i386/nptl/Makefile: ... here.
9099         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9100         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9101         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9102         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9103         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9104         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9105         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9106         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9107         * sysdeps/i386/nptl/pthreaddef.h: ... here.
9108         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9109         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9110         * nptl/sysdeps/i386/tls.h: Moved ...
9111         * sysdeps/i386/nptl/tls.h: ... here.
9113         * sysdeps/sh/Makefile [$(subdir) = csu]
9114         (gen-as-const-headers): Add tcb-offsets.sym.
9115         * nptl/sysdeps/sh/Makefile: File removed.
9116         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9117         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9118         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9119         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9120         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9121         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9122         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9123         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9124         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9125         * sysdeps/sh/nptl/pthreaddef.h: ... here.
9126         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9127         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9128         * nptl/sysdeps/sh/tls.h: Moved ...
9129         * sysdeps/sh/nptl/tls.h: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9131         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9132         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9133         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9134         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9135         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9136         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9137         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9138         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9139         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9140         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9141         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9142         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9143         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9145         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9147         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9148         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9149         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9150         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9151         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9155         Moved ...
9156         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9157         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9158         Moved ...
9159         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9161         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9162         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9163         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9164         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9165         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9166         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9167         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9168         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9169         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9170         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9171         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9172         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9173         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9174         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9175         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9176         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9177         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9179 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
9181         * posix/spawn_faction_addopen.c: Include string.h.
9183 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9185         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9186         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9187         * nptl/sysdeps/x86_64/Makefile: Moved ...
9188         * sysdeps/x86_64/nptl/Makefile: ... here.
9189         * nptl/sysdeps/x86_64/configure: Moved ...
9190         * sysdeps/x86_64/nptl/configure: ... here.
9191         * nptl/sysdeps/x86_64/configure.ac: Moved ...
9192         * sysdeps/x86_64/nptl/configure.ac: ... here.
9193         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9194         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9195         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9196         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9197         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9198         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9199         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9200         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9201         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9202         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9203         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9204         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9205         * nptl/sysdeps/x86_64/tls.h: Moved ...
9206         * sysdeps/x86_64/nptl/tls.h: ... here.
9207         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9208         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9209         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9210         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9212         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9214 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9218 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
9220         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9221         type.
9222         [POSIX] (off_t): Likewise.
9223         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9224         [POSIX] (S_ISBLK): Require macro.
9225         [POSIX] (S_ISCHR): Likewise.
9226         [POSIX] (S_ISDIR): Likewise.
9227         [POSIX] (S_ISFIFO): Likewise.
9228         [POSIX] (S_ISREG): Likewise.
9229         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9230         optional-macro.
9231         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9232         type.
9233         [POSIX] (time_t): Likewise.
9234         [POSIX] (timer_t): Likewise.
9236 2014-06-11  Florian Weimer  <fweimer@redhat.com>
9238         [BZ #17048]
9239         * posix/spawn_int.h (struct __spawn_action): Make the path string
9240         non-const to support deallocation.
9241         * posix/spawn_faction_addopen.c
9242         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9243         * posix/spawn_faction_destroy.c
9244         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
9245         path in all spawn_do_open actions.
9246         * posix/tst-spawn.c (do_test): Exercise the copy operation in
9247         posix_spawn_file_actions_addopen.
9249 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
9251         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9252         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9253         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9254         conditional code always true.
9255         (__libc_vfork): New alias.
9257 2014-06-11  Roland McGrath  <roland@hack.frob.com>
9259         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9260         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9262         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9264         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9265         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9267         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9268         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9270         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9271         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9273 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9275         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9276         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9277         multiarch strcmp for PPC64.
9278         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9279         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9281         multiarch optimizations.
9282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9283         (__libc_ifunc_impl_list): Likewise.
9285 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9287         * benchtests/scripts/validate_benchout.py: New script.
9288         * benchtests/Makefile (bench-func): Call it.
9289         * benchtests/scripts/benchout.schema.json: New file.
9291 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9293         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9294         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9295         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9296         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9297         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9298         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9299         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9300         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9301         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9302         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9303         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9304         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9305         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9306         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9307         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9308         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9310         Moved ...
9311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9312         ... here.
9313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9314         Moved ...
9315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9317         Moved ...
9318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9319         ... here.
9320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9321         Moved ...
9322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9323         ... here.
9324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9325         Moved ...
9326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9328         Moved ...
9329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9330         ... here.
9331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9332         Moved ...
9333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9334         ... here.
9335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9336         Moved ...
9337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9339         Moved ...
9340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9341         ... here.
9342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9343         Moved ...
9344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9345         ... here.
9346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9347         Moved ...
9348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9349         ... here.
9350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9351         Moved ...
9352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9354         Moved ...
9355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9356         ... here.
9357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9358         Moved ...
9359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9360         ... here.
9361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9362         Moved ...
9363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9364         ... here.
9365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9366         Moved ...
9367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9369         Moved ...
9370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9371         ... here.
9372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9373         Moved ...
9374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9375         ... here.
9376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9377         Moved ...
9378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9380         Moved ...
9381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9382         ... here.
9383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9384         Moved ...
9385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9387         Moved ...
9388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9390         Moved ...
9391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9392         ... here.
9393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9394         Moved ...
9395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9396         ... here.
9397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9398         Moved ...
9399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9400         ... here.
9401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9402         Moved ...
9403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9405         Moved ...
9406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9407         ... here.
9408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9409         Moved ...
9410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9411         ... here.
9412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9413         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9415         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9417         Moved ...
9418         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9419         ... here.
9420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9421         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9423         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9424         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9425         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9427         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9429         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9431         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9433         Moved ...
9434         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9435         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9436         Moved ...
9437         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9438         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9439         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9440         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9441         Moved ...
9442         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9443         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9444         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9445         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9446         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9447         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9448         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9450 2014-06-10  Wilco  <wdijkstr@arm.com>
9452         * math/test-fenv-return.c: New file.
9453         * math/Makefile: Add new test test-fenv-return.
9455 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9457         [BZ #17042]
9458         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9459         when x - 1 is zero.
9460         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9461         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9462         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9463         0.0L for an argument of 1.0L.
9464         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9465         Likewise.
9466         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9467         value when x - 1 is zero.
9468         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9469         * sysdeps/i386/fpu/libm-test-ulps: Update.
9470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9472 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9474         [BZ #15119]
9475         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9477 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9479         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9480         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9482 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9484         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9485         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9487         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9488         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9490         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9491         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9493         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9494         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9496         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9497         if not already defined.
9498         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9499         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9500         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9501         (TLS_INIT_TP): Use it.
9502         (TLS_DEFINE_INIT_TP): New macro.
9503         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9505 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9507         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9508         constant.
9509         [POSIX] (IXANY): Likewise.
9510         [POSIX] (OLCUC): Likewise.
9511         [POSIX || POSIX2008] (CBAUD): Do not allow.
9512         [POSIX || POSIX2008] (DEFECHO): Likewise.
9513         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9514         [POSIX || POSIX2008] (ECHOKE): Likewise.
9515         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9516         [POSIX || POSIX2008] (EXTA): Likewise.
9517         [POSIX || POSIX2008] (EXTB): Likewise.
9518         [POSIX || POSIX2008] (FLUSHO): Likewise.
9519         [POSIX || POSIX2008] (LOBLK): Likewise.
9520         [POSIX || POSIX2008] (PENDIN): Likewise.
9521         [POSIX || POSIX2008] (SWTCH): Likewise.
9522         [POSIX || POSIX2008] (VDISCARD): Likewise.
9523         [POSIX || POSIX2008] (VDSUSP): Likewise.
9524         [POSIX || POSIX2008] (VLNEXT): Likewise.
9525         [POSIX || POSIX2008] (VREPRINT): Likewise.
9526         [POSIX || POSIX2008] (VSTATUS): Likewise.
9527         [POSIX || POSIX2008] (VWERASE): Likewise.
9528         (B*): Change to B[0123456789]*.
9529         * conform/data/time.h-data [POSIX || UNIX98]
9530         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9531         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9532         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9533         [POSIX] (tm_*): Do not allow.
9535 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9537         * Makefile (install): Don't set LANGUAGE.
9538         * Makefile.in (install): Likewise.
9539         * assert/Makefile (test-assert-ENV): Remove variable.
9540         (test-assert-perr-ENV): Likewise.
9541         * elf/Makefile (neededtest4-ENV): Likewise.
9542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9543         [$(cross-compiling) = no]: Don't set LANGUAGE.
9544         * io/ftwtest-sh (LANG): Remove variable.
9545         * libio/Makefile (tst-widetext-ENV): Likewise.
9546         * manual/install.texi (Running make install): Don't refer to
9547         environment settings for make install.
9548         * INSTALL: Regenerated.
9549         * nptl/tst-tls6.sh: Don't set LANG.
9550         * posix/globtest.sh (LANG): Remove variable.
9551         * string/Makefile (tester-ENV): Likewise.
9552         (inl-tester-ENV): Likewise.
9553         (noinl-tester-ENV): Likewise.
9554         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9555         [$(cross-compiling) = no]: Don't set LANGUAGE.
9556         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9557         without explicit environment settings.
9559 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9561         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9562         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9563         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9564         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9566 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9568         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9569         other files in the crypt directory.
9570         * crypt/crypt.c: Remove duplicate includes.
9571         * crypt/crypt-entry.c: Likewise.
9572         * crypt/crypt_util.c: Likewise.
9574 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9576         * Makeconfig (run-program-env): New variable.
9577         (run-program-prefix-before-env): Likewise.
9578         (run-program-prefix-after-env): Likewise.
9579         (run-program-prefix): Define in terms of new variables.
9580         (built-program-cmd-before-env): New variable.
9581         (built-program-cmd-after-env): Likewise.
9582         (built-program-cmd): Define in terms of new variables.
9583         (test-program-prefix-before-env): New variable.
9584         (test-program-prefix-after-env): Likewise.
9585         (test-program-prefix): Define in terms of new variables.
9586         (test-program-cmd-before-env): New variable.
9587         (test-program-cmd-after-env): Likewise.
9588         (test-program-cmd): Define in terms of new variables.
9589         * Rules (make-test-out): Use $(run-program-env).
9590         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9591         (help): Do not mention environment variables.  Mention
9592         --timeoutfactor option.
9593         (timeoutfactor): New variable.
9594         (blacklist_exports): Remove function.
9595         (exports): Remove variable.
9596         (command): Do not include ${exports}.
9597         * manual/install.texi (Configuring and compiling): Do not mention
9598         test wrappers preserving environment variables.  Mention that last
9599         assignment to a variable must take precedence.
9600         * INSTALL: Regenerated.
9601         * benchtests/Makefile (run-bench): Use $(run-program-env).
9602         * catgets/Makefile ($(objpfx)test1.cat): Use
9603         $(built-program-cmd-before-env), $(run-program-env) and
9604         $(built-program-cmd-after-env).
9605         ($(objpfx)test2.cat): Do not specify environment variables
9606         explicitly.
9607         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9608         $(run-program-env) and $(built-program-cmd-after-env).
9609         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9610         $(run-program-env) and $(test-program-cmd-after-env).
9611         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9612         explicitly.
9613         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9614         run_program_env and test_program_cmd_after_env arguments.
9615         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9616         * elf/tst-pathopt.sh: Use run_program_env argument.
9617         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9618         $(test-wrapper-env) and $(run-program-env).
9619         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9620         run_program_env arguments.
9621         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9622         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9623         $(test-program-prefix-before-env), $(run-program-env) and
9624         $(test-program-prefix-after-env).
9625         ($(objpfx)tst-gettext2.out): Likewise.
9626         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9627         run_program_env and test_program_prefix_after_env arguments.
9628         * intl/tst-gettext2.sh: Likewise.
9629         * intl/tst-gettext4.sh: Do not set environment variables
9630         explicitly.
9631         * intl/tst-gettext6.sh: Likewise.
9632         * intl/tst-translit.sh: Likewise.
9633         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9634         $(test-program-prefix-before-env), $(run-program-env) and
9635         $(test-program-prefix-after-env).
9636         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9637         run_program_env and test_program_prefix_after_env arguments.
9638         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9639         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9640         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9641         explicitly with each use of ${test_wrapper_env}.
9642         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9643         $(test-program-prefix-before-env), $(run-program-env) and
9644         $(test-program-prefix-after-env).
9645         * posix/tst-getconf.sh: Do not set environment variables
9646         explicitly.
9647         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9648         run_program_env and test_program_prefix_after_env arguments.
9649         * stdio-common/tst-printf.sh: Do not set environment variables
9650         explicitly.
9651         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9652         $(test-program-prefix-before-env), $(run-program-env) and
9653         $(test-program-prefix-after-env).
9654         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9655         run_program_env and test_program_prefix_after_env arguments.
9656         Split $test calls into $test_pre and $test.
9657         * timezone/Makefile (build-testdata): Use
9658         $(built-program-cmd-before-env), $(run-program-env) and
9659         $(built-program-cmd-after-env).
9661 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9663         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9664         strlen for non SHARED builds.
9666 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9668         * nptl/allocatestack.c (check_list): Inlined function...
9669         (__reclaim_stacks): ... here.
9671 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9673         [BZ #15698]
9674         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9675         memory overrun.
9677 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9679         * Rules (make-test-out): Include
9680         LOCPATH=$(common-objpfx)localedata in default environment.
9681         * debug/Makefile (tst-chk1-ENV): Remove variable.
9682         (tst-chk2-ENV): Likewise.
9683         (tst-chk3-ENV): Likewise.
9684         (tst-chk4-ENV): Likewise.
9685         (tst-chk5-ENV): Likewise.
9686         (tst-chk6-ENV): Likewise.
9687         (tst-lfschk1-ENV): Likewise.
9688         (tst-lfschk2-ENV): Likewise.
9689         (tst-lfschk3-ENV): Likewise.
9690         (tst-lfschk4-ENV): Likewise.
9691         (tst-lfschk5-ENV): Likewise.
9692         (tst-lfschk6-ENV): Likewise.
9693         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9694         (tst-iconv7-ENV): Likewise.
9695         * intl/Makefile (LOCPATH-ENV): Likewise.
9696         (tst-codeset-ENV): Likewise.
9697         (tst-gettext3-ENV): Likewise.
9698         (tst-gettext5-ENV): Likewise.
9699         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9700         (tst-fopenloc-ENV): Likewise.
9701         (tst-fgetws-ENV): Remove variable.
9702         (tst-ungetwc1-ENV): Likewise.
9703         (tst-ungetwc2-ENV): Likewise.
9704         (bug-ungetwc2-ENV): Likewise.
9705         (tst-swscanf-ENV): Likewise.
9706         (bug-ftell-ENV): Likewise.
9707         (tst-fgetwc-ENV): Likewise.
9708         (tst-fseek-ENV): Likewise.
9709         (tst-ftell-partial-wide-ENV): Likewise.
9710         (tst-ftell-active-handler-ENV): Likewise.
9711         (tst-ftell-append-ENV): Likewise.
9712         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9713         (tst-regexloc-ENV): Likewise.
9714         (bug-regex1-ENV): Likewise.
9715         (tst-regex-ENV): Likewise.
9716         (tst-regex2-ENV): Likewise.
9717         (bug-regex5-ENV): Likewise.
9718         (bug-regex6-ENV): Likewise.
9719         (bug-regex17-ENV): Likewise.
9720         (bug-regex18-ENV): Likewise.
9721         (bug-regex19-ENV): Likewise.
9722         (bug-regex20-ENV): Likewise.
9723         (bug-regex22-ENV): Likewise.
9724         (bug-regex23-ENV): Likewise.
9725         (bug-regex25-ENV): Likewise.
9726         (bug-regex26-ENV): Likewise.
9727         (bug-regex30-ENV): Likewise.
9728         (bug-regex32-ENV): Likewise.
9729         (bug-regex33-ENV): Likewise.
9730         (bug-regex34-ENV): Likewise.
9731         (bug-regex35-ENV): Likewise.
9732         (tst-rxspencer-ENV): Likewise.
9733         (tst-rxspencer-no-utf8-ENV): Likewise.
9734         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9735         (tst-sscanf-ENV): Likewise.
9736         (tst-swprintf-ENV): Likewise.
9737         (tst-swscanf-ENV): Likewise.
9738         (test-vfprintf-ENV): Likewise.
9739         (scanf13-ENV): Likewise.
9740         (bug14-ENV): Likewise.
9741         (tst-grouping-ENV): Likewise.
9742         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9743         (tst-strtod3-ENV): Likewise.
9744         (tst-strtod4-ENV): Likewise.
9745         (tst-strtod5-ENV): Likewise.
9746         (testmb2-ENV): Likewise./
9747         * string/Makefile (tst-strxfrm-ENV): Likewise.
9748         (tst-strxfrm2-ENV): Likewise.
9749         (bug-strcoll1-ENV): Likewise.
9750         (test-strcasecmp-ENV): Likewise.
9751         (test-strncasecmp-ENV): Likewise.
9752         * time/Makefile (tst-strptime-ENV): Likewise.
9753         (tst-ftime_l-ENV): Likewise.
9754         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9755         (tst-mbrtowc-ENV): Likewise.
9756         (tst-wcrtomb-ENV): Likewise.
9757         (tst-mbrtowc2-ENV): Likewise.
9758         (tst-c16c32-1-ENV): Likewise.
9759         (tst-mbsnrtowcs-ENV): Likewise.
9761 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9763         * manual/resource.texi (How to get information about the memory
9764         subsystem?): Fix typo.
9765         Reported by Peon de la Parra Ivan <peon@keba.com>
9767 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9769         [BZ #16882]
9770         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9771         (pthread_spin_lock): Branch out of spin loop to proper location.
9772         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9773         (pthread_spin_lock): Likewise.
9775         * nptl/tst-spin4.c: New test.
9776         * nptl/Makefile (tests): Add tst-spin4.
9778 2014-06-03  Andreas Schwab  <schwab@suse.de>
9780         [BZ #15946]
9781         * resolv/res_send.c (send_dg): Reload file descriptor after
9782         calling reopen.
9784 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9786         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9788 2014-06-03  Richard Henderson  <rth@redhat.com>
9790         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9791         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9792         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9793         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9794         in the SAVE_PID block.
9795         (__libc_vfork): New alias.
9796         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9798         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9799         child in registers, not on the stack.  Remove RESET_PID conditionals.
9800         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9802 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9804         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9806 2014-06-03  Wilco  <wdijkstr@arm.com>
9808         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9809         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9810         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9811         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9812         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9813         Likewise.
9815 2014-06-03  Wilco  <wdijkstr@arm.com>
9817         * sysdeps/aarch64/fpu/math_private.h
9818         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9819         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9820         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9821         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9822         Fix declarations.
9824 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9826         * crypt/crypt-private.h: Include ufc-crypt.h.
9827         (__b64_from_24bit): Declare extern.
9828         * crypt/crypt_util.c(__b64_from_24bit): New function.
9829         (b64t): New static const variable.
9830         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9831         (b64t): Remove variable.
9832         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9833         * crypt/sha256-crypt.c: Include crypt-private.h.
9834         (b64t): Remove variable.
9835         (__sha256_crypt_r): Remove b64_from_24bit and replace
9836         with __b64_from_24bit.
9837         * crypt/sha512-crypt.c: Likewise.
9839 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9841         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9842         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9843         Label the code __libc_vfork rather than __vfork.
9844         [!NOT_IN_libc] (vfork): Define as weak alias.
9845         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9846         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9847         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9849 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9851         * malloc/malloc.c (malloc_info): Fix format specifier for
9852         n_mmaps.
9854 2014-06-02  Wilco  <wdijkstr@arm.com>
9856         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9857         FPCR write.
9859 2014-06-02  Wilco  <wdijkstr@arm.com>
9861         [BZ #17009]
9862         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9863         Rewrite to reduce FPCR/FPSR accesses.
9865 2014-06-01  David S. Miller  <davem@davemloft.net>
9867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9869 2014-05-31  David S. Miller  <davem@davemloft.net>
9871         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9872         to occur in round to nearest mode when |x| >= 2.0
9874 2014-05-30  Richard Henderson  <rth@twiddle.net>
9876         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9877         (PSEUDO_RET_NOERRNO): Remove.
9878         (ret): Don't redefine.
9879         (ret_NOERRNO): Define in terms of ret.
9880         (ret_ERRVAL): Likewise.
9882         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9883         use of PSEUDO_RET; perform the error check directly.
9885 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9887         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9888         with __int128_t.
9890 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9892         * malloc/malloc (malloc_info): Fix formatting.
9894 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9895             Roland McGrath  <roland@hack.frob.com>
9897         * malloc/malloc (malloc_info): Also print mmapped statistics.
9899 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9901         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9902         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9904 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9906         * malloc/malloc.c (malloc_info): Inline mi_arena.
9908 2014-05-29  Richard Henderson  <rth@twiddle.net>
9910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9911         Remove comma before expanding ASM_ARGS_##nr.
9912         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9913         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9914         of ASM_ARGS_##nr.
9915         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9916         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9917         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9918         (ASM_ARGS_1): Add leading comma.
9920         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9921         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9922         to __errno_location.
9923         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9924         Remove the expected plt for __errno_location.
9926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9927         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9928         call to __read_tp.
9930         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9931         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9932         it and break it down.
9933         (DOCARGS_0, DOCARGS_1): Do nothing.
9934         (DOCARGS_2): Update to store into the new stack frame.
9935         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9936         (UNDOCARGS_1): Update to restore from the new stack frame.
9937         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9938         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9940         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9941         (SINGLE_THREAD_P): New parameter for result regno.
9942         (PSEUDO): Update to match; use cbz instead of beq.
9944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9945         Use ENTRY to define the _nocancel entry point.  Share the syscall
9946         and syscall error check paths with the cancel path.
9947         (PSEUDO_END): New.
9949         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9950         whitespace; tabs before and after asm mnemonics.
9952 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9954         [BZ #15132]
9955         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9956         Call fstat64 or stat64 internally, depending on arguments passed.
9957         Replace stat buffer argument with file descriptor argument.
9958         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9959         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9960         Pass fd to __internal_statvfs instead of calling fstat64.
9961         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9962         Pass fd to __internal_statvfs64 instead of calling fstat64.
9963         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9964         Pass -1 to __internal_statvfs instead of calling stat64.
9965         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9966         Pass -1 to __internal_statvfs64 instead of calling stat64.
9968 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9970         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9971         that was previously under [RESET_PID].
9972         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9974         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9975         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9977 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9979         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9981         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9982         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9984 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9986         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9988 2014-05-27  Andreas Schwab  <schwab@suse.de>
9990         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9991         TLS_INIT_TP macro.
9992         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9993         * elf/rtld.c (init_tls, dl_main): Likewise.
9994         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9995         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9996         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9997         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9998         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9999         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10000         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10001         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10002         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10003         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10004         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10005         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10006         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10007         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10008         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10009         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10010         * sysdeps/generic/tls.h: Update description.
10012 2014-05-27  Will Newton  <will.newton@linaro.org>
10014         [BZ #16990]
10015         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10016         and restore r2 rather than just restoring.
10018 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10020         [BZ #16724]
10021         * libio/tst-ftell-append.c: New test case.
10022         * libio/Makefile (tests): Add test case.
10023         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10024         append mode.
10025         * libio/wfileops.c (do_ftell_wide): Likewise.
10027 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10031         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10032         ...
10033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10035         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10036         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10037         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10038         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10039         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10040         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10042         Moved ...
10043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10045         Moved ...
10046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10047         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10048         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10049         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10050         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10051         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10052         ...
10053         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10054         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10055         Moved ...
10056         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10057         here.
10058         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10059         ...
10060         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10061         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10062         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10064         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10065         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10066         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10067         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10070         merge into ...
10071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10072         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10073         ...
10074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10075         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10076         ...
10077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10079         Moved ...
10080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10081         here.
10082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10083         Moved ...
10084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10086         Moved ...
10087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10090         conditional [RESET_PID].
10091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10093         removed.
10094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10095         removed.
10097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10098         <tcb-offsets.h>.
10099         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10100         (__libc_vfork): New strong alias.
10101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10102         removed.
10103         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10104         Removed.
10106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10107         <tcb-offsets.h>.
10108         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10109         (__libc_vfork): New strong alias.
10110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10111         removed.
10112         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10113         removed.
10115 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
10117         * malloc/malloc.c (mi_arena): New function.
10118         (malloc_info): Remove nested function mi_arena. Call non-nosted
10119         function mi_arena.
10121 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10123         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10124         by insrwi.
10125         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10126         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10127         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10128         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10129         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10130         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10131         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10133 2014-05-26  Andreas Schwab  <schwab@suse.de>
10135         [BZ #16984]
10136         * locale/programs/repertoire.c (repertoire_read): Add slash
10137         between I18NPATH element and file name.
10138         * locale/programs/locfile.c (locfile_read): Likewise.
10140 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10142         * nptl/pthread_mutexattr_settype.c
10143         (__pthread_mutexattr_settype):
10144         Disable lock elision for PTHREAD_MUTEX_NORMAL.
10146 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10148         * nptl/tst-mutex5 (do_test):
10149         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10151 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10153         * benchtests/README: Document 'init' directive.
10154         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10155         BENCH_INIT.
10156         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10157         (parse_file): Recognize 'init' directive.
10159 2014-05-26  Kyle McMartin  <kyle@redhat.com>
10161         [BZ #16796]
10162         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10163         alignment of struct pthread.
10165 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10167         [BZ #16878]
10168         * nscd/netgroupcache.c (addgetnetgrentX): Look for
10169         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10170         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10171         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10173 2014-05-25  Richard Henderson  <rth@twiddle.net>
10175         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10176         (SINGLE_THREAD_P_PIC): Remove.
10177         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10178         (SINGLE_THREAD_P_PIC): Remove.
10180         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10181         branch to syscall error ...
10182         (PSEUDO): ... here.
10183         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10184         from __local_syscall_error to .Lsyscall_error.
10185         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10186         (SYSCALL_ERROR): Update label name.
10188         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10189         Do not use DOARGS/UNDOARGS.
10190         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10191         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10192         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10193         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10194         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10196         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10197         block comment.
10199         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10200         define if !NOT_IN_libc.
10201         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10202         define with non-default symbol versions.
10204 2014-05-23  Richard Henderson  <rth@twiddle.net>
10206         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10207         (vfork, __vfork): Define via compat_symbol.
10209         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10210         [!HAVE_IFUNC] (vfork_compat): Remove.
10211         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10213 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10215         [BZ #16978]
10216         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10217         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10218         variable.
10220 2014-05-23  Richard Henderson  <rth@twiddle.net>
10222         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10223         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10224         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10225         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10227         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10228         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10229         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10230         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10231         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10232         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10233         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10234         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10235         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10236         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10237         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10238         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10239         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10240         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10241         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10242         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10243         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10244         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10245         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10246         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10247         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10248         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10249         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10250         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10251         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10252         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10253         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10254         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10255         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10256         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10257         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10258         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10259         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10260         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10261         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10262         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10263         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10264         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10265         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10266         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10267         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10268         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10269         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10270         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10271         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10272         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10273         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10274         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10275         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10276         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10277         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10278         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10279         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10280         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10282         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10284         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10285         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10286         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10287         before exiting on error.
10288         (__libc_vfork): New strong alias.
10289         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10290         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10292         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10293         that was previously under [RESET_PID].
10294         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10296         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10298 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10300         [BZ #16977]
10301         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10302         value when x - 1 is zero.
10303         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10304         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10305         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10306         0.0L for an argument of 1.0L.
10307         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10308         Likewise.
10309         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10310         value when x - 1 is zero.
10311         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10312         * sysdeps/i386/fpu/libm-test-ulps: Update.
10313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10315 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10317         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10318         alphasort and versionsort.
10320 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10322         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10323         macro.
10324         [copysignf]: Likewise.
10326 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10328         * crypt/md5-crypt.c: Fix formatting.
10330 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10332         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10333         (b64_from_24bit): New function.
10335 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10337         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10338         libc_hidden_builtin_def to ifunc.
10339         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10340         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10342 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10344         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10345         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10347 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10349         * nscd/Depend (linuxthreads): Remove.
10350         (nptl): Add.
10351         * resolv/Depend (linuxthreads): Remove.
10352         * rt/Depend (linuxthreads): Remove.
10354         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10355         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10356         $(common-objpfx)elf/.
10357         (link-libc-before-gnulib): Likewise.
10358         (elfobjdir): Remove variable.
10359         * Makefile (install): Use $(elf-objpfx) instead of
10360         $(common-objpfx)elf/.
10361         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10362         $(elfobjdir)/.
10363         (link-libc-deps): Likewise.
10364         ($(common-objpfx)libc.so): Likewise.
10365         ($(common-objpfx)linkobj/libc.so): Likewise.
10366         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10367         instead of $(common-objpfx)elf/.
10368         (symbolic-link-list): Likewise.
10369         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10370         [$(cross-compiling) = no]: Likewise.
10371         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10372         $(elfobjdir)/.
10373         (static-gnulib-arch): Likewise.
10374         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10375         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10376         $(common-objpfx)elf/.
10378 2014-05-21  Richard Henderson  <rth@redhat.com>
10380         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10381         (SINGLE_THREAD_P): Use the correct width load.  Fold
10382         into the ldr offset.
10384         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10385         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10387 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10389         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10390         (libgcc_s_resume): Use __attribute_used__.
10391         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10392         Likewise.
10394 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10396         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10397         optimization when used with float constants.
10399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10401 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10403         [BZ #16915]
10404         * locale/nl_langinfo_l.c: Make direct reference to every
10405         _nl_current_CATEGORY symbol.
10406         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10407         (tests-static): Add tst-langinfo-static.
10408         (tests-special): Add tst-langinfo-static.out.
10409         ($(objpfx)tst-langinfo.out): Redirect output.
10410         ($(objpfx)tst-langinfo-static.out): New.
10411         * localedata/tst-langinfo.sh: Send output to stdout.
10412         * localedata/tst-langinfo-static.c: New file.
10414         [BZ #16965]
10415         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10416         when the shift amount is modulo the limb size.
10418 2014-05-20  Richard Henderson  <rth@redhat.com>
10420         [BZ #16967]
10421         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10422         Change type of sa_flags from unsigned int to int.
10424         [BZ #16966]
10425         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10427         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10429 2014-05-20  Will Newton  <will.newton@linaro.org>
10431         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10432         Test the return value of the system call in the nocancel case.
10434 2014-05-20  Will Newton  <will.newton@linaro.org>
10435             Yvan Roux  <yvan.roux@linaro.org>
10437         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10438         #include of asm/ptrace.h.
10439         (PTRACE_GET_THREAD_AREA): Remove #undef.
10440         (PTRACE_GETHBPREGS): Likewise.
10441         (PTRACE_SETHBPREGS): Likewise.
10442         (struct user_regs_struct): New structure.
10443         (struct user_fpsimd_struct): New structure.
10444         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10445         #include of asm/ptrace.h and second #include of sys/user.h.
10446         (PTRACE_GET_THREAD_AREA): Remove #undef.
10447         (PTRACE_GETHBPREGS): Likewise.
10448         (PTRACE_SETHBPREGS): Likewise.
10449         (ELF_NGREG): Use new struct user_regs_struct.
10450         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10452 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10457 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10459         [BZ #16958]
10460         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10461         membar to avoid block loads/stores to overlap previous stores.
10463 2014-05-17  Richard Henderson  <rth@redhat.com>
10465         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10466         Create the __##syscall_name##_nocancel entry point.
10467         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10468         Remove; let the sysdep-cancel.h code create it.
10470 2014-05-17  David S. Miller  <davem@davemloft.net>
10472         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10473         Protect with __USE_GNU.
10474         (TIOCSET_TEMPT): Likewise.
10475         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10476         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10477         these are already provided in bits/ioctl-types.h
10479 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10481         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10482         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10484         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10485         Use wait4 regardless of [__NR_waitpid].
10487 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10489         PR libgcc/60166
10490         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10491         (_FP_NANSIGN_Q): Set the quiet bit.
10493 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10495         * benchtests/Makefile
10496         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10497         not $(common-objpfx)math/libm.so.
10498         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10499         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10500         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10501         $(common-objpfx)dlfcn/libdl.so.
10502         ($(objpfx)tst-audit8): Depend on $(libm), not
10503         $(common-objpfx)math/libm.so.
10504         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10505         not $(common-objpfx)dlfcn/libdl.so.
10506         * math/Makefile
10507         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10508         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10509         [$(build-shared) = yes].
10510         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10511         $(common-objpfx)nptl/libpthread.so.
10512         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10513         $(common-objpfx)math/libm.so$(libm.so-version) or
10514         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10515         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10516         $(common-objpfx)dlfcn/libdl.so.
10517         * setjmp/Makefile (link-libm): Remove variable.
10518         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10519         * stdio-common/Makefile (link-libm): Remove variable.
10520         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10521         * stdlib/Makefile (link-libm): Remove variable.
10522         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10523         ($(objpfx)tst-strtod-round): Likewise.
10524         ($(objpfx)tst-tininess): Likewise.
10525         ($(objpfx)tst-strtod-underflow): Likewise.
10526         ($(objpfx)tst-strtod6): Likewise.
10527         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10528         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10529         $(common-objpfx)dlfcn/libdl.so.
10531 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10533         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10534         BSD terminal modes definitions.
10536 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10538         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10539         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10541         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10542         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10543         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10544         Don't do #include_next.
10545         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10546         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10547         Don't do #include_next.
10548         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10549         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10550         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10551         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10553 2014-05-16  Allan McRae  <allan@archlinux.org>
10555         * po/sv.po: Update Swedish translation from translation project.
10557         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10558         in sed expression.
10560 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10562         [BZ #16917]
10563         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10564         errno if the TIOCGPTN ioctl fails with an error different than
10565         EINVAL.
10566         * login/tst-ptsname.c: New file.
10567         * login/Makefile (tests): Add tst-ptsname.
10569         [BZ #16943]
10570         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10571         and prlimit64.
10573 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10575         [BZ #16849]
10576         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10577         herrno to return EAI_AGAIN.
10579 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10581         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10582         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10583         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10584         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10585         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10586         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10587         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10588         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10589         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10590         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10591         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10592         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10593         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10594         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10595         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10596         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10597         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10598         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10599         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10600         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10601         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10602         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10603         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10604         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10605         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10606         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10607         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10608         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10609         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10610         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10612         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10614         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10616         Moved ...
10617         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10619         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10621         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10623         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10625         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10627         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10629         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10631         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10633         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10635         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10637         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10639         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10641         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10643         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10645         Moved ...
10646         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10648         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10650         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10652         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10654         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10656         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10658         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10660         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10662         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10664         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10666         Moved ...
10667         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10669         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10671         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10672         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10673         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10674         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10675         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10676         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10677         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10678         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10679         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10680         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10681         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10682         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10683         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10684         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10685         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10686         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10687         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10688         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10689         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10690         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10691         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10692         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10693         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10694         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10695         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10696         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10697         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10698         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10699         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10700         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10701         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10703         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10704         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10706         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10707         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10708         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10709         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10710         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10711         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10712         Moved ...
10713         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10714         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10715         Moved ...
10716         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10717         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10718         Moved ...
10719         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10720         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10721         Moved ...
10722         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10723         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10724         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10725         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10726         Moved ...
10727         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10728         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10729         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10730         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10731         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10732         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10733         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10734         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10735         Moved ...
10736         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10737         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10738         Moved ...
10739         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10740         ... here.
10741         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10742         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10743         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10744         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10745         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10746         Moved ...
10747         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10748         ... here.
10749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10750         Moved ...
10751         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10752         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10753         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10754         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10755         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10756         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10757         Moved ...
10758         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10759         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10760         Moved ...
10761         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10762         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10763         Moved ...
10764         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10765         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10766         Moved ...
10767         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10768         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10769         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10770         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10771         Moved ...
10772         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10773         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10774         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10775         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10776         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10777         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10778         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10779         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10780         Moved ...
10781         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10782         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10783         Moved ...
10784         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10785         ... here.
10786         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10787         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10788         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10789         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10790         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10791         Moved ...
10792         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10793         ... here.
10794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10795         Moved ...
10796         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10797         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10798         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10799         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10800         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10801         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10802         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10803         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10804         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10805         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10806         Moved ...
10807         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10808         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10809         Moved ...
10810         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10811         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10812         Moved ...
10813         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10814         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10815         Moved ...
10816         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10817         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10818         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10819         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10820         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10821         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10822         Moved ...
10823         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10824         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10825         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10826         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10827         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10828         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10829         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10830         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10831         Moved ...
10832         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10833         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10834         Moved ...
10835         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10836         ... here.
10837         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10838         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10839         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10840         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10841         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10842         Moved ...
10843         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10844         ... here.
10845         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10846         Moved ...
10847         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10848         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10849         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10850         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10851         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10852         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10853         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10854         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10855         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10856         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10857         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10859         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10860         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10862         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10863         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10865         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10866         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10867         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10868         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10869         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10870         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10871         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10872         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10873         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10874         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10875         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10876         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10877         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10878         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10879         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10881         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10882         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10883         Moved ...
10884         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10885         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10886         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10887         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10888         Moved ...
10889         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10890         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10891         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10893         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10894         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10895         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10897         Moved ...
10898         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10899         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10900         Moved ...
10901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10903         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10905         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10906         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10907         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10908         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10909         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10910         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10911         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10912         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10913         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10914         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10915         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10916         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10917         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10919         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10920         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10921         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10922         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10923         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10925         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10926         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10927         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10928         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10929         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10930         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10931         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10932         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10933         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10934         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10937         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10939         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10940         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10941         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10942         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10943         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10944         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10945         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10946         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10947         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10948         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10949         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10950         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10951         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10952         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10954         Update #include.
10955         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10956         Likewise.
10957         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10958         Likewise.
10959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10960         Likewise.
10961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10962         Likewise.
10963         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10964         Likewise.
10965         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10966         Likewise.
10967         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10968         Likewise.
10969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10970         Likewise.
10971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10972         Likewise.
10973         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10974         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10975         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10976         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10977         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10978         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10979         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10980         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10981         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10982         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10983         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10984         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10985         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10986         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10987         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10989         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10990         that was previously under [RESET_PID].
10991         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10992         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10993         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10995         * sysdeps/i386/nptl/Implies: New file.
10996         * sysdeps/x86_64/nptl/Implies: New file.
10997         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10998         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10999         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11000         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11002         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11003         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11004         (__libc_vfork): New strong alias.
11005         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11006         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11008         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11009         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11010         (__libc_vfork): New strong alias.
11011         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11012         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11014         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11015         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11016         (__libc_vfork): New strong alias.
11017         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11018         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11019         * nptl/pt-vfork.c: New file.
11020         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11021         (libpthread: GLIBC_2.20): New version set (empty).
11023 2014-05-14  Will Newton  <will.newton@linaro.org>
11025         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11026         rather than #if.
11028 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11030         [BZ #16564]
11031         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11032         arguments with exponent 65 or above.
11033         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11034         arguments 0x1p113L or above.
11035         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11036         to arguments 0x1p107L or above.
11037         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11038         positive arguments with exponent 65 or above.
11039         * math/auto-libm-test-in: Add more tests of log1p.
11040         * math/auto-libm-test-out: Regenerated.
11042         [BZ #16928]
11043         * math/s_cacos.c (__cacos): Ensure zero real part of result from
11044         non-finite arguments is +0.
11045         * math/s_cacosf.c (__cacosf): Likewise.
11046         * math/s_cacosl.c (__cacosl): Likewise.
11047         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11048         * sysdeps/i386/fpu/libm-test-ulps: Update.
11049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11051         [BZ #16927]
11052         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11053         value.
11054         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11055         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11056         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11057         for explicit high bit of mantissa when testing for argument equal
11058         to 1.
11059         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11060         * sysdeps/i386/fpu/libm-test-ulps: Update.
11061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11063         [BZ #16516]
11064         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11065         (__erf): Scale by 16 instead of 8 in potentially underflowing
11066         case.  Ensure exception if result actually underflows.
11067         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11068         (__erff): Scale by 16 instead of 8 in potentially underflowing
11069         case.  Ensure exception if result actually underflows.
11070         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11071         (efx8): Remove variable.
11072         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11073         case.  Ensure exception if result actually underflows.
11074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11075         (efx8): Remove variable.
11076         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11077         case.  Ensure exception if result actually underflows.
11078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11079         (efx8): Remove variable.
11080         (__erfl): Scale by 16 instead of 8 in potentially underflowing
11081         case.  Ensure exception if result actually underflows.
11082         * math/auto-libm-test-in: Add more tests of erf.
11083         * math/auto-libm-test-out: Regenerated.
11085 2014-05-14  Andreas Schwab  <schwab@suse.de>
11087         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11088         Remove code conditionalized on USE___THREAD.
11090         * config.h.in (HAVE_PT_CHOWN): Define as 0.
11091         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11092         not definedness.
11094 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
11096         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11097         Define unconditionally.
11098         (__ASSUME_O_CLOEXEC): Likewise.
11099         (__ASSUME_SOCK_CLOEXEC): Likewise.
11100         (__ASSUME_IN_NONBLOCK): Likewise.
11101         (__ASSUME_PIPE2): Likewise.
11102         (__ASSUME_EVENTFD2): Likewise.
11103         (__ASSUME_SIGNALFD4): Likewise.
11104         (__ASSUME_DUP3): Likewise.
11105         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11106         (__ASSUME_DUP3): Do not define.
11107         (__ASSUME_EVENTFD2): Likewise.
11108         (__ASSUME_IN_NONBLOCK): Likewise.
11109         (__ASSUME_O_CLOEXEC): Likewise.
11110         (__ASSUME_PIPE2): Likewise.
11111         (__ASSUME_SIGNALFD4): Likewise.
11112         (__ASSUME_SOCK_CLOEXEC): Likewise.
11113         (__ASSUME_UTIMES): Undefine.
11114         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11115         (__ASSUME_UTIMES): Do not define.
11116         (__ASSUME_O_CLOEXEC): Likewise.
11117         (__ASSUME_SOCK_CLOEXEC): Likewise.
11118         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11119         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11120         0x020621].
11121         (__ASSUME_PIPE2): Likewise.
11122         (__ASSUME_EVENTFD2): Likewise.
11123         (__ASSUME_SIGNALFD4): Likewise.
11124         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11125         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11126         Do not define.
11127         (__ASSUME_EVENTFD2): Likewise.
11128         (__ASSUME_SIGNALFD4): Likewise.
11129         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11130         (__ASSUME_32BITUIDS): Likewise.
11131         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11132         (__ASSUME_IPC64): Likewise.
11133         (__ASSUME_ST_INO_64_BIT): Likewise.
11134         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11135         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11136         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11137         (__ASSUME_UTIMES): Do not define.
11138         (__ASSUME_PSELECT): Likewise.
11139         (__ASSUME_PPOLL): Likewise.
11140         (__ASSUME_O_CLOEXEC): Likewise.
11141         (__ASSUME_SOCK_CLOEXEC): Likewise.
11142         (__ASSUME_IN_NONBLOCK): Likewise.
11143         (__ASSUME_PIPE2): Likewise.
11144         (__ASSUME_EVENTFD2): Likewise.
11145         (__ASSUME_SIGNALFD4): Likewise.
11146         (__ASSUME_DUP3): Likewise.
11147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11148         (__ASSUME_UTIMES): Likewise.
11149         (__ASSUME_O_CLOEXEC): Likewise.
11150         (__ASSUME_SOCK_CLOEXEC): Likewise.
11151         (__ASSUME_IN_NONBLOCK): Likewise.
11152         (__ASSUME_PIPE2): Likewise.
11153         (__ASSUME_EVENTFD2): Likewise.
11154         (__ASSUME_SIGNALFD4): Likewise.
11155         (__ASSUME_DUP3): Likewise.
11156         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11157         (__ASSUME_UTIMES): Likewise.
11158         (__ASSUME_O_CLOEXEC): Likewise.
11159         (__ASSUME_SOCK_CLOEXEC): Likewise.
11160         (__ASSUME_IN_NONBLOCK): Likewise.
11161         (__ASSUME_PIPE2): Likewise.
11162         (__ASSUME_EVENTFD2): Likewise.
11163         (__ASSUME_SIGNALFD4): Likewise.
11164         (__ASSUME_DUP3): Likewise.
11165         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11166         Likewise.
11167         (__ASSUME_UTIMES): Likewise.
11168         (__ASSUME_EVENTFD2): Likewise.
11169         (__ASSUME_SIGNALFD4): Likewise.
11170         * sysdeps/unix/sysv/linux/tile/kernel-features.h
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         (__ASSUME_UTIMES): Undefine.
11180         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11181         feclearexcept.  Remove symbol versioning code.
11182         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
11183         symbol versioning code.
11184         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
11185         symbol versioning code.
11186         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11187         feupdateenv.  Remove symbol versioning code.
11188         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11189         fegetexceptflag.  Remove symbol versioning code.
11190         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11191         fesetexceptflag.  Remove symbol versioning code.
11192         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11193         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
11194         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11195         (__posix_fadvise64_l32): Remove prototype.
11196         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11197         code.
11199 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11201         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11202         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11203         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11204         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11206 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
11208         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11209         current working directory
11211 2014-05-13  Roland McGrath  <roland@hack.frob.com>
11213         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11214         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11215         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11216         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11217         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11218         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11219         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11220         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11221         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11222         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11223         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11224         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11225         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11226         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11227         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11228         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11229         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11230         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11231         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11232         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11233         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11234         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11235         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11236         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11237         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11238         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11239         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11240         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11241         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11242         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11243         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11244         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11245         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11246         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11247         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11248         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11249         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11250         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11251         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11252         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11253         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11254         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11256         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11257         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11259         * sysdeps/unix/sysv/linux/arm/Makefile
11260         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11261         Add rt-aeabi_unwind_cpp_pr1.
11262         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11263         Add nptl-aeabi_unwind_cpp_pr1.
11264         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11265         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11266         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11267         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11268         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11269         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11271         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11272         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11273         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11274         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11276         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11277         Deconditionalize the code that was previously under [RESET_PID].
11278         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11280         * sysdeps/generic/exit-thread.h: New file.
11281         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11282         * include/unistd.h (__exit_thread): Remove declaration.
11283         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11284         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11285         * csu/libc-start.c: Include <exit-thread.h>.
11286         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11287         * nptl/pthread_create.c: Include <exit-thread.h>.
11288         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11289         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11290         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11291         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11292         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11293         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11294         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11295         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11296         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11297         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11298         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11299         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11300         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11301         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11302         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11303         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11304         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11306 2014-05-13  Andreas Schwab  <schwab@suse.de>
11308         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11310 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11312         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11313         (__ASSUME_UTIMES): Do not condition on kernel version.
11314         (__ASSUME_PSELECT): Define unconditionally.
11315         (__ASSUME_PPOLL): Likewise.
11316         (__ASSUME_ATFCTS): Likewise.
11317         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11318         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11319         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11320         (__ASSUME_UTIMENSAT): Define unconditionally.
11321         (__ASSUME_PRIVATE_FUTEX): Likewise.
11322         (__ASSUME_FALLOCATE): Likewise.
11323         (__ASSUME_O_CLOEXEC): Likewise.
11324         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11325         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11326         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11327         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11328         (__ASSUME_IN_NONBLOCK): Likewise.
11329         (__ASSUME_PIPE2): Likewise.
11330         (__ASSUME_EVENTFD2): Likewise.
11331         (__ASSUME_SIGNALFD4): Likewise.
11332         (__ASSUME_DUP3): Likewise.
11333         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11334         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11335         (__ASSUME_AT_RANDOM): Likewise.
11336         (__ASSUME_PREADV): Likewise.
11337         (__ASSUME_PWRITEV): Likewise.
11338         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11339         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11340         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11341         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11342         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11343         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11344         (__ASSUME_O_CLOEXEC): Define unconditionally.
11345         (__ASSUME_PSELECT): Do not undefine conditionally.
11346         (__ASSUME_PPOLL): Likewise.
11347         (__ASSUME_ATFCTS): Likewise.
11348         (__ASSUME_SET_ROBUST_LIST): Likewise.
11349         (__ASSUME_UTIMENSAT): Likewise.
11350         (__ASSUME_FDATASYNC): Define unconditionally.
11351         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11352         (__ASSUME_SIGFRAME_V2): Likewise.
11353         )__ASSUME_EVENTFD2): Likewise.
11354         (__ASSUME_SIGNALFD4): Likewise.
11355         (__ASSUME_PSELECT): Do not undefine conditionally.
11356         (__ASSUME_PPOLL): Likewise.
11357         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11358         (__ASSUME_PSELECT): Define unconditionally.
11359         (__ASSUME_PPOLL): Likewise.
11360         (__ASSUME_O_CLOEXEC): Likewise.
11361         (__ASSUME_SOCK_CLOEXEC): Likewise.
11362         (__ASSUME_IN_NONBLOCK): Likewise.
11363         (__ASSUME_PIPE2): Likewise.
11364         (__ASSUME_EVENTFD2): Likewise.
11365         (__ASSUME_SIGNALFD4): Likewise.
11366         (__ASSUME_DUP3): Likewise.
11367         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11368         (__ASSUME_O_CLOEXEC): Likewise.
11369         (__ASSUME_SOCK_CLOEXEC): Likewise.
11370         (__ASSUME_IN_NONBLOCK): Likewise.
11371         (__ASSUME_PIPE2): Likewise.
11372         (__ASSUME_EVENTFD2): Likewise.
11373         (__ASSUME_SIGNALFD4): Likewise.
11374         (__ASSUME_DUP3): Likewise.
11375         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11376         (__ASSUME_EVENTFD2): Likewise.
11377         (__ASSUME_SIGNALFD4): Likewise.
11378         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11380 2014-05-12  Andreas Schwab  <schwab@suse.de>
11382         [BZ #16932]
11383         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11384         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11385         than maximum RPC packet size.
11386         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11387         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11388         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11389         (_nss_nis_getservbyport_r): Likewise.
11391 2014-05-12  Will Newton  <will.newton@linaro.org>
11393         * malloc/Makefile (tests): Add tst-mallopt.
11394         * malloc/tst-mallopt.c: New file.
11396 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11398         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11399         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11401 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11403         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11404         (tst-tlsmod6.so): Likewise.
11406 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11408         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11410 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11412         [BZ #16064]
11413         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11414         and <dl-procinfo.h>.
11415         (__fegetenv): Save SSE state in envp->__eip if supported.
11416         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11417         envp->__eip if supported.
11418         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11419         and <dl-procinfo.h>.
11420         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11421         __data_offset and __data_selector in environment to 0.  Set SSE
11422         state if supported.
11423         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11424         test-fenv-sse.
11425         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11426         -mfpmath=sse.
11427         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11429 2014-05-09  Will Newton  <will.newton@linaro.org>
11431         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11432         and libc_relro_required for ARM.
11433         * sysdeps/arm/preconfigure: Regenerate.
11435 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11436             Stefan Liebler  <stli@linux.vnet.ibm.com>
11438         * config.make.in (enable-lock-elision): New Makefile variable.
11439         * configure.ac: Likewise.
11440         * configure: Regenerate.
11441         * sysdeps/s390/configure.ac:
11442         Add check for gcc transactions support.
11443         * sysdeps/s390/configure: Regenerate.
11444         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11445         Build elision files if enabled.
11446         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11447         Add lock elision support for s390.
11448         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11449         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11450         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11451         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11452         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11453         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11454         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11455         Likewise.
11456         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11457         Likewise.
11458         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11459         Likewise.
11460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11461         Likewise.
11462         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11463         (__lll_timedlock_elision, __lll_lock_elision)
11464         (__lll_unlock_elision, __lll_trylock_elision)
11465         (lll_timedlock_elision, lll_lock_elision)
11466         (lll_unlock_elision, lll_trylock_elision): Add.
11467         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11468         (pthread_mutex_t): Add lock elision support for s390.
11470 2014-05-14  Wilco  <wdijkstr@arm.com>
11472         * sysdeps/arm/fclrexcpt.c: Cleanup.
11473         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11474         * sysdeps/arm/feenablxcpt.c: Cleanup.
11475         * sysdeps/arm/fegetenv.c: Cleanup.
11476         * sysdeps/arm/fegetexcept.c: Cleanup.
11477         * sysdeps/arm/fegetround.c: Cleanup.
11478         * sysdeps/arm/feholdexcpt.c: Cleanup.
11479         * sysdeps/arm/fesetenv.c: Cleanup.
11480         * sysdeps/arm/fesetround.c: Cleanup.
11481         * sysdeps/arm/feupdateenv.c: Cleanup.
11482         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11483         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11484         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11485         * sysdeps/arm/ftestexcept.c: Cleanup.
11486         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11487         * sysdeps/arm/setfpucw.c: Cleanup.
11489 2014-05-09  Will Newton  <will.newton@linaro.org>
11491         * sysdeps/arm/armv7/strcmp.S: New file.
11492         * NEWS: Mention addition of ARMv7 optimized strcmp.
11494 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11496         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11497         look for %.ac rather than %.in.
11499         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11500         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11501         * sysdeps/mach/hurd/configure: Regenerated.
11502         * sysdeps/unix/sysv/linux/configure: Regenerated.
11504         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11506 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11508         [BZ# 16922]
11509         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11510         (LONG_SUB): Ditto.
11511         (PTR_SUB): Ditto.
11513 2014-05-07  Andreas Schwab  <schwab@suse.de>
11515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11516         when skipping over non-matching result from nscd.
11518 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11520         [BZ #16876]
11521         * nptl/sockperf.c (client): Check socket return value.
11523         [BZ #16877]
11524         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11525         nscd security class.
11527 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11529         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11530         * sysdeps/arm/unwind.h: ... here.
11532 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11534         [BZ# 16916]
11535         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11536         Define.
11538 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11540         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11541         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11542         multiarch strncpy for PPC64.
11543         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11544         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11545         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11546         multiarch optimizations.
11547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11548         (__libc_ifunc_impl_list): Likewise.
11549         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11550         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11551         multiarch stpncpy for PPC64.
11552         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11553         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11555 2014-05-06  Andreas Schwab  <schwab@suse.de>
11557         [BZ #16912]
11558         * gmon/mcount.c (_MCOUNT_DECL): Use
11559         atomic_compare_and_exchange_bool_acq instead of
11560         catomic_compare_and_exchange_bool_acq.
11562 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11564         * elf/Makefile (others, install-bin): Remove pldd.
11565         (pldd-modules): Variable removed.
11566         ($(objpfx)pldd): Target removed.
11567         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11568         (others, install-bin): Append pldd here.
11569         ($(objpfx)pldd): New target.
11571         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11572         to 0, so the first #if test emitted later doesn't see it undefined.
11573         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11574         * sysdeps/gnu/errlist.c: Regenerated.
11576 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11578         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11579         [libc_hidden_builtin_def]: Define to empty value.
11580         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11581         [libc_hidden_builtin_def]: Likewise.
11582         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11583         [libc_hidden_builtin_def]: Likewise.
11584         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11585         [libc_hidden_builtin_def]: Likewise.
11586         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11587         __redirect_memcpy and define ifunc as default hidden symbol.
11588         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11589         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11591 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11593         * locale/iso-4217.def: Reintroduce XDR currency.
11595 2014-05-04  Allan McRae  <allan@archlinux.org>
11597         * po/eo.po: Update Esperanto translation from translation project.
11599 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11601         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11602         and FEATURE_INDEX_MAX to 1.
11603         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11605 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11607         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11608         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11609         * iconvdata/big5.c (ONE_DIRECTION): Define.
11610         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11611         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11612         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11613         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11614         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11615         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11616         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11617         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11618         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11619         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11620         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11621         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11622         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11623         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11624         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11625         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11626         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11627         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11628         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11629         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11630         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11631         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11632         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11633         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11634         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11635         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11636         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11637         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11638         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11639         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11640         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11641         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11642         * iconvdata/johab.c (ONE_DIRECTION): Define.
11643         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11644         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11645         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11646         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11647         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11648         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11649         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11650         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11651         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11652         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11654 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11656         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11657         (_IO_JUMPS_OFFSET): Define to 0.
11659         * nptl/sysdeps/pthread/bits/libc-lock.h
11660         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11661         (__libc_lock_define_initialized_recursive): Always define using
11662         initializer.  Modern compilers treat uninitialized (implicit zero) and
11663         explicit zero initializers the same (i.e. put the datum in bss).
11665 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11667         * nscd/nscd-client.h: Include <string.h>.
11669 2014-05-01  David S. Miller  <davem@davemloft.net>
11671         [BZ #16885]
11672         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11673         multiple zero bytes exist at the end of a string.
11674         Reported by Aurelien Jarno <aurelien@aurel32.net>
11676         * string/test-strcmp.c (check): Add explicit test for situations where
11677         there are multiple zero bytes after the first.
11679 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11681         [BZ #16890]
11682         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11683         when compiling wprintf.
11684         * stdio-common/tstdiomisc.c (t3): New function.
11685         (main): Call it.
11687 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11689         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11690         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11691         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11692         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11694 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11696         * stdlib/longlong.h: Updated from GCC.
11698 2014-05-01  Will Newton  <will.newton@linaro.org>
11699             Bernard Ogden  <bernie.ogden@linaro.org>
11701         * NEWS: Update fixed bug list.
11703         [BZ #15119]
11704         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11706 2014-04-30  David S. Miller  <davem@davemloft.net>
11708         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11709         (libc_feholdexcept_setround_sparc_ctx): New function.
11710         (libc_fesetenv_sparc_ctx): Likewise.
11711         (libc_feupdateenv_sparc_ctx): Likewise.
11712         (libc_feholdsetround_sparc_ctx): Likewise.
11713         (libc_feholdexcept_setround_ctx): Define.
11714         (libc_feholdexcept_setroundf_ctx): Likewise.
11715         (libc_feholdexcept_setroundl_ctx): Likewise.
11716         (libc_fesetenv_ctx): Likewise.
11717         (libc_fesetenvf_ctx): Likewise.
11718         (libc_fesetenvl_ctx): Likewise.
11719         (libc_feupdateenv_ctx): Likewise.
11720         (libc_feupdateenvf_ctx): Likewise.
11721         (libc_feupdateenvl_ctx): Likewise.
11722         (libc_feresetround_ctx): Likewise.
11723         (libc_feresetroundf_ctx): Likewise.
11724         (libc_feresetroundl_ctx): Likewise.
11725         (libc_feholdsetround_ctx): Likewise.
11726         (libc_feholdsetroundf_ctx): Likewise.
11727         (libc_feholdsetroundl_ctx): Likewise.
11729         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11730         with __USE_GNU instead of XOPEN cpp guards.
11732         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11733         0.
11735         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11736         with XOPEN cpp guards.
11738 2014-04-30  Julian Brown  <julian@codesourcery.com>
11740         [BZ #16888]
11741         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11742         handling.
11744 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11746         [BZ #9894]
11747         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11748         Change to 2.6.32.
11749         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11750         * sysdeps/unix/sysv/linux/configure: Regenerated.
11751         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11752         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11753         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11754         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11755         * README: Update reference to required Linux kernel version.
11756         * manual/install.texi (Linux): Update reference to required Linux
11757         kernel headers version.
11758         * INSTALL: Regenerated.
11760         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11761         header inclusion.
11762         [POSIX] (limits.h): Likewise.
11763         [POSIX] (math.h): Likewise.
11764         [POSIX] (sys/wait.h): Likewise.
11765         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11766         function.
11767         [POSIX] (stddef.h): Do not allow header inclusion.
11769 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11771         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11773 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11775         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11776         Return immediately after lll_futex_wake.
11778 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11780         [BZ #16791]
11781         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11782         structure.
11783         (datahead_init_pos): Call datahead_init_common early.
11784         (datahead_init_neg): Likewise.
11786         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11787         datahead_init_neg): New functions.
11788         * nscd/aicache.c (addhstaiX): Use them.
11789         * nscd/grpcache.c (cache_addgr): Likewise.
11790         * nscd/hstcache.c (cache_addhst): Likewise.
11791         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11792         * nscd/netgroupcache.c (do_notfound): Likewise.
11793         (addgetnetgrentX): Likewise.
11794         (addinnetgrX): Likewise.
11795         * nscd/pwdcache.c (cache_addpw): Likewise.
11796         * nscd/servicescache.c (cache_addserv): Likewise.
11798 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11799             Atsushi Onoe  <atsushi@onoe.org>
11801         [BZ #14308]
11802         [BZ #12994]
11803         [BZ #13651]
11804         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11805         one response is valid.
11806         * resolv/res_send.c (send_dg): Check for validity of other
11807         response if the current response is a referral.
11809 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11811         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11813 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11815         [BZ #16823]
11816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11817         Always divide by positive zero when computing -Inf result.
11818         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11819         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11821 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11823         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11824         FPSCR if value do not change.
11825         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11826         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11827         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11828         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11829         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11830         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11831         function.
11833 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11835         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11836         * sysdeps/unix/sysv/linux/hppa: Move directory from
11837         ports/systeps/unix/sysv/linux/hppa.
11838         * README: Update listing for hppa-*-linux-gnu.
11840 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11842         [BZ #16754]
11843         * manual/stdio.texi (Hook functions): Fix types of stream hook
11844         functions.
11845         [BZ #16854]
11846         * socket/sys/socket.h: Fix typo in comment.
11848 2014-04-28  Wilco  <wdijkstr@arm.com>
11850         * sysdeps/arm/fenv_private.h: New file.
11851         * sysdeps/arm/math_private.h: New file.
11852         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11854 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11856         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11857         with __int128_t.
11858         (La_x86_64_retval): Likewise.
11860 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11862         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11863         fpsr if value didn't change.
11864         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11865         to fpcr if value didn't change.
11866         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11867         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11868         fpsr or fpcr if value didn't change.
11869         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11870         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11871         fpcr if value didn't change.
11872         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11873         to fpsr if value didn't change.
11875 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11877         * nptl/tst-sem3.c: Use test-skeleton.c
11878         (main): Rename to do_test.  Use return instead of
11879         exit.
11880         * nptl/tst-sem4.c: Use test-skeleton.c
11881         (main): Rename to do_test.
11883 2014-04-22  David S. Miller  <davem@davemloft.net>
11885         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11886         (struct sigaction): New struct member __glibc_reserved0, change
11887         type of sa_flags to int.
11889 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11891         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11892         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11894 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11896         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11897         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11899 2014-04-22  Will Newton  <will.newton@linaro.org>
11900             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11902         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11903         (__longjmp): Add longjmp and longjmp_target SystemTap
11904         probes.
11905         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11906         (__sigsetjmp): Add setjmp SystemTap probe.
11908 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11910         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11911         match manual order.
11913 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11915         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11917         * sysdeps/powerpc/fpu/fenv_private.h
11918         (libc_feholdexcept_setroundl_ctx): Define to
11919         libc_feholdexcept_setround_ppc_ctx.
11920         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11921         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11922         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11923         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11925 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11927         * sysdeps/aarch64/math-tests.h: New file.
11929 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11931         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11932         New.
11933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11934         Check and set bit_AVX2_Usable.
11935         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11936         macro.
11937         (bit_AVX2): Likewise.
11938         (index_AVX2_Usable): Likewise.
11939         (CPUID_AVX2): Likewise.
11940         (HAS_AVX2): Likewise.
11942 2014-04-17  Will Newton  <will.newton@linaro.org>
11944         * manual/setjmp.texi (System V contexts): Add note that
11945         calling setcontext on a context created by a call to a
11946         signal handler is undefined.  Update text to note that
11947         setcontext from a signal handler is possible but not
11948         recommended.
11950         [BZ #16629]
11951         * stdlib/tst-setcontext.c: Include signal.h.
11952         (main): Check that the signal stack before and
11953         after swapcontext is the same.
11955         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11956         Re-implement to restore registers in user code and avoid
11957         rt_sigreturn system call.
11959 2014-04-17  Wilco  <wdijkstr@arm.com>
11961         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11962         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11963         * math/test-fenv.c: Skip exception trap tests on targets which only
11964         support non-stop mode.
11966 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11967             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11969         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11970         (libc_feholdsetround_aarch64_ctx)
11971         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11972         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11973         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11974         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11975         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11976         (libc_feresetround_noexl_ctx): Define.
11978 2014-04-16  Richard Henderson  <rth@redhat.com>
11980         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11982         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11983         unwind tables.
11985         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11986         const from the non-libc, non-ldso copy.
11988         * sysdeps/alpha/libm-test-ulps: Regenerate.
11990 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11991             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11993         * sysdeps/aarch64/fpu/math_private.h: New file.
11995 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11997         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11999 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
12001         [BZ #16275]
12002         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12003         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12004         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12005         Intel MPX bound registers before _dl_profile_fixup.
12006         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12007         registers after _dl_profile_fixup.  Save and restore bound
12008         registers bnd0/bnd1 when calling _dl_call_pltexit.
12009         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12010         (LR_BND_OFFSET): Likewise.
12011         (LRV_BND0_OFFSET): Likewise.
12012         (LRV_BND1_OFFSET): Likewise.
12014 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12016         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12017         to...
12018         * sysdeps/mach/hurd/i386/tls.h: ... here.
12019         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12020         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12021         fields.
12023 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12025         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12027 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12029         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12031 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
12033         [BZ #14770]
12034         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12035         * sysdeps/s390/configure: Regenerate.
12037         [BZ #16824]
12038         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12039         Set round-to-nearest internally to reduce error accumulation.
12041 2014-04-16  Alan Modra  <amodra@gmail.com>
12043         [BZ #16740]
12044         [BZ #16619]
12045         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12046         * math/libm-test.inc (frexp_test_data): Add tests.
12047         * NEWS: Update fixed bug list.
12049 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12051         * benchtests/Makefile: Depend on libraries in build directory.
12052         (bench-math): Separate out math tests.
12053         (bench-pthread): Separate out pthread tests.
12054         (bench): Include math and pthread tests.
12056 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
12058         [BZ #16831]
12059         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12060         _dl_debug_initialize.
12062         * configure.ac: Remove SELinux header check.
12063         * configure: Regenerate.
12064         * nscd/selinux.c (perms): Array of const char* to permission names.
12065         (nscd_request_avc_has_perm): Call security_deny_unknown to find
12066         default policy. Call string_to_security_class and string_to_av_perm to
12067         translate strings. Enforce default policy and call avs_has_perm with
12068         results of translated strings.
12070 2014-04-13  David S. Miller  <davem@davemloft.net>
12072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12074 2014-04-12  Allan McRae  <allan@archlinux.org>
12076         [BZ #16838]
12077         * manual/string.texi (Collation Functions): Fix qsort argument
12078         order in example.
12079         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12081 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
12083         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12084         Make the test a no-op if there are no exceptions defined.
12086 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12088         * elf/Makefile (tests): make tst-dlopen-aout conditional on
12089         enable-hardcoded-path-in-tests
12091 2014-04-11  Will Newton  <will.newton@linaro.org>
12093         * benchtests/Makefile (extra-objs): Add json-lib.o.
12094         (bench-func): Tidy up JSON output.
12095         * benchtests/bench-skeleton.c: Include json-lib.h.
12096         (main): Use JSON library functions to do output of
12097         benchmark results.
12098         * benchtests/bench-timing-type.c (main): Output the
12099         timing type simply, leaving formatting to the user.
12100         * benchtests/json-lib.c: New file.
12101         * benchtests/json-lib.h: Likewise.
12103 2014-04-11  Torvald Riegel  <triegel@redhat.com>
12105         [BZ #15215]
12106         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12107         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
12108         memory barriers.  Add comments.
12109         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12110         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12111         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12112         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12113         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12114         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12116 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12118         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12119         * sysdeps/s390/s390-64/configure.ac: ... this ...
12120         * sysdeps/s390/configure.ac: ... to here.
12121         * sysdeps/s390/s390-32/configure: Delete file.
12122         * sysdeps/s390/s390-64/configure: Delete file.
12123         * sysdeps/s390/configure: Regenerate.
12125 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
12127         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12129 2014-04-11  Will Newton  <will.newton@linaro.org>
12131         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12132         to zero if it is not defined elsewhere.  (mtrim): Test
12133         the value of MALLOC_DEBUG with #if rather than #ifdef.
12135 2014-04-10 Torvald Riegel  <triegel@redhat.com>
12137         * benchtests/pthread_once-inputs: New file.
12138         * benchtests/pthread_once-source.c: New file.
12139         * benchtests/README: Update documentation.
12141 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
12142             H.J. Lu  <hongjiu.lu@intel.com>
12144         [BZ #16275]
12145         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12146         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12147         * sysdeps/x86_64/configure: Regenerated.
12148         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12149         macro.
12150         (REGISTER_SAVE_RAX): Likewise.
12151         (REGISTER_SAVE_RCX): Likewise.
12152         (REGISTER_SAVE_RDX): Likewise.
12153         (REGISTER_SAVE_RSI): Likewise.
12154         (REGISTER_SAVE_RDI): Likewise.
12155         (REGISTER_SAVE_R8): Likewise.
12156         (REGISTER_SAVE_R9): Likewise.
12157         (REGISTER_SAVE_BND0): Likewise.
12158         (REGISTER_SAVE_BND1): Likewise.
12159         (REGISTER_SAVE_BND2): Likewise.
12160         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
12161         bound registers when calling _dl_fixup.
12163 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12165         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12166         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12167         of its definition.
12168         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12169         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12170         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12171         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12172         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12173         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12174         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12176 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
12178         [BZ #15514]
12179         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12180         pathconf(_PC_NAME_MAX).
12182 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12184         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12185         Remove macro usage.
12186         (__PTHREAD_SPINS): Move definition to ...
12187         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12188         (__PTHREAD_SPINS): ... here.
12189         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12190         (__PTHREAD_SPIN): Likewise.
12191         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12192         (__PTHREAD_SPIN): Likewise.
12193         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12194         (__PTHREAD_SPIN): Likewise.
12195         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12196         (__PTHREAD_SPIN): Likewise.
12197         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12198         (__PTHREAD_SPIN): Likewise.
12199         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12200         (__PTHREAD_SPIN): Likewise.
12201         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12202         (__PTHREAD_SPIN): Likewise.
12203         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12204         (__PTHREAD_SPIN): Likewise.
12205         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12206         (__PTHREAD_SPIN): Likewise.
12207         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12208         (__PTHREAD_SPIN): Likewise.
12209         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12210         (__PTHREAD_SPIN): Likewise.
12211         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12212         (__PTHREAD_SPIN): Likewise.
12214         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12215         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12216         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12217         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12218         imply folder.
12219         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12220         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12221         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12222         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12223         correct imply path.
12224         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12225         strlen symbol for non multi-arch builds.
12226         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12227         missing hidden_def and weak_alias.
12229 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
12231         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12233 2014-04-07  Will Newton  <will.newton@linaro.org>
12235         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12236         and contents.  [!_LIBC] Remove #ifndef and contents.
12237         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
12238         * string/memccpy.c (__memccpy): Use ANSI prototype.
12239         * string/memfrob.c (memfrob): Likewise.
12240         * string/strcoll.c (STRCOLL): Likewise.
12241         * string/strlen.c (strlen): Likewise.
12242         * string/strtok.c (STRTOK): Likewise.
12243         * string/strcat.c: Remove unused #include of memcopy.h.
12244         (strcat): Use ANSI prototype.
12245         * string/strchr.c: Remove unused #include of memcopy.h.
12246         (strchr): Use ANSI prototype.
12247         * string/strcmp.c: Remove unused #include of memcopy.h.
12248         (strcmp): Use ANSI prototype.
12249         * string/strcpy.c: Remove unused #include of memcopy.h.
12250         (strcpy): Use ANSI prototype.
12252 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12254         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12255         * config.make.in (config-extra-cppflags): Set it from
12256         libc_extra_cppflags.
12257         * configure.ac (libc_extra_cflags): Make it accumulate over
12258         configure fragments.
12259         (libc_extra_cppflags): New flag.
12260         * configure. Regenerate.
12261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12262         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12263         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12266         [BZ #16815]
12267         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12268         result for FE_DOWNWARD rounding mode.
12269         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12270         Likewise.
12271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12273 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
12275         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12276         in function argument name.
12278 2014-04-03  David Svoboda  <svoboda@cert.org>
12280         [BZ #5666]
12281         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12282         explicitly.
12284 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12286         * elf/dl-unmap-segments.h: New file.
12287         * sysdeps/generic/ldsodefs.h
12288         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12289         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12290         * elf/dl-fptr.c: Likewise.
12291         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12292         * sysdeps/aarch64/tlsdesc.c: Likewise.
12293         * sysdeps/arm/tlsdesc.c: Likewise.
12294         * sysdeps/i386/tlsdesc.c: Likewise.
12295         * sysdeps/tile/dl-runtime.c: Likewise.
12296         * sysdeps/x86_64/tlsdesc.c: Likewise.
12297         * elf/dl-load.h: New file.
12298         * elf/dl-load.c: Include it.
12299         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12300         Macros moved to dl-load.h.
12301         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12302         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12303         Use _dl_unmap_segments in place of __munmap.
12304         Break out segment-mapping loop into ...
12305         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12307 2014-04-03  Will Newton  <will.newton@linaro.org>
12309         * elf/dl-lookup.c (do_lookup_x): Remove comment
12310         referring to nested function and move variable
12311         declarations down to before first use.
12313 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12315         [BZ #16799]
12316         [BZ #16800]
12317         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12318         with 0 numerator.
12319         * math/s_catanf.c (__catanf): Likewise.
12320         * math/s_catanh.c (__catanh): Likewise.
12321         * math/s_catanhf.c (__catanhf): Likewise.
12322         * math/s_catanhl.c (__catanhl): Likewise.
12323         * math/s_catanl.c (__catanl): Likewise.
12324         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12325         by positive zero when computing -Inf result.
12326         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12327         (catanh_test): Likewise.
12328         * sysdeps/i386/fpu/libm-test-ulps: Update.
12329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12331         [BZ #16789]
12332         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12333         instead of using underflowing value in computing result.
12334         * math/s_clog10.c (__clog10): Likewise.
12335         * math/s_clog10f.c (__clog10f): Likewise.
12336         * math/s_clog10l.c (__clog10l): Likewise.
12337         * math/s_clogf.c (__clogf): Likewise.
12338         * math/s_clogl.c (__clogl): Likewise.
12339         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12340         (clog10_test): Likewise.
12341         * sysdeps/i386/fpu/libm-test-ulps: Update.
12342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12344 2014-04-02  Alan Modra  <amodra@gmail.com>
12346         [BZ #16739]
12347         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12348         output when value is near a power of two.  Use int64_t for lx and
12349         remove casts.  Use decimal rather than hex exponent constants.
12350         Don't use long double multiplication when double will suffice.
12351         * math/libm-test.inc (nextafter_test_data): Add tests.
12352         * NEWS: Add 16739 and 16786 to bug list.
12354         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12356         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12358 2014-04-01  Will Newton  <will.newton@linaro.org>
12360         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12361         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12363 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12365         [BZ #13347]
12366         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12367         * nptl/tst-setuid2.c: New file.
12368         * nptl/Makefile (xtests): Add tst-setuid2.
12370 2014-04-01  Alan Modra  <amodra@gmail.com>
12372         [BZ #16786]
12373         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12375 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12377         [BZ #6803]
12378         [BZ #6804]
12379         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12380         set errno as appropriate.
12381         * math/w_scalbf.c (__scalbf): Likewise.
12382         * math/w_scalbl.c (__scalbl): Likewise.
12383         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12384         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12385         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12386         Add more NaN tests.
12388         [BZ #16349]
12389         * math/w_atan2.c: Include <errno.h>.
12390         (__atan2): Set errno for result underflowing to zero.
12391         * math/w_atan2f.c: Include <errno.h>.
12392         (__atan2f): Set errno for result underflowing to zero.
12393         * math/w_atan2l.c: Include <errno.h>.
12394         (__atan2l): Set errno for result underflowing to zero.
12395         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12396         tests.
12397         * math/auto-libm-test-out: Regenerated.
12399 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12401         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12402         Encode instruction correctly in little endian.
12403         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12404         Likewise.
12405         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12406         Likewise.
12407         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12408         Likewise.
12409         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12410         Likewise.
12412 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12414         [BZ #9894]
12415         * sysdeps/unix/sysv/linux/kernel-features.h
12416         [__sparc__ && !__arch64__ && !__sparc_v9__]
12417         (__ASSUME_SET_ROBUST_LIST): Do not define.
12418         [__sparc__ && !__arch64__ && !__sparc_v9__]
12419         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12420         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12421         Likewise.
12422         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12423         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12424         (__ASSUME_REQUEUE_PI): Likewise.
12425         (__ASSUME_SET_ROBUST_LIST): Likewise.
12426         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12427         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12428         Undefine.
12429         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12430         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12431         Likewise.
12432         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12433         Likewise.
12434         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12435         Likewise.
12436         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12437         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12438         Undefine.
12439         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12440         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12441         Likewise.
12443         [BZ #16648]
12444         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12446         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12448 2014-03-31  Will Newton  <will.newton@linaro.org>
12450         * benchtests/Makefile (bench): Add ffs and ffsll to list
12451         of tests.
12452         * benchtests/ffs-inputs: New file.
12453         * benchtests/ffsll-inputs: Likewise.
12455 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12457         [BZ #16770]
12458         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12459         too large before casting to int.
12460         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12461         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12462         * math/libm-test.inc (scalb_test_data): Add more tests.
12464 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12466         * benchtests/Makefile (DETAILED_OPT): New make option.
12467         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12468         set.
12469         * benchtests/bench-skeleton.c: Include stdbool.h.
12470         (main): Store and print timings per input.
12471         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12472         member to each argument value.
12473         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12474         (_print_arg_data): Initialize per-input timing to 0.
12476         * benchtests/Makefile (timing-type): New binary.
12477         (bench-clean): Also remove bench-timing-type.
12478         (bench): New target for timing-type.
12479         (bench-func): Print output in JSON format.
12480         * benchtests/bench-skeleton.c (main): Print output in JSON
12481         format.
12482         * benchtests/bench-timing-type.c: New file.
12483         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12484         (TIMING_PRINT_STATS): Remove.
12485         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12486         name separately.
12488         * benchtests/bench-modf.c: Remove.
12489         * benchtests/modf-inputs: New inputs file.
12491 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12493         [BZ #16362]
12494         * math/s_clog10.c (M_PI_LOG10E): New macro.
12495         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12496         imaginary parts are 0.
12497         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12498         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12499         imaginary parts are 0.
12500         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12501         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12502         imaginary parts are 0.
12503         * math/libm-test.inc (clog10_test_data): Update expected results
12504         for when real and imaginary parts are 0.
12506 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12508         * elf/dl-load.c: Finish conversion of __builtin_expect into
12509         __glibc_{un}likely.
12511 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12513         [BZ #16348]
12514         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12515         1+x for argument with exponent below -67.
12516         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12517         Likewise.
12518         * math/auto-libm-test-in: Add more tests of exp.
12519         * math/auto-libm-test-out: Regenerated.
12521 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12523         [BZ #16759]
12524         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12525         (nscd_getnetgrent): Use it.
12527         [BZ #16760]
12528         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12529         of stpcpy.
12531 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12533         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12534         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12535         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12536         (lll_robust_unlock): Remove out of line section. Use cfi
12537         intrinsics.
12538         (LLL_STUB_UNWIND_INFO*): Remove.
12539         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12540         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12541         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12542         (lll_robust_unlock): Remove out of line section. Use cfi
12543         intrinsics.
12544         (LLL_STUB_UNWIND_INFO*): Remove.
12546 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12548         [BZ #16758]
12549         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12550         blank values.
12552 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12554         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12556 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12558         [BZ #16198]
12559         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12560         fnstenv.
12561         * math/test-fenv-preserve.c: New file.
12562         * math/Makefile (tests): Add test-fenv-preserve.
12564 2014-03-26  Will Newton <will.newton@linaro.org>
12566         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12568 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12570         * scripts/versionlist.awk: Partition the version sets and emit all
12571         GLIBC_* (sorted) before all others (sorted).
12573 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12575         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12576         GLIBC_2.2.5 version.
12578 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12580         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12581         calls.
12583         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12584         previous change.
12586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12588 2014-03-25  Andreas Schwab  <schwab@suse.de>
12590         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12591         label to be used after in6ailist is initialized.
12593 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12595         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12596         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12598 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12600         [BZ #16357]
12601         [BZ #16599]
12602         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12603         min_plus_half.
12604         (fp_formats): Update initializers.
12605         (init_fp_formats): Initialize new field.
12606         (output_for_one_input_case): Allow underflow for results up to
12607         min_plus_half.
12608         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12609         * math/auto-libm-test-in: Don't mark some underflows from asin and
12610         atanh as spurious.
12611         * math/auto-libm-test-out: Regenerated.
12612         * sysdeps/i386/fpu/libm-test-ulps: Update.
12613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12615 2014-03-25  Andreas Schwab  <schwab@suse.de>
12617         * libio/Makefile (tst-ftell-partial-wide-ENV)
12618         (tst-ftell-active-handler-ENV): Define.
12620 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12622         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12624 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12626         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12628 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12630         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12631         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12632         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12634 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12636         [BZ #16634]
12637         * elf/dl-load.c (open_verify): Add mode parameter.
12638         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12639         (open_path): Change from boolean 'secure' to complete flag 'mode'
12640         (_dl_map_object): Adjust.
12641         * elf/Makefile (tests): Add tst-dlopen-aout.
12642         * elf/tst-dlopen-aout.c: New test.
12644 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12646         [BZ #16714]
12647         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12648         (struct stat): Rename member pad0 to __glibc_reserved0.
12650         [BZ #16712]
12651         * sysdeps/s390/s390-32/bits/wordsize.h
12652         (__WORDSIZE32_SIZE_ULONG): New define.
12653         * sysdeps/s390/s390-64/bits/wordsize.h
12654         (__WORDSIZE32_SIZE_ULONG): Likewise.
12655         * sysdeps/generic/stdint.h (SIZE_MAX):
12656         Define as UL if __WORDSIZE32_SIZE_ULONG.
12658         [BZ #16713]
12659         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12660         (__glibc_reserved0): New variable.
12661         (sa_flags): Change type to int.
12663         * posix/Makefile (before-compile): Use += before-compile instead
12664         of a :=.
12666         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12667         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12669 2014-03-20  Andreas Schwab  <schwab@suse.de>
12671         [BZ #16743]
12672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12673         non-matching result from nscd.
12675 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12677         * scripts/bench.py: Moved to ...
12678         * benchtests/scripts/bench.py: ... here.
12679         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12681 2014-03-24  Andreas Schwab  <schwab@suse.de>
12683         [BZ #16002]
12684         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12685         alloca_account and account alloca use for struct in6ailist.
12687 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12689         [BZ #16284]
12690         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12691         rounding mode to recompute results that overflow to infinity or
12692         underflow to zero.
12693         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12694         bug 16284.
12695         * math/auto-libm-test-out: Regenerated.
12696         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12697         (ccosh_test): Likewise.
12698         (csin_test_data): Use plus_oflow.
12699         (csin_test): Use ALL_RM_TEST.
12700         (csinh_test_data): Use plus_oflow.
12701         (csinh_test): Use ALL_RM_TEST.
12702         * sysdeps/i386/fpu/libm-test-ulps: Update.
12703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12705 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12707         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12708         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12709         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12711         [BZ #16731]
12712         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12713         when x - 1 is zero.
12714         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12715         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12716         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12717         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12718         argument is 1.
12719         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12720         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12721         zero.
12722         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12723         * sysdeps/i386/fpu/libm-test-ulps: Update.
12724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12726 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12728         * scripts/bench.pl: Remove file.
12729         * scripts/bench.py: New benchmark script.
12730         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12731         * benchtests/README: Mention python dependency.
12732         * scripts/pylintrc: New file.
12733         * scripts/pylint: New file.
12735         * bits/mathdef.h: Use #ifdef instead of #if.
12736         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12737         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12738         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12739         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12740         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12741         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12743 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12744             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12746         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12748         and strpbrk-ppc64 objects.
12749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12750         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12751         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12752         multiarch strpbrk for POWER7.
12753         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12754         multiarch strpbrk for PPC64.
12755         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12756         ifunc selector.
12757         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12758         strpbrk for POWER7.
12760 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12762         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12763         (atan_test): Likewise.
12764         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12765         (atanh_test): Use ALL_RM_TEST.
12766         (atan2_test_data): Likewise.
12767         (cabs_test): Likewise.
12768         (cacosh_test): Likewise.
12769         (carg_test): Likewise.
12770         (casin_test): Likewise.
12771         (casinh_test): Likewise.
12772         (cbrt_test): Likewise.
12773         (csqrt_test): Likewise.
12774         (erf_test): Likewise.
12775         (erfc_test): Likewise.
12776         (pow10_test): Likewise.
12777         (exp2_test): Likewise.
12778         (hypot_test): Likewise.
12779         (j0_test): Likewise.
12780         (j1_test): Likewise.
12781         (lgamma_test): Likewise.
12782         (gamma_test): Likewise.
12783         (sincos_test): Likewise.
12784         (tanh_test): Likewise.
12785         (y0_test): Likewise.
12786         (y1_test): Likewise.
12787         * sysdeps/i386/fpu/libm-test-ulps: Update.
12788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12790 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12792         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12794         and strcspn-ppc64 objects.
12795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12796         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12797         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12798         multiarch strcspn for POWER7.
12799         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12800         multiarch strcspn for PPC64.
12801         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12802         ifunc selector.
12803         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12804         strcspn for POWER7.
12806 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12808         * math/gen-libm-test.pl (generate_testfile): Expect only function
12809         name as argument to AUTO_TESTS_* and pass results for all rounding
12810         modes to parse_args.
12811         (parse_auto_input): Separate inputs of automatic tests from
12812         outputs before storing in %auto_tests.
12813         * math/libm-test.inc (acos_test_data): Update call to
12814         AUTO_TESTS_f_f.
12815         (acos_test): Use ALL_RM_TEST.
12816         (acos_tonearest_test_data): Remove.
12817         (acos_test_tonearest): Likewise.
12818         (acos_towardzero_test_data): Likewise.
12819         (acos_test_towardzero): Likewise.
12820         (acos_downward_test_data): Likewise.
12821         (acos_test_downward): Likewise.
12822         (acos_upward_test_data): Likewise.
12823         (acos_test_upward): Likewise.
12824         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12825         (asin_test_data): Likewise.
12826         (asin_test): Use ALL_RM_TEST.
12827         (asin_tonearest_test_data): Remove.
12828         (asin_test_tonearest): Likewise.
12829         (asin_towardzero_test_data): Likewise.
12830         (asin_test_towardzero): Likewise.
12831         (asin_downward_test_data): Likewise.
12832         (asin_test_downward): Likewise.
12833         (asin_upward_test_data): Likewise.
12834         (asin_test_upward): Likewise.
12835         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12836         (atan_test_data): Likewise.
12837         (atanh_test_data): Likewise.
12838         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12839         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12840         (carg_test_data): Likewise.
12841         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12842         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12843         (ccosh_test_data): Likewise.
12844         (cexp_test_data): Likewise.
12845         (clog_test_data): Likewise.
12846         (clog10_test_data): Likewise.
12847         (cos_test_data): Update call to AUTO_TESTS_f_f.
12848         (cos_test): Use ALL_RM_TEST.
12849         (cos_tonearest_test_data): Remove.
12850         (cos_test_tonearest): Likewise.
12851         (cos_towardzero_test_data): Likewise.
12852         (cos_test_towardzero): Likewise.
12853         (cos_downward_test_data): Likewise.
12854         (cos_test_downward): Likewise.
12855         (cos_upward_test_data): Likewise.
12856         (cos_test_upward): Likewise.
12857         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12858         (cosh_test): Use ALL_RM_TEST.
12859         (cosh_tonearest_test_data): Remove.
12860         (cosh_test_tonearest): Likewise.
12861         (cosh_towardzero_test_data): Likewise.
12862         (cosh_test_towardzero): Likewise.
12863         (cosh_downward_test_data): Likewise.
12864         (cosh_test_downward): Likewise.
12865         (cosh_upward_test_data): Likewise.
12866         (cosh_test_upward): Likewise.
12867         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12868         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12869         (ctan_test_data): Likewise.
12870         (ctan_test): Use ALL_RM_TEST.
12871         (ctan_tonearest_test_data): Remove.
12872         (ctan_test_tonearest): Likewise.
12873         (ctan_towardzero_test_data): Likewise.
12874         (ctan_test_towardzero): Likewise.
12875         (ctan_downward_test_data): Likewise.
12876         (ctan_test_downward): Likewise.
12877         (ctan_upward_test_data): Likewise.
12878         (ctan_test_upward): Likewise.
12879         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12880         (ctanh_test): Use ALL_RM_TEST.
12881         (ctanh_tonearest_test_data): Remove.
12882         (ctanh_test_tonearest): Likewise.
12883         (ctanh_towardzero_test_data): Likewise.
12884         (ctanh_test_towardzero): Likewise.
12885         (ctanh_downward_test_data): Likewise.
12886         (ctanh_test_downward): Likewise.
12887         (ctanh_upward_test_data): Likewise.
12888         (ctanh_test_upward): Likewise.
12889         (erf_test_data): Update call to AUTO_TESTS_f_f.
12890         (erfc_test_data): Likewise.
12891         (exp_test_data): Likewise.
12892         (exp_test): Use ALL_RM_TEST.
12893         (exp_tonearest_test_data): Remove.
12894         (exp_test_tonearest): Likewise.
12895         (exp_towardzero_test_data): Likewise.
12896         (exp_test_towardzero): Likewise.
12897         (exp_downward_test_data): Likewise.
12898         (exp_test_downward): Likewise.
12899         (exp_upward_test_data): Likewise.
12900         (exp_test_upward): Likewise.
12901         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12902         (exp10_test): Use ALL_RM_TEST.
12903         (exp10_tonearest_test_data): Remove.
12904         (exp10_test_tonearest): Likewise.
12905         (exp10_towardzero_test_data): Likewise.
12906         (exp10_test_towardzero): Likewise.
12907         (exp10_downward_test_data): Likewise.
12908         (exp10_test_downward): Likewise.
12909         (exp10_upward_test_data): Likewise.
12910         (exp10_test_upward): Likewise.
12911         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12912         (expm1_test_data): Likewise.
12913         (expm1_test): Use ALL_RM_TEST.
12914         (expm1_tonearest_test_data): Remove.
12915         (expm1_test_tonearest): Likewise.
12916         (expm1_towardzero_test_data): Likewise.
12917         (expm1_test_towardzero): Likewise.
12918         (expm1_downward_test_data): Likewise.
12919         (expm1_test_downward): Likewise.
12920         (expm1_upward_test_data): Likewise.
12921         (expm1_test_upward): Likewise.
12922         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12923         (fma_test): Use ALL_RM_TEST.
12924         (fma_towardzero_test_data): Remove.
12925         (fma_test_towardzero): Likewise.
12926         (fma_downward_test_data): Likewise.
12927         (fma_test_downward): Likewise.
12928         (fma_upward_test_data): Likewise.
12929         (fma_test_upward): Likewise.
12930         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12931         (j0_test_data): Update call to AUTO_TESTS_f_f.
12932         (j1_test_data): Likewise.
12933         (jn_test_data): Update call to AUTO_TESTS_if_f.
12934         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12935         (log_test_data): Update call to AUTO_TESTS_f_f.
12936         (log10_test_data): Likewise.
12937         (log1p_test_data): Likewise.
12938         (log2_test_data): Likewise.
12939         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12940         (pow_tonearest_test_data): Likewise.
12941         (sin_test_data): Update call to AUTO_TESTS_f_f.
12942         (sin_test): Use ALL_RM_TEST.
12943         (sin_tonearest_test_data): Remove.
12944         (sin_test_tonearest): Likewise.
12945         (sin_towardzero_test_data): Likewise.
12946         (sin_test_towardzero): Likewise.
12947         (sin_downward_test_data): Likewise.
12948         (sin_test_downward): Likewise.
12949         (sin_upward_test_data): Likewise.
12950         (sin_test_upward): Likewise.
12951         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12952         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12953         (sinh_test): Use ALL_RM_TEST.
12954         (sinh_tonearest_test_data): Remove.
12955         (sinh_test_tonearest): Likewise.
12956         (sinh_towardzero_test_data): Likewise.
12957         (sinh_test_towardzero): Likewise.
12958         (sinh_downward_test_data): Likewise.
12959         (sinh_test_downward): Likewise.
12960         (sinh_upward_test_data): Likewise.
12961         (sinh_test_upward): Likewise.
12962         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12963         (sqrt_test): Use ALL_RM_TEST.
12964         (sqrt_tonearest_test_data): Remove.
12965         (sqrt_test_tonearest): Likewise.
12966         (sqrt_towardzero_test_data): Likewise.
12967         (sqrt_test_towardzero): Likewise.
12968         (sqrt_downward_test_data): Likewise.
12969         (sqrt_test_downward): Likewise.
12970         (sqrt_upward_test_data): Likewise.
12971         (sqrt_test_upward): Likewise.
12972         (tan_test_data): Update call to AUTO_TESTS_f_f.
12973         (tan_test): Use ALL_RM_TEST.
12974         (tan_tonearest_test_data): Remove.
12975         (tan_test_tonearest): Likewise.
12976         (tan_towardzero_test_data): Likewise.
12977         (tan_test_towardzero): Likewise.
12978         (tan_downward_test_data): Likewise.
12979         (tan_test_downward): Likewise.
12980         (tan_upward_test_data): Likewise.
12981         (tan_test_upward): Likewise.
12982         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12983         (tgamma_test_data): Likewise.
12984         (y0_test_data): Likewise.
12985         (y1_test_data): Likewise.
12986         (yn_test_data): Update call to AUTO_TESTS_if_f.
12987         (main): Do not call removed functions.
12989 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12991         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12992         (ldexp_test_data): Remove.
12993         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12994         scalbn_test_data.
12995         (scalb_test): Use ALL_RM_TEST.
12997 2014-03-19  Andreas Schwab  <schwab@suse.de>
12999         * nscd/nscd.service: Also invalidate netgroup cache on reload.
13001 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
13003         [BZ #16649]
13004         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13005         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13006         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13007         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13008         (__ASSUME_PREADV): Undefine.
13009         (__ASSUME_PWRITEV): Likewise.
13011 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13013         * bits/mman-linux.h: Add comment about non-Linux use.
13014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13015         bits/mman-linux.h resting place.
13017         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13018         * bits/mman-linux.h: ... here.
13020 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13022         * conform/conformtest.pl: Add standard definition when calling C
13023         preprocessor on data files.
13024         (checknamespace): Remove unused variable.
13026 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13028         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13029         minus_oflow, plus_uflow and minus_uflow in expected results.
13030         * math/libm-test.inc (scalbn_test_data): Add more tests of
13031         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
13032         minus_uflow.
13033         (scalbn_test): Use ALL_RM_TEST.
13034         (scalbln_test_data): Add more tests of negative arguments.  Use
13035         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13036         (scalbln_test): Use ALL_RM_TEST.
13038 2014-03-18  Roland McGrath  <roland@hack.frob.com>
13040         * scripts/abilist.awk: Ignore symbols marked with .hidden.
13042 2014-03-18  Will Newton  <will.newton@linaro.org>
13044         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13045         inaccurate comment.
13047 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
13049         * Makerules [!subdir] (check-abi): Exit with error status if a
13050         test failed.
13052 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13054         * math/libm-test.inc (nearbyint_test_data): Include all tests used
13055         for rint.  Include results for all rounding modes.
13056         (nearbyint_test): Use ALL_RM_TEST.
13057         (rint_test_data): Include all tests used for nearbyint.
13059 2014-03-17  Will Newton  <will.newton@linaro.org>
13061         * nptl/sysdeps/pthread/pthread.h: Revert previous
13062         change.
13064         * sysdeps/generic/ldsodefs.h: Revert previous
13065         change.
13067         * libio/genops.c: Revert previous change.
13068         * libio/libioP.h: Likewise.
13069         * stdio-common/vfprintf.c: Likewise.
13071         * sysdeps/generic/math_private.h: Revert previous
13072         change.
13074         * sysdeps/generic/math_private.h: Check whether
13075         HAVE_RM_CTX is defined with #ifdef rather
13076         than #if.
13078         * argp/argp-fmtstream.h: Check whether
13079         __STRICT_ANSI__ is defined with #ifdef rather
13080         than #if.
13081         * argp/argp.h: Likewise.
13083         * libio/genops.c: Check whether
13084         _IO_JUMPS_OFFSET is defined with #ifdef rather
13085         than #if.
13086         * libio/libioP.h: Likewise.
13087         * stdio-common/vfprintf.c: Likewise.
13089         * sysdeps/generic/ldsodefs.h: Check whether
13090         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13091         than #if.
13093         * nptl/sysdeps/pthread/pthread.h: Check
13094         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13095         its value.
13097 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
13099         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13100         setting O_APPEND.
13101         * libio/tst-ftell-active-handler.c (do_append_test): Add a
13102         test case.
13104         [BZ #16680]
13105         * libio/fileops.c (_IO_file_open): Seek to end of file but
13106         don't cache the offset.
13107         (get_file_offset): Remove function.
13108         (do_ftell): Use cached offset when available.
13109         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13110         don't cache the offset.
13111         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13112         case.
13113         (do_one_test): Call it.
13114         (do_ftell_test): Fix up expected old offset for a+ mode.
13115         * libio/wfileops.c (do_ftell_wide): Used cached offset when
13116         available.
13118         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13119         up test status with function return status.
13120         (do_write_test): Likewise.
13121         (do_append_test): Likewise.
13123         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13124         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13125         Remove.
13127 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
13129         * math/gen-libm-test.pl (parse_args): Handle results specified for
13130         each rounding mode separately.
13131         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13132         tests and results from lrint_tonearest_test_data,
13133         lrint_towardzero_test_data, lrint_downward_test_data and
13134         lrint_upward_test_data.
13135         (lrint_test): Use ALL_RM_TEST.
13136         (lrint_tonearest_test_data): Remove.
13137         (lrint_test_tonearest): Likewise.
13138         (lrint_towardzero_test_data): Likewise.
13139         (lrint_test_towardzero): Likewise.
13140         (lrint_downward_test_data): Likewise.
13141         (lrint_test_downward): Likewise.
13142         (lrint_upward_test_data): Likewise.
13143         (lrint_test_upward): Likewise.
13144         (llrint_test_data): Merge in per-rounding-mode tests and results
13145         from llrint_tonearest_test_data, llrint_towardzero_test_data,
13146         llrint_downward_test_data and llrint_upward_test_data.
13147         (llrint_test): Use ALL_RM_TEST.
13148         (llrint_tonearest_test_data): Remove.
13149         (llrint_test_tonearest): Likewise.
13150         (llrint_towardzero_test_data): Likewise.
13151         (llrint_test_towardzero): Likewise.
13152         (llrint_downward_test_data): Likewise.
13153         (llrint_test_downward): Likewise.
13154         (llrint_upward_test_data): Likewise.
13155         (llrint_test_upward): Likewise.
13156         (rint_test_data): Merge in per-rounding-mode tests and results
13157         from rint_tonearest_test_data, rint_towardzero_test_data,
13158         rint_downward_test_data and rint_upward_test_data.  Add
13159         per-rounding-mode results for tests not in those arrays.
13160         (rint_test): Use ALL_RM_TEST.
13161         (rint_tonearest_test_data): Remove.
13162         (rint_test_tonearest): Likewise.
13163         (rint_towardzero_test_data): Likewise.
13164         (rint_test_towardzero): Likewise.
13165         (rint_downward_test_data): Likewise.
13166         (rint_test_downward): Likewise.
13167         (rint_upward_test_data): Likewise.
13168         (rint_test_upward): Likewise.
13169         (main): Don't call removed functions.
13171 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13173         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13174         "Compiled on ..." crapola.  It is anti-useful.
13176 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
13178         * scripts/evaluate-test.sh: Handle fourth argument to determine
13179         whether test run should stop on failure.
13180         * Makeconfig (stop-on-test-failure): New variable.
13181         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13182         $(stop-on-test-failure).
13183         * Makefile (tests): Give a summary of results from testing and
13184         exit with failure status if they include an ERROR or FAIL.
13185         (xtests): Likewise.
13186         * manual/install.texi (Configuring and compiling): Mention
13187         stop-on-test-failure=y.
13188         * INSTALL: Regenerated.
13190 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13192         * scripts/versionlist.awk: New file.
13193         * Makerules [$(build-shared) = yes]
13194         (postclean-generated): Add Versions.def, not Versions.def.v and
13195         Versions.def.v.i.
13196         ($(common-objpfx)Versions.def.v.i): Target removed.
13197         ($(common-objpfx)Versions.def): New target.
13198         ($(common-objpfx)Versions.all): Depend on that rather that
13199         $(common-objpfx)Versions.def.v.
13200         * Versions.def: File removed.
13202         * Makeconfig (+gccwarn): Add -Wundef.
13203         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13204         a dl-sysdep.h breaking its contract.
13205         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13206         * include/stackinfo.h: New file.
13207         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13208         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13209         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13210         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13211         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13212         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13213         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13214         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13215         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13216         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13217         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13218         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13219         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13220         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13221         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13223 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13225         [BZ #16707]
13226         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13227         implementation.
13228         * math/libm-test.inc (round_test_data): Add more tests.
13230         [BZ #16706]
13231         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13232         implementation.
13233         * math/libm-test.inc (nearbyint_test_data): Add more tests.
13235         [BZ #16701]
13236         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13237         implementation.
13238         * math/libm-test.inc (ceil_test_data): Add more tests.
13240         * math/libm-test.inc (trunc_test_data): Add more tests related to
13241         BZ#16414.
13243 2014-03-14  Roland McGrath  <roland@hack.frob.com>
13245         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13246         with #if rather than #ifdef.
13247         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13249 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
13251         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13252         first.  Disable AVX-512 GCC support if assembler doesn't support
13253         it.
13254         * sysdeps/x86_64/configure: Regenerated.
13256 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
13258         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13259         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13260         (__old_pthread_attr_setstack): Likewise.
13261         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13262         [!_STACK_GROWS_DOWN]: Likewise.
13264 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
13266         * config.make.in (have-bash2): Delete.
13267         * configure.ac (libc_cv_have_bash2): Delete.
13268         * configure: Regenerate.
13269         * elf/Makefile (common-ldd-rewrite): Rename to ...
13270         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
13271         (sh-ldd-rewrite): Delete.
13272         (bash-ldd-rewrite): Delete.
13273         (have-bash2): Delete checks.
13274         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13275         ldd-rewrite.
13277         * config.make.in (have-ksh): Delete.
13278         (KSH): Delete.
13279         * configure.ac (libc_cv_have_ksh): Delete.
13280         * configure: Regenerate.
13282         * elf/Makefile: Delete $(have-ksh) check.
13283         ($(objpfx)sotruss): Change KSH to BASH.
13284         * elf/sotruss.ksh: Rename to ...
13285         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13286         function style to match POSIX.  Drop ksh vim mode setting.
13288         * manual/time.texi (Specifying the Time Zone with TZ): Change
13289         Tuesday to Thursday.
13291         * debug/tst-longjmp_chk2.c: Update header comment.
13292         (stackoverflow_handler): Add comment.  Call assert on pass value.
13294 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13296         [BZ #16194]
13297         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13298         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13299         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13300         (La_x86_64_vector): Add zmm.
13301         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13302         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13303         ($(objpfx)tst-audit10): New target.
13304         ($(objpfx)tst-audit10.out): Likewise.
13305         (tst-audit10-ENV): New.
13306         (AVX512-CFLAGS): Likewise.
13307         (CFLAGS-tst-audit10.c): Likewise.
13308         (CFLAGS-tst-auditmod10a.c): Likewise.
13309         (CFLAGS-tst-auditmod10b.c): Likewise.
13310         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13311         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13312         * sysdeps/x86_64/configure: Regenerated.
13313         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13314         AVX-512 zmm register support.
13315         (_dl_x86_64_save_sse): Likewise.
13316         (_dl_x86_64_restore_sse): Likewise.
13317         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13318         size vector registers.
13319         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13320         (ZMM_SIZE): Likewise.
13321         * sysdeps/x86_64/tst-audit10.c: New file.
13322         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13323         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13325 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13327         * configure.ac (HAVE_EHDR_START): New check.
13328         * configure: Regenerated.
13329         * config.h.in (HAVE_EHDR_START): New #undef.
13330         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13331         assuming the lowest-addressed segment maps the start of the file.
13333 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13335         * INSTALL: Regenerated.
13337 2014-03-13  Will Newton  <will.newton@linaro.org>
13339         * manual/setjmp.texi (System V contexts): Improve
13340         clarity and grammar of documentation.
13342 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13344         [BZ #16381]
13345         * elf/Makefile (tests): Add tst-pie2.
13346         (tests-pie): Add tst-pie2.
13347         * elf/tst-pie2.c: New file.
13348         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13349         for ET_EXEC.
13350         * elf/rtld.c (map_doit): Load executable as lt_executable.
13351         (dl_main): Likewise.
13353 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13355         [BZ #16642]
13356         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13357         (__ASSUME_PSELECT): Undefine.
13359 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13361         [BZ #16689]
13362         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13363         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13364         static build.
13365         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13366         selector for static builds.
13368 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13370         [BZ #16695]
13371         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13372         key in the buffer.
13374 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13376         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13377         IFUNC selector for static builds.
13379 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13381         * sysdeps/mips/math_private.h [__mips_hard_float]
13382         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13383         libc_feresetround_mips_ctx.
13384         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13385         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13386         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13388         [BZ #16677]
13389         * math/s_nextafter.c (__nextafter): Do not return value from
13390         overflowing computation.
13391         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13392         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13393         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13394         Likewise.
13395         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13396         Likewise.
13397         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13398         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13400 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13402         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13403         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13404         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13405         the new mov targetting sp.
13407 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13409         [BZ #16683]
13410         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13411         Define it for static builds as well.
13412         (NO_BZERO_IMPL): Likewise.
13414 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13416         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13417         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13418         multiarch strspn for PPC64.
13419         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13420         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13422         (__libc_ifunc_impl_list): Likewise.
13423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13424         multiarch optimizations
13425         * string/strspn.c (strspn): Using macro to redefine symbol name.
13427 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13428             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13430         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13431         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13432         multiarch strncat for PPC64.
13433         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13434         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13436         (__libc_ifunc_impl_list): Likewise.
13437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13438         multiarch optimizations
13440 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13442         [BZ #16639]
13443         * nscd/nscd.service: Make service type forking.
13445 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13447         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13448         sign in non default rounding modes.
13449         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13451 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13453         * math/libm-test.inc (ALL_RM_TEST): New macro.
13454         (ceil_test): Use ALL_RM_TEST.
13455         (cimag_test): Likewise.
13456         (conj_test): Likewise.
13457         (copysign_test): Likewise.
13458         (cproj_test): Likewise.
13459         (creal_test): Likewise.
13460         (fabs_test): Likewise.
13461         (floor_test): Likewise.
13462         (fmax_test): Likewise.
13463         (fmin_test): Likewise.
13464         (fmod_test): Likewise.
13465         (fpclassify_test): Likewise.
13466         (frexp_test): Likewise.
13467         (ilogb_test): Likewise.
13468         (isfinite_test): Likewise.
13469         (finite_test): Likewise.
13470         (isgreater_test): Likewise.
13471         (isgreaterequal_test): Likewise.
13472         (isinf_test): Likewise.
13473         (isless_test): Likewise.
13474         (islessequal_test): Likewise.
13475         (islessgreater_test): Likewise.
13476         (isnan_test): Likewise.
13477         (isnormal_test): Likewise.
13478         (issignaling_test): Likewise.
13479         (isunordered_test): Likewise.
13480         (logb_test): Likewise.
13481         (logb_downward_test_data): Remove.
13482         (logb_test_downward): Likewise.
13483         (lround_test): Use ALL_RM_TEST.
13484         (llround_test): Likewise.
13485         (modf_test): Likewise.
13486         (nexttoward_test): Likewise.
13487         (remainder_test): Likewise.
13488         (drem_test): Likewise.
13489         (remainder_tonearest_test_data): Likewise.
13490         (remainder_test_tonearest): Likewise.
13491         (drem_test_tonearest): Likewise.
13492         (remainder_towardzero_test_data): Likewise.
13493         (remainder_test_towardzero): Likewise.
13494         (drem_test_towardzero): Likewise.
13495         (remainder_downward_test_data): Likewise.
13496         (remainder_test_downward): Likewise.
13497         (drem_test_downward): Likewise.
13498         (remainder_upward_test_data): Likewise.
13499         (remainder_test_upward): Likewise.
13500         (drem_test_upward): Likewise.
13501         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13502         (round_test): Use ALL_RM_TEST.
13503         (signbit_test): Likewise.
13504         (trunc_test): Likewise.
13505         (significand_test): Likewise.
13506         (main): Don't call removed functions.
13508 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13510         [BZ #16674]
13511         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13512         || __USE_XOPEN2K8].
13513         (ILL_ILLOPN): Likewise.
13514         (ILL_ILLADR): Likewise.
13515         (ILL_ILLTRP): Likewise.
13516         (ILL_PRVOPC): Likewise.
13517         (ILL_PRVREG): Likewise.
13518         (ILL_COPROC): Likewise.
13519         (ILL_BADSTK): Likewise.
13520         (FPE_INTDIV): Likewise.
13521         (FPE_INTOVF): Likewise.
13522         (FPE_FLTDIV): Likewise.
13523         (FPE_FLTOVF): Likewise.
13524         (FPE_FLTUND): Likewise.
13525         (FPE_FLTRES): Likewise.
13526         (FPE_FLTINV): Likewise.
13527         (FPE_FLTSUB): Likewise.
13528         (SEGV_MAPERR): Likewise.
13529         (SEGV_ACCERR): Likewise.
13530         (BUS_ADRALN): Likewise.
13531         (BUS_ADRERR): Likewise.
13532         (BUS_OBJERR): Likewise.
13533         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13534         (TRAP_TRACE): Likewise.
13535         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13536         __USE_XOPEN2K8].
13537         (CLD_KILLED): Likewise.
13538         (CLD_DUMPED): Likewise.
13539         (CLD_TRAPPED): Likewise.
13540         (CLD_STOPPED): Likewise.
13541         (CLD_CONTINUED): Likewise.
13542         (POLL_IN): Likewise.
13543         (POLL_OUT): Likewise.
13544         (POLL_MSG): Likewise.
13545         (POLL_ERR): Likewise.
13546         (POLL_PRI): Likewise.
13547         (POLL_HUP): Likewise.
13548         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13549         Likewise.
13550         (ILL_ILLOPN): Likewise.
13551         (ILL_ILLADR): Likewise.
13552         (ILL_ILLTRP): Likewise.
13553         (ILL_PRVOPC): Likewise.
13554         (ILL_PRVREG): Likewise.
13555         (ILL_COPROC): Likewise.
13556         (ILL_BADSTK): Likewise.
13557         (FPE_INTDIV): Likewise.
13558         (FPE_INTOVF): Likewise.
13559         (FPE_FLTDIV): Likewise.
13560         (FPE_FLTOVF): Likewise.
13561         (FPE_FLTUND): Likewise.
13562         (FPE_FLTRES): Likewise.
13563         (FPE_FLTINV): Likewise.
13564         (FPE_FLTSUB): Likewise.
13565         (SEGV_MAPERR): Likewise.
13566         (SEGV_ACCERR): Likewise.
13567         (BUS_ADRALN): Likewise.
13568         (BUS_ADRERR): Likewise.
13569         (BUS_OBJERR): Likewise.
13570         (BUS_MCEERR_AR): Likewise.
13571         (BUS_MCEERR_AO): Likewise.
13572         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13573         (TRAP_TRACE): Likewise.
13574         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13575         __USE_XOPEN2K8].
13576         (CLD_KILLED): Likewise.
13577         (CLD_DUMPED): Likewise.
13578         (CLD_TRAPPED): Likewise.
13579         (CLD_STOPPED): Likewise.
13580         (CLD_CONTINUED): Likewise.
13581         (POLL_IN): Likewise.
13582         (POLL_OUT): Likewise.
13583         (POLL_MSG): Likewise.
13584         (POLL_ERR): Likewise.
13585         (POLL_PRI): Likewise.
13586         (POLL_HUP): Likewise.
13587         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13588         (ILL_ILLOPN): Likewise.
13589         (ILL_ILLADR): Likewise.
13590         (ILL_ILLTRP): Likewise.
13591         (ILL_PRVOPC): Likewise.
13592         (ILL_PRVREG): Likewise.
13593         (ILL_COPROC): Likewise.
13594         (ILL_BADSTK): Likewise.
13595         (FPE_INTDIV): Likewise.
13596         (FPE_INTOVF): Likewise.
13597         (FPE_FLTDIV): Likewise.
13598         (FPE_FLTOVF): Likewise.
13599         (FPE_FLTUND): Likewise.
13600         (FPE_FLTRES): Likewise.
13601         (FPE_FLTINV): Likewise.
13602         (FPE_FLTSUB): Likewise.
13603         (SEGV_MAPERR): Likewise.
13604         (SEGV_ACCERR): Likewise.
13605         (BUS_ADRALN): Likewise.
13606         (BUS_ADRERR): Likewise.
13607         (BUS_OBJERR): Likewise.
13608         (BUS_MCEERR_AR): Likewise.
13609         (BUS_MCEERR_AO): Likewise.
13610         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13611         (TRAP_TRACE): Likewise.
13612         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13613         __USE_XOPEN2K8].
13614         (CLD_KILLED): Likewise.
13615         (CLD_DUMPED): Likewise.
13616         (CLD_TRAPPED): Likewise.
13617         (CLD_STOPPED): Likewise.
13618         (CLD_CONTINUED): Likewise.
13619         (POLL_IN): Likewise.
13620         (POLL_OUT): Likewise.
13621         (POLL_MSG): Likewise.
13622         (POLL_ERR): Likewise.
13623         (POLL_PRI): Likewise.
13624         (POLL_HUP): Likewise.
13625         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13626         Likewise.
13627         (ILL_ILLOPN): Likewise.
13628         (ILL_ILLADR): Likewise.
13629         (ILL_ILLTRP): Likewise.
13630         (ILL_PRVOPC): Likewise.
13631         (ILL_PRVREG): Likewise.
13632         (ILL_COPROC): Likewise.
13633         (ILL_BADSTK): Likewise.
13634         (ILL_BADIADDR): Likewise.
13635         (ILL_BREAK): Likewise.
13636         (FPE_INTDIV): Likewise.
13637         (FPE_INTOVF): Likewise.
13638         (FPE_FLTDIV): Likewise.
13639         (FPE_FLTOVF): Likewise.
13640         (FPE_FLTUND): Likewise.
13641         (FPE_FLTRES): Likewise.
13642         (FPE_FLTINV): Likewise.
13643         (FPE_FLTSUB): Likewise.
13644         (FPE_DECOVF): Likewise.
13645         (FPE_DECDIV): Likewise.
13646         (FPE_DECERR): Likewise.
13647         (FPE_INVASC): Likewise.
13648         (FPE_INVDEC): Likewise.
13649         (SEGV_MAPERR): Likewise.
13650         (SEGV_ACCERR): Likewise.
13651         (SEGV_PSTKOVF): Likewise.
13652         (BUS_ADRALN): Likewise.
13653         (BUS_ADRERR): Likewise.
13654         (BUS_OBJERR): Likewise.
13655         (BUS_MCEERR_AR): Likewise.
13656         (BUS_MCEERR_AO): Likewise.
13657         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13658         (TRAP_TRACE): Likewise.
13659         (TRAP_BRANCH): Likewise.
13660         (TRAP_HWBKPT): Likewise.
13661         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13662         __USE_XOPEN2K8].
13663         (CLD_KILLED): Likewise.
13664         (CLD_DUMPED): Likewise.
13665         (CLD_TRAPPED): Likewise.
13666         (CLD_STOPPED): Likewise.
13667         (CLD_CONTINUED): Likewise.
13668         (POLL_IN): Likewise.
13669         (POLL_OUT): Likewise.
13670         (POLL_MSG): Likewise.
13671         (POLL_ERR): Likewise.
13672         (POLL_PRI): Likewise.
13673         (POLL_HUP): Likewise.
13674         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13675         (ILL_ILLOPN): Likewise.
13676         (ILL_ILLADR): Likewise.
13677         (ILL_ILLTRP): Likewise.
13678         (ILL_PRVOPC): Likewise.
13679         (ILL_PRVREG): Likewise.
13680         (ILL_COPROC): Likewise.
13681         (ILL_BADSTK): Likewise.
13682         (FPE_INTDIV): Likewise.
13683         (FPE_INTOVF): Likewise.
13684         (FPE_FLTDIV): Likewise.
13685         (FPE_FLTOVF): Likewise.
13686         (FPE_FLTUND): Likewise.
13687         (FPE_FLTRES): Likewise.
13688         (FPE_FLTINV): Likewise.
13689         (FPE_FLTSUB): Likewise.
13690         (SEGV_MAPERR): Likewise.
13691         (SEGV_ACCERR): Likewise.
13692         (BUS_ADRALN): Likewise.
13693         (BUS_ADRERR): Likewise.
13694         (BUS_OBJERR): Likewise.
13695         (BUS_MCEERR_AR): Likewise.
13696         (BUS_MCEERR_AO): Likewise.
13697         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13698         (TRAP_TRACE): Likewise.
13699         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13700         __USE_XOPEN2K8].
13701         (CLD_KILLED): Likewise.
13702         (CLD_DUMPED): Likewise.
13703         (CLD_TRAPPED): Likewise.
13704         (CLD_STOPPED): Likewise.
13705         (CLD_CONTINUED): Likewise.
13706         (POLL_IN): Likewise.
13707         (POLL_OUT): Likewise.
13708         (POLL_MSG): Likewise.
13709         (POLL_ERR): Likewise.
13710         (POLL_PRI): Likewise.
13711         (POLL_HUP): Likewise.
13712         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13713         (ILL_ILLOPN): Likewise.
13714         (ILL_ILLADR): Likewise.
13715         (ILL_ILLTRP): Likewise.
13716         (ILL_PRVOPC): Likewise.
13717         (ILL_PRVREG): Likewise.
13718         (ILL_COPROC): Likewise.
13719         (ILL_BADSTK): Likewise.
13720         (FPE_INTDIV): Likewise.
13721         (FPE_INTOVF): Likewise.
13722         (FPE_FLTDIV): Likewise.
13723         (FPE_FLTOVF): Likewise.
13724         (FPE_FLTUND): Likewise.
13725         (FPE_FLTRES): Likewise.
13726         (FPE_FLTINV): Likewise.
13727         (FPE_FLTSUB): Likewise.
13728         (SEGV_MAPERR): Likewise.
13729         (SEGV_ACCERR): Likewise.
13730         (BUS_ADRALN): Likewise.
13731         (BUS_ADRERR): Likewise.
13732         (BUS_OBJERR): Likewise.
13733         (BUS_MCEERR_AR): Likewise.
13734         (BUS_MCEERR_AO): Likewise.
13735         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13736         (TRAP_TRACE): Likewise.
13737         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13738         __USE_XOPEN2K8].
13739         (CLD_KILLED): Likewise.
13740         (CLD_DUMPED): Likewise.
13741         (CLD_TRAPPED): Likewise.
13742         (CLD_STOPPED): Likewise.
13743         (CLD_CONTINUED): Likewise.
13744         (POLL_IN): Likewise.
13745         (POLL_OUT): Likewise.
13746         (POLL_MSG): Likewise.
13747         (POLL_ERR): Likewise.
13748         (POLL_PRI): Likewise.
13749         (POLL_HUP): Likewise.
13750         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13751         (ILL_ILLOPN): Likewise.
13752         (ILL_ILLADR): Likewise.
13753         (ILL_ILLTRP): Likewise.
13754         (ILL_PRVOPC): Likewise.
13755         (ILL_PRVREG): Likewise.
13756         (ILL_COPROC): Likewise.
13757         (ILL_BADSTK): Likewise.
13758         (FPE_INTDIV): Likewise.
13759         (FPE_INTOVF): Likewise.
13760         (FPE_FLTDIV): Likewise.
13761         (FPE_FLTOVF): Likewise.
13762         (FPE_FLTUND): Likewise.
13763         (FPE_FLTRES): Likewise.
13764         (FPE_FLTINV): Likewise.
13765         (FPE_FLTSUB): Likewise.
13766         (SEGV_MAPERR): Likewise.
13767         (SEGV_ACCERR): Likewise.
13768         (BUS_ADRALN): Likewise.
13769         (BUS_ADRERR): Likewise.
13770         (BUS_OBJERR): Likewise.
13771         (BUS_MCEERR_AR): Likewise.
13772         (BUS_MCEERR_AO): Likewise.
13773         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13774         (TRAP_TRACE): Likewise.
13775         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13776         __USE_XOPEN2K8].
13777         (CLD_KILLED): Likewise.
13778         (CLD_DUMPED): Likewise.
13779         (CLD_TRAPPED): Likewise.
13780         (CLD_STOPPED): Likewise.
13781         (CLD_CONTINUED): Likewise.
13782         (POLL_IN): Likewise.
13783         (POLL_OUT): Likewise.
13784         (POLL_MSG): Likewise.
13785         (POLL_ERR): Likewise.
13786         (POLL_PRI): Likewise.
13787         (POLL_HUP): Likewise.
13788         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13789         (ILL_ILLOPN): Likewise.
13790         (ILL_ILLADR): Likewise.
13791         (ILL_ILLTRP): Likewise.
13792         (ILL_PRVOPC): Likewise.
13793         (ILL_PRVREG): Likewise.
13794         (ILL_COPROC): Likewise.
13795         (ILL_BADSTK): Likewise.
13796         (ILL_DBLFLT): Likewise.
13797         (ILL_HARDWALL): Likewise.
13798         (FPE_INTDIV): Likewise.
13799         (FPE_INTOVF): Likewise.
13800         (FPE_FLTDIV): Likewise.
13801         (FPE_FLTOVF): Likewise.
13802         (FPE_FLTUND): Likewise.
13803         (FPE_FLTRES): Likewise.
13804         (FPE_FLTINV): Likewise.
13805         (FPE_FLTSUB): Likewise.
13806         (SEGV_MAPERR): Likewise.
13807         (SEGV_ACCERR): Likewise.
13808         (BUS_ADRALN): Likewise.
13809         (BUS_ADRERR): Likewise.
13810         (BUS_OBJERR): Likewise.
13811         (BUS_MCEERR_AR): Likewise.
13812         (BUS_MCEERR_AO): Likewise.
13813         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13814         (TRAP_TRACE): Likewise.
13815         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13816         __USE_XOPEN2K8].
13817         (CLD_KILLED): Likewise.
13818         (CLD_DUMPED): Likewise.
13819         (CLD_TRAPPED): Likewise.
13820         (CLD_STOPPED): Likewise.
13821         (CLD_CONTINUED): Likewise.
13822         (POLL_IN): Likewise.
13823         (POLL_OUT): Likewise.
13824         (POLL_MSG): Likewise.
13825         (POLL_ERR): Likewise.
13826         (POLL_PRI): Likewise.
13827         (POLL_HUP): Likewise.
13828         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13829         (ILL_ILLOPN): Likewise.
13830         (ILL_ILLADR): Likewise.
13831         (ILL_ILLTRP): Likewise.
13832         (ILL_PRVOPC): Likewise.
13833         (ILL_PRVREG): Likewise.
13834         (ILL_COPROC): Likewise.
13835         (ILL_BADSTK): Likewise.
13836         (FPE_INTDIV): Likewise.
13837         (FPE_INTOVF): Likewise.
13838         (FPE_FLTDIV): Likewise.
13839         (FPE_FLTOVF): Likewise.
13840         (FPE_FLTUND): Likewise.
13841         (FPE_FLTRES): Likewise.
13842         (FPE_FLTINV): Likewise.
13843         (FPE_FLTSUB): Likewise.
13844         (SEGV_MAPERR): Likewise.
13845         (SEGV_ACCERR): Likewise.
13846         (BUS_ADRALN): Likewise.
13847         (BUS_ADRERR): Likewise.
13848         (BUS_OBJERR): Likewise.
13849         (BUS_MCEERR_AR): Likewise.
13850         (BUS_MCEERR_AO): Likewise.
13851         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13852         (TRAP_TRACE): Likewise.
13853         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13854         __USE_XOPEN2K8].
13855         (CLD_KILLED): Likewise.
13856         (CLD_DUMPED): Likewise.
13857         (CLD_TRAPPED): Likewise.
13858         (CLD_STOPPED): Likewise.
13859         (CLD_CONTINUED): Likewise.
13860         (POLL_IN): Likewise.
13861         (POLL_OUT): Likewise.
13862         (POLL_MSG): Likewise.
13863         (POLL_ERR): Likewise.
13864         (POLL_PRI): Likewise.
13865         (POLL_HUP): Likewise.
13866         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13867         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13869         [BZ #16670]
13870         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13871         before #include of <time.h>.
13872         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13873         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13874         (test-xfail-UNIX98/sched.h/conform): Likewise.
13876 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13878         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13879         error absence of trapping exception support.
13880         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13882 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13884         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13885         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13886         * timezone/Makefile (testdata): Move definition above include of
13887         Rules.
13888         (test-zones): New variable.
13889         (tests-special): Add zone files.
13890         (build-testdata): Use $(evaluate-test).
13892         * elf/Makefile (tests-special): Rename tests to end with .out.
13893         ($(objpfx)noload-mem): Likewise.
13894         ($(objpfx)tst-leaks1-mem): Likewise.
13895         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13896         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13897         $(objpfx)test-iconvconfig.out.
13898         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13899         set -e inside subshell and redirect output to file.
13900         * iconvdata/Makefile (generated): Rename tests to end with .out.
13901         Correct type.
13902         (tests-special): Rename tests to end with .out.
13903         ($(objpfx)mtrace-tst-loading): Likewise.
13904         * intl/Makefile (generated): Likewise.
13905         (tests-special): Likewise.
13906         ($(objpfx)mtrace-tst-gettext): Likewise.
13907         * misc/Makefile (generated): Likewise.
13908         (tests-special): Likewise.
13909         ($(objpfx)tst-error1-mem): Likewise.
13910         * nptl/Makefile (tests-special): Likewise.
13911         ($(objpfx)tst-stack3-mem): Likewise.
13912         (generated): Likewise.
13913         * posix/Makefile (generated): Likewise.
13914         (tests-special): Likewise.
13915         (xtests-special): Likewise.
13916         ($(objpfx)tst-fnmatch-mem): Likewise.
13917         ($(objpfx)bug-regex2-mem): Likewise.
13918         ($(objpfx)bug-regex14-mem): Likewise.
13919         ($(objpfx)bug-regex21-mem): Likewise.
13920         ($(objpfx)bug-regex31-mem): Likewise.
13921         ($(objpfx)tst-vfork3-mem): Likewise.
13922         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13923         ($(objpfx)tst-pcre-mem): Likewise.
13924         ($(objpfx)tst-boost-mem): Likewise.
13925         ($(objpfx)bug-ga2-mem): Likewise.
13926         ($(objpfx)bug-glob2-mem): Likewise.
13927         * resolv/Makefile (generate): Likewise.
13928         (tests-special): Likewise.
13929         (xtests-special): Likewise.
13930         (generated): Likewise.
13931         ($(objpfx)mtrace-tst-leaks): Likewise.
13932         ($(objpfx)mtrace-tst-leaks2): Likewise.
13934         * scripts/merge-test-results.sh: New file.
13935         * Makefile (tests-special-notdir): New variable.
13936         (tests): Run merge-test-results.sh.
13937         (xtests): Likewise.
13938         * Rules (tests-special-notdir): New variable.
13939         (xtests-special-notdir): Likewise.
13940         (tests): Run merge-test-results.sh
13941         (xtests): Likewise.
13943         * Makeconfig (test-xfail-name): New variable.
13944         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13945         compute variable name for expected failures.
13946         * conform/Makefile (conformtest-headers-data): New variable.
13947         (conformtest-standards): Likewise.
13948         (conformtest-headers-ISO): Likewise.
13949         (conformtest-headers-ISO99): Likewise.
13950         (conformtest-headers-ISO11): Likewise.
13951         (conformtest-headers-POSIX): Likewise.
13952         (conformtest-headers-XPG3): Likewise.
13953         (conformtest-headers-XPG4): Likewise.
13954         (conformtest-headers-UNIX98): Likewise.
13955         (conformtest-headers-XOPEN2K): Likewise.
13956         (conformtest-headers-POSIX2008): Likewise.
13957         (conformtest-headers-XOPEN2K8): Likewise.
13958         (conformtest-header-list-base): Likewise.
13959         (conformtest-header-list-tests): Likewise.
13960         (conformtest-header-base): Likewise.
13961         (conformtest-header-tests): Likewise.
13962         (tests-special): Add $(conformtest-header-list-tests).  If
13963         [$(fast-check) && !$(cross-compiling)], add
13964         $(conformtest-header-tests) instead of
13965         $(objpfx)run-conformtest.out.
13966         (generated): Add $(conformtest-header-list-base).  If
13967         [$(fast-check) && !$(cross-compiling)], add
13968         $(conformtest-header-base).  Remove previous setting.
13969         ($(conformtest-header-list-tests)): New target.
13970         (test-xfail-run-conformtest): Remove variable.
13971         ($(objpfx)run-conformtest.out): Remove target.
13972         (test-xfail-ISO11/complex.h/conform): New variable.
13973         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13974         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13975         (test-xfail-XPG3/varargs.h/conform): Likewise.
13976         (test-xfail-XPG4/varargs.h/conform): Likewise.
13977         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13978         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13979         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13980         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13981         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13982         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13983         (test-xfail-XPG3/ftw.h/conform): Likewise.
13984         (test-xfail-XPG3/grp.h/conform): Likewise.
13985         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13986         (test-xfail-XPG3/limits.h/conform): Likewise.
13987         (test-xfail-XPG3/pwd.h/conform): Likewise.
13988         (test-xfail-XPG3/search.h/conform): Likewise.
13989         (test-xfail-XPG3/signal.h/conform): Likewise.
13990         (test-xfail-XPG3/stdio.h/conform): Likewise.
13991         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13992         (test-xfail-XPG3/string.h/conform): Likewise.
13993         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13994         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13995         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13996         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13997         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13998         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13999         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14000         (test-xfail-XPG3/termios.h/conform): Likewise.
14001         (test-xfail-XPG3/time.h/conform): Likewise.
14002         (test-xfail-XPG3/unistd.h/conform): Likewise.
14003         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14004         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14005         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14006         (test-xfail-XPG4/netdb.h/conform): Likewise.
14007         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14008         (test-xfail-XPG4/signal.h/conform): Likewise.
14009         (test-xfail-XPG4/stdio.h/conform): Likewise.
14010         (test-xfail-XPG4/stdlib.h/conform): Likewise.
14011         (test-xfail-XPG4/stropts.h/conform): Likewise.
14012         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14013         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14014         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14015         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14016         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14017         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14018         (test-xfail-XPG4/sys/time.h/conform): Likewise.
14019         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14020         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14021         (test-xfail-XPG4/termios.h/conform): Likewise.
14022         (test-xfail-XPG4/ucontext.h/conform): Likewise.
14023         (test-xfail-XPG4/unistd.h/conform): Likewise.
14024         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14025         (test-xfail-POSIX/sched.h/conform): Likewise.
14026         (test-xfail-POSIX/signal.h/conform): Likewise.
14027         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14028         (test-xfail-POSIX/tar.h/conform): Likewise.
14029         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14030         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14031         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14032         (test-xfail-UNIX98/netdb.h/conform): Likewise.
14033         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14034         (test-xfail-UNIX98/sched.h/conform): Likewise.
14035         (test-xfail-UNIX98/signal.h/conform): Likewise.
14036         (test-xfail-UNIX98/stdio.h/conform): Likewise.
14037         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14038         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14039         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14040         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14041         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14042         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14043         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14044         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14045         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14046         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14047         (test-xfail-UNIX98/unistd.h/conform): Likewise.
14048         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14049         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14050         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14051         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14052         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14053         (test-xfail-XOPEN2K/math.h/conform): Likewise.
14054         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14055         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14056         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14057         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14058         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14059         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14060         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14061         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14062         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14063         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14064         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14065         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14066         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14067         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14068         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14069         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14070         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14071         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14072         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14073         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14074         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14075         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14076         (test-xfail-POSIX2008/signal.h/conform): Likewise.
14077         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14078         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14079         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14080         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14081         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14082         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14083         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14084         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14085         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14086         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14087         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14088         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14089         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14090         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14091         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14092         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14093         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14094         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14095         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14096         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14097         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14098         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14099         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14100         (conformtest-cc-flags): Likewise.
14101         ($(conformtest-header-tests): New target.
14102         * conform/check-header-lists.sh: New file.
14103         * conform/run-conformtest.sh: Remove.
14105         * conform/conformtest.pl: Allow ' and \ in values given for
14106         constants.
14107         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14108         inclusion.
14109         [POSIX] (sys/types.h): Likewise.
14110         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14111         inclusion.
14112         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14113         inclusion.
14114         * conform/data/signal.h-data (SIGIO): Remove expectation.
14115         [XPG3] (SIGBUS): Do not expect.
14116         [POSIX || XPG3] (SIGPOLL): Likewise.
14117         [POSIX || XPG3] (SIGPROF): Likewise.
14118         [POSIX || XPG3] (SIGSYS): Likewise.
14119         [XPG3] (SIGTRAP): Likewise.
14120         [POSIX || XPG3] (SIGURG): Likewise.
14121         [POSIX || XPG3] (SIGVTALRM): Likewise.
14122         [POSIX || XPG3] (SIGXCPU): Likewise.
14123         [POSIX || XPG3] (SIGXFSZ): Likewise.
14124         [POSIX] (SA_SIGINFO): Expect.
14125         [XPG3] (siginfo_t): Do not expect type or contents.
14126         [POSIX] (si_pid): Do not expect element.
14127         [POSIX] (si_uid): Likewise.
14128         [POSIX] (si_addr): Likewise.
14129         [POSIX] (si_status): Likewise.
14130         [POSIX] (si_band): Likewise.
14131         [XPG4] (si_value): Likewise.
14132         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14133         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14134         [POSIX || XPG3] (ILL_ILLADR): Likewise.
14135         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14136         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14137         [POSIX || XPG3] (ILL_PRVREG): Likewise.
14138         [POSIX || XPG3] (ILL_COPROC): Likewise.
14139         [POSIX || XPG3] (ILL_BADSTK): Likewise.
14140         [POSIX || XPG3] (FPE_INTDIV): Likewise.
14141         [POSIX || XPG3] (FPE_INTOVF): Likewise.
14142         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14143         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14144         [POSIX || XPG3] (FPE_FLTUND): Likewise.
14145         [POSIX || XPG3] (FPE_FLTRES): Likewise.
14146         [POSIX || XPG3] (FPE_FLTINV): Likewise.
14147         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14148         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14149         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14150         [POSIX || XPG3] (BUS_ADRALN): Likewise.
14151         [POSIX || XPG3] (BUS_ADRERR): Likewise.
14152         [POSIX || XPG3] (BUS_OBJERR): Likewise.
14153         [POSIX || XPG3] (CLD_EXITED): Likewise.
14154         [POSIX || XPG3] (CLD_KILLED): Likewise.
14155         [POSIX || XPG3] (CLD_DUMPED): Likewise.
14156         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14157         [POSIX || XPG3] (CLD_STOPPED): Likewise.
14158         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14159         [POSIX || XPG3] (POLL_IN): Likewise.
14160         [POSIX || XPG3] (POLL_OUT): Likewise.
14161         [POSIX || XPG3] (POLL_MSG): Likewise.
14162         [POSIX || XPG3] (POLL_ERR): Likewise.
14163         [POSIX || XPG3] (POLL_PRI): Likewise.
14164         [POSIX || XPG3] (POLL_HUP): Likewise.
14165         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14166         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14167         (SIG*): Do not allow.
14168         [XPG3] (si_*): Likewise.
14169         [XPG3] (SI_*): Likewise.
14170         [XPG3 || XPG4] (sigev_*): Likewise.
14171         [XPG3 || XPG4] (SIGEV_*): Likewise.
14172         [XPG3 || XPG4] (sival_*): Likewise.
14173         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14174         [POSIX || XPG3] (BUS_*): Likewise.
14175         [POSIX || XPG3] (CLD_*): Likewise.
14176         [POSIX || XPG3] (FPE_*): Likewise.
14177         [POSIX || XPG3] (ILL_*): Likewise.
14178         [POSIX || XPG3] (POLL_*): Likewise.
14179         [POSIX || XPG3] (SEGV_*): Likewise.
14180         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14181         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14182         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14183         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14184         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14185         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14186         Specify type and value.
14187         (TVERSLEN): Likewise.
14188         (REGTYPE): Likewise.
14189         (AREGTYPE): Likewise.
14190         (LNKTYPE): Likewise.
14191         (SYMTYPE): Likewise.
14192         (CHRTYPE): Likewise.
14193         (BLKTYPE): Likewise.
14194         (DIRTYPE): Likewise.
14195         (FIFOTYPE): Likewise.
14196         (CONTTYPE): Likewise.
14197         (TSUID): Likewise.
14198         (TSGID): Likewise.
14199         (TSVTX): Likewise.
14200         (TUREAD): Likewise.
14201         (TUWRITE): Likewise.
14202         (TUEXEC): Likewise.
14203         (TGREAD): Likewise.
14204         (TGWRITE): Likewise.
14205         (TGEXEC): Likewise.
14206         (TOREAD): Likewise.
14207         (TOWRITE): Likewise.
14208         (TOEXEC): Likewise.
14209         [POSIX] (TSVTX): Expect constant.
14211 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
14213         * Makefile (tests): Change dependencies to ....
14214         (tests-special): ... additions to this variable.
14215         (tests): Depend on $(tests-special).
14216         * Makerules (check-abi-list): New variable.
14217         (check-abi): Depend on $(check-abi-list).
14218         [$(subdir) = elf] (tests-special): Add
14219         $(objpfx)check-abi-libc.out.
14220         [$(build-shared) = yes && subdir] (tests-special): Add
14221         $(check-abi-list).
14222         [$(build-shared) = yes && subdir] (tests): Do not depend on
14223         check-abi.
14224         * Rules (tests): Depend on $(tests-special).
14225         (xtests): Depend on $(xtests-special).
14226         * catgets/Makefile (tests): Change dependencies to ....
14227         (tests-special): ... additions to this variable.
14228         * conform/Makefile (tests): Change dependencies to ....
14229         (tests-special): ... additions to this variable.
14230         * elf/Makefile (tests): Change dependencies to ....
14231         (tests-special): ... additions to this variable.
14232         * grp/Makefile (tests): Change dependencies to ....
14233         (tests-special): ... additions to this variable.
14234         * iconv/Makefile (xtests): Change dependencies to ....
14235         (xtests-special): ... additions to this variable.
14236         * iconvdata/Makefile (tests): Change dependencies to ....
14237         (tests-special): ... additions to this variable.
14238         * intl/Makefile (tests): Change dependencies to ....
14239         (tests-special): ... additions to this variable.  Also add
14240         $(objpfx)tst-gettext.out.
14241         * io/Makefile (tests): Change dependencies to ....
14242         (tests-special): ... additions to this variable.
14243         * libio/Makefile (tests): Change dependencies to ....
14244         (tests-special): ... additions to this variable.
14245         * malloc/Makefile (tests): Change dependencies to ....
14246         (tests-special): ... additions to this variable.
14247         * misc/Makefile (tests): Change dependencies to ....
14248         (tests-special): ... additions to this variable.
14249         * nptl/Makefile (tests): Change dependencies to ....
14250         (tests-special): ... additions to this variable.
14251         * nptl_db/Makefile (tests): Change dependencies to ....
14252         (tests-special): ... additions to this variable.
14253         * posix/Makefile (tests): Change dependencies to ....
14254         (tests-special): ... additions to this variable.
14255         (xtests): Change dependencies to ....
14256         (xtests-special): ... additions to this variable.
14257         * resolv/Makefile (tests): Change dependencies to ....
14258         (tests-special): ... additions to this variable.
14259         (xtests): Change dependencies to ....
14260         (xtests-special): ... additions to this variable.
14261         * stdio-common/Makefile (tests): Change dependencies to ....
14262         (tests-special): ... additions to this variable.
14263         (do-tst-unbputc): Remove target.
14264         (do-tst-printf): Likewise.
14265         * stdlib/Makefile (tests): Change dependencies to ....
14266         (tests-special): ... additions to this variable.
14267         * string/Makefile (tests): Change dependencies to ....
14268         (tests-special): ... additions to this variable.
14269         * sysdeps/x86/Makefile (tests): Change dependencies to ....
14270         (tests-special): ... additions to this variable.
14272         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14273         whole file.
14274         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14275         whole file.
14276         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14277         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14279         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14280         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14281         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14282         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14283         * conform/data/libgen.h-data [XPG3]: Likewise.
14284         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14285         * conform/data/ndbm.h-data [XPG3]: Likewise.
14286         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14287         * conform/data/netdb.h-data [XPG3]: Likewise.
14288         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14289         * conform/data/poll.h-data [XPG3]: Likewise.
14290         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14291         * conform/data/strings.h-data [XPG3]: Likewise.
14292         * conform/data/stropts.h-data [XPG3]: Likewise.
14293         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14294         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14295         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14296         Likewise.
14297         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14298         * conform/data/sys/time.h-data [XPG3]: Likewise.
14299         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14300         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14301         * conform/data/sys/un.h-data [XPG3]: Likewise.
14302         * conform/data/syslog.h-data [XPG3]: Likewise.
14303         * conform/data/ucontext.h-data [XPG3]: Likewise.
14304         * conform/data/utmpx.h-data [XPG3]: Likewise.
14305         * conform/data/varargs.h-data [UNIX98]: Enable file.
14307         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14309         * math/libm-test.inc (struct test_f_f_data): Move expected results
14310         into structure for each rounding mode.
14311         (struct test_ff_f_data): Likewise.
14312         (struct test_ff_f_data_nexttoward): Likewise.
14313         (struct test_fi_f_data): Likewise.
14314         (struct test_fl_f_data): Likewise.
14315         (struct test_if_f_data): Likewise.
14316         (struct test_fff_f_data): Likewise.
14317         (struct test_c_f_data): Likewise.
14318         (struct test_f_f1_data): Likewise.
14319         (struct test_fF_f1_data): Likewise.
14320         (struct test_ffI_f1_data): Likewise.
14321         (struct test_c_c_data): Likewise.
14322         (struct test_cc_c_data): Likewise.
14323         (struct test_f_i_data): Likewise.
14324         (struct test_ff_i_data): Likewise.
14325         (struct test_f_l_data): Likewise.
14326         (struct test_f_L_data): Likewise.
14327         (struct test_fFF_11_data): Likewise.
14328         (RM_): New macro.
14329         (RM_FE_DOWNWARD): Likewise.
14330         (RM_FE_TONEAREST): Likewise.
14331         (RM_FE_TOWARDZERO): Likewise.
14332         (RM_FE_UPWARD): Likewise.
14333         (RUN_TEST_LOOP_f_f): Update references to expected results.
14334         (RUN_TEST_LOOP_2_f): Likewise.
14335         (RUN_TEST_LOOP_fff_f): Likewise.
14336         (RUN_TEST_LOOP_c_f): Likewise.
14337         (RUN_TEST_LOOP_f_f1): Likewise.
14338         (RUN_TEST_LOOP_fF_f1): Likewise.
14339         (RUN_TEST_LOOP_fI_f1): Likewise.
14340         (RUN_TEST_LOOP_ffI_f1): Likewise.
14341         (RUN_TEST_LOOP_c_c): Likewise.
14342         (RUN_TEST_LOOP_cc_c): Likewise.
14343         (RUN_TEST_LOOP_f_i): Likewise.
14344         (RUN_TEST_LOOP_f_i_tg): Likewise.
14345         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14346         (RUN_TEST_LOOP_f_b): Likewise.
14347         (RUN_TEST_LOOP_f_b_tg): Likewise.
14348         (RUN_TEST_LOOP_f_l): Likewise.
14349         (RUN_TEST_LOOP_f_L): Likewise.
14350         (RUN_TEST_LOOP_fFF_11): Likewise.
14351         * math/gen-libm-test.pl (parse_args): Output four copies of
14352         expected results for each test.
14354         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14355         (__ASSUME_UTIMES): Remove.
14356         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14357         (__ASSUME_UTIMES): Likewise.
14359         * math/gen-auto-libm-tests.c: Update comment on output format.
14360         (output_for_one_input_case): Generate before-rounding and
14361         after-rounding information as conditions on output flags not
14362         floating-point format.
14363         * math/auto-libm-test-out: Regenerated.
14364         * math/gen-libm-test.pl (cond_value): New function.
14365         (or_cond_value): Use cond_value.
14366         (generate_testfile): Handle conditional exceptions.
14368 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14370         * math/libm-test.inc (max_valid_error): New variable.
14371         (init_max_error): Take new argument specifying whether function
14372         results are exactly determined.  Set max_valid_error and bound
14373         other variables for errors based on this argument.
14374         (set_max_error): Do not record results above max_valid_error.
14375         (check_float_internal): Only accept errors of up to 0.5ulps if
14376         also at most max_valid_error.
14377         (START): Take new argument EXACT and pass it to init_max_error.
14378         (acos_test): Update call to START.
14379         (acos_test_tonearest): Likewise.
14380         (acos_test_towardzero): Likewise.
14381         (acos_test_downward): Likewise.
14382         (acos_test_upward): Likewise.
14383         (acosh_test): Likewise.
14384         (asin_test): Likewise.
14385         (asin_test_tonearest): Likewise.
14386         (asin_test_towardzero): Likewise.
14387         (asin_test_downward): Likewise.
14388         (asin_test_upward): Likewise.
14389         (asinh_test): Likewise.
14390         (atan_test): Likewise.
14391         (atanh_test): Likewise.
14392         (atan2_test): Likewise.
14393         (cabs_test): Likewise.
14394         (cacos_test): Likewise.
14395         (cacosh_test): Likewise.
14396         (carg_test): Likewise.
14397         (casin_test): Likewise.
14398         (casinh_test): Likewise.
14399         (catan_test): Likewise.
14400         (catanh_test): Likewise.
14401         (cbrt_test): Likewise.
14402         (ccos_test): Likewise.
14403         (ccosh_test): Likewise.
14404         (ceil_test): Likewise.
14405         (cexp_test): Likewise.
14406         (cimag_test): Likewise.
14407         (clog_test): Likewise.
14408         (clog10_test): Likewise.
14409         (conj_test): Likewise.
14410         (copysign_test): Likewise.
14411         (cos_test): Likewise.
14412         (cos_test_tonearest): Likewise.
14413         (cos_test_towardzero): Likewise.
14414         (cos_test_downward): Likewise.
14415         (cos_test_upward): Likewise.
14416         (cosh_test): Likewise.
14417         (cosh_test_tonearest): Likewise.
14418         (cosh_test_towardzero): Likewise.
14419         (cosh_test_downward): Likewise.
14420         (cosh_test_upward): Likewise.
14421         (cpow_test): Likewise.
14422         (cproj_test): Likewise.
14423         (creal_test): Likewise.
14424         (csin_test): Likewise.
14425         (csinh_test): Likewise.
14426         (csqrt_test): Likewise.
14427         (ctan_test): Likewise.
14428         (ctan_test_tonearest): Likewise.
14429         (ctan_test_towardzero): Likewise.
14430         (ctan_test_downward): Likewise.
14431         (ctan_test_upward): Likewise.
14432         (ctanh_test): Likewise.
14433         (ctanh_test_tonearest): Likewise.
14434         (ctanh_test_towardzero): Likewise.
14435         (ctanh_test_downward): Likewise.
14436         (ctanh_test_upward): Likewise.
14437         (erf_test): Likewise.
14438         (erfc_test): Likewise.
14439         (exp_test): Likewise.
14440         (exp_test_tonearest): Likewise.
14441         (exp_test_towardzero): Likewise.
14442         (exp_test_downward): Likewise.
14443         (exp_test_upward): Likewise.
14444         (exp10_test): Likewise.
14445         (exp10_test_tonearest): Likewise.
14446         (exp10_test_towardzero): Likewise.
14447         (exp10_test_downward): Likewise.
14448         (exp10_test_upward): Likewise.
14449         (pow10_test): Likewise.
14450         (exp2_test): Likewise.
14451         (expm1_test): Likewise.
14452         (expm1_test_tonearest): Likewise.
14453         (expm1_test_towardzero): Likewise.
14454         (expm1_test_downward): Likewise.
14455         (expm1_test_upward): Likewise.
14456         (fabs_test): Likewise.
14457         (fdim_test): Likewise.
14458         (floor_test): Likewise.
14459         (fma_test): Likewise.
14460         (fma_test_towardzero): Likewise.
14461         (fma_test_downward): Likewise.
14462         (fma_test_upward): Likewise.
14463         (fmax_test): Likewise.
14464         (fmin_test): Likewise.
14465         (fmod_test): Likewise.
14466         (fpclassify_test): Likewise.
14467         (frexp_test): Likewise.
14468         (hypot_test): Likewise.
14469         (ilogb_test): Likewise.
14470         (isfinite_test): Likewise.
14471         (finite_test): Likewise.
14472         (isgreater_test): Likewise.
14473         (isgreaterequal_test): Likewise.
14474         (isinf_test): Likewise.
14475         (isless_test): Likewise.
14476         (islessequal_test): Likewise.
14477         (islessgreater_test): Likewise.
14478         (isnan_test): Likewise.
14479         (isnormal_test): Likewise.
14480         (issignaling_test): Likewise.
14481         (isunordered_test): Likewise.
14482         (j0_test): Likewise.
14483         (j1_test): Likewise.
14484         (jn_test): Likewise.
14485         (ldexp_test): Likewise.
14486         (lgamma_test): Likewise.
14487         (gamma_test): Likewise.
14488         (lrint_test): Likewise.
14489         (lrint_test_tonearest): Likewise.
14490         (lrint_test_towardzero): Likewise.
14491         (lrint_test_downward): Likewise.
14492         (lrint_test_upward): Likewise.
14493         (llrint_test): Likewise.
14494         (llrint_test_tonearest): Likewise.
14495         (llrint_test_towardzero): Likewise.
14496         (llrint_test_downward): Likewise.
14497         (llrint_test_upward): Likewise.
14498         (log_test): Likewise.
14499         (log10_test): Likewise.
14500         (log1p_test): Likewise.
14501         (log2_test): Likewise.
14502         (logb_test): Likewise.
14503         (logb_test_downward): Likewise.
14504         (lround_test): Likewise.
14505         (llround_test): Likewise.
14506         (modf_test): Likewise.
14507         (nearbyint_test): Likewise.
14508         (nextafter_test): Likewise.
14509         (nexttoward_test): Likewise.
14510         (pow_test): Likewise.
14511         (pow_test_tonearest): Likewise.
14512         (pow_test_towardzero): Likewise.
14513         (pow_test_downward): Likewise.
14514         (pow_test_upward): Likewise.
14515         (remainder_test): Likewise.
14516         (drem_test): Likewise.
14517         (remainder_test_tonearest): Likewise.
14518         (drem_test_tonearest): Likewise.
14519         (remainder_test_towardzero): Likewise.
14520         (drem_test_towardzero): Likewise.
14521         (remainder_test_downward): Likewise.
14522         (drem_test_downward): Likewise.
14523         (remainder_test_upward): Likewise.
14524         (drem_test_upward): Likewise.
14525         (remquo_test): Likewise.
14526         (rint_test): Likewise.
14527         (rint_test_tonearest): Likewise.
14528         (rint_test_towardzero): Likewise.
14529         (rint_test_downward): Likewise.
14530         (rint_test_upward): Likewise.
14531         (round_test): Likewise.
14532         (scalb_test): Likewise.
14533         (scalbn_test): Likewise.
14534         (scalbln_test): Likewise.
14535         (signbit_test): Likewise.
14536         (sin_test): Likewise.
14537         (sin_test_tonearest): Likewise.
14538         (sin_test_towardzero): Likewise.
14539         (sin_test_downward): Likewise.
14540         (sin_test_upward): Likewise.
14541         (sincos_test): Likewise.
14542         (sinh_test): Likewise.
14543         (sinh_test_tonearest): Likewise.
14544         (sinh_test_towardzero): Likewise.
14545         (sinh_test_downward): Likewise.
14546         (sinh_test_upward): Likewise.
14547         (sqrt_test): Likewise.
14548         (sqrt_test_tonearest): Likewise.
14549         (sqrt_test_towardzero): Likewise.
14550         (sqrt_test_downward): Likewise.
14551         (sqrt_test_upward): Likewise.
14552         (tan_test): Likewise.
14553         (tan_test_tonearest): Likewise.
14554         (tan_test_towardzero): Likewise.
14555         (tan_test_downward): Likewise.
14556         (tan_test_upward): Likewise.
14557         (tanh_test): Likewise.
14558         (tgamma_test): Likewise.
14559         (trunc_test): Likewise.
14560         (y0_test): Likewise.
14561         (y1_test): Likewise.
14562         (yn_test): Likewise.
14563         (significand_test): Likewise.
14565         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14566         individual tests in comment.
14567         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14568         (prev_max_error): New variable.
14569         (prev_real_max_error): Likewise.
14570         (prev_imag_max_error): Likewise.
14571         (compare_ulp_data): Don't refer to test names in comment.
14572         (find_test_ulps): Remove function.
14573         (find_function_ulps): Likewise.
14574         (find_complex_function_ulps): Likewise.
14575         (init_max_error): Take function name as argument.  Look up ulps
14576         for that function.
14577         (print_ulps): Remove function.
14578         (print_max_error): Use prev_max_error instead of calling
14579         find_function_ulps.
14580         (print_complex_max_error): Use prev_real_max_error and
14581         prev_imag_max_error instead of calling find_complex_function_ulps.
14582         (check_float_internal): Take max_ulp parameter instead of calling
14583         find_test_ulps.  Don't call print_ulps.
14584         (check_float): Update call to check_float_internal.
14585         (check_complex): Update calls to check_float_internal.
14586         (START): Pass argument to init_max_error.
14587         * math/gen-libm-test.pl (%results): Don't include "kind"
14588         information.
14589         (parse_ulps): Don't handle ulps of individual tests.
14590         (print_ulps_file): Likewise.
14591         (output_ulps): Likewise.
14592         * math/README.libm-test: Update.
14593         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14594         individual tests.
14595         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14596         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14597         * sysdeps/arm/libm-test-ulps: Likewise.
14598         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14599         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14600         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14601         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14602         * sysdeps/microblaze/libm-test-ulps: Likewise.
14603         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14604         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14605         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14606         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14607         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14608         * sysdeps/sh/libm-test-ulps: Likewise.
14609         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14610         * sysdeps/tile/libm-test-ulps: Likewise.
14611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14613 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14615         * math/libm-test.inc (print_complex_max_error): Check separately
14616         whether real and imaginary errors are within allowed range and
14617         pass 0 to print_complex_function_ulps instead of value within
14618         allowed range.
14620 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14622         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14623         formatting.
14624         (get_handles_fopen): Likewise.
14625         (do_write_test): Likewise.
14627         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14629         * libio/fileops.c (do_ftell): Use cached offset when
14630         available.
14631         * libio/iofwide.c (do_ftell_wide): Likewise.
14632         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14633         _IO_file_attach.
14634         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14636         [BZ #16532]
14637         * libio/libioP.h (get_file_offset): New function.
14638         * libio/fileops.c (get_file_offset): Likewise.
14639         (do_ftell): Likewise.
14640         (_IO_new_file_seekoff): Split out ftell logic.
14641         * libio/wfileops.c (do_ftell_wide): Likewise.
14642         (_IO_wfile_seekoff): Split out ftell logic.
14643         * libio/tst-ftell-active-handler.c: New test case.
14644         * libio/Makefile (tests): Add it.
14646 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14648         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14649         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14651 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14653         [BZ #16639]
14654         * nscd/connections.c (nscd_init): Call do_exit.
14655         (start_threads): Call do_exit and notify_parent.
14656         (begin_drop_privileges): Call do_exit.
14657         (finish_drop_privileges): Likewise.
14658         * nscd/selinux.c (preserve_capabilities): Likewise.
14659         (install_real_capabilities): Likewise.
14660         (nscd_selinux_enabled): Likewise.
14661         (avc_create_thread): Likewise.
14662         (avc_alloc_lock): Likewise.
14663         (nscd_avc_init): Likewise.
14664         * nscd/nscd.c (parent_fd): New static variable.
14665         (main): Create a pipe between parent and child processes.
14666         Skip closing parent_fd.
14667         (monitor_child): New function.
14668         (do_exit): Likewise.
14669         (notify_parent): Likewise.
14670         * nscd/nscd.h (notify_parent): Likewise.
14671         (do_exit): Likewise.
14673 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14675         * malloc/malloc.c (__libc_calloc): Revert last change.
14677 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14681 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14683         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14684         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14685         implementation.
14686         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14687         (__libc_ifunc_impl_list): Likewise.
14688         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14689         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14690         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14691         * string/strrchr.c: Define STRRCHR.
14693 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14695         * benchtest/bench-strtok.c (simple_strtok): Delete.
14696         (strtok_string): Use as benchmark.
14697         * string/strtok (STRTOK): New macro.
14699 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14701         * manual/threads.texi: Add header and standard comments to all
14702         functions.
14704         * elf/dl-lookup.c (check_match): New function.
14705         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14706         (do_lookup_x): Remove nested function check_match. Use non-nested
14707         function check_match.
14709 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14711         * csu/Makefile (generated, before-compile): Use += rather than =.
14712         * catgets/Makefile (generated, generated-dirs): Likewise.
14713         * debug/Makefile (generated): Likewise.
14714         * dlfcn/Makefile (generated): Likewise.
14715         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14716         * iconvdata/Makefile (before-compile, generated): Likewise.
14717         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14718         * libio/Makefile (generated): Likewise.
14719         * malloc/Makefile (generated): Likewise.
14720         * manual/Makefile (generated, generated-dirs): Likewise.
14721         * misc/Makefile (generated): Likewise.
14722         * posix/Makefile (generated): Likewise.
14723         * resolv/Makefile (generated): Likewise.
14724         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14725         * timezone/Makefile (generated, generated-dirs): Likewise.
14727         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14729 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14731         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14732         power8 implementation.
14733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14734         file: POWER8 llround ifunc implementation.
14735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14736         (__lllround): Add POWER8 implementation.
14737         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14738         POWER8 llround implementation.
14740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14741         power8 implementation.
14742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14743         file: POWER8 llrint ifunc implementation.
14744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14745         Add POWER8 implementation.
14746         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14747         POWER8 llrint implementation.
14749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14750         power8 implementation.
14751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14752         file: POWER8 finite ifunc implementation.
14753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14754         Add POWER8 implementation.
14755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14756         Likewise.
14757         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14758         POWER8 finite implementation.
14759         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14761         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14762         power8 implementation.
14763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14764         file: POWER8 isinf ifunc implementation.
14765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14766         POWER8 implementation.
14767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14768         Likewise.
14769         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14770         isinf implementation.
14771         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14773         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14774         (INIT_ARCH): Add hwcap2 initialization.
14775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14776         power8 implementation.
14777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14778         file: POWER8 isnan ifunc implementation.
14779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14780         POWER8 implementation.
14781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14782         Likewise.
14783         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14784         isnan implementation.
14785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14787 2014-02-27  Joey Ye  <joey.ye@arm.com>
14789         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14790         (_FP_NANFRAC_Q): Set to zero.
14792 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14794         [BZ #16623]
14795         * math/auto-libm-test-in: New test inputs.
14796         * math/auto-libm-test-out: Regenerate.
14797         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14798         and DA.
14799         (__cos): Likewise.
14800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14802 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14804         * scripts/evaluate-test.sh: Take new argument indicating whether
14805         failure is expected.
14806         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14807         indicating whether failure is expected.
14808         * conform/Makefile (test-xfail-run-conformtest): New variable.
14809         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14810         level.
14811         * posix/Makefile (test-xfail-annexc): New variable.
14812         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14814 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14816         * argp/Makefile: Include Makeconfig immediately after defining
14817         subdir.
14818         * assert/Makefile: Likewise.
14819         * benchtests/Makefile: Likewise.
14820         * catgets/Makefile: Likewise.
14821         * conform/Makefile: Likewise.
14822         * crypt/Makefile: Likewise.
14823         * csu/Makefile: Likewise.
14824         (all): Remove target.
14825         * ctype/Makefile: Include Makeconfig immediately after defining
14826         subdir.
14827         * debug/Makefile: Likewise.
14828         * dirent/Makefile: Likewise.
14829         * dlfcn/Makefile: Likewise.
14830         * gmon/Makefile: Likewise.
14831         * gnulib/Makefile: Likewise.
14832         * grp/Makefile: Likewise.
14833         * gshadow/Makefile: Likewise.
14834         * hesiod/Makefile: Likewise.
14835         * hurd/Makefile: Likewise.
14836         (all): Remove target.
14837         * iconvdata/Makefile: Include Makeconfig immediately after
14838         defining subdir.
14839         * inet/Makefile: Likewise.
14840         * intl/Makefile: Likewise.
14841         * io/Makefile: Likewise.
14842         * libio/Makefile: Likewise.
14843         (all): Remove target.
14844         * locale/Makefile: Include Makeconfig immediately after defining
14845         subdir.
14846         * login/Makefile: Likewise.
14847         * mach/Makefile: Likewise.
14848         (all): Remove target.
14849         * malloc/Makefile: Include Makeconfig immediately after defining
14850         subdir.
14851         (all): Remove target.
14852         * manual/Makefile: Include Makeconfig immediately after defining
14853         subdir.
14854         * math/Makefile: Likewise.
14855         * misc/Makefile: Likewise.
14856         * nis/Makefile: Likewise.
14857         * nss/Makefile: Likewise.
14858         * po/Makefile: Likewise.
14859         (all): Remove target.
14860         * posix/Makefile: Include Makeconfig immediately after defining
14861         subdir.
14862         * pwd/Makefile: Likewise.
14863         * resolv/Makefile: Likewise.
14864         * resource/Makefile: Likewise.
14865         * rt/Makefile: Likewise.
14866         * setjmp/Makefile: Likewise.
14867         * shadow/Makefile: Likewise.
14868         * signal/Makefile: Likewise.
14869         * socket/Makefile: Likewise.
14870         * soft-fp/Makefile: Likewise.
14871         * stdio-common/Makefile: Likewise.
14872         * stdlib/Makefile: Likewise.
14873         * streams/Makefile: Likewise.
14874         * string/Makefile: Likewise.
14875         * sunrpc/Makefile: Likewise.
14876         (all): Remove target.
14877         * sysvipc/Makefile: Include Makeconfig immediately after defining
14878         subdir.
14879         * termios/Makefile: Likewise.
14880         * time/Makefile: Likewise.
14881         * timezone/Makefile: Likewise.
14882         (all): Remove target.
14883         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14884         subdir.
14885         * wctype/Makefile: Likewise.
14887 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14889         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14890         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14891         (libc_feholdexcept_setround_mips): Ditto.
14892         (libc_feholdsetround): New.
14893         (libc_feholdsetroundf): New.
14894         (libc_feholdsetroundl): New.
14895         (libc_feupdateenv_test_mips): New.
14896         (libc_feupdateenv_test): New.
14897         (libc_feupdateenv_testf): New.
14898         (libc_feupdateenv_testl): New.
14899         (libc_feresetround): New.
14900         (libc_feresetroundf): New.
14901         (libc_feresetroundl): New.
14902         (libc_fetestexcept_mips): New.
14903         (libc_fetestexcept): New.
14904         (libc_fetestexceptf): New.
14905         (libc_fetestexceptl): New.
14906         (HAVE_RM_CTX): New.
14907         (libc_feholdexcept_setround_mips_ctx): New.
14908         (libc_feholdexcept_setround_ctx): New.
14909         (libc_feholdexcept_setroundf_ctx): New.
14910         (libc_feholdexcept_setroundl_ctx): New.
14911         (libc_fesetenv_mips_ctx): New.
14912         (libc_fesetenv_ctx): New.
14913         (libc_fesetenv_ctxf): New.
14914         (libc_fesetenv_ctxl): New.
14915         (libc_feupdateenv_mips_ctx): New.
14916         (libc_feupdateenv_ctx): New.
14917         (libc_feupdateenvf_ctx): New.
14918         (libc_feupdateenvl_ctx): New.
14919         (libc_feholdsetround_mips_ctx): New.
14920         (libc_feholdsetround_ctx): New.
14921         (libc_feholdsetroundf_ctx): New.
14922         (libc_feholdsetroundl_ctx): New.
14923         (libc_feresetround_mips_ctx): New.
14924         (libc_feresetround_ctx): New.
14925         (libc_feresetroundf_ctx): New.
14926         (libc_feresetroundl_ctx): New.
14928 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14930         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14932         * manual/ipc.texi: New file.
14933         * manual/Makefile (chapters): Add ipc.
14934         * manual/job.texi: Add "Inter-Process Communication" to next.
14935         * manual/process.texi: Add "Inter-Process Communication" to prev.
14937 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14941 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14943         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14945         * manual/arith.texi: Fix spaces after sentences.
14946         * manual/charset.texi: Likewise.
14947         * manual/errno.texi: Likewise.
14948         * manual/install.texi: Likewise.
14949         * manual/llio.texi: Likewise.
14950         * manual/locale.texi: Likewise.
14951         * manual/maint.texi: Likewise.
14952         * manual/math.texi: Likewise.
14953         * manual/memory.texi: Likewise.
14954         * manual/message.texi: Likewise.
14955         * manual/probes.texi: Likewise.
14956         * manual/resource.texi: Likewise.
14957         * manual/signal.texi: Likewise.
14958         * manual/socket.texi: Likewise.
14959         * manual/stdio.texi: Likewise.
14960         * manual/string.texi: Likewise.
14961         * manual/time.texi: Likewise.
14962         * manual/users.texi: Likewise.
14964 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14966         [BZ #16632]
14967         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14968         _DEFAULT_SOURCE is defined.
14970 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14971             Carlos O'Donell  <carlos@redhat.com>
14973         [BZ #16613]
14974         * elf/dl-tls.c (_dl_count_modids): New function.
14975         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14976         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14977         audit library and increment generation counter.
14978         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14979         * elf/tst-audit9.c: New file.
14980         * elf/tst-auditmod9a.c: New file.
14981         * elf/tst-auditmod9b.c: New file.
14982         * elf/Makefile: Add rules to build and run tst-audit9.
14984 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14986         [BZ #15347]
14987         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14989 2014-02-25  Will Newton  <will.newton@linaro.org>
14991         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14992         (__longjmp): Restore sp and lr before restoring callee
14993         saved registers.  Add longjmp and longjmp_target
14994         SystemTap probe point.
14995         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14996         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14997         Define to zero to match jmpbuf layout.
14998         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14999         (__sigsetjmp): Save sp and lr before saving callee
15000         saved registers.  Add setjmp SystemTap probe point.
15002 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15004         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15006 2014-02-24  Andreas Schwab  <schwab@suse.de>
15008         [BZ #15804]
15009         * elf/pldd.c (wait_for_ptrace_stop): New function.
15010         (main): Call it after attaching.
15012 2014-02-22  Roland McGrath  <roland@hack.frob.com>
15014         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15015         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15016         Versions files is now verboten.
15017         * hurd/Versions (libc: GLIBC_2.0):
15018         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15019         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15020         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15021         * mach/Versions: Likewise.
15023         * csu/Versions: Remove unused %include.
15024         * resolv/Versions: Likewise.
15026 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
15028         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15029         ($(objpfx)check-local-headers.out): Likewise.
15030         ($(objpfx)begin-end-check.out): Likewise.
15031         * Makerules (check-abi-%.out): Likewise.
15032         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15033         ($(objpfx)test2.cat): Likewise.
15034         ($(objpfx)de/libc.cat): Likewise.
15035         ($(objpfx)test-gencat.out): Likewise.
15036         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15037         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15038         ($(objpfx)noload-mem): Likewise.
15039         ($(objpfx)tst-pathopt.out): Likewise.
15040         ($(objpfx)tst-rtld-load-self.out): Likewise.
15041         ($(objpfx)tst-array1-cmp.out): Likewise.
15042         ($(objpfx)tst-array1-static-cmp.out): Likewise.
15043         ($(objpfx)tst-array2-cmp.out): Likewise.
15044         ($(objpfx)tst-array3-cmp.out): Likewise.
15045         ($(objpfx)tst-array4-cmp.out): Likewise.
15046         ($(objpfx)tst-array5-cmp.out): Likewise.
15047         ($(objpfx)tst-array5-static-cmp.out): Likewise.
15048         ($(objpfx)check-textrel.out): Likewise.
15049         ($(objpfx)check-execstack.out): Likewise.
15050         ($(objpfx)check-localplt.out): Likewise.
15051         ($(objpfx)order2-cmp.out): Likewise.
15052         ($(objpfx)tst-leaks1-mem): Likewise.
15053         ($(objpfx)tst-leaks1-static-mem): Likewise.
15054         ($(objpfx)tst-initorder-cmp.out): Likewise.
15055         ($(objpfx)tst-initorder2-cmp.out): Likewise.
15056         ($(objpfx)tst-unused-dep.out): Likewise.
15057         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15058         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15059         * iconv/Makefile (test-iconvconfig): Likewise.
15060         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15061         ($(objpfx)iconv-test.out): Likewise.
15062         ($(objpfx)tst-tables.out): Likewise.
15063         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15064         ($(objpfx)tst-gettext.out): Likewise.
15065         ($(objpfx)tst-translit.out): Likewise.
15066         ($(objpfx)tst-gettext2.out): Likewise.
15067         ($(objpfx)tst-gettext4.out): Likewise.
15068         ($(objpfx)tst-gettext6.out): Likewise.
15069         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15070         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15071         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15072         ($(objpfx)tst-fopenloc-mem.out): Likewise.
15073         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15074         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15075         * posix/Makefile ($(objpfx)globtest.out): Likewise.
15076         ($(objpfx)wordexp-tst.out): Likewise.
15077         ($(objpfx)annexc.out): Likewise.
15078         ($(objpfx)tst-fnmatch-mem): Likewise.
15079         ($(objpfx)bug-regex2-mem): Likewise.
15080         ($(objpfx)bug-regex14-mem): Likewise.
15081         ($(objpfx)bug-regex21-mem): Likewise.
15082         ($(objpfx)bug-regex31-mem): Likewise.
15083         ($(objpfx)tst-vfork3-mem): Likewise.
15084         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15085         ($(objpfx)tst-pcre-mem): Likewise.
15086         ($(objpfx)tst-boost-mem): Likewise.
15087         ($(objpfx)tst-getconf.out): Likewise.
15088         ($(objpfx)bug-ga2-mem): Likewise.
15089         ($(objpfx)bug-glob2-mem): Likewise.
15090         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15091         ($(objpfx)mtrace-tst-leaks2): Likewise.
15092         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15093         ($(objpfx)tst-printf.out): Likewise.
15094         ($(objpfx)tst-setvbuf1.out): Likewise.
15095         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15096         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15097         ($(objpfx)tst-fmtmsg.out): Likewise.
15098         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15099         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15101         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15102         * bits/sigaction.h [__USE_MISC]: Likewise.
15103         * bits/waitstatus.h: Update #endif comments.
15104         * ctype/ctype.h: Likewise.
15105         * dirent/dirent.h: Likewise.
15106         [__USE_MISC]: Remove redundant conditionals.
15107         * grp/grp.h: Update #endif comments.
15108         [__USE_GNU]: Remove redundant conditionals.
15109         [__USE_MISC]: Likewise.
15110         * inet/netinet/in.h [__USE_GNU]: Likewise.
15111         * io/sys/stat.h [__USE_MISC]: Likewise.
15112         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15113         * libio/bits/stdio.h: Update #endif comments.
15114         [__USE_MISC]: Remove redundant conditionals.
15115         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15116         * libio/stdio.h: Update #endif comments.
15117         [__USE_MISC]: Remove redundant conditionals.
15118         * math/bits/math-finite.h [__USE_MISC]: Likewise.
15119         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15120         * math/math.h: Update #else and #endif comments.
15121         [__USE_MISC]: Remove redundant conditionals.
15122         * misc/sys/uio.h: Update #endif comments.
15123         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15124         * posix/glob.h [__USE_MISC]: Likewise.
15125         * posix/sys/types.h: Update #endif comments.
15126         [__USE_MISC]: Remove redundant conditionals.
15127         * posix/sys/wait.h: Update #endif comments.
15128         [__USE_MISC]: Remove redundant conditionals.
15129         * posix/unistd.h: Update #endif comments.
15130         [__USE_MISC]: Remove redundant conditionals.
15131         * pwd/pwd.h [__USE_GNU]: Likewise.
15132         [__USE_MISC]: Likewise.
15133         * resolv/netdb.h [__USE_GNU]: Likewise.
15134         * signal/signal.h: Update #endif comments.
15135         [__USE_MISC]: Remove redundant conditionals.
15136         * stdlib/stdlib.h: Update #else and #endif comments.
15137         [__USE_MISC]: Remove redundant conditionals.
15138         [__USE_GNU]: Likewise.
15139         * string/bits/string2.h [__USE_MISC]: Likewise.
15140         * string/string.h: Update #endif comments.
15141         [__USE_MISC]: Remove redundant conditionals.
15142         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15143         Likewise.
15144         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15145         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15146         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15147         Likewise.
15148         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15149         Likewise.
15150         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15151         comments.
15152         [__USE_MISC]: Remove redundant conditionals.
15153         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15154         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15155         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15156         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15157         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15158         Likewise.
15159         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15160         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15161         Likewise.
15162         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15163         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15164         Likewise.
15165         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15166         Likewise.
15167         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15168         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15169         Likewise.
15170         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15171         Likewise.
15172         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15173         * sysdeps/x86/bits/string.h: Update #endif comments.
15174         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15175         conditionals.
15176         * time/sys/time.h: Update #endif comments.
15177         * time/time.h: Likewise.
15178         [__USE_MISC]: Remove redundant conditionals.
15180 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
15182         [BZ #16600]
15183         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15185 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
15187         * Versions.def (librt): Add GLIBC_2.17.
15189 2014-02-21  Adam Conrad  <adconrad@0c3.net>
15191         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15192         synonym for _SYS_AUXV_H to allow direct inclusion.
15193         * sysdeps/sparc/bits/hwcap.h: Likewise.
15194         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15195         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15196         * sysdeps/sparc/sysdep.h: Likewise.
15198 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15200         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15202 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15204         * benchtests/bench-strrchr.c: Print length instead of position.
15206 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
15208         [BZ #16611]
15209         * sysdeps/unix/sysv/linux/kernel-features.h
15210         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15211         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15212         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15213         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15214         Likewise.
15215         [__i386__ || __powerpc__ || __sh__ || __sparc__]
15216         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15217         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15218         (__ASSUME_SENDMMSG): Define instead of using previous
15219         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15220         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15221         (__ASSUME_SENDMMSG_SYSCALL): Define.
15222         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15223         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15224         Likewise.
15225         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15226         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15227         Likewise.
15228         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15229         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15230         Likewise.
15231         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15232         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15233         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15234         [__ASSUME_SENDMMSG]: Change conditionals to
15235         [__ASSUME_SENDMMSG_SOCKETCALL].
15236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15237         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15238         Define.
15239         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15240         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15241         Likewise.
15242         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15243         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15244         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15245         [!__ASSUME_SENDMMSG]: Change conditional to
15246         [!__ASSUME_SENDMMSG_SOCKETCALL].
15247         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15248         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15249         Define.
15251         [BZ #16610]
15252         * sysdeps/unix/sysv/linux/kernel-features.h
15253         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15254         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15255         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15256         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15257         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15258         [__i386__ || __sparc__]
15259         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15260         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15261         (__ASSUME_RECVMMSG): Define instead of using previous
15262         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15263         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15264         (__ASSUME_RECVMMSG_SYSCALL): Define.
15265         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15266         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15267         Likewise.
15268         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15269         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15270         Likewise.
15271         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15272         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15273         Likewise.
15274         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15275         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15276         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15277         [__ASSUME_RECVMMSG]: Change condition to
15278         [__ASSUME_RECVMMSG_SOCKETCALL].
15279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15280         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15281         Define.
15282         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15283         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15284         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15285         Likewise.
15286         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15287         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15288         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15289         [!__ASSUME_RECVMMSG]: Change condition to
15290         [!__ASSUME_RECVMMSG_SOCKETCALL].
15291         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15292         (__ASSUME_RECVMMSG_SYSCALL): Define.
15294         [BZ #16609]
15295         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15296         __powerpc__ || __s390__ || __sh__ || __sparc__]
15297         (__ASSUME_SOCKETCALL): Define.
15298         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15299         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15300         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15301         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15302         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15303         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15304         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15305         (__ASSUME_ACCEPT4): Define instead of using previous
15306         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15307         __powerpc__ || __sparc__ || __s390__)] condition.
15308         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15309         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15310         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15311         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15312         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15313         [!__ASSUME_ACCEPT4]: Change condition to
15314         [!__ASSUME_ACCEPT4_SOCKETCALL].
15315         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15316         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15317         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15318         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15319         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15320         __ASSUME_ACCEPT4_SYSCALL.
15321         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15322         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15323         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15324         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15325         __ASSUME_ACCEPT4_SYSCALL.
15326         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15327         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15328         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15329         [__ASSUME_ACCEPT4]: Change condition to
15330         [__ASSUME_ACCEPT4_SOCKETCALL].
15331         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15332         (__ASSUME_SOCKETCALL): Define.
15333         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15335         (__ASSUME_SOCKETCALL): Define.
15336         (__ASSUME_ACCEPT4): Remove.
15337         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15338         Define.
15339         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15340         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15341         Likewise.
15342         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15343         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15345         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15346         macro.
15347         (HWCAP_ARM_LPAE): Likewise.
15348         (HWCAP_ARM_EVTSTRM): Likewise.
15349         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15350         Add vpfd32, lpae and evtstrm.
15351         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15352         Increase to 22.
15354 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15356         * math/auto-libm-test-in: Add tests of clog10.
15357         * math/auto-libm-test-out: Regenerated.
15358         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15359         * sysdeps/i386/fpu/libm-test-ulps: Update.
15360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15362 2014-02-18  Andreas Schwab  <schwab@suse.de>
15364         [BZ #16574]
15365         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15366         Store non-zero if the second buffer was newly allocated.
15367         (send_dg): Likewise.
15368         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15369         to send_vc and send_dg.
15370         (res_nsend): Pass NULL for ansp2_malloced.
15371         * resolv/res_query.c (__libc_res_nquery): Add parameter
15372         answerp2_malloced and pass it down to __libc_res_nsend.
15373         (res_nquery): Pass additional NULL to __libc_res_nquery.
15374         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15375         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15376         second answer buffer if answerp2_malloced was set.
15377         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15378         (__libc_res_nquerydomain): Add parameter
15379         answerp2_malloced and pass it down to __libc_res_nquery.
15380         (res_nquerydomain): Pass additional NULL to
15381         __libc_res_nquerydomain.
15382         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15383         additional NULL to __libc_res_nsend and __libc_res_nquery.
15384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15385         additional NULL to __libc_res_nsearch.
15386         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15387         parameter of __libc_res_nsearch to check for separately allocated
15388         second buffer.
15389         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15390         __libc_res_nquery.
15391         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15392         additional NULL to __libc_res_nquery.
15393         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15394         __libc_res_nsearch.
15395         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15396         * include/resolv.h: Update prototypes of __libc_res_nquery,
15397         __libc_res_nsearch, __libc_res_nsend.
15399 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15401         * math/auto-libm-test-in: Add tests of fma.
15402         * math/auto-libm-test-out: Regenerated.
15403         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15404         (fma_towardzero_test_data): Likewise.
15405         (fma_downward_test_data): Likewise.
15406         (fma_upward_test_data): Likewise.
15407         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15408         mpc_mode.
15409         (rounding_modes): Add values for new field.
15410         (func_calc_method): Add value mpfr_fff_f.
15411         (func_calc_desc): Add mpfr_fff_f union field.
15412         (test_function): Add field exact_args.
15413         (FUNC): Add macro argument EXACT_ARGS.
15414         (FUNC_mpfr_f_f): Update call to FUNC.
15415         (FUNC_mpfr_f_f): Likewise.
15416         (FUNC_mpfr_ff_f): Likewise.
15417         (FUNC_mpfr_if_f): Likewise.
15418         (FUNC_mpc_c_f): Likewise.
15419         (FUNC_mpc_c_c): Likewise.
15420         (test_functions): Add fma.  Update calls to FUNC.
15421         (handle_input_arg): Add argument exact_args.
15422         (add_test): Update call to handle_input_arg.
15423         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15424         (output_for_one_input_case): Update call to calc_generic_results.
15425         Recalculate exact zero results in each rounding mode.
15427         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15428         non-negative before setting low bit.
15429         * math/auto-libm-test-in: Mark one asin test possibly having
15430         spurious underflow.
15431         * math/auto-libm-test-out: Regenerated.
15432         * sysdeps/i386/fpu/libm-test-ulps: Update.
15433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15435 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15437         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15438         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15439         ports/sysdeps/unix/sysv/linux/microblaze.
15440         * README: Add missing listing for microblaze*-*-linux-gnu.
15442 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15444         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15445         duplicate code
15447 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15449         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15450         * sysdeps/unix/sysv/linux/ia64: Move directory from
15451         ports/sysdeps/unix/sysv/linux/ia64.
15452         * README: Update listing for ia64-*-linux-gnu.
15454 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15455             Joseph Myers  <joseph@codesourcery.com>
15457         * Makeconfig (test-name): New variable.
15458         (evaluate-test): Likewise.
15459         * Makerules (do-test-clean): Remove .test-result files.
15460         (common-mostlyclean): Likewise.
15461         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15462         * scripts/evaluate-test.sh: New file.
15464 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15466         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15467         separate $(objpfx)tst-fopenloc-cmp.out and
15468         $(objpfx)tst-fopenloc-mem.out targets.
15469         (tests): Update dependencies.
15470         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15471         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15472         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15473         (tst-rxspencer-no-utf8-ARGS): New variable.
15474         (tst-rxspencer-no-utf8-ENV): Likewise.
15475         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15476         instead of $(objpfx)tst-rxspencer-mem.
15477         ($(objpfx)tst-rxspencer-mem): Change target to
15478         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15479         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15480         * posix/tst-rxspencer-no-utf8.c: New file.
15482         * elf/Makefile ($(objpfx)order.out): Remove rule.
15483         [$(run-built-tests) = yes] (tests): Depend on
15484         $(objpfx)order-cmp.out.
15485         ($(objpfx)order-cmp.out): New rule.
15486         [$(run-built-tests) = yes] (tests): Depend on
15487         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15488         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15489         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15490         $(objpfx)tst-array5-static-cmp.out.
15491         ($(objpfx)tst-array1.out): Remove rule.
15492         ($(objpfx)tst-array1-cmp.out): New rule.
15493         ($(objpfx)tst-array1-static.out): Remove rule.
15494         ($(objpfx)tst-array1-static-cmp.out): New rule.
15495         ($(objpfx)tst-array2.out): Remove rule.
15496         ($(objpfx)tst-array2-cmp.out): New rule.
15497         ($(objpfx)tst-array3.out): Remove rule.
15498         ($(objpfx)tst-array3-cmp.out): New rule.
15499         ($(objpfx)tst-array4.out): Remove rule.
15500         ($(objpfx)tst-array4-cmp.out): New rule.
15501         ($(objpfx)tst-array5.out): Remove rule.
15502         ($(objpfx)tst-array5-cmp.out): New rule.
15503         ($(objpfx)tst-array5-static.out): Remove rule.
15504         ($(objpfx)tst-array5-static-cmp.out): New rule.
15505         [$(run-built-tests) = yes] (tests): Depend on
15506         $(objpfx)order2-cmp.out.
15507         ($(objpfx)order2.out): Remove rule.
15508         ($(objpfx)order2-cmp.out): New rule.
15509         ($(objpfx)tst-initorder.out): Remove rule.
15510         [$(run-built-tests) = yes] (tests): Depend on
15511         $(objpfx)tst-initorder-cmp.out.
15512         ($(objpfx)tst-initorder-cmp.out): New rule.
15513         ($(objpfx)tst-initorder2.out): Remove rule.
15514         [$(run-built-tests) = yes] (tests): Depend on
15515         $(objpfx)tst-initorder2-cmp.out.
15516         ($(objpfx)tst-initorder2-cmp.out): New rule.
15517         [$(run-built-tests) = yes] (tests): Depend on
15518         $(objpfx)tst-unused-dep-cmp.out.
15519         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15520         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15521         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15522         on $(objpfx)tst-setvbuf1-cmp.out.
15523         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15524         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15525         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15526         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15527         ($(objpfx)tst-svc.out): Remove rule.
15528         ($(objpfx)tst-svc-cmp.out): New rule.
15530 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15532         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15533         * ctype/ctype.h [__USE_MISC]: Likewise.
15534         * dirent/dirent.h [__USE_MISC]: Likewise.
15535         * grp/grp.h [__USE_MISC]: Likewise.
15536         * io/fcntl.h [__USE_MISC]: Likewise.
15537         * io/sys/stat.h [__USE_MISC]: Likewise.
15538         * libio/stdio.h [__USE_MISC]: Likewise.
15539         * posix/unistd.h [__USE_MISC]: Likewise.
15540         * pwd/pwd.h [__USE_MISC]: Likewise.
15541         * stdlib.h [__USE_MISC]: Likewise.
15542         * string/bits/string2.h [__USE_MISC]: Likewise.
15543         * string/string.h [__USE_MISC]: Likewise.
15544         * time/time.h [__USE_MISC]: Likewise.
15546 2014-02-13  Andreas Schwab  <schwab@suse.de>
15548         [BZ #16574]
15549         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15550         second answer buffer if it was separately allocated.
15552 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15554         * sysdeps/mips/math-tests.h: Include <features.h>.
15555         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15556         (ROUNDING_TESTS_long_double): Do not define.
15557         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15558         (EXCEPTION_TESTS_long_double): Likewise.
15559         * sysdeps/mips/mips64/libm-test-ulps: Update.
15561         * include/features.h (__USE_BSD): Remove macro definitions.
15562         (__USE_SVID): Likewise.
15563         (_BSD_SOURCE): Likewise.
15564         (_SVID_SOURCE): Likewise.
15565         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15566         from definition of _DEFAULT_SOURCE.
15567         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15568         [_DEFAULT_SOURCE].
15569         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15570         * bits/mman.h [__USE_BSD]: Likewise.
15571         * bits/termios.h [__USE_BSD]: Likewise.
15572         * bits/waitstatus.h [__USE_BSD]: Likewise.
15573         * ctype/ctype.h [__USE_SVID]: Likewise.
15574         * dirent/dirent.h [__USE_BSD]: Likewise.
15575         * grp/grp.h [__USE_SVID]: Likewise.
15576         [__USE_BSD]: Likewise.
15577         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15578         * io/fcntl.h [__USE_BSD]: Likewise.
15579         * io/ftw.h [__USE_BSD]: Likewise.
15580         * io/sys/stat.h [__USE_BSD]: Likewise.
15581         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15582         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15583         * libio/stdio.h [__USE_SVID]: Likewise.
15584         [__USE_BSD]: Likewise.
15585         * math/math.h [__USE_SVID]: Likewise.
15586         [__USE_BSD]: Likewise.
15587         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15588         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15589         * misc/search.h [__USE_SVID]: Likewise.
15590         * misc/sys/mman.h [__USE_BSD]: Likewise.
15591         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15592         * misc/sys/uio.h [__USE_BSD]: Likewise.
15593         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15594         * posix/glob.h [__USE_BSD]: Likewise.
15595         * posix/regex.h [__USE_BSD]: Likewise.
15596         * posix/sys/types.h [__USE_BSD]: Likewise.
15597         [__USE_SVID]: Likewise.
15598         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15599         * posix/sys/wait.h [__USE_BSD]: Likewise.
15600         [__USE_SVID]: Likewise.
15601         * posix/unistd.h [__USE_BSD]: Likewise.
15602         [__USE_SVID]: Likewise.
15603         * pwd/pwd.h [__USE_SVID]: Likewise.
15604         * resolv/netdb.h [__USE_BSD]: Likewise.
15605         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15606         * signal/signal.h [__USE_BSD]: Likewise.
15607         [__USE_SVID]: Likewise.
15608         * socket/sys/socket.h [__USE_BSD]: Likewise.
15609         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15610         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15611         [__USE_SVID]: Likewise.
15612         * string/bits/string2.h [__USE_BSD]: Likewise.
15613         [__USE_SVID]: Likewise.
15614         * string/bits/string3.h [__USE_BSD]: Likewise.
15615         * string/endian.h [__USE_BSD]: Likewise.
15616         * string/string.h [__USE_SVID]: Likewise.
15617         [__USE_BSD]: Likewise.
15618         * string/strings.h [__USE_BSD]: Likewise.
15619         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15620         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15621         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15622         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15623         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15624         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15625         Likewise.
15626         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15627         Likewise.
15628         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15629         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15630         Likewise.
15631         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15632         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15633         Likewise.
15634         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15635         Likewise.
15636         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15637         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15638         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15639         Likewise.
15640         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15641         Likewise.
15642         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15643         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15644         * termios/termios.h [__USE_BSD]: Likewise.
15645         * time/sys/time.h [__USE_BSD]: Likewise.
15646         * time/time.h [__USE_BSD]: Likewise.
15647         [__USE_SVID]: Likewise.
15649         * Makefile (subdir_targets): Remove subdir_lint.out.
15651         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15652         (do-tst-printf): Likewise.
15653         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15654         $(objpfx)tst-printf.out.
15656         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15658         * Makerules (check-abi-%): Change target to
15659         $(objpfx)check-abi-%.out.
15660         (check-abi target): Update dependencies.
15661         (check-abi-pattern variable): Redirect output of diff to $@.
15662         (check-abi variable): Likewise.
15663         * elf/Makefile (check-abi): Update dependencies.
15665         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15666         unused.
15667         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15668         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15669         subnormal range.
15670         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15671         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15672         value has largest subnormal exponent.
15673         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15674         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15675         * sysdeps/aarch64/soft-fp/sfp-machine.h
15676         (_FP_TININESS_AFTER_ROUNDING): New macro.
15677         * sysdeps/alpha/soft-fp/sfp-machine.h
15678         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15679         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15680         Likewise.
15681         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15682         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15683         * sysdeps/mips/soft-fp/sfp-machine.h
15684         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15685         * sysdeps/powerpc/soft-fp/sfp-machine.h
15686         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15687         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15688         Likewise.
15689         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15690         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15691         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15692         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15693         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15694         Likewise.
15696 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15698         [BZ #16545]
15699         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15700         model 1.
15702 2014-02-12  Richard Henderson  <rth@redhat.com>
15704         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15705         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15706         * sysdeps/unix/sysv/linux/alpha: Move directory from
15707         ports/sysdeps/unix/sysv/linux/alpha.
15708         * README: Update listing for alpha-*-linux-gnu.
15710 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15712         * include/features.h: Update comment documenting feature test
15713         macros.
15714         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15715         _DEFAULT_SOURCE.
15716         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15717         (_SVID_SOURCE): Likewise.
15718         (_DEFAULT_SOURCE): Update description of default features.
15719         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15720         with _GNU_SOURCE.
15721         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15722         (S_ISVTX): Likewise.
15723         * manual/math.texi (Mathematical Constants): Likewise.
15724         * manual/signal.texi (Interrupted Primitives): Likewise.
15725         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15726         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15727         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15728         Don't refer to _SVID_SOURCE in warning text.
15730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15732         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15733         already defined.
15734         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15735         * sysdeps/mips/dl-lookup.c: Remove.
15736         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15738 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15740         [BZ #16447]
15741         * math/auto-libm-test-in: Add testcase for expl.
15742         * math/auto-libm-test-out: Regenerate.
15743         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15744         calculation of unsafe.
15745         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15747 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15749         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15750         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15751         ports/sysdeps/unix/sysv/linux/aarch64.
15752         * README: Update listing for aarch64*-*-linux-gnu.
15754 2014-02-11  Will Newton  <will.newton@linaro.org>
15756         * manual/probes.texi (Mathematical Function Probes): Use
15757         "triggered" instead of "hit".
15759         * manual/probes.texi (Internal Probes): Add documentation
15760         of setjmp, longjmp and longjmp_target probes.
15762         * include/stap-probe.h: Add comment about probe argument
15763         format.
15765         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15766         definition.  (tr_where, tr_freehook, tr_mallochook,
15767         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15769 2014-02-11  David S. Miller  <davem@davemloft.net>
15771         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15772         processing int_tests.
15774 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15776         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15777         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15778         * sysdeps/unix/sysv/linux/mips: Move directory from
15779         ports/sysdeps/unix/sysv/linux/mips.
15780         * README: Update listing for mips-*-linux-gnu and
15781         mips64-*-linux-gnu.
15783 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15785         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15786         * sysdeps/unix/sysv/linux/m68k: Move directory from
15787         ports/sysdeps/unix/sysv/linux/m68k.
15788         * README: Update listing for m68k-*-linux-gnu.
15790 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15792         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15793         * sysdeps/unix/sysv/linux/generic: Move directory from
15794         ports/sysdeps/unix/sysv/linux/generic.
15795         * sysdeps/unix/sysv/linux/tile: Move directory from
15796         ports/sysdeps/unix/sysv/linux/tile.
15797         * README: Update listing for tile*-*-linux-gnu.
15799 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15801         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15802         __builtin_expect.
15803         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15804         * catgets/open_catalog.c (__open_catalog): Likewise.
15805         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15806         * debug/confstr_chk.c: Likewise.
15807         * debug/fread_chk.c (__fread_chk): Likewise.
15808         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15809         * debug/getgroups_chk.c: Likewise.
15810         * debug/mbsnrtowcs_chk.c: Likewise.
15811         * debug/mbsrtowcs_chk.c: Likewise.
15812         * debug/mbstowcs_chk.c: Likewise.
15813         * debug/memcpy_chk.c: Likewise.
15814         * debug/memmove_chk.c: Likewise.
15815         * debug/mempcpy_chk.c: Likewise.
15816         * debug/memset_chk.c: Likewise.
15817         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15818         * debug/strcat_chk.c (__strcat_chk): Likewise.
15819         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15820         * debug/strncat_chk.c (__strncat_chk): Likewise.
15821         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15822         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15823         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15824         * debug/wcpncpy_chk.c: Likewise.
15825         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15826         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15827         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15828         * debug/wcsncpy_chk.c: Likewise.
15829         * debug/wcsnrtombs_chk.c: Likewise.
15830         * debug/wcsrtombs_chk.c: Likewise.
15831         * debug/wcstombs_chk.c: Likewise.
15832         * debug/wmemcpy_chk.c: Likewise.
15833         * debug/wmemmove_chk.c: Likewise.
15834         * debug/wmempcpy_chk.c: Likewise.
15835         * debug/wmemset_chk.c: Likewise.
15836         * dirent/scandirat.c (SCANDIRAT): Likewise.
15837         * dlfcn/dladdr1.c (dladdr1): Likewise.
15838         * dlfcn/dladdr.c (dladdr): Likewise.
15839         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15840         * dlfcn/dlerror.c (__dlerror): Likewise.
15841         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15842         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15843         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15844         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15845         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15846         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15847         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15848         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15849         Likewise.
15850         * elf/dl-conflict.c: Likewise.
15851         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15852         * elf/dl-dst.h: Likewise.
15853         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15854         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15855         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15856         * elf/dl-init.c (call_init, _dl_init): Likewise.
15857         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15858         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15859         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15860         Likewise.
15861         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15862         Likewise.
15863         * elf/dl-minimal.c (__libc_memalign): Likewise.
15864         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15865         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15866         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15867         * elf/dl-sym.c (do_sym): Likewise.
15868         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15869         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15870         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15871         * elf/dl-writev.h (_dl_writev): Likewise.
15872         * elf/ldconfig.c (search_dir): Likewise.
15873         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15874         (dl_main): Likewise.
15875         * elf/setup-vdso.h (setup_vdso): Likewise.
15876         * grp/compat-initgroups.c (compat_call): Likewise.
15877         * grp/fgetgrent.c (fgetgrent): Likewise.
15878         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15879         * grp/putgrent.c (putgrent): Likewise.
15880         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15881         Likewise.
15882         * hurd/hurdinit.c: Likewise.
15883         * iconvdata/8bit-gap.c (struct): Likewise.
15884         * iconvdata/ansi_x3.110.c : Likewise.
15885         * iconvdata/big5.c : Likewise.
15886         * iconvdata/big5hkscs.c : Likewise.
15887         * iconvdata/cp1255.c: Likewise.
15888         * iconvdata/cp1258.c : Likewise.
15889         * iconvdata/cp932.c : Likewise.
15890         * iconvdata/euc-cn.c: Likewise.
15891         * iconvdata/euc-jisx0213.c : Likewise.
15892         * iconvdata/euc-jp.c: Likewise.
15893         * iconvdata/euc-jp-ms.c : Likewise.
15894         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15895         * iconvdata/gb18030.c : Likewise.
15896         * iconvdata/gbbig5.c (const): Likewise.
15897         * iconvdata/gbgbk.c: Likewise.
15898         * iconvdata/gbk.c : Likewise.
15899         * iconvdata/ibm1364.c : Likewise.
15900         * iconvdata/ibm930.c : Likewise.
15901         * iconvdata/ibm932.c: Likewise.
15902         * iconvdata/ibm933.c : Likewise.
15903         * iconvdata/ibm935.c : Likewise.
15904         * iconvdata/ibm937.c : Likewise.
15905         * iconvdata/ibm939.c : Likewise.
15906         * iconvdata/ibm943.c: Likewise.
15907         * iconvdata/iso_11548-1.c: Likewise.
15908         * iconvdata/iso-2022-cn.c : Likewise.
15909         * iconvdata/iso-2022-cn-ext.c : Likewise.
15910         * iconvdata/iso-2022-jp-3.c: Likewise.
15911         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15912         * iconvdata/iso-2022-kr.c : Likewise.
15913         * iconvdata/iso646.c (gconv_end): Likewise.
15914         * iconvdata/iso_6937-2.c : Likewise.
15915         * iconvdata/iso_6937.c : Likewise.
15916         * iconvdata/iso8859-1.c: Likewise.
15917         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15918         * iconvdata/shift_jisx0213.c : Likewise.
15919         * iconvdata/sjis.c : Likewise.
15920         * iconvdata/t.61.c : Likewise.
15921         * iconvdata/tcvn5712-1.c : Likewise.
15922         * iconvdata/tscii.c: Likewise.
15923         * iconvdata/uhc.c : Likewise.
15924         * iconvdata/unicode.c (gconv_end): Likewise.
15925         * iconvdata/utf-16.c (gconv_end): Likewise.
15926         * iconvdata/utf-32.c (gconv_end): Likewise.
15927         * iconvdata/utf-7.c (base64): Likewise.
15928         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15929         * iconv/gconv_close.c (__gconv_close): Likewise.
15930         * iconv/gconv_open.c (__gconv_open): Likewise.
15931         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15932         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15933         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15934         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15935         (ucs4le_internal_loop_single): Likewise.
15936         * iconv/iconv.c (iconv): Likewise.
15937         * iconv/iconv_close.c: Likewise.
15938         * iconv/loop.c (SINGLE): Likewise.
15939         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15940         * include/atomic.h: Likewise.
15941         * inet/inet6_option.c (option_alloc): Likewise.
15942         * intl/bindtextdom.c (set_binding_values): Likewise.
15943         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15944         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15945         * intl/localealias.c (read_alias_file): Likewise.
15946         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15947         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15948         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15949         * libio/fmemopen.c (fmemopen): Likewise.
15950         * libio/iofgets.c (_IO_fgets): Likewise.
15951         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15952         * libio/iofgetws.c (fgetws): Likewise.
15953         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15954         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15955         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15956         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15957         * locale/findlocale.c (_nl_find_locale): Likewise.
15958         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15959         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15960         Likewise.
15961         * locale/setlocale.c (setlocale): Likewise.
15962         * login/programs/pt_chown.c (main): Likewise.
15963         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15964         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15965         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15966         (mmap, mmap64, mremap, munmap): Likewise.
15967         * math/e_exp2l.c: Likewise.
15968         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15969         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15970         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15971         * math/s_catan.c (__catan): Likewise.
15972         * math/s_catanf.c (__catanf): Likewise.
15973         * math/s_catanh.c (__catanh): Likewise.
15974         * math/s_catanhf.c (__catanhf): Likewise.
15975         * math/s_catanhl.c (__catanhl): Likewise.
15976         * math/s_catanl.c (__catanl): Likewise.
15977         * math/s_ccosh.c (__ccosh): Likewise.
15978         * math/s_ccoshf.c (__ccoshf): Likewise.
15979         * math/s_ccoshl.c (__ccoshl): Likewise.
15980         * math/s_cexp.c (__cexp): Likewise.
15981         * math/s_cexpf.c (__cexpf): Likewise.
15982         * math/s_cexpl.c (__cexpl): Likewise.
15983         * math/s_clog10.c (__clog10): Likewise.
15984         * math/s_clog10f.c (__clog10f): Likewise.
15985         * math/s_clog10l.c (__clog10l): Likewise.
15986         * math/s_clog.c (__clog): Likewise.
15987         * math/s_clogf.c (__clogf): Likewise.
15988         * math/s_clogl.c (__clogl): Likewise.
15989         * math/s_csin.c (__csin): Likewise.
15990         * math/s_csinf.c (__csinf): Likewise.
15991         * math/s_csinh.c (__csinh): Likewise.
15992         * math/s_csinhf.c (__csinhf): Likewise.
15993         * math/s_csinhl.c (__csinhl): Likewise.
15994         * math/s_csinl.c (__csinl): Likewise.
15995         * math/s_csqrt.c (__csqrt): Likewise.
15996         * math/s_csqrtf.c (__csqrtf): Likewise.
15997         * math/s_csqrtl.c (__csqrtl): Likewise.
15998         * math/s_ctan.c (__ctan): Likewise.
15999         * math/s_ctanf.c (__ctanf): Likewise.
16000         * math/s_ctanh.c (__ctanh): Likewise.
16001         * math/s_ctanhf.c (__ctanhf): Likewise.
16002         * math/s_ctanhl.c (__ctanhl): Likewise.
16003         * math/s_ctanl.c (__ctanl): Likewise.
16004         * math/w_pow.c: Likewise.
16005         * math/w_powf.c: Likewise.
16006         * math/w_powl.c: Likewise.
16007         * math/w_scalb.c (sysv_scalb): Likewise.
16008         * math/w_scalbf.c (sysv_scalbf): Likewise.
16009         * math/w_scalbl.c (sysv_scalbl): Likewise.
16010         * misc/error.c (error_tail): Likewise.
16011         * misc/pselect.c (__pselect): Likewise.
16012         * nis/nis_callback.c (__nis_create_callback): Likewise.
16013         * nis/nis_call.c (__nisfind_server): Likewise.
16014         * nis/nis_creategroup.c (nis_creategroup): Likewise.
16015         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16016         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16017         * nis/nis_getservlist.c (nis_getservlist): Likewise.
16018         * nis/nis_lookup.c (nis_lookup): Likewise.
16019         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16020         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16021         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16022         * nis/nis_xdr.c (xdr_endpoint): Likewise.
16023         * nis/nss_compat/compat-grp.c (getgrent_next_file)
16024         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16025         * nis/nss_compat/compat-initgroups.c (add_group)
16026         (internal_getgrent_r): Likewise.
16027         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16028         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16029         * nis/nss_compat/compat-spwd.c (getspent_next_file)
16030         (internal_getspnam_r): Likewise.
16031         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16032         (_nss_nis_getaliasbyname_r): Likewise.
16033         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16034         (_nss_nis_getntohost_r): Likewise.
16035         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16036         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16037         (_nss_nis_getgrgid_r): Likewise.
16038         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16039         (internal_nis_gethostent_r, internal_gethostbyname2_r)
16040         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16041         (_nss_nis_gethostbyname4_r): Likewise.
16042         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16043         (initgroups_netid): Likewise.
16044         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16045         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16046         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16047         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16048         (_nss_nis_getprotobynumber_r): Likewise.
16049         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16050         (_nss_nis_getsecretkey): Likewise.
16051         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16052         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16053         (_nss_nis_getpwuid_r): Likewise.
16054         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16055         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16056         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16057         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16058         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16059         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16060         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16061         Likewise.
16062         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16063         (_nss_nisplus_getntohost_r): Likewise.
16064         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16065         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16066         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16067         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16068         Likewise.
16069         * nis/nss_nisplus/nisplus-initgroups.c
16070         (_nss_nisplus_initgroups_dyn): Likewise.
16071         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16072         (_nss_nisplus_getnetbyaddr_r): Likewise.
16073         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16074         (_nss_nisplus_getprotobynumber_r): Likewise.
16075         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16076         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16077         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16078         Likewise.
16079         * nis/nss_nisplus/nisplus-service.c
16080         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16081         (_nss_nisplus_getservbyport_r): Likewise.
16082         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16083         (_nss_nisplus_getspnam_r): Likewise.
16084         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16085         Likewise.
16086         * nscd/aicache.c (addhstaiX): Likewise.
16087         * nscd/cache.c (cache_search, prune_cache): Likewise.
16088         * nscd/connections.c (register_traced_file, send_ro_fd)
16089         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16090         (main_loop_epoll): Likewise.
16091         * nscd/grpcache.c (addgrbyX): Likewise.
16092         * nscd/hstcache.c (addhstbyX): Likewise.
16093         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16094         * nscd/mem.c (gc, mempool_alloc): Likewise.
16095         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16096         (addinnetgrX): Likewise.
16097         * nscd/nscd-client.h (__nscd_acquire_maplock)
16098         (__nscd_drop_map_ref): Likewise.
16099         * nscd/nscd_getai.c (__nscd_getai): Likewise.
16100         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16101         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16102         Likewise.
16103         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16104         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16105         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16106         (__nscd_get_map_ref): Likewise.
16107         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16108         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16109         Likewise.
16110         * nscd/pwdcache.c (addpwbyX): Likewise.
16111         * nscd/selinux.c (preserve_capabilities): Likewise.
16112         * nscd/servicescache.c (addservbyX): Likewise.
16113         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16114         * posix/fnmatch.c (fnmatch): Likewise.
16115         * posix/getopt.c (_getopt_internal_r): Likewise.
16116         * posix/glob.c (glob, glob_in_dir): Likewise.
16117         * posix/wordexp.c (exec_comm_child): Likewise.
16118         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16119         (getanswer_r, gaih_getanswer_slice): Likewise.
16120         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16121         * resolv/res_init.c: Likewise.
16122         * resolv/res_mkquery.c (res_nmkquery): Likewise.
16123         * resolv/res_query.c (__libc_res_nquery): Likewise.
16124         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16125         Likewise.
16126         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16127         * stdio-common/perror.c (perror): Likewise.
16128         * stdio-common/printf_fp.c (___printf_fp): Likewise.
16129         * stdio-common/tmpnam.c (tmpnam): Likewise.
16130         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16131         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16132         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16133         Likewise.
16134         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16135         * stdlib/putenv.c (putenv): Likewise.
16136         * stdlib/setenv.c (__add_to_environ): Likewise.
16137         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16138         * stdlib/strtol_l.c (INTERNAL): Likewise.
16139         * string/memmem.c (memmem): Likewise.
16140         * string/strerror.c (strerror): Likewise.
16141         * string/strnlen.c (__strnlen): Likewise.
16142         * string/test-memmem.c (simple_memmem): Likewise.
16143         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16144         * sunrpc/pm_getport.c (__get_socket): Likewise.
16145         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16146         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16147         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16148         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16149         Likewise.
16150         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16151         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16152         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16153         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16154         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16155         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16156         Likewise.
16157         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16158         Likewise.
16159         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16160         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16161         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16162         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16163         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16165         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16166         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16167         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16168         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16169         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16170         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16171         Likewise.
16172         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16173         Likewise.
16174         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16175         Likewise.
16176         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16177         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16178         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16179         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16180         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16181         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16182         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16183         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16184         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16185         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16186         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16188         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16189         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16190         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16191         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16192         Likewise.
16193         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16194         Likewise.
16195         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16196         Likewise.
16197         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16198         Likewise.
16199         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16200         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16201         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16202         Likewise.
16203         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16204         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16205         * sysdeps/posix/opendir.c (__opendirat): Likewise.
16206         * sysdeps/posix/sleep.c: Likewise.
16207         * sysdeps/posix/tempname.c: Likewise.
16208         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16209         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16210         Likewise.
16211         * sysdeps/powerpc/powerpc32/dl-machine.h
16212         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16213         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16215         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16216         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16217         Likewise.
16218         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16219         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16220         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16221         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16222         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16223         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16224         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16225         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16226         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16227         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16229         (elf_machine_lazy_rel): Likewise.
16230         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16231         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16232         (elf_machine_lazy_rel): Likewise.
16233         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16234         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16235         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16236         * sysdeps/unix/grantpt.c (grantpt): Likewise.
16237         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16238         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16239         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16241         Likewise.
16242         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16243         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16244         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16245         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16246         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16247         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16248         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16249         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16250         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16251         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16252         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16253         Likewise.
16254         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16255         (__posix_fallocate64_l64): Likewise.
16256         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16257         (posix_fallocate): Likewise.
16258         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16259         Likewise.
16260         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16261         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16262         (getifaddrs_internal): Likewise.
16263         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16264         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16265         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16266         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16267         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16268         (__posix_fallocate64_l64): Likewise.
16269         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16270         Likewise.
16271         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16272         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16273         (__get_clockfreq): Likewise.
16274         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16275         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16276         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16277         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16278         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16279         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16280         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16281         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16282         Likewise.
16283         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16284         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16285         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16286         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16287         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16288         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16289         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16290         Likewise.
16291         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16292         (posix_fallocate): Likewise.
16293         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16294         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16295         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16296         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16297         (elf_machine_rela, elf_machine_rela_relative)
16298         (elf_machine_lazy_rel): Likewise.
16299         * time/asctime.c (asctime_internal): Likewise.
16300         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16301         * time/tzset.c (__tzset_parse_tz): Likewise.
16302         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16303         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16304         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16305         * wcsmbs/wcsmbsload.h: Likewise.
16307         [BZ #15894]
16308         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16310         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16311         (arena_get2): Remove THREAD_STATS conditionals.
16312         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16313         (__malloc_stats, int): Likewise.
16315 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16317         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16318         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16320         * manual/setjmp.texi: Fix typos/grammar errors.
16322         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16323         Only return early when n is <= 0.  Delete unused return statement.
16325         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16326         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16327         * debug/tst-longjmp_chk3.c: New file.
16329         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16330         (test_main): Replace code with set_fortify_handler call.
16331         * debug/test-strcpy_chk.c: Likewise.
16332         * debug/tst-chk1.c: Likewise.
16333         * debug/tst-longjmp_chk.c: Likewise.
16334         * test-skeleton.c: Include fcntl.h & paths.h
16335         (set_fortify_handler): Define.
16337         * debug/tst-longjmp_chk.c: Add header comment and include
16338         ../test-skeleton.c.
16339         (do_test): Mark static.
16340         (TEST_FUNCTION): Define.
16342         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16343         (IP_PMTUDISC_INTERFACE): Likewise.
16344         (IP_MULTICAST_IF): Likewise.
16345         (IP_MULTICAST_TTL): Likewise.
16346         (IP_MULTICAST_LOOP): Likewise.
16347         (IP_ADD_MEMBERSHIP): Likewise.
16348         (IP_DROP_MEMBERSHIP): Likewise.
16349         (IP_UNBLOCK_SOURCE): Likewise.
16350         (IP_BLOCK_SOURCE): Likewise.
16351         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16352         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16353         (IP_MSFILTER): Likewise.
16354         (MCAST_JOIN_GROUP): Likewise.
16355         (MCAST_BLOCK_SOURCE): Likewise.
16356         (MCAST_UNBLOCK_SOURCE): Likewise.
16357         (MCAST_LEAVE_GROUP): Likewise.
16358         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16359         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16360         (MCAST_MSFILTER): Likewise.
16361         (IP_MULTICAST_ALL): Likewise.
16362         (IP_UNICAST_IF): Likewise.
16364         * timezone/Makefile: Delete $(have-ksh) check.
16365         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16366         * timezone/tzselect.ksh: Add +x mode bits.
16368         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16369         (ANON_INODE_FS_MAGIC): Likewise.
16370         (BDEVFS_MAGIC): Likewise.
16371         (BINFMTFS_MAGIC): Likewise.
16372         (BTRFS_TEST_MAGIC): Likewise.
16373         (CRAMFS_MAGIC_WEND): Likewise.
16374         (DEBUGFS_MAGIC): Likewise.
16375         (ECRYPTFS_SUPER_MAGIC): Likewise.
16376         (EXT3_SUPER_MAGIC): Likewise.
16377         (EXT4_SUPER_MAGIC): Likewise.
16378         (FUTEXFS_SUPER_MAGIC): Likewise.
16379         (HOSTFS_SUPER_MAGIC): Likewise.
16380         (HUGETLBFS_MAGIC): Likewise.
16381         (MINIX3_SUPER_MAGIC): Likewise.
16382         (MTD_INODE_FS_MAGIC): Likewise.
16383         (NILFS_SUPER_MAGIC): Likewise.
16384         (OPENPROM_SUPER_MAGIC): Likewise.
16385         (PIPEFS_MAGIC): Likewise.
16386         (PSTOREFS_MAGIC): Likewise.
16387         (QNX6_SUPER_MAGIC): Likewise.
16388         (RAMFS_MAGIC): Likewise.
16389         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16390         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16391         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16392         (SECURITYFS_MAGIC): Likewise.
16393         (SELINUX_MAGIC): Likewise.
16394         (SMACK_MAGIC): Likewise.
16395         (SOCKFS_MAGIC): Likewise.
16396         (SQUASHFS_MAGIC): Likewise.
16397         (STACK_END_MAGIC): Likewise.
16398         (TMPFS_MAGIC): Likewise.
16399         (USBDEVICE_SUPER_MAGIC): Likewise.
16400         (V9FS_MAGIC): Likewise.
16401         (XENFS_SUPER_MAGIC): Likewise.
16402         (CRAMFS_MAGIC): Fix typo in comment.
16403         (EXT2_SUPER_MAGIC): Update comment.
16404         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16406 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16408         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16409         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16410         * sysdeps/unix/sysv/linux/arm: Move directory from
16411         ports/sysdeps/unix/sysv/linux/arm.
16412         * README: Update listing for arm-*-linux-gnueabi.
16414         * README: Remove mention of am33.
16416 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16418         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16419         than the comma operator, to avoid "rhs of comma has no effect"
16420         compiler warnings.
16421         (__sigfillset, __sigandset, __sigorset): Likewise.
16422         * include/signal.h (__sigemptyset): Likewise.
16423         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16425 2014-02-07  Allan McRae  <allan@archlinux.org>
16427         * version.h (RELEASE): Set to "development".
16428         (VERSION): Set to "2.19.90"
16429         * NEWS: Add 2.20 section.
16431 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16433         [BZ #16529]
16434         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16436 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16438         * manual/contrib.texi: Update entry for Carlos O'Donell,
16439         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16441 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16443         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16445         * sysdeps/unix/sysv/linux/kernel-features.h
16446         [__LINUX_KERNEL_VERSION >= 0x020621]
16447         (__ASSUME_PROC_PID_TASK_COMM): Define.
16449 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16451         [BZ #16398]
16452         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16453         conversion when destination buffer does not have enough space.
16454         * libio/tst-ftell-partial-wide.c: New test case.
16455         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16457         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16458         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16459         Leonard and Allan McRae.
16461 2014-02-04  David S. Miller  <davem@davemloft.net>
16463         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16464         32-bit.
16466 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16469         New file
16470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16471         New file
16472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16473         New file.
16474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16475         New file.
16476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16477         New file.
16478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16479         New file.
16480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16481         New file.
16482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16483         New file.
16484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16485         New file.
16486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16487         New file.
16488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16489         New file.
16490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16491         New file.
16492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16493         New file.
16495 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16497         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16498         * shlib-versions: Likewise.
16500 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16501             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16503         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16504         (abilist-pattern): New variable, set to %-le.abilist.
16506         * Makerules (abilist-pattern): New variable.
16507         (vpath): Use $(abilist-pattern) in place of %.abilist.
16508         (check-abi-% pattern rule): Likewise.
16509         (check-abi, update-abi): Likewise.
16511 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16515 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16517         * manual/startup.texi: Add next, previous, and top entries for
16518         the `Program Arguments' and `Environment Variables' nodes.
16520 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16522         * manual/macros.texi: Add comments before MTASC-safety macros.
16524         * manual/users.texi: Document MTASC-safety properties.
16526         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16527         (pthread_getspecific, pthread_setspecific): Format with
16528         @deftypefun, and add @safety note.
16529         * manual/signal.texi: Move comments that analyze the above
16530         functions to their home place.
16532 2014-02-03  Allan McRae  <allan@archlinux.org>
16534         * po/sl.po: Update Slovenian translation from translation project.
16536 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16538         * manual/time.texi (timegm): Add missing blank after @c.
16539         Reported by Joseph Myers <joseph@codesourcery.com>.
16541 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16543         * manual/check-safety.sh: New.
16544         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16546         * manual/terminal.texi: Document MTASC-safety properties.
16548         * manual/filesys.texi: Document MTASC-safety properties.
16550         * manual/errno.texi: Document MTASC-safety properties.
16552         * manual/intro.texi: Document safety identifiers and
16553         conditionals.
16555         * manual/string.texi (wcstok): Fix prototype.
16556         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16558         * manual/time.texi: Document MTASC-safety properties.
16560         * manual/string.texi: Document MTASC-safety properties.
16562         * manual/threads.texi: Document MTASC-safety properties.
16564         * manual/stdio.texi: Document MTASC-safety properties.
16566         * manual/syslog.texi: Document MTASC-safety properties.
16568         * manual/sysinfo.texi: Document MTASC-safety properties.
16570         * manual/startup.texi: Document MTASC-safety properties.
16572         * manual/socket.texi: Document MTASC-safety properties.
16574         * manual/signal.texi: Document MTASC-safety properties.
16576 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16578         * manual/setjmp.texi: Document MTASC-safety properties.
16580         * manual/search.texi: Document MTASC-safety properties.
16582         * manual/resource.texi: Document MTASC-safety properties.
16584         * manual/process.texi: Document MTASC-safety properties.
16586         * manual/platform.texi: Document MTASC-safety properties.
16588         * manual/pipe.texi: Document MTASC-safety properties.
16590         * manual/pattern.texi: Document MTASC-safety properties.
16592         * manual/message.texi: Document MTASC-safety properties.
16594         [BZ #12751]
16595         * manual/memory.texi: Document MTASC-safety properties.
16597         * manual/math.texi: Document MTASC-safety properties.
16599         * manual/locale.texi: Document MTASC-safety properties.
16601         * manual/llio.texi: Document MTASC-safety properties.
16603         * manual/libdl.texi: New.
16605         * manual/lang.texi: Document MTASC-safety properties.
16607         * manual/job.texi: Document MTASC-safety properties.
16609         * manual/getopt.texi: Document MTASC-safety properties.
16611         * manual/ctype.texi: Document MTASC-safety properties.
16613 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16615         [BZ #16046]
16616         * csu/libc-tls.c (static_map): Remove variable.
16617         (__libc_setup_tls): Use main executable's link map for TLS data.
16618         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16619         casing for LM_ID_BASE and GL(dl_nns).
16620         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16621         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16622         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16623         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16624         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16625         member.
16626         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16627         l_phnum members.
16629 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16631         * manual/debug.texi: Document MTASC-safety properties.
16633 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16635         [BZ #16510]
16636         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16637         of __x86_64__ when disabling x87 inline functions.
16639 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16641         * manual/charset.texi: Document MTASC-safety properties.
16643         * manual/crypt.texi: Document MTASC-safety properties.
16645         * manual/conf.texi: Document MTASC-safety properties.
16647         * manual/arith.texi: Document MTASC-safety properties.
16649         * manual/argp.texi: Document MTASC-safety properties.
16651         * manual/macros.texi: Introduce macros to document multi
16652         thread, asynchronous signal and asynchronous cancellation
16653         safety properties.
16654         * manual/intro.texi: Introduce the properties themselves.
16656 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16658         * sysdeps/sh/sh4/Makefile: New file.
16660 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16662         * math/gen-libm-test.pl ($srcdir): New variable.
16663         ($auto_input): Use it.
16665 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16667         [BZ #16506]
16668         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16669         access beyond array bounds when parsing netgroups file.
16671         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16672         the old buffer before realloc.
16674 2014-01-27  Allan McRae  <allan@archlinux.org>
16676         * po/fr.po: Update French translation from translation project.
16678 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16680         * sysdeps/sh/libm-test-ulps: Regenerate.
16682 2014-01-24  David S. Miller  <davem@davemloft.net>
16684         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16686 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16688         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16689         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16691 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16693         [BZ #16474]
16694         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16695         string pointers after reallocation.
16697 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16699         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16700         __SH4A__ instead of __SH_FPU_ANY__.
16702 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16704         * sysdeps/sh/fpu_control.h: New file.
16705         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16706         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16707         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16708         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16709         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16710         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16711         * sysdeps/sh/sys/ucontext.h: Remove.
16712         * sysdeps/sh/sys: Remove directory.
16714 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16716         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16717         s390/sys/ucontext.h.
16718         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16719         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16721 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16723         [BZ #15605]
16724         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16726 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16728         [BZ#16431]
16729         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16730         Adjust the vDSO correctly for internal calls.
16731         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16733 2014-01-20  Allan McRae  <allan@archlinux.org>
16735         * po/ca.po: Update Catalan translation from translation project.
16737 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16739         * sysdeps/s390/sotruss-lib.c: New file.
16741 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16743         [BZ#16430]
16744         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16745         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16746         local calls issues by not having a PLT stub required for IFUNC calls.
16747         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16749 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16751         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16752         * math/test-fpucw-static.c: Likewise.
16754 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16756         [BZ #16453]
16757         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16759 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16761         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16762         implementation for powerpc.
16764 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16766         [BZ #14782]
16767         * sysdeps/posix/system.c (__libc_system): Do not enable
16768         asynchronous cancellation.
16770 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16772         [BZ #16427]
16773         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16774         handling only for numbers special also in the IEEE case.
16776 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16778         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16780 2014-01-11  Allan McRae  <allan@archlinux.org>
16782         * po/bg.po: Update Bulgarian translation from translation project.
16784         * po/de.po: Update German translation from translation project.
16786 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16788         * sysdeps/generic/gcc-compat.h: New file.
16790 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16792         * benchtests/asin-inputs: Correct slow inputs.
16793         * benchtests/acos-inputs: Likewise.
16795 2014-01-10  Allan McRae  <allan@archlinux.org>
16797         * po:sv.po: Update Swedish translation from translation project.
16799         * po/vi.po: Update Vietnamese translation from translation project.
16801         * po/eo.po: Update Esperanto translation from translation project.
16803         * po/cs.po: Update Czech translation from translation project.
16805         * po/nl.po: Update Dutch translation from translation project.
16807         * po/pl.po: Update Polish translation from translation project.
16809         * po/ru.po: Update Russian translation from translation project.
16811         * po/uk.po: Update Ukrainian translation from translation project.
16813 2014-01-08  Brooks Moses  <bmoses@google.com>
16815         * elf/dl-load.c: Fix comment typo.
16817 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16819         * po/header.pot: Rename to...
16820         * po/pot.header: ... this.
16821         * po/Makefile: Use pot.header.
16823 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16824             Maxim Kuvyrkov  <maxim@kugelworks.com>
16826         [BZ #16394]
16827         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16828         SRC and DEST against LEN.
16830 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16832         [BZ #16414]
16833         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16834         implementation.
16835         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16837 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16841 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16843         [BZ #16408]
16844         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16845         for large positive arguments.
16847 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16849         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16851         * math/auto-libm-test-in: Mark various tests with
16852         xfail-rounding:ldbl-128ibm.
16853         * math/auto-libm-test-out: Regenerated.
16855         [BZ #16407]
16856         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16857         Increase overflow threshold.
16859 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16861         [BZ #14286]
16862         * stdio-common/vfprintf.c: Check for integer overflow.
16864 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16866         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16867         the first argument and return value of __tls_get_addr_internal.
16869 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16871         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16872         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16874 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16876         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16877         * sysdeps/s390/rtld-global-offsets.sym: New file.
16878         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16879         GLIBC_2.19 symbol.
16880         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16881         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16882         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16883         ... this.
16884         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16885         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16886         ... this.
16887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16888         Regenerate.
16889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16890         Regenerate.
16891         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16892         halfs of GPRs for high_gprs contexts.
16893         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16894         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16895         field.
16896         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16897         uc_flags field.
16898         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16899         64 bit versions:
16900         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16901         for high GPRs (uc_high_gprs) and for future extensions
16902         (__reserved).
16903         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16904         for future extensions (__reserved).
16905         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16906         64 bit versions:
16907         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16908         SC_HIGHGPRS offset definition.
16909         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16910         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16912         * Versions.def: Add GLIBC_2.19 for libpthread.
16913         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16914         siglongjmp for libpthread with GLIBC_2.19 symver.
16915         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16916         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16917         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16918         * sysdeps/s390/__longjmp.c: New file.
16919         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16920         * sysdeps/s390/longjmp.c: New file.
16921         * sysdeps/s390/setjmp.S: New file.
16922         * sysdeps/s390/sigjmp.S: New file.
16923         * sysdeps/s390/v1-longjmp.c: New file.
16924         * sysdeps/s390/v1-setjmp.h: New file.
16925         * sysdeps/s390/v1-sigjmp.c: New file.
16926         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16927         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16928         GLIBC_2.19 version.
16929         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16930         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16931         versioned symbols for ____longjmp_chk.
16932         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16933         Likewise.
16934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16935         Regenerate.
16936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16937         Regenerate.
16938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16939         Regenerate.
16940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16941         Regenerate.
16942         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16943         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16944         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16945         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16946         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16947         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16948         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16949         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16950         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16951         * sysdeps/s390/rtld-__longjmp.c: New file.
16952         * sysdeps/s390/rtld-setjmp.S: New file.
16954 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16956         [BZ #16400]
16957         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16958         Return -__logl (x) for small positive arguments without evaluating
16959         a polynomial.
16961 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16963         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16964         Rename to ...
16965         (__ptrace_peeksiginfo_args): ... this.
16966         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16968         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16970 2014-01-06  Allan McRae  <allan@archlinux.org>
16972         * inet/netinet/in.h: Fix typo in comment.
16974 2014-01-05  Andreas Jaeger  <aj@suse.de>
16976         * sysdeps/i386/fpu/libm-test-ulps: Update.
16978 2014-01-05  Allan McRae  <allan@archlinux.org>
16980         * po/libc.pot: Regenerated.
16982         * malloc/memusagestat.c: Fix gettext call formatting.
16984 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16986         * nscd/nscd.c: Improve usage() output.
16988 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16990         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16991         * sysdeps/unix/sysv/linux/configure: Regenerated.
16992         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16993         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16995 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16997         [BZ #16390]
16998         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16999         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17001 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17003         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17004         extra tokens at end of #undef directive.
17005         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17006         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17007         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17009 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
17011         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17013         * math/auto-libm-test-in: Mark various tests with
17014         xfail-rounding:ldbl-128ibm.
17015         * math/auto-libm-test-out: Regenerated.
17017 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
17019         [BZ #16386]
17020         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17021         numbers with subnormal high part when calculating exponent.
17023         [BZ #16385]
17024         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17025         fabs.
17027         [BZ #16384]
17028         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17029         M_LN2l.
17030         (__ieee754_acoshl): Use __log1pl not __log1p.
17032 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
17034         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17035         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17036         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17037         (grow_heap, heap_trim, _int_new_arena, get_free_list)
17038         (reused_arena, arena_get2): Convert to GNU style.
17039         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17040         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17041         (memalign_check, __malloc_set_state): Likewise.
17042         * malloc/mallocbug.c (main): Likewise.
17043         * malloc/malloc.c (__malloc_assert, malloc_init_state)
17044         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17045         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17046         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17047         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17048         (__posix_memalign, malloc_info): Likewise.
17049         * malloc/malloc.h: Likewise.
17050         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17051         (mallochook, memalignhook, reallochook, mabort): Likewise.
17052         * malloc/mcheck.h: Likewise.
17053         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17054         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17055         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17056         * malloc/morecore.c (__default_morecore): Likewise.
17057         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17058         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17059         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17060         (print_and_abort): Likewise.
17061         * malloc/obstack.h: Likewise.
17062         * malloc/set-freeres.c (__libc_freeres): Likewise.
17063         * malloc/tst-mallocstate.c (main): Likewise.
17064         * malloc/tst-mtrace.c (main): Likewise.
17065         * malloc/tst-realloc.c (do_test): Likewise.
17067 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17069         [BZ #16366]
17070         * nscd/netgroupcache.c (do_notfound): New function.
17071         (addgetnetgrentX): Use it.
17073         [BZ # 16365]
17074         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17075         NSS_STATUS_NOTFOUND.
17077 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
17079         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17082 2014-01-01  Allan McRae  <allan@archlinux.org>
17084         * scripts/update-copyrights: Update configure input file suffix.
17086         * NEWS: Update copyright year.
17087         * catgets/gencat.c: Likewise.
17088         * csu/version.c: Likewise.
17089         * debug/catchsegv.sh: Likewise.
17090         * debug/pcprofiledump.c: Likewise.
17091         * debug/xtrace.sh: Likewise.
17092         * elf/ldconfig.c: Likewise.
17093         * elf/ldd.bash.in: Likewise.
17094         * elf/pldd.c: Likewise.
17095         * elf/sotruss.ksh: Likewise.
17096         * elf/sprof.c: Likewise.
17097         * iconv/iconv_prog.c: Likewise.
17098         * iconv/iconvconfig.c: Likewise.
17099         * locale/programs/locale.c: Likewise.
17100         * locale/programs/localedef.c: Likewise.
17101         * login/programs/pt_chown.c: Likewise.
17102         * malloc/memusage.sh: Likewise.
17103         * malloc/memusagestat.c: Likewise.
17104         * malloc/mtrace.pl: Likewise.
17105         * manual/libc.texinfo: Likewise.
17106         * nscd/nscd.c: Likewise.
17107         * nss/getent.c: Likewise.
17108         * nss/makedb.c: Likewise.
17109         * posix/getconf.c: Likewise.
17110         * scripts/test-installation.pl: Likewise.
17112         * All files with FSF copyright notices: Update copyright dates
17113         using scripts/update-copyrights.
17114         * intl/plural.c: Regenerated.
17115         * locale/programs/charmap-kw.h: Likewise.
17116         * locale/programs/locfile-kw.h: Likewise.
17118 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
17120         * sysdeps/unix/sysv/linux/configure: Regenerated.
17121         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17122         the linux/fanotify.h header.
17123         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17124         HAVE_LINUX_FANOTIFY_H is defined.
17126 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
17128         * benchtests/cos-inputs: New inputs.
17129         * benchtests/sin-inputs: Likewise.
17131         * benchtests/atan-inputs: New inputs. Fix name of multiple
17132         precision fallback inputs.
17134         * benchtests/atanh-inputs: New inputs.
17135         * benchtests/tanh-inputs: Likewise.
17137         * benchtests/acosh-inputs: New inputs.
17138         * benchtests/asinh-inputs: Likewise.
17140         * benchtests/cosh-inputs: New inputs.
17141         * benchtests/sinh-inputs: Likewise.
17143         * benchtests/acos-inputs: Add more inputs.
17144         * benchtests/asin-inputs: Likewise.
17146 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
17148         [BZ #16375]
17149         * manual/arith.texi: Fix spelling.
17150         * manual/charset.texi: Likewise.
17151         * manual/errno.texi: Likewise.
17152         * manual/filesys.texi: Likewise.
17153         * manual/lang.texi: Likewise.
17154         * manual/llio.texi: Likewise.
17155         * manual/locale.texi: Likewise.
17156         * manual/message.texi: Likewise.
17157         * manual/resource.texi: Likewise.
17158         * manual/search.texi: Likewise.
17159         * manual/setjmp.texi: Likewise.
17160         * manual/stdio.texi: Likewise.
17161         * manual/string.texi: Likewise.
17162         * manual/sysinfo.texi: Likewise.
17163         * manual/time.texi: Likewise.
17165 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
17167         * po/sl.po: New file.
17169 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
17171         * .gitignore: Add core/.gdbinit/.gdb_history.
17173 2013-12-27  Allan McRae  <allan@archlinux.org>
17175         [BZ #16369]
17176         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17177         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17179 2013-12-24  Brooks Moses  <bmoses@google.com>
17181         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17182         all compilers that claim C++98 compliance, not just GCC.
17183         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17184         Likewise.
17186 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17188         * NEWS: Restore accidentally deleted bug-fix entries.
17190 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
17191             Ondřej Bílka  <neleai@seznam.cz>
17193         [BZ #15073]
17194         * malloc/malloc.c (_int_free): Perform sanity check only if we
17195         have_lock.
17197 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
17199         [BZ #12986]
17200         * manual/stdio.texi (String Input Conversions): Clarify that character
17201         classes are not supported.
17203 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17207 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
17209         [BZ #16337]
17210         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17211         Calculate results for small negative arguments directly rather
17212         than using reflection formula with special underflow handling.
17214         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17215         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17216         sysdeps/unix/bsd/bsd4.4/syscalls.list.
17217         (fchflags): Likewise.
17218         (revoke): Likewise.
17219         (setlogin): Likewise.
17220         (sigaltstack): Likewise.
17221         (wait4): Likewise.
17222         (sigblock): Remove.
17223         (sigsetmask): Likewise.
17224         (wait3): Likewise.
17225         (waitpid): Likewise.
17226         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17227         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17228         file.
17229         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17230         * sysdeps/unix/bsd/Makefile: ... here.
17231         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17232         * sysdeps/unix/bsd/Versions: ... here.
17233         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17234         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17235         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17236         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17237         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17238         * sysdeps/unix/bsd/sigblock.c: ... here.
17239         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17240         * sysdeps/unix/bsd/sigsetmask.c: ... here.
17241         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17242         * sysdeps/unix/bsd/sigvec.c: ... here.
17243         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17244         * sysdeps/unix/bsd/tcdrain.c: ... here.
17245         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17246         * sysdeps/unix/bsd/tcgetattr.c: ... here.
17247         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17248         * sysdeps/unix/bsd/tcsetattr.c: ... here.
17249         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17250         * sysdeps/unix/bsd/wait.c: ... here.
17251         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17252         * sysdeps/unix/bsd/wait3.c: ... here.
17253         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17254         * sysdeps/unix/bsd/waitpid.c: ... here.
17256 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
17258         [BZ #16356]
17259         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17260         round-to-nearest for [!USE_AS_EXPM1L].
17261         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17262         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
17263         more tests of exp and exp10.  Expect some exp10 tests to miss
17264         exceptions or fail in directed rounding modes.
17265         * math/auto-libm-test-out: Regenerated.
17266         * math/libm-test.inc (exp10_tonearest_test_data): New array.
17267         (exp10_test_tonearest): New function.
17268         (exp10_towardzero_test_data): New array.
17269         (exp10_test_towardzero): New function.
17270         (exp10_downward_test_data): New array.
17271         (exp10_test_downward): New function.
17272         (exp10_upward_test_data): New array.
17273         (exp10_test_upward): New function.
17274         (main): Call the new functions.
17275         * sysdeps/i386/fpu/libm-test-ulps: Update.
17276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17278 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
17280         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17281         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17282         * math/auto-libm-test-out: Regenerated.
17283         * math/libm-test.inc (acosh_test_data): Add more tests.
17284         (atanh_test_data): Likewise.
17285         (ceil_test_data): Likewise.
17286         (copysign_test_data): Likewise.
17287         * sysdeps/i386/fpu/libm-test-ulps: Update.
17288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17290         * timezone/checktab.awk: Update from tzcode 2013i.
17291         * timezone/private.h: Likewise.
17292         * timezone/scheck.c: Likewise.
17293         * timezone/tzfile.h: Likewise.
17294         * timezone/tzselect.ksh: Likewise.
17295         * timezone/zdump.c: Likewise.
17296         * timezone/zic.c: Likewise.
17298         * math/auto-libm-test-in: Add tests of cpow.
17299         * math/auto-libm-test-out: Regenerated.
17300         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17301         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17302         mpc_cc_c.
17303         (func_calc_desc): Add mpc_cc_c union field.
17304         (test_functions): Add cpow.
17305         (special_fill_2pi): New function.
17306         (special_real_inputs): Add 2pi.
17307         (calc_generic_results): Handle mpc_cc_c.
17308         * sysdeps/i386/fpu/libm-test-ulps: Update.
17309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17311         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17312         csqrt, ctan and ctanh.
17313         * math/auto-libm-test-out: Regenerated.
17314         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17315         (TEST_COND_x86): Likewise.
17316         (ccos_test_data): Use AUTO_TESTS_c_c.
17317         (ccosh_test_data): Likewise.
17318         (cexp_test_data): Likewise.
17319         (clog_test_data): Likewise.
17320         (csqrt_test_data): Likewise.
17321         (ctan_test_data): Likewise.
17322         (ctan_tonearest_test_data): Likewise.
17323         (ctan_towardzero_test_data): Likewise.
17324         (ctan_downward_test_data): Likewise.
17325         (ctan_upward_test_data): Likewise.
17326         (ctanh_test_data): Likewise.
17327         (ctanh_tonearest_test_data): Likewise.
17328         (ctanh_towardzero_test_data): Likewise.
17329         (ctanh_downward_test_data): Likewise.
17330         (ctanh_upward_test_data): Likewise.
17331         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17332         mpc_c_c.
17333         (func_calc_desc): Add mpc_c_c union field.
17334         (FUNC_mpc_c_c): New macro.
17335         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17336         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17337         ctanh.
17338         (special_fill_min_subnorm_p120): New function.
17339         (special_real_inputs): Add min_subnorm_p120.
17340         (calc_generic_results): Handle mpc_c_c.
17341         * sysdeps/i386/fpu/libm-test-ulps: Update.
17342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17344 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17346         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17347         (do_sin_slow): New functions.
17348         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17349         (cslow2, csloww1, csloww2): Use the new functions.
17351         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17352         Use M to change sign of result instead of X.  Assume X is
17353         positive.
17354         (csloww1): Likewise.
17355         (__sin): Adjust.
17356         (__cos): Adjust.
17358         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17359         arguments A and DA.
17360         (__sin): Adjust.
17361         (__cos): Likewise.
17363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17364         (__cos): Likewise.
17365         (sloww1): Don't adjust sign of DX.
17366         (csloww1): Likewise.
17367         (sloww2): Use X directly and don't adjust sign of DX.
17368         (csloww2): Likewise.
17370 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17372         * math/auto-libm-test-in: Add tests of cabs and carg.
17373         * math/auto-libm-test-out: Regenerated.
17374         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17375         (carg_test_data): Likewise.
17376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17377         mpc_c_f.
17378         (func_calc_desc): Add mpc_c_f union field.
17379         (test_functions): Add cabs and carg.
17380         (calc_generic_results): Handle mpc_c_f.
17382         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17383         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17384         as a macro and a compat symbol.
17385         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17386         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17387         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17388         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17389         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17390         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17391         not use .hidden.
17392         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17393         Likewise.
17394         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17395         Likewise.
17396         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17397         Likewise.
17398         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17399         Likewise.
17400         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17401         Likewise.
17402         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17403         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17404         from GLIBC_2.3.2.
17406 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17410 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17412         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17413         trailing whitespace removed.
17414         * scripts/config.guess: Update to version 2013-11-29.
17415         * scripts/config.sub: Update to version 2013-10-01.
17417         * math/auto-libm-test-in: Add tests of sincos.
17418         * math/auto-libm-test-out: Regenerated.
17419         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17420         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17421         mpfr_f_11.
17422         (func_calc_desc): Add mpfr_f_11 union field.
17423         (test_functions): Add sincos.
17424         (calc_generic_results): Handle mpfr_f_11.
17425         * sysdeps/i386/fpu/libm-test-ulps: Update.
17426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17428 2013-12-19  Andreas Schwab  <schwab@suse.de>
17430         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17431         CALL_MCOUNT.
17432         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17433         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17434         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17436 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17438         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17439         * sysdeps/i386/fpu/libm-test-ulps: Update.
17440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17442         [BZ #16293]
17443         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17444         round-to-nearest mode when using frndint.
17445         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17446         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17447         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17448         Likewise.
17449         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17450         sinh test to fail.
17451         * math/auto-libm-test-out: Regenerated.
17452         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17453         (TEST_COND_x86): Likewise.
17454         (expm1_tonearest_test_data): New array.
17455         (expm1_test_tonearest): New function.
17456         (expm1_towardzero_test_data): New array.
17457         (expm1_test_towardzero): New function.
17458         (expm1_downward_test_data): New array.
17459         (expm1_test_downward): New function.
17460         (expm1_upward_test_data): New array.
17461         (expm1_test_upward): New function.
17462         (main): Run the new test functions.
17463         * sysdeps/i386/fpu/libm-test-ulps: Update.
17464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17466         * include/features.h: Update comment documenting feature test
17467         macros.  Mention _DEFAULT_SOURCE in comment.
17468         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17469         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17470         _BSD_SOURCE and _SVID_SOURCE.
17471         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17472         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17473         !_SVID_SOURCE]: Likewise.
17474         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17475         (__USE_POSIX_IMPLICITLY): Define.
17476         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17477         (_POSIX_SOURCE): Undefine and redefine.
17478         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17479         (_POSIX_C_SOURCE): Likewise.
17480         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17481         (Feature Test Macros): Update documentation of default features.
17483 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17485         * benchtests/Makefile: Add bench-strtok.
17486         * benchtests/bench-strtok.c: New file: strtok benchtest.
17488 2013-12-19  Allan McRae  <allan@archlinux.org>
17490         * manual/install.texi: Suppress menu for plain text output.
17491         * INSTALL: Regenerated.
17493 2013-12-18  Brooks Moses  <bmoses@google.com>
17495         [BZ #15846]
17496         * misc/getauxval.c: Include errno.h.
17497         (__getauxval): Set errno to ENOENT if the requested type is not
17498         found.
17499         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17500         don't declare with __attribute_const__.
17501         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17502         * manual/startup.texi: Document that getauxval sets errno.
17504 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17506         * math/auto-libm-test-in: Add tests of jn and yn.
17507         * math/auto-libm-test-out: Regenerated.
17508         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17509         (yn_test_data): Likewise.
17510         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17511         mpfr_if_f.
17512         (func_calc_desc): Add mpfr_if_f union field.
17513         (FUNC_mpfr_if_f): New macro.
17514         (test_functions): Add jn and yn.
17515         (calc_generic_results): Assert type of second input for
17516         mpfr_ff_f.  Handle mpfr_if_f.
17517         (output_for_one_input_case): Disable all checking for arguments
17518         fitting floating-point types in case of an integer argument.
17519         * sysdeps/i386/fpu/libm-test-ulps: Update.
17520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17523         Don't expect fegetround reference in libm.so.
17525 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17527         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17528         $(config-cflags-nofma).
17530 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17532         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17533         * math/auto-libm-test-out: Regenerated.
17535         [BZ #16338]
17536         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17537         to determine exponent and adjust argument to have exponent of -1.
17538         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17539         log2.
17540         * math/auto-libm-test-out: Regenerated.
17541         * sysdeps/i386/fpu/libm-test-ulps: Update.
17542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17544 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17546         * manual/probes.texi: Remove cases when per-thread arenas are
17547         disabled.
17549 2013-12-18  Andreas Schwab  <schwab@suse.de>
17551         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17552         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17553         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17554         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17555         * sysdeps/i386/i686/multiarch/Makefile: Update.
17556         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17558 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17560         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17561         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17563 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17565         [BZ #15968]
17566         Support TZ transition times < 00:00:00.
17567         This is needed for version-3 tz-format files; it supports time
17568         stamps past 2037 for America/Godthab (the only entry in the tz
17569         database for which this change is relevant).
17570         * manual/time.texi (TZ Variable): Document transition times
17571         from -167:59:59 through -00:00:01.
17572         * time/tzset.c (tz_rule): Time of day is now signed.
17573         (__tzset_parse_tz): Parse negative time of day.
17575         Document TZ transition times >= 25:00:00.
17576         * manual/time.texi (TZ Variable): Document transition times from
17577         25:00:00 through 167:59:59.  These are already supported, and this
17578         support will help with version-3 tz-format files.
17580         * manual/time.texi (TZ Variable): Modernize North America example
17581         to reflect current (i.e., 2007-and-later) daylight saving rules.
17583         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17585 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17587         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17588         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17589         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17590         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17591         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17592         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17593         * sysdeps/unix/bsd/clock.c: Likewise.
17594         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17595         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17596         * sysdeps/unix/bsd/init-posix.c: Likewise.
17597         * sysdeps/unix/bsd/poll.c: Likewise.
17598         * sysdeps/unix/bsd/ptsname.c: Likewise.
17599         * sysdeps/unix/bsd/seekdir.c: Likewise.
17600         * sysdeps/unix/bsd/setegid.c: Likewise.
17601         * sysdeps/unix/bsd/seteuid.c: Likewise.
17602         * sysdeps/unix/bsd/setgid.c: Likewise.
17603         * sysdeps/unix/bsd/setrgid.c: Likewise.
17604         * sysdeps/unix/bsd/setruid.c: Likewise.
17605         * sysdeps/unix/bsd/setsid.c: Likewise.
17606         * sysdeps/unix/bsd/setuid.c: Likewise.
17607         * sysdeps/unix/bsd/sigaction.c: Likewise.
17608         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17609         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17610         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17611         * sysdeps/unix/bsd/telldir.c: Likewise.
17612         * sysdeps/unix/bsd/times.c: Likewise.
17613         * sysdeps/unix/bsd/usleep.c: Likewise.
17615         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17616         ($(objpfx)libbsd-compat.a): Remove rule.
17618         * include/features.h (__FAVOR_BSD): Do not define.
17619         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17620         features conflicting with POSIX.
17621         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17622         (_BSD_SOURCE): Remove description of not being a subset of other
17623         feature test macros.
17624         * manual/job.texi (getpgrp): Do not document BSD version.
17625         (getpgid): Do not document by reference to BSD getpgrp.
17626         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17627         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17628         * signal/signal.h [__FAVOR_BSD]: Likewise.
17629         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17630         instead of making contents conditional on [__FAVOR_BSD].
17631         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17633 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17637 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17639         [BZ #16314]
17640         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17641         values below 2**-450, not 2**-500.
17642         * math/auto-libm-test-in: Don't allow spurious underflow from
17643         hypot.
17644         * math/auto-libm-test-out: Regenerated.
17646         [BZ #16316]
17647         [BZ #16330]
17648         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17649         values of ha and hb and sort them after adjusting subnormal
17650         arguments.
17651         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17652         Likewise.
17653         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17654         values of ea and eb and sort them after adjusting subnormal
17655         arguments.
17656         * math/auto-libm-test-in: Do not expect some hypot tests of
17657         subnormals to fail.  Add more hypot tests.
17658         * math/auto-libm-test-out: Regenerated.
17660 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17662         [BZ #13304]
17663         * sysdeps/sh/s_fma.c: New file.
17664         * sysdeps/sh/s_fmaf.c: New file.
17665         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17666         version.
17667         * sysdeps/sh/Implies: Add sh/soft-fp.
17669 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17671         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17672         level of indirection to members `objname', `errstring', `malloced'.
17673         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17674         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17675         it as the __longjmp argument (just pass 1 instead).
17676         (_dl_catch_error): Initialize C with argument pointers and address of
17677         volatile local ERRCODE rather than copying values out of C at return.
17679 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17681         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17682         * math/auto-libm-test-out: Regenerated.
17683         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17684         (hypot_test_data): Likewise.
17685         (pow_test_data): Likewise.
17686         (pow_tonearest_test_data): Likewise.
17687         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17688         mpfr_ff_f.
17689         (func_calc_desc): Add mpfr_ff_f union field.
17690         (FUNC_mpfr_ff_f): New macro.
17691         (test_functions): Add atan2, hypot and pow.
17692         (special_fill_min): New function.
17693         (special_fill_minus_min): Likewise.
17694         (special_fill_min_subnorm): Likewise.
17695         (special_fill_minus_min_subnorm): Likewise.
17696         (special_real_inputs): Add min, -min, min_subnorm and
17697         -min_subnorm.
17698         (calc_generic_results): Handle mpfr_ff_f.
17699         * sysdeps/i386/fpu/libm-test-ulps: Update.
17700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17702 2013-12-16  Will Newton  <will.newton@linaro.org>
17704         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17705         (Aligned Memory Blocks): Add documentation for aligned_alloc
17706         and suggest it as an alternative to posix_memalign.
17707         (Hooks for Malloc): Document __memalign_hook is also called
17708         for aligned_alloc.  (Summary of Malloc): Add summary for
17709         aligned alloc.  Document __memalign_hook is also called
17710         for aligned_alloc.
17712 2013-12-16  Will Newton  <will.newton@linaro.org>
17714         * manual/memory.texi (Malloc Examples): Clarify default
17715         alignment documentation.  Suggest posix_memalign rather
17716         than memalign or valloc.
17717         (Aligned Memory Blocks): Remove suggestion to use memalign
17718         or valloc.  Remove obsolete comment about BSD.
17719         Document memalign errno values and mark the function obsolete.
17720         Document posix_memalign returned error codes.  Mark valloc
17721         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17722         called for posix_memalign and valloc.
17723         (Summary of Malloc): Add posix_memalign to function summary.
17724         __memalign_hook is also called for posix_memalign and valloc.
17726 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17728         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17729         TAYLOR_SIN.
17730         (__sin): Adjust.
17731         (__cos): Likewise.
17732         (sloww): Use mynumber union.  Expand ternary operator into
17733         if-else statements.
17734         (cslow): use mynumber union.
17736 2013-12-16  Allan McRae  <allan@archlinux.org>
17738         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17739         * configure: Regenerated.
17741         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17743         [BZ #14120]
17744         * configure.ac: Added --enable-maintainer-mode. Check for
17745         autoconf when enabled.
17746         * configure: Regenerated.
17748         * nscd/nscd.service: New file.
17749         * nscd/nscd.tmpfiles: New file.
17751 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17753         [BZ #12100]
17754         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17755         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17756         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17757         (strstr): Add __strstr_sse2_unaligned ifunc.
17758         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17759         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17760         (strcasestr): Remove __strcasestr_sse42 ifunc.
17761         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17762         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17763         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17765 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17767         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17768         * sysdeps/sh/bits/fenv.h: ... here.
17769         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17771 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17773         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17776         hypotf multiarch implementations.
17777         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17778         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17779         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17780         multiarch hypot for PPC64.
17781         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17782         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17784         multiarch hypotf for PPC64.
17786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17787         modff multiarch implementations.
17788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17791         multiarch modf for PPC64.
17792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17795         multiarch modff for PPC64.
17797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17798         and logl multiarch implementations.
17799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17802         multiarch logb for PPC64.
17803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17806         multiarch logb for PPC64.
17807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17810         multiarch logb for PPC64.
17812         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17813         isinff multiarch implementation.
17814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17815         file.
17816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17818         multiarch isinf for PPC64.
17819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17820         file.
17821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17822         multiarch isinff for PPC64.
17824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17825         finitef multiarch implementation.
17826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17827         file.
17828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17830         multiarch finite for PPC64.
17831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17832         file.
17833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17834         multiarch finitef for PPC64.
17836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17837         lrint multiarch implementation.
17838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17839         file.
17840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17842         multiarch llrint for PPC64.
17843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17844         multiarch lrint for PPC64.
17846         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17847         copysignf multiarch implementation.
17848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17849         file.
17850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17851         file.
17852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17853         multiarch copysign for PPC64.
17854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17855         multiarch copysignf for PPC64.
17857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17858         multiarch implementation.
17859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17860         file.
17861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17862         file.
17863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17864         file.
17865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17866         file.
17867         multiarch llround for PPC64.
17868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17869         multiarch trunc for PPC64.
17870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17871         multiarch truncf for PPC64.
17873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17874         multiarch implementation.
17875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17876         file.
17877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17878         file.
17879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17880         file.
17881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17882         file.
17883         multiarch llround for PPC64.
17884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17885         multiarch round for PPC64.
17886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17887         multiarch roundf for PPC64.
17889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17890         multiarch implementation.
17891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17892         file.
17893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17894         file.
17895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17896         file.
17897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17898         file.
17899         multiarch llround for PPC64.
17900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17901         multiarch floor for PPC64.
17902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17903         multiarch floorf for PPC64.
17905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17906         multiarch implementation.
17907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17908         file.
17909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17910         file.
17911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17912         file.
17913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17914         file.
17915         multiarch llround for PPC64.
17916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17917         multiarch ceil for PPC64.
17918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17919         multiarch ceilf for PPC64.
17921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17922         multiarch implementation.
17923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17924         file.
17925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17926         file.
17927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17928         file.
17929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17930         multiarch llround for PPC64.
17931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17932         multiarch lround for PPC64.
17934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17935         multiarch implementation.
17936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17939         file.
17940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17943         multiarch isnan for PPC64.
17944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17945         multiarch isnanf for PPC64.
17947         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17948         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17949         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17950         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17951         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17954         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17955         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17956         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17957         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17960         multiarch implementations.
17961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17962         (__libc_ifunc_impl_list): Likewise.
17963         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17964         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17965         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17966         multiarch stpcpy for PPC64.
17968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17969         multiarch implementations.
17970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17971         (__libc_ifunc_impl_list): Likewise.
17972         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17973         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17974         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17975         multiarch strcpy for PPC64.
17977         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17978         redefine function name.
17979         (_wordcopy_fwd_dest_aligned): Likewise.
17980         (_wordcopy_bwd_aligned): Likewise.
17981         (_wordcopy_bwd_dest_aligned): Likewise.
17982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17983         multiarch implementations.
17984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17985         (__libc_ifunc_impl_list): Likewise.
17986         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17987         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17988         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17989         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17990         multiarch wcscpy for PPC64.
17992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17993         multiarch implementations.
17994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17995         (__libc_ifunc_impl_list): Likewise.
17996         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17997         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17998         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17999         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18000         multiarch wcscpy for PPC64.
18002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18003         multiarch implementations.
18004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18005         (__libc_ifunc_impl_list): Likewise.
18006         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18007         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18008         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18009         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18010         multiarch wcsrchr for PPC64.
18012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18013         multiarch implementations.
18014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18015         (__libc_ifunc_impl_list): Likewise.
18016         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18017         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18018         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18019         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18020         multiarch wcschr for PPC64.
18022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18023         multiarch implementations.
18024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18025         (__libc_ifunc_impl_list): Likewise.
18026         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18027         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18028         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18029         multiarch strchrnul for PPC64.
18031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18032         implementations.
18033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18034         (__libc_ifunc_impl_list): Likewise.
18035         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18036         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18037         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18038         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18039         strchr for PPC64.
18041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18042         implementations.
18043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18044         (__libc_ifunc_impl_list): Likewise.
18045         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18046         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18047         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18048         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18049         strncmp for PPC64.
18051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18052         multiarch implementations.
18053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18054         (__libc_ifunc_impl_list): Likewise.
18055         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18056         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18057         strncasecmp for PPC64.
18058         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18059         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18060         multiarch strncasecmp_l for PPC64.
18062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18063         multiarch implementations.
18064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18065         (__libc_ifunc_impl_list): Likewise.
18066         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18067         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18068         multiarch strcasecmp for PPC64.
18069         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18070         file.
18071         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18072         multiarch strcasecmp_l for PPC64.
18074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18075         implementations.
18076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18077         (__libc_ifunc_impl_list): Likewise.
18078         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18079         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18080         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18081         strnlen for PPC64.
18083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18084         implementations.
18085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18086         (__libc_ifunc_impl_list): Likewise.
18087         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18088         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18089         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18090         strlen for PPC64.
18092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18093         implementations.
18094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18095         (__libc_ifunc_impl_list): Likewise.
18096         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18097         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18098         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18099         rawmemrchr for PPC64.
18101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18102         implementation.
18103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18104         (__libc_ifunc_impl_list): Likewise.
18105         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18106         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18107         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18108         memrchr for PPC64.
18110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18111         implementation.
18112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18113         (__libc_ifunc_impl_list): Likewise.
18114         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18115         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18116         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18117         memchr for PPC64.
18119         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18120         implementation.
18121         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18122         (__libc_ifunc_impl_list): Likewise.
18123         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18124         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18125         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18126         mempcpy for PPC64.
18128         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18129         avoid cretion of __bzero symbol.
18130         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18131         Likewise.
18132         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18133         Likewise.
18134         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18135         Likewise.
18136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18137         multiarch implementations.
18138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18139         (__libc_ifunc_impl_list): Likewise.
18140         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18141         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18142         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18143         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18144         bzero for PPC32.
18145         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18146         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18147         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18148         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18149         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18150         memset for PPC64.
18151         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18153         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18155         implementations.
18156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18157         (__libc_ifunc_impl_list): Likewise.
18158         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18159         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18160         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18161         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18162         memcmp for PPC64.
18164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18165         multiarch for POWER/PPC64.
18166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18167         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18168         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18169         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18170         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18171         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18172         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18173         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18174         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18175         memcpy for PPC64.
18177         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18178         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18179         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18180         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18181         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18182         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18183         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18184         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18185         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18186         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18187         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18188         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18189         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18190         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18191         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18200 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18202         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18204 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18206         * benchtests/Makefile (bench): Add exp2 and log2.
18207         (LDLIBS-bench-exp2): Add -lm.
18208         (LDLIBS-bench-log2): Likewise.
18209         * benchtests/exp2-inputs: New inputs file.
18210         * benchtests/log2-inputs: New inputs file.
18211         * benchtests/log-inputs: Add new inputs.
18212         * benchtests/tan-inputs: Likewise.
18214 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18216         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18217         definition...
18218         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18219         (csloww2): ... from here.
18221         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18222         instead of structures.
18223         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18224         (POLYNOMIAL): Likewise.
18225         (TAYLOR_SLOW): Likewise.
18226         (__sin): Likewise.
18227         (__cos): Likewise.
18228         (slow1): Likewise.
18229         (slow2): Likewise.
18230         (sloww): Likewise.
18231         (sloww1); Likewise.
18232         (sloww2): Likewise.
18233         (bsloww1): Likewise.
18234         (bsloww2): Likewise.
18235         (cslow2): Likewise.
18236         (csloww): Likewise.
18237         (csloww1): Likewise.
18238         (csloww2): Likewise.
18240 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
18242         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18243         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18244         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18245         * malloc/hooks.c (realloc_check): Likewise.
18247         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18248         * malloc/arena.c: Remove PER_THREAD conditional.
18249         [!PER_THREAD]: Remove code.
18250         (ptmalloc_unlock_all2): Likewise.
18251         (ptmalloc_init): Likewise.
18252         (_int_new_arena): Likewise.
18253         (arena_get2): Likewise.
18254         * malloc/hooks.c (__malloc_get_state): Likewise.
18255         (__malloc_set_state): Likewise.
18256         * malloc/malloc.c: Likewise.
18257         (struct malloc_state): Likewise.
18258         (struct malloc_par): Likewise.
18259         (__libc_realloc): Likewise.
18260         (__libc_mallopt): Likewise.
18262 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18264         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18266 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
18268         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18269         macro to a function.  Check for zero perturb_byte.
18270         (_int_malloc, _int_free): Remove zero perturb_byte checks.
18272         * malloc/malloc.c: (force_reg): Remove.
18273         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18274         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18275         force_reg by atomic_forced_read.
18276         * malloc/arena.c (ptmalloc_init): Likewise.
18277         * malloc/hooks.c (top_check): Likewise.
18279 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18283 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18287 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18289         * math/auto-libm-test-in: Add tests of lgamma.
18290         * math/auto-libm-test-out: Regenerated.
18291         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18292         (M_LOG_2_SQRT_PIl): Likewise.
18293         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18294         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18295         mpfr_f_f1.
18296         (func_calc_desc): Add mpfr_f_f1 union field.
18297         (ARGS1): New macro.
18298         (ARGS2): Likewise.
18299         (ARGS3): Likewise.
18300         (ARGS4): Likewise.
18301         (RET1): Likewise.
18302         (RET2): Likewise.
18303         (CALC): Likewise.
18304         (FUNC): Likewise.
18305         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18306         (test_functions): Add lgamma.
18307         (calc_generic_results): Handle mpfr_f_f1.
18308         * sysdeps/i386/fpu/libm-test-ulps: Update.
18309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18311 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18313         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18314         __mpn_add_n for PowerPC64/POWER7.
18315         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18316         __mpn_sub_n for PowerPC64/POWER7.
18318         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18319         __mpn_addmul_1 for PowerPC64.
18320         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18321         __mpn_submul_1 for PowerPC64.
18322         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18323         for PowerPC64.
18324         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18325         for PowerPC64.
18327 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18329         [BZ #15089]
18330         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18332 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18334         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18336         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18337         add multiarch folders.
18338         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18339         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18340         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18341         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18342         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18343         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18344         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18345         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18346         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18347         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18348         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18357         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18359         New file.
18360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18361         New file.
18362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18363         multiarch __ieee754_hypot for PowerPC32.
18364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18365         New file.
18366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18367         New file.
18368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18369         multiarch __ieee754_hypotf for PowerPC32.
18371         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18372         long_double_symbol only if __logbl is defined.
18373         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18374         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18375         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18376         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18378         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18379         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18380         path for implementation.
18381         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18382         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18384         logb, and logbl multiarch implementations for PowerPC32.
18385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18386         file.
18387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18388         file.
18389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18390         multiarch logb for PowerPC32.
18391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18392         file.
18393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18394         file.
18395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18396         multiarch logbf for PowerPC32.
18397         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18399         file.
18400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18401         multiarch logbl implementation for PowerPC32.
18403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18404         and modff multiarch implementations.
18405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18406         New file.
18407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18408         New file.
18409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18410         multiarch modf for PowerPC32.
18411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18412         New file.
18413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18414         New file.
18415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18416         multiarch modff for PowerPC32.
18418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18419         and lrintf multiarch implementations.
18420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18421         New file.
18422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18423         New file.
18424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18425         multiarch lrint for PowerPC32.
18426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18427         file: multiarch lrintf for PowerPC32.
18429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18430         and lroundf multiarch implementations.
18431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18432         New file.
18433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18434         New file.
18435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18436         New file.
18437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18438         multiarch lround for PowerPC32.
18439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18440         file: multiarch lroundf for PowerPC32.
18442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18443         copysign and copysignf multiarch implementations.
18444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18445         New file.
18446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18447         New file.
18448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18449         file: multiarch copysign for PowerPC32.
18450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18451         file: multiarch copysignf for PowerPC32.
18453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18454         and truncf multiarch implementations.
18455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18456         New file.
18457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18458         file.
18459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18460         multiarch trunc for PowerPC32.
18461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18462         New file.
18463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18464         New file.
18465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18466         multiarch truncf for PowerPC32.
18468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18469         and roundf multiarch implementations.
18470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18471         New file.
18472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18473         file.
18474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18475         multiarch round for PowerPC32.
18476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18477         New file.
18478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18479         New file.
18480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18481         multiarch roundf for PowerPC32.
18483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18484         and floorf multiarch implementations.
18485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18486         New file.
18487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18488         file.
18489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18490         multiarch floor for PowerPC32.
18491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18492         New file.
18493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18494         New file.
18495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18496         multiarch floorf for PowerPC32.
18498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18499         and ceilf multiarch implementations.
18500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18501         New file.
18502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18503         file.
18504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18505         multiarch ceil for PowerPC32.
18506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18507         New file.
18508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18509         file.
18510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18511         multiarch ceilf for PowerPC32.
18513         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18514         is defined.
18515         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18516         FINITEF is defined.
18517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18518         and finitef multiarch implementations.
18519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18520         New file.
18521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18522         file.
18523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18524         multiarch finite for PowerPC32.
18525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18526         New file.
18527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18528         file: multiarch finitef for PowerPC32.
18530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18531         and isinff multiarch implementations.
18532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18533         file.
18534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18535         file.
18536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18537         multiarch isinf for PowerPC32.
18538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18539         New file.
18540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18541         multiarch isinff for PowerPC32.
18543         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18544         alias when __isnan is defined.
18545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18546         and isnanf multiarch implementations.
18547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18548         file.
18549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18550         file.
18551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18552         file.
18553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18554         file.
18555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18556         multiarch isnan for PowerPC32.
18557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18558         New file.
18559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18560         New file.
18561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18562         multiarch isnanf for PowerPC32.
18564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18565         and sqrtf multiarch implementations.
18566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18567         file.
18568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18569         file.
18570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18571         multiarch sqrt for PowerPC32.
18572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18573         file.
18574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18575         file.
18576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18577         multiarch sqrtf for PowerPC32.
18579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18580         and llroundf multiarch implementations.
18581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18582         New file.
18583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18584         New file.
18585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18586         New file.
18587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18588         file: multiarch llround for PowerPC32.
18589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18590         file: multiarch llroundf for PowerPC32.
18592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18593         multiarch PowerPC32 fpu implementations.
18594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18595         New file.
18596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18597         New file.
18598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18599         multiarch llrint for PowerPC32.
18600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18601         New file.
18602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18603         New file.
18604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18605         file.
18607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18609         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18610         file.
18611         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18612         file.
18613         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18614         file.
18615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18616         multiarch wordcopy for PPC32.
18617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18618         wordcopy objects.
18619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18620         (__libc_ifunc_impl_list): Likewise.
18621         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18622         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18623         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18624         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18625         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18626         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18628         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18630         file.
18631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18632         file.
18633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18634         file.
18635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18636         multiarch wcscpy for PPC32.
18637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18638         multiarch objects.
18639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18640         (__libc_ifunc_impl_list): Likewise.
18641         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18642         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18643         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18644         sysdeps/powerpc/power6/wcscpy.c.
18646         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18648         file.
18649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18650         file.
18651         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18652         file.
18653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18654         multiarch wcsrchr for PPC32.
18655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18656         multiarch objects.
18657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18658         (__libc_ifunc_impl_list): Likewise.
18659         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18660         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18661         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18662         sysdeps/powerpc/power6/wcsrchr.c.
18664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18665         file.
18666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18667         file.
18668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18670         multiarch wcschr for PPc32.
18671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18672         multiarch objects.
18673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18674         (__libc_ifunc_impl_list): Likewise.
18675         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18676         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18677         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18678         sysdeps/powerpc/power6/wcschr.c.
18680         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18681         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18682         file.
18683         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18684         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18685         file: multiarch strchr for PPC32.
18686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18687         multiarch objects.
18688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18689         (__libc_ifunc_impl_list): Likewise.
18691         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18692         name.
18693         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18694         file.
18695         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18696         file.
18697         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18698         multiarch strchrnul for PPC32.
18699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18700         multiarch objects.
18701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18702         (__libc_ifunc_impl_list): Likewise.
18704         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18705         file.
18706         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18707         multiarch strncasecmp for PPC32.
18708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18709         file.
18710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18711         multiarch strncasecmp_l for PPC32.
18712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18713         strncasecmp multiarch objects.
18714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18715         (__libc_ifunc_impl_list): Likewise.
18717         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18718         file.
18719         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18720         multiarch strncasecmp for PPC32.
18721         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18722         New file.
18723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18724         multiarch strcasecmp_l for PPC32.
18725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18726         multiarch objects.
18727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18728         (__libc_ifunc_impl_list): Likewise.
18730         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18731         file.
18732         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18733         file.
18734         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18735         multiarch strncmp for PPC32.
18736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18737         multiarch objects.
18738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18739         (__libc_ifunc_impl_list): Likewise.
18741         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18742         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18743         file.
18744         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18745         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18747         multiarch objects.
18748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18749         (__libc_ifunc_impl_list): Likewise.
18751         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18752         file.
18753         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18754         file.
18755         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18757         multiarch objects.
18758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18759         (__libc_ifunc_impl_list): Likewise.
18761         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18762         file.
18763         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18764         file.
18765         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18766         multiarch rawmemchr for PPC32.
18767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18768         multiarch objects.
18769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18770         (__libc_ifunc_impl_list): Likewise.
18772         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18773         file.
18774         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18775         file.
18776         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18777         file: memrchr multiarch for PPC32.
18778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18779         multiarch objects.
18780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18781         (__libc_ifunc_impl_list): Likewise.
18783         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18784         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18785         file.
18786         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18787         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18788         multiarch memchr for PPC32.
18789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18790         multiarch objects.
18791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18792         (__libc_ifunc_impl_list): Likewise.
18794         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18795         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18796         file.
18797         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18798         file.
18799         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18800         file: multiarch mempcpy for PPC32.
18801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18802         multiarch objects.
18803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18804         (__libc_ifunc_impl_list): Likewise.
18806         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18807         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18808         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18809         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18810         multiarch bzero for PPC32.
18811         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18812         file.
18813         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18814         file.
18815         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18816         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18817         file: multiarch memset for PPC32.
18818         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18820         memset multiarch objects.
18821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18822         (__libc_ifunc_impl_list): Likewise.
18824         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18825         file.
18826         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18827         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18828         memcmp for PPC32.
18829         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18831         multiarch objects.
18832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18833         (__libc_ifunc_impl_list): Likewise.
18835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18836         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18838         file.
18839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18840         file.
18841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18842         file.
18843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18844         multiarch memcpy for PPC32.
18845         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18846         multiarch objects.
18847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18848         (__libc_ifunc_impl_list): Likewise.
18850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18851         support multiarch for POWER/PPC32.
18852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18853         Likewise.
18854         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18856         Implies file to make multiarch folder appers before the fpu and
18857         default folder for power4 configuration.
18859 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18861         * scripts/bench.pl: Append volatile keyword to type.
18863 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18865         * sysdeps/sh/sotruss-lib.c: New file.
18866         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18868 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18872 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18874         [BZ #6810]
18875         * math/w_tgamma.c: Include <errno.h>.
18876         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18877         * math/w_tgammaf.c: Include <errno.h>.
18878         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18879         * math/w_tgammal.c: Include <errno.h>.
18880         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18881         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18882         underflow.  Add more tgamma tests.
18883         * math/auto-libm-test-out: Regenerated.
18884         * sysdeps/i386/fpu/libm-test-ulps: Update.
18885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18887         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18888         sin, sinh, tan, tanh, tgamma, y0 and y1.
18889         * math/auto-libm-test-out: Regenerated.
18890         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18891         (TEST_COND_x86): Likewise.
18892         (M_E2l): Remove macro.
18893         (M_E3l): Likewise.
18894         (M_2_SQRT_PIl): Likewise.
18895         (M_SQRT_PIl): Likewise.
18896         (M_1_DIV_El): Likewise.
18897         (log_test_data): Use AUTO_TESTS_f_f.
18898         (log10_test_data): Likewise.
18899         (log1p_test_data): Likewise.
18900         (log2_test_data): Likewise.
18901         (sin_test_data): Likewise.
18902         (sin_tonearest_test_data): Likewise.
18903         (sin_towardzero_test_data): Likewise.
18904         (sin_downward_test_data): Likewise.
18905         (sin_upward_test_data): Likewise.
18906         (sinh_test_data): Likewise.
18907         (sinh_tonearest_test_data): Likewise.
18908         (sinh_towardzero_test_data): Likewise.
18909         (sinh_downward_test_data): Likewise.
18910         (sinh_upward_test_data): Likewise.
18911         (tan_test_data): Likewise.
18912         (tan_tonearest_test_data): Likewise.
18913         (tan_towardzero_test_data): Likewise.
18914         (tan_downward_test_data): Likewise.
18915         (tan_upward_test_data): Likewise.
18916         (tanh_test_data): Likewise.
18917         (tgamma_test_data): Likewise.
18918         (y0_test_data): Likewise.
18919         (y1_test_data): Likewise.
18920         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18921         (special_real_inputs): Add pi/4.
18922         * sysdeps/i386/fpu/libm-test-ulps: Update.
18923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18927         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18928         "longjmp_target" static probes.
18929         (__longjmp): Rename to __longjmp_symbol.
18930         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18931         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18932         on which longjmp to generate.
18933         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18934         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18935         probe.
18936         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18937         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18939         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18940         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18941         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18943         __longjmp_symbol based on which __longjmp to generate.
18944         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18945         probe.
18946         (setjmp): Rename to setjmp_symbol.
18947         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18948         (_setjmp): Rename to _setjmp_symbol.
18949         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18950         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18951         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18952         which setjmp to generate.
18953         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18954         "longjmp_target" static probes.
18956 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18958         * benchtests/README: Add note about output arguments.
18959         * benchtests/bench-sincos.c: Remove file.
18960         * benchtests/sincos-inputs: New file.
18961         * scripts/bench.pl: Identify output arguments and define
18962         static variables for them.
18964         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18966         [BZ #15941]
18967         * Makefile (INSTALL): Add install-plain.texi as the primary
18968         dependency.
18969         * manual/install-plain.texi: New file.
18970         * manual/install.texi: Include node directive only for
18971         non-plaintext output.
18973 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18975         * stdlib/longlong.h: Update from GCC.
18977         [BZ #6807]
18978         [BZ #15901]
18979         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18980         * math/w_j0f.c (y0f): Likewise.
18981         * math/w_j0l.c (__y0l): Likewise.
18982         * math/w_j1.c (y1): Likewise.
18983         * math/w_j1f.c (y1f): Likewise.
18984         * math/w_j1l.c (__y1l): Likewise
18985         * math/w_jn.c (yn): Likewise.
18986         * math/w_jnf.c (ynf): Likewise.
18987         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18988         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18989         value for Bessel function domain errors outside _SVID_ mode.
18990         Adjust sign of return value for yn (negative integer, 0).
18991         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18992         by zero in return for negative x and set sign appropriately for
18993         negative n.
18994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18995         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18996         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18997         expectations in error cases.
18998         (y1_test_data): Likewise.
18999         (yn_test_data): Likewise.
19000         * sysdeps/i386/fpu/libm-test-ulps: Update.
19001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19003 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19005         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19006         "64" to "64-v1".  Add "64-v2".
19007         (abi-64-options): Rename to ...
19008         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
19009         (abi-64-condition): Rename to ...
19010         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
19011         (abi-64-ld-soname): Rename to ...
19012         (abi-64-v1-ld-soname): ... this.
19013         (abi-64-v2-options): Define.
19014         (abi-64-v2-condition): Likewise.
19015         (abi-64-v2-ld-soname): Likewise.
19016         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19017         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19022 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19023             Alan Modra  <amodra@gmail.com>
19025         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19026         New versions for use with the ELFv2 ABI.
19027         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19028         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19029         declaration.
19030         (struct La_ppc64v2_retval): Likewise.
19031         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19032         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19033         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19034         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19035         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19036         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19037         Do not save or restore CR.
19038         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19039         (_dl_profile_resolve): Do no save or restore CR.  Support extended
19040         return values for ELFv2 ABI.  Fix location of FPR return registers.
19041         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19042         updated values for _CALL_ELF == 2.
19043         (La_regs, La_retval, int_retval): Likewise.
19045 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19047         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19048         (FRAME_MIN_SIZE_PARM): Likewise.
19049         (FRAME_BACKCHAIN): Likewise.
19050         (FRAME_CR_SAVE): Likewise.
19051         (FRAME_LR_SAVE): Likewise.
19052         (FRAME_TOC_SAVE): Likewise.
19053         (FRAME_PARM_SAVE): Likewise.
19054         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19055         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19056         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19057         (call_mcount_parm_offset): New macro.
19058         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19059         (PROF): Use symbolic stack frame offsets.
19060         (TAIL_CALL_SYSCALL_ERROR): Likewise.
19061         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19062         Redefine in terms of FRAME_MIN_SIZE.
19063         (_dl_runtime_resolve): Use symbolic stack frame offsets.
19064         (_dl_profile_resolve): Likewise.  Update comment.
19065         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19066         symbols stack frame offsets.
19067         (__sigsetjmp): Likewise.
19068         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19069         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19070         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19071         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19074         (FRAME_BACKCHAIN): Remove.
19075         (FRAME_CR_SAVE): Likewise.
19076         (FRAME_LR_SAVE): Likewise.
19077         (FRAME_COMPILER_DW): Likewise.
19078         (FRAME_LINKER_DW): Likewise.
19079         (FRAME_TOC_SAVE): Likewise.
19080         (FRAME_PARM_SAVE): Likewise.
19081         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19082         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19083         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19085         (CHECK_SP): Use symbolic stack frame offsets.
19086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19087         zone" instead of caller's parameter save area for temp storage.
19088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19089         Likewise.  Also, use symbolic stack frame offsets.
19090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19091         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19092         our own stack frame instead of the caller's.
19093         (__socket): Use symbolic stack frame offsets.
19095 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19096             Alan Modra  <amodra@gmail.com>
19098         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19099         Define.
19100         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19101         (PPC64_LOCAL_ENTRY_OFFSET): Define.
19102         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19103         New function.
19104         (elf_machine_fixup_plt): Call it.
19105         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
19106         reloc arguments.
19107         (elf_machine_rela): Update call to elf_machine_plt_conflict.
19108         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19109         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19110         r2 before calling target.
19112 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19113             Alan Modra  <amodra@gmail.com>
19115         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19116         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19117         versions of macros to support ELFv2 ABI.
19118         (LOCALENTRY): New macro.
19119         (ENTRY, EALIGN): Use it.
19120         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19121         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19122         fall through into ENTRY entry point.
19123         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19124         Only define if _CALL_ELF != 2.
19126         (elf_machine_matches_host): Verify ABI version matches.
19127         (RTLD_START): Use LOCALENTRY.
19128         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19129         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19130         (PLT_ENTRY_WORDS): New macro.
19131         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19132         (elf_machine_runtime_setup): Support ELFv2 ABI.
19133         (elf_machine_fixup_plt): Likewise.
19134         (elf_machine_plt_conflict): Likewise.
19135         (resolve_ifunc): Likewise.
19136         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19137         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19138         Likewise.
19139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19140         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19142         (makecontext): Support ELFv2 ABI.
19143         * elf/elf.h (EF_PPC64_ABI): Define.
19145 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19147         * sysdeps/powerpc/powerpc64/sysdep.h
19148         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19149         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19150         (ENTRY) [ASSEMBLER]: ... but instead here ...
19151         (EALIGN) [ASSEMBLER]: ... and here.
19152         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19153         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19154         (ENTRY_2) [!ASSEMBLER]: Use it.
19155         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19156         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
19157         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19158         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19159         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19161         Use PPC64_LOAD_FUNCPTR.
19163         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19165 2013-12-04  Alan Modra  <amodra@gmail.com>
19167         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19168         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19169         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19170         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19172         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19173         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19174         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19175         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19176         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19177         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19179 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
19181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19182         (__makecontext): Fix incorrect CFI when backtracing out of
19183         context created via makecontext.
19184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19185         (__setcontext): Fix incorrect CFI during switch to new context.
19186         (__novec_setcontext): Likewise.
19188 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19190         [BZ #4772]
19191         * time/strptime_l.c (__strptime_internal): Allow modifiers
19192         in strptime.
19193         * time/tst-strptime.c (day_tests): Add testcase.
19195 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19197         * scripts/bench.pl: Skip over blank lines.
19199 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19201         [BZ #926]
19202         * manual/time.texi (Calendar Time): Clarify what timezone functions
19203         use.
19205 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19209 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
19211         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19212         implementation.
19213         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19214         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19215         * debug/memset_chk.c (__memset_chk): Likewise.
19216         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19217         * debug/strncpy_chk.c: Likewise.
19219 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19221         [BZ #15268]
19222         [BZ #15425]
19223         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19224         (__ieee754_exp): For possibly underflowing results, check size of
19225         result and force underflow exception if required.
19226         * math/auto-libm-test-in: Add more tests of exp.
19227         * math/auto-libm-test-out: Regenerated.
19228         * sysdeps/i386/fpu/libm-test-ulps: Update.
19229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19231         [BZ #16283]
19232         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19233         * math/w_exp2f.c (__exp2f): Likewise.
19234         * math/w_exp2l.c (__exp2l): Likewise.
19235         * math/auto-libm-test-in: Do not allow missing errno on exp2
19236         underflow.
19237         * math/auto-libm-test-out: Regenerated.
19239 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
19241         [BZ #16274]
19242         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19243         handle filename validation.
19244         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19245         (do_open): Delete.
19247 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
19249         [BZ #6786]
19250         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19251         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19252         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19253         <float.h>.
19254         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19255         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19256         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19257         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19258         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19259         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19260         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19261         * math/auto-libm-test-in: Don't allow missing errno from erfc.
19262         Add more erfc tests.
19263         * math/auto-libm-test-out: Regenerated.
19264         * sysdeps/i386/fpu/libm-test-ulps: Update.
19265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19268         exp2, expm1, j0 and j1.
19269         * math/auto-libm-test-out: Regenerated.
19270         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19271         (erfc_test_data): Likewise.
19272         (exp_test_data): Likewise.
19273         (exp_tonearest_test_data): Likewise.
19274         (exp_towardzero_test_data): Likewise.
19275         (exp_downward_test_data): Likewise.
19276         (exp_upward_test_data): Likewise.
19277         (exp10_test_data): Likewise.
19278         (exp2_test_data): Likewise.
19279         (expm1_test_data): Likewise.
19280         (j0_test_data): Likewise.
19281         (j1_test_data): Likewise.
19282         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19283         (input_flag_type): Add flag_xfail_rounding.
19284         (input_flags): Add xfail-rounding.
19285         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19286         (output_for_one_input_case): Handle flag_xfail_rounding.
19287         * sysdeps/i386/fpu/libm-test-ulps: Update.
19288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19290 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19292         [BZ #16289]
19293         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19294         division by 0.
19296 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19298         [BZ #16195]
19299         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19300         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19301         (STAP_PROBE0): New macro.
19302         (STAP_PROBE1): Likewise.
19303         (STAP_PROBE2): Likewise.
19304         (STAP_PROBE3): Likewise.
19305         (STAP_PROBE4): Likewise.
19307 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19309         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19311 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19313         * benchtests/Makefile (bench): Add sqrt.
19314         (LDLIBS-bench-sqrt): New.
19315         * benchtests/sqrt-input: New.
19317 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19319         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19320         (GAIH_EAI): Likewise.
19321         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19322         (gaih_inet): Likewise.
19323         (getaddrinfo): Don't use GAIH_EAI.
19325         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19326         (struct gaih): Remove definition.
19328 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19330         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19331         Use HERRNOP directly.
19333 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19337 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19339         * math/gen-auto-libm-tests.c (test_functions): Add more
19340         single-argument functions.
19341         (special_fill_pi_2): New function.
19342         (special_fill_minus_pi_2): Likewise.
19343         (special_fill_pi_6): Likewise.
19344         (special_fill_minus_pi_6): Likewise.
19345         (special_fill_pi_3): Likewise.
19346         (special_fill_2pi_3): Likewise.
19347         (special_fill_e): Likewise.
19348         (special_fill_1_e): Likewise.
19349         (special_fill_e_minus_1): Likewise.
19350         (special_real_inputs): Add more special inputs.
19351         (output_for_one_input_case): Do not require ERANGE on underflow to
19352         zero if round-to-nearest result does not underflow to zero, unless
19353         exact results required.
19354         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19355         atan, atanh, cbrt, cos and cosh.
19356         * math/auto-libm-test-out: Regenerated.
19357         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19358         (acos_tonearest_test_data): Likewise.
19359         (acos_towardzero_test_data): Likewise.
19360         (acos_downward_test_data): Likewise.
19361         (acos_upward_test_data): Likewise.
19362         (acosh_test_data): Likewise.
19363         (asin_test_data): Likewise.
19364         (asin_tonearest_test_data): Likewise.
19365         (asin_towardzero_test_data): Likewise.
19366         (asin_upward_test_data): Likewise.
19367         (asinh_test_data): Likewise.
19368         (atan_test_data): Likewise.
19369         (atanh_test_data): Likewise.
19370         (cbrt_test_data): Likewise.
19371         (cos_test_data): Likewise.
19372         (cos_tonearest_test_data): Likewise.
19373         (cos_towardzero_test_data): Likewise.
19374         (cos_downward_test_data): Likewise.
19375         (cos_upward_test_data): Likewise.
19376         (cosh_test_data): Likewise.
19377         (cosh_tonearest_test_data): Likewise.
19378         (cosh_towardzero_test_data): Likewise.
19379         (cosh_downward_test_data): Likewise.
19380         (cosh_upward_test_data): Likewise.
19381         * sysdeps/i386/fpu/libm-test-ulps: Update.
19382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19384 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19386         [BZ #6787]
19387         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19388         * math/w_exp10f.c (__exp10f): Likewise.
19389         * math/w_exp10l.c (__exp10l): Likewise.
19390         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19391         errno settings in existing tests.
19393         [BZ #14032]
19394         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19395         precision control set to double precision.
19396         * sysdeps/i386/fpu/w_sqrt.c: New file.
19397         * math/auto-libm-test-in: Add more tests.
19398         * math/auto-libm-test-out: Update.
19400         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19401         (sqrt_test_tonearest): New function.
19402         (sqrt_towardzero_test_data): New variable.
19403         (sqrt_test_towardzero): New function.
19404         (sqrt_downward_test_data): New variable.
19405         (sqrt_test_downward): New function.
19406         (sqrt_upward_test_data): New variable.
19407         (sqrt_test_upward): New function.
19408         (main): Call the new functions.
19410         * math/gen-auto-libm-tests.c: New file.
19411         * math/auto-libm-test-in: Likewise.
19412         * math/auto-libm-test-out: New generated file.
19413         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19414         variables.
19415         (%beautify): Add generated representations of zero.
19416         (top level): Set $auto_input and call parse_auto_input.
19417         (beautify): Remove trailing "f" from hex float constants.
19418         (parse_args): Handle XFAIL_TEST.
19419         (convert_condition): New function.
19420         (or_value): Likewise.
19421         (or_cond_value): Likewise.
19422         (generate_testfile): Handle AUTO_TESTS_* lines.
19423         (parse_auto_input): New function.
19424         * math/libm-test.inc (XFAIL_TEST): New macro.
19425         (ERRNO_UNCHANGED): Update value.
19426         (ERRNO_EDOM): Likewise.
19427         (ERRNO_ERANGE): Likewise.
19428         (IGNORE_RESULT): Likewise.
19429         (TEST_COND_flt_32): New macro.
19430         (TEST_COND_dbl_64): Likewise.
19431         (TEST_COND_ldbl_96_intel): Likewise.
19432         (TEST_COND_ldbl_96_m68k): Likewise.
19433         (TEST_COND_ldbl_128): Likewise.
19434         (TEST_COND_ldbl_128ibm): Likewise.
19435         (TEST_COND_long32): Likewise.
19436         (TEST_COND_long64): Likewise.
19437         (TEST_COND_before_rounding): Likewise.
19438         (TEST_COND_after_rounding): Likewise.
19439         (enable_test): Handle XFAIL_TEST flag.
19440         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19441         with finite results.
19442         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19443         auto-libm-test-out.
19445 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19446             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19448         [BZ #16214]
19449         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19450         __tls_get_addr_internal instead of __tls_get_offset in order to
19451         avoid GOT pointer dependency.  Make rtld export
19452         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19453         __tls_get_addr since we are a __tls_get_offset platform.
19454         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19455         GOT pointer being set up before.
19456         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19458 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19460         * manual/math.texi (Errors in Math Functions): Document accuracy
19461         goals.
19463         [BZ #15004]
19464         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19465         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19466         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19467         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19468         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19469         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19470         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19471         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19472         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19473         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19474         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19475         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19476         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19477         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19478         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19479         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19481         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19482         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19483         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19484         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19485         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19486         Likewise.
19487         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19488         Likewise.
19489         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19490         Likewise.
19491         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19492         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19493         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19494         atomic-feupdateenv and flt-rounds.
19495         * sysdeps/powerpc/nofpu/Versions (libc): Add
19496         __atomic_feholdexcept, __atomic_feclearexcept,
19497         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19498         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19499         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19500         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19501         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19502         here.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19504         Update.
19506         * manual/arith.texi (FP Exceptions): Document that exceptions may
19507         not be raised when matherr is used.
19508         (Math Error Reporting): Document overflow in directed rounding
19509         modes.  Document that errno may not be set when finite values are
19510         returned on overflow.  Document intent to set errno on underflow
19511         only for underflow to zero.
19513         [BZ #16271]
19514         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19515         round-to-nearest then adjust result for other rounding modes.
19516         * include/fenv.h (fegetround): Use libm_hidden_proto.
19517         * math/fegetround.c (fegetround): Use libm_hidden_def.
19518         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19519         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19520         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19521         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19522         Likewise.
19523         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19524         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19525         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19526         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19528 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19530         [BZ #16077]
19531         * nss/Versions (libnss_files): Add
19532         _nss_files_gethostbyname3_r.
19533         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19534         New function.
19535         (HOST_DB_LOOKUP): Remove macro.
19536         (_nss_files_gethostbyname_r): Implement function without the
19537         HOST_DB_LOOKUP macro.
19538         (_nss_files_gethostbyname2_r): Likewise.
19540 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19542         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19544 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19546         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19547         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19548         warning.
19550 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19552         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19553         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19554         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19555         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19556         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19557         __fe_nomask_env_priv and attribute_hidden.
19558         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19559         (libc_feupdateenv_test_ppc): Likewise.
19560         (libc_feresetround_ppc): Likewise.
19561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19562         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19563         compat_symbol macro.
19564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19565         (__fe_nomask_env): Likewise.
19566         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19568 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19570         * string/Makefile: Remove ifunc tests.
19571         * string/test-string.h: Define TEST_IFUNC.
19572         * string/test-bcopy-ifunc.c: Remove.
19573         * string/test-bzero-ifunc.c: Likewise.
19574         * string/test-memccpy-ifunc.c: Likewise.
19575         * string/test-memchr-ifunc.c: Likewise.
19576         * string/test-memcmp-ifunc.c: Likewise.
19577         * string/test-memcpy-ifunc.c: Likewise.
19578         * string/test-memmem-ifunc.c: Likewise.
19579         * string/test-memmove-ifunc.c: Likewise.
19580         * string/test-mempcpy-ifunc.c: Likewise.
19581         * string/test-memrchr-ifunc.c: Likewise.
19582         * string/test-memset-ifunc.c: Likewise.
19583         * string/test-rawmemchr-ifunc.c: Likewise.
19584         * string/test-stpcpy-ifunc.c: Likewise.
19585         * string/test-stpncpy-ifunc.c: Likewise.
19586         * string/test-strcasecmp-ifunc.c: Likewise.
19587         * string/test-strcasestr-ifunc.c: Likewise.
19588         * string/test-strcat-ifunc.c: Likewise.
19589         * string/test-strchr-ifunc.c: Likewise.
19590         * string/test-strchrnul-ifunc.c: Likewise.
19591         * string/test-strcmp-ifunc.c: Likewise.
19592         * string/test-strcpy-ifunc.c: Likewise.
19593         * string/test-strcspn-ifunc.c: Likewise.
19594         * string/test-strlen-ifunc.c: Likewise.
19595         * string/test-strncasecmp-ifunc.c: Likewise.
19596         * string/test-strncat-ifunc.c: Likewise.
19597         * string/test-strncmp-ifunc.c: Likewise.
19598         * string/test-strncpy-ifunc.c: Likewise.
19599         * string/test-strnlen-ifunc.c: Likewise.
19600         * string/test-strpbrk-ifunc.c: Likewise.
19601         * string/test-strrchr-ifunc.c: Likewise.
19602         * string/test-strspn-ifunc.c: Likewise.
19603         * string/test-strstr-ifunc.c: Likewise.
19605 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19607         * benchtests/Makefile: Remove ifunc tests.
19608         * benchtests/bench-string.h: Define TEST_IFUNC.
19609         * benchtests/bench-bcopy-ifunc.c: Remove.
19610         * benchtests/bench-bzero-ifunc.c: Likewise.
19611         * benchtests/bench-memccpy-ifunc.c: Likewise.
19612         * benchtests/bench-memchr-ifunc.c: Likewise.
19613         * benchtests/bench-memcmp-ifunc.c: Likewise.
19614         * benchtests/bench-memcpy-ifunc.c: Likewise.
19615         * benchtests/bench-memmem-ifunc.c: Likewise.
19616         * benchtests/bench-memmove-ifunc.c: Likewise.
19617         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19618         * benchtests/bench-memrchr-ifunc.c: Likewise.
19619         * benchtests/bench-memset-ifunc.c: Likewise.
19620         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19621         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19622         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19623         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19624         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19625         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19626         * benchtests/bench-strcat-ifunc.c: Likewise.
19627         * benchtests/bench-strchr-ifunc.c: Likewise.
19628         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19629         * benchtests/bench-strcmp-ifunc.c: Likewise.
19630         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19631         * benchtests/bench-strcpy-ifunc.c: Likewise.
19632         * benchtests/bench-strcspn-ifunc.c: Likewise.
19633         * benchtests/bench-strlen-ifunc.c: Likewise.
19634         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19635         * benchtests/bench-strncat-ifunc.c: Likewise.
19636         * benchtests/bench-strncmp-ifunc.c: Likewise.
19637         * benchtests/bench-strncpy-ifunc.c: Likewise.
19638         * benchtests/bench-strnlen-ifunc.c: Likewise.
19639         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19640         * benchtests/bench-strrchr-ifunc.c: Likewise.
19641         * benchtests/bench-strsep-ifunc.c: Likewise.
19642         * benchtests/bench-strspn-ifunc.c: Likewise.
19643         * benchtests/bench-strstr-ifunc.c: Likewise.
19645 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19647         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19649 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19651         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19652         * rt/aio.h: Likewise.
19653         * sysdeps/gnu/bits/utmp.h: Likewise.
19654         * sysdeps/gnu/bits/utmpx.h: Likewise.
19655         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19656         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19657         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19658         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19659         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19660         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19661         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19662         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19663         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19664         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19665         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19666         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19667         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19669         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19670         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19671         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19672         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19673         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19674         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19675         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19676         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19677         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19678         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19679         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19681         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19682         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19683         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19684         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19685         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19686         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19687         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19688         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19689         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19690         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19691         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19692         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19693         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19694         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19695         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19696         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19698 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19700         [BZ #16245]
19701         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19702         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19704 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19706         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19707         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19708         Likewise.
19710 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19712         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19713         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19714         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19715         (__fesetround): Remove define.
19716         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19717         rounding and exceptions handling.
19718         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19719         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19720         (__fe_nomask_env): Likewise.
19721         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19722         __fegetround instead of fegetround.
19723         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19724         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19726 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19728         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19729         it's there.
19731         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19733 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19735         [BZ #11157]
19736         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19737         (encrypt_r): Likewise.
19738         * malloc/obstack.h (obstack_free): Likewise.
19739         * posix/unistd.h (encrypt): Likewise.
19741 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19743         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19744         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19745         DL_CALL_DT_FINI() that call the functions directly.
19746         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19747         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19748         * elf/dl-fini.c: Likewise.
19750 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19752         * malloc/hooks.c (memalign_check): Add alignment rounding.
19753         * malloc/malloc.c (_mid_memalign): New function.
19754         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19755         Implement by calling _mid_memalign.
19756         * manual/probes.texi (Memory Allocation Probes): Remove
19757         memory_valloc_retry and memory_pvalloc_retry.
19759 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19761         * locale/programs/locarchive.c (open_archive): Add const
19762         qualifier to ARCHIVEFNAME and copy default fname to
19763         DEFAULT_FNAME.
19765         [BZ #15601]
19766         * libio/tst-widetext.input: Rename Oriya to Odia.
19767         * locale/iso-639.def: Likewise.
19769         * manual/probes.texi (Mathematical Function Probes): Add
19770         documentation for sin, cos, asin and acos probes.
19771         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19772         (__sin32): Add slowasin probe.
19773         (__cos32): Add slowacos probe.
19774         (__mpsin): Add slowsin probe.
19775         (__mpcos): Add slowcos probe.
19777 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19779         [BZ #15483]
19780         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19781         thread-local __sim_exceptions_thread and global
19782         __sim_exceptions_global.
19783         (__sim_disabled_exceptions): Change to thread-local
19784         __sim_disabled_exceptions_thread and global
19785         __sim_disabled_exceptions_global.
19786         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19787         and global __sim_round_mode_global.
19788         (__simulate_exceptions): Use thread-local floating-point state and
19789         set global state from it as needed.
19790         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19791         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19792         __sim_round_mode_thread.
19793         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19794         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19795         and global __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         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19802         (SIM_SET_GLOBAL): Likewise.
19803         * sysdeps/powerpc/soft-fp/sfp-machine.h
19804         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19805         __sim_round_mode_thread.
19806         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19807         __sim_disabled_exceptions_thread.
19808         (__sim_exceptions): Change to __sim_exceptions_thread.
19809         (__sim_disabled_exceptions): Change to
19810         __sim_disabled_exceptions_thread.
19811         (__sim_round_mode): Change to __sim_round_mode_thread.
19812         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19813         thread-local floating-point state and set global state from it as
19814         needed.
19815         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19816         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19817         (__sim_disabled_exceptions): Remove extern declaration.
19818         (feenableexcept): Use thread-local floating-point state and set
19819         global state from it as needed.
19820         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19821         extern declaration.
19822         (__sim_disabled_exceptions): Likewise.
19823         (__sim_round_mode): Likewise.
19824         (__fegetenv): Use thread-local floating-point state.
19825         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19826         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19827         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19828         floating-point state and set global state from it as needed.
19829         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19830         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19831         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19832         Likewise.
19833         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19834         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19835         Likewise.
19836         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19837         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19838         Use __sim_round_mode_thread.
19839         * math/test-fenv-tls.c: New file.
19840         * math/Makefile (tests): Add test-fenv-tls.
19841         ($(objpfx)test-fenv-tls): Depend on
19842         $(common-objpfx)nptl/libpthread.so.
19844 2013-11-19  Andreas Schwab  <schwab@suse.de>
19846         * locale/programs/locale.c (show_info): Decode wordarray elements.
19847         * locale/categories.def (LC_MONETARY): Add element for
19848         _NL_MONETARY_CRNCYSTR.
19849         * locale/C-monetary.c (conversion_rate): New variable.
19850         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19851         element.
19853 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19855         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19856         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19858 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19860         * elf/Makefile (tst-auxv): New test.
19861         * elf/tst-auxv.c: New
19862         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19864 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19866         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19867         (hidden_proto): Caller changed.
19868         (hidden_tls_proto): New macro.
19869         (libc_hidden_tls_proto): Likewise.
19870         (rtld_hidden_tls_proto): Likewise.
19871         (libm_hidden_tls_proto): Likewise.
19872         (libresolv_hidden_tls_proto): Likewise.
19873         (librt_hidden_tls_proto): Likewise.
19874         (libdl_hidden_tls_proto): Likewise.
19875         (libnss_files_hidden_tls_proto): Likewise.
19876         (libnsl_hidden_tls_proto): Likewise.
19877         (libnss_nisplus_hidden_tls_proto): Likewise.
19878         (libutil_hidden_tls_proto): Likewise.
19880 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19882         [BZ #10253]
19883         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19884         (decompose_rpath): Defer expansion to fillin_rpath.
19885         (_dl_init_paths): Pass linkmap to fillin_rpath.
19887 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19889         * benchtests/Makefile: Add strsep.
19890         * benchtests/bench-strsep.c: New file: strsep benchtest.
19891         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19893 2013-11-18  Andreas Schwab  <schwab@suse.de>
19895         * locale/programs/locale.c (show_info) [case byte]: Check for
19896         '\377' instead of '\177'.
19897         * locale/C-monetary.c (not_available): Always use "\377".
19898         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19899         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19900         detect unavailable sign_posn locale elements.
19901         * locale/localeconv.c (__localeconv): For grouping and
19902         mon_grouping handle "\177" and "\377" like no grouping.
19903         (INT_ELEM): New macro.  Use it to set all numeric members.
19904         * locale/programs/ld-monetary.c (monetary_read)
19905         <tok_mon_grouping>: Normalize single -1 to the empty string.
19906         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19907         Likewise.
19909 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19911         [BZ #16055]
19912         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19913         when we match (nil).
19914         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19916 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19918         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19919         (NO_TEST_INLINE): Update value.
19920         (ERRNO_UNCHANGED): Likewise.
19921         (ERRNO_EDOM): Likewise.
19922         (ERRNO_ERANGE): Likewise.
19923         (IGNORE_RESULT): Likewise.
19924         (check_float_internal): Check signs of NaN results if
19925         TEST_NAN_SIGN used.
19926         (check_complex): Pass TEST_NAN_SIGN flag through to second
19927         check_float_internal call.
19928         (copysign_test_data): Add tests with quiet NaNs as second
19929         argument.  Use TEST_NAN_SIGN.
19930         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19931         TEST_NAN_SIGN.
19932         (signbit_test_data): Add tests of quiet NaN argument.
19933         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19935         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19936         $ignore_result.
19937         (parse_args): Handle function results specified as IGNORE.
19938         * math/libm-test.inc (IGNORE_RESULT): New macro.
19939         (check_float_internal): Do not check numerical result if flag
19940         IGNORE_RESULT set.
19941         (check_complex): Pass through IGNORE_RESULT to second
19942         check_float_internal call.
19943         (check_int): Do not check numerical result if flag IGNORE_RESULT
19944         set.
19945         (check_long): Likewise.
19946         (check_bool): Likewise.
19947         (check_longlong): Likewise.
19948         (lrint_test_data): Add tests of infinite and NaN arguments.
19949         (lrint_tonearest_test_data): Likewise.
19950         (lrint_towardzero_test_data): Likewise.
19951         (lrint_downward_test_data): Likewise.
19952         (lrint_upward_test_data): Likewise.
19953         (llrint_test_data): Likewise.
19954         (llrint_tonearest_test_data): Likewise.
19955         (llrint_towardzero_test_data): Likewise.
19956         (llrint_downward_test_data): Likewise.
19957         (llrint_upward_test_data): Likewise.
19958         (lround_test_data): Likewise.
19959         (llround_test_data): Likewise.
19961         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19962         (ERRNO_UNCHANGED): Update value.
19963         (ERRNO_EDOM): Likewise.
19964         (ERRNO_ERANGE): Likewise.
19965         (NO_TEST_INLINE_FLOAT): New macro.
19966         (NO_TEST_INLINE_DOUBLE): Likewise.
19967         (enable_test): New function.
19968         (RUN_TEST_f_f): Check enable_test before running test.
19969         (RUN_TEST_2_f): Likewise.
19970         (RUN_TEST_fff_f): Likewise.
19971         (RUN_TEST_c_f): Likewise.
19972         (RUN_TEST_f_f1): Likewise.
19973         (RUN_TEST_fF_f1): Likewise.
19974         (RUN_TEST_fI_f1): Likewise.
19975         (RUN_TEST_ffI_f1): Likewise.
19976         (RUN_TEST_c_c): Likewise.
19977         (RUN_TEST_cc_c): Likewise.
19978         (RUN_TEST_f_i): Likewise.
19979         (RUN_TEST_f_i_tg): Likewise.
19980         (RUN_TEST_ff_i_tg): Likewise.
19981         (RUN_TEST_f_b): Likewise.
19982         (RUN_TEST_f_b_tg): Likewise.
19983         (RUN_TEST_f_l): Likewise.
19984         (RUN_TEST_f_L): Likewise.
19985         (RUN_TEST_fFF_11): Likewise.
19986         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19987         conditionals.
19988         (cosh_test_data): Likewise.
19989         (exp_test_data): Likewise.
19990         (expm1_test_data): Likewise.
19991         (hypot_test_data): Likewise.
19992         (pow_test_data): Likewise.
19993         (sinh_test_data): Likewise.
19994         (tanh_test_data): Likewise.
19995         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19996         flags argument.
19998         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19999         tests with quiet NaN input and output.
20000         (acosh_test_data): Likewise.
20001         (asin_test_data): Likewise.
20002         (asinh_test_data): Likewise.
20003         (atan_test_data): Likewise.
20004         (atanh_test_data): Likewise.
20005         (atan2_test_data): Likewise.
20006         (cbrt_test_data): Likewise.
20007         (cos_test_data): Likewise.
20008         (cosh_test_data): Likewise.
20009         (erf_test_data): Likewise.
20010         (erfc_test_data): Likewise.
20011         (exp_test_data): Likewise.
20012         (exp10_test_data): Likewise.
20013         (exp2_test_data): Likewise.
20014         (expm1_test_data): Likewise.
20015         (hypot_test_data): Likewise.
20016         (j0_test_data): Likewise.
20017         (j1_test_data): Likewise.
20018         (jn_test_data): Likewise.
20019         (lgamma_test_data): Likewise.
20020         (log_test_data): Likewise.
20021         (log10_test_data): Likewise.
20022         (log1p_test_data): Likewise.
20023         (log2_test_data): Likewise.
20024         (pow_test_data): Likewise.
20025         (scalb_test_data): Likewise.
20026         (sin_test_data): Likewise.
20027         (sincos_test_data): Likewise.
20028         (sinh_test_data): Likewise.
20029         (tan_test_data): Likewise.
20030         (tanh_test_data): Likewise.
20031         (tgamma_test_data): Likewise.
20032         (y0_test_data): Likewise.
20033         (y1_test_data): Likewise.
20034         (yn_test_data): Likewise.
20036         [BZ #16167]
20037         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20038         argument being NaN and avoid computations with second argument in
20039         that case.
20040         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20041         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20042         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20044 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
20046         * locale/iso-639.def: Add Chitwani Tharu (the).
20048 2013-11-14  Andreas Schwab  <schwab@suse.de>
20050         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20051         word instead of empty string.
20053 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20056         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20058         (__fe_nomask_env): Likewise.
20060 2013-11-13  Steve Ellcey  <sellcey@mips.com>
20062         * benchtests/bench-timing.h: Include time.h.
20064 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
20066         [BZ #15997]
20067         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20068         to 3.4.0 for x32.
20069         * sysdeps/unix/sysv/linux/configure: Regenerated.
20071 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
20073         [BZ #16151]
20074         * stdlib/strtod_l.c (round_and_return): Do not consider
20075         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20076         exponent one less than half the least subnormal exponent.
20077         * stdlib/test-strtod-round-data: Add more tests.
20078         * stdlib/tst-strtod-round.c (tests): Regenerated.
20080 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20082         [BZ #14143]
20083         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20084         (__fe_mask_env): Likewise.
20085         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20086         libm_hidden_proto and add function prototype.
20087         (__fe_mask_env): Add function prototype.
20088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20089         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20091         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20093         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20095 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20097         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20098         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20100 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20102         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20103         of htab_find_slot().
20105 2013-11-11  David S. Miller  <davem@davemloft.net>
20107         [BZ #16150]
20108         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20109         symbol in the non-vis3 case in static builds.
20110         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20111         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20112         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20113         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20115 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
20117         [BZ #387]
20118         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20119         it is empty.
20121 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20123         * benchtests/Makefile: Add bench-strtod.
20124         * benchtests/bench-strtod.c: New file: strtod benchtest
20126 2013-11-11  Andreas Schwab  <schwab@suse.de>
20128         [BZ #16153]
20129         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20130         terminating NUL in key length.
20132 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20134         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20135         Add artificial ODP entry for vDSO symbol for PPC64.
20136         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20137         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20139 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
20141         [BZ #15374]
20142         * nss/getent.c (services_keys): Recognize services starting with digit.
20144 2013-11-06  David S. Miller  <davem@davemloft.net>
20146         [BZ #15985]
20147         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20148         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20150 2013-11-06  Will Newton  <will.newton@linaro.org>
20152         * manual/memory.texi (Malloc Examples): Remove register
20153         keyword from examples.
20155 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
20157         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20159 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
20161         [BZ #6981]
20162         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20163         depending on [__GCC_IEC_559 > 0].
20164         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20165         depending on [__GCC_IEC_559_COMPLEX > 0].
20167 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
20169         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20170         to iso-639.def.
20172 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
20174         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20176 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
20178         [BZ #16112]
20179         * malloc/malloc (malloc_info): Do not handle first bin as
20180         special case.
20182 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
20184         * locale/iso-639.def: Add Central Nahuatl (nhn).
20186 2013-11-01  Bruno Haible  <bruno@clisp.org>
20188         [BZ #7003]
20189         * manual/math.texi (BSD Random): Specify range upper bound as
20190         in POSIX.
20192 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
20194         * locale/iso-639.def: Add Meadow Mari (mhr).
20196 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
20198         [BZ #14752], [BZ #15763]
20199         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20200         Validate name.
20201         * rt/tst_shm.c: Add test for escaping directory.
20203 2013-10-31  Andreas Schwab  <schwab@suse.de>
20205         [BZ #15917]
20206         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20207         followed by 'x' as part of digit sequence.
20208         * stdio-common/tst-sscanf.c (double_tests2): New tests.
20210 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20212         [BZ #16037]
20213         * configure.ac: allow GNU Make 4.0 and greater.
20214         * configure: Regenerated.
20216 2013-10-30  Will Newton  <will.newton@linaro.org>
20218         [BZ #16038]
20219         * malloc/hooks.c (memalign_check): Limit alignment to the
20220         maximum representable power of two.
20221         * malloc/malloc.c (__libc_memalign): Likewise.
20222         * malloc/tst-memalign.c (do_test): Add test for very
20223         large alignment values.
20224         * malloc/tst-posix_memalign.c (do_test): Likewise.
20226 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20228         [BZ #11087]
20229         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20230         (munmap_chunk): Likewise.
20231         (mremap_chunk): Likewise.
20233 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
20235         [BZ #15799]
20236         * stdlib/div.c (div): Remove obsolete code.
20237         * stdlib/ldiv.c (ldiv): Likewise.
20238         * stdlib/lldiv.c (lldiv): Likewise.
20240 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20242         [BZ #16071]
20243         * nss/nss_files/files-XXX.c (get_contents_ret): New
20244         enumerator.
20245         (get_contents): New function.
20246         (internal_getent): Use it.  Expand size of LINEBUFLEN.
20248 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
20250         * configure.in: Moved to ...
20251         * configure.ac: ... here. Change reference to configure.in
20252         to configure.ac.
20253         * sysdeps/arm/preconfigure.ac: ... here.
20254         configure.in to configure.ac.
20255         * sysdeps/gnu/configure.in: Moved to ...
20256         * sysdeps/gnu/configure.ac: ... here.
20257         * sysdeps/i386/configure.in: Moved to ...
20258         * sysdeps/i386/configure.ac: ... here.
20259         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20260         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20261         * sysdeps/mach/configure.in: Moved to ...
20262         * sysdeps/mach/configure.ac: ... here.
20263         * sysdeps/mach/hurd/configure.in: Moved to ...
20264         * sysdeps/mach/hurd/configure.ac: ... here.
20265         * sysdeps/powerpc/configure.in: Moved to ...
20266         * sysdeps/powerpc/configure.ac: ... here.
20267         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20268         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20269         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20270         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20271         * sysdeps/s390/s390-32/configure.in: Moved to ...
20272         * sysdeps/s390/s390-32/configure.ac: ... here.
20273         * sysdeps/s390/s390-64/configure.in: Moved to ...
20274         * sysdeps/s390/s390-64/configure.ac: ... here.
20275         * sysdeps/sh/configure.in: Moved to ...
20276         * sysdeps/sh/configure.ac: ... here.
20277         * sysdeps/sparc/configure.in: Moved to ...
20278         * sysdeps/sparc/configure.ac: ... here.
20279         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20280         * sysdeps/unix/sysv/linux/configure.ac: ... here.
20281         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20282         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20283         * sysdeps/x86_64/configure.in: Moved to ...
20284         * sysdeps/x86_64/configure.ac: ... here.
20285         * sysdeps/x86_64/preconfigure.in: Moved to ...
20286         * sysdeps/x86_64/preconfigure.ac: ... here.
20287         * aclocal.m4: Change reference to configure.in to configure.ac.
20288         * config.h.in: Likewise.
20289         * manual/install.texi: Likewise.
20290         * manual/maint.texi: Likewise.
20291         * Makefile: Likewise.
20292         * malloc/Makefile: Likewise.
20293         * nscd/Makefile: Likewise.
20294         * Makeconfig: Change reference to configure.in and
20295         preconfigure.in to configure.ac and preconfigure.ac
20296         respectively.
20297         * INSTALL: Regenerated.
20298         * configure: Likewise.
20299         * sysdeps/gnu/configure: Likewise.
20300         * sysdeps/i386/configure: Likewise.
20301         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20302         * sysdeps/mach/configure: Likewise.
20303         * sysdeps/mach/hurd/configure: Likewise.
20304         * sysdeps/powerpc/configure: Likewise.
20305         * sysdeps/powerpc/powerpc32/configure: Likewise.
20306         * sysdeps/powerpc/powerpc64/configure: Likewise.
20307         * sysdeps/s390/s390-32/configure: Likewise.
20308         * sysdeps/s390/s390-64/configure: Likewise.
20309         * sysdeps/sh/configure: Likewise.
20310         * sysdeps/sparc/configure: Likewise.
20311         * sysdeps/unix/sysv/linux/configure: Likewise.
20312         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20313         * sysdeps/x86_64/configure: Likewise.
20314         * sysdeps/x86_64/preconfigure: Likewise.
20316 2013-10-29  Andreas Schwab  <schwab@suse.de>
20318         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20320 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20322         * benchtests/pow-inputs: Add new inputs.
20324         * benchtests/exp-inputs: Add new inputs.
20326         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20327         conditional check for return value.
20328         (__cos32): Likewise.
20330 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20332         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20333         to provide a boost for large inputs with word alignment.
20334         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20335         implementation based on optimized PPC64 strcpy.
20336         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20337         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20338         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20339         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20341 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20343         [BZ #2801]
20344         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20346 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20348         [BZ #14876]
20349         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20350         * time/tst-strptime.c (day_tests): Add testcase.
20352 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20354         [BZ #14029]
20355         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20357 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20359         [BZ #16074]
20360         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20361         MAP_FAILED on error.
20363 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20365         [BZ #16072]
20366         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20367         heap for large requests.
20369 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20371         [BZ #9954]
20372         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20373         result if the result has no associated interface.
20374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20375         interface for all 127.X.Y.Z addresses.
20377 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20379         * locale/iso-639.def: Add Ligurian (lij)
20381 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20383         [BZ #15825]
20384         * sunrpc/rpc_main.c: Document rpcgen -5.
20386 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20388         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20390 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20392         [BZ #10278]
20393         * posix/glob.c: Match only directories when trailing slash is present.
20394         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20395         (main): Add testcase.
20397 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20399         [BZ #15670]
20400         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20402 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20404         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20405         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20406         AUTH_DES and cindex for FIPS 140-2.
20407         (DES Encryption): Add cindex FIPS 46-3.
20409         * locale/locarchive.h (struct locarhandle): Add fname.
20410         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20411         if an optional argument was specified to --list-archive,
20412         otherwise NULL.
20413         * locale/programs/locarchive.c (show_archive_content): Take new
20414         argument fname and pass it via ah.fname to open_archive.
20415         * locale/programs/localedef.h: Update decl.
20416         (open_archive): If AH->fname is non-null, open that file
20417         rather than the default file name, and don't ignore ENOENT.
20418         (create_archive): Set AH.fname to NULL.
20419         (delete_locales_from_archive): Likewise.
20420         (add_locales_to_archive): Likewise.
20421         * locale/programs/locfile.c (write_all_categories): Likewise.
20423 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20424             Aldy Hernandez  <aldyh@redhat.com>
20426         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20427         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20428         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20429         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20430         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20431         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20432         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20433         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20434         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20435         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20436         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20437         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20438         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20439         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20440         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20441         Likewise.
20442         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20443         Likewise.
20444         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20445         Likewise.
20446         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20447         Likewise.
20448         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20449         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20450         Likewise.
20451         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20452         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20453         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20454         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20455         Likewise.
20456         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20457         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20458         * sysdeps/powerpc/preconfigure: Likewise.
20459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20460         Likewise.
20461         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20462         Replace contents of file by #include of <fenv_libc.h>.
20463         * sysdeps/powerpc/soft-fp/sfp-machine.h
20464         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20465         and <sys/prctl.h>.
20466         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20467         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20468         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20469         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20470         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20476         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20479         Allow copysignl PLT reference to be missing.
20481 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20482             Joseph Myers  <joseph@codesourcery.com
20484         [BZ #15948]
20485         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20486         single character.
20487         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20489 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20491         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20492         * elf/tst-tls1.c: Likewise.
20493         * elf/tst-tls10.h: Likewise.
20494         * elf/tst-tls14.c: Likewise.
20495         * elf/tst-tls2.c: Likewise.
20496         * elf/tst-tls3.c: Likewise.
20497         * elf/tst-tls4.c: Likewise.
20498         * elf/tst-tls5.c: Likewise.
20499         * elf/tst-tls6.c: Likewise.
20500         * elf/tst-tls7.c: Likewise.
20501         * elf/tst-tls8.c: Likewise.
20502         * elf/tst-tls9.c: Likewise.
20503         * elf/tst-tlsmod1.c: Likewise.
20504         * elf/tst-tlsmod13.c: Likewise.
20505         * elf/tst-tlsmod13a.c: Likewise.
20506         * elf/tst-tlsmod14a.c: Likewise.
20507         * elf/tst-tlsmod16a.c: Likewise.
20508         * elf/tst-tlsmod16b.c: Likewise.
20509         * elf/tst-tlsmod2.c: Likewise.
20510         * elf/tst-tlsmod3.c: Likewise.
20511         * elf/tst-tlsmod4.c: Likewise.
20512         * elf/tst-tlsmod5.c: Likewise.
20513         * elf/tst-tlsmod6.c: Likewise.
20515 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20517         [BZ #12486]
20518         * malloc/malloc.c: remove checks for statistics.
20520 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20522         [BZ #15277]
20523         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20524         * inet/tst-network.c: Add testcase.
20526 2013-10-17  Andreas Schwab  <schwab@suse.de>
20528         [BZ #15218]
20529         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20530         to determine canonical name.
20532 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20534         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20535         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20536         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20537         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20539         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20540         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20541         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20542         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20543         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20544         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20545         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20546         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20547         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20548         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20549         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20551         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20553         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20554         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20555         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20556         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20557         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20558         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20559         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20560         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20561         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20562         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20563         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20564         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20565         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20566         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20567         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20568         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20569         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20570         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20571         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20572         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20574         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20575         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20576         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20577         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20578         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20579         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20580         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20581         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20582         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20583         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20584         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20585         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20586         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20587         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20588         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20589         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20593 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20595         [BZ #16041]
20596         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20597         make result into a quiet NaN.
20599 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20601         * soft-fp/adddf3.c: Fix horizontal whitespace.
20602         * soft-fp/addsf3.c: Likewise.
20603         * soft-fp/addtf3.c: Likewise.
20604         * soft-fp/divdf3.c: Likewise.
20605         * soft-fp/divsf3.c: Likewise.
20606         * soft-fp/divtf3.c: Likewise.
20607         * soft-fp/double.h: Likewise.
20608         * soft-fp/eqdf2.c: Likewise.
20609         * soft-fp/eqsf2.c: Likewise.
20610         * soft-fp/eqtf2.c: Likewise.
20611         * soft-fp/extenddftf2.c: Likewise.
20612         * soft-fp/extended.h: Likewise.
20613         * soft-fp/extendsfdf2.c: Likewise.
20614         * soft-fp/extendsftf2.c: Likewise.
20615         * soft-fp/extendxftf2.c: Likewise.
20616         * soft-fp/fixdfdi.c: Likewise.
20617         * soft-fp/fixdfsi.c: Likewise.
20618         * soft-fp/fixdfti.c: Likewise.
20619         * soft-fp/fixsfdi.c: Likewise.
20620         * soft-fp/fixsfsi.c: Likewise.
20621         * soft-fp/fixsfti.c: Likewise.
20622         * soft-fp/fixtfdi.c: Likewise.
20623         * soft-fp/fixtfsi.c: Likewise.
20624         * soft-fp/fixtfti.c: Likewise.
20625         * soft-fp/fixunsdfdi.c: Likewise.
20626         * soft-fp/fixunsdfsi.c: Likewise.
20627         * soft-fp/fixunsdfti.c: Likewise.
20628         * soft-fp/fixunssfdi.c: Likewise.
20629         * soft-fp/fixunssfsi.c: Likewise.
20630         * soft-fp/fixunssfti.c: Likewise.
20631         * soft-fp/fixunstfdi.c: Likewise.
20632         * soft-fp/fixunstfsi.c: Likewise.
20633         * soft-fp/fixunstfti.c: Likewise.
20634         * soft-fp/floatdidf.c: Likewise.
20635         * soft-fp/floatdisf.c: Likewise.
20636         * soft-fp/floatditf.c: Likewise.
20637         * soft-fp/floatsidf.c: Likewise.
20638         * soft-fp/floatsisf.c: Likewise.
20639         * soft-fp/floatsitf.c: Likewise.
20640         * soft-fp/floattidf.c: Likewise.
20641         * soft-fp/floattisf.c: Likewise.
20642         * soft-fp/floattitf.c: Likewise.
20643         * soft-fp/floatundidf.c: Likewise.
20644         * soft-fp/floatundisf.c: Likewise.
20645         * soft-fp/floatunditf.c: Likewise.
20646         * soft-fp/floatunsidf.c: Likewise.
20647         * soft-fp/floatunsisf.c: Likewise.
20648         * soft-fp/floatunsitf.c: Likewise.
20649         * soft-fp/floatuntidf.c: Likewise.
20650         * soft-fp/floatuntisf.c: Likewise.
20651         * soft-fp/floatuntitf.c: Likewise.
20652         * soft-fp/fmadf4.c: Likewise.
20653         * soft-fp/fmasf4.c: Likewise.
20654         * soft-fp/fmatf4.c: Likewise.
20655         * soft-fp/gedf2.c: Likewise.
20656         * soft-fp/gesf2.c: Likewise.
20657         * soft-fp/getf2.c: Likewise.
20658         * soft-fp/ledf2.c: Likewise.
20659         * soft-fp/lesf2.c: Likewise.
20660         * soft-fp/letf2.c: Likewise.
20661         * soft-fp/muldf3.c: Likewise.
20662         * soft-fp/mulsf3.c: Likewise.
20663         * soft-fp/multf3.c: Likewise.
20664         * soft-fp/negdf2.c: Likewise.
20665         * soft-fp/negsf2.c: Likewise.
20666         * soft-fp/negtf2.c: Likewise.
20667         * soft-fp/op-1.h: Likewise.
20668         * soft-fp/op-2.h: Likewise.
20669         * soft-fp/op-4.h: Likewise.
20670         * soft-fp/op-8.h: Likewise.
20671         * soft-fp/op-common.h: Likewise.
20672         * soft-fp/quad.h: Likewise.
20673         * soft-fp/single.h: Likewise.
20674         * soft-fp/soft-fp.h: Likewise.
20675         * soft-fp/sqrtdf2.c: Likewise.
20676         * soft-fp/sqrtsf2.c: Likewise.
20677         * soft-fp/sqrttf2.c: Likewise.
20678         * soft-fp/subdf3.c: Likewise.
20679         * soft-fp/subsf3.c: Likewise.
20680         * soft-fp/subtf3.c: Likewise.
20681         * soft-fp/truncdfsf2.c: Likewise.
20682         * soft-fp/trunctfdf2.c: Likewise.
20683         * soft-fp/trunctfsf2.c: Likewise.
20684         * soft-fp/trunctfxf2.c: Likewise.
20685         * soft-fp/unorddf2.c: Likewise.
20686         * soft-fp/unordsf2.c: Likewise.
20687         * soft-fp/unordtf2.c: Likewise.
20689 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20691         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20692         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20694 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20696         * elf/dl-libc.c: Clear initfini list after freeing.
20698 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20700         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20701         * soft-fp/addsf3.c: Likewise.
20702         * soft-fp/addtf3.c: Likewise.
20703         * soft-fp/divdf3.c: Likewise.
20704         * soft-fp/divsf3.c: Likewise.
20705         * soft-fp/divtf3.c: Likewise.
20706         * soft-fp/double.h: Likewise.
20707         * soft-fp/eqdf2.c: Likewise.
20708         * soft-fp/eqsf2.c: Likewise.
20709         * soft-fp/eqtf2.c: Likewise.
20710         * soft-fp/extenddftf2.c: Likewise.
20711         * soft-fp/extended.h: Likewise.
20712         * soft-fp/extendsfdf2.c: Likewise.
20713         * soft-fp/extendsftf2.c: Likewise.
20714         * soft-fp/extendxftf2.c: Likewise.
20715         * soft-fp/fixdfdi.c: Likewise.
20716         * soft-fp/fixdfsi.c: Likewise.
20717         * soft-fp/fixdfti.c: Likewise.
20718         * soft-fp/fixsfdi.c: Likewise.
20719         * soft-fp/fixsfsi.c: Likewise.
20720         * soft-fp/fixsfti.c: Likewise.
20721         * soft-fp/fixtfdi.c: Likewise.
20722         * soft-fp/fixtfsi.c: Likewise.
20723         * soft-fp/fixtfti.c: Likewise.
20724         * soft-fp/fixunsdfdi.c: Likewise.
20725         * soft-fp/fixunsdfsi.c: Likewise.
20726         * soft-fp/fixunsdfti.c: Likewise.
20727         * soft-fp/fixunssfdi.c: Likewise.
20728         * soft-fp/fixunssfsi.c: Likewise.
20729         * soft-fp/fixunssfti.c: Likewise.
20730         * soft-fp/fixunstfdi.c: Likewise.
20731         * soft-fp/fixunstfsi.c: Likewise.
20732         * soft-fp/fixunstfti.c: Likewise.
20733         * soft-fp/floatdidf.c: Likewise.
20734         * soft-fp/floatdisf.c: Likewise.
20735         * soft-fp/floatditf.c: Likewise.
20736         * soft-fp/floatsidf.c: Likewise.
20737         * soft-fp/floatsisf.c: Likewise.
20738         * soft-fp/floatsitf.c: Likewise.
20739         * soft-fp/floattidf.c: Likewise.
20740         * soft-fp/floattisf.c: Likewise.
20741         * soft-fp/floattitf.c: Likewise.
20742         * soft-fp/floatundidf.c: Likewise.
20743         * soft-fp/floatundisf.c: Likewise.
20744         * soft-fp/floatunsidf.c: Likewise.
20745         * soft-fp/floatunsisf.c: Likewise.
20746         * soft-fp/floatuntidf.c: Likewise.
20747         * soft-fp/floatuntisf.c: Likewise.
20748         * soft-fp/floatuntitf.c: Likewise.
20749         * soft-fp/fmadf4.c: Likewise.
20750         * soft-fp/fmasf4.c: Likewise.
20751         * soft-fp/fmatf4.c: Likewise.
20752         * soft-fp/gedf2.c: Likewise.
20753         * soft-fp/gesf2.c: Likewise.
20754         * soft-fp/getf2.c: Likewise.
20755         * soft-fp/ledf2.c: Likewise.
20756         * soft-fp/lesf2.c: Likewise.
20757         * soft-fp/letf2.c: Likewise.
20758         * soft-fp/muldf3.c: Likewise.
20759         * soft-fp/mulsf3.c: Likewise.
20760         * soft-fp/multf3.c: Likewise.
20761         * soft-fp/negdf2.c: Likewise.
20762         * soft-fp/negsf2.c: Likewise.
20763         * soft-fp/negtf2.c: Likewise.
20764         * soft-fp/op-1.h: Likewise.
20765         * soft-fp/op-2.h: Likewise.
20766         * soft-fp/op-4.h: Likewise.
20767         * soft-fp/op-8.h: Likewise.
20768         * soft-fp/op-common.h: Likewise.
20769         * soft-fp/quad.h: Likewise.
20770         * soft-fp/single.h: Likewise.
20771         * soft-fp/soft-fp.h: Likewise.
20772         * soft-fp/sqrtdf2.c: Likewise.
20773         * soft-fp/sqrtsf2.c: Likewise.
20774         * soft-fp/sqrttf2.c: Likewise.
20775         * soft-fp/subdf3.c: Likewise.
20776         * soft-fp/subsf3.c: Likewise.
20777         * soft-fp/subtf3.c: Likewise.
20778         * soft-fp/truncdfsf2.c: Likewise.
20779         * soft-fp/trunctfdf2.c: Likewise.
20780         * soft-fp/trunctfsf2.c: Likewise.
20781         * soft-fp/trunctfxf2.c: Likewise.
20782         * soft-fp/unorddf2.c: Likewise.
20783         * soft-fp/unordsf2.c: Likewise.
20784         * soft-fp/unordtf2.c: Likewise.
20786 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20788         [BZ #15672]
20789         * misc/error.c (error_tail): Fix possible buffer overflow.
20791 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20793         [BZ #13028]
20794         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20795         address.
20797 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20799         [BZ #832]
20800         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20801         testing pipefail option.
20803 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20805         * soft-fp/double.h: Indent preprocessor directives inside #if.
20806         * soft-fp/extended.h: Likewise.
20807         * soft-fp/op-2.h: Likewise.
20808         * soft-fp/op-4.h: Likewise.
20809         * soft-fp/op-common.h: Likewise.
20810         * soft-fp/quad.h: Likewise.
20811         * soft-fp/single.h: Likewise.
20812         * soft-fp/soft-fp.h: Likewise.
20814 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20816         * iconv/iconv_prog.c: Fix typos.
20817         * stdio-common/psiginfo-data.h: Likewise.
20819 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20821         [BZ #15764]
20822         * locale/setlocale.c: Fix typo.
20824 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20826         [BZ #16036]
20827         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20828         signaling NaN arguments.
20829         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20830         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20832         [BZ #14910]
20833         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20834         unordered operands.
20835         * soft-fp/gesf2.c (__gesf2): Likewise.
20836         * soft-fp/getf2.c (__getf2): Likewise.
20837         * soft-fp/ledf2.c (__ledf2): Likewise.
20838         * soft-fp/lesf2.c (__lesf2): Likewise.
20839         * soft-fp/letf2.c (__letf2): Likewise.
20841         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20842         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20843         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20844         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20845         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20846         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20847         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20848         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20849         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20850         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20851         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20852         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20853         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20854         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20855         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20856         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20857         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20858         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20859         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20860         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20861         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20862         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20863         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20864         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20865         * soft-fp/floattidf.c (__floattidf): Likewise.
20866         * soft-fp/floattisf.c (__floattisf): Likewise.
20867         * soft-fp/floattitf.c (__floattitf): Likewise.
20868         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20869         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20870         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20871         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20872         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20873         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20874         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20875         * soft-fp/gesf2.c (__gesf2): Likewise.
20876         * soft-fp/getf2.c (__getf2): Likewise.
20877         * soft-fp/ledf2.c (__ledf2): Likewise.
20878         * soft-fp/lesf2.c (__lesf2): Likewise.
20879         * soft-fp/letf2.c (__letf2): Likewise.
20881         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20882         Undefine and redefine.
20883         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20884         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20885         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20886         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20887         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20888         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20889         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20890         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20891         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20892         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20893         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20894         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20895         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20896         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20897         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20899         [BZ #16032]
20900         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20901         without decrementing exponent if mantissa >= that for the
20902         denominator, not >.
20903         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20904         denominator, not >.  Decrement exponent in < case instead of
20905         incrementing in >= case.
20906         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20907         without decrementing exponent if mantissa >= that for the
20908         denominator, not >.
20910         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20911         computing saturated result for unsigned overflow.
20913 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20914             Jeff Law  <law@redhat.com>
20916         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20917         (atan2Mp): Add systemtap probe marker.
20918         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20919         (__ieee754_log): Add systemtap probe marker.
20920         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20921         (atanMp): Add systemtap probe marker.
20922         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20923         (tanMp): Add systemtap probe marker.
20924         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20925         (__slowexp): Add systemtap probe marker.
20926         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20927         (__slowpow): Add systemtap probe marker.
20928         * manual/probes.texi: Document probes.
20930 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20932         [BZ #15362]
20933         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20934         written.
20935         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20936         written.
20937         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20938         written to buffer but not flushed.
20939         * libio/iofwrite_u.c:  Likewise.
20940         * libio/iopadn.c:  Return bytes returned even if EOF was
20941         encountered.
20942         * libio/iowpadn.c:  Likewise.
20943         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20944         if _IO_padn does not write the whole buffer.
20945         [!COMPILE_WPRINTF] (PAD): Likewise.
20947 2013-10-10  David S. Miller  <davem@davemloft.net>
20949         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20950         directory block.
20952 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20954         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20955         instead of FSF address.
20956         * soft-fp/fixdfti.c: Likewise.
20957         * soft-fp/fixsfti.c: Likewise.
20958         * soft-fp/fixtfti.c: Likewise.
20959         * soft-fp/fixunsdfti.c: Likewise.
20960         * soft-fp/fixunssfti.c: Likewise.
20961         * soft-fp/fixunstfti.c: Likewise.
20962         * soft-fp/floattidf.c: Likewise.
20963         * soft-fp/floattisf.c: Likewise.
20964         * soft-fp/floattitf.c: Likewise.
20965         * soft-fp/floatuntidf.c: Likewise.
20966         * soft-fp/floatuntisf.c: Likewise.
20967         * soft-fp/floatuntitf.c: Likewise.
20968         * soft-fp/trunctfxf2.c: Likewise.
20970         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20971         * soft-fp/fixdfti.c: Likewise.
20972         * soft-fp/fixsfti.c: Likewise.
20973         * soft-fp/fixtfti.c: Likewise.
20974         * soft-fp/fixunsdfti.c: Likewise.
20975         * soft-fp/fixunssfti.c: Likewise.
20976         * soft-fp/fixunstfti.c: Likewise.
20977         * soft-fp/floattidf.c: Likewise.
20978         * soft-fp/floattisf.c: Likewise.
20979         * soft-fp/floattitf.c: Likewise.
20980         * soft-fp/floatuntidf.c: Likewise.
20981         * soft-fp/floatuntisf.c: Likewise.
20982         * soft-fp/floatuntitf.c: Likewise.
20983         * soft-fp/trunctfxf2.c: Likewise.
20985 2013-10-10  David S. Miller  <davem@davemloft.net>
20987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20989 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20991         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20992         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20993         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20994         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20995         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20996         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20997         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21000         for NaNs before doing comparisons on argument.
21001         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21002         Likewise.
21004 2013-10-10  Will Newton  <will.newton@linaro.org>
21006         * malloc/hooks.c (memalign_check): Ensure the value of bytes
21007         passed to _int_memalign does not overflow.
21009 2013-10-10  Torvald Riegel  <triegel@redhat.com>
21011         * scripts/bench.pl: Add include-sources directive.
21012         * benchtests/README: Update documentation.
21014 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
21016         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21017         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21018         instead of FP_INIT_ROUNDMODE.
21019         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21020         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21022         [BZ #16034]
21023         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
21024         copy class of input value.
21025         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
21026         not handle exceptions.
21027         * soft-fp/negsf2.c (__negsf2): Likewise.
21028         * soft-fp/negtf2.c (__negtf2): Likewise.
21029         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21031 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
21033         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21034         semicolon.  From Linux kernel.
21036 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
21038         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21040 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
21042         [BZ #156]
21043         * manual/socket.texi: Added statement about buffer
21044         for gethostbyname2_r.
21046 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
21048         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21049         Use .p2align directive instead, throughout.
21050         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21051         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21052         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21053         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21054         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21055         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21056         * sysdeps/x86_64/strchr.S: Likewise.
21057         * sysdeps/x86_64/strrchr.S: Likewise.
21059 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21061         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21063         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21065         * sysdeps/generic/math_private.h (__mpsin1): Remove
21066         declaration.
21067         (__mpcos1): Likewise.
21068         (__mpsin): New argument __range_reduce.
21069         (__mpcos): Likewise.
21070         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21071         (slow): Use __mpsin and __mpcos.
21072         (slow1): Likewise.
21073         (slow2): Likewise.
21074         (sloww): Likewise.
21075         (sloww1): Likewise.
21076         (sloww2): Likewise.
21077         (bsloww): Likewise.
21078         (bsloww1): Likewise.
21079         (bsloww2): Likewise.
21080         (cslow2): Likewise.
21081         (csloww): Likewise.
21082         (csloww1): Likewise.
21083         (csloww2): Likewise.
21084         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21085         range_reduce.  Merge in __mpsin1.
21086         (__mpcos): Likewise.
21087         (__mpsin1): Remove.
21088         (__mpcos1): Likewise.
21090 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
21092         * locale/loadlocale.c (_nl_intern_locale_data): Use
21093         LOCFILE_ALIGNED_P.
21094         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21095         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21096         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21097         obstack data is appropriately aligned.
21098         (obstack_int32_grow_fast): Likewise.
21099         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21100         * locale/programs/locfile.c (add_locale_uint32): Likewise.
21101         (add_locale_uint32_array): Likewise.
21103 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21105         * benchtests/Makefile: Remove ARGLIST and RET variables.
21106         ($(objpfx)bench-%.c): Pass only function name to the script.
21107         * benchtests/README: Update documentation.
21108         * benchtests/acos-inputs: Add new directives.
21109         * benchtests/acosh-inputs: Likewise.
21110         * benchtests/asin-inputs: Likewise.
21111         * benchtests/asinh-inputs: Likewise.
21112         * benchtests/atan-inputs: Likewise.
21113         * benchtests/atanh-inputs: Likewise.
21114         * benchtests/cos-inputs: Likewise.
21115         * benchtests/cosh-inputs: Likewise.
21116         * benchtests/exp-inputs: Likewise.
21117         * benchtests/log-inputs: Likewise.
21118         * benchtests/pow-inputs: Likewise.
21119         * benchtests/rint-inputs: Likewise.
21120         * benchtests/sin-inputs: Likewise.
21121         * benchtests/sinh-inputs: Likewise.
21122         * benchtests/tan-inputs: Likewise.
21123         * benchtests/tanh-inputs: Likewise.
21124         * scripts/bench.pl: Add support for new directives.
21126 2013-10-07  Alan Modra  <amodra@gmail.com>
21128         * README: Fix careless merge.
21130 2013-10-05  Alan Modra  <amodra@gmail.com>
21132         * NEWS: Mention powerpc64le support and bugs fixed.
21133         * README: Both big-endian and little-endian powerpc64 supported.
21135 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21137         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21138         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21139         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21140         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21142 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
21144         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21145         match prototype.
21147 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
21149         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21150         Move -mhard-float appending from
21151         ports/sysdeps/powerpc/powerpc32/Makefile.
21152         [$(with-fp) = yes] (ASFLAGS): Likewise.
21153         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21154         * sysdeps/powerpc/nofpu: Move directory from
21155         ports/sysdeps/powerpc/nofpu.
21156         * sysdeps/powerpc/soft-fp: Move directory from
21157         ports/sysdeps/powerpc/soft-fp.
21158         * sysdeps/powerpc/powerpc32/405: Move directory from
21159         ports/sysdeps/powerpc/powerpc32/405.
21160         * sysdeps/powerpc/powerpc32/440: Move directory from
21161         ports/sysdeps/powerpc/powerpc32/440.
21162         * sysdeps/powerpc/powerpc32/464: Move directory from
21163         ports/sysdeps/powerpc/powerpc32/464.
21164         * sysdeps/powerpc/powerpc32/476: Move directory from
21165         ports/sysdeps/powerpc/powerpc32/476.
21166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21167         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21169         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21171         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21173         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21175         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21176         * README: Update for powerpc-*-linux-gnu software floating point
21177         support in libc.
21179         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21180         case to powerpc/powerpc32*.
21181         * sysdeps/unix/sysv/linux/configure: Regenerated.
21183         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21184         (_FPU_MASK_OM): Define as 0x04.
21185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21187         0x00c10080.
21188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21189         0x0000003c.
21190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21193         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21194         getcontext_e500.
21195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21196         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21197         setcontext_e500.
21198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21199         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21200         and setcontext_e500.
21202 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
21204         * locale/iso-3166.def: Update iso-1366.def and related occurrences
21206 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21208         * manual/threads.texi (Default Thread Attributes): Fix typo.
21210 2013-10-04  Will Newton  <will.newton@linaro.org>
21212         * malloc/Makefile: Add tst-memalign.
21213         * malloc/tst-memalign.c: New file.
21215         * malloc/tst-posix_memalign.c: Add comments.
21216         (do_test): Add comments and call free on all potentially
21217         allocated pointers. Add space after cast.
21219         * malloc/tst-pvalloc.c: Add comments.
21220         (do_test): Add comments and call free on all potentially
21221         allocated pointers. Remove duplicate check for NULL pointer.
21222         Add space after cast.
21224         * malloc/tst-valloc.c: Add comments.
21225         (do_test): Add comments and call free on all potentially
21226         allocated pointers. Remove duplicate check for NULL pointer.
21227         Add space after cast.
21229 2013-10-04  Alan Modra  <amodra@gmail.com>
21231         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21232         Use stdint types in rather than __attribute__((mode())).
21233         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21235 2013-10-04  Alan Modra  <amodra@gmail.com>
21237         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21238         Correct handling of unaligned relocs for little-endian.
21239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21241 2013-10-04  Alan Modra  <amodra@gmail.com>
21243         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21244         * configure: Regenerate.
21245         * nptl/shlib-versions: Powerpc*le starts at 2.18.
21246         * shlib-versions: Likewise.
21248 2013-10-04  Alan Modra  <amodra@gmail.com>
21250         * string/tester.c (test_memrchr): Increment reported test cycle.
21252 2013-10-04  Alan Modra  <amodra@gmail.com>
21254         * string/test-memcpy.c (do_one_test): When reporting errors, print
21255         string address and don't overrun end of string.
21257 2013-10-04  Alan Modra  <amodra@gmail.com>
21259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21260         insrdi.  Make better use of reg selection to speed exit slightly.
21261         Schedule entry path a little better.  Remove useless "are we done"
21262         checks on entry to main loop.  Handle wrapping around zero address.
21263         Correct main loop count.  Handle single left-over word from main
21264         loop inline rather than by using loop_small.  Remove extra word
21265         case in loop_small caused by wrong loop count.  Add little-endian
21266         support.
21267         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21268         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
21269         cache hint.
21270         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21271         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21272         support.  Avoid rlwimi.
21273         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21275 2013-10-04  Alan Modra  <amodra@gmail.com>
21277         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21278         insrdi.  Formatting.
21279         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21280         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21281         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21282         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21283         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21284         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21286 2013-10-04  Alan Modra  <amodra@gmail.com>
21288         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21289         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21290         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21291         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21292         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21293         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21294         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21295         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21296         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21297         use of regs.  Use power7 mtocrf.  Tidy function tails.
21299 2013-10-04  Alan Modra  <amodra@gmail.com>
21301         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21302         Formatting.  Consistently use rXXX register defines or rN defines.
21303         Use early exit labels that avoid restoring unused non-volatile regs.
21304         Make cr field use more consistent with rWORDn compares.  Rename
21305         regs used as shift registers for unaligned loop, using rN defines
21306         for short lifetime/multiple use regs.
21307         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21308         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21309         addi 1,1,64 to pop stack frame.  Simplify return value code.
21310         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21312 2013-10-04  Alan Modra  <amodra@gmail.com>
21314         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21315         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21316         rather than rlwimi.
21317         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21318         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21319         little-endian support.  Correct typos.
21320         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21321         rather than rlwimi.
21322         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21323         in loop and entry code to keep "and." results.
21324         (strchr): Add little-endian support.  Comment.  Move cntlzd
21325         earlier in tail.
21326         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21328 2013-10-04  Alan Modra  <amodra@gmail.com>
21330         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21331         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21332         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21333         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21335 2013-10-04  Alan Modra  <amodra@gmail.com>
21337         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21338         (rTMP): Define as r11.
21339         (strcmp): Add little-endian support.  Optimise tail.
21340         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21341         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21342         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21343         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21344         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21345         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21346         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21348 2013-10-04  Alan Modra  <amodra@gmail.com>
21350         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21351         little-endian support.  Remove unnecessary "are we done" tests.
21352         Handle "s" wrapping around zero and extremely large "size".
21353         Correct main loop count.  Handle single left-over word from main
21354         loop inline rather than by using small_loop.  Correct comments.
21355         Delete "zero" tail, use "end_max" instead.
21356         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21358 2013-10-04  Alan Modra  <amodra@gmail.com>
21360         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21361         support.  Don't branch over align.
21362         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21363         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21364         support.  Rearrange tmp reg use to suit.  Comment.
21365         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21367 2013-10-04  Alan Modra  <amodra@gmail.com>
21369         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21371 2013-10-04  Alan Modra  <amodra@gmail.com>
21373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21374         conditional form of branch and link when obtaining pc.
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21377 2013-10-04  Alan Modra  <amodra@gmail.com>
21379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21380         HIWORD/LOWORD.
21381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21384 2013-10-04  Alan Modra  <amodra@gmail.com>
21386         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21387         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21388         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21389         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21390         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21391         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21392         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21393         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21394         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21395         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21397 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21398             Alistair Popple <alistair@ozlabs.au.ibm.com>
21399             Alan Modra <amodra@gmail.com>
21401         [BZ #15723]
21402         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21403         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21404         _dl_hwcap access for little-endian.
21405         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21406         destroy vmx regs when saving unaligned.
21407         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21408         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21409         destroy vmx regs when saving unaligned.
21411 2013-10-04  Alan Modra  <amodra@gmail.com>
21413         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21414         Don't use a union to pack hi/low value.
21416 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21418         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21419         for little-endian.
21420         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21421         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21422         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21423         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21424         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21426 2013-10-04  Alan Modra  <amodra@gmail.com>
21428         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21429         constants to usual value for .cst8 section, and remove redundant
21430         high address load.
21431         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21432         constant for 0x1p52.  Load little-endian words of double from
21433         correct stack offsets.
21435 2013-10-04  Alan Modra  <amodra@gmail.com>
21437         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21438         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21439         words of double from correct stack offsets.
21440         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21441         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21442         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21443         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21444         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21445         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21446         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21447         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21448         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21449         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21450         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21451         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21452         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21453         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21454         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21455         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21456         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21458 2013-10-04  Alan Modra  <amodra@gmail.com>
21460         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21461         64-bit int/double union.
21462         (_FPU_SETCW): Likewise.
21463         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21464         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21466 2013-10-04  Alan Modra  <amodra@gmail.com>
21468         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21469         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21471 2013-10-04  Alan Modra  <amodra@gmail.com>
21473         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21474         use vector int constants.
21475         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21477 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21479         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21480         array with long long.
21481         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21482         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21483         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21484         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21485         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21486         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21487         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21488         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21489         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21490         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21491         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21492         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21493         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21495 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21497         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21498         (__signbit): Likewise.  Correct for little-endian.
21499         (__signbitl): Call __signbit.
21500         (lrint): Correct for little-endian.
21501         (lrintf): Call lrint.
21503 2013-10-04  Alan Modra  <amodra@gmail.com>
21505         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21506         union 32-bit int array member with 64-bit int array.
21507         (t515, tm256): Double rather than long double.
21508         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21510 2013-10-04  Alan Modra  <amodra@gmail.com>
21512         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21513         Delete.
21514         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21515         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21516         version of math_ldbl.h.
21518 2013-10-04  Alan Modra  <amodra@gmail.com>
21520         [BZ #15734], [BZ #15735]
21521         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21522         all uses of ieee875 long double macros and unions.  Simplify test
21523         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21524         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21525         normalize after ldbl_extract_mantissa, and don't add hidden bit
21526         already handled.  Don't treat low word of ieee854 mantissa like
21527         low word of IBM long double and mask off bit when testing for
21528         zero.
21529         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21530         all uses of ieee875 long double macros and unions.  Simplify tests
21531         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21532         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21533         two1022, instead use their values.  Recognise that tests for large
21534         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21535         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21536         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21537         test for 0.0L and nan.  Correct negation.
21538         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21539         ieee875 long double macros and unions.  Correct output for large
21540         magnitude x.  Correct absolute value calculation.
21541         (__erfcl): Likewise.
21542         * math/libm-test.inc: Add tests for errors discovered in IBM long
21543         double versions of fmodl, remainderl, erfl and erfcl.
21545 2013-10-04  Alan Modra  <amodra@gmail.com>
21547         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21548         all uses of ieee854 long double macros and unions.  Simplify tests
21549         for long doubles that are fully specified by the high double.
21550         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21551         Likewise.
21552         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21553         Remove dead code too.
21554         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21555         (__ieee754_ynl): Likewise.
21556         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21557         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21559         Remove dead code too.
21560         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21561         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21562         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21563         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21564         Simplify.
21565         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21566         Simplify.
21567         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21568         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21570         Comment on variable precision.
21571         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21572         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21573         Likewise.
21574         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21575         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21577         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21578         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21580 2013-10-04  Alan Modra  <amodra@gmail.com>
21582         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21583         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21584         all uses of ieee854 long double macros and unions.
21585         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21586         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21587         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21588         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21589         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21590         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21591         Likewise.
21592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21593         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21594         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21595         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21596         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21597         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21598         Simplify sign and nan test too.
21599         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21600         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21601         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21602         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21603         Likewise.
21604         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21605         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21606         Likewise.
21607         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21608         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21609         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21610         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21611         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21614 2013-10-04  Alan Modra  <amodra@gmail.com>
21616         * stdio-common/printf_size.c (__printf_size): Don't use
21617         union ieee854_long_double in fpnum union.
21618         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21619         signbit macro to retrieve sign from long double.
21620         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21621         retrieve sign from long double.
21622         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21623         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21624         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21625         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21626         * math/test-misc.c (main): Don't use union ieee854_long_double.
21628 2013-10-04  Alan Modra  <amodra@gmail.com>
21630         [BZ #15680]
21631         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21632         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21633         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21634         calculation.  Remove unnecessary test for denormal exponent.
21635         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21636         Correct handling of denormals.  Avoid undefined shift behaviour.
21637         Correct normalisation of low mantissa when low double is denormal.
21638         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21639         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21640         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21641         Correct normalisation of low mantissa.  Test for overflow of high
21642         mantissa and normalise.
21643         (ldbl_nearbyint): Use more readable constant for two52.
21644         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21645         (__mpn_construct_long_double): Fix test for overflow of high
21646         mantissa and correct normalisation.  Avoid undefined shift.
21648 2013-10-04  Alan Modra  <amodra@gmail.com>
21650         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21651         (union ibm_extended_long_double): Define as an array of ieee754_double.
21652         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21653         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21654         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21655         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21656         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21657         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21658         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21659         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21661         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21662         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21664 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21666         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21667         page size instead of calling getpagesize.
21669         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21670         (LOCFILE_ALIGN_MASK): Likewise.
21671         (LOCFILE_ALIGN_UP): Likewise.
21672         (LOCFILE_ALIGNED_P): Likewise.
21673         * locale/programs/ld-collate.c (collate_output): Use the new
21674         macros instead of __alignof__ (int32_t).
21675         * locale/weight.h (findidx): Likewise.
21677 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21679         [BZ #431]
21680         * manual/string.texi: Fix strncat and wcsncat.
21682 2013-10-03  Brooks Moses  <bmoses@google.com>
21684         [BZ #15915]
21685         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21686         * Makerules: ...here, and adjust associated comments.
21688 2013-10-02  Will Newton  <will.newton@linaro.org>
21690         * malloc/Makefile: Add tst-pvalloc.
21691         * malloc/tst-pvalloc.c: New file.
21693 2013-10-02  Will Newton  <will.newton@linaro.org>
21695         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21696         improve test coverage.
21698 2013-10-02  Will Newton  <will.newton@linaro.org>
21700         * malloc/Makefile: Add tst-posix_memalign.
21701         * malloc/tst-posix_memalign.c: New file.
21703 2013-10-01  Eric Blake  <eblake@redhat.com>
21705         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21706         Use __THROWNL rather than __THROW on static functions.
21708 2013-09-30  Petr Machata  <pmachata@redhat.com>
21710         * elf/elf.h (R_AARCH64_ABS16): New macro.
21711         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21712         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21713         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21714         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21715         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21716         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21717         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21718         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21719         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21720         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21721         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21722         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21723         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21724         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21725         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21726         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21727         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21728         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21729         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21730         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21731         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21732         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21733         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21734         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21735         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21736         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21737         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21738         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21739         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21740         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21741         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21742         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21743         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21744         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21745         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21746         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21747         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21748         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21749         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21750         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21751         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21752         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21753         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21754         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21755         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21756         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21757         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21758         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21759         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21760         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21761         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21762         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21763         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21764         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21765         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21766         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21767         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21768         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21769         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21770         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21771         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21772         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21773         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21774         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21775         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21776         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21777         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21778         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21779         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21780         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21781         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21782         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21783         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21784         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21785         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21786         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21787         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21788         (R_AARCH64_TLSDESC_LDR): Likewise.
21789         (R_AARCH64_TLSDESC_ADD): Likewise.
21790         (R_AARCH64_TLSDESC_CALL): Likewise.
21792 2013-09-30  Andreas Schwab  <schwab@suse.de>
21794         [BZ #15048]
21795         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21796         the nss database lookup.
21797         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21800 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21802         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21804 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21806         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21807         ${Bash-specific parameter/pattern/string} parameter expansion.
21808         * sysdeps/unix/make-syscalls.sh: Likewise.
21810 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21812         * sysdeps/sh/stackguard-macros.h: New file.
21814 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21818         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21819         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21820         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21821         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21823 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21825         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21826         Fix thread ID register.
21828 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21830         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21831         [POSIX || UNIX98]: Require rather than permitting all symbols from
21832         <time.h>.
21833         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21834         element of struct sched_param.
21835         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21836         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21837         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21838         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21839         constant.
21841 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21843         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21844         argument calculation.
21846 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21848         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21849         Expect macro.
21850         [POSIX] (pthread_attr_t): Do not require type.
21851         [POSIX] (pthread_cond_t): Likewise.
21852         [POSIX] (pthread_condattr_t): Likewise.
21853         [POSIX] (pthread_key_t): Likewise.
21854         [POSIX] (pthread_mutex_t): Likewise.
21855         [POSIX] (pthread_mutexattr_t): Likewise.
21856         [POSIX] (pthread_once_t): Likewise.
21857         [POSIX] (pthread_t): Likewise.
21858         [POSIX-based standards] (pthread_atfork): Expect function.
21860 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21861             Richard Sandiford  <richard@codesourcery.com>
21863         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21864         (swap_endianness_p): New extern variable.
21865         (set_big_endian): New inline function.
21866         (maybe_swap_uint32): Likewise.
21867         (maybe_swap_uint32_array): Likewise.
21868         (maybe_swap_uint32_obstack): Likewise.
21869         * locale/programs/locfile.c: Include <stdbool.h>.
21870         (swap_endianness_p): New variable.
21871         (add_locale_uint32): Call maybe_swap_uint32.
21872         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21873         (write_locale_data): Call maybe_swap_uint32_array.
21874         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21875         maybe_swap_uint32.
21876         (obstack_int32_grow_fast): Likewise.
21877         (output_weightwc): Call maybe_swap_uint32_obstack.
21878         (collate_output): Likewise.
21879         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21880         (OPT_LITTLE_ENDIAN): Likewise.
21881         (options): Add --little-endian and --big-endian options.
21882         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21883         * locale/programs/locarchive.c: Include "locfile.h".
21884         (GET): New macro.
21885         (SET): Likewise.
21886         (INC): Likewise.
21887         (create_archive): Use the new macros to access fields of
21888         structures directly mapped from or written to locale archives.
21889         (oldlocrecentcmp): Likewise.
21890         (enlarge_archive): Likewise.
21891         (insert_name): Likewise.
21892         (add_alias): Likewise.
21893         (add_locale): Likewise.
21894         (delete_locales_from_archive): Likewise.
21895         (show_archive_content): Likewise.
21896         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21897         locale data.
21899 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21901         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21902         http://www.gnu.org/doc/freemanuals.texi.
21903         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21905 2013-09-24  Will Newton  <will.newton@linaro.org>
21907         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21908         macro.
21910 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21912         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21913         unsigned char.
21915 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21917         * manual/threads.texi (POSIX Threads): Fix a typo.
21919 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21921         [BZ #14547]
21922         * string/tst-strcoll-overflow.c: New test case.
21923         * string/Makefile (xtests): Add tst-strcoll-overflow.
21924         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21925         cache if string sizes may cause integer overflow.
21927         [BZ #14547]
21928         * string/strcoll_l.c (coll_seq): New members rule, idx,
21929         save_idx and back_us.
21930         (get_next_seq_nocache): New function.
21931         (do_compare_nocache): New function.
21932         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21933         when malloc fails.
21935 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21937         [BZ #15754]
21938         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21939         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21940         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21942         [BZ #15754]
21943         * elf/Makefile (tests): Add tst-ptrguard1.
21944         (tests-static): Add tst-ptrguard1-static.
21945         (tst-ptrguard1-ARGS): Define.
21946         (tst-ptrguard1-static-ARGS): Define.
21947         * elf/tst-ptrguard1.c: New file.
21948         * elf/tst-ptrguard1-static.c: New file.
21949         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21950         * sysdeps/i386/stackguard-macros.h: Likewise.
21951         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21952         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21953         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21954         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21955         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21956         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21958 2013-09-23  Hector Marco  <hecmargi@upv.es>
21959             Ismael Ripoll  <iripoll@disca.upv.es>
21960             Carlos O'Donell  <carlos@redhat.com>
21962         [BZ #15754]
21963         * sysdeps/generic/stackguard-macros.h: Define
21964         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21965         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21966         Define __pointer_chk_guard_local.
21967         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21968         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21970 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21972         [BZ #15859]
21973         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21975 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21977         * include/string.h (__ffs): Declare as hidden.
21978         * string/ffs.c (__ffs): Define as hidden.
21979         * sysdeps/i386/ffs.c (__ffs): Likewise.
21980         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21981         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21982         * sysdeps/s390/ffs.c (__ffs): Likewise.
21983         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21985 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21987         * NEWS: Mention malloc probes.
21989         * malloc/arena.c (new_heap): New memory_heap_new probe.
21990         (grow_heap): New memory_heap_more probe.
21991         (shrink_heap): New memory_heap_less probe.
21992         (heap_trim): New memory_heap_free probe.
21993         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21994         (systrim): New memory_sbrk_less probe.
21995         * manual/probes.texi: Document them.
21997         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21998         * manual/probes.texi: Document it.
22000         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22001         (__libc_realloc): Add memory_realloc_retry probe.
22002         (__libc_memalign): Add memory_memalign_retry probe.
22003         (__libc_valloc): Add memory_valloc_retry probe.
22004         (__libc_pvalloc): Add memory_pvalloc_retry probe.
22005         (__libc_calloc): Add memory_calloc_retry probe.
22006         * manual/probes.texi: Document them.
22008         * malloc/arena.c (get_free_list): Add probe
22009         memory_arena_reuse_free_list.
22010         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22011         and memory_arena_reuse.
22012         (arena_get2) [!PER_THREAD]: Likewise.
22013         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22014         memory_arena_reuse_realloc.
22015         * manual/probes.texi: Document them.
22017         * malloc/malloc.c (__libc_free): Add
22018         memory_mallopt_free_dyn_thresholds probe.
22019         (__libc_mallopt): Add multiple memory_mallopt probes.
22020         * manual/probes.texi: Document them.
22022         * malloc/malloc.c: Include stap-probe.h.
22023         (__libc_mallopt): Add memory_mallopt probe.
22024         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22025         * manual/probes.texi: New.
22026         * manual/Makefile (chapters): Add probes.
22027         * manual/threads.texi: Set next node.
22029 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
22031         [BZ #15963, #13985]
22032         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22033         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22034         Add `Chinese' to `nan' entry name.
22036 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22038         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22039         (POLYNOMIAL): Likewise.
22040         (TAYLOR_SINCOS): Likewise.
22041         (TAYLOR_SLOW): Likewise.
22042         (__sin): Use TAYLOR_SINCOS.
22043         (__cos): Likewise.
22044         (slow): Use TAYLOR_SLOW.
22045         (sloww): Likewise.
22046         (bsloww): Likewise.
22047         (csloww): Likewise.
22049 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22051         * stdlib/strtod_l.c: Fix buffer overrun.
22053 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22055         * benchtests/Makefile (bench): Add sincos.
22056         * benchtests/bench-sincos.c: New file.
22058         * math/libm-test.inc (cos_test_data): New test inputs.
22059         (sin_test_data): Likewise.
22061         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22062         macro.
22063         (__sin): Use it.
22064         (__cos): Likewise.
22065         (slow1): Likewise.
22066         (slow2): Likewise.
22067         (sloww1): Likewise.
22068         (sloww2): Likewise.
22069         (bsloww1): Likewise.
22070         (bsloww2): Likewise.
22071         (cslow2): Likewise.
22072         (csloww1): Likewise.
22073         (csloww2): Likewise.
22075         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22076         function.
22077         (__sin): Use it.
22078         (__cos): Likewise.
22080         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22081         gotos.
22082         (__cos): Likewise.
22084 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
22086         * config.h.in (HAVE_MIPS_NAN2008): New macro.
22087         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22088         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22089         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22090         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22091         * elf/cache.c (print_entry): Handle the new cache flags.
22093 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22094             Aldy Hernandez  <aldyh@redhat.com>
22096         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22097         Change condition to [_SOFT_FLOAT].
22098         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22110         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22113         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22114         declaration.
22116 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
22118         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22119         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22120         (__longjmp): Use LOAD_GP to load saved GPRs.
22121         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22122         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22123         (__sigsetjmp): Use SAVE_GP to save GPRs.
22125         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22126         Do not append -msoft-float.
22127         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22129 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22131         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22133 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
22135         [BZ #15966]
22136         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22137         (_FPU_GETCW): Use initial "__" on variable and field names but not
22138         on macro parameter name.
22139         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
22140         parentheses around reference to macro parameter.
22142 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
22144         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22145         prototype.
22146         (ctype_startup): Use uint32_t in cast and sizeof for
22147         ctype->charnames.
22149 2013-09-11  Jia Liu  <proljc@gmail.com>
22151         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22152         __daddr_t_defined.
22153         [__FreeBSD__]: Likewise.
22155 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
22157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22158         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22159         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22160         (strchr): Remove __strchr_sse42 ifunc selection.
22161         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22162         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22164 2013-09-11  Will Newton  <will.newton@linaro.org>
22166         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22167         parameter to RES. Remove hardcoded 1000 value.
22168         * benchtests/bench-skeleton.c (main): Pass RES parameter
22169         to TIMING_INIT and multiply result by 1000.
22171 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22175 2013-09-11  Andreas Schwab  <schwab@suse.de>
22177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22178         if not defined.
22179         (O_TMPFILE) [__USE_GNU]: Define.
22180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22181         Define.
22183 2013-09-11  Will Newton  <will.newton@linaro.org>
22185         [BZ #15857]
22186         * malloc/malloc.c (__libc_memalign): Check the value of bytes
22187         does not overflow.
22189 2013-09-11  Will Newton  <will.newton@linaro.org>
22191         [BZ #15856]
22192         * malloc/malloc.c (__libc_valloc): Check the value of bytes
22193         does not overflow.
22195 2013-09-11  Will Newton  <will.newton@linaro.org>
22197         [BZ #15855]
22198         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22199         does not overflow.
22201 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
22203         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22204         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22205         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22206         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22209 2013-09-10  Allan McRae  <allan@archlinux.org>
22211         [BZ #15748]
22212         * manual/arith.texi (Parsing of Floats): Clarify
22213         cross-reference.
22215         [BZ #15849]
22216         * manual/install.texi (Running make install): Mention
22217         --enable-pt-chown.
22218         * INSTALL: Regenerated.
22220 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
22222         * csu/init-first.c (_init): Remove the !SHARED condition around
22223         FPU control word initialization.
22224         * elf/dl-support.c (_dl_fpu_control): New variable.
22225         (_dl_aux_init) <AT_FPUCW>: Initialize it.
22226         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22227         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22228         * math/test-fpucw-static.c: New file.
22229         * math/test-fpucw-ieee.c: New file.
22230         * math/test-fpucw-ieee-static.c: New file.
22231         * math/Makefile (tests): Add `test-fpucw-ieee' and
22232         `$(tests-static)'.
22233         (tests-static): New variable.
22234         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22235         dependency to...
22236         [($(build-shared),yes)]
22237         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22238         ... this.
22239         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22240         New dependency.
22242 2013-09-09  Allan McRae  <allan@archlinux.org>
22244         [BZ #15939]
22245         * manual/string.texi (Collation Functions): Fix typo in
22246         strcoll example.
22247         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22249         [BZ #15893]
22250         * stdlib/isomac.c (get_null_defines): Fix memory leak.
22252         [BZ #15892]
22253         * libio/memstream.c (open_memstream): Fix memory leak.
22254         * libio/wmemstream.c (open_wmemstream): Likewise.
22256         [BZ #15895]
22257         * nscd/netgroupcache.c: Fix nesting of ifdefs.
22259 2013-09-09  Will Newton  <will.newton@linaro.org>
22261         * malloc/Makefile: Add tst-realloc to tests.
22262         * malloc/tst-realloc.c: New file.
22264 2013-09-09  Allan McRae  <allan@archlinux.org>
22266         [BZ #15844]
22267         * COPYING: Update from GNU website to fix FSF address.
22268         * COPYING.LIB: Likewise.
22270 2013-09-06  David S. Miller  <davem@davemloft.net>
22272         * po/zh_TW.po: Update Chinese (traditional) translation from
22273         translation project.
22275 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
22276             Joseph Myers  <joseph@codesourcery.com>
22278         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22279         "localeinfo.h".
22280         (obstack_chunk_alloc): New macro.
22281         (obstack_chunk_free): Likewise.
22282         (record_offset): New function.
22283         (init_locale_data): Likewise.
22284         (align_locale_data): Likewise.
22285         (add_locale_empty): Likewise.
22286         (add_locale_raw_data): Likewise.
22287         (add_locale_raw_obstack): Likewise.
22288         (add_locale_string): Likewise.
22289         (add_locale_wstring): Likewise.
22290         (add_locale_uint32): Likewise.
22291         (add_locale_uint32_array): Likewise.
22292         (add_locale_char): Likewise.
22293         (start_locale_structure): Likewise.
22294         (end_locale_structure): Likewise.
22295         (start_locale_prelude): Likewise.
22296         (end_locale_prelude): Likewise.
22297         (write_locale_data): Take locale_file structure rather than an
22298         iovec.
22299         * locale/programs/locfile.h: Include "obstack.h".
22300         (struct locale_file): Change to store locale file contents instead
22301         of header.
22302         (init_locale_data): New prototype.
22303         (align_locale_data): Likewise.
22304         (add_locale_empty): Likewise.
22305         (add_locale_raw_data): Likewise.
22306         (add_locale_raw_obstack): Likewise.
22307         (add_locale_string): Likewise.
22308         (add_locale_wstring): Likewise.
22309         (add_locale_uint32): Likewise.
22310         (add_locale_uint32_array): Likewise.
22311         (add_locale_char): Likewise.
22312         (start_locale_structure): Likewise.
22313         (end_locale_structure): Likewise.
22314         (start_locale_prelude): Likewise.
22315         (end_locale_prelude): Likewise.
22316         (write_locale_data): Update prototype.
22317         * locale/programs/3level.h (struct TABLE): Remove result field.
22318         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22319         Use new locale_file interface.
22320         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22321         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22322         * locale/programs/ld-address.c (address_output): Use new
22323         locale_file interface.
22324         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22325         NO_ADD_LOCALE.
22326         (collate_finish): Don't call collseq_table_finalize.
22327         (collate_output): Use new locale_file interface.
22328         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22329         in file.
22330         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22331         (TABLE): Move defines earlier in file.
22332         (ELEMENT): Likewise.
22333         (DEFAULT): Likewise.
22334         (wctrans_table_add): Move macro and inline function earlier in
22335         file.
22336         (struct wctype_table): Move type earlier in file.
22337         (add_locale_wctype_table): New static prototype.
22338         (struct locale_ctype_t): Use logical types instead of struct iovec
22339         pointers for members.
22340         (ctype_output): Use new locale_file interface.
22341         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22342         new locale_file interface.
22343         (allocate_arrays): Update for use of new locale_file interface.
22344         * locale/programs/ld-identification.c (identification_output): Use
22345         new locale_file interface.
22346         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22347         * locale/programs/ld-messages.c (messages_output): Likewise.
22348         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22349         * locale/programs/ld-name.c (name_output): Likewise.
22350         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22351         * locale/programs/ld-paper.c (paper_output): Likewise.
22352         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22353         * locale/programs/ld-time.c (time_output): Likewise.
22355 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22357         * benchtests/Makefile: Add memrchr benchmark.
22358         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22359         benchmark as memrchr.
22360         * benchtests/bench-memrchr-ifunc.c: New file.
22361         * benchtests/bench-memrchr.c: New file.
22363 2013-09-06   Will Newton  <will.newton@linaro.org>
22365         * benchtests/Makefile (string-bench): Add memcpy.
22367 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22368             Cong Wang  <amwang@redhat.com>
22370         [BZ #15850]
22371         * sysdeps/unix/sysv/linux/bits/in.h
22372         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22373         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22374         before __USE_KERNEL_IPV6_DEFS uses.
22375         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22376         IPPROTO_BEETPH.
22377         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22378         sockaddr_in6, or ipv6_mreq.
22380 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22382         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22383         memory access for final bytes in some large inputs.
22384         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22386 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22388         * string/test-memrchr.c: New file.
22389         * string/test-memrchr-ifunc.c: New file.
22390         * string/Makefile: Add new memrchr testcase.
22392 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22394         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22395         fanotify_init returns EPERM.
22397 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22399         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22400         errors.
22401         (top level): Treat second token from macro or constant entries for
22402         allowed headers as allowed.
22403         * include/complex.h: Condition internal declarations on
22404         [!_ISOMAC].
22405         * include/fenv.h: Condition include of <stdbool.h> and internal
22406         declarations on [!_ISOMAC].
22408 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22410         [BZ #15923]
22411         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22413 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22415         * configure.in (--enable-versioning): Remove configure option.
22416         (libc_cv_asm_symver_directive): Remove configure test.
22417         (libc_cv_ld_version_script_option): Likewise.
22418         (VERSIONING): Remove variable and AC_SUBST.
22419         (DO_VERSIONING): Remove AC_DEFINE.
22420         * configure: Regenerated.
22421         * config.h.in (DO_VERSIONING): Remove macro.
22422         * Makerules [$(versioning) = yes]: Change conditionals to
22423         [$(build-shared) = yes].
22424         * config.make.in (versioning): Remove variable.
22425         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22426         [$(build-shared) = yes].
22427         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22428         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22429         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22430         [$(build-shared) = yes].
22431         * extra-lib.mk [$(versioning) = yes]: Likewise.
22432         * hurd/Makefile [$(versioning) = yes]: Likewise.
22433         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22434         [SHARED].
22435         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22436         [SHARED].
22437         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22438         [SHARED && !NO_HIDDEN].
22439         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22440         [SHARED].
22441         [SHARED && DO_VERSIONING]: Likewise..
22442         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22443         [$(build-shared) = yes].
22444         * manual/install.texi (--disable-versioning): Remove
22445         documentation.
22446         * INSTALL: Regenerated.
22447         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22448         to [SHARED].
22449         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22450         [$(build-shared) = yes].
22451         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22452         * sysdeps/i386/i686/multiarch/strstr-c.c
22453         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22454         [SHARED && !NO_HIDDEN].
22455         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22456         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22457         * sysdeps/powerpc/powerpc32/dl-machine.c
22458         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22459         * sysdeps/powerpc/powerpc32/sysdep.h
22460         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22461         to [SHARED && PIC && !NO_HIDDEN].
22462         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22463         conditional to [SHARED].
22465 2013-09-04   Will Newton  <will.newton@linaro.org>
22467         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22468         * benchtests/bench-string.h: Include bench-timing.h instead
22469         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22470         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22471         call to HP_TIMING_DIFF_INIT.
22472         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22473         instead of hp-timing.h macros.
22474         * benchtests/bench-memchr.c: Likewise.
22475         * benchtests/bench-memcmp.c: Likewise.
22476         * benchtests/bench-memcpy.c: Likewise.
22477         * benchtests/bench-memmem.c: Likewise.
22478         * benchtests/bench-memmove.c: Likewise.
22479         * benchtests/bench-memset.c: Likewise.
22480         * benchtests/bench-rawmemchr.c: Likewise.
22481         * benchtests/bench-strcasecmp.c: Likewise.
22482         * benchtests/bench-strcasestr.c: Likewise.
22483         * benchtests/bench-strcat.c: Likewise.
22484         * benchtests/bench-strchr.c: Likewise.
22485         * benchtests/bench-strcmp.c: Likewise.
22486         * benchtests/bench-strcpy.c: Likewise.
22487         * benchtests/bench-strcpy_chk.c: Likewise.
22488         * benchtests/bench-strlen.c: Likewise.
22489         * benchtests/bench-strncasecmp.c: Likewise.
22490         * benchtests/bench-strncat.c: Likewise.
22491         * benchtests/bench-strncmp.c: Likewise.
22492         * benchtests/bench-strncpy.c: Likewise.
22493         * benchtests/bench-strnlen.c: Likewise.
22494         * benchtests/bench-strpbrk.c: Likewise.
22495         * benchtests/bench-strrchr.c: Likewise.
22496         * benchtests/bench-strspn.c: Likewise.
22497         * benchtests/bench-strstr.c: Likewise.
22499 2013-09-04  Will Newton  <will.newton@linaro.org>
22501         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22503 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22505         [BZ #15427]
22506         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22507         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22508         * math/libm-test.inc (lgamma_test_data): Add more tests.
22509         * sysdeps/i386/fpu/libm-test-ulps: Update.
22510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22512 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22514         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22515         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22516         Add ifunc.
22517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22518         Add strcmp-sse2-unaligned
22519         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22521 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22523         * Versions.def (libc): Add GLIBC_2.19.
22525 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22527         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22528         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22530 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22532         [BZ #14155]
22533         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22534         intermediate calculations in recurrence.
22535         (__ieee754_ynf): Likewise.
22536         * math/libm-test.inc (jn_test_data): Do not allow spurious
22537         underflow exception.  Add more tests.
22538         (yn_test_data): Add more tests.
22539         * sysdeps/i386/fpu/libm-test-ulps: Update.
22540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22542 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22544         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22546 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22548         * csu/init-first.c: Fix then/than typos.
22549         * locale/programs/ld-collate.c: Likewise.
22550         * locale/programs/linereader.h: Likewise.
22551         * manual/charset.texi: Likewise.
22552         * manual/filesys.texi: Likewise.
22553         * manual/stdio.texi: Likewise.
22554         * manual/string.texi: Likewise.
22555         * stdlib/fmtmsg.c: Likewise.
22556         * sysdeps/i386/stpncpy.S: Likewise.
22557         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22558         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22559         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22560         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22562 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22564         * elf/dl-open.c: Fix typos.
22565         * iconvdata/gbbig5.c: Likewise.
22566         * iconvdata/iso-2022-jp.c: Likewise.
22567         * iconv/gconv_int.h: Likewise.
22568         * iconv/loop.c: Likewise.
22569         * nis/rpcsvc/nis.h: Likewise.
22570         * resolv/ns_name.c: Likewise.
22571         * stdio-common/vfscanf.c: Likewise.
22572         * streams/stropts.h: Likewise.
22573         * sunrpc/rpc_thread.c: Likewise.
22574         * sysdeps/i386/strpbrk.S: Likewise.
22575         * sysdeps/ieee754/k_standard.c: Likewise.
22576         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22577         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22578         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22579         * sysdeps/mach/hurd/profil.c: Likewise.
22580         * sysdeps/s390/dl-procinfo.h: Likewise.
22581         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22582         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22583         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22584         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22585         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22587 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22589         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22592 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22594         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22595         aix specific files.
22596         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22597         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22598         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22599         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22600         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22601         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22602         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22603         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22605 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22606             Roland McGrath  <roland@hack.frob.com>
22608         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22609         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22611 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22613         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22614         __executable_start symbol instead of _start.
22616 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22618         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22619         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22620         Move macros to...
22621         * sysdeps/gnu/ldsodefs.h: ... this new file.
22623         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22624         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22625         instead of ELFOSABI_LINUX.
22627         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22628         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22629         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22630         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22631         Likewise.
22632         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22633         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22634         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22635         Likewise.
22636         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22637         (ibm_extended_long_double): Add ieee_nan member.
22638         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22639         (do_test): New function.
22641         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22642         TEST_TRUNC.
22643         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22644         functions, renamed from truncdfsf_test, trunctfsf_test,
22645         trunctfdf_test.
22646         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22647         functions.
22648         (do_test): Run all these.
22650 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22652         * argp/argp-help.c: Fix typos.
22653         * argp/argp-parse.c: Likewise.
22654         * debug/backtracesyms.c: Likewise.
22655         * elf/elf.h: Likewise.
22656         * malloc/malloc.c: Likewise.
22657         * nis/nis_print.c: Likewise.
22658         * resolv/res_comp.c: Likewise.
22659         * stdlib/stdlib.h: Likewise.
22660         * sunrpc/clnt_tcp.c: Likewise.
22661         * sunrpc/clnt_udp.c: Likewise.
22662         * sunrpc/clnt_unix.c: Likewise.
22663         * sysdeps/unix/bsd/ptsname.c: Likewise.
22664         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22665         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22667         Likewise.
22668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22669         Likewise.
22670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22671         Likewise.
22672         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22674 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22676         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22677         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22679 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22681         [BZ #15897]
22682         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22683         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22684         ($(objpfx)bug-dl-leaf): New rule.
22685         ($(objpfx)bug-dl-leaf.so): Likewise.
22686         ($(objpfx)bug-dl-leaf.out): Likewise.
22687         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22688         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22689         * dlfcn/bug-dl-leaf.c: New test.
22690         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22691         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22692         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22693         (dlclose): Likewise.
22694         (dlmopen): Likewise.
22696 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22698         * include/netdb.h [!_ISOMAC]:
22699         Don't include <tls.h>.
22700         (h_errno, __libc_h_errno): Move declaration and macros out of
22701         [_LIBC_REENTRANT].
22703         * include/resolv.h [_RESOLV_H_]:
22704         Don't include <tls.h>.
22705         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22706         * resolv/res_libc.c: Don't include <tls.h>.
22707         (_res): Use __attribute__ ((nocommon)) in place of
22708         __attribute__ ((section (".bss"))).
22710         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22711         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22713         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22715         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22716         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22718         * resolv/res_mkquery.c: Include <sys/time.h>.
22720         * inet/ifreq.c: Moved to ...
22721         * sysdeps/unix/ifreq.c: ... here.
22722         * inet/ifreq.c: New file, true stub version.
22724         * socket/sa_len.c: New file.
22725         * socket/Makefile (aux): Add it.
22726         * sysdeps/unix/sysv/linux/Makefile
22727         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22728         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22729         and #include <socket/sa_len.c>.
22730         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22731         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22733         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22734         * bits/socket.h: ... here.
22736         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22737         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22738         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22740 2013-08-27  Andreas Schwab  <schwab@suse.de>
22742         [BZ #15736]
22743         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22744         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22745         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22746         * string/test-strcasecmp.c (test_main): Run tests in several
22747         locales.
22748         * string/test-strncasecmp.c (test_main): Likewise.
22750         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22751         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22752         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22753         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22754         (__strncasecmp_ssse3) [PIC]: Likewise.
22756 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22758         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22760         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22761         instead of explicitly declaring xdecrypt.
22762         * nis/nss_nis/nis-publickey.c: Likewise.
22764 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22766         [BZ #15890]
22767         * nscd/aicache.c: Include res_hconf.h.
22768         (addhstaiX): Initialize res_hconf.
22770 2013-08-26  Andreas Schwab  <schwab@suse.de>
22772         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22773         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22775 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22777         * nscd/aicache.c (addhstaiX): Fix indentation.
22779 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22781         * configure.ac: Quote $build_pt_chown test.
22782         * configure: Regenerated.
22784 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22786         [BZ #15532]
22787         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22788         * math/s_cexpf.c (__cexpf): Likewise.
22789         * math/s_cexpl.c (__cexpl): Likewise.
22790         * math/libm-test.inc (cexp_test_data): Correct expected return
22791         value for NaN + i0.  Add another test.
22793 2013-08-22  David S. Miller  <davem@davemloft.net>
22795         * po/ca.po: Update Catalan translation from translation project.
22796         * po/uk.po: Add Ukrainian translations from translation project.
22798 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22800         [BZ #15797]
22801         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22802         is infinite, not alongside NaN test.
22803         * math/s_fdimf.c (__fdimf): Likewise.
22804         * math/s_fdiml.c (__fdiml): Likewise.
22805         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22806         errno is unchanged.
22808 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22810         * argp/argp-help.c: Fix typos.
22811         * crypt/speeds.c: Likewise.
22812         * csu/check_fds.c: Likewise.
22813         * elf/dl-load.c: Likewise.
22814         * elf/dl-open.c: Likewise.
22815         * elf/reldep3.c: Likewise.
22816         * elf/reldep.c: Likewise.
22817         * elf/sprof.c: Likewise.
22818         * iconv/iconv_charmap.c: Likewise.
22819         * iconv/skeleton.c: Likewise.
22820         * iconv/strtab.c: Likewise.
22821         * io/lockf64.c: Likewise.
22822         * libio/libioP.h: Likewise.
22823         * resolv/gai_notify.c: Likewise.
22824         * resolv/ns_name.c: Likewise.
22825         * resolv/ns_samedomain.c: Likewise.
22826         * resolv/res_send.c: Likewise.
22827         * stdlib/random.c: Likewise.
22828         * sunrpc/rpc/xdr.h: Likewise.
22829         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22830         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22831         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22832         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22833         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22834         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22835         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22836         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22837         * sysdeps/mach/hurd/check_fds.c: Likewise.
22838         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22839         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22840         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22841         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22842         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22843         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22844         * sysdeps/pthread/aio_notify.c: Likewise.
22845         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22846         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22847         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22848         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22849         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22851 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22853         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22854         version if bit_Slow_SSE4_2 is set.
22855         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22856         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22858 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22860         [BZ #15867]
22861         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22862         trampoline stack frame information.
22863         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22864         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22865         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22866         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22867         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22868         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22869         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22870         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22871         sa_flags value.
22872         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22873         interrupting a syscall and set with option SA_SIGINFO.
22875 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22877         [BZ #15531]
22878         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22879         argument is infinite.
22880         * math/s_cprojf.c (__cprojf): Likewise.
22881         * math/s_cprojl.c (__cprojl): Likewise.
22882         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22883         * math/libm-test.inc (cproj_test_data): Add more tests.
22885         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22887         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22888         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22889         size.  Use __ffs to determine corresponding shift.
22891 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22892             Roland McGrath  <roland@hack.frob.com>
22894         * Makefile (INSTALL): Remove trailing blank lines from output of
22895         makeinfo.
22897 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22899         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22900         Align 32 bit compat elf_greg to 8 bytes.
22902 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22904         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22906 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22908         * string/strcoll_l.c (coll_seq): New structure.
22909         (get_next_seq_cached): New function.
22910         (get_next_seq): New function.
22911         (do_compare): New function.
22912         (STRCOLL): Use GNU style definition.  Simplify implementation
22913         by using get_next_seq, get_next_seq_cached and do_compare.
22915 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22917         [BZ #14699]
22918         CVE-2013-4237
22919         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22920         member.
22921         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22922         member.
22923         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22924         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22925         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22926         conditional.
22927         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22928         GETDENTS_64BIT_ALIGNED.
22929         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22930         * manual/filesys.texi (Reading/Closing Directory): Document
22931         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22932         strongly.
22933         * manual/conf.texi (Limits for Files): Add portability note to
22934         NAME_MAX, PATH_MAX.
22935         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22937 2013-08-13  Andreas Schwab  <schwab@suse.de>
22939         [BZ #15749]
22940         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22941         of fabs.
22942         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22943         LDBL_MAX_EXP >= 16384]: Add tests for it.
22945 2013-08-12  David S. Miller  <davem@davemloft.net>
22947         * version.h (RELEASE): Set to "development".
22948         (VERSION): Set to "2.18.90".
22949         * NEWS: Add 2.19 section.
22951 2013-08-03  David S. Miller  <davem@davemloft.net>
22953         * po/ko.po: Update Korean translation from translation project.
22955 2013-08-01  David S. Miller  <davem@davemloft.net>
22957         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22958         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22959         Bilka.
22961 2013-07-30  David S. Miller  <davem@davemloft.net>
22963         * po/fr.po: Update French translation from translation project.
22965 2013-07-28  David S. Miller  <davem@davemloft.net>
22967         * po/cs.po: Update Czech translation from translation project.
22969         * po/sv.po: Update Swedish translation from translation project.
22971 2013-07-27  David S. Miller  <davem@davemloft.net>
22973         * po/eo.po: Update Esperanto translation from translation project.
22975         * po/vi.po: Update Vietnamese translation from translation project.
22977         * po/de.po: Update German translation from translation project.
22979 2013-07-26  David S. Miller  <davem@davemloft.net>
22981         * po/bg.po: Update Bulgarian translation from translation project.
22983         * po/nl.po: Update Dutch translation from translation project.
22984         * po/pl.po: Update Polish translation from translation project.
22985         * po/ru.po: Update Russian translation from translation project.
22987 2013-07-24  David S. Miller  <davem@davemloft.net>
22989         * po/libc.pot: Update.
22991 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22993         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22994         variable page size.
22995         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22996         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22997         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22999 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23001         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23003 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23004             Andreas Schwab  <schwab@suse.de>
23005             Roland McGrath  <roland@hack.frob.com>
23006             Joseph Myers  <joseph@codesourcery.com>
23007             Carlos O'Donell  <carlos@redhat.com>
23009         [BZ #15755]
23010         * config.h.in: Define HAVE_PT_CHOWN.
23011         * config.make.in (build-pt-chown): New variable.
23012         * configure.in (--enable-pt_chown): New configure option.
23013         * configure: Regenerate.
23014         * login/Makefile: Include Makeconfig.  Build pt_chown only if
23015         build-pt-chown is enabled.
23016         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23017         pt_chown to fix pty ownership.
23018         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23019         CLOSE_ALL_FDS.
23020         * manual/install.texi (Configuring and compiling): Mention
23021         --enable-pt_chown. Add @findex for grantpt.
23022         * INSTALL: Regenerate.
23024 2013-07-20  David S. Miller  <davem@davemloft.net>
23026         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23027         difference between 32-bit and 64-bit.
23029 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
23031         [BZ #15711]
23032         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23033         Avoid system header dependency with -ffreestanding.
23034         ($(objpfx)bits/syscall%d): Likewise.
23036 2013-07-13  David S. Miller  <davem@davemloft.net>
23038         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23039         underflows from atanl/atan2l due to bug 15319.
23040         (casinh_test_data): Likewise.
23042 2013-07-07  David S. Miller  <davem@davemloft.net>
23044         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23046 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
23048         * sysdeps/i386/fpu/libm-test-ulps: Update.
23049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23051 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23053         * configure.in (--enable-lock-elision): Fix message text.
23054         * INSTALL: Regenerate.
23055         * configure: Regenerate.
23057 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23061 2013-07-03  Andreas Jaeger  <aj@suse.de>
23063         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23064         define.
23065         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23066         (ptrace_peeksiginfo_args): Add.
23067         (__ptrace_peeksiginfo_flags): Add.
23068         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23069         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23070         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23072 2013-07-03  Allan McRae  <allan@archlinux.org>
23074         * sysdeps/i386/fpu/libm-test-ulps: Update.
23076 2013-07-02  David S. Miller  <davem@davemloft.net>
23078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23080 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
23082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23084 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23086         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23089 2013-07-02  Andi Kleen <ak@linux.intel.com>
23091         * config.h.in (ENABLE_LOCK_ELISION): Add.
23092         * configure.in (--enable-lock-elision): Add option.
23093         * manual/install.texi: Document --enable lock elision.
23094         * configure: Regenerate
23095         * INSTALL: Regenerate.
23097 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
23099         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23100         SSE4.2 strcasecmp for libc.a.
23101         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23103 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
23105         [BZ #13304]
23106         * soft-fp/op-common.h (_FP_FMA): New macro.
23107         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23108         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
23109         (_FP_MUL_MEAT_1_imm): ... here.
23110         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
23111         (_FP_MUL_MEAT_1_wide): ... here.
23112         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
23113         (_FP_MUL_MEAT_1_hard): ... here.
23114         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23115         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
23116         (_FP_MUL_MEAT_2_wide): ... here.
23117         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
23118         (_FP_MUL_MEAT_2_wide_3mul): ... here.
23119         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
23120         (_FP_MUL_MEAT_2_gmp): ... here.
23121         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23122         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
23123         (_FP_MUL_MEAT_4_wide): ... here.
23124         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
23125         (_FP_MUL_MEAT_4_gmp): ... here.
23126         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23127         (_FP_WFRACBITS_DW_S): Likewise.
23128         (_FP_WFRACXBITS_DW_S): Likewise.
23129         (_FP_HIGHBIT_DW_S): Likewise.
23130         (FP_FMA_S): Likewise.
23131         (_FP_FRAC_HIGH_DW_S): Likewise.
23132         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23133         (_FP_WFRACBITS_DW_D): Likewise.
23134         (_FP_WFRACXBITS_DW_D): Likewise.
23135         (_FP_HIGHBIT_DW_D): Likewise.
23136         (FP_FMA_D): Likewise.
23137         (_FP_FRAC_HIGH_DW_D): Likewise.
23138         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23139         (_FP_WFRACBITS_DW_E): Likewise.
23140         (_FP_WFRACXBITS_DW_E): Likewise.
23141         (_FP_HIGHBIT_DW_E): Likewise.
23142         (FP_FMA_E): Likewise.
23143         (_FP_FRAC_HIGH_DW_E): Likewise.
23144         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23145         (_FP_WFRACBITS_DW_Q): Likewise.
23146         (_FP_WFRACXBITS_DW_Q): Likewise.
23147         (_FP_HIGHBIT_DW_Q): Likewise.
23148         (FP_FMA_Q): Likewise.
23149         (_FP_FRAC_HIGH_DW_Q): Likewise.
23150         * soft-fp/fmasf4.c: New file.
23151         * soft-fp/fmadf4.c: Likewise.
23152         * soft-fp/fmatf4.c: Likewise.
23154 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23157         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23158         Silvermont.
23159         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23160         macro.
23161         (index_Slow_SSE4_2): Likewise.
23162         (index_Prefer_PMINUB_for_stringop): Likewise.
23163         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23164         bit_Slow_SSE4_2 is set.
23165         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23166         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23168 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23170         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23171         rtld_global._dl_hwcap2.
23172         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23173         POWER8.
23174         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23175         POWER8 feature descriptions defined in _dl_hwcap2.
23176         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23177         string handling for POWER8 feature bits.
23178         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23179         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23180         _dl_powerpc_cap_flags.
23181         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23182         * sysdeps/powerpc/rtld-global-offsets.sym
23183         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23184         _dl_hwcap2 in the rtld_global_ro structure.
23186 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23188         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23189         hardware capabilities in support of AT_HWCAP2.
23190         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23191         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23192         GLRO(dl_hwcap2).
23193         (_dl_show_auxv): Add support for calling _dl_procinfo to display
23194         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
23195         explicitly the unknown a_type display mechanism is used.
23196         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23197         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23198         struct member.
23199         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23200         to macro prototype for AT_HWCAP2 support.
23201         * sysdeps/i386/dl-procinfo.h: Likewise.
23202         * sysdeps/s390/dl-procinfo.h: Likewise.
23203         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23204         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
23205         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
23206         return -1 for unknown a_type display fallback.
23207         * sysdeps/sparc/dl-procinfo.h: Likewise.
23208         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23209         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23211 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
23213         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23214         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23216 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
23218         [BZ #12492]
23219         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23220         mprotect making __stack_prot writable.
23222 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
23223             Joseph Myers  <joseph@codesourcery.com>
23225         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23226         as being properly aligned.
23228 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
23230         * dlfcn/modstatic5.c: New file.
23231         * dlfcn/tststatic5.c: New file.
23232         * dlfcn/Makefile (tests): Add tststatic5.
23233         (tests-static): Likewise.
23234         (modules-names): Add modstatic5.
23235         (tststatic5-ENV): New variable.
23236         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23238         [BZ #15022]
23239         * elf/dl-support.c (_dl_main_map): New variable.
23240         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23241         (_dl_nns, _dl_load_adds): Set to 1.
23242         (_dl_initial_searchlist): Refer to _dl_main_map.
23243         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23244         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23245         call to _dl_get_origin.
23246         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23247         around call_map.
23248         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23249         * dlfcn/modstatic3.c: New file.
23250         * dlfcn/tststatic3.c: New file.
23251         * dlfcn/tststatic4.c: New file.
23252         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23253         (tests-static): Likewise.
23254         (modules-names): Add modstatic3.
23255         (tststatic3-ENV, tststatic4-ENV): New variables.
23256         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23257         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23259 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
23261         * configure.in (CC): Require GCC version 4.4 or later.
23262         * configure: Regenerated.
23263         * manual/install.texi (Tools for Compilation): Update GCC version
23264         requirement.
23265         * INSTALL: Regenerated.
23267 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23269         [BZ #15674]
23270         * string/test-memcmp.c (check2): New.
23271         (main): Call check2.
23273         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23275 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
23277         [BZ #15022]
23278         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23279         over to...
23280         (dl_open_worker) [!SHARED]: ... here.
23282 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23284         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23286 2013-06-25  Richard Henderson  <rth@redhat.com>
23288         * locale/programs/locarchive.c: Include <libc-internal.h>
23290 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23292         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23293         trailing whitespace removed.
23295 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23297         [BZ #10283]
23298         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23299         * locale/programs/locarchive.c: Include libc-mmap.h.
23300         (prepare_address_space): Take two new outputs (the mmap base and len).
23301         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23302         values.
23303         (create_archive): Declare new mmap base and len values for
23304         prepare_address_space, and store the result in ah.
23305         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23306         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23307         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23308         Declare new mmap base and len values for
23309         prepare_address_space, and store the result in new_ah.
23310         (open_archive): Declare new mmap base and len values for
23311         prepare_address_space, and store the result in ah.
23312         (close_archive): If ah->mmap_base is not NULL, use that and
23313         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23314         * sysdeps/generic/libc-mmap.h: New file.
23316 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23318         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23319         (ALIGN_UP): Likewise.
23320         (PTR_ALIGN_DOWN): Likewise.
23321         (PTR_ALIGN_UP): Likewise.
23323 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23325         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23326         entry mapped to PPC_PLATFORM_POWER8.
23327         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23328         POWER8.
23329         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23330         (_dl_string_platform): Add case for exporting platform position for
23331         POWER8.
23332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23333         search path to sysdeps/powerpc/powerpc32/power8 directory.
23334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23335         search path to sysdeps/powerpc/powerpc64/power8 directory.
23336         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23337         power7 directories.
23338         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23339         power7 directories.
23341 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23343         * INSTALL: Regenerate.
23345         * nscd/connections.c (nscd_init): Fix comment.
23347 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23349         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23351         [BZ #15667]
23352         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23353         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23355 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23357         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23358         DL_DST_REQ_STATIC.
23359         (DL_DST_REQ_STATIC): Remove macro.
23361 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23363         [BZ #7006]
23364         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23365         with a shift of 0 bits.
23367 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23369         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23370         $(tststatic-ENV).
23372 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23374         [BZ #15655]
23375         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23377 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23379         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23380         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23381         accepts -fno-tree-loop-distribute-patterns.
23382         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23383         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23384         recursive call.
23385         * string/memset.c (memset): Likewise.
23386         * string/test-memmove.c (simple_memmove): Disable loop transformation
23387         to library calls.
23388         * string/test-memset.c (simple_memset): Likewise.
23389         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23390         * benchtests/bench-memset.c (simple_memset): Likewise.
23391         * configure: Regenerated.
23393 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23395         * math/test-misc.c (main): Ignore fesetround failure when failures
23396         of subsequent rounding tests would be ignored.
23398         [BZ #15654]
23399         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23400         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23401         * math/fegetenv.c (__fegetenv): Return 0.
23402         * math/fegetexcept.c (fegetexcept): Return 0.
23403         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23404         FE_TONEAREST.
23405         * math/feholdexcpt.c (feholdexcept): Return 0.
23406         * math/fesetenv.c (__fesetenv): Return 0.
23407         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23408         argument FE_TONEAREST.
23409         * math/feupdateenv.c (__feupdateenv): Return 0.
23410         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23412 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23414         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23415         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23416         ($(objpfx)rtld-%.os rules): Use them.
23418 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23420         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23421         fields.
23423 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23425         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23426         length of target pattern, then descending length of dependency pattern.
23427         * configure.in (AWK): Require gawk 3.1.2 or newer.
23428         * manual/install.texi (Tools for Compilation): Say that we do.
23429         * configure: Regenerated.
23431         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23432         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23433         * scripts/sysd-rules.awk: ... this new script.
23434         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23435         than a glob-style pattern.
23437 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23439         * math/test-misc.c (main): Do not treat incorrectly rounded
23440         conversions as failure unless ROUNDING_TESTS passes.
23442 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23444         [BZ #15631]
23445         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23446         restore exception state around main square root computation, then
23447         check for inexactness explicitly.
23449         * math/libm-test.inc (fma_test_data): Add another test.
23451 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23453         * manual/threads.texi (Non-POSIX Extensions): New document
23454         node.  Document pthread_getattr_default_np and
23455         pthread_setattr_default_np.
23457         * Versions.def (libpthread): Add GLIBC_2.18.
23458         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23460         Likewise.
23461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23462         Likewise.
23463         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23464         Likewise.
23465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23466         Likewise.
23467         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23468         Likewise.
23469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23470         Likewise.
23471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23472         Likewise.
23473         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23474         Likewise.
23475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23476         Likewise.
23478 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23481         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23483 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23484             H.J. Lu  <hjl.tools@gmail.com>
23486         [BZ #15627]
23487         * sysdeps/x86_64/rtld-memset.c: Remove file.
23488         * sysdeps/x86_64/rtld-memset.S: New file.
23490 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23492         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23493         (test_in_one_mode): Take arguments for whether the rounding mode
23494         is supported for each floating-point type.
23495         (do_test): Pass new arguments to test_in_one_mode using
23496         ROUNDING_TESTS.
23498 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23500         * posix/tst-waitid.c (do_test): Distinguish different instances of
23501         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23502         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23503         before entering the kernel for waitpid.
23505 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23507         * NEWS: Fix note on clock function precision.  Text by Roland
23508         McGrath.
23510 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23512         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23513         it into place only when and if the sanity check passes.
23515 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23517         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23518         output for whether conversion result is exact.  Take argument
23519         indicating whether type is IBM long double.
23520         (round_for_all): Change need_exact field to ibm_ld.
23521         * stdlib/tst-strtod-round.c (struct exactness): New type.
23522         (struct test): Change bool ld_ok field to struct exactness exact.
23523         (TEST): Update all definitions for change to field.
23524         (tests): Regenerate array contents.
23525         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23526         field value.  Check for IBM long double here.
23527         (do_test): Update calls to test_in_one_mode.
23529 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23531         [BZ #12515]
23532         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23533         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23535 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23537         [BZ #15605]
23538         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23539         generated by the compiler on loop optimizations.
23540         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23541         general definitions.
23543 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23545         * math/bug-nextafter.c: Include <math-tests.h>.
23546         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23547         the relevant type.
23548         * math/bug-nexttoward.c: Include <math-tests.h>.
23549         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23550         the relevant type.
23551         * math/test-misc.c: Include <math-tests.h>.
23552         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23553         the relevant type.
23555 2013-06-12  Andreas Jaeger  <aj@suse.de>
23557         * po/ia.po: Update Interlingua translation from translation
23558         project.
23560 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23562         * include/fenv.h: Include stdbool.h.
23563         (struct rm_ctx): New structure.
23564         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23565         Define macro.
23566         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23567         (SET_RESTORE_ROUNDF): Likewise.
23568         (SET_RESTORE_ROUNDL): Likewise.
23569         (SET_RESTORE_ROUND_NOEX): Likewise.
23570         (SET_RESTORE_ROUND_NOEXF): Likewise.
23571         (SET_RESTORE_ROUND_NOEXL): Likewise.
23572         (SET_RESTORE_ROUND_53BIT): Likewise.
23573         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23574         (libc_feresetround_noexf_ctx): Likewise.
23575         (libc_feresetround_noexl_ctx): Likewise.
23576         (libc_feholdsetround_53bit_ctx): Likewise.
23577         (libc_feresetround_53bit_ctx): Likewise.
23578         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23579         (libc_feholdexcept_setround_sse_ctx): New function.
23580         (libc_fesetenv_sse_ctx): Likewise.
23581         (libc_feupdateenv_sse_ctx): Likewise.
23582         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23583         (libc_feholdexcept_setround_387_ctx): Likewise.
23584         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23585         (libc_feholdsetround_387_prec_ctx): Likewise.
23586         (libc_feholdsetround_387_ctx): Likewise.
23587         (libc_feholdsetround_387_53bit_ctx): Likewise.
23588         (libc_feholdsetround_sse_ctx): Likewise.
23589         (libc_feresetround_sse_ctx): Likewise.
23590         (libc_feresetround_387_ctx): Likewise.
23591         (libc_feupdateenv_387_ctx): Likewise.
23592         (libc_feholdexcept_setroundf_ctx): Define macro.
23593         (libc_fesetenvf_ctx): Likewise.
23594         (libc_feupdateenvf_ctx): Likewise.
23595         (libc_feholdsetroundf_ctx): Likewise.
23596         (libc_feresetroundf_ctx): Likewise.
23597         (libc_feholdexcept_setround_ctx): Likewise.
23598         (libc_fesetenv_ctx): Likewise.
23599         (libc_feupdateenv_ctx): Likewise.
23600         (libc_feholdsetround_ctx): Likewise.
23601         (libc_feresetround_ctx): Likewise.
23602         (libc_feholdexcept_setroundl_ctx): Likewise.
23603         (libc_feupdateenvl_ctx): Likewise.
23604         (libc_feholdsetroundl_ctx): Likewise.
23605         (libc_feresetroundl_ctx): Likewise.
23606         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23607         (libc_feresetround_53bit_ctx): Likewise.
23609 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23611         * locale/iso-639.def: Convert to UTF-8.
23613 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23615         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23616         (EXCEPTION_TESTS_double): Likewise.
23617         (EXCEPTION_TESTS_long_double): Likewise.
23618         (EXCEPTION_TESTS): Likewise.
23619         * math/libm-test.inc (test_exceptions): Only test exceptions if
23620         EXCEPTION_TESTS (FLOAT).
23622 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23624         * benchtests/Makefile (string-bench): Add strcpy_chk and
23625         stpcpy_chk.
23626         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23627         * benchtests/bench-stpcpy_chk.c: New file.
23628         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23629         * benchtests/bench-strcpy_chk.c: New file.
23630         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23631         code.
23632         (do_test): Likewise.
23634 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23636         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23637         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23638         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23639         with tabs where appropriate.
23640         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23641         dl-procinfo.h.
23642         [PPC_PLATFORM_PPC440]: Likewise.
23643         [PPC_PLATFORM_PPC464]: Likewise.
23644         [PPC_PLATFORM_PPC476]: Likewise.
23645         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23646         ppc464, and ppc476 platform strings merging from ports/
23647         dl-procinfo.h.
23649 2013-06-11  Andreas Schwab  <schwab@suse.de>
23651         [BZ #14991]
23652         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23653         (from_ucs4_idx): Regenerate.
23654         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23655         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23656         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23657         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23658         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23659         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23660         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23661         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23662         from FROM_LOOP and TO_LOOP specific macros.
23663         (BODY): Handle combining characters.
23664         * iconvdata/BIG5HKSCS.irreversible: Update.
23665         * iconvdata/BIG5HKSCS.precomposed: New file.
23666         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23667         characters.
23668         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23670 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23672         * include/sys/time.h: Fix indentation and add copyright header.
23674         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23675         (do_test): Likewise.
23676         * string/test-memchr.c (do_one_test): Likewise.
23677         (do_test): Likewise.
23678         * string/test-memcmp.c (do_one_test): Likewise.
23679         (do_test): Likewise.
23680         * string/test-memcpy.c (do_one_test): Likewise.
23681         (do_test): Likewise.
23682         * string/test-memmem.c (do_one_test): Likewise.
23683         (do_test): Likewise.
23684         (do_random_tests): Likewise.
23685         * string/test-memmove.c (do_one_test): Likewise.
23686         (do_test): Likewise.
23687         * string/test-memset.c (do_one_test): Likewise.
23688         (do_test): Likewise.
23689         * string/test-rawmemchr.c (do_one_test): Likewise.
23690         (do_test): Likewise.
23691         * string/test-strcasecmp.c (do_one_test): Likewise.
23692         (do_test): Likewise.
23693         * string/test-strcasestr.c (do_one_test): Likewise.
23694         (do_test): Likewise.
23695         * string/test-strcat.c (do_one_test): Likewise.
23696         (do_test): Likewise.
23697         * string/test-strchr.c (do_one_test): Likewise.
23698         (do_test): Likewise.
23699         * string/test-strcmp.c (do_one_test): Likewise.
23700         (do_test): Likewise.
23701         * string/test-strcpy.c (do_one_test): Likewise.
23702         (do_test): Likewise.
23703         * string/test-string.h: Likewise.
23704         (test_init): Likewise.
23705         * string/test-strlen.c (do_one_test): Likewise.
23706         (do_test): Likewise.
23707         * string/test-strncasecmp.c (do_one_test): Likewise.
23708         (do_test): Likewise.
23709         * string/test-strncat.c (do_one_test): Likewise.
23710         (do_test): Likewise.
23711         * string/test-strncmp.c (do_one_test): Likewise.
23712         (do_test_limit): Likewise.
23713         (do_test): Likewise.
23714         * string/test-strncpy.c (do_one_test): Likewise.
23715         (do_test): Likewise.
23716         * string/test-strnlen.c (do_one_test): Likewise.
23717         (do_test): Likewise.
23718         * string/test-strpbrk.c (do_one_test): Likewise.
23719         (do_test): Likewise.
23720         * string/test-strrchr.c (do_one_test): Likewise.
23721         (do_test): Likewise.
23722         * string/test-strspn.c (do_one_test): Likewise.
23723         (do_test): Likewise.
23724         * string/test-strstr.c (do_one_test): Likewise.
23725         (do_test): Likewise.
23727         * benchtests/Makefile (string-bench): Add string benchmarks.
23728         * benchtests/bench-bcopy-ifunc.c: New file.
23729         * benchtests/bench-bcopy.c: New file.
23730         * benchtests/bench-bzero-ifunc.c: New file.
23731         * benchtests/bench-bzero.c: New file.
23732         * benchtests/bench-memccpy-ifunc.c: New file.
23733         * benchtests/bench-memccpy.c: New file.
23734         * benchtests/bench-memchr-ifunc.c: New file.
23735         * benchtests/bench-memchr.c: New file.
23736         * benchtests/bench-memcmp-ifunc.c: New file.
23737         * benchtests/bench-memcmp.c: New file.
23738         * benchtests/bench-memmem-ifunc.c: New file.
23739         * benchtests/bench-memmem.c: New file.
23740         * benchtests/bench-memmove-ifunc.c: New file.
23741         * benchtests/bench-memmove.c: New file.
23742         * benchtests/bench-mempcpy-ifunc.c: New file.
23743         * benchtests/bench-mempcpy.c: New file.
23744         * benchtests/bench-memset-ifunc.c: New file.
23745         * benchtests/bench-memset.c: New file.
23746         * benchtests/bench-rawmemchr-ifunc.c: New file.
23747         * benchtests/bench-rawmemchr.c: New file.
23748         * benchtests/bench-stpcpy-ifunc.c: New file.
23749         * benchtests/bench-stpcpy.c: New file.
23750         * benchtests/bench-stpncpy-ifunc.c: New file.
23751         * benchtests/bench-stpncpy.c: New file.
23752         * benchtests/bench-strcasecmp-ifunc.c: New file.
23753         * benchtests/bench-strcasecmp.c: New file.
23754         * benchtests/bench-strcasestr-ifunc.c: New file.
23755         * benchtests/bench-strcasestr.c: New file.
23756         * benchtests/bench-strcat-ifunc.c: New file.
23757         * benchtests/bench-strcat.c: New file.
23758         * benchtests/bench-strchr-ifunc.c: New file.
23759         * benchtests/bench-strchr.c: New file.
23760         * benchtests/bench-strchrnul-ifunc.c: New file.
23761         * benchtests/bench-strchrnul.c: New file.
23762         * benchtests/bench-strcmp-ifunc.c: New file.
23763         * benchtests/bench-strcmp.c: New file.
23764         * benchtests/bench-strcpy-ifunc.c: New file.
23765         * benchtests/bench-strcpy.c: New file.
23766         * benchtests/bench-strcspn-ifunc.c: New file.
23767         * benchtests/bench-strcspn.c: New file.
23768         * benchtests/bench-strlen-ifunc.c: New file.
23769         * benchtests/bench-strlen.c: New file.
23770         * benchtests/bench-strncasecmp-ifunc.c: New file.
23771         * benchtests/bench-strncasecmp.c: New file.
23772         * benchtests/bench-strncat-ifunc.c: New file.
23773         * benchtests/bench-strncat.c: New file.
23774         * benchtests/bench-strncmp-ifunc.c: New file.
23775         * benchtests/bench-strncmp.c: New file.
23776         * benchtests/bench-strncpy-ifunc.c: New file.
23777         * benchtests/bench-strncpy.c: New file.
23778         * benchtests/bench-strnlen-ifunc.c: New file.
23779         * benchtests/bench-strnlen.c: New file.
23780         * benchtests/bench-strpbrk-ifunc.c: New file.
23781         * benchtests/bench-strpbrk.c: New file.
23782         * benchtests/bench-strrchr-ifunc.c: New file.
23783         * benchtests/bench-strrchr.c: New file.
23784         * benchtests/bench-strspn-ifunc.c: New file.
23785         * benchtests/bench-strspn.c: New file.
23786         * benchtests/bench-strstr-ifunc.c: New file.
23787         * benchtests/bench-strstr.c: New file.
23789         * benchtests/Makefile: Disable parallel execution of targets.
23790         (string-bench): Add memcpy.
23791         (benchset): New variable to store a list of benchmark sets.
23792         (bench-func): Renamed from bench.
23793         (bench-set): New target.
23794         (bench): Depend on bench-func and bench-set.
23795         * benchtests/README: Add section on benchmark sets.
23796         * benchtests/bench-memcpy-ifunc.c: New file.
23797         * benchtests/bench-memcpy.c: New file.
23798         * benchtests/bench-string.h: New file.
23800 2013-06-11  Andreas Schwab  <schwab@suse.de>
23802         [BZ #15577]
23803         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23804         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23805         values in the triple.
23806         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23807         terminator in the group key.
23809 2013-06-11  Andreas Jaeger  <aj@suse.de>
23811         * po/zh_TW.po: Update Chinese (traditional) translation from
23812         translation project.
23814 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23816         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23817         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23818         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23819         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23820         (clock_getcpuclockid): Likewise.
23821         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23822         Add weak_alias and libc_hidden_def.
23823         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23824         * rt/clock_gettime.c (clock_gettime): Rename to
23825         __clock_gettime.  Add weak_alias and libc_hidden_def.
23826         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23827         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23828         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23829         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23830         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23831         Likewise.
23832         * rt/clock_settime.c (clock_settime): Rename to
23833         __clock_settime.  Add weak_alias and libc_hidden_def.
23834         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23836 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23838         * mach/err_boot.sub: Remove trailing whitespace.
23839         * mach/err_ipc.sub: Likewise.
23840         * mach/err_mach.sub: Likewise.
23842         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23843         (ROUNDING_TESTS_double): Likewise.
23844         (ROUNDING_TESTS_long_double): Likewise.
23845         (ROUNDING_TESTS): Likewise.
23846         * math/libm-test.inc: Include <math-tests.h>.
23847         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23848         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23849         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23850         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23852 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23854         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23855         of assigning.
23857 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23859         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23860         otherwise empty TRANS lines.
23861         * sysdeps/gnu/errlist.c: Regenerated.
23863         * catgets/gencat.c (error_print): Use (void) in function
23864         definition.
23865         * crypt/crypt_util.c (__init_des): Likewise.
23866         * crypt/speeds.c (Stop): Likewise.
23867         (main): Likewise.
23868         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23869         * inet/ruserpass.c (token): Likewise.
23870         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23871         * intl/localealias.c (extend_alias_table): Likewise.
23872         * intl/plural-exp.c (init_germanic_plural): Likewise.
23873         * libio/fcloseall.c (__fcloseall): Likewise.
23874         * libio/genops.c (_IO_flush_all): Likewise.
23875         (_IO_flush_all_linebuffered): Likewise.
23876         (_IO_cleanup): Likewise.
23877         (_IO_iter_begin): Likewise.
23878         (_IO_iter_end): Likewise.
23879         (_IO_list_lock): Likewise.
23880         (_IO_list_unlock): Likewise.
23881         (_IO_list_resetlock): Likewise.
23882         * libio/getchar.c (getchar): Likewise.
23883         * libio/getchar_u.c (getchar_unlocked): Likewise.
23884         * libio/getwchar.c (getwchar): Likewise.
23885         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23886         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23887         * login/getpt.c (__getpt): Likewise.
23888         * login/tst-utmp.c (main): Likewise.
23889         * malloc/hooks.c (__malloc_check_init): Likewise.
23890         * malloc/malloc.c (__malloc_stats): Likewise.
23891         * malloc/mtrace.c (tr_break): Likewise.
23892         (mtrace): Likewise.
23893         (muntrace): Likewise.
23894         * misc/fstab.c (endfsent): Likewise.
23895         * misc/getclktck.c (__getclktck): Likewise.
23896         * misc/getdtsz.c (__getdtablesize): Likewise.
23897         * misc/gethostid.c (gethostid): Likewise.
23898         * misc/getpagesize.c (__getpagesize): Likewise.
23899         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23900         (__get_nprocs): Likewise.
23901         (__get_phys_pages): Likewise.
23902         (__get_avphys_pages): Likewise.
23903         * misc/getttyent.c (getttyent): Likewise.
23904         (setttyent): Likewise.
23905         (endttyent): Likewise.
23906         * misc/getusershell.c (getusershell): Likewise.
23907         (endusershell): Likewise.
23908         (setusershell): Likewise.
23909         (initshells): Likewise.
23910         * misc/hsearch.c (__hdestroy): Likewise.
23911         * misc/sync.c (sync): Likewise.
23912         * misc/syslog.c (closelog_internal): Likewise.
23913         (closelog): Likewise.
23914         * misc/ttyslot.c (ttyslot): Likewise.
23915         * misc/vhangup.c (vhangup): Likewise.
23916         * posix/fork.c (__fork): Likewise.
23917         * posix/getegid.c (__getegid): Likewise.
23918         * posix/geteuid.c (__geteuid): Likewise.
23919         * posix/getgid.c (__getgid): Likewise.
23920         * posix/getpid.c (__getpid): Likewise.
23921         * posix/getppid.c (__getppid): Likewise.
23922         * posix/getuid.c (__getuid): Likewise.
23923         * posix/pause.c (pause): Likewise.
23924         * posix/setpgrp.c (setpgrp): Likewise.
23925         * posix/setsid.c (__setsid): Likewise.
23926         * posix/test-vfork.c (noop): Likewise.
23927         * resolv/gethnamaddr.c (_endhtent): Likewise.
23928         (_gethtent): Likewise.
23929         (ht_endhostent): Likewise.
23930         (gethostent): Likewise.
23931         (dns_service): Likewise.
23932         * stdlib/drand48.c (drand48): Likewise.
23933         * stdlib/lrand48.c (lrand48): Likewise.
23934         * stdlib/mrand48.c (mrand48): Likewise.
23935         * stdlib/rand.c (rand): Likewise.
23936         * stdlib/random.c (__random): Likewise.
23937         * stdlib/setenv.c (clearenv): Likewise.
23938         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23939         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23940         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23941         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23942         (__get_nprocs): Likewise.
23943         (__get_phys_pages): Likewise.
23944         (__get_avphys_pages): Likewise.
23945         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23946         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23947         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23948         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23949         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23950         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23951         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23952         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23953         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23954         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23955         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23956         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23957         * sysdeps/posix/clock.c (clock): Likewise.
23958         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23959         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23960         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23961         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23962         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23963         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23964         (__get_nprocs_conf): Likewise.
23965         (__get_phys_pages): Likewise.
23966         (__get_avphys_pages): Likewise.
23967         * time/clock.c (clock): Likewise.
23968         * time/tzset.c (__tzname_max): Likewise.
23970 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23972         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23973         (__bswap_32): Do not use "register".
23974         * crypt/crypt.c (_ufc_doit_r): Likewise.
23975         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23976         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23977         * gmon/gmon.c (__monstartup): Likewise.
23978         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23979         * hurd/hurdmalloc.c (more_memory): Likewise.
23980         (malloc): Likewise.
23981         (free): Likewise.
23982         (realloc): Likewise.
23983         (malloc_fork_prepare): Likewise.
23984         (malloc_fork_parent): Likewise.
23985         (malloc_fork_child): Likewise.
23986         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23987         (_svcauth_des): Likewise.
23988         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23989         * inet/inet_net.c (inet_network): Likewise.
23990         * inet/inet_netof.c (inet_netof): Likewise.
23991         * inet/rcmd.c (__validuser2_sa): Likewise.
23992         * io/fts.c (fts_open): Likewise.
23993         (fts_load): Likewise.
23994         (fts_close): Likewise.
23995         (fts_read): Likewise.
23996         (fts_children): Likewise.
23997         (fts_build): Likewise.
23998         (fts_stat): Likewise.
23999         (fts_sort): Likewise.
24000         (fts_alloc): Likewise.
24001         (fts_lfree): Likewise.
24002         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24003         (_IO_file_xsgetn): Likewise.
24004         (_IO_file_xsgetn_mmap): Likewise.
24005         * libio/iofopncook.c (_IO_cookie_read): Likewise.
24006         (_IO_cookie_write): Likewise.
24007         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24008         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24009         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24010         * malloc/obstack.c (_obstack_begin): Likewise.
24011         (_obstack_begin_1): Likewise.
24012         (_obstack_newchunk): Likewise.
24013         (_obstack_allocated_p): Likewise.
24014         (obstack_free): Likewise.
24015         (_obstack_memory_used): Likewise.
24016         * misc/getttyent.c (getttynam): Likewise.
24017         (getttyent): Likewise.
24018         (skip): Likewise.
24019         (value): Likewise.
24020         * misc/getusershell.c (initshells): Likewise.
24021         * misc/syslog.c (__vsyslog_chk): Likewise.
24022         * misc/ttyslot.c (ttyslot): Likewise.
24023         * nis/nis_hash.c (__nis_hash): Likewise.
24024         * posix/fnmatch_loop.c (FCT): Likewise.
24025         * posix/getconf.c (print_all): Likewise.
24026         (main): Likewise.
24027         * posix/getopt.c (exchange): Likewise.
24028         * posix/glob.c (globfree): Likewise.
24029         (prefix_array): Likewise.
24030         (__glob_pattern_type): Likewise.
24031         * resolv/arpa/nameser.h (NS_GET16): Likewise.
24032         (NS_GET32): Likewise.
24033         (NS_PUT16): Likewise.
24034         (NS_PUT32): Likewise.
24035         * resolv/gethnamaddr.c (getanswer): Likewise.
24036         (gethostbyname2): Likewise.
24037         (gethostbyaddr): Likewise.
24038         (_gethtent): Likewise.
24039         (_gethtbyname2): Likewise.
24040         (_gethtbyaddr): Likewise.
24041         * resolv/ns_print.c (dst_s_get_int16): Likewise.
24042         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24043         * resolv/res_init.c (__res_vinit): Likewise.
24044         (net_mask): Likewise.
24045         * resolv/res_mkquery.c (outchar): Likewise.
24046         (PRINT): Likewise.
24047         * stdio-common/printf_fp.c (outchar): Likewise.
24048         (PRINT): Likewise.
24049         * stdio-common/printf_fphex.c (outchar): Likewise.
24050         (PRINT): Likewise.
24051         * stdio-common/printf_size.c (outchar): Likewise.
24052         (PRINT): Likewise.
24053         * stdio-common/test_rdwr.c (main): Likewise.
24054         * stdio-common/tfformat.c (matches): Likewise.
24055         * stdio-common/vfprintf.c (outchar): Likewise.
24056         (printf_unknown): Likewise.
24057         (buffered_vfprintf): Likewise.
24058         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24059         * stdio-common/xbug.c (AppendToBuffer): Likewise.
24060         (ReadFile): Likewise.
24061         * stdlib/qsort.c (SWAP): Likewise.
24062         (_quicksort): Likewise.
24063         * stdlib/setenv.c (__add_to_environ): Likewise.
24064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24065         * stdlib/strtol_l.c (__strtol_l): Likewise.
24066         * stdlib/tst-strtod.c (main): Likewise.
24067         * stdlib/tst-strtol.c (main): Likewise.
24068         * stdlib/tst-strtoll.c (main): Likewise.
24069         * string/bits/string2.h (__strcmp_cc): Likewise.
24070         (__strcmp_cg): Likewise.
24071         (__strcspn_c1): Likewise.
24072         (__strcspn_c2): Likewise.
24073         (__strcspn_c3): Likewise.
24074         (__strspn_c1): Likewise.
24075         (__strspn_c2): Likewise.
24076         (__strspn_c3): Likewise.
24077         (__strsep_1c): Likewise.
24078         (__strsep_2c): Likewise.
24079         (__strsep_3c): Likewise.
24080         * string/memccpy.c (__memccpy): Likewise.
24081         * string/stpcpy.c (__stpcpy): Likewise.
24082         * string/strcmp.c (strcmp): Likewise.
24083         * string/strrchr.c (strrchr): Likewise.
24084         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24085         Likewise.
24086         * sysdeps/mach/hurd/getcwd.c
24087         (_hurd_canonicalize_directory_name_internal): Likewise.
24088         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24089         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24090         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24091         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24092         Likewise, in both definitions.
24093         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24094         definitions.
24095         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24096         64] (__bswap_64): Likewise.
24097         * time/test_time.c (main): Likewise.
24098         * time/tzfile.c (__tzfile_read): Likewise.
24099         (__tzfile_compute): Likewise.
24100         * time/tzset.c (__tzset_parse_tz): Likewise.
24101         (tzset_internal): Likewise.
24102         (compute_change): Likewise.
24103         * wcsmbs/wcscat.c (__wcscat): Likewise.
24104         * wcsmbs/wcschr.c (wcschr): Likewise.
24105         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24106         * wcsmbs/wcscspn.c (wcscspn): Likewise.
24107         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24108         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24109         * wcsmbs/wcsspn.c (wcsspn): Likewise.
24110         * wcsmbs/wcsstr.c (wcsstr): Likewise.
24111         * wcsmbs/wmemchr.c (wmemchr): Likewise.
24112         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24113         * wcsmbs/wmemset.c (wmemset): Likewise.
24115 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
24117         * scripts/config.guess: Update to version 2013-05-16.
24118         * scripts/config.sub: Update to version 2013-04-24.
24119         * scripts/install-sh: Update to version 2011-11-20.07.
24120         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24121         * scripts/move-if-change: Update to version 2012-01-06 07:23.
24123 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
24125         * debug/fgetws_u_chk.c: Fix leading whitespaces.
24126         * elf/sln.c: Likewise.
24127         * hurd/hurd/ioctl.h: Likewise.
24128         * hurd/hurdmalloc.c: Likewise.
24129         * hurd/xattr.c: Likewise.
24130         * include/shlib-compat.h: Likewise.
24131         * inet/ruserpass.c: Likewise.
24132         * libio/iofgets_u.c: Likewise.
24133         * libio/iofgetws_u.c: Likewise.
24134         * locale/programs/ld-identification.c: Likewise.
24135         * locale/programs/ld-time.c: Likewise.
24136         * mach/msg-destroy.c: Likewise.
24137         * nss/nss_files/files-netgrp.c: Likewise.
24138         * resolv/res_data.c: Likewise.
24139         * soft-fp/op-1.h: Likewise.
24140         * soft-fp/op-2.h: Likewise.
24141         * soft-fp/op-4.h: Likewise.
24142         * soft-fp/op-common.h: Likewise.
24143         * stdio-common/printf_fphex.c: Likewise.
24144         * stdlib/strtod_l.c: Likewise.
24145         * sunrpc/rpc/clnt.h: Likewise.
24146         * sysdeps/generic/framestate.c: Likewise.
24147         * sysdeps/i386/bsd-_setjmp.S: Likewise.
24148         * sysdeps/i386/bsd-setjmp.S: Likewise.
24149         * sysdeps/i386/__longjmp.S: Likewise.
24150         * sysdeps/i386/setjmp.S: Likewise.
24151         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24152         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24154         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24155         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24156         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24157         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24158         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24159         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24160         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24161         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24162         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24163         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24164         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24165         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24166         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24167         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24168         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24169         * sysdeps/ieee754/support.c: Likewise.
24170         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24171         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24172         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24173         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24174         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24175         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24176         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24177         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24178         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24179         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24180         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24181         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24182         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24183         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24184         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24185         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24186         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24189 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
24191         * posix/transbug.c: Remove executable mode.
24193 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
24195         * crypt/speeds.c: Remove trailing whitespace.
24196         * dlfcn/default.c: Likewise.
24197         * elf/ifuncdep2.c: Likewise.
24198         * elf/ifuncmain1.c: Likewise.
24199         * elf/ifuncmain1vis.c: Likewise.
24200         * elf/testobj.h: Likewise.
24201         * elf/tst-stackguard1.c: Likewise.
24202         * gmon/sys/gmon.h: Likewise.
24203         * hurd/hurdmsg.c: Likewise.
24204         * hurd/new-fd.c: Likewise.
24205         * hurd/ports-get.c: Likewise.
24206         * iconvdata/ibm1008_420.c: Likewise.
24207         * inet/tst-getni1.c: Likewise.
24208         * inet/tst-getni2.c: Likewise.
24209         * libio/ioungetc.c: Likewise.
24210         * libio/wfiledoalloc.c: Likewise.
24211         * manual/libm-err-tab.pl: Likewise.
24212         * math/w_dremf.c: Likewise.
24213         * misc/ftruncate.c: Likewise.
24214         * posix/bug-glob2.c: Likewise.
24215         * posix/tst-pcre.c: Likewise.
24216         * posix/wait4.c: Likewise.
24217         * resolv/README: Likewise.
24218         * resolv/res_debug.h: Likewise.
24219         * resolv/tst-inet_ntop.c: Likewise.
24220         * setjmp/bug269-setjmp.c: Likewise.
24221         * soft-fp/extended.h: Likewise.
24222         * soft-fp/op-1.h: Likewise.
24223         * soft-fp/op-2.h: Likewise.
24224         * soft-fp/op-4.h: Likewise.
24225         * soft-fp/op-8.h: Likewise.
24226         * soft-fp/testit.c: Likewise.
24227         * stdio-common/bug16.c: Likewise.
24228         * stdlib/random.c: Likewise.
24229         * sunrpc/rpcsvc/rquota.x: Likewise.
24230         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24231         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24232         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24233         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24234         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24235         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24236         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24237         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24238         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24239         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24240         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24241         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24242         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24243         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24245         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24246         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24247         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24248         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24249         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24250         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24251         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24252         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24253         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24254         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24255         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24256         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24257         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24258         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24259         * sysdeps/ieee754/s_lib_version.c: Likewise.
24260         * sysdeps/mach/hurd/check_fds.c: Likewise.
24261         * sysdeps/mach/hurd/getsockname.c: Likewise.
24262         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24263         * sysdeps/mach/hurd/recvfrom.c: Likewise.
24264         * sysdeps/powerpc/bits/link.h: Likewise.
24265         * sysdeps/powerpc/dl-procinfo.c: Likewise.
24266         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24267         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24268         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24269         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24270         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24271         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24272         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24273         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24274         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24275         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24276         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24277         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24278         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24279         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24280         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24281         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24282         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24283         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24284         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24285         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24286         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24287         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24288         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24289         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24290         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24291         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24292         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24294         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24295         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24296         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24297         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24298         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24299         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24300         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24301         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24302         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24303         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24304         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24305         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24306         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24307         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24308         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24309         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24310         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24311         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24312         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24313         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24314         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24315         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24317         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24318         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24319         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24320         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24321         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24322         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24323         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24324         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24325         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24326         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24327         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24328         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24329         * sysdeps/powerpc/sysdep.h: Likewise.
24330         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24331         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24332         * sysdeps/sh/dl-trampoline.S: Likewise.
24333         * sysdeps/sh/memset.S: Likewise.
24334         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24335         * sysdeps/sh/strlen.S: Likewise.
24336         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24337         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24338         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24339         * sysdeps/sparc/sparc32/rem.S: Likewise.
24340         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24341         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24342         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24343         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24344         * sysdeps/sparc/sparc32/urem.S: Likewise.
24345         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24346         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24347         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24348         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24349         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24350         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24351         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24352         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24353         * sysdeps/unix/bsd/times.c: Likewise.
24354         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24355         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24359         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24360         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24361         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24362         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24363         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24364         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24365         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24366         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24367         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24368         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24369         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24370         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24371         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24372         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24373         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24374         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24375         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24376         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24377         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24378         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24379         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24380         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24381         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24382         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24383         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24384         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24385         * sysdeps/x86_64/strcspn.S: Likewise.
24387 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24389         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24390         generated file.  Regenerate properly from gen-translit.pl.
24391         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24392         locale/C-translit.h.
24394 2013-06-05  Andreas Schwab  <schwab@suse.de>
24396         [BZ #15100]
24397         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24398         week as 6 instead of -1.
24399         * time/tst-strptime.c (day_tests): Add test case.
24401 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24403         * sysdeps/generic/math_private.h
24404         (libc_feholdexcept_setround_53bit): Replace with
24405         libc_feholdsetround_53bit.
24406         (libc_feupdateenv_53bit): Replace with
24407         libc_feresetround_53bit.
24408         (SET_RESTORE_ROUND_53BIT): Adjust.
24410 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24412         * string/test-strchrnul.c: Add copyright header.
24414         * posix/tst-getaddrinfo4.c: Increase test timeout.
24416 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24418         [BZ #15536]
24419         * math/libm-test.inc (MAX_EXP): Remove
24420         (MIN_EXP): Define.
24421         (ulp): Use MIN_EXP - MANT_DIG.
24422         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24424 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24426         * po/be.po: Revert last change.
24427         * po/zh_CN.po: Likewise.
24428         * po/header.pot: Likewise.
24430 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24432         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24433         link-libc-deps to empty as target-specific variable.
24434         * Makerules (link-libc-args): New variable.
24435         (libc-for-link): Likewise.
24436         (link-libc-deps): Likewise.
24437         (lib%.so): Depend on $(link-libc-deps).  Link with
24438         $(link-libc-args).
24439         (build-module): Link with $(link-libc-args).
24440         (build-module-asneeded): Likewise.
24441         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24442         list of objects.
24443         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24444         target-specific variable.
24445         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24446         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24447         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24448         libc.
24449         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24450         libc and ld.so.
24451         ($(objpfx)libpcprofile.so): Likewise.
24452         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24453         libc_nonshared.a.
24454         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24455         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24456         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24457         $(link-libc-deps).
24458         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24459         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24460         * login/Makefile ($(objpfx)libutil.so): Likewise.
24461         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24462         * math/Makefile ($(objpfx)libm.so): Likewise.
24463         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24464         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24465         variable instead of depending directly on libc.
24466         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24467         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24468         $(link-libc-deps).
24469         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24470         libc.
24471         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24472         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24473         ($(objpfx)libanl.so): Likewise.
24474         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24475         ld.so.
24476         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24477         $(link-libc-deps).
24478         * sysdeps/i386/fpu/Makefile: Remove file.
24479         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24480         ($(objpfx)libm.so): Remove dependency on ld.so.
24482 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24484         [BZ # 15553]
24485         * nis/yp_xdr.c (XDRMAXNAME): Define.
24486         (XDRMAXRECORD): Define.
24487         (xdr_domainname): Use XDRMAXNAME.
24488         (xdr_mapname): Likewise.
24489         (xdr_peername): Likewise.
24490         (xdr_keydat): Use XDRMAXRECORD.
24491         (xdr_valdat): Likewise.
24493 2013-05-30  Jeff Law  <law@redhat.com>
24495         [BZ #14256]
24496         * manual/errno.texi (ESTALE): Update to account for more than
24497         just NFS file systems.
24498         * sysdeps/gnu/errlist.c: Regenerated.
24500 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24502         [BZ #15465]
24503         * elf/Makefile (tests): Add tst-null-argv.
24504         (modules-names):  Add tst-null-argv-lib.
24505         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24506         (tst-null-argv-ENV): Set environment for tst-null-argv.
24507         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24508         (RTLD_PROGNAME): New macro.
24509         * elf/tst-null-argv.c: New test case.
24510         * elf/tst-null-argv-lib.c: Library for test case.
24511         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24512         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24513         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24514         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24515         * elf/dl-init.c (call_init): Likewise.
24516         (_dl_init): Likewise.
24517         * elf/dl-load.c (print_search_path): Likewise.
24518         (_dl_map_object): Likewise.
24519         * elf/dl-lookup.c (do_lookup_x): Likewise.
24520         (add_dependency): Likewise.
24521         (_dl_lookup_symbol_x): Likewise.
24522         (_dl_debug_bindings): Likewise.
24523         * elf/dl-open.c (_dl_show_scope): Likewise.
24524         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24525         * elf/dl-version.c (match_symbol): Likewise.
24526         (_dl_check_map_versions): Likewise.
24527         * elf/rtld.c (dl_main): Likewise.
24528         (print_unresolved): Use RTLD_PROGNAME.
24529         (print_missing_version): Likewise.
24530         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24531         (elf_machine_rela): Likewise.
24532         * sysdeps/powerpc/powerpc32/dl-machine.c
24533         (__process_machine_rela): Likewise.
24534         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24535         Likewise.
24536         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24537         Likewise.
24538         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24539         Likewise.
24540         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24541         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24542         Likewise.
24543         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24544         Likewise.
24545         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24547 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24549         * po/be.po: Add descriptive title.
24550         * po/zh_CN.po: Likewise.
24551         * po/header.pot: Likewise.
24553 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24555         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24556         error message.
24557         (enlarge_archive): Likewise.
24559 2013-05-28  Ben North  <ben@redfrontdoor.org>
24561         * manual/arith.texi (frexp): It is the magnitude of the return
24562         value which lies in [0.5, 1), not the return value itself.
24564 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24568 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24570         * stdio-common/bug26.c (main): Correct fscanf template.
24572         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24573         declare _dl_skip_args.
24575         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24576         Don't declare.
24578         * manual/platform.texi: Add missing @end deftypefun.
24580 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24582         [BZ #15529]
24583         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24584         bit of mantissa of 2^16382.
24585         * math/libm-test.inc (hypot_test_data): Add more tests.
24587         * math/libm-test.inc: Add drem and pow10 to list of tested
24588         functions.
24589         (pow10_test): New function.
24590         (drem_test): Likewise.
24591         (drem_test_tonearest): Likewise.
24592         (drem_test_towardzero): Likewise.
24593         (drem_test_downward): Likewise.
24594         (drem_test_upward): Likewise.
24595         (main): Call the new functions.
24597         * math/libm-test.inc (finite_test_data): Remove.
24598         (finite_test): Run tests from isfinite_test_data.
24599         (gamma_test_data): Remove.
24600         (gamma_test): Run tests from lgamma_test_data.
24601         * sysdeps/i386/fpu/libm-test-ulps: Update.
24602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24604 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24606         * manual/platform.texi: Add PowerPC PPR function set documentation.
24607         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24608         implementation.
24610 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24612         * math/libm-test.inc (MAX_EXP): Define.
24613         (ULPDIFF): Define.
24614         (ulp): New function.
24615         (check_float_internal): Use ULPDIFF.
24616         (cpow_test): Disable failing test.
24617         (check_ulp): Test ulp() implemetnation.
24618         (main): Call check_ulp before starting tests.
24620 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24622         * math/gen-libm-test.pl (generate_testfile): Do not handle
24623         START_DATA and END_DATA.
24624         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24625         END_DATA.
24626         (acos_tonearest_test_data): Likewise.
24627         (acos_towardzero_test_data): Likewise.
24628         (acos_downward_test_data): Likewise.
24629         (acos_upward_test_data): Likewise.
24630         (acosh_test_data): Likewise.
24631         (asin_test_data): Likewise.
24632         (asin_tonearest_test_data): Likewise.
24633         (asin_towardzero_test_data): Likewise.
24634         (asin_downward_test_data): Likewise.
24635         (asin_upward_test_data): Likewise.
24636         (asinh_test_data): Likewise.
24637         (atan_test_data): Likewise.
24638         (atanh_test_data): Likewise.
24639         (atan2_test_data): Likewise.
24640         (cabs_test_data): Likewise.
24641         (cacos_test_data): Likewise.
24642         (cacosh_test_data): Likewise.
24643         (carg_test_data): Likewise.
24644         (casin_test_data): Likewise.
24645         (casinh_test_data): Likewise.
24646         (catan_test_data): Likewise.
24647         (catanh_test_data): Likewise.
24648         (cbrt_test_data): Likewise.
24649         (ccos_test_data): Likewise.
24650         (ccosh_test_data): Likewise.
24651         (ceil_test_data): Likewise.
24652         (cexp_test_data): Likewise.
24653         (cimag_test_data): Likewise.
24654         (clog_test_data): Likewise.
24655         (clog10_test_data): Likewise.
24656         (conj_test_data): Likewise.
24657         (copysign_test_data): Likewise.
24658         (cos_test_data): Likewise.
24659         (cos_tonearest_test_data): Likewise.
24660         (cos_towardzero_test_data): Likewise.
24661         (cos_downward_test_data): Likewise.
24662         (cos_upward_test_data): Likewise.
24663         (cosh_test_data): Likewise.
24664         (cosh_tonearest_test_data): Likewise.
24665         (cosh_towardzero_test_data): Likewise.
24666         (cosh_downward_test_data): Likewise.
24667         (cosh_upward_test_data): Likewise.
24668         (cpow_test_data): Likewise.
24669         (cproj_test_data): Likewise.
24670         (creal_test_data): Likewise.
24671         (csin_test_data): Likewise.
24672         (csinh_test_data): Likewise.
24673         (csqrt_test_data): Likewise.
24674         (ctan_test_data): Likewise.
24675         (ctan_tonearest_test_data): Likewise.
24676         (ctan_towardzero_test_data): Likewise.
24677         (ctan_downward_test_data): Likewise.
24678         (ctan_upward_test_data): Likewise.
24679         (ctanh_test_data): Likewise.
24680         (ctanh_tonearest_test_data): Likewise.
24681         (ctanh_towardzero_test_data): Likewise.
24682         (ctanh_downward_test_data): Likewise.
24683         (ctanh_upward_test_data): Likewise.
24684         (erf_test_data): Likewise.
24685         (erfc_test_data): Likewise.
24686         (exp_test_data): Likewise.
24687         (exp_tonearest_test_data): Likewise.
24688         (exp_towardzero_test_data): Likewise.
24689         (exp_downward_test_data): Likewise.
24690         (exp_upward_test_data): Likewise.
24691         (exp10_test_data): Likewise.
24692         (exp2_test_data): Likewise.
24693         (expm1_test_data): Likewise.
24694         (fabs_test_data): Likewise.
24695         (fdim_test_data): Likewise.
24696         (finite_test_data): Likewise.
24697         (floor_test_data): Likewise.
24698         (fma_test_data): Likewise.
24699         (fma_towardzero_test_data): Likewise.
24700         (fma_downward_test_data): Likewise.
24701         (fma_upward_test_data): Likewise.
24702         (fmax_test_data): Likewise.
24703         (fmin_test_data): Likewise.
24704         (fmod_test_data): Likewise.
24705         (fpclassify_test_data): Likewise.
24706         (frexp_test_data): Likewise.
24707         (gamma_test_data): Likewise.
24708         (hypot_test_data): Likewise.
24709         (ilogb_test_data): Likewise.
24710         (isfinite_test_data): Likewise.
24711         (isgreater_test_data): Likewise.
24712         (isgreaterequal_test_data): Likewise.
24713         (isinf_test_data): Likewise.
24714         (isless_test_data): Likewise.
24715         (islessequal_test_data): Likewise.
24716         (islessgreater_test_data): Likewise.
24717         (isnan_test_data): Likewise.
24718         (isnormal_test_data): Likewise.
24719         (issignaling_test_data): Likewise.
24720         (isunordered_test_data): Likewise.
24721         (j0_test_data): Likewise.
24722         (j1_test_data): Likewise.
24723         (jn_test_data): Likewise.
24724         (ldexp_test_data): Likewise.
24725         (lgamma_test_data): Likewise.
24726         (lrint_test_data): Likewise.
24727         (lrint_tonearest_test_data): Likewise.
24728         (lrint_towardzero_test_data): Likewise.
24729         (lrint_downward_test_data): Likewise.
24730         (lrint_upward_test_data): Likewise.
24731         (llrint_test_data): Likewise.
24732         (llrint_tonearest_test_data): Likewise.
24733         (llrint_towardzero_test_data): Likewise.
24734         (llrint_downward_test_data): Likewise.
24735         (llrint_upward_test_data): Likewise.
24736         (log_test_data): Likewise.
24737         (log10_test_data): Likewise.
24738         (log1p_test_data): Likewise.
24739         (log2_test_data): Likewise.
24740         (logb_test_data): Likewise.
24741         (logb_downward_test_data): Likewise.
24742         (lround_test_data): Likewise.
24743         (llround_test_data): Likewise.
24744         (modf_test_data): Likewise.
24745         (nearbyint_test_data): Likewise.
24746         (nextafter_test_data): Likewise.
24747         (nexttoward_test_data): Likewise.
24748         (pow_test_data): Likewise.
24749         (pow_tonearest_test_data): Likewise.
24750         (pow_towardzero_test_data): Likewise.
24751         (pow_downward_test_data): Likewise.
24752         (pow_upward_test_data): Likewise.
24753         (remainder_test_data): Likewise.
24754         (remainder_tonearest_test_data): Likewise.
24755         (remainder_towardzero_test_data): Likewise.
24756         (remainder_downward_test_data): Likewise.
24757         (remainder_upward_test_data): Likewise.
24758         (remquo_test_data): Likewise.
24759         (rint_test_data): Likewise.
24760         (rint_tonearest_test_data): Likewise.
24761         (rint_towardzero_test_data): Likewise.
24762         (rint_downward_test_data): Likewise.
24763         (rint_upward_test_data): Likewise.
24764         (round_test_data): Likewise.
24765         (scalb_test_data): Likewise.
24766         (scalbn_test_data): Likewise.
24767         (scalbln_test_data): Likewise.
24768         (signbit_test_data): Likewise.
24769         (sin_test_data): Likewise.
24770         (sin_tonearest_test_data): Likewise.
24771         (sin_towardzero_test_data): Likewise.
24772         (sin_downward_test_data): Likewise.
24773         (sin_upward_test_data): Likewise.
24774         (sincos_test_data): Likewise.
24775         (sinh_test_data): Likewise.
24776         (sinh_tonearest_test_data): Likewise.
24777         (sinh_towardzero_test_data): Likewise.
24778         (sinh_downward_test_data): Likewise.
24779         (sinh_upward_test_data): Likewise.
24780         (sqrt_test_data): Likewise.
24781         (tan_test_data): Likewise.
24782         (tan_tonearest_test_data): Likewise.
24783         (tan_towardzero_test_data): Likewise.
24784         (tan_downward_test_data): Likewise.
24785         (tan_upward_test_data): Likewise.
24786         (tanh_test_data): Likewise.
24787         (tgamma_test_data): Likewise.
24788         (trunc_test_data): Likewise.
24789         (y0_test_data): Likewise.
24790         (y1_test_data): Likewise.
24791         (yn_test_data): Likewise.
24792         (significand_test_data): Likewise.
24794         * math/gen-libm-test.pl (@functions): Remove variable.
24795         (generate_testfile): Don't handle START and END lines.
24796         * math/libm-test.inc (START): New macro.
24797         (END): Likewise.
24798         (END_COMPLEX): Likewise.
24799         (acos_test): Use END macro without arguments.
24800         (acos_test_tonearest): Likewise.
24801         (acos_test_towardzero): Likewise.
24802         (acos_test_downward): Likewise.
24803         (acos_test_upward): Likewise.
24804         (acosh_test): Likewise.
24805         (asin_test): Likewise.
24806         (asin_test_tonearest): Likewise.
24807         (asin_test_towardzero): Likewise.
24808         (asin_test_downward): Likewise.
24809         (asin_test_upward): Likewise.
24810         (asinh_test): Likewise.
24811         (atan_test): Likewise.
24812         (atanh_test): Likewise.
24813         (atan2_test): Likewise.
24814         (cabs_test): Likewise.
24815         (cacos_test): Use END_COMPLEX macro without arguments.
24816         (cacosh_test): Likewise.
24817         (carg_test): Use END macro without arguments.
24818         (casin_test): Use END_COMPLEX macro without arguments.
24819         (casinh_test): Likewise.
24820         (catan_test): Likewise.
24821         (catanh_test): Likewise.
24822         (cbrt_test): Use END macro without arguments.
24823         (ccos_test): Use END_COMPLEX macro without arguments.
24824         (ccosh_test): Likewise.
24825         (ceil_test): Use END macro without arguments.
24826         (cexp_test): Use END_COMPLEX macro without arguments.
24827         (cimag_test): Use END macro without arguments.
24828         (clog_test): Use END_COMPLEX macro without arguments.
24829         (clog10_test): Likewise.
24830         (conj_test): Likewise.
24831         (copysign_test): Use END macro without arguments.
24832         (cos_test): Likewise.
24833         (cos_test_tonearest): Likewise.
24834         (cos_test_towardzero): Likewise.
24835         (cos_test_downward): Likewise.
24836         (cos_test_upward): Likewise.
24837         (cosh_test): Likewise.
24838         (cosh_test_tonearest): Likewise.
24839         (cosh_test_towardzero): Likewise.
24840         (cosh_test_downward): Likewise.
24841         (cosh_test_upward): Likewise.
24842         (cpow_test): Use END_COMPLEX macro without arguments.
24843         (cproj_test): Likewise.
24844         (creal_test): Use END macro without arguments.
24845         (csin_test): Use END_COMPLEX macro without arguments.
24846         (csinh_test): Likewise.
24847         (csqrt_test): Likewise.
24848         (ctan_test): Likewise.
24849         (ctan_test_tonearest): Likewise.
24850         (ctan_test_towardzero): Likewise.
24851         (ctan_test_downward): Likewise.
24852         (ctan_test_upward): Likewise.
24853         (ctanh_test): Likewise.
24854         (ctanh_test_tonearest): Likewise.
24855         (ctanh_test_towardzero): Likewise.
24856         (ctanh_test_downward): Likewise.
24857         (ctanh_test_upward): Likewise.
24858         (erf_test): Use END macro without arguments.
24859         (erfc_test): Likewise.
24860         (exp_test): Likewise.
24861         (exp_test_tonearest): Likewise.
24862         (exp_test_towardzero): Likewise.
24863         (exp_test_downward): Likewise.
24864         (exp_test_upward): Likewise.
24865         (exp10_test): Likewise.
24866         (exp2_test): Likewise.
24867         (expm1_test): Likewise.
24868         (fabs_test): Likewise.
24869         (fdim_test): Likewise.
24870         (finite_test): Likewise.
24871         (floor_test): Likewise.
24872         (fma_test): Likewise.
24873         (fma_test_towardzero): Likewise.
24874         (fma_test_downward): Likewise.
24875         (fma_test_upward): Likewise.
24876         (fmax_test): Likewise.
24877         (fmin_test): Likewise.
24878         (fmod_test): Likewise.
24879         (fpclassify_test): Likewise.
24880         (frexp_test): Likewise.
24881         (gamma_test): Likewise.
24882         (hypot_test): Likewise.
24883         (ilogb_test): Likewise.
24884         (isfinite_test): Likewise.
24885         (isgreater_test): Likewise.
24886         (isgreaterequal_test): Likewise.
24887         (isinf_test): Likewise.
24888         (isless_test): Likewise.
24889         (islessequal_test): Likewise.
24890         (islessgreater_test): Likewise.
24891         (isnan_test): Likewise.
24892         (isnormal_test): Likewise.
24893         (issignaling_test): Likewise.
24894         (isunordered_test): Likewise.
24895         (j0_test): Likewise.
24896         (j1_test): Likewise.
24897         (jn_test): Likewise.
24898         (ldexp_test): Likewise.
24899         (lgamma_test): Likewise.
24900         (lrint_test): Likewise.
24901         (lrint_test_tonearest): Likewise.
24902         (lrint_test_towardzero): Likewise.
24903         (lrint_test_downward): Likewise.
24904         (lrint_test_upward): Likewise.
24905         (llrint_test): Likewise.
24906         (llrint_test_tonearest): Likewise.
24907         (llrint_test_towardzero): Likewise.
24908         (llrint_test_downward): Likewise.
24909         (llrint_test_upward): Likewise.
24910         (log_test): Likewise.
24911         (log10_test): Likewise.
24912         (log1p_test): Likewise.
24913         (log2_test): Likewise.
24914         (logb_test): Likewise.
24915         (logb_test_downward): Likewise.
24916         (lround_test): Likewise.
24917         (llround_test): Likewise.
24918         (modf_test): Likewise.
24919         (nearbyint_test): Likewise.
24920         (nextafter_test): Likewise.
24921         (nexttoward_test): Likewise.
24922         (pow_test): Likewise.
24923         (pow_test_tonearest): Likewise.
24924         (pow_test_towardzero): Likewise.
24925         (pow_test_downward): Likewise.
24926         (pow_test_upward): Likewise.
24927         (remainder_test): Likewise.
24928         (remainder_test_tonearest): Likewise.
24929         (remainder_test_towardzero): Likewise.
24930         (remainder_test_downward): Likewise.
24931         (remainder_test_upward): Likewise.
24932         (remquo_test): Likewise.
24933         (rint_test): Likewise.
24934         (rint_test_tonearest): Likewise.
24935         (rint_test_towardzero): Likewise.
24936         (rint_test_downward): Likewise.
24937         (rint_test_upward): Likewise.
24938         (round_test): Likewise.
24939         (scalb_test): Likewise.
24940         (scalbn_test): Likewise.
24941         (scalbln_test): Likewise.
24942         (signbit_test): Likewise.
24943         (sin_test): Likewise.
24944         (sin_test_tonearest): Likewise.
24945         (sin_test_towardzero): Likewise.
24946         (sin_test_downward): Likewise.
24947         (sin_test_upward): Likewise.
24948         (sincos_test): Likewise.
24949         (sinh_test): Likewise.
24950         (sinh_test_tonearest): Likewise.
24951         (sinh_test_towardzero): Likewise.
24952         (sinh_test_downward): Likewise.
24953         (sinh_test_upward): Likewise.
24954         (sqrt_test): Likewise.
24955         (tan_test): Likewise.
24956         (tan_test_tonearest): Likewise.
24957         (tan_test_towardzero): Likewise.
24958         (tan_test_downward): Likewise.
24959         (tan_test_upward): Likewise.
24960         (tanh_test): Likewise.
24961         (tgamma_test): Likewise.
24962         (trunc_test): Likewise.
24963         (y0_test): Likewise.
24964         (y1_test): Likewise.
24965         (yn_test): Likewise.
24966         (significand_test): Likewise.
24968 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24970         [BZ #15381]
24971         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24973 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24975         [BZ #14894]
24976         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24977         __ppc_mdoio and __ppc_mdoom.
24978         * manual/platform.texi: Document new functions __ppc_yield,
24979         __ppc_mdoio and __ppc_mdoom.
24981 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24983         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24984         (main): Mention "tls" pseudo-hwcap is legacy.
24985         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24987 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24989         * math/gen-libm-test.pl (parse_args): Output only string of
24990         arguments as text for test name, not full call or descriptions of
24991         tests for extra outputs.
24992         (generate_testfile): Do not pass function name to parse_args.
24993         Generate this_func variable from START.
24994         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24995         field to arg_str.
24996         (struct test_ff_f_data): Likewise.
24997         (test_ff_f_data_nexttoward): Likewise.
24998         (struct test_fi_f_data): Likewise.
24999         (struct test_fl_f_data): Likewise.
25000         (struct test_if_f_data): Likewise.
25001         (struct test_fff_f_data): Likewise.
25002         (struct test_c_f_data): Likewise.
25003         (struct test_f_f1_data): Likewise.  Remove field extra_name.
25004         (struct test_fF_f1_data): Likewise.
25005         (struct test_ffI_f1_data): Likewise.
25006         (struct test_c_c_data): Rename test_name field to arg_str.
25007         (struct test_cc_c_data): Likewise.
25008         (struct test_f_i_data): Likewise.
25009         (struct test_ff_i_data): Likewise.
25010         (struct test_f_l_data): Likewise.
25011         (struct test_f_L_data): Likewise.
25012         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
25013         and extra2_name.
25014         (COMMON_TEST_SETUP): New macro.
25015         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25016         (COMMON_TEST_CLEANUP): Likewise.
25017         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25018         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
25019         macros.
25020         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25021         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
25022         macros.
25023         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25024         (RUN_TEST_fff_f): Take argument string.  Call new setup and
25025         cleanup macros.
25026         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25027         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
25028         macros.
25029         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25030         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
25031         macros.
25032         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25033         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
25034         cleanup macros.
25035         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25036         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
25037         cleanup macros.
25038         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25039         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
25040         cleanup macros.
25041         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25042         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
25043         macros.
25044         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25045         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
25046         macros.
25047         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25048         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
25049         macros.
25050         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25051         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
25052         cleanup macros.
25053         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25054         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
25055         cleanup macros.
25056         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25057         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
25058         macros.
25059         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25060         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
25061         cleanup macros.
25062         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25063         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
25064         macros.
25065         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25066         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
25067         macros.
25068         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25069         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
25070         cleanup macros.
25071         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25073 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
25075         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25076         to _sifields.sigfault.
25077         (si_addr_lsb): Define new macro.
25078         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25079         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25080         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25082 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
25084         [BZ #15441]
25085         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25086         returns -1.
25087         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25088         null return -1.
25089         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25090         loading the domain.
25092 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
25094         * math/gen-libm-test.pl (parse_args): Do not include expected
25095         result in test name.
25096         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25097         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25098         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25099         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25100         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25105         * benchtests/Makefile: Sort function entries.
25107         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25108         tanh, asinh, acosh, atanh.
25109         * benchtests/acos-inputs: New file.
25110         * benchtests/acosh-inputs: New file.
25111         * benchtests/asin-inputs: New file.
25112         * benchtests/asinh-inputs: New file.
25113         * benchtests/atanh-inputs: New file.
25114         * benchtests/cosh-inputs: New file.
25115         * benchtests/log-inputs: New file.
25116         * benchtests/sinh-inputs: New file.
25117         * benchtests/tanh-inputs: New file.
25119 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
25121         [BZ #15339]
25122         * posix/tst-getaddrinfo4.c: New test.
25123         * posix/Makefile (tests): Add it.
25125 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25127         [BZ #15339]
25128         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25129         when no services were used.
25130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25131         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25133 2013-05-21  Andreas Schwab  <schwab@suse.de>
25135         [BZ #15014]
25136         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25137         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25138         successful.
25139         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25140         redundant variable declarations and reallocation of buffer when
25141         parsing as IPv6 address.  Always set NSS status when called from
25142         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
25143         buffer too small.  Correct computation of needed size.
25144         * nss/Makefile (tests): Add test-digits-dots.
25145         * nss/test-digits-dots.c: New test.
25147 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25149         * benchtests/Makefile: Remove instructions for adding
25150         benchmark tests.
25151         * benchtests/README: New file to explain how to execute and
25152         enhance the benchmark tests.
25154 2013-05-21  Andreas Schwab  <schwab@suse.de>
25156         [BZ #15493]
25157         * setjmp/Makefile (tests): Add tst-sigsetjmp.
25158         * setjmp/tst-sigsetjmp.c: New test.
25160 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25162         * sysdeps/x86_64/memset.S (memset): New implementation.
25163         (__bzero): Likewise.
25164         (__memset_tail): New function.
25166 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
25168         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25169         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25170         __memcpy_sse2_unaligned ifunc selection.
25171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25172         Add memcpy-sse2-unaligned.S.
25173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25174         Add: __memcpy_sse2_unaligned.
25176 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
25178         [BZ #15490]
25179         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25180         math_force_eval before restoring floating-point envrionment.
25181         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25182         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25183         Likewise.
25184         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25185         <math_private.h>.
25186         (__nearbyintl): Use math_force_eval before restoring
25187         floating-point environment.
25188         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25190         * math/gen-libm-test.pl (special_functions): Remove.
25191         (parse_args): Don't handle TEST_extra.  Handle functions with no
25192         return value.
25193         * math/libm-test.inc (struct test_sincos_data): Replace with
25194         struct test_fFF_11_data.
25195         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25196         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25197         (sincos_test_data): Change element type to struct
25198         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
25199         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25200         RUN_TEST_LOOP_sincos.
25201         * math/README.libm-test: Don't mention special handling of
25202         individual functions.
25203         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25204         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25205         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25206         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25207         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25210         * math/gen-libm-test.pl (get_variable): Remove function.
25211         (parse_args): Don't show pointer parameters to call in test
25212         names.  Use "extra output N" in test names for extra outputs
25213         rather than naming variables.
25215 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
25217         [BZ #15488]
25218         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25219         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25220         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25221         double tests.
25222         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25223         disable.
25224         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25225         check_long_double.
25227         * math/gen-libm-test.pl (@tests): Remove variable.
25228         ($count): Likewise.
25229         (new_test): Remove function.
25230         (show_exceptions): New function.
25231         (special_functions): Use show_exceptions instead of new_test.
25232         (parse_args): Likewise.
25233         (generate_testfile): Pass only function name in generated call to
25234         print_max_error or print_complex_max_error.
25235         (get_ulps): Do not handle complex tests specially.
25236         (output_test): Rename to ...
25237         (get_all_ulps_for_test): ... this.  Return a string rather than
25238         printing to a file.  Require ulps to be present.
25239         (output_ulps): Generate arrays rather than #defines.
25240         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25241         (struct ulp_data): New type.
25242         (BUILD_COMPLEX_ULP): Remove macro.
25243         (compare_ulp_data): New function.
25244         (find_ulps): Likewise.
25245         (find_test_ulps): Likewise.
25246         (find_function_ulps): Likewise.
25247         (find_complex_function_ulps): Likewise.
25248         (print_max_error): Determine allowed ulps using
25249         find_function_ulps.
25250         (print_complex_max_error): Determine allowed ulps using
25251         find_complex_function_ulps.
25252         (check_float_internal): Determine max ulps using find_test_ulps.
25253         (check_float): Do not take max_ulp parameter.  Update call to
25254         check_float_internal.
25255         (check_complex): Likewise.
25256         (check_int): Do not take max_ulp parameter.
25257         (check_long): Likewise.
25258         (check_bool): Likewise.
25259         (check_longlong): Likewise.
25260         (struct test_f_f_data): Remove max_ulp field.
25261         (struct test_ff_f_data): Likewise.
25262         (struct test_ff_f_data_nexttoward): Likewise.
25263         (struct test_fi_f_data): Likewise.
25264         (struct test_fl_f_data): Likewise.
25265         (struct test_if_f_data): Likewise.
25266         (struct test_fff_f_data): Likewise.
25267         (struct test_c_f_data): Likewise.
25268         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25269         (struct test_fF_f1_data): Likewise.
25270         (struct test_ffI_f1_data): Likewise.
25271         (struct test_c_c_data): Remove max_ulp field.
25272         (struct test_cc_c_data): Likewise.
25273         (struct test_f_i_data): Likewise.
25274         (struct test_ff_i_data): Likewise.
25275         (struct test_f_l_data): Likewise.
25276         (struct test_f_L_data): Likewise.
25277         (struct test_sincos_data): Likewise.
25278         (RUN_TEST_f_f): Do not handle ulps.
25279         (RUN_TEST_LOOP_f_f): Likewise.
25280         (RUN_TEST_2_f): Likewise.
25281         (RUN_TEST_LOOP_2_f): Likewise.
25282         (RUN_TEST_fff_f): Likewise.
25283         (RUN_TEST_LOOP_fff_f): Likewise.
25284         (RUN_TEST_c_f): Likewise.
25285         (RUN_TEST_LOOP_c_f): Likewise.
25286         (RUN_TEST_f_f1): Likewise.
25287         (RUN_TEST_LOOP_f_f1): Likewise.
25288         (RUN_TEST_fF_f1): Likewise.
25289         (RUN_TEST_LOOP_fF_f1): Likewise.
25290         (RUN_TEST_fI_f1): Likewise.
25291         (RUN_TEST_LOOP_fI_f1): Likewise.
25292         (RUN_TEST_ffI_f1): Likewise.
25293         (RUN_TEST_LOOP_ffI_f1): Likewise.
25294         (RUN_TEST_c_c): Likewise.
25295         (RUN_TEST_LOOP_c_c): Likewise.
25296         (RUN_TEST_cc_c): Likewise.
25297         (RUN_TEST_LOOP_cc_c): Likewise.
25298         (RUN_TEST_f_i): Likewise.
25299         (RUN_TEST_LOOP_f_i): Likewise.
25300         (RUN_TEST_f_i_tg): Likewise.
25301         (RUN_TEST_LOOP_f_i_tg): Likewise.
25302         (RUN_TEST_ff_i_tg): Likewise.
25303         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25304         (RUN_TEST_f_b): Likewise.
25305         (RUN_TEST_LOOP_f_b): Likewise.
25306         (RUN_TEST_f_b_tg): Likewise.
25307         (RUN_TEST_LOOP_f_b_tg): Likewise.
25308         (RUN_TEST_f_l): Likewise.
25309         (RUN_TEST_LOOP_f_l): Likewise.
25310         (RUN_TEST_f_L): Likewise.
25311         (RUN_TEST_LOOP_f_L): Likewise.
25312         (RUN_TEST_sincos): Likewise.
25313         (RUN_TEST_LOOP_sincos): Likewise.
25315 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25317         [BZ #15480]
25318         [BZ #15485]
25319         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25320         main case of finite arguments, set rounding mode to FE_TONEAREST
25321         and discard exceptions.
25322         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25323         exceptions.
25324         (remainder_tonearest_test_data): New variable.
25325         (remainder_test_tonearest): New function.
25326         (remainder_towardzero_test_data): New variable.
25327         (remainder_test_towardzero): New function.
25328         (remainder_downward_test_data): New variable.
25329         (remainder_test_downward): New function.
25330         (remainder_upward_test_data): New variable.
25331         (remainder_test_upward): New function.
25332         (main): Call the new test functions.
25334         * math/libm-test.inc (struct test_f_f1_data): Remove field
25335         extra_init.
25336         (struct test_fF_f1_data): Likewise.
25337         (struct test_ffI_f1_data): Likewise.
25338         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25339         based on value of EXTRA_EXPECTED.
25340         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25341         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25342         EXTRA_VAR based on value of EXTRA_EXPECTED.
25343         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25344         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25345         EXTRA_VAR based on value of EXTRA_EXPECTED.
25346         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25347         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25348         EXTRA_VAR based on value of EXTRA_EXPECTED.
25349         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25350         * math/gen-libm-test.pl (parse_args): Don't output initializers
25351         for extra output values.
25353         * math/libm-test.inc (check_int): Expect result to be exactly
25354         equal to expected value and do not handle ulps.
25355         (check_long): Likewise.
25356         (check_longlong): Likewise.
25358         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25359         exceptions.
25360         (cimag_test_data): Likewise.
25361         (conj_test_data): Likewise.
25362         (copysign_test_data): Likewise.
25363         (cproj_test_data): Likewise.
25364         (creal_test_data): Likewise.
25365         (fabs_test_data): Likewise.
25366         (fdim_test_data): Likewise.
25367         (finite_test_data): Likewise.
25368         (floor_test_data): Likewise.
25369         (fmax_test_data): Likewise.
25370         (fmin_test_data): Likewise.
25371         (fmod_test_data): Likewise.
25372         (fpclassify_test_data): Likewise.
25373         (frexp_test_data): Likewise.
25374         (ilogb_test_data): Likewise.
25375         (isfinite_test_data): Likewise.
25376         (isgreater_test_data): Likewise.
25377         (isgreaterequal_test_data): Likewise.
25378         (isinf_test_data): Likewise.
25379         (isless_test_data): Likewise.
25380         (islessequal_test_data): Likewise.
25381         (islessgreater_test_data): Likewise.
25382         (isnan_test_data): Likewise.
25383         (isnormal_test_data): Likewise.
25384         (issignaling_test_data): Likewise.
25385         (isunordered_test_data): Likewise.
25386         (ldexp_test_data): Likewise.
25387         (lrint_test_data): Likewise.
25388         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25389         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25390         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25391         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25392         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25393         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25394         test input.
25395         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25396         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25397         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25398         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25399         that test input.
25400         (lrint_downward_test_data): Test for "inexact" exceptions.
25401         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25402         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25403         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25404         test input.
25405         (lrint_upward_test_data): Test for "inexact" exceptions.
25406         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25407         test input.
25408         (llrint_test_data): Test for "inexact" exceptions.
25409         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25410         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25411         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25412         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25413         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25414         (llrint_downward_test_data): Test for "inexact" exceptions.
25415         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25416         (llrint_upward_test_data): Test for "inexact" exceptions.
25417         (logb_test_data): Likewise.
25418         (logb_downward_test_data): Likewise.
25419         (nextafter_test_data): Likewise.
25420         (nexttoward_test_data): Likewise.
25421         (remainder_test_data): Likewise.
25422         (remquo_test_data): Likewise.
25423         (scalbn_test_data): Likewise.
25424         (scalbln_test_data): Likewise.
25425         (signbit_test_data): Likewise.
25426         (sqrt_test_data): Likewise.
25427         (significand_test_data): Likewise.
25429 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25431         [BZ #15424]
25432         * benchtests/bench-modf.c (struct args): Mark arg0 as
25433         volatile.
25434         * scripts/bench.pl: Mark members of struct args as volatile.
25436 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25438         [BZ # 15497]
25439         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25440         negative infinity on POWER6 or lower.
25441         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25443 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25445         [BZ #15442]
25446         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25447         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25448         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25449         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25450         (_FP_SETQNAN): New macro.
25451         (_FP_SETQNAN_SEMIRAW): Likewise.
25452         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25453         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25454         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25455         (FP_EXTEND): Use _FP_FRAC_SNANP.
25456         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25457         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25458         into account.
25459         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25460         New macro.
25461         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25462         Likewise.
25464 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25466         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25467         with DIVIDE_BY_ZERO_EXCEPTION.
25468         (gamma_test_data): Likewise.
25469         (lgamma_test_data): Likewise.
25470         (log_test_data): Likewise.
25471         (log10_test_data): Likewise.
25472         (log2_test_data): Likewise.
25473         (tgamma_test_data): Likewise.
25475         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25476         (acos_test_tonearest): Likewise.
25477         (acos_test_towardzero): Likewise.
25478         (acos_test_downward): Likewise.
25479         (acos_test_upward): Likewise.
25480         (acosh_test): Likewise.
25481         (asin_test): Likewise.
25482         (asin_test_tonearest): Likewise.
25483         (asin_test_towardzero): Likewise.
25484         (asin_test_downward): Likewise.
25485         (asin_test_upward): Likewise.
25486         (asinh_test): Likewise.
25487         (atan_test): Likewise.
25488         (atanh_test): Likewise.
25489         (atan2_test): Likewise.
25490         (cabs_test): Likewise.
25491         (cacos_test): Likewise.
25492         (cacosh_test): Likewise.
25493         (casin_test): Likewise.
25494         (casinh_test): Likewise.
25495         (catan_test): Likewise.
25496         (catanh_test): Likewise.
25497         (cbrt_test): Likewise.
25498         (ccos_test): Likewise.
25499         (ccosh_test): Likewise.
25500         (cexp_test): Likewise.
25501         (clog_test): Likewise.
25502         (clog10_test): Likewise.
25503         (cos_test): Likewise.
25504         (cos_test_tonearest): Likewise.
25505         (cos_test_towardzero): Likewise.
25506         (cos_test_downward): Likewise.
25507         (cos_test_upward): Likewise.
25508         (cosh_test): Likewise.
25509         (cosh_test_tonearest): Likewise.
25510         (cosh_test_towardzero): Likewise.
25511         (cosh_test_downward): Likewise.
25512         (cosh_test_upward): Likewise.
25513         (cpow_test): Likewise.
25514         (csin_test): Likewise.
25515         (csinh_test): Likewise.
25516         (csqrt_test): Likewise.
25517         (ctan_test): Likewise.
25518         (ctan_test_tonearest): Likewise.
25519         (ctan_test_towardzero): Likewise.
25520         (ctan_test_downward): Likewise.
25521         (ctan_test_upward): Likewise.
25522         (ctanh_test): Likewise.
25523         (ctanh_test_tonearest): Likewise.
25524         (ctanh_test_towardzero): Likewise.
25525         (ctanh_test_downward): Likewise.
25526         (ctanh_test_upward): Likewise.
25527         (erf_test): Likewise.
25528         (erfc_test): Likewise.
25529         (exp_test): Likewise.
25530         (exp_test_tonearest): Likewise.
25531         (exp_test_towardzero): Likewise.
25532         (exp_test_downward): Likewise.
25533         (exp_test_upward): Likewise.
25534         (exp10_test): Likewise.
25535         (exp2_test): Likewise.
25536         (expm1_test): Likewise.
25537         (fmod_test): Likewise.
25538         (gamma_test): Likewise.
25539         (hypot_test): Likewise.
25540         (j0_test): Likewise.
25541         (j1_test): Likewise.
25542         (jn_test): Likewise.
25543         (lgamma_test): Likewise.
25544         (log_test): Likewise.
25545         (log10_test): Likewise.
25546         (log1p_test): Likewise.
25547         (log2_test): Likewise.
25548         (logb_test_downward): Likewise.
25549         (pow_test): Likewise.
25550         (pow_test_tonearest): Likewise.
25551         (pow_test_towardzero): Likewise.
25552         (pow_test_downward): Likewise.
25553         (pow_test_upward): Likewise.
25554         (remainder_test): Likewise.
25555         (remquo_test): Likewise.
25556         (sin_test): Likewise.
25557         (sin_test_tonearest): Likewise.
25558         (sin_test_towardzero): Likewise.
25559         (sin_test_downward): Likewise.
25560         (sin_test_upward): Likewise.
25561         (sincos_test): Likewise.
25562         (sinh_test): Likewise.
25563         (sinh_test_tonearest): Likewise.
25564         (sinh_test_towardzero): Likewise.
25565         (sinh_test_downward): Likewise.
25566         (sinh_test_upward): Likewise.
25567         (sqrt_test): Likewise.
25568         (tan_test): Likewise.
25569         (tan_test_tonearest): Likewise.
25570         (tan_test_towardzero): Likewise.
25571         (tan_test_downward): Likewise.
25572         (tan_test_upward): Likewise.
25573         (tanh_test): Likewise.
25574         (tgamma_test): Likewise.
25575         (y0_test): Likewise.
25576         (y1_test): Likewise.
25577         (yn_test): Likewise.
25579         * math/gen-libm-test.pl (adjust_arg): Remove function.
25580         (special_function): Remove argument $in_func.  Only handle
25581         generating output for tables of tests, not inside functions.
25582         (parse_args): Likewise.
25583         (generate_testfile): Remove variable $in_func.  Update call to
25584         parse_args.
25585         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25586         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25587         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25588         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25589         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25590         (MAX_VALUE_INIT): Rename macro to max_value.
25591         (MIN_VALUE_INIT): Rename macro to min_value.
25592         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25593         (plus_zero): Remove variable.
25594         (minus_zero): Likewise.
25595         (plus_infty): Likewise.
25596         (minus_infty): Likewise.
25597         (qnan_value): Likewise.
25598         (max_value): Likewise.
25599         (min_value): Likewise.
25600         (min_subnorm_value): Likewise.
25602 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25604         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25605         uint64_t or uint32_t usage.
25606         * crypt/sha256-block.c: Likewise.
25607         * crypt/sha256-crypt.c: Likewise.
25608         * crypt/sha256.c: Likewise.
25609         * crypt/sha512-block.c: Likewise.
25610         * crypt/sha512-crypt.c: Likewise.
25611         * crypt/sha512.c: Likewise.
25612         * debug/backtrace-tst.c: Likewise.
25613         * debug/pcprofiledump.c: Likewise.
25614         * elf/cache.c: Likewise.
25615         * elf/dl-cache.c: Likewise.
25616         * elf/dl-misc.c: Likewise.
25617         * elf/dl-profile.c: Likewise.
25618         * elf/dl-support.c: Likewise.
25619         * elf/ldconfig.c: Likewise.
25620         * elf/sprof.c: Likewise.
25621         * iconv/dummy-repertoire.c: Likewise.
25622         * iconv/iconv_charmap.c: Likewise.
25623         * iconv/skeleton.c: Likewise.
25624         * iconvdata/8bit-generic.c: Likewise.
25625         * iconvdata/cp737.h: Likewise.
25626         * iconvdata/cp775.h: Likewise.
25627         * iconvdata/ibm1008.h: Likewise.
25628         * iconvdata/ibm1025.h: Likewise.
25629         * iconvdata/ibm1046.h: Likewise.
25630         * iconvdata/ibm1097.h: Likewise.
25631         * iconvdata/ibm1112.h: Likewise.
25632         * iconvdata/ibm1122.h: Likewise.
25633         * iconvdata/ibm1123.h: Likewise.
25634         * iconvdata/ibm1124.h: Likewise.
25635         * iconvdata/ibm1129.h: Likewise.
25636         * iconvdata/ibm1130.h: Likewise.
25637         * iconvdata/ibm1132.h: Likewise.
25638         * iconvdata/ibm1133.h: Likewise.
25639         * iconvdata/ibm1137.h: Likewise.
25640         * iconvdata/ibm1140.h: Likewise.
25641         * iconvdata/ibm1141.h: Likewise.
25642         * iconvdata/ibm1142.h: Likewise.
25643         * iconvdata/ibm1143.h: Likewise.
25644         * iconvdata/ibm1144.h: Likewise.
25645         * iconvdata/ibm1145.h: Likewise.
25646         * iconvdata/ibm1146.h: Likewise.
25647         * iconvdata/ibm1147.h: Likewise.
25648         * iconvdata/ibm1148.h: Likewise.
25649         * iconvdata/ibm1149.h: Likewise.
25650         * iconvdata/ibm1153.h: Likewise.
25651         * iconvdata/ibm1154.h: Likewise.
25652         * iconvdata/ibm1155.h: Likewise.
25653         * iconvdata/ibm1156.h: Likewise.
25654         * iconvdata/ibm1157.h: Likewise.
25655         * iconvdata/ibm1158.h: Likewise.
25656         * iconvdata/ibm1160.h: Likewise.
25657         * iconvdata/ibm1161.h: Likewise.
25658         * iconvdata/ibm1162.h: Likewise.
25659         * iconvdata/ibm1163.h: Likewise.
25660         * iconvdata/ibm1164.h: Likewise.
25661         * iconvdata/ibm1166.h: Likewise.
25662         * iconvdata/ibm1167.h: Likewise.
25663         * iconvdata/ibm12712.h: Likewise.
25664         * iconvdata/ibm1390.h: Likewise.
25665         * iconvdata/ibm1399.h: Likewise.
25666         * iconvdata/ibm16804.h: Likewise.
25667         * iconvdata/ibm4517.h: Likewise.
25668         * iconvdata/ibm4899.h: Likewise.
25669         * iconvdata/ibm4909.h: Likewise.
25670         * iconvdata/ibm4971.h: Likewise.
25671         * iconvdata/ibm5347.h: Likewise.
25672         * iconvdata/ibm803.h: Likewise.
25673         * iconvdata/ibm856.h: Likewise.
25674         * iconvdata/ibm901.h: Likewise.
25675         * iconvdata/ibm902.h: Likewise.
25676         * iconvdata/ibm9030.h: Likewise.
25677         * iconvdata/ibm9066.h: Likewise.
25678         * iconvdata/ibm921.h: Likewise.
25679         * iconvdata/ibm922.h: Likewise.
25680         * iconvdata/ibm9448.h: Likewise.
25681         * iconvdata/isiri-3342.h: Likewise.
25682         * iconvdata/jis0201.h: Likewise.
25683         * include/link.h: Likewise.
25684         * include/netdb.h: Likewise.
25685         * inet/check_native.c: Likewise.
25686         * inet/check_pf.c: Likewise.
25687         * inet/getipv4sourcefilter.c: Likewise.
25688         * inet/getnameinfo.c: Likewise.
25689         * inet/getsourcefilter.c: Likewise.
25690         * inet/htonl.c: Likewise.
25691         * inet/setipv4sourcefilter.c: Likewise.
25692         * inet/setsourcefilter.c: Likewise.
25693         * inet/test-inet6_opt.c: Likewise.
25694         * inet/tst-network.c: Likewise.
25695         * locale/C-collate.c: Likewise.
25696         * locale/C-ctype.c: Likewise.
25697         * locale/C-time.c: Likewise.
25698         * locale/C-translit.h: Likewise.
25699         * locale/loadarchive.c: Likewise.
25700         * locale/programs/3level.h: Likewise.
25701         * locale/programs/charmap.c: Likewise.
25702         * locale/programs/charmap.h: Likewise.
25703         * locale/programs/ld-address.c: Likewise.
25704         * locale/programs/ld-collate.c: Likewise.
25705         * locale/programs/ld-ctype.c: Likewise.
25706         * locale/programs/ld-identification.c: Likewise.
25707         * locale/programs/ld-measurement.c: Likewise.
25708         * locale/programs/ld-messages.c: Likewise.
25709         * locale/programs/ld-monetary.c: Likewise.
25710         * locale/programs/ld-name.c: Likewise.
25711         * locale/programs/ld-numeric.c: Likewise.
25712         * locale/programs/ld-paper.c: Likewise.
25713         * locale/programs/ld-telephone.c: Likewise.
25714         * locale/programs/ld-time.c: Likewise.
25715         * locale/programs/linereader.c: Likewise.
25716         * locale/programs/locale.c: Likewise.
25717         * locale/programs/locarchive.c: Likewise.
25718         * locale/programs/locfile.h: Likewise.
25719         * locale/programs/repertoire.c: Likewise.
25720         * locale/programs/simple-hash.c: Likewise.
25721         * locale/programs/simple-hash.h: Likewise.
25722         * malloc/memusage.c: Likewise.
25723         * malloc/memusagestat.c: Likewise.
25724         * nis/nis_defaults.c: Likewise.
25725         * nis/nis_hash.c: Likewise.
25726         * nis/nis_print.c: Likewise.
25727         * nis/nis_xdr.c: Likewise.
25728         * nscd/connections.c: Likewise.
25729         * nscd/hstcache.c: Likewise.
25730         * nscd/nscd_gethst_r.c: Likewise.
25731         * nscd/nscd_getserv_r.c: Likewise.
25732         * nscd/nscd_helper.c: Likewise.
25733         * nscd/servicescache.c: Likewise.
25734         * nss/makedb.c: Likewise.
25735         * nss/nss_db/db-XXX.c: Likewise.
25736         * nss/nss_db/db-initgroups.c: Likewise.
25737         * nss/nss_db/db-netgrp.c: Likewise.
25738         * nss/nss_files/files-network.c: Likewise.
25739         * nss/nss_files/files-parse.c: Likewise.
25740         * posix/bug-regex5.c: Likewise.
25741         * posix/fnmatch_loop.c: Likewise.
25742         * posix/regcomp.c: Likewise.
25743         * posix/regexec.c: Likewise.
25744         * posix/tst-rfc3484-2.c: Likewise.
25745         * posix/tst-rfc3484-3.c: Likewise.
25746         * posix/tst-rfc3484.c: Likewise.
25747         * resolv/nss_dns/dns-canon.c: Likewise.
25748         * resolv/nss_dns/dns-network.c: Likewise.
25749         * resolv/res_init.c: Likewise.
25750         * resolv/res_mkquery.c: Likewise.
25751         * resolv/tst-aton.c: Likewise.
25752         * stdlib/cxa_atexit.c: Likewise.
25753         * stdlib/cxa_finalize.c: Likewise.
25754         * stdlib/gen-fpioconst.c: Likewise.
25755         * stdlib/strtol_l.c: Likewise.
25756         * string/tst-endian.c: Likewise.
25757         * sunrpc/auth_des.c: Likewise.
25758         * sunrpc/clnt_udp.c: Likewise.
25759         * sunrpc/rtime.c: Likewise.
25760         * sunrpc/svcauth_des.c: Likewise.
25761         * sunrpc/xdr.c: Likewise.
25762         * sunrpc/xdr_intXX_t.c: Likewise.
25763         * sunrpc/xdr_rec.c: Likewise.
25764         * sysdeps/generic/ldconfig.h: Likewise.
25765         * sysdeps/generic/ldsodefs.h: Likewise.
25766         * sysdeps/generic/memusage.h: Likewise.
25767         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25768         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25769         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25770         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25771         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25772         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25773         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25774         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25775         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25776         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25777         * sysdeps/posix/getaddrinfo.c: Likewise.
25778         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25779         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25780         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25781         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25782         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25783         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25784         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25785         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25786         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25787         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25788         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25789         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25790         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25791         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25792         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25793         * sysdeps/x86_64/dl-tls.h: Likewise.
25794         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25795         * time/alt_digit.c: Likewise.
25796         * time/era.c: Likewise.
25797         * wcsmbs/tst-c16c32-1.c: Likewise.
25799 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25801         * math/libm-test.inc (struct test_sincos_data): New type.
25802         (RUN_TEST_LOOP_sincos): New macro.
25803         (sincos_test_data): New variable.
25804         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25806 2013-05-16  Richard Henderson  <rth@redhat.com>
25808         * math/atest-exp2.c (LIMB64): New macro.
25809         (CONSTSZ): New macro.
25810         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25811         (hexdig): Move ...
25812         (print_mpn_fp): ... to function scope.
25813         (read_mpn_hex): Remove.
25814         (get_log2): Remove.
25815         (exp2_mpn): Use mp_log2.
25816         (main): Use mp_exp1.
25818 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25820         * math/libm-test.inc: Remove comment about not testing "inexact"
25821         exceptions.
25822         (INEXACT_EXCEPTION): New macro.
25823         (NO_INEXACT_EXCEPTION): Likewise.
25824         (INVALID_EXCEPTION_OK): Update value.
25825         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25826         (OVERFLOW_EXCEPTION_OK): Likewise.
25827         (UNDERFLOW_EXCEPTION_OK): Likewise.
25828         (IGNORE_ZERO_INF_SIGN): Likewise.
25829         (ERRNO_UNCHANGED): Likewise.
25830         (ERRNO_EDOM): Likewise.
25831         (ERRNO_ERANGE): Likewise.
25832         (test_exceptions): Handle testing "inexact" exceptions.
25833         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25834         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25835         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25836         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25837         INEXACT_EXCEPTION.
25838         (rint_towardzero_test_data): Likewise.
25839         (rint_downward_test_data): Likewise.
25840         (rint_upward_test_data): Likewise.
25842         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25843         with OVERFLOW_EXCEPTION.
25844         (exp10_test_data): Likewise.
25845         (exp2_test_data): Likewise.
25846         (expm1_test_data): Likewise.
25847         (lgamma_test_data): Likewise.
25848         (pow_test_data): Likewise.
25849         (tgamma_test_data): Likewise.
25850         (yn_test_data): Remove duplicate test of overflow.
25852         * math/libm-test.inc (struct test_cc_c_data): New type.
25853         (RUN_TEST_LOOP_cc_c): New macro.
25854         (cpow_test_data): New variable.
25855         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25857         * math/libm-test.inc (struct test_f_L_data): New type.
25858         (RUN_TEST_LOOP_f_L): New macro.
25859         (llrint_test_data): New variable.
25860         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25861         (llrint_tonearest_test_data): New variable.
25862         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25863         (llrint_towardzero_test_data): New variable.
25864         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25865         (llrint_downward_test_data): New variable.
25866         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25867         (llrint_upward_test_data): New variable.
25868         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25869         (llround_test_data): New variable.
25870         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25872 2013-05-13  Peter Collingbourne  <pcc@google.com>
25874         * math/atest-exp2.c (get_log2): Remove const attribute.
25876 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25878         * math/libm-test.inc (struct test_f_l_data): New type.
25879         (RUN_TEST_LOOP_f_l): New macro.
25880         (lrint_test_data): New variable.
25881         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25882         (lrint_tonearest_test_data): New variable.
25883         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25884         (lrint_towardzero_test_data): New variable.
25885         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25886         (lrint_downward_test_data): New variable.
25887         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25888         (lrint_upward_test_data): New variable.
25889         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25890         (lround_test_data): New variable.
25891         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25893 2013-05-15  Peter Collingbourne  <pcc@google.com>
25895         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25896         (EXTRACT_WORDS64) Use where appropriate.
25897         (INSERT_WORDS64) Likewise.
25899         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25900         constraints with x constraints.
25901         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25903         * malloc/obstack.c (_obstack_compat): Add initializer.
25905 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25907         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25908         si_trapno and add si_addr_lsb to _sifields.sigfault.
25909         (si_trapno): Remove macro.
25910         (si_addr_lsb): Define new macro.
25911         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25913 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25915         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25916         instead of TEST_f_l.
25917         (llrint_test_tonearest): Likewise.
25918         (llrint_test_towardzero): Likewise.
25919         (llrint_test_downward): Likewise.
25920         (llrint_test_upward): Likewise.
25921         (llround_test): Likewise.
25923         * math/libm-test.inc (struct test_f_i_data): Add comment.
25924         (RUN_TEST_LOOP_f_b): New macro.
25925         (RUN_TEST_LOOP_f_b_tg): Likewise.
25926         (finite_test_data): New variable.
25927         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25928         (isfinite_test_data): New variable.
25929         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25930         (isinf_test_data): New variable.
25931         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25932         (isnan_test_data): New variable.
25933         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25934         (isnormal_test_data): New variable.
25935         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25936         (issignaling_test_data): New variable.
25937         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25938         (signbit_test_data): New variable.
25939         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25941         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25942         with INVALID_EXCEPTION.
25943         (acosh_test_data): Likewise.
25944         (asin_test_data): Likewise.
25945         (atanh_test_data): Likewise.
25946         (fmod_test_data): Likewise.
25947         (log_test_data): Likewise.
25948         (log10_test_data): Likewise.
25949         (log2_test_data): Likewise.
25950         (pow_test_data): Likewise.
25951         (sqrt_test_data): Likewise.
25952         (y0_test_data): Likewise.
25953         (y1_test_data): Likewise.
25954         (yn_test_data): Likewise.
25956         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25957         function contents.
25959         * math/libm-test.inc (struct test_ff_i_data): New type.
25960         (RUN_TEST_LOOP_ff_i_tg): New macro.
25961         (isgreater_test_data): New variable.
25962         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25963         (isgreaterequal_test_data): New variable.
25964         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25965         (isless_test_data): New variable.
25966         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25967         (islessequal_test_data): New variable.
25968         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25969         (islessgreater_test_data): New variable.
25970         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25971         (isunordered_test_data): New variable.
25972         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25974 2013-05-14  David S. Miller  <davem@davemloft.net>
25976         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25978 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25980         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25982         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25983         extra_test to int.
25984         (struct test_f_i_data): Change type of max_ulp to int.
25986         * math/libm-test.inc (test_ffI_f1_data): New type.
25987         (RUN_TEST_LOOP_ffI_f1): New macro.
25988         (remquo_test_data): New variable.
25989         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25991         * setjmp/tst-setjmp-fp.c: New file.
25992         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25993         (link-libm): New variable.
25994         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25996         * math/libm-test.inc (struct test_f_i_data): New type.
25997         (RUN_TEST_LOOP_f_i): New macro.
25998         (RUN_TEST_LOOP_f_i_tg): Likewise.
25999         (fpclassify_test_data): New variable.
26000         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26001         (ilogb_test_data): New variable.
26002         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26004         * math/libm-test.inc (scalbln_test): Correct function name in END
26005         call.
26007         * math/libm-test.inc (struct test_f_f1_data): Add comment.
26008         (RUN_TEST_LOOP_fI_f1): New macro.
26009         (frexp_test_data): New variable.
26010         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26012         * math/libm-test.inc (struct test_fF_f1_data): New type.
26013         (RUN_TEST_LOOP_fF_f1): New macro.
26014         (modf_test_data): New variable.
26015         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26017         * math/libm-test.inc (struct test_f_f1_data): New type.
26018         (RUN_TEST_LOOP_f_f1): New macro.
26019         (gamma_test_data): New variable.
26020         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26021         (lgamma_test_data): New variable.
26022         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26024 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
26026         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26027         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26028         (main): Comment "tls" pseudo-hwcap.
26030 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
26032         * math/libm-test.inc (struct test_fl_f_data): New type.
26033         (RUN_TEST_LOOP_fl_f): New variable.
26034         (scalbln_test_data): New variable.
26035         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26037         * math/libm-test.inc (struct test_fi_f_data): New type.
26038         (RUN_TEST_LOOP_fi_f): New macro.
26039         (ldexp_test_data): New variable.
26040         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26041         (scalbn_test_data): New variable.
26042         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26044         * math/libm-test.inc (struct test_c_f_data): New type.
26045         (RUN_TEST_LOOP_c_f): New macro.
26046         (cabs_test_data): New variable.
26047         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26048         (carg_test_data): New variable.
26049         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26050         (cimag_test_data): New variable.
26051         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26052         (creal_test_data): New variable.
26053         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26055         * math/libm-test.inc (struct test_if_f_data): New type.
26056         (RUN_TEST_LOOP_if_f): New macro.
26057         (jn_test_data): New variable.
26058         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26059         (yn_test_data): New variable.
26060         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26062         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26064 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26066         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26067         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26069 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26071         * benchtests/Makefile (CPPFLAGS-nonlib): Add
26072         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26073         (bench-deps): Add bench-timing.h.
26074         * benchtests-bench-skeleton.c: Include bench-timing.h.
26075         (main): Use TIMING_* macros instead of clock_gettime.
26076         * benchtests/bench-timing.h: New file.
26078         [BZ #14582]
26079         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26080         Renamed from _LIB_VERSION.
26081         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26083 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
26085         * math/libm-test.inc (struct test_fff_f_data): New type.
26086         (RUN_TEST_LOOP_fff_f): New macro.
26087         (fma_test_data): New variable.
26088         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26089         (fma_towardzero_test_data): New variable.
26090         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26091         (fma_downward_test_data): New variable.
26092         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26093         (fma_upward_test_data): New variable.
26094         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26096         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26097         (struct test_c_c_data): New type.
26098         (RUN_TEST_LOOP_c_c): New macro.
26099         (cacos_test_data): New variable.
26100         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26101         (cacosh_test_data): New variable.
26102         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26103         (casin_test_data): New variable.
26104         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26105         (casinh_test_data): New variable.
26106         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26107         (catan_test_data): New variable.
26108         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26109         (catanh_test_data): New variable.
26110         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26111         (ccos_test_data): New variable.
26112         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26113         (ccosh_test_data): New variable.
26114         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26115         (cexp_test_data): New variable.
26116         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26117         (clog_test_data): New variable.
26118         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26119         (clog10_test_data): New variable.
26120         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26121         (conj_test_data): New variable.
26122         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26123         (cproj_test_data): New variable.
26124         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26125         (csin_test_data): New variable.
26126         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26127         (csinh_test_data): New variable.
26128         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26129         (csqrt_test_data): New variable.
26130         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26131         (ctan_test_data): New variable.
26132         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26133         (ctan_tonearest_test_data): New variable.
26134         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26135         (ctan_towardzero_test_data): New variable.
26136         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26137         (ctan_downward_test_data): New variable.
26138         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26139         (ctan_upward_test_data): New variable.
26140         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26141         (ctanh_test_data): New variable.
26142         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26143         (ctanh_tonearest_test_data): New variable.
26144         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26145         (ctanh_towardzero_test_data): New variable.
26146         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26147         (ctanh_downward_test_data): New variable.
26148         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26149         (ctanh_upward_test_data): New variable.
26150         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26151         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26152         of BUILD_COMPLEX.
26154         * math/libm-test.inc (struct test_ff_f_data): New type.
26155         (struct test_ff_f_data_nexttoward): Likewise.
26156         (RUN_TEST_LOOP_2_f): New macro.
26157         (RUN_TEST_LOOP_ff_f): Likewise.
26158         (atan2_test_data): New variable.
26159         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26160         (copysign_test_data): New variable.
26161         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26162         (fdim_test_data): New variable.
26163         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26164         (fmax_test_data): New variable.
26165         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26166         (fmin_test_data): New variable.
26167         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26168         (fmod_test_data): New variable.
26169         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26170         (hypot_test_data): New variable.
26171         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26172         (nextafter_test_data): New variable.
26173         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26174         (nexttoward_test_data): New variable.
26175         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26176         (pow_test_data): New variable.
26177         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26178         (pow_tonearest_test_data): New variable.
26179         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26180         (pow_towardzero_test_data): New variable.
26181         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26182         (pow_downward_test_data): New variable.
26183         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26184         (pow_upward_test_data): New variable.
26185         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26186         (remainder_test_data): New variable.
26187         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26188         (scalb_test_data): New variable.
26189         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26190         * sysdeps/i386/fpu/libm-test-ulps: Update.
26192 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
26194         * math/libm-test.inc (fma_test): Use max_value instead of local
26195         variable fltmax.
26196         (nextafter_test): Likewise.
26198         * math/libm-test.inc (acos_towardzero_test_data): New variable.
26199         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26200         (acos_downward_test_data): New variable.
26201         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26202         (acos_upward_test_data): New variable.
26203         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26204         (acosh_test_data): New variable.
26205         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26206         (asin_test_data): New variable.
26207         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26208         (asin_tonearest_test_data): New variable.
26209         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26210         (asin_towardzero_test_data): New variable.
26211         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26212         (asin_downward_test_data): New variable.
26213         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26214         (asin_upward_test_data): New variable.
26215         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26216         (asinh_test_data): New variable.
26217         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26218         (atan_test_data): New variable.
26219         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26220         (atanh_test_data): New variable.
26221         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26222         (cbrt_test_data): New variable.
26223         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26224         (ceil_test_data): New variable.
26225         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26226         (cos_test_data): New variable.
26227         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26228         (cos_tonearest_test_data): New variable.
26229         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26230         (cos_towardzero_test_data): New variable.
26231         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26232         (cos_downward_test_data): New variable.
26233         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26234         (cos_upward_test_data): New variable.
26235         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26236         (cosh_test_data): New variable.
26237         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26238         (cosh_tonearest_test_data): New variable.
26239         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26240         (cosh_towardzero_test_data): New variable.
26241         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26242         (cosh_downward_test_data): New variable.
26243         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26244         (cosh_upward_test_data): New variable.
26245         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26246         (erf_test_data): New variable.
26247         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26248         (erfc_test_data): New variable.
26249         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26250         (exp_test_data): New variable.
26251         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26252         (exp_tonearest_test_data): New variable.
26253         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26254         (exp_towardzero_test_data): New variable.
26255         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26256         (exp_downward_test_data): New variable.
26257         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26258         (exp_upward_test_data): New variable.
26259         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26260         (exp10_test_data): New variable.
26261         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26262         (exp2_test_data): New variable.
26263         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26264         (expm1_test_data): New variable.
26265         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26266         (fabs_test_data): New variable.
26267         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26268         (floor_test_data): New variable.
26269         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26270         (j0_test_data): New variable.
26271         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26272         (j1_test_data): New variable.
26273         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26274         (log_test_data): New variable.
26275         (log_test): Run tests with RUN_TEST_LOOP_f_f.
26276         (log10_test_data): New variable.
26277         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26278         (log1p_test_data): New variable.
26279         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26280         (log2_test_data): New variable.
26281         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26282         (logb_test_data): New variable.
26283         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26284         (logb_downward_test_data): New variable.
26285         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26286         (nearbyint_test_data): New variable.
26287         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26288         (rint_test_data): New variable.
26289         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26290         (rint_tonearest_test_data): New variable.
26291         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26292         (rint_towardzero_test_data): New variable.
26293         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26294         (rint_downward_test_data): New variable.
26295         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26296         (rint_upward_test_data): New variable.
26297         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26298         (round_test_data): New variable.
26299         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26300         (sin_test_data): New variable.
26301         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26302         (sin_tonearest_test_data): New variable.
26303         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26304         (sin_towardzero_test_data): New variable.
26305         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26306         (sin_downward_test_data): New variable.
26307         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26308         (sin_upward_test_data): New variable.
26309         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26310         (sinh_test_data): New variable.
26311         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26312         (sinh_tonearest_test_data): New variable.
26313         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26314         (sinh_towardzero_test_data): New variable.
26315         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26316         (sinh_downward_test_data): New variable.
26317         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26318         (sinh_upward_test_data): New variable.
26319         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26320         (sqrt_test_data): New variable.
26321         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26322         (tan_test_data): New variable.
26323         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26324         (tan_tonearest_test_data): New variable.
26325         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26326         (tan_towardzero_test_data): New variable.
26327         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26328         (tan_downward_test_data): New variable.
26329         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26330         (tan_upward_test_data): New variable.
26331         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26332         (tanh_test_data): New variable.
26333         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26334         (tgamma_test_data): New variable.
26335         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26336         (trunc_test_data): New variable.
26337         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26338         (y0_test_data): New variable.
26339         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26340         (y1_test_data): New variable.
26341         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26342         (significand_test_data): New variable.
26343         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26345 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26347         [BZ #12387]
26348         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26350 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26352         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26354 2013-05-10  Andreas Jaeger  <aj@suse.de>
26356         [BZ #15448]
26357         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26358         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26360 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26362         * math/gen-libm-test.pl (adjust_arg): New function.
26363         (special_functions): Handle generating output in both functions
26364         and arrays.
26365         (parse_args): Likewise.
26366         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26367         $in_func argument to parse_args.
26368         * math/libm-test.inc (struct test_f_f_data): New type.
26369         (IF_ROUND_INIT_): New macro.
26370         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26371         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26372         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26373         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26374         (ROUND_RESTORE_): Likewise.
26375         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26376         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26377         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26378         (ROUND_RESTORE_FE_UPWARD): Likewise.
26379         (RUN_TEST_LOOP_f_f): New macro.
26380         (acos_test_data): New variable.
26381         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26382         (acos_tonearest_test_data): New variable.
26383         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26385 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26387         * benchtests/bench-skeleton.c (startup): Fix coding style.
26389 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26391         [BZ #6809]
26392         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26393         negative infinity argument.
26394         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26395         negative infinity argument.
26396         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26397         negative infinity argument.
26398         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26399         domain errors.
26401 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26403         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26404         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26405         * iconv/iconv_prog.c (main): Likewise.
26406         * locale/programs/charmap-dir.c (charmap_readdir)
26407         (fopen_uncompressed): Likewise.
26408         * locale/programs/locfile.c (siblings_uncached)
26409         (write_locale_data): Use lstat64 instead of lstat.
26410         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26411         stat.
26413 2013-05-10  Andreas Jaeger  <aj@suse.de>
26415         [BZ #15395]
26416         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26417         localization.
26418         Include <locale.h>.
26420 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26422         * elf/dl-close.c (_dl_close_worker): Add comments.
26424 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26426         [BZ #15359]
26427         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26428         high part of pi/2.
26429         (__ieee754_rem_pio2l): Update comments.
26431         [BZ #15429]
26432         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26433         high part of pi/2.
26434         (__ieee754_rem_pio2l): Update comments.
26436         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26437         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26439         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26440         M_PI_4l.
26442         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26443         (M_PI_34_LOG10El): Likewise.
26444         (M_PI2_LOG10El): Likewise.
26445         (M_PI4_LOG10El): Likewise.
26446         (M_PI_LOG10El): Likewise.
26448 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26452 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26454         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26455         (MINUS_ZERO_INIT): Likewise.
26456         (PLUS_INFTY_INIT): Likewise.
26457         (MINUS_INFTY_INIT): Likewise.
26458         (QNAN_VALUE_INIT): Likewise.
26459         (MAX_VALUE_INIT): Likewise.
26460         (MIN_VALUE_INIT): Likewise.
26461         (MIN_SUBNORM_VALUE_INIT): Likewise.
26462         (plus_zero): Initialize with PLUS_ZERO_INIT.
26463         (minus_zero): Initialize with MINUS_ZERO_INIT.
26464         (plus_infty): Initialize with PLUS_INFTY_INIT.
26465         (minus_infty): Initialize with MINUS_INFTY_INIT.
26466         (qnan_value): Initialize with QNAN_VALUE_INIT.
26467         (max_value): Initialize with MAX_VALUE_INIT.
26468         (min_value): Initialize with MIN_VALUE_INIT.
26469         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26471         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26472         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26473         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26474         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26476         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26477         (RUN_TEST_2_f): Likewise.
26478         (RUN_TEST_ff_f): Likewise.
26479         (RUN_TEST_fi_f): Likewise.
26480         (RUN_TEST_fl_f): Likewise.
26481         (RUN_TEST_fff_f): Likewise.
26482         (RUN_TEST_c_f): Likewise.
26483         (RUN_TEST_f_f1): Likewise.
26484         (RUN_TEST_fF_f1): Likewise.
26485         (RUN_TEST_fI_f1): Likewise.
26486         (RUN_TEST_ffI_f1): Likewise.
26487         (RUN_TEST_c_c): Likewise.
26488         (RUN_TEST_cc_c): Likewise.
26489         (RUN_TEST_f_i): Likewise.
26490         (RUN_TEST_f_i_tg): Likewise.
26491         (RUN_TEST_ff_i_tg): Likewise.
26492         (RUN_TEST_f_b): Likewise.
26493         (RUN_TEST_f_b_tg): Likewise.
26494         (RUN_TEST_f_l): Likewise.
26495         (RUN_TEST_f_L): Likewise.
26496         (RUN_TEST_sincos): Likewise.
26497         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26498         whether to show exceptions.  Do not include ");\n" in return
26499         value.
26500         (special_functions): Output call to RUN_TEST_sincos instead of
26501         check_float calls.  Update calls to new_test.
26502         (parse_args): Output call to single RUN_TEST_* macro instead of
26503         check_* calls and other assignments.  Update calls to new_test.
26505         [BZ #2546]
26506         [BZ #2560]
26507         [BZ #5159]
26508         [BZ #15426]
26509         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26510         input to result for tgamma overflow.
26511         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26512         (gamma_coeff): New variable.
26513         (NCOEFF): New macro.
26514         (gamma_positive): New function.
26515         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26516         underflow here.  Use gamma_positive instead of exp (lgamma) for
26517         other arguments.
26518         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26519         (gamma_coeff): New variable.
26520         (NCOEFF): New macro.
26521         (gammaf_positive): New function.
26522         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26523         underflow here.  Use gamma_positive instead of exp (lgamma) for
26524         other arguments.
26525         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26526         (gamma_coeff): New variable.
26527         (NCOEFF): New macro.
26528         (gammal_positive): New function.
26529         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26530         underflow here.  Use gamma_positive instead of exp (lgamma) for
26531         other arguments.
26532         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26533         (gamma_coeff): New variable.
26534         (NCOEFF): New macro.
26535         (gammal_positive): New function.
26536         (__ieee754_gammal_r): Handle positive infinity, overflow and
26537         underflow here.  Handle NaN the same as positive infinity.  Remove
26538         check x < 0xffffffff for negative integers.  Use gamma_positive
26539         instead of exp (lgamma) for other arguments.
26540         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26541         (gamma_coeff): New variable.
26542         (NCOEFF): New macro.
26543         (gammal_positive): New function.
26544         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26545         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26546         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26547         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26548         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26549         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26550         * sysdeps/generic/math_private.h (__gamma_productf): New
26551         prototype.
26552         (__gamma_product): Likewise.
26553         (__gamma_productl): Likewise.
26554         * math/Makefile (libm-calls): Add gamma_product.
26555         * math/libm-test.inc (tgamma_test): Add more tests.
26556         * sysdeps/i386/fpu/libm-test-ulps: Update.
26557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26559 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26561         * benchtests/bench-skeleton.c (main): Preheat CPU.
26563 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26565         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26567 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26569         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26570         and _dl_skip_args_internal.
26572 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26574         * manual/message.texi (Message Translation): Talk about users.
26575         Message to key mapping impacts design.
26577 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26579         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26581         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26583         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26584         * sysdeps/wordsize-64/glob64.c: ... here.
26586         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26587         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26588         New macros.
26590         * debug/getlogin_r_chk.c: Moved to ...
26591         * login/getlogin_r_chk.c: ... here.
26592         * debug/Makefile (routines): Move getlogin_r_chk to ...
26593         * login/Makefile (routines): ... here.
26594         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26595         * login/Versions (libc: GLIBC_2.4): ... here.
26597         * io/poll.c (__poll): Renamed from poll.
26598         Add libc_hidden_def.
26599         (poll): Define as weak alias.
26601         * debug/ptsname_r_chk.c: Moved to ...
26602         * login/ptsname_r_chk.c: ... here.
26603         * debug/Makefile (routines): Move ptsname_r_chk to ...
26604         * login/Makefile (routines): ... here.
26605         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26606         * login/Versions (libc: GLIBC_2.4): ... here.
26608         * posix/getlogin.c: Moved to ...
26609         * login/getlogin.c: ... here.
26610         * posix/getlogin_r.c: Moved to ...
26611         * login/getlogin_r.c: ... here.
26612         * posix/getlogin_r.c: Moved to ...
26613         * login/getlogin_r.c: ... here.
26614         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26615         * login/Makefile (routines): ... here.
26616         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26617         * login/Versions (libc: GLIBC_2.0): ... here.
26619         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26620         (setrlimit): Define as weak alias.
26622         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26623         Call __ names for open, ftruncate, and close.
26624         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26625         (truncate): Define as weak alias.
26627 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26629         * math/gen-libm-test.pl (parse_args): Initialize x before each
26630         test of frexp, modf and remquo.
26632         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26633         test signgam value.
26635 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26637         [BZ #15418]
26638         [BZ #15419]
26639         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26640         internal tests.
26641         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26643 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26645         * elf/dl-writev.h: New file.
26646         * elf/dl-misc.c: Include it.
26647         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26648         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26650 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26652         * math/libm-test.inc (noXFails): Remove variable.
26653         (noXPasses): Likewise.
26654         (BUILD_COMPLEX_INT): Remove macro.
26655         (print_screen): Remove xfail argument.
26656         (print_screen_max_error): Likewise.
26657         (update_stats): Likewise.
26658         (print_max_error): Likewise.  Update calls to other affected
26659         functions.
26660         (print_complex_max_error): Likewise.
26661         (test_single_exception): Update calls to print_screen.
26662         (test_single_errno): Likewise.
26663         (check_float_internal): Remove xfail argument.  Update calls to
26664         other affected functions.
26665         (check_float): Likewise.
26666         (check_complex): Likewise.
26667         (check_int): Likewise.
26668         (check_long): Likewise.
26669         (check_bool): Likewise.
26670         (check_longlong): Likewise.
26671         (main): Don't print noXFails and noXPasses.
26672         * math/gen-libm-test.pl (top level): Don't mention expected
26673         failure handling in comment.
26674         (new_test): Don't handle expected failures.
26675         (parse_args): Don't mention expected failure handling in comment.
26676         (generate_testfile): Don't handle expected failures.
26677         (parse_ulps): Likewise.
26678         (print_ulps_file): Likewise.
26679         (get_failure): Remove function.
26680         (output_test): Don't handle expected failures.
26681         * make/README.libm-test: Don't mention expected failure handling.
26683         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26684         (minus_zero): Likewise.
26685         (plus_infty): Likewise.
26686         (minus_infty): Likewise.
26687         (qnan_value): Likewise.
26688         (max_value): Likewise.
26689         (min_value): Likewise.
26690         (min_subnorm_value): Likewise.
26691         (initialize): Do not initialize those variables dynamically.
26693 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26695         * io/open.c (__open_2): Moved to ...
26696         * io/open_2.c: ... this new file.
26697         * io/open64.c (__open64_2): Moved to ...
26698         * io/open64_2.c: ... this new file.
26699         * io/openat.c (__openat_2): Moved to ...
26700         * io/openat_2.c: ... this new file.
26701         * io/openat64.c (__openat64_2): Moved to ...
26702         * io/openat64_2.c: ... this new file.
26703         * io/Makefile (routines): Add them.
26704         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26705         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26706         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26707         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26708         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26709         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26710         (__openat64): Add hidden_ver.
26711         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26712         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26714         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26715         Separately conditionalize setting of GLRO(dl_sysinfo) so
26716         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26717         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26719 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26721         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26722         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26723         definition.
26724         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26725         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26726         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26727         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26728         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26730 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26732         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26733         test signgam value.
26735         * math/libm-test.inc (hypot_test): Do not use
26736         IGNORE_ZERO_INF_SIGN.
26738 2013-05-03  Andreas Jaeger  <aj@suse.de>
26740         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26741         Linux 3.9.
26742         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26743         (PF_MAX): Adjust for VSOCK change.
26745 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26749 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26751         [BZ #15264]
26752         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26753         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26754         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26756 2013-05-02  David S. Miller  <davem@davemloft.net>
26758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26760 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26762         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26764 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26766         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26768 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26770         [BZ #14952]
26771         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26772         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26773         Use __attribute__ ((__gnu_inline__)).
26774         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26775         Don't use __attribute__ ((__gnu_inline__)).
26777 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26779         [BZ #15423]
26780         * math/s_catan.c (__catan): Handle small real or imaginary part of
26781         input specially to avoid spurious underflow.
26782         * math/s_catanf.c (__catanf): Likewise.
26783         * math/s_catanh.c (__catanh): Likewise.
26784         * math/s_catanhf.c (__catanhf): Likewise.
26785         * math/s_catanhl.c (__catanhl): Likewise.
26786         * math/s_catanl.c (__catanl): Likewise.
26787         * math/libm-test.inc (catan_test): Add more tests.
26788         (catanh_test): Likewise.
26789         * sysdeps/i386/fpu/libm-test-ulps: Update.
26790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26792 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26796 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26798         [BZ #15416]
26799         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26800         accurately for denominator in atan2.
26801         * math/s_catanf.c (__catanf): Likewise.
26802         * math/s_catanh.c (__catanh): Likewise.
26803         * math/s_catanhf.c (__catanhf): Likewise.
26804         * math/s_catanhl.c (__catanhl): Likewise.
26805         * math/s_catanl.c (__catanl): Likewise.
26806         * math/libm-test.inc (catan_test): Add more tests.
26807         (catanh_test): Likewise.
26808         * sysdeps/i386/fpu/libm-test-ulps: Update.
26809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26811 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26813         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26815         * benchtests/Makefile (bench): Remove slow benchmarks.
26816         * benchtests/atan-inputs: Add slow benchmark inputs.
26817         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26818         (BENCH_FUNC): Accept variant offset.
26819         (VARIANT): Define.
26820         * benchtests/bench-skeleton.c (main): Run benchmark for each
26821         variant.
26822         * benchtests/cos-inputs: Add slow benchmark inputs.
26823         * benchtests/exp-inputs: Likewise.
26824         * benchtests/pow-inputs: Likewise.
26825         * benchtests/sin-inputs: Likewise.
26826         * benchtests/slowatan-inputs: Remove.
26827         * benchtests/slowatan.c: Remove.
26828         * benchtests/slowcos-inputs: Remove.
26829         * benchtests/slowcos.c: Remove.
26830         * benchtests/slowexp-inputs: Remove.
26831         * benchtests/slowexp.c: Remove.
26832         * benchtests/slowpow-inputs: Remove.
26833         * benchtests/slowpow.c: Remove.
26834         * benchtests/slowsin-inputs: Remove.
26835         * benchtests/slowsin.c: Remove.
26836         * benchtests/slowtan-inputs: Remove.
26837         * benchtests/slowtan.c: Remove.
26838         * benchtests/tan-inputs: Add slow benchmark inputs.
26839         * scripts/bench.pl: Parse comments and directives.
26841         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26842         in CPPFLAGS.
26843         ($(objpfx)bench-%.c): Remove *-ITER.
26844         * benchtests/bench-modf.c: Remove definition of ITER.
26845         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26846         (main): Loop for DURATION seconds instead of fixed number of
26847         iterations.
26848         * scripts/bench.pl: Don't expect iterations in parameters.
26850 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26852         * io/fchdir.c (__fchdir): Renamed from fchdir.
26853         (fchdir): Define as weak alias.
26855 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26857         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26858         (ERRNO_EDOM): Likewise.
26859         (ERRNO_ERANGE): Likewise.
26860         (noErrnoTests): New variable.
26861         (init_max_error): Set errno to 0.
26862         (test_single_errno): New function.
26863         (test_errno): Likewise.
26864         (check_float_internal): Call test_errno.  Set errno to 0.
26865         (check_complex): Refer to errno tests in comment.
26866         (check_int): Call test_errno.  Set errno to 0.
26867         (check_long): Likewise.
26868         (check_bool): Likewise.
26869         (check_longlong): Likewise.
26870         (cos_test): Use ERRNO_* flags for errno tests instead of
26871         check_int.
26872         (expm1_test): Likewise.
26873         (fmod_test): Likewise.
26874         (ilogb_test): Likewise.
26875         (lgamma_test): Likewise.
26876         (pow_test): Likewise.
26877         (remainder_test): Likewise.
26878         (sin_test): Likewise.
26879         (tan_test): Likewise.
26880         (yn_test): Likewise.
26881         (initialize): Set errno to 0.
26882         (main): Print number of errno tests.
26883         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26885 2013-04-29  Andreas Jaeger  <aj@suse.de>
26887         [BZ #15084]
26888         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26889         and RES_USEVC.
26891         [BZ #15085]
26892         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26893         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26894         unimplemented.
26896         [BZ #15380]
26897         * stdlib/random.c (__initstate): Return NULL if
26898         __initstate fails.
26900         [BZ #15086]
26901         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26902         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26903         RES_SNGLKUPREOP.
26905 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26909 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26911         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26912         of individual tests.
26913         (casin_test): Likewise.
26914         (casinh_test): Likewise.
26916 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26918         [BZ #15409]
26919         * math/s_catan.c (__catan): Handle arguments with large real or
26920         imaginary part separately without squaring.
26921         * math/s_catanf.c (__catanf): Likewise.
26922         * math/s_catanh.c (__catanh): Likewise.
26923         * math/s_catanhf.c (__catanhf): Likewise.
26924         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26925         and redefine.
26926         (__catanhl): Handle arguments with large real or imaginary part
26927         separately without squaring.
26928         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26929         and redefine.
26930         (__catanl): Handle arguments with large real or imaginary part
26931         separately without squaring.
26932         * math/libm-test.inc (catan_test): Add more tests.
26933         (catanh_test): Likewise.
26934         * sysdeps/i386/fpu/libm-test-ulps: Update.
26935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26937 2013-04-27  Andreas Jaeger  <aj@suse.de>
26939         [BZ #15007]
26940         * stdlib/stdlib.h: Update guards for qecvt.
26941         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26942         <stdlib.h>.
26944 2013-04-27  Allan McRae  <allan@archlinux.org>
26946         * sysdeps/i386/fpu/libm-test-ulps: Update.
26948 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26950         [BZ #15406]
26951         * math/s_catan.c: Include <float.h>.
26952         (__catan): Ensure underflow exception occurs for underflowed
26953         result.
26954         * math/s_catanf.c: Include <float.h>.
26955         (__catanf): Ensure underflow exception occurs for underflowed
26956         result.
26957         * math/s_catanh.c: Include <float.h>.
26958         (__catanh): Ensure underflow exception occurs for underflowed
26959         result.
26960         * math/s_catanhf.c: Include <float.h>.
26961         (__catanhf): Ensure underflow exception occurs for underflowed
26962         result.
26963         * math/s_catanhl.c: Include <float.h>.
26964         (__catanhl): Ensure underflow exception occurs for underflowed
26965         result.
26966         * math/s_catanl.c: Include <float.h>.
26967         (__catanl): Ensure underflow exception occurs for underflowed
26968         result.
26969         * math/libm-test.inc (catan_test): Add more tests.
26970         (catanh_test): Likewise.
26972         [BZ #15405]
26973         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26974         underflowed result.
26975         * math/s_ccoshf.c (__ccoshf): Likewise.
26976         * math/s_ccoshl.c (__ccoshl): Likewise.
26977         * math/s_csin.c (__csin): Likewise.
26978         * math/s_csinf.c (__csinf): Likewise.
26979         * math/s_csinh.c (__csinh): Likewise.
26980         * math/s_csinhf.c (__csinhf): Likewise.
26981         * math/s_csinhl.c (__csinhl): Likewise.
26982         * math/s_csinl.c (__csinl): Likewise.
26983         * math/libm-test.inc (ccos_test): Add more tests.
26984         (ccosh_test): Likewise.
26985         (csin_test): Likewise.
26986         (csinh_test): Likewise.
26988 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26990         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26991         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26992         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26993         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26994         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26995         powerpc/power5+/fpu folders.
26996         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26999 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27003 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
27005         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27006         additions to variable.
27007         [$(config-machine) = x86_64] (modules-names): Likewise.
27008         ($(objpfx)tst-audit3): Remove dependency.
27009         ($(objpfx)tst-audit3.out): Likewise.
27010         ($(objpfx)tst-audit4): Likewise.
27011         ($(objpfx)tst-audit4.out): Likewise.
27012         ($(objpfx)tst-audit5): Likewise.
27013         ($(objpfx)tst-audit5.out): Likewise.
27014         ($(objpfx)tst-audit6): Likewise.
27015         ($(objpfx)tst-audit6.out): Likewise.
27016         ($(objpfx)tst-audit7): Likewise.
27017         ($(objpfx)tst-audit7.out): Likewise.
27018         (tst-audit3-ENV): Remove variable.
27019         (tst-audit4-ENV): Likewise.
27020         (tst-audit5-ENV): Likewise.
27021         (tst-audit6-ENV): Likewise.
27022         (tst-audit7-ENV): Likewise.
27023         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27024         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27025         addition to variable.
27026         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27027         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27028         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27029         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27030         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27031         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27032         tst-audit3, tst-audit4 and tst-audit5.
27033         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27034         tst-audit6 and tst-audit7.
27035         [$(subdir) = elf] (modules-names): Add audit modules for those
27036         tests.
27037         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27038         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27039         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27040         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27041         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27042         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27043         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27044         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27045         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27046         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27047         [$(subdir) = elf] (tst-audit3-ENV): New variable.
27048         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27049         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27050         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27051         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27052         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27053         Likewise.
27054         [$(subdir) = elf && $(config-cflags-avx) = yes]
27055         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27056         [$(subdir) = elf && $(config-cflags-avx) = yes]
27057         (CFLAGS-tst-auditmod4a.c): Likewise.
27058         [$(subdir) = elf && $(config-cflags-avx) = yes]
27059         (CFLAGS-tst-auditmod4b.c): Likewise.
27060         [$(subdir) = elf && $(config-cflags-avx) = yes]
27061         (CFLAGS-tst-auditmod6b.c): Likewise.
27062         [$(subdir) = elf && $(config-cflags-avx) = yes]
27063         (CFLAGS-tst-auditmod6c.c): Likewise.
27064         [$(subdir) = elf && $(config-cflags-avx) = yes]
27065         (CFLAGS-tst-auditmod7b.c): Likewise.
27066         * elf/tst-audit3.c: Move to ...
27067         * sysdeps/x86_64/tst-audit3.c: ... here.
27068         * elf/tst-audit4.c: Move to ...
27069         * sysdeps/x86_64/tst-audit4.c: ... here.
27070         * elf/tst-audit5.c: Move to ...
27071         * sysdeps/x86_64/tst-audit5.c: ... here.
27072         * elf/tst-audit6.c: Move to ...
27073         * sysdeps/x86_64/tst-audit6.c: ... here.
27074         * elf/tst-audit7.c: Move to ...
27075         * sysdeps/x86_64/tst-audit7.c: ... here.
27076         * elf/tst-auditmod3a.c: Move to ...
27077         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27078         * elf/tst-auditmod3b.c: Move to ...
27079         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27080         * elf/tst-auditmod4a.c: Move to ...
27081         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27082         * elf/tst-auditmod4b.c: Move to ...
27083         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27084         * elf/tst-auditmod5a.c: Move to ...
27085         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27086         * elf/tst-auditmod5b.c: Move to ...
27087         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27088         * elf/tst-auditmod6a.c: Move to ...
27089         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27090         * elf/tst-auditmod6b.c: Move to ...
27091         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27092         * elf/tst-auditmod6c.c: Move to ...
27093         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27094         * elf/tst-auditmod7a.c: Move to ...
27095         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27096         * elf/tst-auditmod7b.c: Move to ...
27097         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27099 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
27101         [BZ #15366]
27102         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27103         define unconditionally.
27104         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27105         define unconditionally.
27106         (INT8_C, INT16_C, etc.): Likewise.
27108 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
27110         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27111         __ehdr_start with hidden visibility.
27113         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27115 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
27117         * math/libm-test.inc (cos_test): Use accurate hex constants.
27118         (sincost_test): Likewise.
27120 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
27122         * math/libm-test.inc (catan_test): Add more tests.
27123         (catanh_test): Likewise.
27125         * math/s_catanf.c (__catanf): Use suffixed floating-point
27126         constants.
27127         * math/s_catanhf.c (__catanhf): Likewise.
27128         * math/s_catanhl.c (__catanhl): Likewise.
27129         * math/s_catanl.c (__catanl): Likewise.
27131         [BZ #15394]
27132         * math/s_catan.c (__catan): Calculate imaginary part of result
27133         with log1p not log unless computing log of number close to 0.
27134         * math/s_catanf.c (__catanf): Likewise.
27135         * math/s_catanl.c (__catanl): Likewise.
27136         * math/s_catanh.c (__catanh): Calculate real part of result with
27137         log1p not log unless computing log of number close to 0.
27138         * math/s_catanhf.c (__catanhf): Likewise.
27139         * math/s_catanhl.c (__catanhl): Likewise.
27140         * math/libm-test.inc (catan_test): Add more tests.
27141         (catanh_test): Likewise.
27142         * sysdeps/i386/fpu/libm-test-ulps: Update.
27143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27145 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27147         * benchtests/Makefile: Mention files in which fast and slow
27148         paths of math functions are implemented.
27150 2013-04-23  Roland McGrath  <roland@hack.frob.com>
27152         * sysdeps/posix/timespec_get.c: New file.
27154 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27156         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27157         POWER.
27158         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27159         for POWER.
27160         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27161         powerpc/power5/fpu folders.
27162         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27163         * benchtests/Makefile: Add modf testcase.
27164         * benchtests/bench-modf.c: New file: Benchmark test for mo
27166 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27168         [BZ #14888]
27169         * time/Makefile (tests): Add tst-strptime-whitespace.
27170         * time/strptime_l.c (get_number): Use ISSPACE.
27171         (__strptime_internal): Likewise.
27172         * time/tst-strptime-whitespace.c: New test case.
27174 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
27176         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27177         member.
27178         (_nss_files_init): Set it here.
27180 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
27182         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27183         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27184         unsigned.
27186 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
27188         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27190 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27192         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27193         size just once.
27195 2013-04-21  David S. Miller  <davem@davemloft.net>
27197         * po/ru.po: Update Russion translation from translation project.
27199 2013-04-17  Adam Conrad  <adconrad@0c3.net>
27201         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27202         and setfsgid.
27204 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
27206         * configure.in: Remove i386 configure warning. Remove i386 case.
27207         * configure: Regenerate.
27208         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27209         Add example to error message.
27210         * sysdeps/i386/configure: Regenerate.
27212 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27214         * benchtests/Makefile (bench): Add cos, tan, slowcos and
27215         slowtan.
27216         * benchtests/cos-inputs: New file.
27217         * benchtests/slowcos-inputs: New file.
27218         * benchtests/slowcos.c: New file.
27219         * benchtests/slowtan-inputs: New file.
27220         * benchtests/slowtan.c: New file.
27221         * benchtests/tan-inputs: New file.
27223 2013-04-16  Roland McGrath  <roland@hack.frob.com>
27225         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27226         considered kosher.
27228 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27230         * benchtests/Makefile: Include cppflags-iterator.mk to add
27231         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27233         * Makefile.in (bench-clean): New target.
27234         * benchtests/Makefile (bench-clean): Likewise.
27236 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
27238         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27240 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
27242         * stdio-common/tstdiomisc.c: Fix coding-style violation.
27244 2013-04-15  Andreas Schwab  <schwab@suse.de>
27246         * nscd/grpcache.c (cache_addgr): Properly check for short write.
27247         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27248         * nscd/pwdcache.c (cache_addpw): Likewise.
27249         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
27250         more than recsize.
27252 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27254         * benchtests/Makefile (bench): Write all output to
27255         bench-out.tmp together.
27257 2013-04-15  Andreas Schwab  <schwab@suse.de>
27259         * nscd/nscd.c (main): Don't fork again after closing files.
27261 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27263         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27265         * benchtests/Rules (bench-deps): Collect dependencies into a
27266         single variable.  Add Makefile to dependencies.
27267         ($(objpfx)bench-%.c): Depend on bench-deps.
27269 2013-04-12  Roland McGrath  <roland@hack.frob.com>
27270             Xavier Roche  <roche+kml2@exalead.com>
27272         [BZ #15361]
27273         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27274         just that it's a file descriptor.
27275         * manual/llio.texi (Synchronizing AIO Operations): Update description
27276         for EBADF error from aio_fsync.
27278 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27280         * Rules (bench): Move target definition...
27281         * benchtests/Makefile: ... here.
27283 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27285         * math/libm-test.inc (cos_test): Fix PI/2 test.
27286         (sincos_test): Likewise.
27287         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27288         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27290 2013-04-11  Andreas Schwab  <schwab@suse.de>
27292         [BZ #13988]
27293         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27294         accept exponent character only when digits were seen.
27295         * stdio-common/Makefile (tests): Add bug26.
27296         * stdio-common/bug26.c: New file.
27298         [BZ #14293]
27299         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27300         non-freeable.
27302 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27304         * Makeconfig (rtld-prefix): Define built linker prefix.
27305         * Rules (run-bench): Use it.
27306         * math/Makefile (run-regen-ulps): Likewise.
27308         * Rules (bench): Remove eval.
27310 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27311             Roland McGrath  <roland@hack.frob.com>
27312             Ondrej Bilka  <neleai@seznam.cz>
27314         [BZ #15346]
27315         * time/getdate.c: Include ctype.h and alloca.h.
27316         (__getdate_r): Trim leading and trailing spaces of input.
27317         * time/tst-getdate.c (tests): Add tests with leading and
27318         trailing spaces.
27320 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27322         [BZ #14280]
27323         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27324         when computing value.
27326 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27328         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27329         Use testrun.sh to run libm tests.
27331         [BZ #15309]
27332         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27334 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27336         [BZ #15264]
27337         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27339 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27341         * Makefile.in (regen-ulps): New target.
27342         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27343         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27344         [ifneq (no,$(PERL)] (regen-ulps): New target.
27345         [ifeq (no,$(PERL)] (regen-ulps): New target.
27346         * math/libm-test.inc (ulps_file_name): Define.
27347         (output_dir): New variable.
27348         (options): Add "output-dir" option.
27349         (parse_opt): Handle 'o' case.
27350         (main): If output_dir is non-NULL use it as a prefix
27351         otherwise use "".
27352         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27354 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27356         [BZ #10060, #10062]
27357         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27358         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27359         fail configure if __sync_val_compare_and_swap is not inlined.
27360         * sysdeps/i386/configure: Regenerate.
27361         * configure.in: Build for i686 when configured for i386.
27362         * configure: Regenerate.
27363         * README: Remove i386 reference.
27365 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27367         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27368         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27370 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27372         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27373         (lmsnanval): New variables.
27374         (F): Add conversion tests.
27375         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27376         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27378         * stdio-common/tstdiomisc.c (F): Properly collect individual
27379         tests' results.
27381         [BZ #14686, #15336]
27382         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27383         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27384         Instead, use input NaN values or generate a qNaN by arithmetic
27385         operation.  Also fix bugs to comply with the standard.
27386         * math/libm-test.inc (remainder_test): Add more tests.
27388         [BZ #15335, #15342]
27389         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27390         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27391         input NaN values or generate a qNaN by arithmetic operation.
27393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27394         unreachable code.
27396         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27397         definitions.
27399 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27401         [BZ #14478]
27402         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27403         underflowed result.
27404         * math/s_cexpf.c (__cexpf): Likewise.
27405         * math/s_cexpl.c (__cexpl): Likewise.
27406         * math/libm-test.inc (cexp_test): Add more tests.
27408 2013-04-03  Andreas Schwab  <schwab@suse.de>
27410         [BZ #15330]
27411         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27412         order arrays from heap if bigger than alloca cutoff.
27414 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27416         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27417         (SNAN_TESTS_double): Refer to GCC PR56831.
27418         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27419         GCC PR56828.
27421 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27423         * Rules (bench): Move bench.out after the run is complete.
27425         * Rules (bench): Echo currently running benchmark.
27427         * benchtests/Makefile (bench): Add atan and slowatan.
27428         * benchtests/atan-inputs: New file.
27429         * benchtests/slowatan-inputs: New file.
27430         * benchtests/slowatan.c: New file.
27432         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27433         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27434         its value.
27436         [BZ #15305]
27437         * sysdeps/unix/sysv/linux/kernel-features.h
27438         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27439         __ASSUME_XFS_RESTRICTED_CHOWN.
27440         * sysdeps/unix/sysv/linux/pathconf.c
27441         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27442         Save and restore errno.
27444 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27446         [BZ #15327]
27447         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27448         arguments using __kernel_casinh.
27449         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27450         arguments using __kernel_casinhf.
27451         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27452         arguments using __kernel_casinhl.
27453         * math/libm-test.inc (cacosh_test): Add more tests.
27454         * sysdeps/i386/fpu/libm-test-ulps: Update.
27455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27457 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27459         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27460         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27462         * bench/Makefile (bench): Add sin and slowsin.
27463         * benchtests/sin-inputs: New file.
27464         * benchtests/slowsin-inputs: New file.
27465         * benchtests/slowsin.c: New file.
27467         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27468         (bench): Add slowexp and slowpow.
27469         (exp-ITER): Increase iterations.
27470         (pow-ITER): Likewise.
27471         * benchtests/exp-inputs: Change input.
27472         * benchtests/pow-inputs: Likewise.
27473         * benchtests/slowexp-inputs: New file.
27474         * benchtests/slowexp.c: New file.
27475         * benchtests/slowpow-inputs: New file.
27476         * benchtests/slowpow.c: New file.
27478 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27480         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27481         instructions.
27482         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27483         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27484         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27485         * benchtests/Makefile: Add rint benchtest.
27486         * benchtests/rint-inputs: Input for rint benchtest.
27488 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27490         * Versions.def (libm): Add GLIBC_2.18.
27491         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27492         hidden libm prototypes.
27493         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27494         * math/Makefile (libm-calls): Add s_issignaling.
27495         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27496         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27497         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27498         declaration.
27499         * math/math.h [__USE_GNU] (issignaling): New macro.
27500         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27501         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27502         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27503         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27504         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27505         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27506         * manual/arith.texi (issignaling): New section.
27507         * manual/libm-err-tab.pl (@all_functions): Update comment.
27508         * math/gen-libm-test.pl (parse_args): Apply special handling for
27509         issignaling.
27510         * math/libm-test.inc (print_float, issignaling_test): New
27511         functions.
27512         (check_float_internal): Add issignaling checks.
27513         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27514         default definition.
27515         * sysdeps/powerpc/math-tests.h: New file.
27516         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27517         tests.
27518         * math/test-snan.c (TEST_FUNC): Likewise.
27520 2013-03-30  David S. Miller  <davem@davemloft.net>
27522         * po/de.po: Update from translation team.
27524 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27526         [BZ #10357]
27527         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27528         imaginary part less than 1.0 and real part less than 0.5
27529         specially.
27530         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27531         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27532         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27533         (cacos_test): Add more tests.
27534         (casin_test): Likewise.
27535         (casinh_test): Likewise.
27536         * sysdeps/i386/fpu/libm-test-ulps: Update.
27537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27539 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27541         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27542         ONE with its value.
27544         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27545         (__pow_mp): Replace ONE and MONE with their values.
27546         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27547         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27548         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27549         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27550         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27551         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27553         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27555         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27556         (__pow_mp): Replace ZERO and MZERO with their values.
27557         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27558         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27559         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27560         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27561         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27562         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27563         (__sqr): Likewise.
27565         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27567         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27569 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27571         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27572         Declare with __attribute__ ((weak)).
27573         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27574         Call __call_tls_dtors only if it's not NULL.
27576 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27578         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27579         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27580         magic __ehdr_start linker symbol if it's defined.
27581         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27582         them up here if it was already done.
27584         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27585         (_dl_aux_init): Use const in cast when setting it.
27586         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27587         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27588         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27590         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27591         Declare them here.
27592         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27593         * csu/libc-tls.c: Nor here.
27594         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27596         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27597         (__libc_message): Never call vsyslog.
27599 2013-03-28  Alan Modra  <amodra@gmail.com>
27601         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27602         Define as empty.
27603         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27604         Likewise.
27606 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27608         [BZ #15214]
27609         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27610         underflow.
27611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27613 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27615         [BZ #15304]
27616         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27617         Don't add gid passed as argument.
27619         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27621 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27623         [BZ #15307]
27624         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27625         imaginary part between 1.0 and 1.5 and real part less than 0.5
27626         specially.
27627         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27628         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27629         * math/libm-test.inc (cacos_test): Add more tests.
27630         (casin_test): Likewise.
27631         (casinh_test): Likewise.
27632         * sysdeps/i386/fpu/libm-test-ulps: Update.
27633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27635 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27637         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27638         constants.
27639         (norm): Likewise.
27640         (denorm): Likewise.
27641         (__dbl_mp): Likewise.
27642         (add_magnitudes): Likewise.
27643         (sub_magnitudes): Likewise.
27644         (__add): Likewise.
27645         (__sub): Likewise.
27646         (__mul): Likewise.
27647         (__sqr): Likewise.
27648         (__inv): Likewise.
27649         (__dvd): Likewise.
27651         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27652         commented code.
27653         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27654         (__dubcos): Likewise.
27655         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27656         (__ieee754_acos): Likewise.
27657         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27658         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27659         (__exp1): Likewise.
27660         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27661         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27662         (log1): Likewise.
27663         (my_log2): Likewise.
27664         (checkint): Likewise.
27665         * sysdeps/ieee754/dbl-64/e_remainder.c
27666         (__ieee754_remainder): Likewise.
27667         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27668         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27669         (bsloww): Likewise.
27670         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27672         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27673         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27674         MANTISSA_STORE_T to store computations on mantissa.  Use
27675         macros for rounding and division.
27676         (denorm): Likewise.
27677         (__dbl_mp): Likewise.
27678         (add_magnitudes): Likewise.
27679         (sub_magnitudes): Likewise.
27680         (__mul): Likewise.
27681         (__sqr): Likewise.
27682         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27683         powers of two in terms of TWOPOW macro.
27684         (mp_no): Make type of mantissa as MANTISSA_T.
27685         [!RADIXI]: Define RADIXI.
27686         [!TWO52]: Define TWO52.
27687         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27689 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27691         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27692         llroundl symbol when building for PPC32.
27694 2013-03-24  Mark H Weaver  <mhw@netris.org>
27696         * manual/arith.texi (Normalization Functions): Fix prototypes for
27697         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27699 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27701         [BZ #13889]
27702         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27703         high value to check if expl overflow.
27704         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27705         to check for underflow and overflow.
27706         * math/libm-test.inc: Add exp test.
27708 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27710         [BZ #11120]
27711         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27712         with NOT_IN_libc.
27714 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27716         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27717         symbol.
27719 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27721         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27722         wrap blocks consisting of several statements.
27724         * sysdeps/generic/math-tests.h: New file.
27725         * sysdeps/i386/fpu/math-tests.h: Likewise.
27726         * math/test-snan.c: Include it.
27727         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27729 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27731         [BZ #15285]
27732         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27733         (__ieee754_j0l): Do not improve calculations using cos of twice
27734         input for inputs above LDBL_MAX / 2.0L.
27735         (__ieee754_y0l): Likewise.
27736         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27737         (__ieee754_j1l): Do not improve calculations using cos of twice
27738         input for inputs above LDBL_MAX / 2.0L.
27739         (__ieee754_y1l): Likewise.
27740         * math/libm-test.inc (j0_test): Add another test.
27741         (j1_test): Likewise.
27742         (y0_test): Likewise.
27743         (y1_test): Likewise.
27744         * sysdeps/i386/fpu/libm-test-ulps: Update.
27746 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27748         * Rules ($(objpfx)bench-%.c): Include code from a C source
27749         file.
27751 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27753         [BZ #15287]
27754         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27755         imaginary part 1.0 and real part less than 0.5 specially.
27756         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27757         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27758         * math/libm-test.inc (cacos_test): Add more tests.
27759         (casin_test): Likewise.
27760         (casinh_test): Likewise.
27761         * sysdeps/i386/fpu/libm-test-ulps: Update.
27762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27764 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27766         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27767         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27769 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27771         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27772         * config.make.in (config-cflags-sse4): Remove variable.
27773         (config-cflags-avx): Likewise.
27774         (config-cflags-sse2avx): Likewise.
27775         (config-cflags-novzeroupper): Likewise.
27776         (config-asflags-i686): Likewise.
27777         (have-mfma4): Likewise.
27778         (have-as-vis3): Likewise.
27779         (MIG): Likewise.
27780         * configure.in (MIG): Do not AC_SUBST.
27781         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27782         (libc_cv_cc_sse4): Do not AC_SUBST.
27783         (libc_cv_cc_avx): Likewise.
27784         (libc_cv_cc_sse2avx): Likewise.
27785         (libc_cv_cc_novzeroupper): Likewise.
27786         (libc_cv_cc_fma4): Likewise.
27787         (libc_cv_as_i686): Likewise.
27788         (libc_cv_sparc_as_vis3): Likewise.
27789         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27790         LIBC_CONFIG_VAR.
27791         (config-asflags-i686): Likewise.
27792         (config-cflags-avx): Likewise.
27793         (config-cflags-sse2avx): Likewise.
27794         (have-mfma4): Likewise.
27795         (config-cflags-novzeroupper): Likewise.
27796         * sysdeps/mach/configure.in (MIG): Likewise.
27797         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27798         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27799         LIBC_CONFIG_VAR.
27800         (config-cflags-avx): Likewise.
27801         (config-cflags-sse2avx): Likewise.
27802         (have-mfma4): Likewise.
27803         (config-cflags-novzeroupper): Likewise.
27804         * configure: Regenerated.
27805         * sysdeps/i386/configure: Likewise.
27806         * sysdeps/mach/configure: Likewise.
27807         * sysdeps/sparc/configure: Likewise.
27808         * sysdeps/x86_64/configure: Likewise.
27810 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27812         [BZ #14812]
27813         * locale/programs/localedef.c (options): Put N_ translation marker
27814         on argument names, not just descriptions.
27816 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27818         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27820 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27822         [BZ #14176]
27823         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27825 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27827         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27828         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27829         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27830         [!BEFORE_ABORT] (before_abort): New function.
27831         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27832         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27833         (writev_for_fatal): New function.
27834         (WRITEV_FOR_FATAL): New macro; call that.
27835         (backtrace_and_maps): New function.
27836         (BEFORE_ABORT): New macro; call that.
27837         (struct str_list): Type removed.
27838         (__libc_message, __libc_fatal): Functions removed.
27839         Include <sysdeps/posix/libc_fatal.c> instead.
27841 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27843         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27844         constants.
27845         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27846         double constants.
27848 2013-03-19  Andreas Schwab  <schwab@suse.de>
27850         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27851         * sysdeps/gnu/configure: Regenerate.
27853         * configure.in: Substitute libc_cv_rtlddir.
27854         * configure: Regenerate.
27855         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27856         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27857         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27858         * elf/Makefile (install-others, CFLAGS-interp.c)
27859         (ldso_install, common-ldd-rewrite): Likewise.
27860         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27861         $(inst_slibdir)/$(rtld-installed-name).
27862         * scripts/rellns-sh: Add -p option.
27863         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27864         for source.
27866 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27868         * manual/nptl.texi: Renamed to ...
27869         * manual/threads.texi: ... this.
27870         * manual/Makefile (chapters): Update.
27872 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27874         [BZ #14812]
27875         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27876         on argument names, not just descriptions.
27877         * malloc/memusagestat.c (options): Likewise.
27878         * nss/getent.c (options): Likewise.
27880 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27882         [BZ #14812]
27883         * iconv/iconv_prog.c (options): Put N_ translation marker
27884         on argument names, not just descriptions.
27885         * iconv/iconvconfig.c (options): Likewise.
27887 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27889         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27890         implementation which is faster on all x86_64 architectures.
27891         Tested on AMD, Intel Nehalem, SNB, IVB.
27892         * sysdeps/x86_64/strnlen.S: Likewise.
27894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27895         Remove all multiarch strlen and strnlen versions.
27896         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27897         Remove strlen and strnlen related parts.
27899         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27900         Inline strlen part.
27901         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27903         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27904         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27905         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27906         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27907         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27908         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27910 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27912         * manual/memory.texi (Malloc Tunable Parameters):
27913         Sort parameters alphabetically. Add comments for missing entries.
27915 2013-03-17  David S. Miller  <davem@davemloft.net>
27917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27919 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27921         [BZ #15283]
27922         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27923         for arguments at most half maximum finite value.
27924         * math/libm-test.inc (j0_test): Add more tests.
27925         (j1_test): Likewise.
27926         (y0_test): Likewise.
27927         (y1_test): Likewise.
27928         * sysdeps/i386/fpu/libm-test-ulps: Update.
27929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27931         [BZ #14155]
27932         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27933         1 / x and functions P and Q for arguments above 0x1p256L.
27934         (__ieee754_y0l): Likewise.
27935         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27936         (__ieee754_y1l): Likewise.
27937         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27938         (j1_test): Likewise.
27939         (y0_test): Likewise.
27940         (y1_test): Likewise.
27942 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27944         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27945         variable.
27947 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27949         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27950         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27951         zero since it's initialized to EXEC_PAGESIZE.
27953         * sysdeps/unix/sysv/linux/ldsodefs.h
27954         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27955         * sysdeps/generic/ldsodefs.h: ... here.
27957 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27959         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27961         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27962         math/test-snan.c.
27963         * math/test-snan.c: Renamed from
27964         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27965         * math/Makefile (tests): Add test-snan.
27966         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27967         test-powerpc-snan.
27969         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27970         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27971         functions.
27972         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27973         __builtin_nan family of functions.
27974         * math/libm-test.inc (initialize): Initialize qnan_value with
27975         __builtin_nan family of functions.
27976         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27977         Remove variables.
27978         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27979         Remove functions.
27980         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27981         storage class.  Initialize qNaN_var and sNaN_var with
27982         __builtin_nan and __builtin_nans families of functions,
27983         respectively.
27985         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27986         (sqrt_test): Remove duplicate test with qNaN input.
27987         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27988         (round_test, signbit_test, significand_test): Note missing +/-Inf
27989         as well as qNaN tests.
27991         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27992         qNaN_var.  Fix a few strings, too.
27993         * math/libm-test.inc (nan_value): Rename to qnan_value.
27994         * math/gen-libm-test.pl (%beautify): Adjust to that.
27995         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27996         * math/test-misc.c (main): Likewise.
27997         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27998         to __qnan_bytes, and __qnan_union, respectively.
27999         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28000         Likewise.
28001         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28002         and lqnanval, respectively.
28003         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28004         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28005         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28006         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28008         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28009         * math/test-misc.c (main) [__x86_64__]: Enable test for long
28010         doubles.
28012         * math/test-misc.c (main): Fix copy'n'pastos.
28013         * misc/tst-efgcvt.c (special): Likewise.
28015         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28016         Remove declarations.
28018 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28020         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28021         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28022         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28023         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28025 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28027         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28028         macro to return vdso values correctly in IFUNC implementations.
28029         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28030         Optimization by using IFUNC.
28032 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28033             Richard Henderson  <rth@redhat.com>
28034             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28036         * Makefile.in (bench): New target.
28037         * NEWS: Mention the benchmark framework.
28038         * Rules (bench): Likewise.
28039         (binaries-bench): Generate binaries for functions to
28040         benchmark.
28041         * benchtests/Makefile: New makefile for benchmark tests.
28042         * benchtests/bench-skeleton.c: New skeleton file for benchmark
28043         programs.
28044         * benchtests/exp-inputs: New input file for EXP function.
28045         * benchtests/pow-inputs: New input file for POW function.
28046         * scripts/bench.pl: New script to generate source files for
28047         benchmark programs.
28049 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28051         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28052         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28053         computations on mantissa.  Use macros for rounding and
28054         division.
28055         (denorm): Likewise.
28056         (__dbl_mp): Likewise.
28057         (add_magnitudes): Likewise.
28058         (sub_magnitudes): Likewise.
28059         (__mul): Likewise.
28060         (__sqr): Likewise.
28061         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
28062         powers of two in terms of TWOPOW macro.
28063         (mp_no): Make type of mantissa as MANTISSA_T.
28064         [!RADIXI]: Define RADIXI.
28065         [!TWO52]: Define TWO52.
28066         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28068         * manual/nptl.texi (cindex): Modify threads to pthreads.
28070 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
28072         * sysdeps/x86_64/preconfigure: Regenerated.
28074 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
28076         [BZ #14155]
28077         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28078         0x1p28 and above.
28079         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28080         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28081         0x1p28 and above.
28082         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28083         * math/libm-test.inc (j0_test): Do not allow one spurious
28084         underflow exception.
28085         (y1_test): Likewise.
28087 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28089         * manual/Makefile (chapters): Add nptl.
28090         * manual/debug.texi (Debugging Support): Add link to Threads
28091         chapter.
28092         * manual/nptl.texi: New file.
28094         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28096 2013-03-14  Petr Baudis  <pasky@ucw.cz>
28098         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28099         for non-NULL pointer before the memory validity test. Pointed
28100         out by Holger Brunck <holger.brunck@keymile.com>.
28102 2013-03-13  Andreas Schwab  <schwab@suse.de>
28104         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28105         instead of .os.
28107 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
28109         * timezone/zic.c: Update from tzcode 2013b.
28111 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
28113         * manual/install.texi (Configuring and compiling):
28114         Mention i686 and i586.
28115         * INSTALL: Regenerate.
28117 2013-03-12  Roland McGrath  <roland@hack.frob.com>
28119         * sysdeps/init_array/elf-init.c: New file.
28120         * csu/elf-init.c
28121         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28122         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28124         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28125         __gmon_start__ as global, but as static with a .preinit_array pointer.
28126         * sysdeps/init_array/gmon-start.c: New file.  Use that.
28127         * sysdeps/init_array/crti.S: New file, empty except for comments.
28128         * sysdeps/init_array/crtn.S: Likewise.
28130 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
28132         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28133         definining bcopy.
28134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28135         Remove Prefer_SSE_for_memop.
28136         * sysdeps/x86_64/multiarch/init-arch.h: Remove
28137         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28138         HAS_PREFER_SSE_FOR_MEMOP.
28139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28140         memset-x86-64.
28141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28142         Remove bzero, memset ifunc support.
28143         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28144         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28145         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28146         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28148 2013-03-11  Andreas Schwab  <schwab@suse.de>
28150         [BZ #15234]
28151         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28152         by SHLIB_COMPAT.
28153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28154         (GLIBC_2.16): Remove pthread_atfork.
28156 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28158         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28159         (ptestcases.h): Likewise.
28161 2013-03-08  Roland McGrath  <roland@hack.frob.com>
28163         * Makeconfig ($(common-objpfx)config.status): Depend on
28164         sysdeps/*/preconfigure{,.in} too.
28166 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
28168         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28169         (__free_hook): Use void * instead of __malloc_ptr_t.
28170         (__malloc_hook): Likewise.
28171         (__realloc_hook): Likewise.
28172         (__memalign_hook): Likewise.
28173         (__after_morecore_hook): Likewise.
28174         * malloc/arena.c (save_malloc_hook): Likewise.
28175         (save_free_hook): Likewise.
28176         * malloc/hooks.c (malloc_hook_ini): Likewise.
28177         (realloc_hook_ini): Likewise.
28178         (memalign_hook_ini): Likewise.
28179         * malloc/malloc.c (malloc_hook_ini): Likewise.
28180         (realloc_hook_ini): Likewise.
28181         (memalign_hook_ini): Likewise.
28182         (__free_hook): Likewise.
28183         (__malloc_hook): Likewise.
28184         (__realloc_hook): Likewise.
28185         (__memalign_hook): Likewise.
28186         (__libc_malloc): Likewise.
28187         (__libc_free): Likewise.
28188         (__libc_realloc): Likewise.
28189         (__libc_memalign): Likewise.
28190         (__libc_valloc): Likewise.
28191         (__libc_pvalloc): Likewise.
28192         (__libc_calloc): Likewise.
28193         (__posix_memalign): Likewise.
28194         * malloc/morecore.c (__sbrk): Likewise.
28195         (__default_morecore): Likewise.
28197         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28199         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28200         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28201         __malloc_ptrdiff_t.
28203         * malloc/malloc.h (__malloc_size_t): Remove macro.
28204         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28205         __malloc_size_t.
28206         (old_memalign_hook): Likewise.
28207         (old_realloc_hook): Likewise.
28208         (struct hdr): Likewise.
28209         (flood): Likewise.
28210         (mallochook): Likewise.
28211         (memalignhook): Likewise.
28212         (reallochook): Likewise.
28213         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28214         (tr_old_realloc_hook): Likewise.
28215         (tr_old_memalign_hook): Likewise.
28216         (tr_mallochook): Likewise.
28217         (tr_reallochook): Likewise.
28218         (tr_memalignhook): Likewise.
28220 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28222         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28223         default_ldbl_pack and using as default implementation.
28224         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28225         implementation.
28226         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28227         redundant definition.
28228         (ldbl_insert_mantissa): Likewise.
28229         (ldbl_canonicalize): Likewise.
28230         (ldbl_nearbyint): Likewise.
28231         (ldbl_pack): Rename to ldbl_pack_ppc.
28232         (ldbl_unpack): Rename to ldbl_unpack_ppc.
28233         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28234         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28236 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28239         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28240         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28241         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28243         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28244         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28245         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28247 2013-03-07  Andreas Jaeger  <aj@suse.de>
28249         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28250         bits/mman-linux.h.
28252 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28254         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28255         Include mpa.h and declare __MPEXP.
28256         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28257         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28258         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28259         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28260         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28261         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28262         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28264         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28265         (__slowpow): Use long double EXPL and LOGL functions to
28266         compute POW.
28267         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28268         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28269         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28270         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28271         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28272         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28275         intermediate variable to calculate exponent.
28276         (__sqr): Likewise.
28277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28278         Likewise.
28279         (__sqr): Likewise.
28281         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28282         [!NO__SQR]: Define __sqr.
28283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28284         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28285         sysdeps/ieee754/dbl-64/mpa.c.
28286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28288         [BZ #12723]
28289         * posix/Makefile (tests): Add tst-pathconf.
28290         * posix/tst-pathconf.c: New test case.
28291         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28292         _PC_PIPE_BUF.
28293         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28295 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28297         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28299 2013-03-06  Andreas Jaeger  <aj@suse.de>
28301         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28302         definition via __MAP_ANONYMOUS.
28304         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28305         it's not part of Linux headers.
28307         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28308         (MAP_HUGE_MASK): Define.
28310         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28311         Define.
28312         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28313         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28314         Define.
28315         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28316         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28317         Define.
28318         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28319         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28320         Define.
28321         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28323         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28324         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28325         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28326         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28327         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28328         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28330         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28331         Handle f2fs.
28333         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28334         Handle f2fs and efivarfs.
28336         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28337         f2fs.
28339         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28340         (EFIVARFS_MAGIC): Add.
28341         (F2FS_LINK_MAX): Add.
28343 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28345         * stdio-common/vfprintf.c: Replace __builtin_expect with
28346         __glibc_unlikely.
28348 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28350         [BZ #13550]
28351         * sysdeps/generic/bp-sym.h: Remove file.
28352         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28353         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28354         <bp-sym.h> and <bp-asm.h>.
28355         (__longjmp): Don't use BP_SYM.
28356         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28357         and <bp-asm.h>.
28358         (memcpy): Don't use BP_SYM.
28359         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28360         <bp-sym.h> and <bp-asm.h>.
28361         (memcpy): Don't use BP_SYM.
28362         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28363         <bp-asm.h>.
28364         (memcpy): Don't use BP_SYM.
28365         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28366         <bp-asm.h>.
28367         (memset): Don't use BP_SYM.
28368         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28369         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28370         (__bzero): Don't use BP_SYM.
28371         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28372         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28373         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28374         <bp-sym.h> and <bp-asm.h>.
28375         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28376         pointers.
28377         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28378         <bp-sym.h> and <bp-asm.h>.
28379         (memcpy): Don't use BP_SYM.
28380         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28381         <bp-sym.h> and <bp-asm.h>.
28382         (memset): Don't use BP_SYM.
28383         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28384         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28385         (__bzero): Don't use BP_SYM.
28386         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28387         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28388         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28389         <bp-sym.h> and <bp-asm.h>.
28390         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28391         pointers.
28392         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28393         <bp-sym.h> and <bp-asm.h>.
28394         (memcpy): Don't use BP_SYM.
28395         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28396         <bp-sym.h> and <bp-asm.h>.
28397         (memset): Don't use BP_SYM.
28398         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28399         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28400         (__bzero): Don't use BP_SYM.
28401         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28402         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28403         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28404         <bp-sym.h> and <bp-asm.h>.
28405         (__memchr): Don't use BP_SYM.
28406         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28407         <bp-sym.h> and <bp-asm.h>.
28408         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28409         pointers.
28410         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28411         <bp-sym.h> and <bp-asm.h>.
28412         (memcpy): Don't use BP_SYM.
28413         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28414         <bp-sym.h> and <bp-asm.h>.
28415         (__mempcpy): Don't use BP_SYM.
28416         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28417         <bp-sym.h> and <bp-asm.h>.
28418         (__memrchr): Don't use BP_SYM.
28419         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28420         <bp-sym.h> and <bp-asm.h>.
28421         (memset): Don't use BP_SYM.
28422         (__bzero): Likewise.
28423         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28424         <bp-sym.h> and <bp-asm.h>.
28425         (__rawmemchr): Don't use BP_SYM.
28426         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28427         <bp-sym.h> and <bp-asm.h>.
28428         (__STRCMP): Don't use BP_SYM.
28429         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28430         <bp-sym.h> and <bp-asm.h>.
28431         (strchr): Don't use BP_SYM.
28432         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28433         <bp-sym.h> and <bp-asm.h>.
28434         (__strchrnul): Don't use BP_SYM.
28435         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28436         <bp-sym.h> and <bp-asm.h>.
28437         (strlen): Don't use BP_SYM.
28438         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28439         <bp-sym.h> and <bp-asm.h>.
28440         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28441         pointers.
28442         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28443         <bp-sym.h> and <bp-asm.h>.
28444         (__strnlen): Don't use BP_SYM.
28445         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28446         <bp-sym.h> and <bp-asm.h>.
28447         (__GI__setjmp): Don't use BP_SYM.
28448         (_setjmp): Likewise.
28449         (__sigsetjmp): Likewise.
28450         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28451         (L(start_addresses)): Don't use BP_SYM.
28452         (_start): Likewise.
28453         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28454         <bp-asm.h>.
28455         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28456         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28457         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28458         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28459         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28460         <bp-asm.h>.
28461         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28462         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28463         about bounded pointers.
28464         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28465         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28466         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28467         <bp-asm.h>.
28468         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28469         about bounded pointers.  Remove GKM FIXME comments.
28470         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28471         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28472         <bp-asm.h>.
28473         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28474         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28475         Remove GKM FIXME comments.
28476         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28477         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28478         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28479         <bp-asm.h>.
28480         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28481         about bounded pointers.  Remove GKM FIXME comment.
28482         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28483         and <bp-asm.h>.
28484         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28485         pointers.
28486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28487         <bp-sym.h> and <bp-asm.h>.
28488         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28490         <bp-sym.h> and <bp-asm.h>.
28491         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28492         comment.
28494 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28496         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28497         call free(NULL).
28499 2013-03-05  David S. Miller  <davem@davemloft.net>
28501         * po/es.po: Update from translation team.
28503 2013-03-05  Andreas Jaeger  <aj@suse.de>
28505         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28506         <bits/mman-linux.h>.
28507         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28508         is fine.
28509         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28510         <bits/mman-linux.h> to end of file.
28511         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28512         is fine.
28513         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28514         <bits/mman-linux.h> to end of file.
28515         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28516         is fine.
28517         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28518         <bits/mman-linux.h> to end of file.
28520         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28521         (MCL_CURRENT, MCL_FUTURE): Define here.
28523 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28525         [BZ #15232]
28526         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28527         attribute_hidden.
28528         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28530 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28532         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28533         fourth parameter needed for rt_sigprocmask syscall.
28534         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28535         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28536         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28537         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28538         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28539         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28541 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28543         [BZ #13550]
28544         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28545         comment about bounded pointers.
28546         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28547         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28549 2013-03-04  Andreas Jaeger  <aj@suse.de>
28551         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28552         common definitions.
28554         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28555         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28556         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28557         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28558         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28559         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28561 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28563         [BZ #15055]
28564         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28565         __ieee754_sqrl instead of __sqrl.
28567 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28569         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28570         * sysdeps/powerpc/fpu_control.h: ... here.
28571         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28572         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28573         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28574         * sysdeps/powerpc/bits/mathinline.h: ... here.
28576 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28578         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28579         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28580         to just [NEED_DL_SYSINFO_DSO].
28581         * elf/dl-support.c: Likewise.
28582         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28583         * elf/rtld.c (dl_main): Likewise.
28584         * elf/setup-vdso.h (setup_vdso): Likewise.
28585         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28586         * sysdeps/unix/sysv/linux/dl-sysdep.c
28587         (_dl_discover_osversion): Likewise.
28589 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28591         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28592         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28594 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28596         * NEWS: Mention libm performance improvements and non-x86 PI
28597         futex support.
28599         * csu/libc-start.c (__pthread_initialize_minimal): Change
28600         function arguments.
28601         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28603 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #13550]
28606         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28607         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28608         <bp-sym.h> and <bp-asm.h>.
28609         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28610         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28611         and <bp-asm.h>.
28612         (memcpy): Don't use BP_SYM.
28613         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28614         <bp-asm.h>.
28615         (__mpn_add_n): Don't use BP_SYM.
28616         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28617         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28618         and <bp-asm.h>.
28619         (__mpn_addmul_1): Don't use BP_SYM.
28620         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28621         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28622         <bp-sym.h>.
28623         (_setjmp): Don't use BP_SYM.
28624         (__novmx_setjmp): Likewise.
28625         (__GI__setjmp): Likewise.
28626         (__vmx_setjmp): Likewise.
28627         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28628         <bp-sym.h>.
28629         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28630         (__bzero): Don't use BP_SYM.
28631         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28632         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28633         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28634         <bp-sym.h> and <bp-asm.h>.
28635         (memcpy): Don't use BP_SYM.
28636         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28637         <bp-sym.h> and <bp-asm.h>.
28638         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28639         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28640         <bp-sym.h> and <bp-asm.h>.
28641         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28642         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28643         <bp-asm.h>.
28644         (__mpn_lshift): Don't use BP_SYM.
28645         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28646         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28647         <bp-asm.h>.
28648         (memset): Don't use BP_SYM.
28649         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28650         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28651         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28652         <bp-asm.h>.
28653         (__mpn_mul_1): Don't use BP_SYM.
28654         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28655         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28656         <bp-sym.h> and <bp-asm.h>.
28657         (memcmp): Don't use BP_SYM.
28658         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28659         <bp-sym.h> and <bp-asm.h>.
28660         (memcpy): Don't use BP_SYM.
28661         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28662         <bp-sym.h> and <bp-asm.h>.
28663         (memset): Don't use BP_SYM.
28664         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28665         <bp-sym.h> and <bp-asm.h>.
28666         (strncmp): Don't use BP_SYM.
28667         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28668         <bp-sym.h> and <bp-asm.h>.
28669         (memcpy): Don't use BP_SYM.
28670         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28671         <bp-sym.h> and <bp-asm.h>.
28672         (memset): Don't use BP_SYM.
28673         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28674         <bp-sym.h> and <bp-asm.h>.
28675         (__memchr): Don't use BP_SYM.
28676         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28677         <bp-sym.h> and <bp-asm.h>.
28678         (memcmp): Don't use BP_SYM.
28679         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28680         <bp-sym.h> and <bp-asm.h>.
28681         (memcpy): Don't use BP_SYM.
28682         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28683         <bp-sym.h> and <bp-asm.h>.
28684         (__mempcpy): Don't use BP_SYM.
28685         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28686         <bp-sym.h> and <bp-asm.h>.
28687         (__memrchr): Don't use BP_SYM.
28688         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28689         <bp-sym.h> and <bp-asm.h>.
28690         (memset): Don't use BP_SYM.
28691         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28692         <bp-sym.h> and <bp-asm.h>.
28693         (__rawmemchr): Don't use BP_SYM.
28694         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28695         <bp-sym.h> and <bp-asm.h>.
28696         (__STRCMP): Don't use BP_SYM.
28697         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28698         <bp-sym.h> and <bp-asm.h>.
28699         (strchr): Don't use BP_SYM.
28700         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28701         <bp-sym.h> and <bp-asm.h>.
28702         (__strchrnul): Don't use BP_SYM.
28703         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28704         <bp-sym.h> and <bp-asm.h>.
28705         (strlen): Don't use BP_SYM.
28706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28707         <bp-sym.h> and <bp-asm.h>.
28708         (strncmp): Don't use BP_SYM.
28709         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28710         <bp-sym.h> and <bp-asm.h>.
28711         (__strnlen): Don't use BP_SYM.
28712         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28713         <bp-asm.h>.
28714         (__mpn_rshift): Don't use BP_SYM.
28715         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28716         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28717         <bp-sym.h> and <bp-asm.h>.
28718         (__sigsetjmp): Don't use BP_SYM.
28719         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28720         (L(start_addresses)): Don't use BP_SYM.
28721         (_start): Likewise.
28722         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28723         <bp-asm.h>.
28724         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28725         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28726         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28727         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28728         <bp-asm.h>.
28729         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28730         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28731         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28732         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28733         <bp-asm.h>.
28734         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28735         comments.
28736         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28737         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28738         <bp-asm.h>.
28739         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28740         FIXME comments.
28741         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28742         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28743         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28744         <bp-asm.h>.
28745         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28746         comment.
28747         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28748         and <bp-asm.h>.
28749         (strncmp): Don't use BP_SYM,
28750         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28751         <bp-asm.h>.
28752         (__mpn_sub_n): Don't use BP_SYM.
28753         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28754         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28755         and <bp-asm.h>.
28756         (__mpn_submul_1): Don't use BP_SYM.
28757         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28759         <bp-sym.h> and <bp-asm.h>.
28760         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28762         <bp-sym.h> and <bp-asm.h>.
28763         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28764         comment.
28766 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28769         Use ZK to minimize writes to Z.
28770         (sub_magnitudes): Simplify code a bit.
28771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28772         Use ZK to minimize writes to Z.
28773         (sub_magnitudes): Simplify code a bit.
28775 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28777         * csu/gmon-start.c: Add special exception to license text.
28779 2013-02-27  Richard Henderson  <rth@redhat.com>
28781         * scripts/config.guess: Update from config.git.
28782         * scripts/config.sub: Likewise.
28784 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28786         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28788         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28790         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28792         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28794         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28796 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28798         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28799         [$(build-shared = yes].
28801 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28803         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28804         (__mul): Reduce iterations for calculating mantissa.
28806         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28807         MPTWO.
28808         (__mpranred): Likewise.
28810         [BZ #15160]
28811         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28812         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28814 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28816         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28817         Define __attribute__.
28819 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28821         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28822         unused.
28823         * posix/regex_internal.h (__attribute): Remove.
28824         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28825         (re_string_context_at): Likewise.
28826         (bitset_not): Use __attribute__ and mark function as possibly
28827         unused.
28828         (bitset_merge): Likewise.
28829         (bitset_mask): Likewise.
28830         (re_string_char_size_at): Likewise.
28831         (re_string_wchar_at): Likewise.
28832         (re_string_elem_size_at): Likewise.
28834 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28837         code.
28838         (cc32): Likewise.
28840         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28841         (__acr): Likewise.
28842         (__cpy): Likewise.
28843         (norm): Likewise.
28844         (denorm): Likewise.
28845         (__dbl_mp): Likewise.
28846         (add_magnitudes): Likewise.
28847         (sub_magnitudes): Likewise.
28848         (__mul): Likewise.
28849         (__inv): Likewise.
28851         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28852         style.
28854         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28855         style.
28857         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28858         code.
28860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28861         up changes with default code.
28862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28863         Likewise.
28865 2013-02-24  Allan McRae  <allan@archlinux.org>
28867         * manual/socket.texi (The Internet Namespace): Order menu items
28868         to match that in the file.
28870         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28871         node listing of the info page menu.
28873 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28875         [BZ #13550]
28876         * sysdeps/i386/bp-asm.h: Remove file.
28877         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28878         (PARMS): Do not use macros from bp-asm.h.
28879         (S1): Likewise.
28880         (S2): Likewise.
28881         (SIZE): Likewise.
28882         (__mpn_add_n): Do not use BP_SYM
28883         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28884         "bp-asm.h".
28885         (PARMS): Do not use macros from bp-asm.h.
28886         (S1): Likewise.
28887         (SIZE): Likewise.
28888         (__mpn_addmul_1): Do not use BP_SYM
28889         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28890         "bp-asm.h".
28891         (PARMS): Do not use macros from bp-asm.h.
28892         (SIGMSK): Likewise.
28893         (_setjmp): Likewise.  Do not use BP_SYM.
28894         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28895         "bp-asm.h".
28896         (PARMS): Do not use macros from bp-asm.h.
28897         (SIGMSK): Likewise.
28898         (setjmp): Likewise.  Do not use BP_SYM.
28899         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28900         "bp-asm.h".
28901         (PARMS): Do not use macros from bp-asm.h.
28902         (__frexp): Do not use BP_SYM.
28903         (frexp): Likewise.
28904         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28905         "bp-asm.h".
28906         (PARMS): Do not use macros from bp-asm.h.
28907         (__frexpf): Do not use BP_SYM.
28908         (frexpf): Likewise.
28909         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28910         "bp-asm.h".
28911         (PARMS): Do not use macros from bp-asm.h.
28912         (__frexpl): Do not use BP_SYM.
28913         (frexpl): Likewise.
28914         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28915         "bp-asm.h".
28916         (PARMS): Do not use macros from bp-asm.h.
28917         (__remquo): Do not use BP_SYM.
28918         (remquo): Likewise.
28919         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28920         "bp-asm.h".
28921         (PARMS): Do not use macros from bp-asm.h.
28922         (__remquof): Do not use BP_SYM.
28923         (remquof): Likewise.
28924         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28925         "bp-asm.h".
28926         (PARMS): Do not use macros from bp-asm.h.
28927         (__remquol): Do not use BP_SYM.
28928         (remquol): Likewise.
28929         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28930         "bp-asm.h".
28931         (PARMS): Do not use macros from bp-asm.h.
28932         (DEST): Likewise.
28933         (SRC): Likewise.
28934         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28935         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28936         "bp-asm.h".
28937         (PARMS): Do not use macros from bp-asm.h.
28938         (strlen): Do not use BP_SYM.
28939         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28940         "bp-asm.h".
28941         (PARMS): Do not use macros from bp-asm.h.
28942         (S1): Likewise.
28943         (S2): Likewise.
28944         (SIZE): Likewise.
28945         (__mpn_add_n): Do not use BP_SYM.
28946         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28947         "bp-asm.h".
28948         (PARMS): Do not use macros from bp-asm.h.
28949         (S1): Likewise.
28950         (SIZE): Likewise.
28951         (__mpn_addmul_1): Do not use BP_SYM.
28952         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28953         weak_alias.
28954         (bzero): Likewise.
28955         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28956         "bp-asm.h".
28957         (PARMS): Do not use macros from bp-asm.h.
28958         (S): Likewise.
28959         (SIZE): Likewise.
28960         (__mpn_lshift): Do not use BP_SYM.
28961         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28962         "bp-asm.h".
28963         (PARMS): Do not use macros from bp-asm.h.
28964         (DEST): Likewise.
28965         (SRC): Likewise.
28966         (LEN): Likewise.
28967         (memcpy): Likewise.  Do not use BP_SYM.
28968         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28969         libc_hidden_def and weak_alias.
28970         (mempcpy): Do not use BP_SYM in weak_alias.
28971         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28972         "bp-asm.h".
28973         (PARMS): Do not use macros from bp-asm.h.
28974         (DEST): Likewise.
28975         (LEN): Likewise.
28976         [!BZERO_P] (CHR): Likewise.
28977         (memset): Likewise.  Do not use BP_SYM.
28978         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28979         "bp-asm.h".
28980         (PARMS): Do not use macros from bp-asm.h.
28981         (S1): Likewise.
28982         (SIZE): Likewise.
28983         (__mpn_mul_1): Do not use BP_SYM.
28984         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28985         "bp-asm.h".
28986         (PARMS): Do not use macros from bp-asm.h.
28987         (S): Likewise.
28988         (SIZE): Likewise.
28989         (__mpn_rshift): Do not use BP_SYM.
28990         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28991         "bp-asm.h".
28992         (PARMS): Do not use macros from bp-asm.h.
28993         (STR): Likewise.
28994         (CHR): Likewise.
28995         (strchr): Likewise.  Do not use BP_SYM.
28996         (index): Do not use BP_SYM in weak_alias.
28997         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28998         "bp-asm.h".
28999         (PARMS): Do not use macros from bp-asm.h.
29000         (DEST): Likewise.
29001         (SRC): Likewise.
29002         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
29003         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29004         "bp-asm.h".
29005         (PARMS): Do not use macros from bp-asm.h.
29006         (strlen): Do not use BP_SYM.
29007         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29008         "bp-asm.h".
29009         (PARMS): Do not use macros from bp-asm.h.
29010         (S1): Likewise.
29011         (S2): Likewise.
29012         (SIZE): Likewise.
29013         (__mpn_sub_n): Do not use BP_SYM.
29014         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29015         "bp-asm.h".
29016         (PARMS): Do not use macros from bp-asm.h.
29017         (S1): Likewise.
29018         (SIZE): Likewise.
29019         (__mpn_submul_1): Do not use BP_SYM.
29020         * sysdeps/i386/i686/add_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_add_n): Do not use BP_SYM.
29027         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29028         weak_alias.
29029         (bzero): Likewise.
29030         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29031         "bp-asm.h".
29032         (PARMS): Do not use macros from bp-asm.h.
29033         (BLK2): Likewise.
29034         (LEN): Likewise.
29035         (memcmp): Do not use BP_SYM.
29036         (bcmp): Do not use BP_SYM in weak_alias.
29037         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29038         "bp-asm.h".
29039         (PARMS): Do not use macros from bp-asm.h.
29040         (DEST): Likewise.
29041         (SRC): Likewise.
29042         (LEN): Likewise.
29043         (memcpy): Likewise.  Do not use BP_SYM.
29044         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29045         "bp-asm.h".
29046         (PARMS): Do not use macros from bp-asm.h.
29047         (DEST): Likewise.
29048         (SRC): Likewise.
29049         (LEN): Likewise.
29050         (memmove): Likewise.  Do not use BP_SYM.
29051         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29052         "bp-asm.h".
29053         (PARMS): Do not use macros from bp-asm.h.
29054         (DEST): Likewise.
29055         (SRC): Likewise.
29056         (LEN): Likewise.
29057         (__mempcpy): Likewise.  Do not use BP_SYM.
29058         (mempcpy): Do not use BP_SYM in weak_alias.
29059         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29060         "bp-asm.h".
29061         (PARMS): Do not use macros from bp-asm.h.
29062         (DEST): Likewise.
29063         (LEN): Likewise.
29064         [!BZERO_P] (CHR): Likewise.
29065         (memset): Likewise.  Do not use BP_SYM.
29066         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29067         "bp-asm.h".
29068         (PARMS): Do not use macros from bp-asm.h.
29069         (STR2): Likewise.
29070         (strcmp): Do not use BP_SYM.
29071         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29072         "bp-asm.h".
29073         (PARMS): Do not use macros from bp-asm.h.
29074         (STR): Likewise.
29075         (DELIM): Likewise.
29076         [USE_AS_STRTOK_R] (SAVE): Likewise.
29077         (FUNCTION): Likewise.  Do not use BP_SYM.
29078         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29079         aliases.
29080         (strtok_r): Likewise.
29081         (__GI___strtok_r): Likewise.
29082         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29083         (PARMS): Do not use macros from bp-asm.h.
29084         (S): Likewise.
29085         (SIZE): Likewise.
29086         (__mpn_lshift): Do not use BP_SYM.
29087         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29088         (PARMS): Do not use macros from bp-asm.h.
29089         (STR): Likewise.
29090         (CHR): Likewise.
29091         (__memchr): Do not use BP_SYM.
29092         (memchr): Do not use BP_SYM in weak_alias.
29093         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29094         (PARMS): Do not use macros from bp-asm.h.
29095         (BLK2): Likewise.
29096         (LEN): Likewise.
29097         (memcmp): Do not use BP_SYM.
29098         (bcmp): Do not use BP_SYM in weak_alias.
29099         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29100         (PARMS): Do not use macros from bp-asm.h.
29101         (S1): Likewise.
29102         (SIZE): Likewise.
29103         (__mpn_mul_1): Do not use BP_SYM.
29104         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29105         "bp-asm.h".
29106         (PARMS): Do not use macros from bp-asm.h.
29107         (STR): Likewise.
29108         (CHR): Likewise.
29109         (__rawmemchr): Do not use BP_SYM.
29110         (rawmemchr): Do not use BP_SYM in weak_alias.
29111         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29112         (PARMS): Do not use macros from bp-asm.h.
29113         (S): Likewise.
29114         (SIZE): Likewise.
29115         (__mpn_rshift): Do not use BP_SYM.
29116         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29117         (PARMS): Do not use macros from bp-asm.h.
29118         (SIGMSK): Likewise.
29119         (__sigsetjmp): Likewise.  Do not use BP_SYM.
29120         * sysdeps/i386/start.S: Do not include "bp-sym.h".
29121         (_start): Do not use BP_SYM.
29122         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29123         (PARMS): Do not use macros from bp-asm.h.
29124         (DEST): Likewise.
29125         (SRC): Likewise.
29126         (__stpcpy): Likewise.  Do not use BP_SYM.
29127         (stpcpy): Do not use BP_SYM in weak_alias.
29128         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29129         "bp-asm.h".
29130         (PARMS): Do not use macros from bp-asm.h.
29131         (DEST): Likewise.
29132         (SRC): Likewise.
29133         (LEN): Likewise.
29134         (__stpncpy): Likewise.  Do not use BP_SYM.
29135         (stpncpy): Do not use BP_SYM in weak_alias.
29136         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29137         (PARMS): Do not use macros from bp-asm.h.
29138         (STR): Likewise.
29139         (CHR): Likewise.
29140         (strchr): Likewise.  Do not use BP_SYM.
29141         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29142         "bp-asm.h".
29143         (PARMS): Do not use macros from bp-asm.h.
29144         (STR): Likewise.
29145         (CHR): Likewise.
29146         (__strchrnul): Likewise.  Do not use BP_SYM.
29147         (strchrnul): Do not use BP_SYM in weak_alias.
29148         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29149         "bp-asm.h".
29150         (PARMS): Do not use macros from bp-asm.h.
29151         (STOP): Likewise.
29152         (strcspn): Do not use BP_SYM.
29153         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29154         "bp-asm.h".
29155         (PARMS): Do not use macros from bp-asm.h.
29156         (STR): Likewise.
29157         (STOP): Likewise.
29158         (strpbrk): Likewise.  Do not use BP_SYM.
29159         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29160         "bp-asm.h".
29161         (PARMS): Do not use macros from bp-asm.h.
29162         (STR): Likewise.
29163         (CHR): Likewise.
29164         (strrchr): Likewise.  Do not use BP_SYM.
29165         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29166         (PARMS): Do not use macros from bp-asm.h.
29167         (SKIP): Likewise.
29168         (strspn): Do not use BP_SYM.
29169         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29170         (PARMS): Do not use macros from bp-asm.h.
29171         (STR): Likewise.
29172         (DELIM): Likewise.
29173         (SAVE): Likewise.
29174         (FUNCTION): Likewise.  Do not use BP_SYM.
29175         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29176         aliases.
29177         (strtok_r): Likewise.
29178         (__GI___strtok_r): Likewise.
29179         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29180         (PARMS): Do not use macros from bp-asm.h.
29181         (S1): Likewise.
29182         (S2): Likewise.
29183         (SIZE): Likewise.
29184         (__mpn_sub_n): Do not use BP_SYM.
29185         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29186         "bp-asm.h".
29187         (PARMS): Do not use macros from bp-asm.h.
29188         (S1): Likewise.
29189         (SIZE): Likewise.
29190         (__mpn_submul_1): Do not use BP_SYM.
29191         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29192         <bp-sym.h>.
29193         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29194         and <bp-asm.h>.
29195         (PARMS): Do not use macros from bp-asm.h.
29196         (FLAGS): Likewise.
29197         (PTID): Likewise.
29198         (TLS): Likewise.
29199         (CTID): Likewise.
29200         (__clone): Do not use BP_SYM.
29201         (clone): Do not use BP_SYM in weak_alias.
29202         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29203         and <bp-asm.h>.
29204         (PARMS): Do not use macros from bp-asm.h.
29205         (LEN): Likewise.
29206         (__mmap64): Do not use BP_SYM.
29207         (mmap64): Do not use BP_SYM in weak_alias.
29208         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29209         <bp-sym.h> and <bp-asm.h>.
29210         (PARMS): Do not use macros from bp-asm.h.
29211         (__posix_fadvise64_l64): Do not use BP_SYM.
29212         * sysdeps/unix/sysv/linux/i386/semtimedop.S
29213         (PARMS): Do not use macros from bp-asm.h.
29214         (NSOPS): Likewise.
29215         (semtimedop): Do not use BP_SYM.
29216         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29217         and <bp-asm.h>.
29219 2013-02-21  Allan McRae  <allan@archlinux.org>
29221         * manual/message.texi (Charset conversion in gettext):
29222         Move @end statement to beginning of line.
29224 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29227         static.
29228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29229         Likewise.
29231         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29232         (denorm): Likewise.
29233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29236 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29238         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29239         tail-call to the resolved function if pltexit isn't needed.
29241 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29243         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29244         or Y being zero as being unlikely.
29245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29246         Likewise.
29248 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
29250         * manual/nss.texi (System Databases and Name Service Switch):
29251         Remove frobnicate @pxref.
29253 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29255         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29256         __attribute__ ((unused)) to __attribute__ ((__unused__)).
29258 2013-02-20  Petr Machata  <pmachata@redhat.com>
29260         * elf/elf.h (R_ARM_TARGET1): New macro.
29261         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29262         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29263         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29264         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29265         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29266         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29267         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29268         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29269         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29270         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29271         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29272         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29273         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29274         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29275         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29276         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29277         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29278         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29279         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29280         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29281         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29282         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29283         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29284         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29285         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29286         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29287         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29288         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29289         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29290         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29291         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29292         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29293         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29294         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29295         (R_ARM_THM_GOT_BREL12): Likewise.
29296         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29297         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29298         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29299         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29300         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29301         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29302         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29303         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29304         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29306 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29308         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29309         __attribute_used__ to __attribute__ ((unused)).
29311 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29313         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29314         powerpc mpa.c.
29315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29316         comment formatting.
29317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29319 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29321         [BZ #13550]
29322         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29323         Remove macro.
29324         (ENTER): Remove both macro definitions.
29325         (LEAVE): Likewise.
29326         (CHECK_BOUNDS_LOW): Likewise.
29327         (CHECK_BOUNDS_HIGH): Likewise.
29328         (CHECK_BOUNDS_BOTH): Likewise.
29329         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29330         (RETURN_BOUNDED_POINTER): Likewise.
29331         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29332         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29333         (POP_ERRNO_LOCATION_RETURN): Likewise.
29334         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29335         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29336         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29337         macros.
29338         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29339         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29340         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29341         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29342         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29343         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29344         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29345         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29346         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29347         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29348         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29349         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29350         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29351         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29352         removed macros.
29353         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29354         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29355         macros.
29356         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29357         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29358         * sysdeps/i386/i586/memset.S (memset): Likewise.
29359         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29360         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29361         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29362         macros.
29363         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29364         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29365         Change uses of L(2) to L(out).
29366         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29367         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29368         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29369         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29370         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29371         removed macros.
29372         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29373         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29374         macros.
29375         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29376         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29377         (RETURN): Do not use macro LEAVE.
29378         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29379         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29380         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29381         * sysdeps/i386/i686/memset.S (memset): Likewise.
29382         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29383         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29384         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29385         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29386         Likewise.
29387         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29388         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29389         L(1_2) and L(1_3) into L(1).
29390         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29391         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29392         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29393         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29394         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29395         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29396         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29397         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29398         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29399         macros.
29400         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29401         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29402         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29403         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29404         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29405         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29406         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29407         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29408         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29409         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29410         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29411         * sysdeps/i386/strspn.S (strspn): Likewise.
29412         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29413         conditional code.
29414         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29415         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29416         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29417         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29418         L(1_3) into L(1_1).
29419         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29420         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29421         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29422         macros.
29423         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29425 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29427         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29428         macro.
29430 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29432         * math/atest-exp.c (exp_mpn): Remove ROUND.
29433         * math/atest-exp2.c (exp_mpn): Likewise.
29434         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29436         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29437         * stdlib/tst-tls-atexit-lib.c: Likewise.
29438         * stdlib/tst-tls-atexit.c: Likewise.
29440 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29442         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29443         and __attribute_alloc_size__.
29445 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29447         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29448         __attribute_alloc_size__.
29449         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29450         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29452 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29454         * include/programs/xmalloc.h: New file.
29455         * catgets/gencat.c: Include it.
29456         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29457         * elf/pldd.c: Likewise.
29458         * iconv/iconv_charmap.c: Likewise.
29459         * iconv/iconvconfig.c: Likewise.
29460         * iconv/strtab.c: Likewise.
29461         * locale/programs/locale.c: Likewise.
29462         * locale/programs/localedef.h: Likewise.
29463         * locale/programs/simple-hash.c: Likewise.
29464         * nscd/nscd.h: Likewise.
29465         * nss/makedb.c: Likewise.
29466         * sysdeps/generic/ldconfig.h: Likewise.
29468 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29470         * Versions.def: Add GLIBC_2.18.
29471         * include/link.h (struct link_map): New member l_tls_dtor_count.
29472         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29473         (__call_tls_dtors): Likewise.
29474         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29475         __cxa_thread_atexit_impl.
29476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29477         Likewise.
29478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29479         Likewise.
29480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29481         Likewise.
29482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29483         Likewise.
29484         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29485         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29486         Likewise.
29487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29488         Likewise.
29489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29491         Likewise.
29492         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29493         (tests): Add test case tst-tls-atexit.
29494         (modules-names): Add shared library for tst-tls-atexit.
29495         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29496         (GLIBC_PRIVATE): Add __call_tls_dtors.
29497         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29498         for libstdc++.
29499         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29500         * stdlib/tst-tls-atexit.c: New test case.
29501         * stdlib/tst-tls-atexit-lib.c: New test case.
29503         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29505         * elf/Versions (ld): Add _dl_find_dso_for_object.
29506         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29507         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29508         (dl_open_worker): Use _dl_find_dso_for_object.
29509         * elf/dl-sym.c (do_sym): Likewise.
29510         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29512 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29514         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29515         Syntactic changes only.
29516         (_dl_runtime_profile): Do a tail-call to the resolved function.
29518 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29520         [BZ #13550]
29521         * sysdeps/x86_64/bp-asm.h: Remove file.
29522         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29523         <bp-sym.h> and <bp-asm.h>.
29524         (__clone): Do not use BP_SYM.
29525         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29526         <bp-sym.h> and <bp-asm.h>.
29527         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29528         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29529         "bp-asm.h".
29530         (_setjmp): Do not use BP_SYM.
29531         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29532         "bp-asm.h".
29533         (setjmp): Do not use BP_SYM.
29534         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29535         libc_hidden_def.
29536         (mempcpy): Do not use BP_SYM in weak_alias.
29537         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29538         "bp-asm.h".
29539         (strchr): Do not use BP_SYM.
29540         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29541         "bp-asm.h".
29542         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29543         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29544         (_start): Do not use BP_SYM.
29545         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29546         "bp-asm.h".
29547         (strcat): Do not use BP_SYM.
29548         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29549         "bp-asm.h".
29550         (STRCMP): Do not use BP_SYM.
29551         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29552         "bp-asm.h".
29553         (STRCPY): Do not use BP_SYM.
29554         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29555         "bp-asm.h".
29556         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29557         "bp-asm.h".
29558         (FUNCTION): Do not use BP_SYM.
29559         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29560         weak_alias.
29561         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29563 2013-02-17  Andreas Jaeger  <aj@suse.de>
29565         * time/Versions: Sort entries.
29566         * string/Versions: Likewise.
29567         * resolv/Versions: Likewise.
29568         * posix/Versions: Likewise.
29569         * iconv/Versions: Likewise.
29570         * elf/Versions: Likewise.
29571         * wcsmbs/Versions: Likewise.
29573 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29575         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29576         loop termination condition.
29578         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29579         variable to calculate EZ.
29580         (__sqr): Likewise.
29582         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29583         the lower precision input.
29585 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29587         [BZ #13550]
29588         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29589         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29590         (run-via-rtld-prefix): Do not handle %-bp tests.
29591         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29592         (all-object-suffixes): Remove .ob.
29593         (bppfx): Remove variable.
29594         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29595         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29596         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29597         [$(build-bounded) = yes] (libtype.ob): Likewise.
29598         * Makerules (elide-routines.ob): Remove variable.
29599         (do-tests-clean): Do not handle *-bp.out.
29600         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29601         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29602         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29603         (tests): Do not include $(tests-bp.out).
29604         (xtests): Do not include $(xtests-bp.out).
29605         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29606         [$(build-bounded) = yes] ($(addprefix
29607         $(objpfx),$(binaries-bounded))): Remove rule.
29608         ($(objpfx)%-bp.out): Remove rule.
29609         * config.make.in (build-bounded): Remove variable.
29610         * crypt/Makefile [$(build-bounded) = yes]
29611         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29612         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29613         append to variable.
29614         [$(build-bounded) = yes] (install-lib): Likewise.
29615         [$(build-bounded) = yes] (generated): Likewise.
29616         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29617         Remove rule.
29618         * intl/Makefile [$(build-bounded) = yes]
29619         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29620         * math/Makefile [$(build-bounded) = yes]
29621         ($(tests:%=$(objpfx)%-bp): Likewise.
29622         * misc/Makefile [$(build-bounded) = yes]
29623         ($(objpfx)tst-tsearch-bp): Likewise.
29624         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29625         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29626         Remove dependency.
29627         * string/Makefile (o-objects.ob): Remove variable.
29628         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29629         (CFLAGS-.ob): Remove variable.
29630         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29631         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29632         both definitions of variable.
29633         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29634         (ASFLAGS-.ob): Remove variable.
29636 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29638         [BZ #13550]
29639         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29640         Remove __BOUNDED_POINTERS__ from condition.
29641         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29642         * string/bits/string2.h [!__NO_STRING_INLINES &&
29643         !__BOUNDED_POINTERS__]: Likewise.
29644         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29645         Likewise.
29646         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29647         Remove conditional code.
29648         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29649         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29650         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29651         condition.
29653         [BZ #13550]
29654         * csu/libc-start.c: Do not include <bp-sym.h>.
29655         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29656         * elf/dl-open.c: Do not include <bp-sym.h>.
29657         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29658         * math/fegetenv.c: Do not include <bp-sym.h>.
29659         (fegetenv): Do not use BP_SYM in versioned symbols.
29660         * nptl/sysdeps/pthread/bits/libc-lockP.h
29661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29662         <bp-sym.h>.
29663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29664         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29666         (__pthread_mutex_destroy): Likewise.
29667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29668         (__pthread_mutex_lock): Likewise.
29669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29670         (__pthread_mutex_trylock): Likewise.
29671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29672         (__pthread_mutex_unlock): Likewise.
29673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29674         (__pthread_mutexattr_init): Likewise.
29675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29676         (__pthread_mutexattr_destroy): Likewise.
29677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29678         (__pthread_mutexattr_settype): Likewise.
29679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29680         (__pthread_rwlock_init): Likewise.
29681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29682         (__pthread_rwlock_destroy): Likewise.
29683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29684         (__pthread_rwlock_rdlock): Likewise.
29685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29686         (__pthread_rwlock_tryrdlock): Likewise.
29687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29688         (__pthread_rwlock_wrlock): Likewise.
29689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29690         (__pthread_rwlock_trywrlock): Likewise.
29691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29692         (__pthread_rwlock_unlock): Likewise.
29693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29694         (__pthread_key_create): Likewise.
29695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29696         (__pthread_setspecific): Likewise.
29697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29698         (__pthread_getspecific): Likewise.
29699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29700         Likewise.
29701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29702         (_pthread_cleanup_push_defer): Likewise.
29703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29704         (_pthread_cleanup_pop_restore): Likewise.
29705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29706         (pthread_setcancelstate): Likewise.
29707         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29708         <bp-sym.h>.
29709         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29710         (memchr): Do not use BP_SYM in weak_alias.
29711         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29712         (fegetenv): Do not use BP_SYM in versioned symbols.
29713         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29714         (fesetenv): Do not use BP_SYM in versioned symbols.
29715         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29716         (feupdateenv): Do not use BP_SYM in versioned symbols.
29717         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29718         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29719         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29720         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29721         (open64): Do not use BP_SYM in weak_alias.
29722         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29723         (fegetenv): Do not use BP_SYM in versioned symbols.
29724         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29725         (fesetenv): Do not use BP_SYM in versioned symbols.
29726         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29727         (feupdateenv): Do not use BP_SYM in versioned symbols.
29728         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29729         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29730         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29731         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29732         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29733         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29734         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29735         <bp-sym.h>.
29736         (__libc_start_main): Do not use BP_SYM.
29738 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29741         redundant return line.
29742         (norm): Likewise.
29743         (denorm): Likewise.
29744         (dbl_mp): Likewise.
29745         (sub_magnitudes): Likewise.
29746         (__add): Likewise.
29747         (__sub): Likewise.
29748         (__mul): Likewise.
29749         (__inv): Likewise.
29750         (__dvd): Likewise.
29751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29752         (norm): Likewise.
29753         (denorm): Likewise.
29754         (dbl_mp): Likewise.
29755         (sub_magnitudes): Likewise.
29756         (__add): Likewise.
29757         (__sub): Likewise.
29758         (__mul): Likewise.
29759         (__inv): Likewise.
29760         (__dvd): Likewise.
29762         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29763         instead of __mul.
29764         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29765         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29766         (cc32): Likewise.
29768         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29769         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29770         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29771         of __mul for squares.
29772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29773         function
29774         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29775         Likewise.
29776         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29777         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29779 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29781         [BZ #13550]
29782         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29783         code.
29784         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29785         prototype or function definition.  Rename ubp_* variables and
29786         parameters.  Remove argv definitions conditional on
29787         [__BOUNDED_POINTERS__].
29788         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29789         * elf/dl-runtime.c (_dl_fixup): Likewise.
29790         * include/set-hooks.h (RUN_HOOK): Likewise.
29791         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29792         definition.
29793         * string/strcpy.c (strcpy): Do not use __unbounded.
29794         * sysdeps/generic/frame.h (struct layout): Likewise.
29795         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29796         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29797         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29798         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29799         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29800         (__backtrace): Likewise.
29801         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29802         use __ptrvalue.
29803         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29804         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29805         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29806         Likewise.
29807         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29808         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29809         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29810         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29811         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29812         Do not use __unbounded.
29813         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29814         Rename __unboundedrlimits parameter to rlimits in prototype.
29815         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29816         Do not use __unbounded.
29817         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29818         not use __ptrvalue.
29819         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29820         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29821         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29822         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29823         __ptrvalue or __unbounded.
29824         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29825         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29826         use __unbounded.
29827         (__new_msgctl): Do not use __ptrvalue.
29828         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29829         __unbounded.
29830         (__libc_msgrcv): Do not use __ptrvalue.
29831         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29832         startup_info): Do not use __unbounded.
29833         (__libc_start_main): Likewise.  Rename ubp_* variables and
29834         parameters.  Remove argv definitions conditional on
29835         [__BOUNDED_POINTERS__].
29836         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29837         __ptrvalue.
29838         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29839         use __unbounded.
29840         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29841         or __ptrvalue.
29842         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29843         use __unbounded.
29844         (__new_shmctl): Do not use __ptrvalue.
29845         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29846         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29847         Likewise.
29848         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29849         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29850         (__libc_sigaction): Likewise.
29851         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29852         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29853         Likewise.
29854         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29856 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29858         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29860         * string/mempcpy.c: Implement by calling memcpy.
29862 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29864         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29866         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29867         evaluation.
29869         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29870         values in the mantissa.
29872         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29873         minimize writes to Z.
29874         (sub_magnitudes): Simplify code a bit.
29876 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29878         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29879         from the message.  The linker prefixes all warnings with that already.
29881 2013-02-12  Andreas Schwab  <schwab@suse.de>
29883         [BZ #15078]
29884         * posix/regexec.c (extend_buffers): Add parameter min_len.
29885         (check_matching): Pass minimum needed length.
29886         (clean_state_log_if_needed): Likewise.
29887         (get_subexp): Likewise.
29888         * posix/Makefile (tests): Add bug-regex34.
29889         (bug-regex34-ENV): Define.
29890         * posix/bug-regex34.c: New file.
29892         [BZ #11561]
29893         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29894         elements compare against the byte sequence of it, not its name.
29895         * posix/Makefile (tests): Add bug-regex35.
29896         (bug-regex35-ENV): Define.
29897         * posix/bug-regex35.c: New file.
29899 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29901         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29902         comment.
29903         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29904         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29905         (CHECK_EOL): Add undef.
29907 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29909         * bits/stdlib-bsearch.h: New file.
29910         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29911         * stdlib/stdlib.h: Likewise.
29913 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29915         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29916         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29917         declaration.
29918         * manual/search.texi (Array Search Function): Add missing const in
29919         lfind prototype.
29920         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29921         declaration to use rlim_t.
29922         (Basic Scheduling Functions): Remove erroneous const from
29923         sched_getparam prototype.  Remove erroneous * from
29924         sched_get_priority_max and sched_get_priority_min prototypes.
29925         (Resource Usage): Fix summary @comment on vtimes to refer to
29926         sys/vtimes.h rather than vtimes.h.
29927         Add missing *s in vtimes prototype.
29928         (Limits on Resources): Fix ulimit prototype to return long int.
29929         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29930         prototypes to use long int rather than double.
29931         (BSD Random): Fix initstate and setstate to use char *, not void *.
29932         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29933         prototype to make second argument 'struct aiocb64 *const[]'.
29934         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29935         (Status of AIO Operations): Remove erroneous const in aio_return and
29936         aio_return64 prototypes.
29937         (Synchronizing I/O): Fix sync prototype to return void.
29938         * manual/startup.texi (Suboptions): Remove an erroneous const in
29939         getsubopt prototype.
29940         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29941         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29942         use size_t rather than int.
29943         (Scanning All Users): Likewise for getpwent_r.
29944         (Setting Groups): Add missing const to setgroups prototype.
29945         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29946         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29947         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29948         'const void *' rather than 'const char *'.
29949         (Host Address Functions): Likewise for inet_ntop.
29950         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29951         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29952         ssize_t for return value.
29953         (Sending Data): Likewise for send, sendto, sendmsg.
29954         (Socket Option Functions): Add a missing const in setsockopt prototype.
29955         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29956         use wchar_t for the argument.
29957         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29958         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29959         take no arguments.
29960         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29961         double/float/long double for second argument.
29962         Fix return types of significand, significandf, significandl.
29963         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29964         argument in fchmod prototype.
29965         (File Owner): Use uid_t and gid_t in fchown prototype.
29966         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29967         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29968         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29969         use 'const struct dirent **' as argument types to CMP function pointer
29970         argument.
29971         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29972         (File Times): Fix summary magic @comment for struct utimbuf and utime
29973         to refer to utime.h, not time.h.
29974         * manual/string.texi (Argz Functions): Add missing const in
29975         argz_extract and argz_next prototypes.
29976         (Finding Tokens in a String): Likewise for basename.
29977         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29978         (Copying and Concatenation): Fix typo in wmemmove prototype.
29979         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29980         (Signal Stack): Remove erroneous const in sigstack prototype.
29981         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29982         prototype.
29983         (Simple Calendar Time): Likewise for stime.
29984         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29985         prototype.
29986         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29987         say sys/sysctl.h instead.
29988         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29989         and vsyslog prototypes.
29991 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29993         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29994         Remove.
29996 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29998         * misc/sys/mman.h: Fix typo in mremap comment.
30000 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30002         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30003         the '\0' terminator.
30005 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30007         [BZ #13550]
30008         * debug/segfault.c: Don't include <bp-checks.h>.
30009         * sysdeps/generic/bp-checks.h: Remove file.
30010         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30011         (__GETDENTS): Don't use CHECK_N.
30012         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30013         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30014         (__getgroups): Don't use CHECK_N.
30015         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30016         (setgroups): Don't use CHECK_N.
30017         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30018         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30019         (__libc_msgrcv): Don't use CHECK_N.
30020         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30021         (__libc_msgsnd): Don't use CHECK_N.
30022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30023         <bp-checks.h>.
30024         (__libc_pread): Don't use CHECK_N.
30025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30026         include <bp-checks.h>.
30027         (__libc_pread64): Don't use CHECK_N.
30028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30029         include <bp-checks.h>.
30030         (__libc_pwrite): Don't use CHECK_N.
30031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30032         include <bp-checks.h>.
30033         (__libc_pwrite64): Don't use CHECK_N.
30034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30035         <bp-checks.h>.
30036         (__libc_pread): Don't use CHECK_N.
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30038         include <bp-checks.h>.
30039         (__libc_pread64): Don't use CHECK_N.
30040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30041         include <bp-checks.h>.
30042         (__libc_pwrite): Don't use CHECK_N.
30043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30044         include <bp-checks.h>.
30045         (__libc_pwrite64): Don't use CHECK_N.
30046         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30047         (do_pread): Don't use CHECK_N.
30048         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30049         (do_pread64): Don't use CHECK_N.
30050         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30051         (do_pwrite): Don't use CHECK_N.
30052         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30053         (do_pwrite64): Don't use CHECK_N.
30054         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30055         (__libc_readv): Don't use CHECK_N.
30056         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30057         (semop): Don't use CHECK_N.
30058         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30059         <bp-checks.h>.
30060         (semtimedop): Don't use CHECK_N.
30061         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30062         (__libc_pread): Don't use CHECK_N.
30063         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30064         <bp-checks.h>.
30065         (__libc_pread64): Don't use CHECK_N.
30066         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30067         <bp-checks.h>.
30068         (__libc_pwrite): Don't use CHECK_N.
30069         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30070         <bp-checks.h>.
30071         (__libc_pwrite64): Don't use CHECK_N.
30072         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30073         <bp-checks.h>.
30074         (__libc_msgrcv): Don't use CHECK_N.
30075         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30076         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
30077         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30078         (__libc_writev): Don't use CHECK_N.
30080 2013-02-08  Roland McGrath  <roland@hack.frob.com>
30082         * string/strcpy.c: Removed unused variable.
30084         * Makeconfig (+sysdep-includes): Define with := rather than =.
30085         Use an existing include/ subdir of each sysdeps dir before it.
30087 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30089         * nscd/connection.c (register_traced_file): Comment function.
30090         [HAVE_INOTIFY] (union __inev): Define.
30091         [HAVE_INOTIFY] (inotify_check_files): New function.
30092         [HAVE_INOTIFY] (clear_db_cache): Likewise.
30093         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30094         clear_db_cache.
30095         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30097 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30099         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30100         loaded if not already and that a failure is permanent.
30102 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
30104         [BZ #15006]
30105         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30106         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30108 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
30110         [BZ #13550]
30111         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30112         (CHECK_1_NULL_OK): Likewise.
30113         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30114         (__fxstat): Do not use CHECK_1.
30115         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30116         <bp-checks.h>.
30117         (___fxstat64): Do not use CHECK_1.
30118         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30119         <bp-checks.h>.
30120         (__fxstatat): Do not use CHECK_1.
30121         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30122         <bp-checks.h>.
30123         (__fxstatat64): Do not use CHECK_1.
30124         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30125         <bp-checks.h>.
30126         (__fxstat): Do not use CHECK_1.
30127         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30128         <bp-checks.h>.
30129         (__fxstatat): Do not use CHECK_1.
30130         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30131         <bp-checks.h>.
30132         (__getresgid): Do not use CHECK_1.
30133         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30134         <bp-checks.h>.
30135         (__getresuid): Do not use CHECK_1.
30136         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30137         <bp-checks.h>.
30138         (__lxstat): Do not use CHECK_1.
30139         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30140         <bp-checks.h>.
30141         (__old_msgctl): Do not use CHECK_1.
30142         (__new_msgctl): Likewise.
30143         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30144         <bp-checks.h>.
30145         (__new_setrlimit): Do not use CHECK_1.
30146         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30147         <bp-checks.h>.
30148         (__old_shmctl): Do not use CHECK_1.
30149         (__new_shmctl): Likewise.
30150         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30151         <bp-checks.h>.
30152         (__xstat): Do not use CHECK_1.
30153         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30154         (__lxstat): Do not use CHECK_1.
30155         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30156         <bp-checks.h>.
30157         (___lxstat64): Do not use CHECK_1.
30158         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30159         (__old_msgctl): Do not use CHECK_1.
30160         (__new_msgctl): Likewise.
30161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30162         <bp-checks.h>.
30163         (__gettimeofday): Do not use CHECK_1.
30164         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30165         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30166         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30167         <bp-checks.h>.
30168         (__gettimeofday): Do not use CHECK_1.
30169         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30170         (__old_shmctl): Do not use CHECK_1_NULL_OK.
30171         (__new_shmctl): Do not use CHECK_1.
30172         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30173         <bp-checks.h>.
30174         (do_sigtimedwait): Do not use CHECK_1.
30175         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30176         <bp-checks.h>.
30177         (do_sigwaitinfo): Do not use CHECK_1.
30178         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30179         <bp-checks.h>.
30180         (msgctl): Do not use CHECK_1.
30181         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30182         <bp-checks.h>.
30183         (shmctl): Do not use CHECK_1.
30184         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30185         (ustat): Do not use CHECK_1.
30186         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30187         <bp-checks.h>.
30188         (__fxstat): Do not use CHECK_1.
30189         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30190         <bp-checks.h>.
30191         (__fxstatat): Do not use CHECK_1.
30192         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30193         <bp-checks.h>.
30194         (__lxstat): Do not use CHECK_1.
30195         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30196         <bp-checks.h>.
30197         (__xstat): Do not use CHECK_1.
30198         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30199         (__xstat): Do not use CHECK_1.
30200         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30201         (___xstat64): Do not use CHECK_1.
30203         [BZ #13550]
30204         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30205         definitions.
30206         (CHECK_BOUNDS_HIGH): Likewise.
30207         * string/strcpy.c: Do not include <bp-checks.h>.
30208         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30210 2013-02-07  Roland McGrath  <roland@hack.frob.com>
30212         * nscd/nscd-client.h (__nscd_drop_map_ref):
30213         Add __attribute__ ((unused)).
30214         * nis/nss-nisplus.h (niserr2nss): Likewise.
30216         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30217         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30219         * csu/libc-tls.c (init_static_tls, init_slotinfo):
30220         Remove inline keyword.
30221         * include/rounding-mode.h (round_away): Likewise.
30222         * libio/wfileops.c (adjust_wide_data): Likewise.
30223         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30224         (__m128i_strloadu_tolower): Likewise.
30225         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30226         (__m128i_strloadu_tolower): Likewise.
30227         * time/mktime.c (ydhms_diff): Likewise.
30228         * locale/elem-hash.h (elem_hash): Likewise.
30229         * locale/setlocale.c (setdata): Likewise.
30230         * posix/regex_internal.h (re_string_char_size_at): Likewise.
30231         (re_string_wchar_at): Likewise.
30232         (bitset_not, bitset_merge, bitset_mask): Likewise.
30233         [!(__GNUC__ > 3)] (inline): Remove macro.
30234         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30235         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30236         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30237         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30238         * string/memcmp.c (memcmp_bytes): Likewise.
30239         * locale/programs/locarchive.c (compute_hashval): Likewise.
30240         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30241         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30242         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30243         * nss/getent.c (print_rpc, print_protocols): Likewise.
30244         (print_passwd, print_group, print_aliases): Likewise.
30245         * nis/nss-nisplus.h (niserr2nss): Likewise.
30246         * nscd/connections.c (restart_p): Likewise.
30247         Change return type to bool.
30249 2013-02-05  Roland McGrath  <roland@hack.frob.com>
30251         * Makeconfig (all-Depend-files): Add existing
30252         $(sorted-subdirs:=/Depend) files.
30253         (all-subdirs): Remove nss.
30254         * sysdeps/unix/inet/Subdirs: Add it here instead.
30255         * hesiod/Depend: New file.
30257         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30258         instead of calling alloca.
30260         * io/lseek.c (__lseek): Rename to __libc_lseek.
30261         Define __lseek as an alias.
30263         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30265 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
30267         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30268         else clause and remove check for non-standard endianness.
30270 2013-02-04  David S. Miller  <davem@davemloft.net>
30272         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30274 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
30276         [BZ #13550]
30277         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30278         (__ubp_memchr): Remove prototype.
30279         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30280         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30281         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30282         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30283         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30284         Remove alias.
30285         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30286         (__ubp_memchr): Likewise.
30287         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30288         (__ubp_memchr): Likewise.
30289         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30290         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30291         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30292         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30293         CHECK_STRING.
30294         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30295         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30296         (__getcwd): Do not use CHECK_STRING.
30297         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30298         <bp-checks.h>.
30299         (__real_chown): Do not use CHECK_STRING.
30300         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30301         <bp-checks.h>.
30302         (fchownat): Do not use CHECK_STRING.
30303         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30304         CHECK_STRING.
30305         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30306         <bp-checks.h>.
30307         (__lchown): Do not use CHECK_STRING.
30308         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30309         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30310         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30311         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30313         include <bp-checks.h>.
30314         (truncate64): Do not use CHECK_STRING.
30315         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30316         <bp-checks.h>.
30317         (__real_chown): Do not use CHECK_STRING.
30318         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30319         <bp-checks.h>.
30320         (__lchown): Do not use CHECK_STRING.
30321         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30322         <bp-checks.h>.
30323         (__chown): Do not use CHECK_STRING.
30324         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30325         <bp-checks.h>.
30326         (truncate64): Do not use CHECK_STRING.
30327         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30328         Likewise.
30329         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30330         (__xmknod): Do not use CHECK_STRING.
30331         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30332         <bp-checks.h>.
30333         (__xmknodat): Do not use CHECK_STRING.
30334         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30335         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30337 2013-02-04  Andreas Schwab  <schwab@suse.de>
30339         [BZ #14142]
30340         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30341         * include/netdb.h: Likewise for h_errno.
30342         * elf/tst-stackguard1.c: Include <tls.h>.
30344 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30346         * elf/link.h (struct link_map): Extend the l_addr comment.
30347         * include/link.h (struct link_map): Likewise.
30349 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30351         [BZ #13550]
30352         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30353         (BOUNDED_1): Remove macro.
30354         * debug/backtrace.c: Don't include <bp-checks.h>.
30355         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30356         (__backtrace): Likewise.
30357         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30358         <bp-checks.h>.
30359         (__backtrace): Don't use BOUNDED_1.
30360         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30361         <bp-checks.h>.
30362         (__backtrace): Don't use BOUNDED_1.
30363         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30364         (__backtrace): Don't use BOUNDED_1.
30365         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30366         (shmat): Don't use BOUNDED_N.
30368 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30370         [BZ #13550]
30371         * sysdeps/generic/bp-start.h: Remove file.
30372         * csu/libc-start.c: Don't include <bp-start.h>.
30373         (LIBC_START_MAIN): Set up __environ directly instead of using
30374         INIT_ARGV_and_ENVIRON.
30375         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30376         <bp-start.h>.
30378         [BZ #13550]
30379         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30380         definitions.
30381         (CHECK_FCNTL): Likewise.
30382         (CHECK_N_PAGES): Likewise.
30384         [BZ #13550]
30385         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30386         definitions.
30387         (CHECK_SIGSET_NULL_OK): Likewise.
30388         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30389         <bp-checks.h>.
30390         (sigpending): Don't use CHECK_SIGSET.
30391         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30392         <bp-checks.h>.
30393         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30394         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30395         <bp-checks.h>.
30396         (do_sigsuspend): Don't use CHECK_SIGSET.
30397         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30398         use CHECK_SIGSET.
30399         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30400         (do_sigwait): Don't use CHECK_SIGSET.
30401         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30402         use CHECK_SIGSET.
30403         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30404         include <bp-checks.h>.
30405         (sigpending): Don't use CHECK_SIGSET.
30406         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30407         include <bp-checks.h>.
30408         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30409         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30410         <bp-checks.h>.
30411         (sigpending): Don't use CHECK_SIGSET.
30412         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30413         <bp-checks.h>.
30414         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30416         [BZ #13550]
30417         * sysdeps/generic/bp-semctl.h: Remove file.
30418         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30419         <bp-checks.h> and <bp-semctl.h>.
30420         (__old_semctl): Don't use CHECK_SEMCTL.
30421         (__new_semctl): Likewise.
30422         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30423         and <bp-semctl.h>.
30424         (__old_semctl): Don't use CHECK_SEMCTL.
30425         (__new_semctl): Likewise.
30426         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30427         <bp-checks.h> and <bp-semctl.h>.
30428         (__old_semctl): Don't use CHECK_SEMCTL.
30429         (__new_semctl): Likewise.
30430         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30431         <bp-checks.h> and <bp-semctl.h>.
30432         (semctl): Don't use CHECK_SEMCTL.
30434         [BZ #13550]
30435         * Makerules (elide-bp-thunks): Remove variable.
30436         (elide-routines.oS): Don't use $(elide-bp-thunks).
30437         (elide-routines.os): Likewise.
30438         (elide-routines.o): Likewise.
30439         (elide-routines.op): Likewise.
30440         (elide-routines.og): Likewise.
30441         (objects): Don't use $(bp-thunks).
30442         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30443         include.
30444         (common-generated): Do not add s-proto-bp.d.
30445         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30446         (int): Likewise.
30447         (typ): Likewise.
30448         Do not generate makefile rules for bounded-pointer thunks.
30449         * sysdeps/generic/bp-thunks.h: Remove file.
30450         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30451         * sysdeps/unix/s-proto-bp.S: Likewise.
30453         [BZ #15062]
30454         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30455         parts of result separately when argument is not close to line from
30456         -i to i and one part of argument is small.
30457         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30458         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30459         * math/libm-test.inc (cacos_test): Add more tests.
30460         (casin_test): Likewise.
30461         (casinh_test): Likewise.
30462         * sysdeps/i386/fpu/libm-test-ulps: Update.
30463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30465 2013-01-31  David S. Miller  <davem@davemloft.net>
30467         * po/de.po: Update from translation team.
30469 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30471         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30473 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30475         * configure.in (_AC_PROG_CC_C89): New definition.
30476         * configure: Regenerate.
30478         * configure.in (AC_PROG_CPP): New definition.
30479         * configure: Regenerate.
30481 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30483         * debug/tst-backtrace.h: New file.
30484         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30485         (ret): Remove variable.
30486         (x): Likewise.
30487         (FAIL): Remove macro.
30488         (NO_INLINE): Likewise.
30489         (fn1): Use match function instead of strstr.
30490         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30491         (ret): Remove variable.
30492         (x): Likewise.
30493         (FAIL): Remove macro.
30494         (NO_INLINE): Likewise.
30495         (fn): Use match function instead of strstr.
30496         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30497         (ret): Remove variable.
30498         (x): Likewise.
30499         (FAIL): Remove macro.
30500         (NO_INLINE): Likewise.
30501         (handle_signal): Use match function instead of strstr.
30502         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30503         (ret): Remove variable.
30504         (x): Likewise.
30505         (FAIL): Remove macro.
30506         (NO_INLINE): Likewise.
30507         (handle_signal): Use match function instead of strstr.
30509 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30511         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30513 2013-01-23  David S. Miller  <davem@davemloft.net>
30515         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30516         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30517         argument of CAS if possible.
30518         * sysdeps/sparc/sparc64/bits/atomic.h
30519         (__arch_compare_and_exchange_val_32_acq): Likewise.
30520         (__arch_compare_and_exchange_val_64_acq): Likewise.
30522 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30524         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30525         * sysdeps/posix/ulimit.c: ... this.
30526         Include <limits.h>.
30527         * sysdeps/unix/bsd/ulimit.c: Remove file.
30529 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30531         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30532         (LDFLAGS-tst-array5): Likewise.
30534 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30536         [BZ #15036]
30537         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30538         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30539         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30540         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30542 2013-01-21  David S. Miller  <davem@davemloft.net>
30544         * sysdeps/sparc/backtrace.c: New file.
30545         * sysdeps/sparc/sparc32/backtrace.h: New file.
30546         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30547         * sysdeps/sparc/sparc64/backtrace.h: New file.
30548         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30549         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30550         -funwind-tables.
30552 2013-01-21  Andreas Schwab  <schwab@suse.de>
30554         [BZ #15020]
30555         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30556         closed its stdout.
30558 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30560         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30561         "mpa2.h".
30562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30564 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30565             Mark Mitchell  <mark@codesourcery.com>
30566             Tom de Vries  <tom@codesourcery.com>
30567             Paul Pluzhnikov  <ppluzhnikov@google.com>
30569         * debug/tst-backtrace2.c: New file.
30570         * debug/tst-backtrace3.c: Likewise.
30571         * debug/tst-backtrace4.c: Likewise.
30572         * debug/tst-backtrace5.c: Likewise.
30573         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30574         (CFLAGS-tst-backtrace3.c): Likewise.
30575         (CFLAGS-tst-backtrace4.c): Likewise.
30576         (CFLAGS-tst-backtrace5.c): Likewise.
30577         (LDFLAGS-tst-backtrace2): Likewise.
30578         (LDFLAGS-tst-backtrace3): Likewise.
30579         (LDFLAGS-tst-backtrace4): Likewise.
30580         (LDFLAGS-tst-backtrace5): Likewise.
30581         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30582         tst-backtrace4 and tst-backtrace5.
30584 2013-01-18  Anton Blanchard  <anton@samba.org>
30585             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30587         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30588         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30589         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30590         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30592         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30593         "+r" and remove output regs list as redundant.  Add explicit inline
30594         asm to specify register of return val to work around compiler codegen
30595         bug.  Remove (int) cast on return value.  Add return type parameter to
30596         use in macro so that this macro does not truncate return value for
30597         64-bit values.
30598         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30599         pass to INTERNAL_VSYSCALL_NCS.
30600         (INLINE_VSYSCALL): Add 'long int' as return type to
30601         INTERNAL_VSYSCALL_NCS macro invocation.
30602         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30603         INTERNAL_VSYSCALL_NCS macro invocation.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30606 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30608         [BZ #14496]
30609         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30610         Fix application of SIMD FP exception mask.
30612         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30613         mp_no from a power of two.
30614         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30615         __mpexp_twomm1.  Use __pow_mp.
30617         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30618         multiplication.
30620 2013-01-17  David S. Miller  <davem@davemloft.net>
30622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30624 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30626         [BZ #15023]
30627         * include/complex.h: Condition contents on [!_COMPLEX_H].
30628         (__kernel_casinhf): New prototype.
30629         (__kernel_casinh): Likewise.
30630         (__kernel_casinhl): Likewise.
30631         * math/Makefile (libm_calls): Add k_casinh.
30632         * math/k_casinh.c: New file.
30633         * math/k_casinhf.c: Likewise.
30634         * math/k_casinhl.c: Likewise.
30635         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30636         finite nonzero arguments.
30637         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30638         finite nonzero arguments.
30639         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30640         finite nonzero arguments.
30641         * math/s_casinh.c: Do not include <float.h>.
30642         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30643         * math/s_casinhf.c: Do not include <float.h>.
30644         (__casinhf): Move code for finite nonzero arguments to
30645         k_casinhf.c.
30646         * math/s_casinhl.c: Do not include <float.h>.
30647         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30648         redefine.
30649         (__casinhl): Move code for finite nonzero arguments to
30650         k_casinhl.c.
30651         * math/libm-test.inc (cacos_test): Add more tests.
30652         * sysdeps/i386/fpu/libm-test-ulps: Update.
30653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30655 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30657         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30658         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30659         [!HAVE_MREMAP]: Remove [defined linux] case.
30660         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30662 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30664         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30666 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30668         * elf/elf.h (R_386_SIZE32): New relocation.
30669         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30670         R_386_SIZE32.
30671         (elf_machine_rela): Likewise.
30672         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30673         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30675 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30677         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30678         (FP_FAST_FMA): Do not define.
30679         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30680         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30681         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30682         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30683         !_SOFT_FLOAT]: Likewise.
30684         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30685         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30686         value.
30687         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30688         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30689         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30690         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30691         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30692         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30693         file.
30695 2013-01-16  Andreas Schwab  <schwab@suse.de>
30697         [BZ #14327]
30698         * include/stdlib.h (__mktemp): Add declaration.
30699         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30700         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30702 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30704         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30705         definitions.
30706         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30707         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30708         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30709         definitions here.
30710         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30711         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30712         definitions.
30713         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30714         and ONE.
30715         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30716         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30717         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30718         definitions.
30719         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30720         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30721         definitions.
30722         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30724         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30726 2013-01-15  David S. Miller  <davem@davemloft.net>
30728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30729         trunc{,f} to libm-sysdep_routes.
30730         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30732         file.
30733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30735         file.
30736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30737         file.
30738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30740         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30741         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30742         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30743         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30744         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30745         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30748         nearbyint{,f} to libm-sysdep_routes.
30749         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30751         New file.
30752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30753         file.
30754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30755         New file.
30756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30757         file.
30758         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30760         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30761         file.
30762         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30763         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30764         file.
30765         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30766         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30767         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30769         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30770         libc_feholdexcept and libc_fesetenv.
30772 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30774         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30776 2013-01-14  David S. Miller  <davem@davemloft.net>
30778         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30779         (SPARC_ASM_VIS2_IFUNC): Likewise.
30780         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30782         use of 'siam' instruction.
30783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30784         Likewise.
30785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30786         Likewise.
30787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30788         Likewise.
30789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30794         file.
30795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30796         file.
30797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30798         file.
30799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30800         file.
30801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30803         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30806         new VIS2 routines.
30807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30810         Likewise.
30811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30813         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30816         routines to libm-sysdep_routines.
30817         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30820         fdim/fdimf to libm-sysdep_routines.
30821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30822         file.
30823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30825         file.
30826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30829         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30830         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30831         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30832         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30834 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30836         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30837         to optimize copies.
30839         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30841         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30844         local variable MPTWO.
30845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30846         Likewise.
30848 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30850         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30851         GLOB_NOESCAPE.
30853 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30855         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30857 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30859         * manual/pattern.texi (glob_t): Document gl_flags.
30860         (glob64_t): Likewise.
30862 2013-01-11  David S. Miller  <davem@davemloft.net>
30864         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30865         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30866         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30867         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30868         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30869         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30870         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30871         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30872         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30873         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30874         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30875         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30876         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30878         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30879         sparc V9 rather than using V8 code.
30880         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30881         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30883         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30884         Move to...
30885         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30886         Here.
30888 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30890         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30891         not in the main loop.
30892         * configure: Regenerated.
30894 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30896         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30897         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30898         to just #else.
30899         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30900         [!__GLIBC_HAVE_LONG_LONG] case.
30901         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30902         condition to just #else.
30903         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30904         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30905         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30906         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30907         unconditional.
30908         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30909         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30910         #elif condition to just #else.
30911         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30912         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30913         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30914         #elif condition to just #else.
30916 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30918         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30919         (EF_MIPS_ARCH_64): Fix value.
30920         (EF_MIPS_ARCH_32R2): New.
30921         (EF_MIPS_ARCH_64R2): New.
30923 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30925         * Makeconfig (+link-pie-before-libc): New.
30926         (+link-pie-after-libc): Likewise.
30927         (+link-pie-tests): Likewise.
30928         (+link-pie): Rewritten.
30929         (link-before-libc): Remove $(config-LDFLAGS).
30930         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30931         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30932         (config-LDFLAGS): Renamed to ...
30933         (rtld-LDFLAGS): This.
30934         (rtld-tests-LDFLAGS): New macro.
30935         (link-libc-rpath-link): Likewise.
30936         (link-libc-tests-rpath-link): Likewise.
30937         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30938         (link-libc): Prepand $(link-libc-rpath-link).
30939         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30940         (test-program-prefix): New macro.
30941         (test-via-rtld-prefix): Likewise.
30942         (test-program-cmd): Likewise.
30943         (host-test-program-cmd): Likewise.
30944         * Makefile ($(common-objpfx)testrun.sh): Replace
30945         $(run-program-prefix) with $(test-program-prefix).
30946         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30947         $(rtld-LDFLAGS).
30948         ($(common-objpfx)shlib.lds): Likewise.
30949         (build-module-helper): Likewise.
30950         ($(common-objpfx)format.lds): Likewise.
30951         * Rules (binaries-pie-tests): New.
30952         (binaries-pie-notests): Likewise.
30953         (binaries-pie): Rewritten.
30954         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30955         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30956         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30957         (make-test-out): Replace $(host-built-program-cmd) with
30958         $(host-test-program-cmd).
30959         * config.make.in (build-hardcoded-path-in-tests): New variable.
30960         * configure.in (--enable-hardcoded-path-in-tests): New configure
30961         option.
30962         (hardcoded_path_in_tests): New AC_SUBST.
30963         * configure: Regenerated.
30964         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30965         $(built-program-cmd) with $(test-program-cmd).
30966         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30967         (test_program_cmd): This.
30968         * elf/Makefile ($(objpfx)order.out): Run test with
30969         $(test-program-prefix).
30970         ($(objpfx)order2.out): Likewise.
30971         ($(objpfx)tst-initorder.out): Likewise.
30972         ($(objpfx)tst-initorder2.out): Likewise.
30973         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30974         $(test-program-cmd).
30975         ($(objpfx)tst-array1-static.out): Likewise.
30976         ($(objpfx)tst-array2.out): Likewise.
30977         ($(objpfx)tst-array3.out): Likewise.
30978         ($(objpfx)tst-array4.out): Likewise.
30979         ($(objpfx)tst-array5.out): Likewise.
30980         ($(objpfx)tst-array5-static.out): Likewise.
30981         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30982         $(test-program-cmd).
30983         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30984         $(run-program-prefix) with $(test-program-prefix).
30985         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30986         (test_program_prefix): This.
30987         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30988         $(run-program-prefix) with $(test-program-prefix).
30989         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30990         (test_program_prefix): This.
30991         * iconvdata/tst-tables.sh: Likewise.
30992         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30993         $(run-program-prefix) with $(test-program-prefix).
30994         ($(objpfx)tst-translit.out): Likewise.
30995         ($(objpfx)tst-gettext2.out): Likewise.
30996         ($(objpfx)tst-gettext4.out): Likewise.
30997         ($(objpfx)tst-gettext6.out): Likewise.
30998         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30999         (test_program_prefix): This.
31000         * intl/tst-gettext2.sh: Likewise.
31001         * intl/tst-gettext4.sh  Likewise.
31002         * intl/tst-gettext6.sh: Likewise.
31003         * intl/tst-translit.sh: Likewise.
31004         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31005         with $(test-program-cmd).
31006         * libio/Makefile ($(objpfx)test-freopen.out): Replace
31007         $(run-program-prefix) with $(test-program-prefix).
31008         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31009         (test_program_prefix): This.
31010         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31011         $(run-program-prefix) with $(test-program-prefix).
31012         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31013         (test_program_prefix): This.
31014         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31015         * posix/Makefile ($(objpfx)globtest.out): Replace
31016         $(run-via-rtld-prefix) and $(test-wrapper) with
31017         $(test-program-prefix) and $(test-via-rtld-prefix).
31018         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31019         $(test-program-prefix).
31020         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31021         $(host-test-program-cmd).
31022         (tst-spawn-ARGS): Likewise.
31023         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31024         $(test-program-prefix).
31025         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31026         (test_via_rtld_prefix): This.
31027         (test_wrapper): Renamed to ...
31028         (test_program_prefix): This.
31029         (run_program_prefix): Replaced by test_program_prefix.
31030         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31031         (test_program_prefix): This.
31032         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31033         with $(host-test-program-cmd).
31034         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31035         $(run-program-prefix) with $(test-program-prefix).
31036         ($(objpfx)tst-printf.out): Likewise.
31037         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31038         $(test-program-cmd).
31039         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31040         (test_program_prefix): This.
31041         * stdio-common/tst-unbputc.sh: Likewise.
31042         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31043         $(run-program-prefix) with $(test-program-prefix).
31044         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31045         (test_program_prefix): This.
31046         * string/Makefile ($(objpfx)tst-svc.out):  Replace
31047         $(built-program-cmd) with $(test-program-cmd).
31049 2013-01-11  Andreas Jaeger  <aj@suse.de>
31051         [BZ #15003]
31052         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31053         value. Sync with Linux 3.7.
31055 2013-01-10  David S. Miller  <davem@davemloft.net>
31057         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31058         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31059         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31061 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31063         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31064         never set.
31065         * configure: Regenerated.
31067 2013-01-10  David S. Miller  <davem@davemloft.net>
31069         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31070         sparc V9 rather than using V8 code.
31071         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31072         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31074 2013-01-10  Roland McGrath  <roland@hack.frob.com>
31076         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31077         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31078         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31079         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31080         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31081         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31082         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31083         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31084         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31085         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31086         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31087         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31088         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31089         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31090         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31091         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31092         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31093         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31094         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31095         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31096         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31097         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31098         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31099         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31100         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31101         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31102         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31104 2013-01-10  David S. Miller  <davem@davemloft.net>
31106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31108 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31110         * posix/Makefile (tests-static): New variable.
31111         (tests): Add $(tests-static).
31112         (tst-exec-static-ARGS): New variable.
31113         (tst-spawn-static-ARGS): Likewise.
31114         * posix/tst-exec-static.c: New file.
31115         * posix/tst-spawn-static.c: Likewise.
31116         * posix/tst-exec.c: Support run directly.
31117         * posix/tst-spawn.c: Likewise.
31119 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
31121         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31122         long.
31123         * math/bits/mathcalls.h (llrint): Likewise.
31124         (llround): Likewise.
31125         * stdlib/stdlib.h (struct drand48_data): Likewise.
31126         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31127         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31128         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31129         Likewise.
31130         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31131         Likewise.
31132         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31133         (elf_greg_t): Likewise.
31134         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31135         (__jmp_buf): Likewise.
31136         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31137         definitions.
31138         (llrint): Likewise, for all definitions.
31139         (llrintl): Likewise.
31141         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31142         Remove [__GNUC__] condition.
31143         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31144         condition to just [__USE_ISOC99].
31145         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31147 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
31149         [BZ #14200]
31150         * sysdeps/unix/sysv/linux/x86/bits/environments.h
31151         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31152         defined.
31153         (_POSIX_V6_ILP32_OFF32): Likewise.
31154         (_XBS5_ILP32_OFF32): Likewise.
31155         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31156         (__ILP32_OFFBIG_LDFLAGS): Likewise.
31158 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31160         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31162         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31163         doubles __mpexp_twomm1.  Adjust usage.
31164         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31165         Remove.
31167 2013-01-10  Andreas Schwab  <schwab@suse.de>
31169         [BZ #14964]
31170         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31171         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31173 2013-01-09  David S. Miller  <davem@davemloft.net>
31175         [BZ #15003]
31176         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31177         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31178         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31179         (TCP_FASTOPEN): Define.
31180         (tcp_repair_opt): New structure.
31181         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31182         enum values.
31183         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31184         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31185         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31186         (tcp_cookie_transactions): New structure.
31188 2013-01-09  Anton Blanchard  <anton@samba.org>
31190         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31191         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31192         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31193         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31195 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
31197         * include/features.h (__USE_ANSI): Remove.
31199 2013-01-09  Roland McGrath  <roland@hack.frob.com>
31201         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31203         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31205 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31207         * sysdeps/s390/fpu/libm-test-ulps: Update.
31209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31211         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31212         (__acr): Likewise.
31213         (__cpy): Likewise.
31214         (norm): Likewise.
31215         (denorm): Likewise.
31216         (__mp_dbl): Likewise.
31217         (__dbl_mp): Likewise.
31218         (add_magnitudes): Likewise.
31219         (sub_magnitudes): Likewise.
31220         (__add): Likewise.
31221         (__sub): Likewise.
31222         (__mul): Likewise.
31223         (__inv): Likewise.
31224         (__dvd): Likewise.
31225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31226         (__acr): Likewise.
31227         (__cpy): Likewise.
31228         (norm): Likewise.
31229         (denorm): Likewise.
31230         (__mp_dbl): Likewise.
31231         (__dbl_mp): Likewise.
31232         (add_magnitudes): Likewise.
31233         (sub_magnitudes): Likewise.
31234         (__add): Likewise.
31235         (__sub): Likewise.
31236         (__mul): Likewise.
31237         (__inv): Likewise.
31238         (__dvd): Likewise.
31239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31240         (__acr): Likewise.
31241         (__cpy): Likewise.
31242         (norm): Likewise.
31243         (denorm): Likewise.
31244         (__mp_dbl): Likewise.
31245         (__dbl_mp): Likewise.
31246         (add_magnitudes): Likewise.
31247         (sub_magnitudes): Likewise.
31248         (__add): Likewise.
31249         (__sub): Likewise.
31250         (__mul): Likewise.
31251         (__inv): Likewise.
31252         (__dvd): Likewise.
31254 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
31256         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31257         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31258         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31259         2 && __USE_EXTERN_INLINES]: Likewise.
31261 2013-01-08  Andreas Jaeger  <aj@suse.de>
31263         [BZ# 14985]
31264         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31265         Remove.
31266         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31267         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31269 2013-01-07  Anton Blanchard  <anton@samba.org>
31271         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31272         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31273         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31274         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31275         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31276         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31277         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31278         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31280         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31281         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31282         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31283         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31284         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31285         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31286         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31287         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31288         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31289         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31290         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31291         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31292         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31293         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31294         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31295         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31296         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31297         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31298         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31299         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31300         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31301         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31303         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31304         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31305         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31306         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31307         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31308         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31309         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31310         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31311         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31313         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31315 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31317         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31318         (__MALLOC_PMT): Likewise.
31319         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31320         [__GNUC__], only on [_LIBC].
31321         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31322         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31323         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31324         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31325         forward declaration.
31326         (realloc_hook_ini): Likewise.
31327         (memalign_hook_ini): Likewise.
31328         (__libc_memalign): Do not use __MALLOC_PMT in variable
31329         declaration.
31330         (__libc_valloc): Likewise.
31331         (__libc_pvalloc): Likewise.
31332         (__libc_calloc): Likewise.
31333         (__posix_memalign): Likewise.
31335         [BZ #14996]
31336         * math/s_casinh.c: Include <float.h>.
31337         (__casinh): Do not do computation with squaring and square root
31338         for large arguments.
31339         * math/s_casinhf.c: Include <float.h>.
31340         (__casinhf): Do not do computation with squaring and square root
31341         for large arguments.
31342         * math/s_casinhl.c: Include <float.h>.
31343         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31344         (__casinhl): Do not do computation with squaring and square root
31345         for large arguments.
31346         * math/libm-test.inc (casin_test): Add more tests.
31347         (casinh_test): Likewise.
31348         * sysdeps/i386/fpu/libm-test-ulps: Update.
31349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31351 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31353         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31354         (__x86_64_raw_data_cache_size): Likewise.
31355         (__x86_64_data_cache_size_half): Likewise.
31356         (__x86_64_raw_data_cache_size_half): Likewise.
31357         (__x86_64_shared_cache_size): Likewise.
31358         (__x86_64_raw_shared_cache_size): Likewise.
31359         (__x86_64_shared_cache_size_half): Likewise.
31360         (__x86_64_raw_shared_cache_size_half): Likewise.
31361         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31362         to ...
31363         (__x86_data_cache_size): This.
31364         (__x86_64_raw_data_cache_size): Renamed to ...
31365         (__x86_raw_data_cache_size): This.
31366         (__x86_64_data_cache_size_half): Renamed to ...
31367         (__x86_data_cache_size_half): This.
31368         (__x86_64_raw_data_cache_size_half): Renamed to ...
31369         (__x86_raw_data_cache_size_half): This.
31370         (__x86_64_shared_cache_size): Renamed to ...
31371         (__x86_shared_cache_size): This.
31372         (__x86_64_raw_shared_cache_size): Renamed to ...
31373         (__x86_raw_shared_cache_size): This.
31374         (__x86_64_shared_cache_size_half): Renamed to ...
31375         (__x86_shared_cache_size_half): This.
31376         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31377         (__x86_raw_shared_cache_size_half): This.
31378         * sysdeps/x86_64/memcpy.S: Updated.
31379         * sysdeps/x86_64/memset.S: Likewise.
31380         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31381         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31382         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31384 2013-01-04  David S. Miller  <davem@davemloft.net>
31386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31388 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31390         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31391         1 to avoid redefinition warning.
31392         (__USE_GNU): Don't define.
31393         (init_signaling_nan): Protoize.
31395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31397 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31399         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31401         (__cpymn): Likewise.
31402         (norm): Remove commented code.
31403         (denorm): Likewise.
31404         (__mp_dbl): Likewise.
31405         (__inv): Likewise.
31406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31407         (__cpymn): Likewise.
31408         (norm): Remove commented code.
31409         (denorm): Likewise.
31410         (__mp_dbl): Likewise.
31411         (__inv): Likewise.
31413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31414         mp_no value for 1.0 and 2.0.
31415         (norm): Use RADIXI instead of radixi.d.
31416         (denorm): Likewise.
31417         (__mul): Use 0.0 instead of zero.d.
31418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31419         mp_no value for 1.0 and 2.0.
31420         (norm): Use RADIXI instead of radixi.d.
31421         (denorm): Likewise.
31422         (__mul): Use 0.0 instead of zero.d.
31424 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31426         [BZ #14994]
31427         * math/s_casinh.c (__casinh): Reduce finite argument to first
31428         quadrant then set signs of results at the end.
31429         * math/s_casinhf.c (__casinhf): Likewise.
31430         * math/s_casinhl.c (__casinhl): Likewise.
31431         * math/libm-test.inc (casin_test): Add more tests.
31432         (casinh_test): Likewise.
31433         * sysdeps/i386/fpu/libm-test-ulps: Update.
31434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31436 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31438         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31440         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31442         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31443         declarations.
31444         (denorm): Likewise.
31445         (__mp_dbl): Likewise.
31446         (__inv): Likewise.
31448         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31449         and adjust the header comment.
31451         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31452         variable name from declaration.
31454 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31456         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31457         Initialize COMMON_CPUID_INDEX_7 element.
31458         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31459         (CPUID_RTM): Likewise.
31460         (HAS_RTM): Likewise.
31461         (COMMON_CPUID_INDEX_7): New enum.
31463 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31465         [BZ #14981]
31466         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31467         size is zero, record memory as freed.
31469 2013-01-03  Andreas Jaeger  <aj@suse.de>
31471         * po/ia.po: Add new Interlingua translation.
31473 2012-01-03  Allan McRae  <allan@archlinux.org>
31475         * locale/programs/localedef.c: Fix description of '--posix' flag.
31477 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31479         * NEWS: Update dates in second copyright notice.
31480         * README: Update copyright dates in example.
31481         * manual/libc.texinfo: Update copyright dates.
31482         * scripts/test-installation.pl: Update copyright date in --version
31483         output.
31485         * hurd/ctty-input.c: Fix copyright notice formatting.
31486         * hurd/ctty-output.c: Likewise.
31487         * hurd/dtable.c: Likewise.
31488         * hurd/hurd-raise.c: Likewise.
31489         * hurd/hurdprio.c: Likewise.
31490         * hurd/msgportdemux.c: Likewise.
31491         * misc/sys/file.h: Likewise.
31492         * misc/sys/ioctl.h: Likewise.
31493         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31494         * sysdeps/mach/hurd/chdir.c: Likewise.
31495         * sysdeps/mach/hurd/fchdir.c: Likewise.
31496         * sysdeps/mach/hurd/rename.c: Likewise.
31497         * sysdeps/mach/hurd/rmdir.c: Likewise.
31498         * sysdeps/mach/hurd/seekdir.c: Likewise.
31499         * sysdeps/mach/hurd/setsid.c: Likewise.
31500         * sysdeps/posix/wait3.c: Likewise.
31502         * All files with FSF copyright notices: Update copyright dates
31503         using scripts/update-copyrights.
31504         * intl/plural.c: Regenerated.
31505         * locale/programs/charmap-kw.h: Likewise.
31506         * locale/programs/locfile-kw.h: Likewise.
31508 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31510         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31511         four values.
31513         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31514         calculation loop and add branch prediction.
31516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31517         check access beyond bounds of m1np.
31519         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31520         MPTWO.
31521         (__inv): Remove local variable MPTWO to use the global
31522         constant.
31523         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31524         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31525         variable MPTWO.
31526         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31527         MP3HALFS static const.
31529 2013-01-01  David S. Miller  <davem@davemloft.net>
31531         * po/ca.po: Update from translation team.
31533 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31535         * scripts/update-copyrights: New file.
31536         * Makeconfig: Reformat copyright notice.
31537         * ctype/ctype.h: Likewise.
31538         * debug/swprintf_chk.c: Likewise.
31539         * elf/dl-cache.c: Likewise.
31540         * elf/dl-debug.c: Likewise.
31541         * elf/dl-object.c: Likewise.
31542         * grp/initgroups.c: Likewise.
31543         * hurd/Makefile: Likewise.
31544         * hurd/hurd/signal.h: Likewise.
31545         * hurd/hurdfault.c: Likewise.
31546         * hurd/hurdioctl.c: Likewise.
31547         * hurd/hurdlookup.c: Likewise.
31548         * hurd/intr-msg.c: Likewise.
31549         * iconv/gconv_open.c: Likewise.
31550         * libio/swprintf.c: Likewise.
31551         * locale/lc-ctype.c: Likewise.
31552         * locale/nl_langinfo.c: Likewise.
31553         * mach/Machrules: Likewise.
31554         * mach/Makefile: Likewise.
31555         * malloc/obstack.h: Likewise.
31556         * manual/Makefile: Likewise.
31557         * manual/tsort.awk: Likewise.
31558         * misc/bits/stab.def: Likewise.
31559         * nis/nis_print_group_entry.c: Likewise.
31560         * nis/nis_table.c: Likewise.
31561         * nis/nss_compat/compat-pwd.c: Likewise.
31562         * nis/nss_compat/compat-spwd.c: Likewise.
31563         * po/Makefile: Likewise.
31564         * posix/fnmatch.c: Likewise.
31565         * posix/regex.h: Likewise.
31566         * resolv/Makefile: Likewise.
31567         * resolv/nss_dns/dns-network.c: Likewise.
31568         * resolv/res_hconf.c: Likewise.
31569         * scripts/gen-sorted.awk: Likewise.
31570         * soft-fp/soft-fp.h: Likewise.
31571         * stdio-common/printf.h: Likewise.
31572         * stdlib/monetary.h: Likewise.
31573         * stdlib/random.c: Likewise.
31574         * stdlib/random_r.c: Likewise.
31575         * sysdeps/generic/Makefile: Likewise.
31576         * sysdeps/gnu/Makefile: Likewise.
31577         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31578         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31579         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31581         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31583         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31584         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31585         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31586         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31587         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31588         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31589         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31590         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31591         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31592         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31593         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31594         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31595         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31596         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31597         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31598         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31599         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31600         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31601         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31602         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31603         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31604         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31605         * sysdeps/mach/hurd/errnos.awk: Likewise.
31606         * sysdeps/mach/hurd/fork.c: Likewise.
31607         * sysdeps/mach/hurd/getcwd.c: Likewise.
31608         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31609         * sysdeps/mach/hurd/mmap.c: Likewise.
31610         * sysdeps/mach/hurd/utimes.c: Likewise.
31611         * sysdeps/mach/hurd/xmknod.c: Likewise.
31612         * sysdeps/posix/profil.c: Likewise.
31613         * sysdeps/posix/readdir_r.c: Likewise.
31614         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31615         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31616         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31617         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31618         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31619         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31620         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31621         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31622         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31623         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31624         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31625         * sysdeps/pthread/lio_listio.c: Likewise.
31626         * sysdeps/sparc/dl-procinfo.h: Likewise.
31627         * sysdeps/unix/i386/sysdep.S: Likewise.
31628         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31629         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31630         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31631         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31633         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31634         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31635         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31636         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31637         * sysdeps/wordsize-32/divdi3.c: Likewise.
31638         * time/sys/time.h: Likewise.
31639         * wcsmbs/Makefile: Likewise.
31641 2013-01-01  David S. Miller  <davem@davemloft.net>
31643         * po/fr.po: Update from translation team.
31645         * catgets/gencat.c: Update copyright year.
31646         * csu/version.c: Likewise.
31647         * debug/catchsegv.sh: Likewise.
31648         * debug/pcprofiledump.c: Likewise.
31649         * debug/xtrace.sh: Likewise.
31650         * elf/ldconfig.c: Likewise.
31651         * elf/ldd.bash.in: Likewise.
31652         * elf/pldd.c: Likewise.
31653         * elf/sotruss.ksh: Likewise.
31654         * elf/sprof.c: Likewise.
31655         * iconv/iconv_prog.c: Likewise.
31656         * iconv/iconvconfig.c: Likewise.
31657         * locale/programs/locale.c: Likewise.
31658         * locale/programs/localedef.c: Likewise.
31659         * login/programs/pt_chown.c: Likewise.
31660         * malloc/memusage.sh: Likewise.
31661         * malloc/memusagestat.c: Likewise.
31662         * malloc/mtrace.pl: Likewise.
31663         * nscd/nscd.c: Likewise.
31664         * nss/getent.c: Likewise.
31665         * nss/makedb.c: Likewise.
31666         * posix/getconf.c: Likewise.
31668 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31670         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31671         numbers.
31673 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31675         * math/bits/mathcalls.h (modf): Use __nonnull.
31677 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31679         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31680         (split): Use macro CN instead of the bare value.
31681         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31682         could be used.
31683         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31684         instead of the bare value.
31685         (power1): Likewise.
31687 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31690         __ATAN_TWOM.
31691         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31693         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31694         their values.
31695         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31696         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31697         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31698         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31700 2012-12-28  Andreas Jaeger  <aj@suse.de>
31702         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31703         values are from Linux 3.7.
31705         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31706         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31708 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31710         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31711         TRUE case.
31713         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31714         (norm): Likewise.
31715         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31716         variables with preprocessor constants.
31717         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31718         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31719         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31721 2012-12-27  Bruno Haible  <bruno@clisp.org>
31723         [BZ #14317]
31724         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31725         only if needed.
31727 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31730         and use variable directly.
31731         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31733         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31734         MPONE.
31735         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31736         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31737         variable MPONE.
31738         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31740         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31741         include directive.  Remove local variable MPONE.
31742         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31743         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31744         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31746 2012-12-25  David S. Miller  <davem@davemloft.net>
31748         * version.h (RELEASE): Set to "development".
31749         (VERSION): Set to "2.17.90".
31750         * NEWS: Add 2.18 section.
31752 2012-12-21  David S. Miller  <davem@davemloft.net>
31754         * po/hr.po: Update from translation team.
31756 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31758         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31760 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31762         * NEWS:  Mention new memcpy for MIPS.
31764 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31766         * manual/contrib.texi (Contributors): Spelling correction.
31768 2012-12-15  David S. Miller  <davem@davemloft.net>
31770         * po/ru.po: Update from translation team.
31772 2012-12-13  David S. Miller  <davem@davemloft.net>
31774         * NEWS: Mention IFUNC testsuite enhancements.
31776         * po/pl.po: Update from translation team.
31777         * po/bg.po: Likewise.
31779         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31780         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31782 2012-12-11  David S. Miller  <davem@davemloft.net>
31784         * po/sv.po: Update from translation team.
31786         * po/vi.po: Update from translation team.
31788         * po/cs.po: Update from translation team.
31790         * po/de.po: Update from translation team.
31791         * po/eo.po: Likewise.
31792         * po/nl.po: Likewise.
31794 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31796         [BZ #14246]
31797         * manual/argp.texi (Argp Helper Functions): Move node to follow
31798         Argp Parsing State.
31800         [BZ #14872]
31801         * manual/conf.texi (Limits on File System Capacity): Mention if
31802         terminating null is included in the max size.
31804 2012-12-10  Andreas Jaeger  <aj@suse.de>
31806         * po/cs.po: Update from translation team.
31808 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31810         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31811         void pointer and cast to uintptr_t.
31812         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31813         path.
31814         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31815         * sysdeps/s390/s390-64/memset.S: Likewise.
31817 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31819         [BZ #14833]
31820         * menual/message.texi (Message Translation): Fix typos.
31821         (Helper programs for gettext): Likewise.
31823 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31825         [BZ #14898]
31826         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31827         Change to -1.
31829 2012-12-07  David S. Miller  <davem@davemloft.net>
31831         * po/libc.pot: Update.
31833 2012-12-07  Richard Henderson  <rth@redhat.com>
31835         [BZ #10114]
31836         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31837         normal/normal case to before the switch.
31838         (_FP_DIV): Likewise.
31840 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31841             Mike Frysinger  <vapier@gentoo.org>
31843         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31844         check for __NR_fadvise64_64.
31846 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31848         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31849         0, not just to plain "0" as a statement.
31850         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31851         with cw.
31853 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31855         * NEWS: Use sourceware.org in Bugzilla URL.
31857 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31860         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31862         * stdio-common/tst-put-error.c (do_test): Add newline to the
31863         padded test to ensure flush.
31865 2012-12-05  Jeff Law  <law@redhat.com>
31867         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31869 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31871         * README: Don't refer to ports add-on as distributed separately.
31872         Mention AArch64 in list of systems supported in the ports add-on.
31874         * LICENSES: Add more non-FSF copyright and license notices.
31876         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31877         ((unused)).
31879         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31881         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31882         10000 as width of padded output.
31884 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31886         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31888         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31889         variable LX with __attribute__ ((unused)).
31890         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31891         Likewise.
31892         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31893         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31894         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31895         with __attribute__ ((unused)).
31897 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31899         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31901 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31903         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31904         (CFLAGS-nldbl-acos.c): New variable.
31905         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31906         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31907         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31908         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31909         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31910         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31911         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31912         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31913         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31914         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31915         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31916         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31917         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31918         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31919         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31920         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31921         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31922         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31923         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31924         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31925         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31926         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31927         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31928         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31929         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31930         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31931         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31932         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31933         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31934         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31935         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31936         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31937         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31938         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31939         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31940         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31941         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31942         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31943         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31944         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31945         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31946         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31947         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31948         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31949         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31950         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31951         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31952         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31953         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31954         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31955         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31956         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31957         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31958         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31959         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31960         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31961         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31962         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31963         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31964         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31965         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31966         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31967         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31968         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31969         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31970         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31971         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31972         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31973         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31974         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31975         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31976         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31977         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31978         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31979         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31980         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31981         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31982         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31983         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31984         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31985         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31986         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31987         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31988         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31989         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31990         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31991         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31992         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31993         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31994         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31995         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31996         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31997         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31998         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31999         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32000         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32001         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32004         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32006         [BZ #14914]
32007         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32008         whole low double instead of just low 47 bits when splitting values
32009         into two parts.
32011 2012-12-03  Allan McRae  <allan@archlinux.org>
32013         * manual/stdio.texi (Predefined Printf Handlers): Remove
32014         @hsep and @vsep usage.
32016 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
32018         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32019         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32021 2012-12-03  Jeff Law  <law@redhat.com>
32023         * time/sys/time.h (settimeofday): Do not mark TV argument
32024         as __nonnull.
32026 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
32028         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32029         when currently writing and seek to current position when not.
32030         * libio/Makefile (tests): Remove bug-fclose1.
32031         * libio/bug-fclose1.c: Delete.
32033 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
32035         * manual/arith.texi (feenableexcept): Fix typo.
32036         (fedisableexcept): Likewise.
32038 2012-11-30  Roland McGrath  <roland@hack.frob.com>
32040         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32041         second, differently-typed declaration, rather than a cast.
32043 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32045         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32046         * include/rpc/svc.h: ... here.
32048 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
32050         [BZ #13013]
32051         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32052         depending n and resplen2 to catch cases where answer
32053         equals answerp2.
32055 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
32057         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32058         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32060 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
32062         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32064 2012-11-29  Roland McGrath  <roland@hack.frob.com>
32066         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32068 2012-11-28  Jeff Law  <law@redhat.com>
32070         [BZ #13761]
32071         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32072         dataset_temporary.  Track alloca usage into alloca_used.
32073         If dataset is large allocate and release it via malloc/free.
32075 2012-06-04  Florian Weimer  <fweimer@redhat.com>
32077         [BZ #14197]
32078         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32080 2012-11-28  David S. Miller  <davem@davemloft.net>
32082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32084 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32086         [BZ #14803]
32087         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32088         of pi/2 rounded to nearest to 64 bits.
32089         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32090         nearest to 64 bits.
32091         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32092         bits.
32094 2012-11-28  Jeff Law <law@redhat.com>
32095             Martin Osvald <mosvald@redhat.com>
32097         [BZ #14889]
32098         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32099         * sunrpc/svc.c: Include time.h.
32100         (__svc_accept_failed): New function.
32101         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32102         any reason other than EINTR, call __svc_accept_failed.
32103         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32104         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32106 2012-11-28  Andreas Schwab  <schwab@suse.de>
32108         * scripts/abilist.awk: Also handle indirect functions in .opd
32109         section.
32111 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
32113         [BZ #13881]
32114         * sysdeps/x86/fpu/powl_helper.c: New file.
32115         * sysdeps/x86/fpu/Makefile: Likewise.
32116         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32117         (p3): New object.
32118         (__ieee754_powl): Use __powl_helper for finite arguments except
32119         integer exponents below 8.
32120         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32121         (p3): New object.
32122         (__ieee754_powl): Use __powl_helper for finite arguments except
32123         integer exponents below 8.
32124         * math/libm-test.inc (pow_test): Add more tests and enable some
32125         previously disabled tests.
32126         * sysdeps/i386/fpu/libm-test-ulps: Update.
32127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32129 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32130             Carlos O'Donell  <carlos_odonell@mentor.com>
32132         * nss/makedb.c (is_prime): Assert that input is odd and greater
32133         than 4.  Note that fact in a comment too.
32134         (next_prime): Add 4 to input.
32136 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32138         [BZ #11741]
32139         * libio/Makefile (tests): Add test case tst-fwrite-error.
32140         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32141         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32142         * libio/tst-fwrite-error.c: New test case.
32144 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
32146         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32147         before casting to void *.
32148         * include/libc-internal.h (__pointer_type): New macro.
32149         (__integer_if_pointer_type_sub): Likewise.
32150         (__integer_if_pointer_type): Likewise.
32151         (cast_to_integer): Likewise.
32152         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32153         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32154         before casting to atomic64_t.
32155         (atomic_exchange_acq): Likewise.
32156         (__arch_exchange_and_add_body): Likewise.
32157         (__arch_add_body): Likewise.
32158         (atomic_add_negative): Likewise.
32159         (atomic_add_zero): Likewise.
32161 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
32163         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32164         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32165         (add_fdes): Likewise.
32166         (linear_search_fdes): Likewise.
32167         (binary_search_unencoded_fdes): Likewise.
32169 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
32171         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32173 2012-11-24  Adam Conrad  <adconrad@0c3.net>
32175         * configure.in: Autodetect C++ header directories.
32176         * configure: Regenerated.
32178 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
32180         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32182 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
32184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32186 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
32188         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32189         LDBL_MANT_DIG == 106]: Disable some tests.
32190         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32191         Likewise.
32192         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32193         Likewise.
32195         [BZ #14871]
32196         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32197         input for small inputs.  Return +/- pi/2 for large inputs.
32198         * math/libm-test.inc (atan_test): Add more tests.
32200         * sysdeps/generic/unwind-dw2-fde-glibc.c
32201         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32202         __attribute__ ((unused)).
32204         [BZ #14645]
32205         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32206         x * y if x and y are nonzero and z is zero.
32208         [BZ #14811]
32209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32210         nonzero exponents with absolute value below 0x1p-117 to +/-
32211         0x1p-117.
32213         [BZ #14869]
32214         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32215         up arguments below 2**-450, not just those below 2**-500.
32216         * math/libm-test.inc (hypot_test): Add another test.
32218         [BZ #14868]
32219         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32220         Return a+b for ratio over 2**120, not 2**60.
32221         * math/libm-test.inc (hypot_test): Add another test.
32223         * math/libm-test.inc (clog_test): Use
32224         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32225         (clog10_test): Likewise.
32227         [BZ #6778]
32228         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32230 2012-11-22  Andreas Schwab  <schwab@suse.de>
32232         * sysdeps/i386/fpu/libm-test-ulps: Update.
32234 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
32236         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32237         printf output with newline.
32239 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
32241         [BZ #14865]
32242         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32243         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32244         -z nodlopen, -z initfirst and -z execstack support.
32245         * configure: Regenerated.
32247         * elf/elf.h (DF_1_NODIRECT): New macro.
32248         (DF_1_IGNMULDEF): Likewise.
32249         (DF_1_NOKSYMS): Likewise.
32250         (DF_1_NOHDR): Likewise.
32251         (DF_1_EDITED): Likewise.
32252         (DF_1_NORELOC): Likewise.
32253         (DF_1_SYMINTPOSE): Likewise.
32254         (DF_1_GLOBAUDIT): Likewise.
32255         (DF_1_SINGLETON): Likewise.
32256         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32257         DT_1_SUPPORTED_MASK bits.
32258         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32260 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
32262         * sysdeps/unix/make-syscalls.sh: Document prefixes.
32264 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
32266         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32267         macro.
32269         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32270         (sendmmsg): Move declarations...
32271         * socket/sys/socket.h: ... here.
32272         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32273         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32274         include it from...
32275         * socket/recvmmsg.c: ... this new file.
32276         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32277         (sendmmsg): Rename to __sendmmsg, create weak alias and make
32278         definition of __sendmmsg hidden.
32279         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32280         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32281         Move ENOSYS stub into and include it from...
32282         * socket/sendmmsg.c: ... this new file.
32283         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32284         (sysdep_routines): Move recvmmsg and sendmmsg...
32285         * socket/Makefile (routines): ... here.
32286         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32287         (GLIBC_PRIVATE): Add __sendmmsg.
32288         * include/sys/socket.h (__sendmmsg): Add declarations.
32289         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32290         sendmmsg.
32292 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32294         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32295         variable I1 with __attribute__ ((unused)).
32296         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32298 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32300         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32301         DUMMY variables with __attribute__ ((unused)).
32303         * bits/byteswap.h: Include <bits/types.h>.
32304         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32306 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32308         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32309         string_t.  Do not manually set errno.
32310         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32311         length with __strnlen.  Make sure to both set errno and return it on
32312         failure.
32314 2012-11-19  David S. Miller  <davem@davemloft.net>
32316         With help from Joseph Myers.
32317         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32318         very large arguments properly.
32319         * math/libm-test.inc (atan_test): New tests.
32320         (atan2_test): New tests.
32321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32322         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32324 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32326         [BZ #14856]
32327         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32328         Define to 3.
32330         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32331         [POSIX] (EADDRNOTAVAIL): Likewise.
32332         [POSIX] (EAFNOSUPPORT): Likewise.
32333         [POSIX] (EALREADY): Likewise.
32334         [POSIX] (ECONNABORTED): Likewise.
32335         [POSIX] (ECONNREFUSED): Likewise.
32336         [POSIX] (ECONNRESET): Likewise.
32337         [POSIX] (EDESTADDRREQ): Likewise.
32338         [POSIX] (EDQUOT): Likewise.
32339         [POSIX] (EHOSTUNREACH): Likewise.
32340         [POSIX] (EIDRM): Likewise.
32341         [POSIX] (EISCONN): Likewise.
32342         [POSIX] (ELOOP): Likewise.
32343         [POSIX] (EMULTIHOP): Likewise.
32344         [POSIX] (ENETDOWN): Likewise.
32345         [POSIX] (ENETUNREACH): Likewise.
32346         [POSIX] (ENOBUFS): Likewise.
32347         [POSIX] (ENODATA): Likewise.
32348         [POSIX] (ENOLINK): Likewise.
32349         [POSIX] (ENOMSG): Likewise.
32350         [POSIX] (ENOPROTOOPT): Likewise.
32351         [POSIX] (ENOSR): Likewise.
32352         [POSIX] (ENOSTR): Likewise.
32353         [POSIX] (ENOTCONN): Likewise.
32354         [POSIX] (ENOTSOCK): Likewise.
32355         [POSIX] (EOPNOTSUPP): Likewise.
32356         [POSIX] (EOVERFLOW): Likewise.
32357         [POSIX] (EPROTO): Likewise.
32358         [POSIX] (EPROTONOSUPPORT): Likewise.
32359         [POSIX] (EPROTOTYPE): Likewise.
32360         [POSIX] (ESTALE): Likewise.
32361         [POSIX] (ETIME): Likewise.
32362         [POSIX] (ETXTBSY): Likewise.
32363         [POSIX] (EWOULDBLOCK): Likewise.
32364         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32365         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32366         [POSIX] (SEEK_CUR): Likewise.
32367         [POSIX] (SEEK_END): Likewise.
32368         [POSIX || UNIX98] (mode_t): Do not require.
32369         [POSIX] (off_t): Likewise.
32370         [POSIX] (pid_t): Likewise.
32371         [POSIX] (sys/stat.h): Do not allow header.
32372         [POSIX] (unistd.h): Likewise.
32373         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32374         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32375         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32376         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32377         require.
32378         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32379         sigevent): Specify elements.
32380         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32381         entry.
32382         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32383         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32385         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32386         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32387         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32388         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32389         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32390         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32391         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32392         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32393         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32394         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32395         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32396         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32397         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32398         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32399         Likewise.
32400         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32401         Likewise.
32402         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32403         Likewise.
32404         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32405         Likewise.
32406         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32407         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32408         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32409         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32410         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32411         Specify lower bound on value.
32412         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32413         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32414         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32415         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32416         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32417         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32418         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32419         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32420         value.
32421         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32422         as optional.
32423         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32424         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32425         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32426         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32427         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32428         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32429         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32430         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32431         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32432         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32433         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32434         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32435         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32436         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32437         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32438         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32439         entry.
32440         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32441         optional.
32442         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32443         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32444         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32445         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32446         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32447         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32448         Likewise.
32449         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32450         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32451         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32452         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32453         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32454         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32455         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32456         as optional.
32457         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32458         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32459         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32460         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32461         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32462         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32463         specify as optional.
32464         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32465         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32466         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32467         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32468         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32469         [XPG3] (NL_LANGMAX): Likewise.
32470         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32471         [POSIX || XPG3] (NL_NMAX): Likewise.
32472         [POSIX || XPG3] (NL_SETMAX): Likewise.
32473         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32474         [XPG3] (NZERO): Likewise.
32475         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32476         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32477         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32478         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32479         (REG_ERANGE): Expect.
32480         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32481         optional-constant.
32482         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32483         Use (void) in prototype.
32484         [POSIX] (*_t): Allow.
32485         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32486         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32487         (WRDE_BADVAL): Expect.
32489         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32490         expect.
32491         [XPG3 || XPG4] (O_RSYNC): Likewise.
32492         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32493         Likewise.
32494         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32495         [XPG3 || XPG4] (sigqueue): Likewise.
32496         [XPG3 || XPG4] (sigtimedwait): Likewise.
32497         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32498         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32499         [XPG3 || XPG4] (vsnprintf): Likewise.
32500         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32501         Likewise.
32502         [XPG3 || XPG4] (blksize_t): Likewise.
32503         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32504         Likewise.
32505         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32506         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32507         [XPG3 || XPG4] (struct itimerspec): Likewise.
32508         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32509         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32510         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32511         [XPG3 || XPG4] (clockid_t): Likewise.
32512         [XPG3 || XPG4] (timer_t): Likewise.
32513         [XPG3 || XPG4] (clock_getres): Likewise.
32514         [XPG3 || XPG4] (clock_gettime): Likewise.
32515         [XPG3 || XPG4] (clock_settime): Likewise.
32516         [XPG3 || XPG4] (nanosleep): Likewise.
32517         [XPG3 || XPG4] (timer_create): Likewise.
32518         [XPG3 || XPG4] (timer_delete): Likewise.
32519         [XPG3 || XPG4] (timer_gettime): Likewise.
32520         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32521         [XPG3 || XPG4] (timer_settime): Likewise.
32522         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32523         [XPG3 || XPG4] (getlogin_r): Likewise.
32524         [XPG3 || XPG4] (pread): Likewise.
32525         [XPG3 || XPG4] (pthread_atfork): Likewise.
32526         [XPG3 || XPG4] (pwrite): Likewise.
32528         [BZ #14835]
32529         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32530         <bits/siginfo.h>.
32532 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32534         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32535         finalizing MALLSTREAM.
32537         * sysdeps/mach/hurd/syncfs.c: New file.
32539 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32541         [BZ #14719]
32542         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32543         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32544         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32545         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32546         (_nss_dns_gethostbyname4_r): Likewise.
32547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32548         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32550 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32552         [BZ #13763]
32553         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32555 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32557         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32558         * elf/cache.c (print_entry): Print ",AArch64" for
32559         FLAG_AARCH64_LIB64
32561         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32562         * elf/cache.c (print_entry): Print ",hard-float" for
32563         FLAG_ARM_LIBHF.
32565 2012-11-18  David S. Miller  <davem@davemloft.net>
32567         With help from Joseph Myers.
32568         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32569         cutoff to 2**-13.
32570         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32571         cutoff to 2**-25.
32572         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32573         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32574         small.
32575         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32576         * math/libm-test.inc (y0_test): New tests.
32577         (y1_test): New tests.
32578         * sysdeps/i386/fpu/libm-test-ulps: Update.
32579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32582 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32584         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32585         64-bit targets.
32586         * configure: Regenerated.
32588 2012-11-17  David S. Miller  <davem@davemloft.net>
32590         [BZ #14811]
32591         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32592         nonzero exponents with absolute value below 0x1p-128 to +/-
32593         0x1p-128.
32595 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32597         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32599         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32601         * posix/getconf-speclist.c: New file.
32602         * posix/posix-envs.def: Likewise.
32603         * posix/confstr.c (START_ENV_GROUP): New macro.
32604         (END_ENV_GROUP): Likewise.
32605         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32606         (KNOWN_PRESENT_ENV_STRING): Likewise.
32607         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32608         (UNKNOWN_ENVIRONMENT): Likewise.
32609         (confstr): Include posix-envs.def instead of handling
32610         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32611         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32612         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32613         (END_ENV_GROUP): Likewise.
32614         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32615         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32616         (UNKNOWN_ENVIRONMENT): Likewise.
32617         (__sysconf): Include posix-envs.def instead of handling associated
32618         cases directly here.
32619         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32620         preprocessing getconf-speclist.c rather than running getconf or
32621         generating empty file.
32623 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32625         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32627 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32629         [BZ #14672]
32630         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32632 2012-11-16  David S. Miller  <davem@davemloft.net>
32634         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32635         smaller than LDBL_EPSILON/2.0L, just return xm1.
32637 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32639         * elf/tst-array1.c (init): Set constructor priority to 1000.
32640         (fini): Set destructor priority to 1000.
32641         * elf/tst-array2dep.c: Likewise.
32643 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32645         [BZ #11741]
32646         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32647         (_IO_new_file_xsputn): Also return EOF if none of the input
32648         data was written when overflow failed.
32649         * libio/iopadn.c (_IO_padn): Likewise.
32650         * libio/iowpadn.c (_IO_wpadn): Likewise.
32651         * stdio-common/tst-put-error.c: Add copyright notice.
32652         (do_test): Add case for printing padded string.
32653         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32654         _IO_padn returned error.
32655         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32656         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32657         return EOF.
32659 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32661         * libio/libioP.h: Add comment note that the references to C++
32662         bits are now obsolete.
32664 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32666         * math/libm-test.inc (check_complex): Use asprintf.
32668 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32670         * debug/pcprofiledump.c (print_version): Update copyright year.
32671         * malloc/memusagestat.c (print_version): Likewise.
32673 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32675         [BZ #14831]
32676         * elf/Makefile (tests): Add tst-audit8.
32677         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32678         ($(objpfx)tst-audit8.out): New target.
32679         (tst-audit8-ENV): New variable.
32680         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32681         audit if l_reloc_result is NULL.
32682         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32683         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32684         * elf/tst-audit8.c: New file.
32686 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32688         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32689         * misc/Makefile (CFLAGS-select.c): Define.
32690         * posix/Makefile (CFLAGS-pause.c): Define.
32692 2012-11-13  David S. Miller  <davem@davemloft.net>
32694         * crypt/Makefile: Move test targets after toplevel Rules
32695         inclusion.  Grab any necessary sysdep routines when linking.
32696         * crypt/md5.c (md5_process_block): Remove define, we will always
32697         name it __md5_process_block.
32698         (md5_finish_ctx): Update md5_process_block call.
32699         (md5_stream): Likewise.
32700         (md5_process_bytes): Likewise.
32701         (md5_process_block): Rename to __md5_process_block and move to ...
32702         * crypt/md5-block.c: ... here.
32703         * crypt/sha256.c (sha256_process_block): Move to ...
32704         * crypt/sha256-block.c: ... here.
32705         * crypt/sha512.c (sha512_process_block): Move to ...
32706         * crypt/sha512-block.c: ... here.
32707         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32708         path.
32709         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32710         * sysdeps/sparc/sparc64/multiarch/Makefile
32711         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32712         crypt subdir.
32713         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32714         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32715         multiarch changes.
32716         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32717         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32718         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32719         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32720         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32721         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32722         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32723         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32724         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32725         file.
32726         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32727         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32728         file.
32729         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32731 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32733         * timezone/tzselect.ksh: Update from tzcode git revision
32734         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32735         * timezone/zdump.c: Likewise.
32736         * timezone/zic.c: Likewise.
32737         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32738         in TZVERSION setting, not $(PKGVERSION).
32739         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32740         REPORT_BUGS_TO settings.
32742         [BZ #14838]
32743         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32744         macro.
32746 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32748         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32749         detection to immediately after _FP_ROUND().
32750         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32751         bits are 0.
32753 2012-11-11  David S. Miller  <davem@davemloft.net>
32755         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32756         inttypes.h
32757         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32758         __close rather than their public counterparts.
32760 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32762         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32763         file.
32764         [UNIX98] (sem_timedwait): Do not expect.
32765         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32766         [XPG4 || UNIX98] (sockatmark): Do not expect.
32767         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32768         (clock_getcpuclockid): Do not expect.
32769         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32770         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32771         Do not expect.
32772         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32773         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32774         [UNIX98] (vwscanf): Likewise.
32775         [UNIX98] (vswscanf): Likewise.
32777 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32779         * timezone/version.h: Remove file.
32780         * timezone/README: Do not refer to version.h.
32781         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32782         $(objpfx)version.h.
32783         ($(objpfx)zdump.o): Likewise.
32784         ($(objpfx)version.h): New target.
32786         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32787         2012i.
32788         * timezone/README: Don't mention modification to tzselect.ksh.
32789         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32790         work on unmodified tzselect.ksh.  Substitute version numbers in
32791         tzselect.ksh.
32793         * Makefile (format-me): Remove.
32794         (INSTALL): Adjust indentation.  Use commands directly instead of
32795         using $(format-me).
32797         * aclocal.m4 (ACX_PKGVERSION): New macro.
32798         (ACX_BUGURL): Likewise.
32799         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32800         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32801         (REPORT_BUGS_TO): Likewise.
32802         * configure: Regenerated.
32803         * config.h.in (PKGVERSION): New macro.
32804         (REPORT_BUGS_TO): Likewise.
32805         * config.make.in (PKGVERSION): New variable.
32806         (PKGVERSION_TEXI): Likewise.
32807         (REPORT_BUGS_TO): Likewise.
32808         (REPORT_BUGS_TEXI): Likewise.
32809         * Makefile (format-me): Use -I$(common-objpfx)manual.
32810         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32811         ($(common-objpfx)manual/%): New target.
32812         (manual/%): Remove target.
32813         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32814         (print_version): Use PKGVERSION.
32815         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32816         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32817         and REPORT_BUGS_TO.
32818         ($(objpfx)xtrace): Likewise.
32819         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32820         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32821         (print_version): Use PKGVERSION.
32822         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32823         (do_version): Use PKGVERSION.
32824         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32825         REPORT_BUGS_TO.
32826         (common-ldd-rewrite): Likewise.
32827         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32828         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32829         (print_version): Use PKGVERSION.
32830         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32831         * elf/pldd.c (argp_program_bug_address): Remove variable.
32832         (more_help): New function.
32833         (argp): Use more_help.
32834         (print_version): Use PKGVERSION.
32835         * elf/sln.c (main): Use PKGVERSION.
32836         (usage): Use REPORT_BUGS_TO.
32837         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32838         (top level): Use PKGVERSION.
32839         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32840         (print_version): Use PKGVERSION.
32841         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32842         (print_version): Use PKGVERSION.
32843         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32844         (print_version): Use PKGVERSION.
32845         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32846         (print_version): Use PKGVERSION.
32847         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32848         (print_version): Use PKGVERSION.
32849         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32850         (print_version): Use PKGVERSION.
32851         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32852         and BUGURL.
32853         ($(objpfx)memusage): Likewise.
32854         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32855         (do_version): Use PKGVERSION.
32856         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32857         (print_version): Use PKGVERSION.
32858         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32859         ($PKGVERSION): New variable.
32860         ($REPORT_BUGS_TO): Likewise.
32861         (usage): Use $REPORT_BUGS_TO.
32862         (top level): Use $PKGVERSION.
32863         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32864         ($(objpfx)pkgvers.texi): New rule.
32865         ($(objpfx)stamp-pkgvers): Likewise.
32866         * manual/install.texi: Include pkgvers.texi.
32867         (--with-pkgversion): Document new configure option.
32868         (--with-bugurl): Likewise.
32869         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32870         than necessarily for this particular distribution.  Use
32871         REPORT_BUGS_TO for where to report bugs.
32872         * INSTALL: Regenerated.
32873         * manual/libc.texinfo: Include pkgvers.texi.
32874         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32875         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32876         (print_version): Use PKGVERSION.
32877         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32878         (print_version): Use PKGVERSION.
32879         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32880         (print_version): Use PKGVERSION.
32881         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32882         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32883         macro.
32884         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32885         (print_version): Use PKGVERSION.
32886         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32887         (print_version): Use PKGVERSION.
32888         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32889         and PKGVERSION.
32891         * timezone/checktab.awk: Update from tzcode 2012i.
32892         * timezone/ialloc.c: Likewise.
32893         * timezone/private.h: Likewise.
32894         * timezone/scheck.c: Likewise.
32895         * timezone/tzfile.h: Likewise.
32896         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32897         (TZVERSION): Hardcode tzcode version number.
32898         * timezone/zdump.c: Update from tzcode 2012i.
32899         * timezone/zic.c: Likewise.
32900         * timezone/version.h: New file.
32901         * timezone/README: Describe version.h.  Update upstream location.
32903         [BZ #14824]
32904         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32905         (mktemp): Enable declaration.
32906         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32907         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32908         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32909         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32910         Likewise.
32911         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32912         Likewise.
32913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32914         Likewise.
32915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32916         Likewise.
32917         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32918         Likewise.
32919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32920         Likewise.
32922         [BZ #14821]
32923         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32924         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32925         for copies of such integer values.
32926         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32927         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32929 2012-11-09  Andreas Jaeger  <aj@suse.de>
32931         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32932         definitions and declarations that are provided by
32933         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32935 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32937         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32938         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32939         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32940         definition.
32942 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32944         * elf/elf.h: Update comment before AArch64 relocations.
32946 2012-11-07  David S. Miller  <davem@davemloft.net>
32948         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32949         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32950         (__start_context): Declare.
32951         (__makecontext_ret): Delete.
32952         (__makecontext): Hook up __start_context instead of
32953         __makecontext_ret.
32954         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32955         (sysdep_routines): Add __start_context when in stdlib.
32957 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32959         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32960         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32961         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32962         hardcoded "nm".
32963         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32964         (READELF): New variable.  Use it instead of hardcoded "readelf".
32966 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32968         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32969         * sysdeps/x86/Makefile: Here.
32970         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32971         * sysdeps/x86/tst-xmmymm.sh: This.
32973 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32975         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32976         expectations.
32977         [UNIX98] (pthread_barrier_t): Do not expect.
32978         [UNIX98] (pthread_barrierattr_t): Likewise.
32979         [UNIX98] (pthread_spinlock_t): Likewise.
32980         [UNIX98] (pthread_barrier_destroy): Likewise.
32981         [UNIX98] (pthread_barrier_init): Likewise.
32982         [UNIX98] (pthread_barrier_wait): Likewise.
32983         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32984         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32985         [UNIX98] (pthread_barrierattr_init): Likewise.
32986         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32987         [UNIX98] (pthread_getcpuclockid): Likewise.
32988         [UNIX98] (pthread_mutex_timedlock): Likewise.
32989         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32990         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32991         [UNIX98] (pthread_sigmask): Likewise.
32992         [UNIX98] (pthread_spin_destroy): Likewise.
32993         [UNIX98] (pthread_spin_init): Likewise.
32994         [UNIX98] (pthread_spin_lock): Likewise.
32995         [UNIX98] (pthread_spin_trylock): Likewise.
32996         [UNIX98] (pthread_spin_unlock): Likewise.
32997         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32998         Do not expect.
32999         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33000         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33001         [XPG3 || XPG4] (pthread_cond_t): Likewise.
33002         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33003         [XPG3 || XPG4] (pthread_key_t): Likewise.
33004         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33005         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33006         [XPG3 || XPG4] (pthread_once_t): Likewise.
33007         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33008         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33009         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33010         [XPG3 || XPG4] (pthread_t): Likewise.
33012         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33013         not expect.
33014         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33016         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33017         Change function return type to int.
33019         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33020         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33021         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33022         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33023         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33024         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33025         [!POSIX] (posix_madvise): Likewise.
33026         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33027         && !UNIX98].
33028         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33029         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33030         (mode_t): Likewise.
33031         (posix_mem_offset): Likewise.
33032         (posix_typed_mem_get_info): Likewise.
33033         (posix_typed_mem_open): Likewise.
33035         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33036         Change condition to [XOPEN2K8].
33038         * conform/conformtest.pl: Preprocess allow-header data with -x c
33039         instead of from stdin.
33040         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33041         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33042         [C99-based standards] (cerfc): Likewise.
33043         [C99-based standards] (cexp2): Likewise.
33044         [C99-based standards] (cexpm1): Likewise.
33045         [C99-based standards] (clog10): Likewise.
33046         [C99-based standards] (clog1p): Likewise.
33047         [C99-based standards] (clog2): Likewise.
33048         [C99-based standards] (clgamma): Likewise.
33049         [C99-based standards] (ctgamma): Likewise.
33050         [C99-based standards] (cerff): Likewise.
33051         [C99-based standards] (cerfcf): Likewise.
33052         [C99-based standards] (cexp2f): Likewise.
33053         [C99-based standards] (cexpm1f): Likewise.
33054         [C99-based standards] (clog10f): Likewise.
33055         [C99-based standards] (clog1pf): Likewise.
33056         [C99-based standards] (clog2f): Likewise.
33057         [C99-based standards] (clgammaf): Likewise.
33058         [C99-based standards] (ctgammaf): Likewise.
33059         [C99-based standards] (cerfl): Likewise.
33060         [C99-based standards] (cerfcl): Likewise.
33061         [C99-based standards] (cexp2l): Likewise.
33062         [C99-based standards] (cexpm1l): Likewise.
33063         [C99-based standards] (clog10l): Likewise.
33064         [C99-based standards] (clog1pl): Likewise.
33065         [C99-based standards] (clog2l): Likewise.
33066         [C99-based standards] (clgammal): Likewise.
33067         [C99-based standards] (ctgammal): Likewise.
33068         * conform/data/inttypes.h-data [C99-based standards]: Include
33069         stdint.h-data.  Remove all expectations for stdint.h contents.
33070         [C99-based standards] (PRI*): Do not allow.
33071         [C99-based standards] (SCN*): Likewise.
33072         [C99-based standards] (*_t): Likewise.
33073         [C99-based-standards] (PRId8): Expect macro.
33074         [C99-based-standards] (PRIi8): Likewise.
33075         [C99-based-standards] (PRIo8): Likewise.
33076         [C99-based-standards] (PRIu8): Likewise.
33077         [C99-based-standards] (PRIx8): Likewise.
33078         [C99-based-standards] (PRIX8): Likewise.
33079         [C99-based-standards] (SCNd8): Likewise.
33080         [C99-based-standards] (SCNi8): Likewise.
33081         [C99-based-standards] (SCNo8): Likewise.
33082         [C99-based-standards] (SCNu8): Likewise.
33083         [C99-based-standards] (SCNx8): Likewise.
33084         [C99-based-standards] (PRIdLEAST8): Likewise.
33085         [C99-based-standards] (PRIiLEAST8): Likewise.
33086         [C99-based-standards] (PRIoLEAST8): Likewise.
33087         [C99-based-standards] (PRIuLEAST8): Likewise.
33088         [C99-based-standards] (PRIxLEAST8): Likewise.
33089         [C99-based-standards] (PRIXLEAST8): Likewise.
33090         [C99-based-standards] (SCNdLEAST8): Likewise.
33091         [C99-based-standards] (SCNiLEAST8): Likewise.
33092         [C99-based-standards] (SCNoLEAST8): Likewise.
33093         [C99-based-standards] (SCNuLEAST8): Likewise.
33094         [C99-based-standards] (SCNxLEAST8): Likewise.
33095         [C99-based-standards] (PRIdFAST8): Likewise.
33096         [C99-based-standards] (PRIiFAST8): Likewise.
33097         [C99-based-standards] (PRIoFAST8): Likewise.
33098         [C99-based-standards] (PRIuFAST8): Likewise.
33099         [C99-based-standards] (PRIxFAST8): Likewise.
33100         [C99-based-standards] (PRIXFAST8): Likewise.
33101         [C99-based-standards] (SCNdFAST8): Likewise.
33102         [C99-based-standards] (SCNiFAST8): Likewise.
33103         [C99-based-standards] (SCNoFAST8): Likewise.
33104         [C99-based-standards] (SCNuFAST8): Likewise.
33105         [C99-based-standards] (SCNxFAST8): Likewise.
33106         [C99-based-standards] (PRId16): Likewise.
33107         [C99-based-standards] (PRIi16): Likewise.
33108         [C99-based-standards] (PRIo16): Likewise.
33109         [C99-based-standards] (PRIu16): Likewise.
33110         [C99-based-standards] (PRIx16): Likewise.
33111         [C99-based-standards] (PRIX16): Likewise.
33112         [C99-based-standards] (SCNd16): Likewise.
33113         [C99-based-standards] (SCNi16): Likewise.
33114         [C99-based-standards] (SCNo16): Likewise.
33115         [C99-based-standards] (SCNu16): Likewise.
33116         [C99-based-standards] (SCNx16): Likewise.
33117         [C99-based-standards] (PRIdLEAST16): Likewise.
33118         [C99-based-standards] (PRIiLEAST16): Likewise.
33119         [C99-based-standards] (PRIoLEAST16): Likewise.
33120         [C99-based-standards] (PRIuLEAST16): Likewise.
33121         [C99-based-standards] (PRIxLEAST16): Likewise.
33122         [C99-based-standards] (PRIXLEAST16): Likewise.
33123         [C99-based-standards] (SCNdLEAST16): Likewise.
33124         [C99-based-standards] (SCNiLEAST16): Likewise.
33125         [C99-based-standards] (SCNoLEAST16): Likewise.
33126         [C99-based-standards] (SCNuLEAST16): Likewise.
33127         [C99-based-standards] (SCNxLEAST16): Likewise.
33128         [C99-based-standards] (PRIdFAST16): Likewise.
33129         [C99-based-standards] (PRIiFAST16): Likewise.
33130         [C99-based-standards] (PRIoFAST16): Likewise.
33131         [C99-based-standards] (PRIuFAST16): Likewise.
33132         [C99-based-standards] (PRIxFAST16): Likewise.
33133         [C99-based-standards] (PRIXFAST16): Likewise.
33134         [C99-based-standards] (SCNdFAST16): Likewise.
33135         [C99-based-standards] (SCNiFAST16): Likewise.
33136         [C99-based-standards] (SCNoFAST16): Likewise.
33137         [C99-based-standards] (SCNuFAST16): Likewise.
33138         [C99-based-standards] (SCNxFAST16): Likewise.
33139         [C99-based-standards] (PRId32): Likewise.
33140         [C99-based-standards] (PRIi32): Likewise.
33141         [C99-based-standards] (PRIo32): Likewise.
33142         [C99-based-standards] (PRIu32): Likewise.
33143         [C99-based-standards] (PRIx32): Likewise.
33144         [C99-based-standards] (PRIX32): Likewise.
33145         [C99-based-standards] (SCNd32): Likewise.
33146         [C99-based-standards] (SCNi32): Likewise.
33147         [C99-based-standards] (SCNo32): Likewise.
33148         [C99-based-standards] (SCNu32): Likewise.
33149         [C99-based-standards] (SCNx32): Likewise.
33150         [C99-based-standards] (PRIdLEAST32): Likewise.
33151         [C99-based-standards] (PRIiLEAST32): Likewise.
33152         [C99-based-standards] (PRIoLEAST32): Likewise.
33153         [C99-based-standards] (PRIuLEAST32): Likewise.
33154         [C99-based-standards] (PRIxLEAST32): Likewise.
33155         [C99-based-standards] (PRIXLEAST32): Likewise.
33156         [C99-based-standards] (SCNdLEAST32): Likewise.
33157         [C99-based-standards] (SCNiLEAST32): Likewise.
33158         [C99-based-standards] (SCNoLEAST32): Likewise.
33159         [C99-based-standards] (SCNuLEAST32): Likewise.
33160         [C99-based-standards] (SCNxLEAST32): Likewise.
33161         [C99-based-standards] (PRIdFAST32): Likewise.
33162         [C99-based-standards] (PRIiFAST32): Likewise.
33163         [C99-based-standards] (PRIoFAST32): Likewise.
33164         [C99-based-standards] (PRIuFAST32): Likewise.
33165         [C99-based-standards] (PRIxFAST32): Likewise.
33166         [C99-based-standards] (PRIXFAST32): Likewise.
33167         [C99-based-standards] (SCNdFAST32): Likewise.
33168         [C99-based-standards] (SCNiFAST32): Likewise.
33169         [C99-based-standards] (SCNoFAST32): Likewise.
33170         [C99-based-standards] (SCNuFAST32): Likewise.
33171         [C99-based-standards] (SCNxFAST32): Likewise.
33172         [C99-based-standards] (PRId64): Likewise.
33173         [C99-based-standards] (PRIi64): Likewise.
33174         [C99-based-standards] (PRIo64): Likewise.
33175         [C99-based-standards] (PRIu64): Likewise.
33176         [C99-based-standards] (PRIx64): Likewise.
33177         [C99-based-standards] (PRIX64): Likewise.
33178         [C99-based-standards] (SCNd64): Likewise.
33179         [C99-based-standards] (SCNi64): Likewise.
33180         [C99-based-standards] (SCNo64): Likewise.
33181         [C99-based-standards] (SCNu64): Likewise.
33182         [C99-based-standards] (SCNx64): Likewise.
33183         [C99-based-standards] (PRIdLEAST64): Likewise.
33184         [C99-based-standards] (PRIiLEAST64): Likewise.
33185         [C99-based-standards] (PRIoLEAST64): Likewise.
33186         [C99-based-standards] (PRIuLEAST64): Likewise.
33187         [C99-based-standards] (PRIxLEAST64): Likewise.
33188         [C99-based-standards] (PRIXLEAST64): Likewise.
33189         [C99-based-standards] (SCNdLEAST64): Likewise.
33190         [C99-based-standards] (SCNiLEAST64): Likewise.
33191         [C99-based-standards] (SCNoLEAST64): Likewise.
33192         [C99-based-standards] (SCNuLEAST64): Likewise.
33193         [C99-based-standards] (SCNxLEAST64): Likewise.
33194         [C99-based-standards] (PRIdFAST64): Likewise.
33195         [C99-based-standards] (PRIiFAST64): Likewise.
33196         [C99-based-standards] (PRIoFAST64): Likewise.
33197         [C99-based-standards] (PRIuFAST64): Likewise.
33198         [C99-based-standards] (PRIxFAST64): Likewise.
33199         [C99-based-standards] (PRIXFAST64): Likewise.
33200         [C99-based-standards] (SCNdFAST64): Likewise.
33201         [C99-based-standards] (SCNiFAST64): Likewise.
33202         [C99-based-standards] (SCNoFAST64): Likewise.
33203         [C99-based-standards] (SCNuFAST64): Likewise.
33204         [C99-based-standards] (SCNxFAST64): Likewise.
33205         [C99-based-standards] (PRIdMAX): Likewise.
33206         [C99-based-standards] (PRIiMAX): Likewise.
33207         [C99-based-standards] (PRIoMAX): Likewise.
33208         [C99-based-standards] (PRIuMAX): Likewise.
33209         [C99-based-standards] (PRIxMAX): Likewise.
33210         [C99-based-standards] (PRIXMAX): Likewise.
33211         [C99-based-standards] (SCNdMAX): Likewise.
33212         [C99-based-standards] (SCNiMAX): Likewise.
33213         [C99-based-standards] (SCNoMAX): Likewise.
33214         [C99-based-standards] (SCNuMAX): Likewise.
33215         [C99-based-standards] (SCNxMAX): Likewise.
33216         [C99-based-standards] (PRIdPTR): Likewise.
33217         [C99-based-standards] (PRIiPTR): Likewise.
33218         [C99-based-standards] (PRIoPTR): Likewise.
33219         [C99-based-standards] (PRIuPTR): Likewise.
33220         [C99-based-standards] (PRIxPTR): Likewise.
33221         [C99-based-standards] (PRIXPTR): Likewise.
33222         [C99-based-standards] (SCNdPTR): Likewise.
33223         [C99-based-standards] (SCNiPTR): Likewise.
33224         [C99-based-standards] (SCNoPTR): Likewise.
33225         [C99-based-standards] (SCNuPTR): Likewise.
33226         [C99-based-standards] (SCNxPTR): Likewise.
33227         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33228         allow.
33229         * conform/data/stdint.h-data: Update comments to clarify
33230         requirements.
33231         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
33232         type.
33233         [C99-based standards] (INT8_MAX): Likewise.
33234         [C99-based standards] (INT16_MIN): Likewise.
33235         [C99-based standards] (INT16_MAX): Likewise.
33236         [C99-based standards] (INT32_MIN): Likewise.
33237         [C99-based standards] (INT32_MAX): Likewise.
33238         [C99-based standards] (INT64_MIN): Likewise.
33239         [C99-based standards] (INT64_MAX): Likewise.
33240         [C99-based standards] (UINT8_MAX): Likewise.
33241         [C99-based standards] (UINT16_MAX): Likewise.
33242         [C99-based standards] (UINT32_MAX): Likewise.
33243         [C99-based standards] (UINT64_MAX): Likewise.
33244         [C99-based standards] (INT_LEAST8_MIN): Likewise.
33245         [C99-based standards] (INT_LEAST8_MAX): Likewise.
33246         [C99-based standards] (INT_LEAST16_MIN): Likewise.
33247         [C99-based standards] (INT_LEAST16_MAX): Likewise.
33248         [C99-based standards] (INT_LEAST32_MIN): Likewise.
33249         [C99-based standards] (INT_LEAST32_MAX): Likewise.
33250         [C99-based standards] (INT_LEAST64_MIN): Likewise.
33251         [C99-based standards] (INT_LEAST64_MAX): Likewise.
33252         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33253         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33254         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33255         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33256         [C99-based standards] (INT_FAST8_MIN): Likewise.
33257         [C99-based standards] (INT_FAST8_MAX): Likewise.
33258         [C99-based standards] (INT_FAST16_MIN): Likewise.
33259         [C99-based standards] (INT_FAST16_MAX): Likewise.
33260         [C99-based standards] (INT_FAST32_MIN): Likewise.
33261         [C99-based standards] (INT_FAST32_MAX): Likewise.
33262         [C99-based standards] (INT_FAST64_MIN): Likewise.
33263         [C99-based standards] (INT_FAST64_MAX): Likewise.
33264         [C99-based standards] (UINT_FAST8_MAX): Likewise.
33265         [C99-based standards] (UINT_FAST16_MAX): Likewise.
33266         [C99-based standards] (UINT_FAST32_MAX): Likewise.
33267         [C99-based standards] (UINT_FAST64_MAX): Likewise.
33268         [C99-based standards] (INTPTR_MIN): Likewise.
33269         [C99-based standards] (INTPTR_MAX): Likewise.
33270         [C99-based standards] (UINTPTR_MAX): Likewise.
33271         [C99-based standards] (INTMAX_MIN): Likewise.
33272         [C99-based standards] (INTMAX_MAX): Likewise.
33273         [C99-based standards] (UINTMAX_MAX): Likewise.
33274         [C99-based standards] (PTRDIFF_MIN): Likewise.
33275         [C99-based standards] (PTRDIFF_MAX): Likewise.
33276         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33277         [C99-based standards] (SIZE_MAX): Likewise.
33278         [C99-based standards] (WCHAR_MAX): Likewise.
33279         [C99-based standards] (WINT_MAX): Likewise.
33280         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
33281         constraint on value.
33282         [C99-based standards] (WCHAR_MIN): Likewise.
33283         [C99-based standards] (WINT_MIN): Likewise.
33284         [C99-based standards] (*_t): Allow.
33285         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33286         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33287         Include math.h-data and complex.h-data.  Remove all expectations
33288         of math.h and complex.h contents.
33289         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33290         at end of line.
33291         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33292         (struct tm): Expect tag.
33293         [C99-based-standards] (wcstof): Expect function.
33294         [C99-based-standards] (wcstold): Likewise.
33295         [C99-based-standards] (wcstoll): Likewise.
33296         [C99-based-standards] (wcstoull): Likewise.
33297         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33298         macro-int-constant.  Specify type.
33299         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33300         constraint on value.
33301         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33302         Specify type.
33303         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33304         Specify value.
33305         [ISO C standards]: Do not allow headers.
33306         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33307         wcs[abcdefghijklmnopqrstuvwxyz]*.
33308         [ISO C standards] (*_t): Do not allow.
33309         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33310         Expect function.
33311         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33312         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33313         Specify type.
33314         [ISO C standards]: Do not allow headers.
33315         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33316         is[abcdefghijklmnopqrstuvwxyz]*.
33317         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33318         to[abcdefghijklmnopqrstuvwxyz]*.
33319         [ISO C standards] (*_t): Do not allow.
33320         * conform/data/stdalign.h-data: New file.
33321         * conform/data/stdbool.h-data: Likewise.
33322         * conform/data/stdnoreturn.h-data: Likewise.
33324 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33326         [BZ #14815]
33327         * manual/filesys.texi (Directory Entries): Typo fix.
33328         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33330 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33332         * elf/elf.h (EM_AARCH64): New macro.
33333         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33334         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33335         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33336         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33337         (R_AARCH64_TLSDESC): Likewise.
33338         (NT_ARM_TLS): Likewise.
33339         (NT_ARM_HW_BREAK): Likewise.
33340         (NT_ARM_HW_WATCH): Likewise.
33342 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33344         [BZ #14811]
33345         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33346         (__ieee754_powl): Saturate nonzero exponents with absolute value
33347         below 0x1p-79 to +/- 0x1p-79.
33348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33349         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33350         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33351         nonzero exponents with absolute value below 0x1p-32 to +/-
33352         0x1p-32.
33353         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33354         (__ieee754_powl): Saturate nonzero exponents with absolute value
33355         below 0x1p-79 to +/- 0x1p-79.
33356         * math/libm-test.inc (pow_test): Add more tests.
33358 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33360         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33361         _dl_s390_cap_flags with kernel. Increase string length.
33362         (_dl_s390_platforms): Add z196 and zEC12.
33364 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33366         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33367         Change XOPEN21K to XOPEN2K.
33369 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33371         * string/memmove.c: Use memcpy when possible.
33373 2012-11-06  Andreas Jaeger  <aj@suse.de>
33375         * po/eo.po: Update from translation team.
33377 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33379         [BZ #14793]
33380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33381         exponent and small x and y exponents, scale x or y up.  Increase
33382         by 2 the exponent used in scaling up.
33383         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33384         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33385         * math/libm-test.inc (fma_test): Add more tests.
33386         (fma_test_towardzero): Likewise.
33387         (fma_test_downward): Likewise.
33388         (fma_test_upward): Likewise.
33390 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33392         [BZ #14805]
33393         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33394         fenv_t *.
33396         [BZ #14801]
33397         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33398         namespace for names of struct fields.
33399         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33400         fenv_t fields.
33401         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33402         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33404 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33406         [BZ #3665]
33407         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33409 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33411         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33412         PTR_DEMANGLE.
33414         [BZ #5246]
33415         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33416         PTR_DEMANGLE.
33418 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33420         [BZ #14797]
33421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33422         definitely overflow as x * y not x * y + z.
33423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33425         * math/libm-test.inc (fma_test): Add more tests.
33426         (fma_test_towardzero): Likewise.
33427         (fma_test_downward): Likewise.
33428         (fma_test_upward): Likewise.
33430 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33432         [BZ #157]
33434         * include/stub-tag.h: Remove file.
33435         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33436         '#include' of it.
33437         * manual/maint.texi (Porting): Don't reference it.
33438         * Makerules ($(objpfx)stubs): Likewise.
33439         * dirent/closedir.c: Don't include <stub-tag.h>.
33440         * dirent/dirfd.c: Likewise.
33441         * dirent/fdopendir.c: Likewise.
33442         * dirent/getdents.c: Likewise.
33443         * dirent/getdents64.c: Likewise.
33444         * dirent/opendir.c: Likewise.
33445         * dirent/readdir.c: Likewise.
33446         * dirent/readdir64.c: Likewise.
33447         * dirent/readdir64_r.c: Likewise.
33448         * dirent/readdir_r.c: Likewise.
33449         * dirent/rewinddir.c: Likewise.
33450         * dirent/seekdir.c: Likewise.
33451         * dirent/telldir.c: Likewise.
33452         * gmon/profil.c: Likewise.
33453         * grp/setgroups.c: Likewise.
33454         * inet/if_index.c: Likewise.
33455         * io/access.c: Likewise.
33456         * io/chdir.c: Likewise.
33457         * io/chmod.c: Likewise.
33458         * io/chown.c: Likewise.
33459         * io/close.c: Likewise.
33460         * io/dup.c: Likewise.
33461         * io/dup2.c: Likewise.
33462         * io/dup3.c: Likewise.
33463         * io/euidaccess.c: Likewise.
33464         * io/faccessat.c: Likewise.
33465         * io/fchdir.c: Likewise.
33466         * io/fchmod.c: Likewise.
33467         * io/fchmodat.c: Likewise.
33468         * io/fchown.c: Likewise.
33469         * io/fchownat.c: Likewise.
33470         * io/fcntl.c: Likewise.
33471         * io/flock.c: Likewise.
33472         * io/fstatfs.c: Likewise.
33473         * io/fstatfs64.c: Likewise.
33474         * io/fstatvfs.c: Likewise.
33475         * io/fstatvfs64.c: Likewise.
33476         * io/futimens.c: Likewise.
33477         * io/fxstat.c: Likewise.
33478         * io/fxstat64.c: Likewise.
33479         * io/fxstatat.c: Likewise.
33480         * io/fxstatat64.c: Likewise.
33481         * io/getcwd.c: Likewise.
33482         * io/isatty.c: Likewise.
33483         * io/lchmod.c: Likewise.
33484         * io/lchown.c: Likewise.
33485         * io/link.c: Likewise.
33486         * io/linkat.c: Likewise.
33487         * io/lseek.c: Likewise.
33488         * io/lseek64.c: Likewise.
33489         * io/lxstat64.c: Likewise.
33490         * io/mkdir.c: Likewise.
33491         * io/mkdirat.c: Likewise.
33492         * io/mkfifo.c: Likewise.
33493         * io/mkfifoat.c: Likewise.
33494         * io/open.c: Likewise.
33495         * io/open64.c: Likewise.
33496         * io/openat.c: Likewise.
33497         * io/openat64.c: Likewise.
33498         * io/pipe.c: Likewise.
33499         * io/pipe2.c: Likewise.
33500         * io/poll.c: Likewise.
33501         * io/posix_fadvise.c: Likewise.
33502         * io/posix_fadvise64.c: Likewise.
33503         * io/posix_fallocate.c: Likewise.
33504         * io/posix_fallocate64.c: Likewise.
33505         * io/read.c: Likewise.
33506         * io/readlink.c: Likewise.
33507         * io/readlinkat.c: Likewise.
33508         * io/rmdir.c: Likewise.
33509         * io/sendfile.c: Likewise.
33510         * io/sendfile64.c: Likewise.
33511         * io/statfs.c: Likewise.
33512         * io/statfs64.c: Likewise.
33513         * io/statvfs.c: Likewise.
33514         * io/statvfs64.c: Likewise.
33515         * io/symlink.c: Likewise.
33516         * io/symlinkat.c: Likewise.
33517         * io/ttyname.c: Likewise.
33518         * io/ttyname_r.c: Likewise.
33519         * io/umask.c: Likewise.
33520         * io/unlink.c: Likewise.
33521         * io/unlinkat.c: Likewise.
33522         * io/utime.c: Likewise.
33523         * io/utimensat.c: Likewise.
33524         * io/write.c: Likewise.
33525         * io/xmknod.c: Likewise.
33526         * io/xmknodat.c: Likewise.
33527         * io/xstat.c: Likewise.
33528         * io/xstat64.c: Likewise.
33529         * login/getpt.c: Likewise.
33530         * login/grantpt.c: Likewise.
33531         * login/unlockpt.c: Likewise.
33532         * math/e_acoshl.c: Likewise.
33533         * math/e_acosl.c: Likewise.
33534         * math/e_asinl.c: Likewise.
33535         * math/e_atan2l.c: Likewise.
33536         * math/e_atanhl.c: Likewise.
33537         * math/e_coshl.c: Likewise.
33538         * math/e_expl.c: Likewise.
33539         * math/e_fmodl.c: Likewise.
33540         * math/e_gammal_r.c: Likewise.
33541         * math/e_hypotl.c: Likewise.
33542         * math/e_j0l.c: Likewise.
33543         * math/e_j1l.c: Likewise.
33544         * math/e_jnl.c: Likewise.
33545         * math/e_lgammal_r.c: Likewise.
33546         * math/e_log10l.c: Likewise.
33547         * math/e_log2l.c: Likewise.
33548         * math/e_logl.c: Likewise.
33549         * math/e_powl.c: Likewise.
33550         * math/e_rem_pio2l.c: Likewise.
33551         * math/e_sinhl.c: Likewise.
33552         * math/e_sqrtl.c: Likewise.
33553         * math/fclrexcpt.c: Likewise.
33554         * math/fedisblxcpt.c: Likewise.
33555         * math/feenablxcpt.c: Likewise.
33556         * math/fegetenv.c: Likewise.
33557         * math/fegetexcept.c: Likewise.
33558         * math/fegetround.c: Likewise.
33559         * math/feholdexcpt.c: Likewise.
33560         * math/fesetenv.c: Likewise.
33561         * math/fesetround.c: Likewise.
33562         * math/feupdateenv.c: Likewise.
33563         * math/fgetexcptflg.c: Likewise.
33564         * math/fraiseexcpt.c: Likewise.
33565         * math/fsetexcptflg.c: Likewise.
33566         * math/ftestexcept.c: Likewise.
33567         * math/k_cosl.c: Likewise.
33568         * math/k_rem_pio2l.c: Likewise.
33569         * math/k_sinl.c: Likewise.
33570         * math/k_tanl.c: Likewise.
33571         * math/s_asinhl.c: Likewise.
33572         * math/s_atanl.c: Likewise.
33573         * math/s_cbrtl.c: Likewise.
33574         * math/s_erfl.c: Likewise.
33575         * math/s_expm1l.c: Likewise.
33576         * math/s_log1pl.c: Likewise.
33577         * math/s_tanhl.c: Likewise.
33578         * misc/acct.c: Likewise.
33579         * misc/brk.c: Likewise.
33580         * misc/chflags.c: Likewise.
33581         * misc/chroot.c: Likewise.
33582         * misc/fchflags.c: Likewise.
33583         * misc/fgetxattr.c: Likewise.
33584         * misc/flistxattr.c: Likewise.
33585         * misc/fremovexattr.c: Likewise.
33586         * misc/fsetxattr.c: Likewise.
33587         * misc/fsync.c: Likewise.
33588         * misc/ftruncate.c: Likewise.
33589         * misc/futimes.c: Likewise.
33590         * misc/futimesat.c: Likewise.
33591         * misc/getdomain.c: Likewise.
33592         * misc/getdtsz.c: Likewise.
33593         * misc/gethostid.c: Likewise.
33594         * misc/gethostname.c: Likewise.
33595         * misc/getloadavg.c: Likewise.
33596         * misc/getpagesize.c: Likewise.
33597         * misc/getsysstats.c: Likewise.
33598         * misc/getxattr.c: Likewise.
33599         * misc/gtty.c: Likewise.
33600         * misc/ioctl.c: Likewise.
33601         * misc/lgetxattr.c: Likewise.
33602         * misc/listxattr.c: Likewise.
33603         * misc/llistxattr.c: Likewise.
33604         * misc/lremovexattr.c: Likewise.
33605         * misc/lsetxattr.c: Likewise.
33606         * misc/lutimes.c: Likewise.
33607         * misc/madvise.c: Likewise.
33608         * misc/mincore.c: Likewise.
33609         * misc/mlock.c: Likewise.
33610         * misc/mlockall.c: Likewise.
33611         * misc/mmap.c: Likewise.
33612         * misc/mprotect.c: Likewise.
33613         * misc/msync.c: Likewise.
33614         * misc/munlock.c: Likewise.
33615         * misc/munlockall.c: Likewise.
33616         * misc/munmap.c: Likewise.
33617         * misc/preadv.c: Likewise.
33618         * misc/preadv64.c: Likewise.
33619         * misc/ptrace.c: Likewise.
33620         * misc/pwritev.c: Likewise.
33621         * misc/pwritev64.c: Likewise.
33622         * misc/readv.c: Likewise.
33623         * misc/reboot.c: Likewise.
33624         * misc/remap_file_pages.c: Likewise.
33625         * misc/removexattr.c: Likewise.
33626         * misc/revoke.c: Likewise.
33627         * misc/select.c: Likewise.
33628         * misc/setdomain.c: Likewise.
33629         * misc/setegid.c: Likewise.
33630         * misc/seteuid.c: Likewise.
33631         * misc/sethostid.c: Likewise.
33632         * misc/sethostname.c: Likewise.
33633         * misc/setregid.c: Likewise.
33634         * misc/setreuid.c: Likewise.
33635         * misc/setxattr.c: Likewise.
33636         * misc/sstk.c: Likewise.
33637         * misc/stty.c: Likewise.
33638         * misc/swapoff.c: Likewise.
33639         * misc/swapon.c: Likewise.
33640         * misc/sync.c: Likewise.
33641         * misc/syncfs.c: Likewise.
33642         * misc/syscall.c: Likewise.
33643         * misc/truncate.c: Likewise.
33644         * misc/ualarm.c: Likewise.
33645         * misc/usleep.c: Likewise.
33646         * misc/ustat.c: Likewise.
33647         * misc/utimes.c: Likewise.
33648         * misc/vhangup.c: Likewise.
33649         * misc/writev.c: Likewise.
33650         * posix/_exit.c: Likewise.
33651         * posix/alarm.c: Likewise.
33652         * posix/execve.c: Likewise.
33653         * posix/fexecve.c: Likewise.
33654         * posix/fork.c: Likewise.
33655         * posix/fpathconf.c: Likewise.
33656         * posix/getaddrinfo.c: Likewise.
33657         * posix/getegid.c: Likewise.
33658         * posix/geteuid.c: Likewise.
33659         * posix/getgid.c: Likewise.
33660         * posix/getgroups.c: Likewise.
33661         * posix/getlogin.c: Likewise.
33662         * posix/getlogin_r.c: Likewise.
33663         * posix/getpgid.c: Likewise.
33664         * posix/getpid.c: Likewise.
33665         * posix/getppid.c: Likewise.
33666         * posix/getresgid.c: Likewise.
33667         * posix/getresuid.c: Likewise.
33668         * posix/getsid.c: Likewise.
33669         * posix/getuid.c: Likewise.
33670         * posix/glob64.c: Likewise.
33671         * posix/nanosleep.c: Likewise.
33672         * posix/pathconf.c: Likewise.
33673         * posix/pause.c: Likewise.
33674         * posix/posix_madvise.c: Likewise.
33675         * posix/pread.c: Likewise.
33676         * posix/pread64.c: Likewise.
33677         * posix/pwrite.c: Likewise.
33678         * posix/pwrite64.c: Likewise.
33679         * posix/sched_getaffinity.c: Likewise.
33680         * posix/sched_getp.c: Likewise.
33681         * posix/sched_gets.c: Likewise.
33682         * posix/sched_primax.c: Likewise.
33683         * posix/sched_primin.c: Likewise.
33684         * posix/sched_rr_gi.c: Likewise.
33685         * posix/sched_setaffinity.c: Likewise.
33686         * posix/sched_setp.c: Likewise.
33687         * posix/sched_sets.c: Likewise.
33688         * posix/sched_yield.c: Likewise.
33689         * posix/setgid.c: Likewise.
33690         * posix/setlogin.c: Likewise.
33691         * posix/setpgid.c: Likewise.
33692         * posix/setresgid.c: Likewise.
33693         * posix/setresuid.c: Likewise.
33694         * posix/setsid.c: Likewise.
33695         * posix/setuid.c: Likewise.
33696         * posix/sleep.c: Likewise.
33697         * posix/spawni.c: Likewise.
33698         * posix/sysconf.c: Likewise.
33699         * posix/times.c: Likewise.
33700         * posix/wait.c: Likewise.
33701         * posix/wait3.c: Likewise.
33702         * posix/wait4.c: Likewise.
33703         * posix/waitpid.c: Likewise.
33704         * resolv/gai_sigqueue.c: Likewise.
33705         * resource/getpriority.c: Likewise.
33706         * resource/getrlimit.c: Likewise.
33707         * resource/getrusage.c: Likewise.
33708         * resource/nice.c: Likewise.
33709         * resource/setpriority.c: Likewise.
33710         * resource/setrlimit.c: Likewise.
33711         * resource/ulimit.c: Likewise.
33712         * rt/aio_cancel.c: Likewise.
33713         * rt/aio_fsync.c: Likewise.
33714         * rt/aio_read.c: Likewise.
33715         * rt/aio_sigqueue.c: Likewise.
33716         * rt/aio_suspend.c: Likewise.
33717         * rt/aio_write.c: Likewise.
33718         * rt/clock_getres.c: Likewise.
33719         * rt/clock_gettime.c: Likewise.
33720         * rt/clock_nanosleep.c: Likewise.
33721         * rt/clock_settime.c: Likewise.
33722         * rt/lio_listio.c: Likewise.
33723         * rt/mq_close.c: Likewise.
33724         * rt/mq_getattr.c: Likewise.
33725         * rt/mq_notify.c: Likewise.
33726         * rt/mq_open.c: Likewise.
33727         * rt/mq_receive.c: Likewise.
33728         * rt/mq_send.c: Likewise.
33729         * rt/mq_setattr.c: Likewise.
33730         * rt/mq_timedreceive.c: Likewise.
33731         * rt/mq_timedsend.c: Likewise.
33732         * rt/mq_unlink.c: Likewise.
33733         * rt/shm_open.c: Likewise.
33734         * rt/shm_unlink.c: Likewise.
33735         * rt/timer_create.c: Likewise.
33736         * rt/timer_delete.c: Likewise.
33737         * rt/timer_getoverr.c: Likewise.
33738         * rt/timer_gettime.c: Likewise.
33739         * rt/timer_settime.c: Likewise.
33740         * setjmp/__longjmp.c: Likewise.
33741         * setjmp/setjmp.c: Likewise.
33742         * signal/kill.c: Likewise.
33743         * signal/killpg.c: Likewise.
33744         * signal/raise.c: Likewise.
33745         * signal/sigaction.c: Likewise.
33746         * signal/sigaltstack.c: Likewise.
33747         * signal/sigblock.c: Likewise.
33748         * signal/sigignore.c: Likewise.
33749         * signal/sigintr.c: Likewise.
33750         * signal/signal.c: Likewise.
33751         * signal/sigpause.c: Likewise.
33752         * signal/sigpending.c: Likewise.
33753         * signal/sigqueue.c: Likewise.
33754         * signal/sigreturn.c: Likewise.
33755         * signal/sigset.c: Likewise.
33756         * signal/sigsetmask.c: Likewise.
33757         * signal/sigstack.c: Likewise.
33758         * signal/sigsuspend.c: Likewise.
33759         * signal/sigtimedwait.c: Likewise.
33760         * signal/sigvec.c: Likewise.
33761         * signal/sigwait.c: Likewise.
33762         * signal/sigwaitinfo.c: Likewise.
33763         * signal/sysv_signal.c: Likewise.
33764         * socket/accept.c: Likewise.
33765         * socket/accept4.c: Likewise.
33766         * socket/bind.c: Likewise.
33767         * socket/connect.c: Likewise.
33768         * socket/getpeername.c: Likewise.
33769         * socket/getsockname.c: Likewise.
33770         * socket/getsockopt.c: Likewise.
33771         * socket/isfdtype.c: Likewise.
33772         * socket/listen.c: Likewise.
33773         * socket/recv.c: Likewise.
33774         * socket/recvfrom.c: Likewise.
33775         * socket/recvmsg.c: Likewise.
33776         * socket/send.c: Likewise.
33777         * socket/sendmsg.c: Likewise.
33778         * socket/sendto.c: Likewise.
33779         * socket/setsockopt.c: Likewise.
33780         * socket/shutdown.c: Likewise.
33781         * socket/sockatmark.c: Likewise.
33782         * socket/socket.c: Likewise.
33783         * socket/socketpair.c: Likewise.
33784         * stdio-common/ctermid.c: Likewise.
33785         * stdio-common/cuserid.c: Likewise.
33786         * stdio-common/remove.c: Likewise.
33787         * stdio-common/rename.c: Likewise.
33788         * stdio-common/renameat.c: Likewise.
33789         * stdio-common/tempname.c: Likewise.
33790         * stdlib/getcontext.c: Likewise.
33791         * stdlib/makecontext.c: Likewise.
33792         * stdlib/setcontext.c: Likewise.
33793         * stdlib/swapcontext.c: Likewise.
33794         * stdlib/system.c: Likewise.
33795         * streams/fattach.c: Likewise.
33796         * streams/fdetach.c: Likewise.
33797         * streams/getmsg.c: Likewise.
33798         * streams/getpmsg.c: Likewise.
33799         * streams/putmsg.c: Likewise.
33800         * streams/putpmsg.c: Likewise.
33801         * sysdeps/unix/bsd/getpt.c: Likewise.
33802         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33803         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33804         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33806         Likewise.
33807         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33808         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33809         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33810         * sysvipc/msgctl.c: Likewise.
33811         * sysvipc/msgget.c: Likewise.
33812         * sysvipc/msgrcv.c: Likewise.
33813         * sysvipc/msgsnd.c: Likewise.
33814         * sysvipc/semctl.c: Likewise.
33815         * sysvipc/semget.c: Likewise.
33816         * sysvipc/semop.c: Likewise.
33817         * sysvipc/semtimedop.c: Likewise.
33818         * sysvipc/shmat.c: Likewise.
33819         * sysvipc/shmctl.c: Likewise.
33820         * sysvipc/shmdt.c: Likewise.
33821         * sysvipc/shmget.c: Likewise.
33822         * termios/tcdrain.c: Likewise.
33823         * termios/tcflow.c: Likewise.
33824         * termios/tcflush.c: Likewise.
33825         * termios/tcgetattr.c: Likewise.
33826         * termios/tcgetpgrp.c: Likewise.
33827         * termios/tcsendbrk.c: Likewise.
33828         * termios/tcsetattr.c: Likewise.
33829         * termios/tcsetpgrp.c: Likewise.
33830         * time/adjtime.c: Likewise.
33831         * time/clock.c: Likewise.
33832         * time/getitimer.c: Likewise.
33833         * time/gettimeofday.c: Likewise.
33834         * time/setitimer.c: Likewise.
33835         * time/settimeofday.c: Likewise.
33836         * time/stime.c: Likewise.
33837         * time/time.c: Likewise.
33839 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33841         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33842         /usr/old/bin.
33844         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33845         instead of spaces.
33846         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33848 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33850         [BZ #14796]
33851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33852         FE_TONEAREST before applying Dekker multiplication and Knuth
33853         addition.  Clear inexact exceptions and check for exact zero
33854         results afterwards.
33855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33856         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33857         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33858         * math/libm-test.inc (fma_test): Add more tests.
33859         (fma_test_towardzero): Likewise.
33860         (fma_test_downward): Likewise.
33861         (fma_test_upward): Likewise.
33862         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33863         function.
33864         (libc_fesetround): New macro.
33865         (libc_fesetroundf): Likewise.
33866         (libc_fesetroundl): Likewise.
33867         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33868         function.
33869         (libc_fesetround_387): Likewise.
33870         (libc_fesetroundf): New macro.
33871         (libc_fesetround): Likewise.
33872         (libc_fesetroundl): Likewise.
33873         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33874         function.
33875         (libc_fesetroundf): New macro.
33876         (libc_fesetround): Likewise.
33877         (libc_fesetroundl): Likewise.
33878         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33879         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33880         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33881         libm_hidden_ver.
33882         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33883         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33884         libm_hidden_def.
33885         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33886         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33887         libm_hidden_ver.
33888         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33889         libm_hidden_def.
33891         [BZ #3439]
33892         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33893         integer constant usable in #if and use that to give value to enum
33894         constant.
33895         (FE_DIVBYZERO): Likewise.
33896         (FE_UNDERFLOW): Likewise.
33897         (FE_OVERFLOW): Likewise.
33898         (FE_INVALID): Likewise.
33899         (FE_INVALID_SNAN): Likewise.
33900         (FE_INVALID_ISI): Likewise.
33901         (FE_INVALID_IDI): Likewise.
33902         (FE_INVALID_ZDZ): Likewise.
33903         (FE_INVALID_IMZ): Likewise.
33904         (FE_INVALID_COMPARE): Likewise.
33905         (FE_INVALID_SOFTWARE): Likewise.
33906         (FE_INVALID_SQRT): Likewise.
33907         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33908         (FE_TONEAREST): Likewise.
33909         (FE_TOWARDZERO): Likewise.
33910         (FE_UPWARD): Likewise.
33911         (FE_DOWNWARD): Likewise.
33912         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33913         (FE_DIVBYZERO): Likewise.
33914         (FE_OVERFLOW): Likewise.
33915         (FE_UNDERFLOW): Likewise.
33916         (FE_INEXACT): Likewise.
33917         (FE_TONEAREST): Likewise.
33918         (FE_DOWNWARD): Likewise.
33919         (FE_UPWARD): Likewise.
33920         (FE_TOWARDZERO): Likewise.
33921         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33922         (FE_UNDERFLOW): Likewise.
33923         (FE_OVERFLOW): Likewise.
33924         (FE_DIVBYZERO): Likewise.
33925         (FE_INVALID): Likewise.
33926         (FE_TONEAREST): Likewise.
33927         (FE_TOWARDZERO): Likewise.
33928         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33929         (FE_OVERFLOW): Likewise.
33930         (FE_UNDERFLOW): Likewise.
33931         (FE_DIVBYZERO): Likewise.
33932         (FE_INEXACT): Likewise.
33933         (FE_TONEAREST): Likewise.
33934         (FE_TOWARDZERO): Likewise.
33935         (FE_UPWARD): Likewise.
33936         (FE_DOWNWARD): Likewise.
33937         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33938         (FE_DIVBYZERO): Likewise.
33939         (FE_OVERFLOW): Likewise.
33940         (FE_UNDERFLOW): Likewise.
33941         (FE_INEXACT): Likewise.
33942         (FE_TONEAREST): Likewise.
33943         (FE_DOWNWARD): Likewise.
33944         (FE_UPWARD): Likewise.
33945         (FE_TOWARDZERO): Likewise.
33947 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33949         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33951 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33953         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33954         commands.  Quote $PWD.
33955         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33956         -x" by "export".
33957         (remove_newlines): Remove.
33959 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33961         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33962         * stdlib/stdlib.h (atof): Moved to ...
33963         * include/bits/stdlib-float.h: Here.  New file.
33964         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33965         * stdlib/bits/stdlib-float.h: New file.
33966         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33967         -mno-sse -mno-mmx.
33968         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33969         <xmmintrin.h>.
33971 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33973         * conform/conformtest.pl (@headers): Add fenv.h.
33974         * conform/data/fenv.h-data: New file.
33975         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33976         include of <math/fenv.h>.
33978         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33979         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33980         && !UNIX98].  Enables tests for XOPEN2K8.
33981         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33982         POSIX2008]: Likewise.
33984         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33985         (struct rusage): Do not expect type or its members.
33987         [BZ #3439]
33988         * math/math.h (FP_NAN): Define macro to integer constant usable in
33989         #if and use that to give value to enum constant.
33990         (FP_INFINITE): Likewise.
33991         (FP_ZERO): Likewise.
33992         (FP_SUBNORMAL): Likewise.
33993         (FP_NORMAL): Likewise.
33995 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33997         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33998         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33999         arguments.
34001 2012-11-02  Roland McGrath  <roland@hack.frob.com>
34003         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34004         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34005         autoconf-time if not.
34006         * configure.in: Remove AC_PREREQ.
34008 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34010         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34011         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34012         of the internal implementation.
34014 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
34016         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34017         except include of <misc/sys/syslog.h>.
34019 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34022         function returns with a NULL context exit with zero.
34024 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34026         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34028 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
34030         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34031         (run_program_cmd): This.
34032         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34033         (tst_langinfo): New variable.  Use it.
34035 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
34037         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34038         floating point opcodes.
34040 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34042         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34043         variable.
34045         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34047         * sysdeps/mach/hurd/powerpc: Remove directory.
34048         * sysdeps/mach/powerpc: Likewise.
34050 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
34052         * scripts/check-local-headers.sh: Ignore c++ headers.
34054 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34056         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34057         __libc_cleanup_region_start argument.
34059 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
34061         [BZ #14784]
34062         [BZ #14785]
34063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34064         x * y using scaling, not as x * y + z.
34065         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34066         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34067         * math/libm-test.inc (fma_test): Add more tests.
34068         (fma_test_towardzero): Likewise.
34069         (fma_test_downward): Likewise.
34070         (fma_test_upward): Likewise.
34072 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
34074         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34076 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34078         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34079         New variable.
34081 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
34083         * rt/tst-shm.c (worker): Correct checking for mmap failure.
34085 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34088         Fix sort order.
34089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34090         Likewise.
34092 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34095         Fix the order of the list for glibc 2.17.
34096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34097         Likewise.
34099 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
34101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34103 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
34105         [BZ #14610]
34106         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34107         for low part of x being zero before using __atanl (y).
34108         * math/libm-test.inc (atan2_test): Add another test.
34110         * manual/install.texi (Configuring and compiling): Document
34111         general use of test-wrapper and test-wrapper-env.
34112         * INSTALL: Regenerated.
34114         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34115         (__fma): Do not extract and scale down low bits on after-rounding
34116         systems when result rounded to normal precision would have normal
34117         exponent.
34118         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34119         (__fmal): Do not extract and scale down low bits on after-rounding
34120         systems when result rounded to normal precision would have normal
34121         exponent.
34122         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34123         (__fmal): Do not extract and scale down low bits on after-rounding
34124         systems when result rounded to normal precision would have normal
34125         exponent.
34126         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34127         macro.
34128         (fma_test): Add more tests.
34129         (fma_test_towardzero): Likewise.
34130         (fma_test_downward): Likewise.
34131         (fma_test_upward): Likewise.
34133 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
34135         * sysdeps/i386/tininess.h: Renamed to ...
34136         * sysdeps/x86/tininess.h: This.
34137         * sysdeps/x86_64/tininess.h: Removed.
34139 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34141         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34142         input.  Use $(build-program-cmd).
34143         ($(objpfx)tst-array1-static.out): Likewise.
34144         ($(objpfx)tst-array2.out): Likewise.
34145         ($(objpfx)tst-array3.out): Likewise.
34146         ($(objpfx)tst-array4.out): Likewise.
34147         ($(objpfx)tst-array5.out): Likewise.
34148         ($(objpfx)tst-array5-static.out): Likewise.
34150 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
34152         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34153         if defined.
34155         * nss/nsswitch.h (nss_interface_function): Provide new
34156         macro for use with NSS functions.
34157         * grp/initgroups.c: Use new macro.
34158         * nss/getXXbyYY.c: Likewise.
34159         * nss/getXXbyYY_r.c: Likewise.
34160         * nss/getXXent.c: Likewise.
34161         * nss/getXXent_r.c: Likewise.
34162         * sysdeps/posix/getaddrinfo.c: Likewise.
34164 2012-10-30  Andreas Jaeger  <aj@suse.de>
34166         * po/ru.po: Update Russion translation from translation project.
34168 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
34170         [BZ #14152]
34171         [BZ #14783]
34172         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34173         result and shift together with sticky bit instead of replicating
34174         round-to-nearest rounding.
34175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34177         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
34178         missing underflow exceptions.
34179         (fma_test_towardzero): Add more tests.
34180         (fma_test_downward): Likewise.
34181         (fma_test_upward): Likewise.
34183         [BZ #14047]
34184         * sysdeps/generic/tininess.h: New file.
34185         * sysdeps/i386/tininess.h: Likewise.
34186         * sysdeps/sh/tininess.h: Likewise.
34187         * sysdeps/x86_64/tininess.h: Likewise.
34188         * stdlib/tst-strtod-underflow.c: Likewise.
34189         * stdlib/tst-tininess.c: Likewise.
34190         * stdlib/strtod_l.c: Include <tininess.h>.
34191         (round_and_return): Do not set errno for exact underflow cases.
34192         Force an underflow exception when setting errno for underflow.
34193         Determine underflow based on rounding to normal precision if
34194         TININESS_AFTER_ROUNDING.
34195         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34196         ERANGE for exact underflow cases.
34197         * stdlib/Makefile (tests): Add tst-tininess and
34198         tst-strtod-underflow.
34199         ($(objpfx)tst-tininess): Use $(link-libm).
34200         ($(objpfx)tst-strtod-underflow): Likewise.
34202 2012-10-30  Andreas Jaeger  <aj@suse.de>
34204         [BZ#14767]
34205         * elf/Makefile (tests): Remove conditional for have-initfini-array
34206         since this is now always required and the variable does not exist
34207         anymore.
34208         (tests-static): Likewise.
34209         (modules-names): Likewise.
34211         * po/eo.po: Add Esperanto translation from translation project.
34213         * elf/tst-array1.c (fini_array): Make writeable so that it can be
34214         merged with constructor/destructor.
34215         (init_array): Likewise.
34216         * elf/tst-array2dep.c (fini_array): Likewise.
34217         (init_array): Likewise.
34219 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
34221         * manual/message.texi: Delete @cartouche tags.
34223 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
34225         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34226         EOPNOTSUPP.
34227         * sysdeps/mach/hurd/fsync.c: Likewise.
34229         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34230         [_POSIX_REALTIME_SIGNALS]: Change condition to
34231         [_POSIX_REALTIME_SIGNALS > 0].
34233 2012-10-27  Andreas Jaeger  <aj@suse.de>
34235         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34236         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34238         [__WORDSIZE != 64]: Likewise.
34240 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
34242         *  iconvdata/tst-table.sh: Remove ${SHELL}.
34243         *  iconvdata/tst-tables.sh: Likewise.
34245 2012-10-25  David S. Miller  <davem@davemloft.net>
34247         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34248         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34249         of strtoull.
34251         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34252         ifunc-impl-list.c
34253         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34254         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34255         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34256         file.
34258 2012-10-25  Roland McGrath  <roland@hack.frob.com>
34260         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34261         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34262         __getdirentries.
34264 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34265             Jim Blandy  <jimb@codesourcery.com>
34267         * scripts/cross-test-ssh.sh: New file.
34268         * manual/install.texi (Configuring and compiling): Document use of
34269         cross-test-ssh.sh.
34270         * INSTALL: Regenerated.
34272 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
34274         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34275         EOPNOTSUPP.
34277 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
34279         * Makeconfig (run-program-prefix): Fix comment.
34281 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34282             Jim Blandy  <jimb@codesourcery.com>
34284         * Makeconfig (test-wrapper): New variable,
34285         (test-wrapper-env): Likewise.
34286         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34287         (run-built-tests): Define to yes.
34288         (run-program-prefix): Use $(test-wrapper).
34289         (built-program-cmd): Likewise.
34290         * Rules (make-test-out): Use $(test-wrapper-env) and
34291         $(host-built-program-cmd).
34292         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34293         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34294         tst-pathopt.sh.
34295         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34296         $(test-wrapper-env) to tst-rtld-load-self.sh.
34297         ($(objpfx)order2.out): Use $(test-wrapper).
34298         ($(objpfx)tst-initorder.out): Likewise.
34299         ($(objpfx)tst-initorder2.out): Likewise.
34300         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34301         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34302         (test_wrapper_env): New variable.  Use it to run ld.so.
34303         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34304         Use it to run ld.so.
34305         (test_wrapper_env): Likewise.
34306         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34307         $(test-wrapper) to run-iconv-test.sh.
34308         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34309         (ICONV): Use $test_wrapper.
34310         * posix/Makefile ($(objpfx)globtest.out): Pass
34311         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34312         globtest.sh, not $(run-program-prefix).
34313         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34314         (test_wrapper): Likewise.
34315         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34316         set together with run_via_rtld_prefix.
34317         (run_program_prefix): Define in terms of test_wrapper and
34318         run_via_rtld_prefix.
34320 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34322         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34323         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34324         Targets removed.
34326         [BZ #14743]
34327         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34328         Declare __clock_getres, __clock_gettime, __clock_settime,
34329         __clock_nanosleep, and __clock_getcpuclockid.
34330         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34331         Remove librt_hidden_def (clock_gettime).
34332         * sysdeps/unix/clock_gettime.c: Likewise.
34333         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34334         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34335         * rt/clock_getres.c: Define __clock_getres as an alias.
34336         * sysdeps/posix/clock_getres.c: Likewise.
34337         * rt/clock_settime.c: Define __clock_settime as an alias.
34338         * sysdeps/unix/clock_settime.c: Likewise.
34339         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34340         * sysdeps/unix/clock_nanosleep.c: Likewise.
34341         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34342         * rt/clock-compat.c: New file.
34343         * rt/Makefile (librt-routines): Add clock-compat and move
34344         $(clock-routines) to ...
34345         (routines): ... here, new variable.
34346         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34347         Don't add get_clockfreq here.
34348         * rt/Versions (libc: GLIBC_2.17): New version set.
34349         Add clock_* symbols here.
34350         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34351         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34352         (GLIBC_2.17): Add clock_* symbols.
34353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34355         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34357         Likewise.
34358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34359         Likewise.
34360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34363         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34364         * NEWS: Mention the move.
34366         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34367         Use __open, __read, __close rather than their public counterparts.
34368         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34369         (__get_clockfreq_via_cpuinfo): Likewise.
34370         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34371         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34373         * config.h.in (HAVE_IFUNC): New #undef.
34374         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34375         was successful.
34376         * configure: Regenerated.
34378 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34380         * configure.in: Move READELF check to start of file.
34381         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34382         libc_cv_asm_gnu_indirect_function in the process.
34383         * configure: Regenerated.
34385 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34387         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34388         send the output to /dev/null.
34389         (libc_cv_cc_with_libunwind): Likewise.
34390         (libc_cv_as_noexecstack): Likewise.
34391         * configure: Regenerate.
34393 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34395         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34397         * posix/globtest.sh (TMPDIR): Do not set.
34398         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34399         (testout): Likewise.
34401 2012-10-24  Andreas Jaeger  <aj@suse.de>
34403         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34404         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34405         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34406         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34407         posix_fadvise64, posix_fallocate64.
34409         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34410         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34411         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34412         Likewise.
34413         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34414         Likewise.
34415         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34417         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34418         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34419         <bits/fcntl-linux.h>.
34420         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34423         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34424         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34425         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34426         [__WORDSIZE != 64]: Likewise.
34428 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34430         * Makeconfig (run-built-tests): New variable.
34431         * Rules [$(cross-compiling) = yes]: Change condition to
34432         [$(run-built-tests) = no].
34433         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34434         to [$(run-built-tests) = yes].
34435         * elf/Makefile [$(cross-compiling) = no]: Likewise
34436         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34437         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34438         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34439         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34440         * io/Makefile [$(cross-compiling) = no]: Likewise.
34441         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34442         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34443         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34444         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34445         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34446         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34447         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34448         * string/Makefile [$(cross-compiling) = no]: Likewise.
34450         * posix/Makefile ($(objpfx)globtest.out): Pass
34451         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34452         $(rtld-installed-name).
34453         * posix/globtest.sh (elf_objpfx): Remove variable.
34454         (rtld_installed_name): Likewise.
34455         (library_path): Likewise.
34456         (run_program_prefix): New variable.  Use for running globtest
34457         binary.
34459 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34460             Joseph Myers  <joseph@codesourcery.com>
34462         * Makeconfig (host-built-program-cmd): New variable.
34463         * elf/Makefile (tst-stackguard1-ARGS): Use
34464         $(host-built-program-cmd).
34465         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34466         (tst-spawn-ARGS): Likewise.
34467         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34469 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34470             Jim Blandy  <jimb@codesourcery.com>
34472         * Makeconfig (run-via-rtld-prefix): New variable.
34473         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34474         (built-program-cmd): Likewise.
34476 2012-10-22  Andreas Jaeger  <aj@suse.de>
34478         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34479         __O_RSYNC if it exists, otherwise to O_SYNC.
34481 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34482             Joseph Myers  <joseph@codesourcery.com>
34484         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34485         /dev/null.
34486         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34487         from /dev/null
34488         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34489         /dev/null.
34491 2012-10-22  Andreas Jaeger  <aj@suse.de>
34493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34494         Define always.
34495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34497         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34498         bits/fcntl-linux.h.
34500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34501         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34503         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34504         to __O_LARGEFILE.
34505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34506         to __O_LARGEFILE.
34508 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34509             Joseph Myers  <joseph@codesourcery.com>
34511         * config.make.in (NM): New variable.
34513 2012-10-21  Andreas Jaeger  <aj@suse.de>
34515         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34516         definitions and declarations that are provided by
34517         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34519 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34521         [BZ #14683]
34522         * elf/Makefile (tests-static): Add tst-leaks1-static.
34523         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34524         ($(objpfx)tst-leaks1-static): New rule.
34525         ($(objpfx)tst-leaks1-static-mem): Likewise.
34526         (tst-leaks1-static-ENV): New macro.
34527         * elf/dl-open.c (dl_open_worker): Check the main application
34528         only if SHARED is defined.
34529         * elf/tst-leaks1-static.c: New file.
34531 2012-10-20  Andreas Jaeger  <aj@suse.de>
34533         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34534         generic values for Linux.
34535         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34536         and declarations that are provided by <bits/fcntl-linux.h> and
34537         include <bits/fcntl-linux.h>.
34538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34539         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34541 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34543         * io/fcntl.h: Move include of <bits/types.h> to the top and
34544         include it unconditionally.
34546 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34548         * wcsmbs/Makefile (tests-ifunc): New variable.
34549         (tests): Add $(tests-ifunc).
34550         * wcsmbs/test-wcschr-ifunc.c: New file.
34551         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34552         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34553         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34554         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34555         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34557         * string/Makefile (tests-ifunc): New variable.
34558         (tests): Add $(tests-ifunc).
34559         * string/test-memccpy.c (TEST_NAME): New macro.
34560         * string/test-memchr.c (TEST_NAME): Likewise.
34561         * string/test-memcmp.c (TEST_NAME): Likewise.
34562         * string/test-memcpy.c (TEST_NAME): Likewise.
34563         * string/test-memmem.c (TEST_NAME): Likewise.
34564         * string/test-memmove.c (TEST_NAME): Likewise.
34565         * string/test-memset.c (TEST_NAME): Likewise.
34566         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34567         * string/test-stpcpy.c (TEST_NAME): Likewise.
34568         * string/test-stpncpy.c (TEST_NAME): Likewise.
34569         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34570         * string/test-strcasestr.c (TEST_NAME): Likewise.
34571         * string/test-strcat.c (TEST_NAME): Likewise.
34572         * string/test-strchr.c (TEST_NAME): Likewise.
34573         * string/test-strcmp.c(TEST_NAME): Likewise.
34574         * string/test-strcpy.c (TEST_NAME): Likewise.
34575         * string/test-strcspn.c (TEST_NAME): Likewise.
34576         * string/test-strlen.c (TEST_NAME): Likewise.
34577         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34578         * string/test-strncmp.c (TEST_NAME): Likewise.
34579         * string/test-strncpy.c (TEST_NAME): Likewise.
34580         * string/test-strnlen.c (TEST_NAME): Likewise.
34581         * string/test-strpbrk.c (TEST_NAME): Likewise.
34582         * string/test-strrchr.c (TEST_NAME): Likewise.
34583         * string/test-strspn.c (TEST_NAME): Likewise.
34584         * string/test-strstr.c (TEST_NAME): Likewise.
34585         * string/test-bcopy-ifunc.c: New file.
34586         * string/test-bzero-ifunc.c: Likewise.
34587         * string/test-memccpy-ifunc.c: Likewise.
34588         * string/test-memchr-ifunc.c: Likewise.
34589         * string/test-memcmp-ifunc.c: Likewise.
34590         * string/test-memcpy-ifunc.c: Likewise.
34591         * string/test-memmem-ifunc.c: Likewise.
34592         * string/test-memmove-ifunc.c: Likewise.
34593         * string/test-mempcpy-ifunc.c: Likewise.
34594         * string/test-memset-ifunc.c: Likewise.
34595         * string/test-rawmemchr-ifunc.c: Likewise.
34596         * string/test-stpcpy-ifunc.c: Likewise.
34597         * string/test-stpncpy-ifunc.c: Likewise.
34598         * string/test-strcasecmp-ifunc.c: Likewise.
34599         * string/test-strcasestr-ifunc.c: Likewise.
34600         * string/test-strcat-ifunc.c: Likewise.
34601         * string/test-strchr-ifunc.c: Likewise.
34602         * string/test-strchrnul-ifunc.c: Likewise.
34603         * string/test-strcmp-ifunc.c: Likewise.
34604         * string/test-strcpy-ifunc.c: Likewise.
34605         * string/test-strcspn-ifunc.c: Likewise.
34606         * string/test-strlen-ifunc.c: Likewise.
34607         * string/test-strncasecmp-ifunc.c: Likewise.
34608         * string/test-strncat-ifunc.c: Likewise.
34609         * string/test-strncmp-ifunc.c: Likewise.
34610         * string/test-strncpy-ifunc.c: Likewise.
34611         * string/test-strnlen-ifunc.c: Likewise.
34612         * string/test-strpbrk-ifunc.c: Likewise.
34613         * string/test-strrchr-ifunc.c: Likewise.
34614         * string/test-strspn-ifunc.c: Likewise.
34615         * string/test-strstr-ifunc.c: Likewise.
34617         * debug/Makefile (tests-ifunc): New variable.
34618         (tests): Add $(tests-ifunc).
34619         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34620         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34621         * debug/test-stpcpy_chk-ifunc.c: New file.
34622         * debug/test-strcpy_chk-ifunc.c: Likewise.
34624 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34626         [BZ #13601]
34627         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34628         header is not read in.
34630 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34632         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34633         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34634         directly.  Pass built executable to script as
34635         $(built-program-cmd).
34636         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34637         $testprogram without using LD_LIBRARY_PATH and $ldso.
34639         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34640         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34641         $(rtld-installed-name).
34642         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34643         (rtld_installed_name): Likewise.
34644         (library_path): Likewise.
34645         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34646         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34647         $(run-program-prefix) to tst-tables.sh.
34648         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34649         it to run tst-table-from and tst-table-to.
34650         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34651         Pass it to tst-table.sh.
34652         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34653         $(run-program-prefix) to tst-gettext.sh.
34654         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34655         tst-translit.sh.
34656         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34657         tst-gettext2.sh.
34658         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34659         to run tst-gettext.
34660         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34661         to run tst-gettext2.
34662         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34663         to run tst-translit.
34664         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34665         $(run-program-prefix) to tst-mtrace.sh.
34666         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34667         to run tst-mtrace.
34668         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34669         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34670         $(rtld-installed-name).
34671         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34672         (rtld_installed_name): Likewise.
34673         (run_program_prefix): New variable.  Use it to run wordexp-test.
34675         * Makeconfig (ARCH): Remove all definitions.
34676         (machine): Likewise.
34677         [ARCH]: Remove conditional code.
34678         [!objdir]: Give error.
34679         [!objdir] (objpfx): Remove.
34680         [!objdir] (common-objpfx): Likewise.
34681         [!objdir] (common-objdir): Likewise.
34682         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34683         AC_CONFIG_FILES call.
34684         * configure: Regenerated.
34686         [BZ #13888]
34687         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34688         or TMPDIR.
34689         (testout): Likewise.
34691         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34692         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34693         $(rtld-installed-name).
34694         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34695         (rtld_installed_name): Likwise.
34696         (runit): Remove function.
34697         (run_getconf): New variable,  Use it for running getconf binary.
34699 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34701         [BZ #14716]
34702         * string/test-memmem.c (check_result): New function.
34703         (do_one_test): Use it.
34704         (check1): New function.
34705         (test_main): Use it.
34707 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34709         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34711 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34713         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34714         (_G_LSEEK64): Likewise.
34715         (_G_MMAP64): Likewise.
34716         (_G_FSTAT64): Likewise.
34717         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34718         (_G_LSEEK64): Likewise.
34719         (_G_MMAP64): Likewise.
34720         (_G_FSTAT64): Likewise.
34721         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34722         unconditional.  Call __mmap64 directly.
34723         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34724         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34725         __lseek64 directly.
34726         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34727         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34728         __mmap64 directly.
34729         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34730         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34731         __lseek64 directly.
34732         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34733         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34734         __lseek64 directly.
34735         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34736         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34737         __lseek64 directly.
34738         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34739         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34740         __fxstat64 directly.
34741         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34742         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34743         unconditional.
34744         (freopen64) [!_G_OPEN64]: Remove conditional code.
34745         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34746         unconditional.
34747         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34748         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34749         unconditional.
34750         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34751         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34752         unconditional.
34753         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34754         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34755         unconditional.
34756         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34757         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34758         unconditional.
34759         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34760         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34761         unconditional.
34762         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34763         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34764         unconditional.
34765         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34767 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34769         [BZ #12140]
34770         * manual/memory.texi (Malloc Tunable Parameters): Add note
34771         about free list pointers overwriting some perturb bytes.
34772         Wording suggested by Roland McGrath.
34774 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34776         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34777         (lgamma_test): Likewise.
34778         (tgamma_test): Likewise.
34780 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34782         [BZ #14700]
34783         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34784         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34786 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34788         * NEWS: Mention BZ #14716.
34789         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34790         when removing AVAILABLE1_USES_J macro.
34792 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34794         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34795         (__bswap_64): __uint64_t for unsigned 64-bit int.
34797 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34799         * include/string.h (memmem): Declare libc hidden alias.
34800         * string/memmem.c (memmem): Define libc hidden alias.
34801         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34802         __read, __close instead of open, read, close.
34804 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34807         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34808         global and hidden.
34809         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34810         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34811         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34812         Likewise.
34813         (__rawmemchr_sse2): Likewise.
34814         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34815         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34816         (__strchr_sse2): Likewise.
34817         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34818         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34819         (__strcasecmp_sse2): Likewise.
34820         (__strncasecmp_sse2): Likewise.
34821         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34822         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34823         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34824         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34825         (__strrchr_sse2): Likewise.
34826         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34827         ifunc-impl-list.c.
34828         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34829         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34830         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34831         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34832         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34834         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34835         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34836         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34837         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34838         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34839         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34840         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34841         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34842         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34843         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34844         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34845         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34846         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34847         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34848         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34849         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34850         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34851         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34852         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34853         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34854         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34855         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34856         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34857         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34859         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34860         global and hidden.
34861         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34862         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34863         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34864         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34865         Likewise.
34866         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34867         Likewise.
34868         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34869         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34870         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34871         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34872         ifunc-impl-list.c.
34873         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34874         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34875         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34876         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34877         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34878         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34879         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34880         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34881         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34882         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34883         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34884         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34885         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34886         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34887         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34888         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34889         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34890         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34891         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34892         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34893         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34894         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34895         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34896         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34897         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34898         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34899         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34900         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34901         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34902         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34903         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34904         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34905         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34906         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34907         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34908         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34909         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34910         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34911         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34912         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34913         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34915         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34916         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34917         * include/ifunc-impl-list.h: New file.
34918         * misc/ifunc-impl-list.c: Likewise.
34919         * misc/Makefile (routines): Add ifunc-impl-list.
34920         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34921         * string/test-string.h: Include <ifunc-impl-list.h>.
34922         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34923         TEST_NAME]: New variables.
34924         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34925         are defined.
34926         (test_init): Call __libc_ifunc_impl_list to initialize
34927         func_list if TEST_IFUNC and TEST_NAME are defined.
34929         * string/Makefile (strop-tests): Add bcopy and bzero.
34930         * string/test-bcopy.c: New file.
34931         * string/test-bzero.c: Likewise.
34932         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34933         defined.
34934         * string/test-memset.c: Support bzero test if TEST_BZERO is
34935         defined.
34936         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34937         __libc_memmove.
34938         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34939         __libc_memset.
34940         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34941         of memset.
34943 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34945         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34946         * configure: Regenerated.
34948         * Makeconfig (+link-static-before-libc): Don't include
34949         $(link-static-libc).
34951         * libio/libio.h (_IO_pos_t): Remove.
34953 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34955         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34956         McGrath.
34958 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34960         * crypt/crypt-entry.c: Include fips-private.h.
34961         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34962         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34963         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34964         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34966 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34968         * crypt/crypt-private.h: Include stdbool.h.
34969         (_ufc_setup_salt_r): Return bool.
34970         * crypt/crypt-entry.c: Include errno.h.
34971         (__crypt_r): Return NULL with EINVAL for bad salt.
34972         * crypt/crypt_util.c (bad_for_salt): New.
34973         (_ufc_setup_salt_r): Check that salt is long enough and within
34974         the specified alphabet.
34975         * crypt/badsalttest.c: New file.
34976         * crypt/Makefile (tests): Add it.
34977         ($(objpfx)badsalttest): New.
34979 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34981         * NEWS: Add entry for BZ #14602.
34983 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34985         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34986         type-generic.
34987         * math/libm-test.inc: Update comment listing what functions and
34988         macros are tested.
34989         (isgreater_test): New function.
34990         (isgreaterequal_test): Likewise.
34991         (isless_test): Likewise.
34992         (islessequal_test): Likewise.
34993         (islessgreater_test): Likewise.
34994         (isunordered_test): Likewise.
34995         (main): Call the new functions.
34997 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34999         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35000         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35001         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35002         * sysdeps/i386/configure: Regenerated.
35003         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35004         * sysdeps/mach/configure: Regenerated.
35005         * sysdeps/mach/hurd/configure: Regenerated.
35006         * sysdeps/powerpc/configure: Regenerated.
35007         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35008         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35009         * sysdeps/s390/s390-32/configure: Regenerated.
35010         * sysdeps/s390/s390-64/configure: Regenerated.
35011         * sysdeps/sh/configure: Regenerated.
35012         * sysdeps/sparc/configure: Regenerated.
35013         * sysdeps/unix/sysv/linux/configure: Regenerated.
35014         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35015         * sysdeps/x86_64/configure: Regenerated.
35017         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35018         defined.  Don't check if MAP is NULL.
35020 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
35022         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35023         (_G_stat64): Likewise.
35024         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35025         (_G_stat64): Likewise.
35026         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35027         instead of struct _G_stat64.
35028         * libio/fileops.c (mmap_remap_check): Likewise.
35029         (decide_maybe_mmap): Likewise.
35030         (_IO_new_file_seekoff): Likewise.
35031         (_IO_file_stat): Likewise.
35032         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35033         _G_off64_t.
35034         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35035         instead of struct _G_stat64.
35036         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35038 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
35040         [BZ #14602]
35041         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35042         Replace with ...
35043         (CHECK_EOL): New macro.
35044         (two_way_short_needle): Check beginning of haystack for EOL.  Use
35045         CHECK_EOL.
35046         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35047         Replace with CHECK_EOL.
35048         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35049         Replace with CHECK_EOL.
35051 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
35053         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35054         type-generic.
35055         * math/libm-test.inc: Update comment listing what functions and
35056         macros are tested.
35057         (finite_test): New function.
35058         (isinf_test): Likewise.
35059         (isnan_test): Likewise.
35060         (fpclassify_test): Test subnormal input.
35061         (isfinite_test): Likewise.
35062         (isnormal_test): Likewise.
35063         (main): Call the new functions.
35065 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
35067         [BZ #14660]
35068         * Makerules (%.dynsym): Force C locale when running
35069         $(OBJDUMP) --dynamic-syms.
35071 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
35073         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35074         <stdint.h>.
35076 2012-10-06  David S. Miller  <davem@davemloft.net>
35078         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35079         upper 32-bits of the length value in %o2 since we use branch-on-register
35080         tests which consider the entire 64-bit register.
35082 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
35084         * string/test-strstr.c (check2): Add a test for page boundary.
35086 2012-10-05  David S. Miller  <davem@davemloft.net>
35088         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35089         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35090         file.
35091         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35092         sysdep_routines.
35093         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35094         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35095         and bzero when HWCAP_SPARC_CRYPTO is present.
35097 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
35099         [BZ #14602]
35100         * string/test-strstr.c (check2): New function.
35101         (test_main): Call check2.
35103         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35104         and bug-strchr1.
35105         * string/bug-strcasestr1.c (do_test): Moved to ...
35106         * string/test-strcasestr.c (check1): Here.  New function.
35107         (do_one_test): Break out result checking code into ...
35108         (check_result): This.  New function.
35109         (do_one_test): Call check_result.
35110         (test_main): Call check1.
35111         * string/bug-strchr1.c (do_test): Moved to ...
35112         * string/test-strchr.c (check1): Here.  New function.
35113         (do_one_test): Break out result checking code into ...
35114         (check_result): This.  New function.
35115         (do_one_test): Call check_result.
35116         (test_main): Call check1.
35117         * string/bug-strstr1.c (main): Moved to ...
35118         * string/test-strstr.c (check1): Here.  New function.
35119         (do_one_test): Break out result checking code into ...
35120         (check_result): This.  New function.
35121         (do_one_test): Call check_result.
35122         (test_main): Call check1.
35123         * string/bug-strcasestr1.c: Removed.
35124         * string/bug-strchr1.c: Likewise.
35125         * string/bug-strstr1.c: Likewise.
35127         * elf/Makefile (dl-routines): Add hwcaps.
35128         * elf/dl-support.c (_dl_important_hwcaps): Removed.
35129         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35130         (_dl_important_hwcaps): Moved to ...
35131         * elf/dl-hwcaps.c: Here.  New file.
35132         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35134         [BZ #14557]
35135         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35136         if IS_IN_rtld isn't defined.
35138         * elf/dl-support.c (_dl_sysinfo_map): New.
35139         Include "get-dynamic-info.h" and "setup-vdso.h".
35140         (_dl_non_dynamic_init): Call setup_vdso.
35141         * elf/dynamic-link.h: Don't include <assert.h>.
35142         (elf_get_dynamic_info): Moved to ...
35143         * elf/get-dynamic-info.h: Here.  New file.
35144         * elf/dynamic-link.h: Include "get-dynamic-info.h".
35145         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35146         * elf/setup-vdso.h: Here.  New file.
35147         * elf/rtld.c: Include "setup-vdso.h".
35148         (dl_main): Call setup_vdso.
35150 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
35152         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35153         creal in comment listing functions tested.  List finite, isinf,
35154         isnan, isless, islessequal, isgreater, isgreaterequal,
35155         islessgreater, isunordered, lgamma_r and pow10 as functions and
35156         macros not tested.  Mention which functions not tested are aliases
35157         for other functions.  Fix typo.  Note that signs of NaNs are not
35158         tested.
35160         * scripts/config.guess: Update from config.git.
35161         * scripts/config.sub: Likewise.
35163 2012-10-04  Roland McGrath  <roland@hack.frob.com>
35165         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35166         * misc/madvise.c (madvise): Renamed to __madvise.
35167         Make madvise a weak alias.
35168         * include/sys/mman.h: Declare __madvise.
35169         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35170         * sysdeps/unix/syscalls.list
35171         (madvise): Make __madvise the strong name, and madvise a weak alias.
35172         * sysdeps/unix/sysv/linux/syscalls.list
35173         (madvise, mmap): Remove redundant entries.
35174         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35175         * malloc/malloc.c (mtrim): Likewise.
35176         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35178 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35180         * sysdeps/mach/hurd/dl-cache.c: File removed.
35181         * config.h.in (USE_LDCONFIG): New #undef.
35182         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35183         * configure: Regenerated.
35184         * elf/Makefile (dl-routines): Add dl-cache only under
35185         [$(use-ldconfig) = yes].
35186         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35187         cache on [USE_LDCONFIG].
35188         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35189         [USE_LDCONFIG].
35190         * elf/rtld.c (dl_main): Likewise.
35192 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
35194         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35195         _SC_LEVEL4_CACHE_LINESIZE.
35197 2012-10-03  Roland McGrath  <roland@hack.frob.com>
35199         * sysdeps/unix/bsd/confstr.h: File removed.
35201 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
35203         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35204         sys/sdt-config.h.
35206 2012-10-02  Roland McGrath  <roland@hack.frob.com>
35208         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35209         Make 'mapoff' field ElfW(Off) rather than off_t.
35211 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
35213         * nscd/Makefile: Remove nscd-cflags and all its users.
35214         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35215         (CFLAGS-nonlib): Add compiler flags for nscd modules.
35217         [BZ #10631]
35218         * malloc.c (malloc_printerr): Clarify error message.
35220 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
35222         [BZ #14648]
35223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35224         Set bit_FMA_Usable if FMA is supported.
35225         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35226         macro.
35227         (bit_FMA4_Usable): Updated.
35228         (index_FMA_Usable): New macro.
35229         (CPUID_FMA): Likewise
35230         (HAS_FMA): Defined with bit_FMA_Usable.
35232 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35234         * bits/types.h (__swblk_t): Type removed.
35235         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35236         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35237         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35238         (__SWBLK_T_TYPE): Likewise.
35239         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35240         (__SWBLK_T_TYPE): Likewise.
35241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35242         (__SWBLK_T_TYPE): Likewise.
35243         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35244         (__SWBLK_T_TYPE): Likewise.
35246 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
35247             Honza Horak <hhorak@redhat.com>
35249         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35250         (xdr_mapname): Use YPMAXMAP as maxsize.
35251         (xdr_peername): Use YPMAXPEER as maxsize.
35252         (xdr_keydat): Use YPAXRECORD as maxsize.
35253         (xdr_valdat): Use YPMAXRECORD as maxsize.
35255 2012-10-01  Roland McGrath  <roland@hack.frob.com>
35257         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35259         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35260         * csu/init-first.c: ... here.
35261         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35262         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35263         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35264         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35265         * sysdeps/i386/init-first.c: File removed.
35266         * sysdeps/sh/init-first.c: File removed.
35268 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
35270         [BZ #14645]
35271         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35272         if x * y might underflow to zero and z is zero.
35273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35274         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35275         * math/libm-test.inc (min_subnorm_value): New variable.
35276         (fma_test): Add more tests.
35277         (fma_test_towardzero): Likewise.
35278         (fma_test_downward): Likewise
35279         (fma_test_upward): Likewise.
35280         (initialize): Set min_subnorm_value.
35282 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35284         [BZ #14638]
35285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35286         0 + 0.
35287         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35288         mode for addition resulting in exact zero.
35289         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35290         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35291         exact 0 + 0.
35292         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35293         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35294         * math/libm-test.inc (fma_test): Add more tests.
35295         (fma_test_towardzero): New function.
35296         (fma_test_downward): Likewise.
35297         (fma_test_upward): Likewise.
35298         (main): Call the new functions.
35300 2012-09-28  David S. Miller  <davem@davemloft.net>
35302         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35304 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35306         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35307         instead of SIGALRM.
35309         * sysdeps/gnu/_G_config.h: Moved to ...
35310         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35311         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35312         * sysdeps/generic/_G_config.h: ... here.
35314         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35316         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35318         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35319         Conditionalize target on [libnss_test1.so-version].
35321         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35323         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35324         (elfobjdir): Move out of conditionals.
35326         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35327         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35328         (__nss_lookup_function): Conditionalize label remove_from_tree on
35329         [!DO_STATIC_NSS || SHARED], matching its only use.
35331 2012-09-28  David S. Miller  <davem@davemloft.net>
35333         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35334         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35335         file.
35336         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35337         sysdep_routines.
35338         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35339         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35340         when HWCAP_SPARC_CRYPTO is present.
35342 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35344         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35346 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35348         [BZ #6530]
35349         * stdio-common/vfprintf.c (process_string_arg): Revert
35350         2000-07-22 change.
35352 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35354         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35355         for testcase.
35356         * stdio-common/tst-sprintf.c: Include <locale.h>
35357         (main): Test sprintf's handling of incomplete multibyte
35358         characters.
35360 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35362         * elf/dl-runtime.c (VERSYMIDX): Removed.
35363         * elf/dl-version.c (VERSYMIDX): Likewise.
35364         * elf/do-rel.h (VERSYMIDX): Likewise.
35365         (VALIDX): Likewise.
35366         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35367         * elf/rtld.c (VALIDX): Likewise.
35368         (ADDRIDX): Likewise.
35369         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35370         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35371         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35372         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35373         (VALIDX): Likewise.
35374         (ADDRIDX): Likewise.
35376 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35378         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35380 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35382         [BZ #11438]
35383         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35384         to global scope.
35385         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35386         addresses are in the same scope as 192.0.2/24.
35387         * posix/gai.conf: Document new scope table defaults.
35389 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35391         [BZ #5298]
35392         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35393         for ftell.  Compute offsets from write pointers instead.
35394         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35396 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35398         [BZ #14543]
35399         * libio/Makefile (tests): New test case tst-fseek.
35400         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35401         combination works in wide mode.
35402         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35403         state when the external buffer state changes.
35405 2012-09-27  David S. Miller  <davem@davemloft.net>
35407         [BZ #14376]
35408         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35409         pass reloc->r_addend in as the 'high' argument to
35410         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35414 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35416         * rt/tst-aio2.c: Include <pthread.h>.
35417         * rt/tst-aio3.c: Likewise.
35419 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35421         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35423 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35425         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35426         contents on [SHARED].
35428 2012-09-26  Marek Polacek  <polacek@redhat.com>
35430         [BZ #14530]
35431         [BZ #13741]
35432         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35433         for C++ and GCC <4.3 as well as for non GCC compilers.
35435 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35439 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35441         * Makefile.in (all, install): Declare with .PHONY.
35442         Reported by Michael Hope <michael.hope@linaro.org>.
35444 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35446         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35447         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35448         system header.
35449         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35450         Likewise.
35451         (sydep_routines): Add the new and the internal functions.
35452         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35453         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35455         (GLIBC_2.17): Add the new function.
35456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35457         (GLIBC_2.17): Likewise.
35458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35459         (GLIBC_2.17): Likewise.
35460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35461         (GLIBC_2.17): Likewise.
35462         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35464 2012-09-25  Alan Modra  <amodra@gmail.com>
35466         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35467         Add release barrier before setting once_control to say
35468         initialisation is done.  Add hints on lwarx.  Use macro in
35469         place of isync.
35470         (clear_once_control): Add release barrier.
35472 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35474         [BZ #13629]
35475         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35476         specially.
35477         * math/s_clog10.c (__clog10): Likewise.
35478         * math/s_clog10f.c (__clog10f): Likewise.
35479         * math/s_clog10l.c (__clog10l): Likewise.
35480         * math/s_clogf.c (__clogf): Likewise.
35481         * math/s_clogl.c (__clogl): Likewise.
35482         * math/Makefile (libm-calls): Add x2y2m1.
35483         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35484         (__x2y2m1): Likewise.
35485         (__x2y2m1l): Likewise.
35486         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35487         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35488         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35489         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35490         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35491         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35492         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35493         * sysdeps/i386/fpu/libm-test-ulps: Update.
35494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35496         [BZ #14621]
35497         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35498         int as type of variable DEPTH.
35499         (glob): Use size_t instead of int as type of variables NEWCOUNT
35500         and OLD_PATHC.
35502 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35504         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35505         Add s_sincosf-sse2.
35506         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35507         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35508         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35509         macros for using routine as __sincosf_ia32.
35510         Use macro for function declaration and weak_alias.
35511         * sysdeps/i386/fpu/libm-test-ulps: Update.
35513         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35516         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35517         subnormal argument.
35518         * math/s_cexpf.c (__cexpf): Likewise.
35519         * math/s_csinf.c (__csinf): Likewise.
35520         * math/s_csinhf.c (__csinhf): Likewise.
35521         * math/s_ctanf.c (__ctanf): Likewise.
35522         * math/s_ctanhf.c (__ctanhf): Likewise.
35523         * math/s_ccosh.c (__ccoshf): Likewise.
35524         * math/s_cexp.c (__cexpl): Likewise.
35525         * math/s_csin.c (__csin): Likewise.
35526         * math/s_csinh.c (__csinh): Likewise.
35527         * math/s_ctan.c (__ctan): Likewise.
35528         * math/s_ctanh.c (ctanh): Likewise.
35529         * math/s_ccoshl.c (__ccoshl): Likewise.
35530         * math/s_cexpl.c (__cexpl): Likewise.
35531         * math/s_csinl.c (__csinl): Likewise.
35532         * math/s_csinhl.c (__csinhl): Likewise.
35533         * math/s_ctanl.c (__ctanl): Likewise.
35534         * math/s_ctanhl.c (__ctanhl): Likewise.
35536 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35538         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35539         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35540         (_IO_off_t): Define to __off_t, not _G_off_t.
35541         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35542         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35543         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35544         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35545         type of __dummy and __dummy2 fields.
35546         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35547         (_G_ssize_t): Likewise.
35548         (_G_off_t): Likewise.
35549         (_G_pid_t): Likewise.
35550         (_G_uid_t): Likewise.
35551         (_G_wchar_t): Likewise.
35552         (_G_wint_t): Likewise.
35553         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35554         (_G_ssize_t): Likewise.
35555         (_G_off_t): Likewise.
35556         (_G_pid_t): Likewise.
35557         (_G_uid_t): Likewise.
35558         (_G_wchar_t): Likewise.
35559         (_G_wint_t): Likewise.
35560         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35561         (_G_ssize_t): Likewise.
35562         (_G_off_t): Likewise.
35563         (_G_pid_t): Likewise.
35564         (_G_uid_t): Likewise.
35565         (_G_wchar_t): Likewise.
35566         (_G_wint_t): Likewise.
35568 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35570         * malloc/arena.c: Include malloc-sysdep.h.
35571         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35572         is sufficient to shrink the heap or an unmap is needed.
35573         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35574         new function check_may_shrink_heap.
35575         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35576         new function check_may_shrink_heap.
35578 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35580         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35581         comments.
35583 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35585         * catgets/test-gencat.sh: Add "set -e".
35586         * elf/tst-pathopt.sh: Likewise.
35587         * grp/tst_fgetgrent.sh: Likewise.
35588         * iconvdata/run-iconv-test.sh: Likewise.
35589         * intl/tst-gettext.sh: Likewise.
35590         * intl/tst-gettext2.sh: Likewise.
35591         * intl/tst-gettext4.sh: Likewise.
35592         * intl/tst-gettext6.sh: Likewise.
35593         * intl/tst-translit.sh: Likewise.
35594         * io/ftwtest-sh: Likewise.
35595         * libio/test-freopen.sh: Likewise.
35596         * malloc/tst-mtrace.sh: Likewise.
35597         * posix/globtest.sh: Likewise.
35598         * posix/tst-getconf.sh: Likewise.
35599         * posix/wordexp-tst.sh: Likewise.
35600         * stdio-common/tst-printf.sh: Likewise.
35601         * stdio-common/tst-unbputc.sh: Likewise.
35602         * stdlib/tst-fmtmsg.sh: Likewise.
35603         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35604         * catgets/Makefile: Do not specify -e option when running
35605         testsuite shell scripts.
35606         * elf/Makefile: Likewise.
35607         * grp/Makefile: Likewise.
35608         * iconvdata/Makefile: Likewise.
35609         * intl/Makefile: Likewise.
35610         * io/Makefile: Likewise.
35611         * libio/Makefile: Likewise.
35612         * malloc/Makefile: Likewise.
35613         * posix/Makefile: Likewise.
35614         * stdio-common/Makefile: Likewise.
35615         * stdlib/Makefile: Likewise.
35616         * sysdeps/x86_64/Makefile: Likewise.
35618         * io/ftwtest-sh: Add copyright header.
35619         * posix/globtest.sh: Likewise.
35620         * posix/tst-getconf.sh: Likewise.
35621         * posix/wordexp-tst.sh: Likewise.
35622         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35624 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35626         [BZ #13679]
35627         * Makeconfig (+link): Defined as $(+link-static) if
35628         $(build-shared) isn't yes.
35629         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35630         isn't yes.
35631         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35633         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35635         [BZ #14562]
35636         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35637         new chunk size with MALLOC_ALIGN_MASK.
35639 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35641         [BZ #5044]
35642         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35643         <rounding-mode.h>.
35644         (__printf_fphex): Determine rounding using get_rounding_mode and
35645         round_away.
35646         * stdio-common/tst-printf-round.c (struct hex_test): New
35647         structure.
35648         (hex_tests): New variable.
35649         (test_hex_in_one_mode): New function.
35650         (do_test): Also run tests for hex float output.
35652 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35654         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35655         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35656         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35657         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35658         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35659         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35660         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35661         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35663 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35665         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35666         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35667         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35668         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35670 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35672         [BZ #14579]
35673         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35674         mode only.
35675         * elf/tst-rtld-load-self.sh: New test.
35676         * elf/Makefile: Run it.
35678 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35680         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35681         (tst-writev-ENV): Remove.
35682         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35684 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35686         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35688 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35690         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35691         unconditional.
35692         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35693         Likewise.
35694         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35695         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35696         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35697         Likewise.
35699 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35701         [BZ #14587]
35702         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35703         * config.make.in (have-cpp-asm-debuginfo): Removed.
35704         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35705         * configure: Regenerated.
35707 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35709         [BZ #5044]
35710         * stdio-common/printf_fp.c: Include <stdbool.h> and
35711         <rounding-mode.h>.
35712         (___printf_fp): Determine rounding using get_rounding_mode and
35713         round_away.
35714         * stdio-common/tst-printf-round.c: New file.
35715         * stdio-common/Makefile (tests): Add tst-printf-round.
35716         (link-libm): New variable.
35717         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35719 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35721         [BZ #14576]
35722         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35723         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35724         Likewise.
35725         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35726         Likewise.
35728 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35730         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35731         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35732         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35733         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35735 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35737         [BZ #14518]
35738         * include/rounding-mode.h: New file.
35739         * sysdeps/generic/get-rounding-mode.h: Likewise.
35740         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35741         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35742         (MAX_VALUE): New macro.
35743         (MIN_VALUE): Likewise.
35744         (overflow_value): New function.
35745         (underflow_value): Likewise.
35746         (round_and_return): Use overflow_value and underflow_value to
35747         determine return values in overflow and underflow cases.  Use
35748         round_away to determine rounding depending on rounding mode.
35749         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35750         determine return values in overflow and underflow cases.
35751         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35752         (struct test_results): New structure.
35753         (struct test): Use struct test_results to store expected results
35754         for all rounding modes.
35755         (TEST): Include expected results for all rounding modes.
35756         (test_in_one_mode): New function.
35757         (do_test): Use test_in_one_mode to compute and check results.
35758         Check results for all rounding modes.
35759         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35760         $(link-libm).
35762 2012-12-09  Allan McRae  <allan@archlinux.org>
35764         * sysdeps/i386/fpu/libm-test-ulps: Update
35766 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35768         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35769         (_G_int32_t): Likewise.
35770         (_G_uint16_t): Likewise.
35771         (_G_uint32_t): Likewise.
35772         (_G_HAVE_BOOL): Likewise.
35773         (_G_HAVE_ATEXIT): Likewise.
35774         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35775         (_G_HAVE_IO_FILE_OPEN): Likewise.
35776         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35777         (_G_int32_t): Likewise.
35778         (_G_uint16_t): Likewise.
35779         (_G_uint32_t): Likewise.
35780         (_G_HAVE_BOOL): Likewise.
35781         (_G_HAVE_ATEXIT): Likewise.
35782         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35783         (_G_HAVE_IO_FILE_OPEN): Likewise.
35784         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35785         (_G_int32_t): Likewise.
35786         (_G_uint16_t): Likewise.
35787         (_G_uint32_t): Likewise.
35788         (_G_HAVE_BOOL): Likewise.
35789         (_G_HAVE_ATEXIT): Likewise.
35790         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35791         (_G_HAVE_IO_FILE_OPEN): Likewise.
35793 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35795         * csu/libc-tls.c: Update copyright years.
35797 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35799         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35800         [!_G_USING_THUNKS]: Remove conditional code.
35801         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35802         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35804         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35805         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35806         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35807         (_G_VTABLE_LABEL_PREFIX): Likewise.
35808         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35809         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35810         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35811         (_G_VTABLE_LABEL_PREFIX): Likewise.
35812         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35813         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35814         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35815         (_G_VTABLE_LABEL_PREFIX): Likewise.
35816         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35818 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35820         * libio/Makefile: Include ../Makeconfig before tests.
35821         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35822         only if $(build-shared) is yes.
35824         * iconv/gconv_db.c: Update copyright years.
35826 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35828         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35829         unwind info if defined PIC. Fix special cases description.
35830         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35832         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35833         DP_HI_MASK entry.
35834         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35836 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35838         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35840         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35841         is NULL.
35843         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35844         (LDLIBS-tst-chk4): This.
35845         (LDFLAGS-tst-chk5): Renamed to ...
35846         (LDLIBS-tst-chk5): This.
35847         (LDFLAGS-tst-chk6): Renamed to ...
35848         (LDLIBS-tst-chk6): This.
35849         (LDFLAGS-tst-lfschk4): Renamed to ...
35850         (LDLIBS-tst-lfschk4): This.
35851         (LDFLAGS-tst-lfschk5): Renamed to ...
35852         (LDLIBS-tst-lfschk5): This.
35853         (LDFLAGS-tst-lfschk6): Renamed to ...
35854         (LDLIBS-tst-lfschk6): This.
35856         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35857         on $(common-objpfx)soversions.mk.
35859 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35861         [BZ #10014]
35862         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35863         example host name.
35865 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35867         * malloc/arena.c (arena_get_retry): New function that gets
35868         another arena for the caller to try its request on.
35869         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35870         current arena cannot fulfill the request.
35871         (__libc_memalign): Likewise.
35872         (__libc_memalign): Likewise.
35873         (__libc_pvalloc): Likewise.
35874         (__libc_calloc): Likewise.
35876 2012-09-05  John Tobey  <john.tobey@gmail.com>
35878         [BZ #13542]
35879         * manual/arith.texi (Operations on Complex): Fix description
35880         of carg branch cut.
35882 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35884         [BZ #10014]
35885         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35886         host name.
35888         [BZ #10038]
35889         * manual/memory.texi (Memory): Make order of menu items match
35890         order of sections.
35892 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35894         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35895         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35896         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35898 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35900         * csu/libc-tls.c (static_dtv): Renamed to ...
35901         (_dl_static_dtv): This.  Make it global.
35902         (_dl_initial_dtv): Removed.
35903         (__libc_setup_tls): Updated.
35904         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35905         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35906         DL_INITIAL_DTV.
35908 2012-09-06  Petr Machata  <pmachata@redhat.com>
35910         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35911         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35912         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35913         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35915 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35917         [BZ #14545]
35918         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35919         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35920         freeing dtv[-1].
35922 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35924         [BZ #14544]
35925         * Makeconfig (link-static-before-libc): Replace $(+prector)
35926         with $(+prectorT).
35927         (link-static-after-libc): Replace $(+postctor) with
35928         $(+postctorT).
35929         (link-bounded): Replace $(+prector)/$(+postctor) with
35930         $(+prectorT)/$(+postctorT).
35931         (+prectorT): New macro.
35932         (+postctorT): Likewise.
35934 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35936         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35937         (round_str): Handle values above the maximum for IBM long double
35938         as inexact.
35939         * stdlib/tst-strtod-round.c (tests): Regenerated.
35941 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35943         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35944         assembler flag.
35945         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35946         zarch_nohighgprs around the zarch optimized routines.
35947         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35948         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35949         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35950         for zarch.
35952 2012-09-05  David S. Miller  <davem@davemloft.net>
35954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35956         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35957         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35958         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35959         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35960         entries.
35962 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35964         * malloc/arena.c: Fold copyright years.
35965         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35967 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35969         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35971 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35973         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35975 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35977         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35978         change internal state upon failure.
35980 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35982         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35983         * malloc/memusage.c (mmap): Likewise.
35984         (mmap64, mremap): Likewise.  Adjust name in comment.
35986 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35988         * libio/fileops.c: Fix typos in comments.
35989         * libio/oldfileops.c: Likewise.
35990         * libio/wfileops.c: Likewise.
35992 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35994         [BZ #1349]
35995         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35996         (tst-malloc-usable-ENV): Set environment for test case.
35997         * malloc/hooks.c (malloc_check_get_size): New function to get
35998         requested size.
35999         * malloc/malloc.c (musable): Use malloc_check_get_size.
36000         * malloc/tst-malloc-usable.c: New test case.
36002 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36004         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36006 2012-09-05  Allan McRae  <allan@archlinux.org>
36008         [BZ #13966]
36009         * configure.in (CXX_SYSINCLUDES): Use compiler output to
36010         determine header location.
36011         * configure: Regenerated.
36013 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36015         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36016         float format.
36017         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36018         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36019         format.
36020         (test): Regenerate.
36022 2012-09-04  David S. Miller  <davem@davemloft.net>
36024         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36025         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36026         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36028 2012-09-04  Florian Weimer  <fweimer@redhat.com>
36030         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36031         failures.
36033         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36035 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
36037         [BZ #9914]
36038         * libio/iogetdelim.c: Include <limits.h>.
36039         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36040         + len + 1 would overflow.
36042 2012-09-03  Andreas Jaeger  <aj@suse.de>
36044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36045         * sysdeps/i386/fpu/libm-test-ulps: Update.
36047 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36049         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36050         Add s_sinf-sse2, s_conf-sse2.
36052         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36053         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36054         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36055         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36057         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36058         for using routine as __sinf_ia32.
36059         Use macro for function declaration and weak_alias.
36060         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36061         for using routine as __cosf_ia32.
36062         Use macro for function declaration and weak_alias.
36064         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36065         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36067         * sysdeps/x86_64/fpu/s_sinf.S: New file.
36068         * sysdeps/x86_64/fpu/s_cosf.S: New file.
36069         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36071         * math/libm-test.inc (cos_test): Add more test cases.
36072         (sin_test): Likewise.
36073         (sincos_test): Likewise.
36075 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36077         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36078         (IFUNC_RESOLVE): Make pointers to the specialized implementations
36079         hidden.
36080         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36082 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
36084         [BZ #14538]
36085         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36086         first element of the GOT.
36087         (elf_machine_load_address): Return the difference between
36088         the runtime address of _DYNAMIC and elf_machine_dynamic ().
36090 2012-09-01  Allan McRae  <allan@archlinux.org>
36092         [BZ #13412]
36093         * configure.in (AWK): Require gawk version 3.0 or later.
36094         * configure: Regenerated.
36096 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
36098         * sysdeps/unix/sysv/linux/kernel-features.h
36099         (__ASSUME_POSIX_CPU_TIMERS): Remove.
36100         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36101         [__NR_clock_getres]: Make code unconditional.
36102         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36103         (clock_getcpuclockid): Remove code left unreachable by removal of
36104         conditionals.
36105         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36106         code unconditional.
36107         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36108         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36109         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36110         Make code unconditional.
36111         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36112         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36113         * sysdeps/unix/sysv/linux/clock_settime.c
36114         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36115         conditional code.
36116         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36117         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36119 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
36121         [BZ #14476]
36122         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36123         scripts/test-installation.pl.
36125         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36126         and $ld_so_version if it is set.
36128 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36130         [BZ #14516]
36131         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36132         failure if reading from procfs failed.
36133         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36135 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36137         * sysdeps/unix/sysv/linux/kernel-features.h
36138         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36139         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36140         Remove conditional code.
36141         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36142         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36143         Remove conditional code.
36144         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36145         * sysdeps/unix/sysv/linux/i386/fxstat.c
36146         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36147         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36148         * sysdeps/unix/sysv/linux/i386/fxstatat.c
36149         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36150         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36151         * sysdeps/unix/sysv/linux/i386/lxstat.c
36152         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36153         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36154         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36155         Remove conditional code.
36156         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36157         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36158         Remove conditional code.
36159         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36160         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36161         <kernel-features.h>.
36162         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36163         Remove.
36164         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36165         Remove conditional code.
36166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36167         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36168         Remove conditional.
36170 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
36172         [BZ #5400]
36173         * NEWS: Add fixed bug number.
36175 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
36177         [BZ #14519]
36178         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36179         underflowing exponent in case of negative sign.
36180         * stdlib/tst-strtod-round-data: Add more tests.
36181         * stdlib/tst-strtod-round.c (tests): Regenerated.
36183         [BZ #3479]
36184         * stdlib/strtod_l.c (NDIG): Remove.
36185         (HEXNDIG): Likewise.
36186         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36187         smallest representable value.
36188         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36189         lie within an exact representation of 1/2 ulp of the result.
36190         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36191         unconditionally.
36192         (TENS_P9_IDX): Define unconditionally.
36193         (TENS_P9_SIZE): Likewise.
36194         (TENS_P10_IDX): Likewise.
36195         (TENS_P10_SIZE): Likewise.
36196         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36197         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36198         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36199         entries for 10^2^13 and 10^2^14.
36200         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36201         (TENS_P13_IDX): Define.
36202         (TENS_P13_SIZE): Likewise.
36203         (TENS_P14_IDX): Likewise.
36204         (TENS_P14_SIZE): Likewise.
36205         (_fpioconst_pow10): Change array size to
36206         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
36207         unconditional.
36208         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36209         1024]: Add entries for 10^2^13 and 10^2^14.
36210         [LAST_POW10 > _LAST_POW10]: Remove #error.
36211         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36212         (_fpioconst_pow10): Change array size to
36213         FPIOCONST_POW10_ARRAY_SIZE.
36214         * stdlib/gen-fpioconst.c: New file.
36215         * stdlib/gen-tst-strtod-round.c: Likewise.
36216         * stdlib/tst-strtod-round-data: Likewise.
36217         * stdlib/tst-strtod-round.c: Likewise.
36218         * stdlib/Makefile (tests): Add tst-strtod-round.
36220         [BZ #14459]
36221         * stdlib/strtod_l.c: Include <stdint.h>.
36222         (NDEBUG): Do not define.
36223         (round_and_return): Change EXPONENT parameter to type intmax_t.
36224         Rearrange calculations to avoid internal overflow possibilities.
36225         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36226         Rearrange calculations to avoid internal overflow possibilities.
36227         Assert that number fits inside MPNSIZE limbs.
36228         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36229         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
36230         calculations and add assertions to avoid internal overflow
36231         possibilities.  Add casts to avoid signed/unsigned operations.
36232         * stdlib/tst-strtod-overflow.c: New file.
36233         * stdlib/Makefile (tests): Add tst-strtod-overflow.
36235 2012-08-25  Marek Polacek  <polacek@redhat.com>
36237         * time/time.h: Fix some typos in comments.
36239 2012-08-23  Roland McGrath  <roland@hack.frob.com>
36241         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36242         * posix/tst-rfc3484-2.c: Likewise.
36243         * posix/tst-rfc3484-3.c: Likewise.
36245 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
36247         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36248         (EF_ARM_ABI_FLOAT_HARD): Likewise.
36250 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
36252         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36253         #include of fxstatat64.c.
36255 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36257         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36258         * shadow/getspent_r.c: Likewise.
36259         * shadow/getspnam.c: Likewise.
36260         * shadow/getspnam_r.c: Likewise.
36261         * gshadow/getsgent.c: Likewise.
36262         * gshadow/getsgent_r.c: Likewise.
36263         * gshadow/getsgnam.c: Likewise.
36264         * gshadow/getsgnam_r.c: Likewise.
36265         * inet/getnetbyad.c: Likewise.
36266         * inet/getnetbyad_r.c: Likewise.
36267         * inet/getnetbynm.c: Likewise.
36268         * inet/getnetbynm_r.c: Likewise.
36269         * inet/getnetent.c: Likewise.
36270         * inet/getnetent_r.c: Likewise.
36271         * inet/getproto.c: Likewise.
36272         * inet/getproto_r.c: Likewise.
36273         * inet/getprtent.c: Likewise.
36274         * inet/getprtent_r.c: Likewise.
36275         * inet/getprtname.c: Likewise.
36276         * inet/getprtname_r.c: Likewise.
36277         * inet/getrpcbyname.c: Likewise.
36278         * inet/getrpcbyname_r.c: Likewise.
36279         * inet/getrpcbynumber.c: Likewise.
36280         * inet/getrpcbynumber_r.c: Likewise.
36281         * inet/getrpcent.c: Likewise.
36282         * inet/getrpcent_r.c: Likewise.
36283         * inet/getaliasent.c: Likewise.
36284         * inet/getaliasent_r.c: Likewise.
36285         * inet/getaliasname.c: Likewise.
36286         * inet/getaliasname_r.c: Likewise.
36287         * nscd/getgrgid_r.c: Likewise.
36288         * nscd/getgrnam_r.c: Likewise.
36289         * nscd/gethstbyad_r.c: Likewise.
36290         * nscd/gethstbynm3_r.c: Likewise.
36291         * nscd/getpwnam_r.c: Likewise.
36292         * nscd/getpwuid_r.c: Likewise.
36293         * nscd/getsrvbynm_r.c: Likewise.
36294         * nscd/getsrvbypt_r.c: Likewise.
36295         * nscd/gai.c: Likewise.
36297         * configure.in (build_nscd): New substituted variable, set
36298         by --disable-build-nscd and defaults to $use_nscd.
36299         * configure: Regenerated.
36300         * config.make.in (build-nscd): New substituted variable.
36301         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36302         Change conditional to require [$(build-nscd) = yes] as well.
36303         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36305         [BZ# 13696]
36306         * configure.in (use_nscd): New substituted variable, set by
36307         --disable-nscd.  If enabled, define USE_NSCD.
36308         * configure: Regenerated.
36309         * config.h.in: Add USE_NSCD.
36310         * config.make.in (use-nscd): New substituted variable.
36311         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36312         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36313         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36314         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36315         (CFLAGS-getgrnam_r.c): Likewise.
36316         (CFLAGS-initgroups.c): Likewise.
36317         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36318         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36319         Variables removed.
36320         * inet/getnetgrent_r.c
36321         (nscd_setnetgrent): New function, broken out of ...
36322         (setnetgrent): ... here.  Call it.
36323         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36324         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36325         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36326         * nscd/Makefile (routines, aux): Move definitions after include of
36327         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36328         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36329         Conditionalize on [USE_NSCD].
36330         (is_nscd, nscd_init_cb): Likewise.
36331         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36332         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36333         * nss/nss_db/db-init.c: Likewise.
36334         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36335         [USE_NSCD].
36336         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36337         (make_request): Use it.
36338         (cache_valid_p): New function.
36339         (__check_pf): Use it.
36340         * NEWS: Add item for --disable-nscd.
36342 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36344         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36345         to support sed >= 4.2.1-20-ga9bf076.
36346         * configure: Regenerated.
36348 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36350         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36351         Conditionalize whole body on [IREL].
36353 2012-08-22  Jeff Law <law@redhat.com>
36355         [BZ #14505]
36356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36357         if the family is PF_UNSPEC.
36359 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36361         * Makerules (lib-version): Rename from V.
36362         (install-lib-nosubdir): Change V to lib-version.
36364 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36366         [BZ #14252]
36367         * powerpc32/power6/wcschr.c: New file.
36368         * powerpc32/power6/wcscpy.c: New file.
36369         * powerpc32/power6/wcsrchr.c: New file.
36370         * powerpc64/power6/wcschr.c: New file.
36371         * powerpc64/power6/wcscpy.c: New file.
36372         * powerpc64/power6/wcsrchr.c: New file.
36374 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36376         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36377         (two_way_short_needle): Use it.
36378         * string/strstr.c (AVAILABLE1_USES_J): Define.
36379         * string/strcasestr.c: Likewise.
36381         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36382         array references.
36383         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36385         [BZ #11607]
36386         * NEWS: Add an entry.
36387         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36388         define their defaults.
36389         (two_way_short_needle): Detect end-of-string on-the-fly.
36390         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36391         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36392         * string/bug-strcasestr1.c: New test.
36393         * string/Makefile: Run it.
36395 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36397         [BZ #11607]
36398         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36399         the first character.
36401 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36403         * csu/elf-init.c (__libc_csu_irel): Function removed.
36404         * csu/libc-start.c (apply_irel): New function.
36405         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36407 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36409         * sysdeps/unix/sysv/linux/kernel-features.h
36410         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36411         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36412         <kernel-features.h>.
36413         [__NR_fadvise64_64]: Make code unconditional.
36414         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36415         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36416         !__NR_fadvise64_64)]: Likewise.
36417         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36418         !__NR_fadvise64_64))]: Likewise.
36419         [__NR_fadvise64]: Make code unconditional.
36420         [!__NR_fadvise64]: Remove conditional code.
36421         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36422         <kernel-features.h>.
36423         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36424         unconditional.
36425         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36426         conditional code.
36427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36428         not include <kernel-features.h>.
36429         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36430         unconditional.
36431         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36432         conditional code.
36433         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36434         include <kernel-features.h>.
36435         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36436         unconditional.
36437         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36438         conditional code.
36440 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36442         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36443         slight instruction rearrangements per scrollpipe analysis.
36444         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36446 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36448         * manual/syslog.texi (syslog; vsyslog, closelog):
36449         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36450         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36452         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36453         DSOCAPS to match condition on defining it.
36455 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36457         * sysdeps/unix/sysv/linux/kernel-features.h
36458         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36460         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36461         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36463         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36464         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36466         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36467         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36469         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36470         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36472         * sysdeps/unix/sysv/linux/kernel-features.h
36473         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36474         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36475         unconditional.
36476         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36477         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36478         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36479         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36480         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36481         Make code unconditional.
36482         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36483         (__mmap64) [!__NR_mmap2]: Likewise.
36484         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36485         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36486         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36487         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36488         [__NR_mmap2]: Make code unconditional.
36489         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36490         (__mmap64) [!__NR_mmap2]: Likewise.
36492 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36494         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36496 2012-08-18  Andreas Jaeger  <aj@suse.de>
36498         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36500 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36502         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36503         * include/unistd.h (__have_sock_cloexec): Likewise.
36504         (__have_pipe2): Likewise.
36505         (__have_dup3): Likewise.
36507 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36509         [BZ #9685]
36510         * include/unistd.h (__have_pipe2): Change define into an extern int.
36511         (__have_dup3): Likewise.
36512         * socket/have_sock_cloexec.c: Include fcntl.h.
36513         (__have_pipe2): New variable.
36514         (__have_dup3): Likewise.
36516 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36518         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36520 2012-08-17  Marek Polacek  <polacek@redhat.com>
36522         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36523         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36525 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36527         * configure.in: Add AC_SUBST for sysheaders.
36528         * configure: Regenerated.
36529         * config.make.in (sysheaders): New substituted variable.
36531         * sysdeps/unix/mkfifo.c: Moved ...
36532         * sysdeps/posix/mkfifo.c: ... here.
36533         * sysdeps/unix/mkfifoat.c: Moved ...
36534         * sysdeps/posix/mkfifoat.c: ... here.
36536         * sysdeps/unix/utime.c: Moved ...
36537         * sysdeps/posix/utime.c: ... here.
36539         * sysdeps/unix/time.c: Moved ...
36540         * sysdeps/posix/time.c: ... here.
36541         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36542         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36544         * sysdeps/unix/nice.c: Moved ...
36545         * sysdeps/posix/nice.c: ... here.
36547         * sysdeps/unix/alarm.c: Moved ...
36548         * sysdeps/posix/alarm.c: ... here.
36550         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36552 2012-08-17  Jeff Law <law@redhat.com>
36554         * intl/Makefile (codeset_mo): New variable.
36555         ($(codeset_mo)): New target.
36556         (tst-codeset.out): Depend on that.  Remove explicit rule.
36557         (tst-gettext3.out, tst-gettext5.out): Likewise.
36558         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36559         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36560         * intl/tst-codeset.sh: Remove.
36561         * intl/tst-gettext3.sh: Likewise.
36562         * intl/tst-gettext5.sh: Likewise.
36564 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36566         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36567         * sysdeps/unix/syscalls.list: ... here.
36569         * sysdeps/posix/getaddrinfo.c
36570         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36571         (gaiconf_init, gaiconf_reload): Use them.
36572         [!_STATBUF_ST_NSEC]
36573         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36574         Define using time_t rather than struct timespec.
36576         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36577         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36578         Macros removed.
36579         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36580         [!NO_THREADS].
36581         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36582         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36583         Likewise.
36585         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36586         __libc_cleanup_push argument.
36588         * bits/param.h: New file.
36589         * misc/sys/param.h: New file.
36590         * include/sys/param.h: New file.
36591         * misc/Makefile (headers): Add bits/param.h.
36592         * sysdeps/generic/sys/param.h: File removed.
36593         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36594         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36595         * sysdeps/mach/hurd/bits/param.h: New file.
36596         * sysdeps/mach/hurd/sys/param.h: File removed.
36598         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36599         last change.
36601         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36602         [_IO_MTSAFE_IO].
36603         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36604         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36605         New macros.
36607         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36608         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36609         rather than -D_IO_MTSAFE_IO conditionally.
36610         * stdio-common/Makefile (CPPFLAGS): Likewise.
36611         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36612         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36613         Use $(libio-mtsafe).
36614         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36615         of -D_IO_MTSAFE_IO.
36616         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36617         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36618         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36619         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36620         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36621         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36622         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36623         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36624         (CFLAGS-fread_u_chk.c): Likewise.
36625         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36626         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36627         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36628         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36629         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36630         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36631         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36632         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36633         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36635         * libio/Makefile: Test [$(libc-reentrant) = yes]
36636         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36638         * Makeconfig
36639         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36640         * sysdeps/pthread/configure: File removed.
36641         * sysdeps/pthread/Makeconfig: New file.
36642         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36643         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36645 2012-08-16  Gary Benson  <gbenson@redhat.com>
36647         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36648         unmapping the first object in a namespace.
36650 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36652         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36653         (__internal_setnetgrent): ... this.  Add internal_function to
36654         definition.  Add libc_hidden_def.
36655         (setnetgrent): Update caller.
36656         (internal_endnetgrent): Renamed to ...
36657         (__internal_endnetgrent): ... this.  Add internal_function to
36658         definition.  Add libc_hidden_def.
36659         (endnetgrent): Update caller.
36660         (internal_getnetgrent_r): Renamed to ...
36661         (__internal_getnetgrent_r): ... this.  Add internal_function to
36662         definition.  Add libc_hidden_def.
36663         (__getnetgrent_r): Update caller.
36664         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36666 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36668         * stdlib/longlong.h: Update from GCC.
36670 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36672         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36673         on _QL, which is set by umul_ppmm but never used.
36674         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36675         variables, which are set by GMP macros but never used.
36676         * stdio-common/_itowa.c (_itowa): Likewise.
36677         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36678         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36680 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36682         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36683         struct La_sh_regs is not constant.
36684         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36685         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36686         and struct La_sparc64_regs are not constant.
36688 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36690         * sysdeps/unix/sysv/linux/kernel-features.h
36691         (__ASSUME_POSIX_TIMERS): Remove.
36692         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36693         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36694         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36695         Make code unconditional.
36696         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36697         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36698         Make code unconditional.
36699         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36700         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36701         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36702         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36703         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36704         Make code unconditional.
36705         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36706         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36707         (__libc_missing_posix_timers): Remove.
36709 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36711         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36712         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36714         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36716         * elf/dl-sym.c: Include <stdlib.h>.
36718         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36719         constants, which avoids warnings in 32-bit builds.
36721         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36722         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36724         * misc/lseek.c: File moved to ...
36725         * io/lseek.c: ... here.
36727         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36729         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36730         shifting LEN more than 31 bits at once.
36732 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36734         [BZ #14195]
36735         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36736         segmentation fault for a case of two empty input strings.
36737         * string/test-strncasecmp.c (check1): Renamed to...
36738         (bz12205): ...this.
36739         (bz14195): Add new testcase for two empty input strings and N > 0.
36740         (test_main): Call new testcase, adapt for renamed function.
36742 2012-08-15  Andreas Jaeger  <aj@suse.de>
36744         [BZ #14090]
36745         * crypt/md5test2.c: New test, based on test supplied by Serge
36746         Belyshev <belyshev@depni.sinp.msu.ru>.
36747         * crypt/Makefile (xtests): Add md5test-giant..
36748         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36750 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36752         [BZ #14090]
36753         * crypt/md5.c (md5_process_block): Don't assume the buffer
36754         length is less than 2**32.
36755         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36756         length is less than 2**64.
36758 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36760         * string/str-two-way.h: Include <sys/param.h>.
36761         (MAX): Macro removed.
36763         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36764         Move #define and #undef of memmove to just before and after
36765         including <string.h>.
36767         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36768         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36769         and after including <string.h>.  Move declarations of
36770         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36771         to before #include "string/memmove.c".
36773         * include/dirent.h: Declare __getdirentries.
36775         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36776         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36778 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36780         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36781         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36782         * sysdeps/i386/configure: Regenerated.
36783         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36784         STABS_CURRENT_FILE, and STABS_FUN.
36785         (END): Remove call to STABS_FUN_END.
36786         (STABS_CURRENT_FILE1): Delete.
36787         (STABS_CURRENT_FILE): Likewise.
36788         (STABS_FUN): Likewise.
36789         (STABS_FUN_END): Likewise.
36790         (STABS_FUN2): Likewise.
36791         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36792         * sysdeps/x86_64/configure: Regenerated.
36794 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36796         * elf/dl-open.c: Include <atomic.h>.
36797         * elf/dl-lookup.c: Likewise.
36799 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36801         * sysdeps/unix/sysv/linux/kernel-features.h
36802         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36803         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36804         unconditionally.
36805         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36806         unconditionally.
36807         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36808         condition on __ASSUME_CLONE_THREAD_FLAGS.
36810 2012-08-14  Andreas Jaeger  <aj@suse.de>
36812         * sysdeps/i386/fpu/libm-test-ulps: Update.
36814 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36816         * include/atomic.h (atomic_exchange_and_add): Split into ...
36817         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36818         New atomic macros.
36820 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36822         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36824 2012-08-13  Jeff Law <law@redhat.com>
36826         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36827         null byte in the output string.
36829 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36831         * sysdeps/unix/sysv/linux/kernel-features.h
36832         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36833         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36834         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36835         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36836         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36837         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36838         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36840 2012-08-09  Jeff Law <law@redhat.com>
36842         [BZ #13939]
36843         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36844         When avoid_arena is set, don't retry in the that arena.  Pick the
36845         next one, whatever it might be.
36846         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36847         (arena_lock): Pass in new parameter to arena_get2.
36848         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36849         arena_get2.
36850         (__libc_malloc): Unify retrying after main arena failure with
36851         __libc_memalign version.
36852         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36854 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36856         [BZ #14166]
36857         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36858         to __redirect_strstr.
36859         (__strstr_sse42): Use typeof __redirect_strstr.
36860         (__strstr_ia32): Likewise.
36861         (__libc_strstr): New prototype.
36862         (strstr): Renamed to ...
36863         (__libc_strstr): This.
36864         (strstr): New strong alias of __libc_strstr.
36865         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36866         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36867         __redirect_time.
36868         Include <time.h>.
36869         (__libc_time): New prototype.
36870         (time_ifunc): Replace time with __libc_time.
36871         (time): New strong alias and hidden definition of __libc_time.
36872         (__GI_time): Remove strong alias.
36873         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36874         Include <stddef.h>.
36875         (memmove): Redefined to __redirect_memmove.
36876         (__memmove_sse2): Use typeof __redirect_memmove.
36877         (__memmove_ssse3): Likewise.
36878         (__memmove_ssse3_back): Likewise.
36879         (__libc_memmove): New prototype.
36880         (memmove): Renamed to ...
36881         (__libc_memmove): This.
36882         (memmove): New strong alias of __libc_memmove.
36884 2012-08-08  Mark Salter  <msalter@redhat.com>
36886         * elf/elf.h
36887         (R_MN10300_TLS_GD): Define.
36888         (R_MN10300_TLS_LD): Likewise.
36889         (R_MN10300_TLS_LDO): Likewise.
36890         (R_MN10300_TLS_GOTIE): Likewise.
36891         (R_MN10300_TLS_IE): Likewise.
36892         (R_MN10300_TLS_LE): Likewise.
36893         (R_MN10300_TLS_DTPMOD): Likewise.
36894         (R_MN10300_TLS_DTPOFF): Likewise.
36895         (R_MN10300_TLS_TPOFF): Likewise.
36896         (R_MN10300_SYM_DIFF): Likewise.
36897         (R_MN10300_ALIGN): Likewise.
36898         (R_MN10300_NUM): Update.
36900 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36902         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36903         Remove.
36905 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36907         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36909         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36910         sysdeps/unix -> sysdeps/posix move.
36911         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36913 2012-08-07      Allan McRae     <allan@archlinux.org>
36915         [BZ #14303]
36916         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36917         (SUNOS_CPP): Likewise.
36918         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36919         not found.
36920         (open_input): Call CPP using execvp.
36922 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36924         * sysdeps/unix/sysv/linux/kernel-features.h
36925         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36926         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36927         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36928         (__ASSUME_WAITID_SYSCALL): Likewise.
36929         * sysdeps/unix/sysv/linux/dl-execstack.c
36930         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36931         code unconditional.
36932         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36933         conditional code.
36934         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36935         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36936         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36937         code.
36938         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36939         unconditional.
36940         [__ASSUME_WAITID_SYSCALL]: Likewise.
36941         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36943 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36945         * sysdeps/unix/closedir.c: Renamed to ...
36946         * sysdeps/posix/closedir.c: ... here.
36947         * sysdeps/unix/dirfd.c: Renamed to ...
36948         * sysdeps/posix/dirfd.c: ... here.
36949         * sysdeps/unix/dirstream.h: Renamed to ...
36950         * sysdeps/posix/dirstream.h: ... here.
36951         * sysdeps/unix/fdopendir.c: Renamed to ...
36952         * sysdeps/posix/fdopendir.c: ... here.
36953         * sysdeps/unix/opendir.c: Renamed to ...
36954         * sysdeps/posix/opendir.c: ... here.
36955         * sysdeps/unix/readdir.c: Renamed to ...
36956         * sysdeps/posix/readdir.c: ... here.
36957         * sysdeps/unix/readdir_r.c: Renamed to ...
36958         * sysdeps/posix/readdir_r.c: ... here.
36959         * sysdeps/unix/rewinddir.c: Renamed to ...
36960         * sysdeps/posix/rewinddir.c: ... here.
36961         * sysdeps/unix/seekdir.c: Renamed to ...
36962         * sysdeps/posix/seekdir.c: ... here.
36963         * sysdeps/unix/telldir.c: Renamed to ...
36964         * sysdeps/posix/telldir.c: ... here.
36965         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36966         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36967         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36968         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36970         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36971         * bits/fcntl.h: ... here.
36973         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36974         not 0.
36975         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36976         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36977         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36978         (struct flock): Move l_start, l_len to the beginning.
36979         Use __pid_t for l_pid.
36980         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36981         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36982         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36983         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36984         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36985         [__USE_LARGEFILE64] (struct flock64): New type.
36986         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36988         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36989         * bits/dirent.h: ... here.
36991         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36992         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36994 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36996         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36997         Change from 2.6.0 to 2.6.16.
36998         * sysdeps/unix/sysv/linux/configure: Regenerated.
36999         * sysdeps/unix/sysv/linux/kernel-features.h
37000         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37001         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37002         version.
37003         (__ASSUME_UTIMES): Likewise.
37004         (__ASSUME_CLONE_STOPPED): Remove.
37005         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37006         architectures, not kernel version.
37007         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37008         (__ASSUME_NO_CLONE_DETACHED): Likewise.
37009         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37010         (__ASSUME_WAITID_SYSCALL): Likewise.
37011         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37012         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37013         * README: State 2.6.16 as minimum Linux kernel version.  Do not
37014         refer to older versions.
37016 2012-08-06  Roland McGrath  <roland@hack.frob.com>
37018         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37019         Define alphasort64 as an alias.
37020         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37021         Define versionsort64 as an alias.
37022         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37023         Define scandir64 as an alias.
37024         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37025         Define scandirat64 as an alias.
37026         * dirent/alphasort64.c (alphasort64):
37027         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37028         * dirent/versionsort64.c: Likewise.
37029         * dirent/scandir64.c: Likewise.
37030         * dirent/scandirat64.c: Likewise.
37031         * sysdeps/wordsize-64/alphasort.c: File removed.
37032         * sysdeps/wordsize-64/alphasort64.c: File removed.
37033         * sysdeps/wordsize-64/scandir.c: File removed.
37034         * sysdeps/wordsize-64/scandir64.c: File removed.
37035         * sysdeps/wordsize-64/scandirat.c: File removed.
37036         * sysdeps/wordsize-64/scandirat64.c: File removed.
37037         * sysdeps/wordsize-64/versionsort.c: File removed.
37038         * sysdeps/wordsize-64/versionsort64.c: File removed.
37039         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37040         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37041         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37042         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37043         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37044         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37045         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37046         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37048         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37049         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37050         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37051         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37052         [defined __arch64__ || defined __sparcv9]
37053         (__INO_T_MATCHES_INO64_T): New macro.
37054         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37055         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37056         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37057         * sysdeps/unix/sysv/linux/bits/dirent.h
37058         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37059         (_DIRENT_MATCHES_DIRENT64): New macro.
37061         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37062         Define lockf64 as an alias.
37063         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37064         Define fseeko64 as an alias.
37065         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37066         Define ftello64 as an alias.
37067         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37068         Define _IO_fgetpos64 and fgetpos64 as aliases.
37069         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37070         Define _IO_fsetpos64 and fsetpos64 as aliases.
37071         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37072         Conditionalize body on this.
37073         * libio/fseeko64.c: Likewise.
37074         * libio/ftello64.c: Likewise.
37075         * libio/iofgetpos64.c: Likewise.
37076         * libio/iofsetpos64.c: Likewise.
37077         * sysdeps/wordsize-64/lockf.c: File removed.
37078         * sysdeps/wordsize-64/lockf64.c: File removed.
37079         * sysdeps/wordsize-64/fseeko.c: File removed.
37080         * sysdeps/wordsize-64/fseeko64.c: File removed.
37081         * sysdeps/wordsize-64/ftello.c: File removed.
37082         * sysdeps/wordsize-64/ftello64.c: File removed.
37083         * sysdeps/wordsize-64/iofgetpos.c: File removed.
37084         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37085         * sysdeps/wordsize-64/iofsetpos.c: File removed.
37086         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37087         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37088         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37089         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37090         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37091         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37092         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37093         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37094         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37095         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37096         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37098         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37100         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37101         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37102         [defined __arch64__ || defined __sparcv9]
37103         (__OFF_T_MATCHES_OFF64_T): New macro.
37104         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37105         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37106         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37107         (__OFF_T_MATCHES_OFF64_T): New macro.
37109 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37111         * stdlib/secure-getenv.c (__secure_getenv): Replace
37112         GLIBC_2_16 with GLIBC_2_17.
37114 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
37116         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37117         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37119 2012-08-03  David S. Miller  <davem@davemloft.net>
37121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37123 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37126         Remove.
37127         (__ASSUME_CORRECT_SI_PID): Likewise.
37128         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37129         (__ASSUME_TMPFS_NAME): Likewise.
37130         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37131         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37132         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37133         (HAVE_AUX_SECURE): Make definition unconditional.
37134         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37135         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37137 2012-08-03  Roland McGrath  <roland@hack.frob.com>
37139         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37140         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37141         * sysdeps/mach/hurd/eloop-threshold.h: New file.
37142         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37143         __eloop_threshold instead of SYMLOOP_MAX.
37145         * sysdeps/generic/eloop-threshold.h: New file.
37146         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37147         of MAXSYMLINKS.
37148         * elf/chroot_canon.c (chroot_canon): Likewise.
37150 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
37152         [BZ #13717]
37153         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37154         Change to 2.6.0 everywhere.
37155         * sysdeps/unix/sysv/linux/configure: Regenerated.
37156         * sysdeps/unix/sysv/linux/kernel-features.h
37157         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37158         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37159         kernel versions.
37160         (__ASSUME_POSIX_TIMERS): Define unconditionally.
37161         (__ASSUME_FUTEX_REQUEUE): Remove.
37162         (__ASSUME_STATFS64): Define unconditionally.
37163         (__ASSUME_AT_SECURE): Likewise.
37164         (__ASSUME_CORRECT_SI_PID): Likewise.
37165         (__ASSUME_TGKILL): Define without depending on kernel version for
37166         i386.
37167         (__ASSUME_UTIMES): Likewise.
37168         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37169         kernel version.
37170         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37171         (__ASSUME_TMPFS_NAME): Likewise.
37172         * README: Update reference to Linux kernel versions.
37174 2012-08-02  Marek Polacek  <polacek@redhat.com>
37176         [BZ# 14150]
37177         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
37178         libc_cv_asm_type_prefix with %.
37179         * configure: Regenerated.
37180         * include/libc-symbols.h: Remove comment about
37181         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37182         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37183         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37184         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37185         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37186         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37187         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37188         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37189         * elf/tst-unique2mod1.c: Likewise.
37190         * elf/tst-unique1mod2.c: Likewise.
37191         * elf/tst-unique1mod1.c: Likewise.
37192         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37193         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37194         Replace ASM_TYPE_DIRECTIVE with .type.
37195         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37196         * sysdeps/i386/sysdep.h: Likewise.
37197         * sysdeps/x86_64/sysdep.h: Likewise.
37198         * sysdeps/sh/sysdep.h: Likewise.
37199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37200         Do not define ASM_TYPE_DIRECTIVE.
37201         * sysdeps/powerpc/sysdep.h: Likewise.
37202         * sysdeps/powerpc/powerpc32/sysdep.h:
37203         Replace ASM_TYPE_DIRECTIVE with .type.
37204         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37205         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37206         * sysdeps/i386/fpu/e_powf.S: Likewise.
37207         * sysdeps/i386/fpu/e_expl.S: Likewise.
37208         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37209         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37210         * sysdeps/i386/fpu/e_pow.S: Likewise.
37211         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37212         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37213         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37214         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37215         * sysdeps/i386/fpu/e_log2.S: Likewise.
37216         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37217         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37218         * sysdeps/i386/fpu/e_powl.S: Likewise.
37219         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37220         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37221         * sysdeps/i386/fpu/e_logl.S: Likewise.
37222         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37223         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37224         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37225         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37226         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37227         * sysdeps/i386/fpu/e_log.S: Likewise.
37228         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37229         * sysdeps/i386/fpu/e_logf.S: Likewise.
37230         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37231         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37232         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37233         * sysdeps/i386/fpu/e_log10.S: Likewise.
37234         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37235         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37236         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37237         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37238         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37239         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37240         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37241         * sysdeps/i386/i686/strtok.S: Likewise.
37242         * sysdeps/i386/i386-mcount.S: Likewise.
37243         * sysdeps/i386/strtok.S: Likewise.
37244         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37245         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37246         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37247         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37248         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37249         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37250         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37251         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37252         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37253         * sysdeps/x86_64/_mcount.S: Likewise.
37254         * sysdeps/x86_64/strtok.S: Likewise.
37255         * sysdeps/sh/_mcount.S: Likewise.
37257 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37259         * libio/iofopen.c: Include <fcntl.h>.
37260         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37261         (_IO_fopen64, fopen64): Define as aliases.
37262         * libio/iofopen64.c: Include <fcntl.h>.
37263         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37264         Conditionalize body on this.
37265         * sysdeps/wordsize-64/iofopen.c: File removed.
37266         * sysdeps/wordsize-64/iofopen64.c: File removed.
37268 2012-08-01  Marek Polacek  <polacek@redhat.com>
37270         * libc/Makeconfig: Use elf in place of binfmt-subdir.
37271         Use dlfcn directly instead of a variable.
37272         (binfmt-subdir): Do not define.
37273         (dlfcn): Likewise.
37275 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
37277         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37278         Remove all definitions.
37279         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37280         <kernel-features.h>.
37281         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37282         (miss_F_GETOWN_EX): Remove all definitions.
37283         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37284         macro definition.
37285         [!__ASSUME_FCNTL64]: Remove conditional code.
37286         [__ASSUME_FCNTL64]: Make code unconditional.
37287         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37288         <kernel-features.h>.
37289         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37290         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37291         (lockf64) [__NR_fcntl64]: Make code unconditional.
37292         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37294         * sysdeps/unix/sysv/linux/kernel-features.h
37295         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37296         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37297         Make code unconditional.
37298         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37299         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37301         [__NR_vfork]: Make code unconditional.
37302         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37303         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37305         [__NR_vfork]: Make code unconditional.
37306         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37307         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37309 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37311         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37312         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37314         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37315         Define mkstemp64 as an alias.
37316         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37317         Define mkstemps64 as an alias.
37318         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37319         Define mkostemp64 as an alias.
37320         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37321         Define mkostemps64 as an alias.
37322         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37323         Conditionalize body on this.
37324         * misc/mkostemp64.c: Likewise.
37325         * misc/mkostemps64.c: Likewise.
37326         * misc/mkstemps64.c: Likewise.
37327         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37328         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37329         * sysdeps/wordsize-64/mkostemp.c: File removed.
37330         * sysdeps/wordsize-64/mkstemp.c: File removed.
37331         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37332         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37333         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37334         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37336         [BZ #14138]
37337         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37338         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37339         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37340         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37342         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37343         compat_symbol macros from <shlib-compat.h> rather than the underlying
37344         default_symbol_version and symbol_version macros, so that DEFAULT
37345         lines in shlib-versions are respected.
37346         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37348 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37350         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37351         Declare with warn_unused_result.
37352         (setgid, setregid, setegid, setresgid): Likewise.
37353         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37354         Likewise.
37355         * WUR-REPORT: Remove set*id functions.
37357 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37359         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37361 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37363         [BZ #10191]
37364         * include/sys/socket.h (__libc_accept, __libc_accept4):
37365         Add attribute_hidden.
37366         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37368         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37369         use of PTR_MANGLE.
37370         * inet/getnetgrent_r.c (setup): Likewise.
37372         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37374 2012-07-31  David S. Miller  <davem@davemloft.net>
37376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37378 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37380         [BZ #13629]
37381         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37382         value between 1.0 and 2.0 and smaller part has absolute value less
37383         than 1.0.
37384         * math/s_clog10.c (__clog10): Likewise.
37385         * math/s_clog10f.c (__clog10f): Likewise.
37386         * math/s_clog10l.c (__clog10l): Likewise.
37387         * math/s_clogf.c (__clogf): Likewise.
37388         * math/s_clogl.c (__clogl): Likewise.
37389         * math/libm-test.inc (clog_test): Add more tests.
37390         (clog10_test): Likewise.
37391         * sysdeps/i386/fpu/libm-test-ulps: Update.
37392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37394 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37396         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37397         Exit with zero in case no suitable GID is found, and write a
37398         message to standard error.
37400 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37402         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37403         rather than to 1.
37404         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37405         (MAXPATHLEN): Removed.
37406         (NOGROUP, NODEV): New macros.
37407         (setbit, clrbit, isset, isclr): New macros.
37408         (howmany, roundup, powerof2): New macros.
37409         (DEV_BSIZE): New macro.
37411         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37412         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37414         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37415         definition on [!__NO_LONG_DOUBLE_MATH].
37417         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37418         PTR_MANGLE and PTR_DEMANGLE.
37420         * socket/accept4.c (accept4): Rename to __libc_accept4.
37421         Define accept4 as a weak alias.
37423         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37424         on [_DIRENT_HAVE_D_TYPE].
37425         * io/ftw.c (ftw_dir): Likewise.
37427         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37429         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37431         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37432         Use the BSD numbers rather than the arbitrary ones we had.
37433         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37434         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37435         (SIGXCPU, SIGXFSZ): New macros.
37436         (_NSIG): Now 32.
37438         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37439         initializer on [_LIBC_REENTRANT].
37441         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37442         definitions inside [_POSIX_MAPPED_FILES].
37444         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37446         * dirent/opendir.c: Include <fcntl.h>.
37448         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37449         (__libc_getspecific): Likewise.
37450         (__libc_key_create): Likewise.
37452         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37453         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37454         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37455         (tmpfile64): Define as alias.
37456         * sysdeps/wordsize-64/tmpfile.c: File removed.
37457         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37458         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37459         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37461         * stdio-common/vfscanf.c: Include <stdbool.h>.
37462         * nss/makedb.c: Likewise.
37463         * stdio-common/_i18n_number.h: Likewise.
37464         * argp/argp-help.c: Likewise.
37465         * posix/wordexp.c: Likewise.
37466         * sysdeps/posix/spawni.c: Likewise.
37467         * nss/nss_files/files-initgroups.c: Likewise.
37468         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37469         * nss/nss_files/files-initgroups.c: Likewise.
37470         * nss/nss_db/db-netgrp.c: Likewise.
37471         * nss/nss_db/db-initgroups.c: Likewise.
37472         * io/fchmodat.c: Include <sys/stat.h>.
37474         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37475         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37477         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37478         [HAVE_MMAP].
37480         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37481         Add multiple inclusion protection.
37483 2012-07-27  David S. Miller  <davem@davemloft.net>
37485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37487 2012-07-27  Gary Benson  <gbenson@redhat.com>
37489         [BZ #14298]
37490         * elf/rtld.c: Include <stap-probe.h>.
37491         (dl_main): Added static probes "init_start" and "init_complete".
37492         * elf/dl-load.c: Include <stap-probe.h>.
37493         (lose): Take new parameter "nsid".
37494         Added static probe "map_failed".
37495         (_dl_map_object_from_fd): Pass namespace id to lose.
37496         Added static probe "map_start".
37497         (open_verify): Pass namespace id to lose.
37498         * elf/dl-open.c: Include <stap-probe.h>.
37499         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37500         and "reloc_complete".
37501         * elf/dl-close.c: Include <stap-probe.h>.
37502         (_dl_close_worker): Added static probes "unmap_start" and
37503         "unmap_complete".
37504         * elf/rtld-debugger-interface.txt: New file documenting the above.
37506 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37508         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37509         rather than a string variable.
37510         * sunrpc/rpc_main.c (h_output): Likewise.
37511         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37513 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37515         * inet/check_native.c: New file.
37517 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37519         [BZ #13629]
37520         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37521         if larger part has absolute value 1.0.
37522         * math/s_clog10.c (__clog10): Likewise.
37523         * math/s_clog10f.c (__clog10f): Likewise.
37524         * math/s_clog10l.c (__clog10l): Likewise.
37525         * math/s_clogf.c (__clogf): Likewise.
37526         * math/s_clogl.c (__clogl): Likewise.
37527         * math/libm-test.inc (clog_test): Add more tests.
37528         (clog10_test): Likewise.
37529         * sysdeps/i386/fpu/libm-test-ulps: Update.
37530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37532         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37533         (pltexit): Likewise.
37534         (La_regs): Likewise.
37535         (La_retval): Likewise.
37536         (int_retval): Likewise.
37537         Update #error for removed macros to refer only to definitions in
37538         tst-audit.h.
37539         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37540         macro.
37541         (pltexit): Likewise.
37542         (La_regs): Likewise.
37543         (La_retval): Likewise.
37544         (int_retval): Likewise.
37545         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37546         macro.
37547         (pltexit): Likewise.
37548         (La_regs): Likewise.
37549         (La_retval): Likewise.
37550         (int_retval): Likewise.
37551         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37552         macro.
37553         (pltexit): Likewise.
37554         (La_regs): Likewise.
37555         (La_retval): Likewise.
37556         (int_retval): Likewise.
37557         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37558         macro.
37559         (pltexit): Likewise.
37560         (La_regs): Likewise.
37561         (La_retval): Likewise.
37562         (int_retval): Likewise.
37563         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37564         macro.
37565         (pltexit): Likewise.
37566         (La_regs): Likewise.
37567         (La_retval): Likewise.
37568         (int_retval): Likewise.
37569         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37570         macro.
37571         (pltexit): Likewise.
37572         (La_regs): Likewise.
37573         (La_retval): Likewise.
37574         (int_retval): Likewise.
37575         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37576         macro definitions in tst-audit.h.
37577         * sysdeps/i386/tst-audit.h: New file.
37578         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37579         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37580         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37581         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37582         * sysdeps/sh/tst-audit.h: Likewise.
37583         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37584         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37585         * sysdeps/x86_64/tst-audit.h: Likewise.
37587 2012-07-26  Andreas Jaeger  <aj@suse.de>
37589         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37590         ptrace.
37592         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37593         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37594         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37595         PTRACE_O_MASK.
37596         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37597         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37598         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37600         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37601         value.
37603         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37604         _sigsys.
37605         (si_call_addr, si_syscall, si_arch): Define new macro.
37606         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37607         _sigsys.
37608         (si_call_addr, si_syscall, si_arch): Define new marcro.
37609         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37610         _sigsys.
37611         (si_call_addr, si_syscall, si_arch): Define new macro.
37612         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37613         _sigsys.
37614         (si_call_addr, si_syscall, si_arch): Define new macro.
37616 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37618         [BZ #13717]
37619         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37620         Change to 2.4.21 where previously 2.4.1.
37621         * sysdeps/unix/sysv/linux/configure: Regenerated.
37622         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37623         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37624         Linux kernel version.
37625         (__ASSUME_STD_AUXV): Remove.
37626         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37627         kernel version.
37628         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37629         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37630         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37631         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37632         (__ASSUME_NETLINK_SUPPORT): Likewise.
37633         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37634         (__no_netlink_support): Remove conditional definition.
37635         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37636         Remove.
37637         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37638         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37639         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37640         (if_nameindex_ioctl): Remove.
37641         (if_nameindex_netlink): Do not handle __no_netlink_support.
37642         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37643         code.
37644         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37645         Remove conditional code.
37646         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37647         code.
37648         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37649         unconditional.
37650         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37651         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37652         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37653         Remove.
37654         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37655         [!__ASSUME_STD_AUXV]: Remove conditional code.
37656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37657         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37658         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37660         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37661         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37662         code.
37663         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37665         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37666         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37667         conditional code.
37668         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37670         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37671         code.
37672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37673         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37674         conditional code.
37675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37676         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37677         code unconditional.
37678         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37679         conditional code.
37680         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37681         unconditional.
37682         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37683         conditional code.
37684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37685         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37686         unconditional.
37687         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37688         conditional code.
37689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37690         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37691         code unconditional.
37692         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37693         conditional code.
37694         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37695         unconditional.
37696         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37697         conditional code.
37698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37699         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37700         code unconditional.
37701         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37702         conditional code.
37703         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37704         unconditional.
37705         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37706         conditional code.
37708 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37710         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37711         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37712         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37713         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37714         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37715         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37716         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37717         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37718         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37719         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37720         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37721         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37722         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37723         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37724         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37725         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37726         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37727         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37728         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37729         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37730         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37731         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37732         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37734 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37736         * Versions.def: Add GLIBC_2.17.
37737         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37738         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37739         Introduce __libc_secure_getenv.
37740         * stdlib/Versions (2.17): Add secure_getenv
37741         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37742         * stdlib/secure-getenv.c: Rename __secure_getenv to
37743         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37744         symbol __secure_getenv for GLIBC_2.0.
37745         * stdlib/tst-secure-getenv.c: New.
37746         * stdlib/Makefile (tests): Add testcase.
37747         * manual/startup.texi (Environment Access): Document
37748         secure_getenv.
37749         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37750         __libc_secure_getenv.
37751         * inet/ruserpass.c (ruserpass): Likewise.
37752         * malloc/mtrace.c (mtrace): Likewise.
37753         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37754         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37755         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37756         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37757         HAVE_SECURE_GETENV.
37758         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37759         __secure_getenv to __libc_secure_getenv.
37760         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37762         Likewise.
37763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37764         Likewise.
37765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37767         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37770         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37773 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37775         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37776         (struct La_i86_retval): Likewise.
37777         (struct La_x86_64_regs): Likewise.
37778         (struct La_x86_64_retval): Likewise.
37779         (struct La_x32_regs): Likewise.
37780         (struct La_x32_retval): Likewise.
37781         (struct La_ppc32_regs): Likewise.
37782         (struct La_ppc32_retval): Likewise.
37783         (struct La_ppc64_regs): Likewise.
37784         (struct La_ppc64_retval): Likewise.
37785         (struct La_sh_regs): Likewise.
37786         (struct La_sh_retval): Likewise.
37787         (struct La_s390_32_regs): Likewise.
37788         (struct La_s390_32_retval): Likewise.
37789         (struct La_s390_64_regs): Likewise.
37790         (struct La_s390_64_retval): Likewise.
37791         (struct La_sparc32_regs): Likewise.
37792         (struct La_sparc32_retval): Likewise.
37793         (struct La_sparc64_regs): Likewise.
37794         (struct La_sparc64_retval): Likewise.
37795         (struct audit_ifaces): Remove architecture-specific pltenter and
37796         pltexit members.
37797         * sysdeps/i386/ldsodefs.h: New file.
37798         * sysdeps/powerpc/ldsodefs.h: Likewise.
37799         * sysdeps/s390/ldsodefs.h: Likewise.
37800         * sysdeps/sh/ldsodefs.h: Likewise.
37801         * sysdeps/sparc/ldsodefs.h: Likewise.
37802         * sysdeps/x86_64/ldsodefs.h: Likewise.
37804 2012-07-25  Marek Polacek  <polacek@redhat.com>
37806         [BZ #6808]
37807         * math/libm-test.inc (yn_test): Add another test.
37808         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37809         to ERANGE when the result is +-Inf.
37810         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37811         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37812         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37813         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37815 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37817         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37818         equal to 0.
37819         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37820         clock_t.
37821         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37823 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37825         * configure.in <sysdeps resolving>: Correct printing
37826         Implies_before.
37827         * configure: Regenerate.
37829 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37831         * math/w_ilogb.c: Include <limits.h>.
37832         * math/w_ilogbl.c: Likewise.
37834 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37836         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37837         va_copy.  Document allowing for unavailable va_copy only as
37838         pre-C99 compatibility.
37839         * manual/string.texi (Copying and Concatenation): Use va_copy
37840         instead of __va_copy in concat example.
37842 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37844         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37845         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37846         it if not null.
37848         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37849         with O_NOLINK passed to __file_name_lookup.
37851         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37852         with O_NOLINK passed to __file_name_lookup.
37854         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37855         negative N or less than NGIDS.
37857         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37858         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37859         enough.  Use memcpy instead of strncpy.
37861 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37863         * elf/Makefile (check-data): Remove.
37864         (localplt.data): New vpath directive.
37865         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37866         instead of $(check-data).
37867         * scripts/data/localplt-generic.data: Move to ...
37868         * sysdeps/generic/localplt.data: ... here.
37869         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37870         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37871         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37873         ... here.
37874         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37876         ... here.
37877         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37879         ... here.
37880         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37882         ... here.
37883         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37885         ... here.
37886         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37888         ... here.
37890 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37892         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37893         PPC32 and PPC64 files.
37894         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37895         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37897 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37899         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37900         __makecontext_ret to ...
37901         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37902         ... here and call exit if uc_link is NULL.  New file.
37903         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37904         __makecontext_ret.S.
37905         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37906         __makecontext_ret to ...
37907         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37908         ... here and call exit if uc_link is NULL.  New file.
37909         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37910         __makecontext_ret.S.
37912 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37914         * elf/elf.h (R_390_IRELATIVE): New definition.
37915         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37916         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37917         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37918         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37919         (elf_machine_lazy_rel): Likewise.
37920         * sysdeps/s390/dl-irel.h: New file.
37921         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37922         * sysdeps/s390/s390-64/memset.S: New asm code.
37923         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37924         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37925         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37926         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37927         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37928         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37929         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37930         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37931         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37932         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37933         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37934         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37935         * sysdeps/s390/s390-32/memset.S: New asm code.
37936         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37938 2012-07-17  Marek Polacek  <polacek@redhat.com>
37940         [BZ #14349]
37941         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37942         * sysdeps/s390/s390-64/configure.in: Likewise.
37943         * sysdeps/sparc/configure.in: Likewise.
37944         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37945         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37946         * sysdeps/i386/configure.in: Likewise.
37947         * sysdeps/x86_64/configure.in: Likewise.
37948         * sysdeps/sh/configure.in: Likewise.
37949         * sysdeps/s390/s390-32/configure: Regenerated.
37950         * sysdeps/s390/s390-64/configure: Likewise.
37951         * sysdeps/x86_64/configure: Likewise.
37952         * sysdeps/sh/configure: Likewise.
37953         * sysdeps/powerpc/powerpc64/configure: Likewise.
37954         * sysdeps/powerpc/powerpc32/configure: Likewise.
37955         * sysdeps/sparc/configure: Likwise.
37956         * sysdeps/i386/configure: Likewise.
37958         * elf/dl-open.c: Comment fixes.
37960 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37962         * Makefile [CXX] (check-data): Remove.
37963         [CXX] (c++-types.data): New vpath directive.
37964         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37965         vpath.  Do not allow for C++ type data being missing.
37966         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37967         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37968         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37969         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37970         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37971         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37972         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37974         ... here.
37975         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37977         ... here.
37978         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37980         ... here.
37981         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37983         ... here.
37984         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37986         ... here.
37987         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37989         ... here.
37990         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37992         ... here.
37993         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37996         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37997         definitions to architecture-specific files.
37998         (TLS_IE): Likewise.
37999         (TLS_LD): Likewise.
38000         (TLS_GD): Likewise.
38001         * sysdeps/i386/tls-macros.h: New file.
38002         * sysdeps/powerpc/tls-macros.h: Likewise.
38003         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38004         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38005         * sysdeps/sh/tls-macros.h: Likewise.
38006         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38007         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38008         * sysdeps/x86_64/tls-macros.h: Likewise.
38010 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38012         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38013         zero value for regular exit case.
38015         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38016         (__start_context): Preserve zero value for regular exit case.
38018 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
38019             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38021         * manual/setjmp.texi (setcontext): Clarify normal process
38022         termination when uc_link is the null pointer.
38023         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38024         exit call.
38026 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
38028         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38029         preprocessor.  Test for each exception mask separately.
38031 2012-07-16  Andreas Jaeger  <aj@suse.de>
38033         * po/ru.po: Update from translation team.
38035 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
38037         * conform/data/string.h-data (NULL): Use macro-constant.  Require
38038         equal to 0.
38039         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38040         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38041         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38042         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38043         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38045 2012-07-13  Andreas Jaeger  <aj@suse.de>
38047         * po/fr.po: Update from translation team.
38049 2012-07-12  Marek Polacek  <polacek@redhat.com>
38051         [BZ #14173]
38052         * math/libm-test.inc (yn_test): Add test for BZ #14173.
38053         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38054         loop condition.
38056 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
38058         [BZ #13717]
38059         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38060         Change to 2.4.1 where previously 2.4.0.
38061         * sysdeps/unix/sysv/linux/configure: Regenerated.
38062         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38063         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38064         version.
38065         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38066         (__ASSUME_AT_CLKTCK): Remove.
38067         (__ASSUME_AT_PAGESIZE): Likewise.
38068         (__ASSUME_AT_XID): Likewise.
38069         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38070         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38071         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38072         unconditionally.
38073         (HAVE_AUX_PAGESIZE): Likewise.
38074         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38075         [__ASSUME_AT_CLKTCK]: Make code unconditional.
38076         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38078 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
38080         [BZ #14307]
38081         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38082         the temporary buffer used to invoke __gethostbyname2_r,
38083         __gethostbyaddr_r and gethostbyname4_r to make room for struct
38084         host_data / struct gaih_addrtuple.
38085         * resolv/nss_dns/dns-host.c (global scope): Move definition of
38086         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38087         header file nss/nsswitch.h.
38088         * nss/nsswitch.h (global scope): Add definition of implementation
38089         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38090         resolv/nss_dns/dns-host.c).
38092 2012-07-11  Andreas Jaeger  <aj@suse.de>
38094         * po/fr.po: Update from translation team.
38096         * po/sv.po: Update from translation team
38097         * po/fr.po: Another update from translation team.
38099 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38101         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38102         for subnormals or multiply small sinh result by itself.
38103         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38106 2012-07-11  David S. Miller  <davem@davemloft.net>
38108         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38110 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
38112         [BZ #14347]
38113         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38114         (INTERNAL_MARK): Shift it here.
38116 2012-07-10  Marek Polacek  <polacek@redhat.com>
38118         [BZ #14151]
38119         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
38120         libc_cv_asm_global_directive with .globl.
38121         * configure: Regenerated.
38122         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38123         with .globl.
38124         * sysdeps/i386/configure: Regenerated.
38125         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38126         with .globl.
38127         * sysdeps/x86_64/configure: Regenerated.
38128         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38129         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38130         * elf/tst-unique2mod2.c: Likewise.
38131         * elf/tst-unique2mod1.c: Likewise.
38132         * elf/tst-unique1mod2.c: Likewise.
38133         * elf/tst-unique1mod1.c: Likewise.
38134         * sysdeps/s390/s390-32/sysdep.h: Likewise.
38135         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38136         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38137         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38138         * sysdeps/mach/sysdep.h: Likewise.
38139         * sysdeps/i386/sysdep.h: Likewise.
38140         * sysdeps/i386/i386-mcount.S: Likewise.
38141         * sysdeps/x86_64/_mcount.S: Likewise.
38142         * sysdeps/x86_64/sysdep.h: Likewise.
38143         * sysdeps/sh/_mcount.S: Likewise.
38144         * sysdeps/sh/sysdep.h: Likewise.
38145         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38146         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38147         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38148         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38149         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38150         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38151         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38152         * locale/localeinfo.h: Likewise.
38153         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38154         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38156 2012-07-09  Roland McGrath  <roland@hack.frob.com>
38158         [BZ #14336]
38159         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38160         system".
38161         * manual/message.texi (The Uniforum approach): Likewise.
38162         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38163         (glibc iconv Implementation): Likewise.
38165 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
38167         [BZ #14337]
38168         * math/s_clog.c (__clog): Avoid scaling a value down where that
38169         could result in underflow.
38170         * math/s_clog10.c (__clog10): Likewise.
38171         * math/s_clog10f.c (__clog10f): Likewise.
38172         * math/s_clog10l.c (__clog10l): Likewise.
38173         * math/s_clogf.c (__clogf): Likewise.
38174         * math/s_clogl.c (__clogl): Likewise.
38175         * math/libm-test.inc (clog_test): Add more tests.
38176         (clog10_test): Likewise.
38177         * sysdeps/i386/fpu/libm-test-ulps: Update.
38178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38180 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
38182         [BZ #14283]
38183         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38184         by 7 not 8 to examine high bit of fractional part.
38186         [BZ #14042]
38187         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38188         for call to __mcount_internal.
38189         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38190         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38191         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38193 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
38195         [BZ #14154]
38196         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38197         approximation for values within 0x1p-13f of an odd multiple of
38198         pi/4.
38199         * math/libm-test.inc (tan_test): Do not allow spurious underflow
38200         exception.  Add more tests.
38201         * sysdeps/i386/fpu/libm-test-ulps: Update.
38203         [BZ #6778]
38204         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38205         inputs and return -1 for them.  Do not check for +Inf in case not
38206         reachable for +Inf.
38207         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38208         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38209         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38210         and return -1 for them.  Do not check for +Inf in case not
38211         reachable for +Inf.
38212         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38213         define.
38214         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38215         and return -1 for them.  Do not check for +Inf in case not
38216         reachable for +Inf.
38217         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
38218         spurious underflow.
38219         * sysdeps/i386/fpu/libm-test-ulps: Update.
38220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38222 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
38224         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38226 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
38228         [BZ #14157]
38229         [BZ #14331]
38230         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38231         could result in spurious underflow.  Scale down values above
38232         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38233         * math/s_csqrtf.c (__csqrtf): Likewise.
38234         * math/s_csqrtl.c (__csqrtl): Likewise.
38235         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
38236         spurious underflow.
38237         * sysdeps/i386/fpu/libm-test-ulps: Update.
38238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38240 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
38242         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38243         xopen-msg.sed.
38244         * catgets/xopen-msg.awk: New file.
38245         * catgets/xopen-msg.sed: Removed.
38247         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38248         po2text.sed.
38249         * intl/po2test.awk: New file.
38250         * intl/po2test.sed: Removed.
38252 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
38254         [BZ #14328]
38255         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38256         or multiply small sinh result by itself.
38257         * math/s_ctanf.c (__ctanf): Likewise.
38258         * math/s_ctanh.c (__ctanh): Likewise.
38259         * math/s_ctanhf.c (__ctanhf): Likewise.
38260         * math/s_ctanhl.c (__ctanhl): Likewise.
38261         * math/s_ctanl.c (__ctanl): Likewise.
38262         * math/libm-test.inc (ctan_test_tonearest): New function.
38263         (ctan_test_towardzero): Likewise.
38264         (ctan_test_downward): Likewise.
38265         (ctan_test_upward): Likewise.
38266         (ctanh_test_tonearest): Likewise.
38267         (ctanh_test_towardzero): Likewise.
38268         (ctanh_test_downward): Likewise.
38269         (ctanh_test_upward): Likewise.
38270         (main): Call these new functions.
38271         * sysdeps/i386/fpu/libm-test-ulps: Update.
38272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38274 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
38276         * .gitignore: Delete /ports entry.
38278 2012-07-03  Andreas Jaeger  <aj@suse.de>
38280         * po/bg.po: Update from translation team.
38281         * po/cs.po: Likewise.
38282         * po/de.po: Likewise.
38283         * po/hr.po: Likewise.
38284         * po/nl.pl: Likewise.
38285         * po/pl.po: Likewise.
38286         * po/vi.po: Likewise.
38288 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38290         * Makeconfig [!+link] (+link-before-libc): New variable.
38291         [!+link] (+link-after-libc): Likewise.
38292         [!+link] (+link-tests): Likewise.
38293         [!+link] (+link): Define in terms of $(+link-before-libc) and
38294         $(+link-after-libc).
38295         [!+link-static] (+link-static-before-libc): New variable.
38296         [!+link-static] (+link-static-after-libc): Likewise.
38297         [!+link-static] (+link-static-tests): Likewise.
38298         [!+link-static] (+link-static): Define in terms of
38299         $(+link-static-before-libc) and $(+link-static-after-libc).
38300         [build-shared] (link-libc-before-gnulib): New variable.
38301         [build-shared] (link-libc-tests): Likewise.
38302         [build-shared] (link-libc): Define in terms of
38303         $(link-libc-before-gnulib).
38304         [!build-shared] (link-libc-tests): New variable.
38305         (link-libc-static-tests): New variable.
38306         [!gnulib] (gnulib-arch): New variable.
38307         [!gnulib] (gnulib-tests): Likewise.
38308         [!gnulib] (static-gnulib-arch): Likewise.
38309         [!gnulib] (static-gnulib-tests): Likewise.
38310         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38311         Define with "=" instead of ":=".
38312         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38313         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38314         * Rules (binaries-all-notests): New variable.
38315         (binaries-all-tests): Likewise.
38316         (binaries-static-notests): Likewise.
38317         (binaries-static-tests): Likewise.
38318         (binaries-all): Define using $(binaries-all-notests) and
38319         $(binaries-all-tests).
38320         (binaries-static): Define using $(binaries-static-notests) and
38321         $(binaries-static-tests).
38322         (binaries-shared-tests): New variable.
38323         (binaries-shared-notests): Likewise.
38324         (binaries-shared): Remove variable.
38325         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38326         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38327         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38328         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38329         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38330         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38331         * elf/Makefile (sln-modules): New variable.
38332         (extra-objs): Add $(sln-modules:=.o).
38333         (ldconfig-modules): Add static-stubs.
38334         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38335         * elf/static-stubs.c: New file.
38337         [BZ #14283]
38338         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38339         by 7 not 8 to examine high bit of fractional part.  Use volatile
38340         variables when splitting into final array of floats if
38341         __FLT_EVAL_METHOD__ != 0.
38342         * math/libm-test.inc (cos_test): Add another test.
38343         (sin_test): Likewise.
38344         * sysdeps/i386/fpu/libm-test-ulps: Update.
38346         [BZ #14273]
38347         * math/libm-test.inc (cosh_test): Add more tests.
38349         * version.h (RELEASE): Set to "development".
38350         (VERSION): Set to "2.16.90".
38352 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38354         * NEWS: Update copyright. Remove last-updated date.
38355         Mention math library bug fixes and timezone data changes.
38356         * README: Mention GNU/Hurd, x32, and HPPA support status.
38358 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38360         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38362 2012-06-27  Andreas Jaeger  <aj@suse.de>
38364         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38366 2012-06-25  Andreas Jaeger  <aj@suse.de>
38368         * sysdeps/s390/fpu/libm-test-ulps: Update.
38370 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38371             Thomas Schwinge  <thomas@codesourcery.com>
38373         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38374         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38375         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38376         fanotify_mark.
38378 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38380         * sysdeps/mach/start.c: Remove file.
38381         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38382         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38383         * sysdeps/sh/init-first.c: Likewise.
38385         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38386         registers for frame unwinding purposes, add CFI directives.
38387         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38388         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38389         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38390         Likewise.
38392         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38393         __fortify_fail returning.
38394         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38396         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38397         sysdeps/sh/____longjmp_chk.S.
38398         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38399         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38400         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38401         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38403         * sysdeps/sh/abort-instr.h: New file.
38404         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38405         process in case exit returns.
38407         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38408         initialize the GOT register before use.
38410         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38411         calculation of ARGC > 4.
38413         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38414         meaningful names to some local labels.
38416 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38417             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38419         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38420         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38421         (__arch_compare_and_exchange_val_16_acq): Likewise.
38422         (__arch_compare_and_exchange_val_32_acq): Likewise.
38423         (atomic_exchange_and_add): Fix gUSA sequence.
38424         (atomic_add): Likewise.
38425         (atomic_add_negative): Likewise.
38426         (atomic_add_zero): Likewise.
38427         (atomic_bit_test_set): Likewise.
38429 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38431         [BZ #13579]
38432         * include/link.h (struct link_map): Add l_free_initfini.
38433         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38434         l_initfini.
38435         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38436         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38437         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38438         set.
38440 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38442         * configure.in: Use AC_LANG_SOURCE.
38443         * configure: Regenerate.
38445 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38447         * configure.in (libc_cv_localstatedir): New substituted variable.
38448         * configure: Regenerated.
38449         * config.make.in (localstatedir): New variable, substituted from
38450         libc_cv_localstatedir.
38451         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38452         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38453         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38454         * sysdeps/gnu/configure: Regenerated.
38456 2012-06-21  Jeff Law  <law@redhat.com>
38458         [BZ #14277]
38459         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38460         free.  Simplify list management for _LIBC case.
38462 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38464         [BZ #14273]
38465         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38466         Clear sign bit of 64-bit integer value before comparing against
38467         overflow value.
38469         * sysdeps/mach/configure: Regenerated.
38471 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38473         [BZ #14278]
38474         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38476 2012-06-21  Jeff Law  <law@redhat.com>
38478         [BZ #13882]
38479         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38480         uint16_t for elements in the "seen" array to avoid char overflows.
38481         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38482         * elf/dl-open.c (dl_open_worker): Likewise.
38484 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38486         * scripts/list-sources.sh: Scan PORTS for translations.
38487         * po/libc.pot: Regenerated.
38489 2012-06-21  Andreas Jaeger  <aj@suse.de>
38491         [BZ #12194]
38492         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38493         warning.
38494         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38495         * bits/byteswap-16.h (__bswap_16): Likewise.
38496         * bits/byteswap.h (__bswap_constant_16): Likewise.
38498 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38500         [BZ #14117]
38501         * sysdeps/i386/fpu_control.h: Removed.
38502         * sysdeps/x86_64/fpu_control.h: Moved to ...
38503         * sysdeps/x86/fpu_control.h: Here.
38505         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38506         (_FPU_SETCW): Likewise.
38508 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38510         [BZ #14117]
38511         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38512         * sysdeps/x86/fpu/bits/mathinline.h: This.
38513         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38515         [BZ #14050]
38516         [BZ #14117]
38517         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38518         functions if __x86_64__ is defined.
38520 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38522         * string/endian.h: Add !__ASSEMBLER__ condition for including
38523         conversion interfaces.
38525 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38527         [BZ #14241]
38528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38529         of ABS(x) in calculating zero to negative powers other than odd
38530         integers.
38531         * math/libm-test.inc (pow_test): Add more tests.
38533 2012-06-15  Andreas Jaeger  <aj@suse.de>
38535         * manual/contrib.texi (Contributors): Update entry of Liubov
38536         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38537         Machado Filho.
38539 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38541         * string/string.h: Add __wur to GNU version of strerror_r.
38543 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38545         [BZ #14229]
38546         * string/Makefile (tests): Add tst-strtok_r.
38547         * string/tst-strtok_r.c: New file.
38548         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38549         RAX_LP/RDX_LP on SAVE_PTR.
38551 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38553         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38555 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38557         * libm_test.inc (csqrt_test): Allow more spurious underflow
38558         exceptions.
38559         (j0_test): Likewise.
38560         (j1_test): Likewise.
38561         (y0_test): Likewise.
38562         (y1_test): Likewise.
38564 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38566         * po/Makefile (libc.pot): Use UTF-8 charset.
38568 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38570         [BZ #14210]
38571         Suppress sign-conversion warning from FD_SET.
38572         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38573         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38574         not unsigned long int.
38575         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38577 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38579         [BZ #14050]
38580         [BZ #14117]
38581         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38582         __extern_always_inline instead of __extern_inline.
38583         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38584         (__signbit): Likewise.
38585         (__signbitl): Support C++ namespace.
38586         (lrintf): New inline function.
38587         (lrint): Likewise.
38588         (llrintf): Likewise.
38589         (llrint): Likewise.
38590         (fmaxf): Likewise.
38591         (fmax): Likewise.
38592         (fminf): Likewise.
38593         (fmin): Likewise.
38594         (rint): Likewise.
38595         (rintf): Likewise.
38596         (ceil): Likewise.
38597         (ceilf): Likewise.
38598         (floor): Likewise.
38599         (floorf): Likewise.
38600         (nearbyint): Likewise.
38601         (nearbyintf): Likewise.
38603 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38605         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38606         non-default versions.
38608 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38610         [BZ #14218]
38611         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38613 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38615         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38616         (FE_UPWARD, FE_DOWNWARD): Don't define.
38617         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38618         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38620         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38621         reading it.
38622         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38623         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38625 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38627         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38628         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38629         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38630         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38632 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38634         [BZ #14117]
38635         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38636         * sysdeps/i386/fpu/Implies: New file.
38637         * sysdeps/x86_64/fpu/Implies: Likewise.
38638         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38639         * sysdeps/x86/fpu/bits/fenv.h: This.
38641         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38642         __SSE_MATH__.
38644 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38646         [BZ #14134]
38647         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38648         character 0xffff that matches the last element of the
38649         conversion table.
38651 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38653         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38654         fmodl commit.
38656 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38658         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38659         values higher than 25.6283.
38661 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38663         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38664         subnormal exponent extraction and add some __builtin_expect.
38665         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38666         Fix for subnormal mantissa calculation.
38668 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38670         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38671         cpu2 is -1 and errno is not ENOSYS.
38673 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38675         [BZ #14117]
38676         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38677         * sysdeps/x86/bits/string.h: This.
38678         * sysdeps/x86_64/bits/string.h: Removed.
38680         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38681         if not compiling for x86-64, but compiling for >= i486.
38683         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38684         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38686         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38687         New macro from Linux kernel 3.4.0.
38688         (FP_XSTATE_MAGIC2): Likewise.
38689         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38690         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38691         (struct _fpx_sw_bytes): New struct.
38692         (struct _xsave_hdr): Likewise.
38693         (struct _ymmh_state): Likewise.
38694         (struct _xstate): Likewise.
38696         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38697         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38698         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38699         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38700         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38701         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38703         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38704         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38705         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38706         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38707         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38708         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38710 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38712         [BZ #13743]
38713         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38714         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38715         (sysdep_headers): Include sys/platform/ppc.h.
38716         * sysdeps/powerpc/test-gettimebase.c: Test for
38717         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38718         * manual/Makefile (appendices): Include platform.texi.
38719         * manual/contrib.texi (Contributors): Update @node pointers.
38720         * manual/maint.texi (Maintenance): Likewise.
38721         (Platform): New node.
38722         * manual/platform.texi: New file.  Document the new features.
38724 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38725             Jakub Jelinek  <jakub@redhat.com>
38727         [BZ #14188]
38728         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38729         where __builtin_expect is unavailable.
38731 2012-06-03  David S. Miller  <davem@davemloft.net>
38733         * stdlib/longlong.h: Updated from GCC.
38735 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38737         [BZ #14042]
38738         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38739         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38740         __mcount_internal.
38741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38742         (GLIBC_2.16): Likewise.
38744 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38746         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38748 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38751         (default-abi): New variable.
38752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38753         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38754         variable.
38755         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38756         Likewise.
38757         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38758         Likewise.
38759         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38760         Likewise.
38762         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38763         definition.  Document in comment.
38765 2012-06-01  David S. Miller  <davem@davemloft.net>
38767         * stdlib/longlong.h: Updated from GCC.
38769 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38771         [BZ #14117]
38772         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38773         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38774         sys/debugreg.h sys/io.h here.
38775         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38776         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38777         sys/io.h.
38778         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38779         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38780         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38781         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38782         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38783         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38785         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38786         Define only if __x86_64__ is defined.
38788 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38790         [BZ #14048]
38791         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38792         Use int64_t for variable i.
38793         * math/libm-test.inc (fmod_test): Add more tests.
38795         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38796         z computation is not scheduled after fetestexcept.
38797         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38798         Use math_force_eval instead of asm to ensure calculation scheduled
38799         before exception test.
38800         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38801         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38803 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38805         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38806         computation is not scheduled after fetestexcept.
38808 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38810         [BZ #14117]
38811         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38812         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38814 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38816         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38817         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38819 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38821         [BZ #14117]
38822         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38823         <bits/wordsize.h>.
38824         (__WCHAR_MIN): Support __WORDSIZE == 64.
38825         (__WCHAR_MAX): Likewise.
38827         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38828         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38830         [BZ #14183]
38831         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38832         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38834         [BZ #14117]
38835         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38836         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38838         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38839         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38841         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38842         Defined to 1 if __x86_64__ isn't defined.
38843         (_STAT_VER_LINUX_OLD): New.
38844         (st_atime): Remove duplicate.
38845         (st_mtime): Likewise.
38846         (st_ctime): Likewise.
38848 2012-05-31  David S. Miller  <davem@davemloft.net>
38850         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38851         entries.
38853 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38855         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38856         gen-libm-test.pl.
38858         [BZ #14132]
38859         * elf/dl-reloc.c: Include <_itoa.h>.
38860         (_dl_reloc_bad_type): Remove use of INTUSE.
38861         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38862         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38863         * stdio-common/psiginfo.c (psiginfo): Likewise.
38864         * stdio-common/psignal.c (psignal): Likewise.
38865         * string/strsignal.c (strsignal): Likewise.
38866         * include/signal.h (_sys_siglist): Declare hidden proto.
38867         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38868         INTVARDEF with libc_hidden_data_def.
38869         * stdio-common/itoa-udigits.c: Likewise.
38870         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38871         (_itoa_lower_digits_internal): Remove declaration.
38872         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38873         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38874         (_sys_sigabbrev_internal): Remove aliases.
38875         (_sys_siglist): Define hidden alias.
38877 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38880         bits/sysctl.h.
38882 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38884         [BZ #14117]
38885         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38886         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38888         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38889         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38890         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38891         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38892         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38893         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38895         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38896         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38897         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38899         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38900         with __addr.
38901         (insw): Likewise.
38902         (insl): Likewise.
38903         (outsb): Likewise.
38904         (outsw): Likewise.
38905         (outsl): Likewise.
38907         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38908         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38909         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38911         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38912         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38913         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38914         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38915         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38916         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38918         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38919         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38921         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38922         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38924         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38925         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38926         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38928         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38929         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38930         to ...
38931         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38933         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38934         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38935         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38937         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38938         for x86-64.
38939         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38941 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38943         * math/math.h (M_El): Use two more decimal places.
38944         (M_LOG2El): Likewise.
38945         (M_LOG10El): Likewise.
38946         (M_LN2l): Likewise.
38947         (M_LN10l): Likewise.
38948         (M_PIl): Likewise.
38949         (M_PI_2l): Likewise.
38950         (M_PI_4l): Likewise.
38951         (M_1_PIl): Likewise.
38952         (M_2_PIl): Likewise.
38953         (M_2_SQRTPIl): Likewise.
38954         (M_SQRT2l): Likewise.
38955         (M_SQRT1_2l): Likewise.
38957 2012-05-31  David S. Miller  <davem@davemloft.net>
38959         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38960         values between float registers.
38961         * sysdeps/sparc/sparc64/memset.S: Likewise.
38962         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38964 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38966         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38967         -D_FORTIFY_SOURCE=1.
38968         (CPPFLAGS-tst-longjmp_chk.c): Define.
38969         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38970         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38971         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38972         CFLAGS-tst-wchar-h.c.
38974 2012-05-31  Marek Polacek  <polacek@redhat.com>
38976         [BZ #14132]
38977         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38978         __endmntent_internal): Remove declaration.
38979         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38980         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38981         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38983 2012-05-30  David S. Miller  <davem@davemloft.net>
38985         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38986         (___Q_simulate_exceptions): Use real FP ops rather than writing
38987         into the %fsr.
38988         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38989         Likewise.
38991 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38993         [BZ #14117]
38994         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38995         * sysdeps/x86/bits/xtitypes.h: This.
38997         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38998         * sysdeps/x86/bits/wordsize.h: This.
39000         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39001         * sysdeps/x86/bits/huge_vall.h: This.
39003         * sysdeps/i386/bits/select.h: Removed.
39004         * sysdeps/x86_64/bits/select.h: Renamed to ...
39005         * sysdeps/x86/bits/select.h: This.
39007         * sysdeps/i386/bits/setjmp.h: Removed.
39008         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39009         * sysdeps/x86/bits/setjmp.h: This.
39011         * sysdeps/i386/bits/mathdef.h: Removed.
39012         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39013         * sysdeps/x86/bits/mathdef.h: This.
39015 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
39017         [BZ #14132]
39018         * include/sys/socket.h (__connect_internal)
39019         (__libc_sa_len_internal): Remove declaration.
39020         (__connect, __libc_sa_len): Declare hidden_proto.
39021         (SA_LEN): Remove use of INTUSE.
39022         * socket/connect.c: Add libc_hidden_def.
39023         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39024         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39025         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39026         alias.
39027         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39028         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39029         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39030         of adding _internal alias.
39032 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39034         [BZ #14117]
39035         * sysdeps/i386/bits/link.h: Removed.
39036         * sysdeps/i386/bits/linkmap.h: Likewise.
39037         * sysdeps/x86_64/bits/link.h: Renamed to ...
39038         * sysdeps/x86/bits/link.h: This.
39039         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39040         * sysdeps/x86/bits/linkmap.h: This.
39042         * sysdeps/i386/bits/endian.h: Removed.
39043         * sysdeps/x86_64/bits/endian.h: Renamed to ...
39044         * sysdeps/x86/bits/endian.h: This.
39046         * sysdeps/i386/bits/byteswap.h: Removed.
39047         * sysdeps/i386/bits/byteswap-16.h: Likewise.
39048         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39049         * sysdeps/x86/bits/byteswap.h: This.
39050         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39051         * sysdeps/x86/bits/byteswap-16.h: This.
39052         * sysdeps/i386/Implies: Add x86.
39053         * sysdeps/x86_64/Implies: Likewise.
39055 2012-05-30  David S. Miller  <davem@davemloft.net>
39057         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39058         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39059         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39060         (FP_TRAPPING_EXCEPTIONS): Define.
39061         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39062         (FP_TRAPPING_EXCEPTIONS): Define.
39063         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39064         subnormals only when inexact has been signalled or underflow
39065         exceptions are enabled.
39066         (_FP_PACK_CANONICAL): Likewise.
39068 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39070         [BZ #14183]
39071         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39072         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39074 2012-05-30  Richard Henderson  <rth@twiddle.net>
39076         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39077         with #ifndef NOT_IN_libc.
39079         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
39080         marked to avoid plt entry.
39082 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
39084         [BZ #14112]
39085         * Makeconfig (default-abi): New macro.
39086         (abi-includes): Likewise.
39087         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
39088         $(abi-$(default-abi)-lib-soname) for soname if defined.
39089         ($(common-objpfx)gnu/lib-names.stmp): Generate from
39090         abi-variants.
39091         * Makefile (installed-stubs): Likewise.
39092         * include/stubs-biarch.h: Removed.
39093         * scripts/lib-names.awk: Only handle one library at a time.
39094         * scripts/soversions.awk: Remove WORDSIZE support.
39095         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39096         entries.
39097         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39098         Removed.
39099         (syscall-list-default-condition): Likewise.
39100         (syscall-list-default-condition): Likewise.
39101         (syscall-list-includes): Likewise.
39102         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39103         syscall-list-* with abi-*.  Handle undefined abi-variants.
39104         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39105         * sysdeps/unix/sysv/linux/i386/Implies: New file.
39106         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39107         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39108         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39109         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39110         Removed.
39111         (syscall-list-32-options): Likewise.
39112         (syscall-list-32-condition): Likewise.
39113         (syscall-list-64-options): Likewise.
39114         (syscall-list-64-condition): Likewise.
39115         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39116         macro.
39117         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39118         Renamed to ...
39119         (abi-*): This.
39120         (abi-64-ld-soname): New macro.
39121         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39122         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39123         Renamed to ...
39124         (abi-*): This.
39125         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39126         * sysdeps/x86_64/x32/shlib-versions: Likewise.
39128 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
39130         * sysdeps/unix/sysv/linux/kernel-features.h
39131         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39132         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39133         include <kernel-features.h>.
39134         [!__NR_ftruncate64]: Remove conditional code.
39135         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39136         [__NR_ftruncate64]: Make code unconditional.
39137         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39138         * sysdeps/unix/sysv/linux/truncate64.c: Do not
39139         include <kernel-features.h>.
39140         [!__NR_ftruncate64]: Remove conditional code.
39141         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39142         [__NR_ftruncate64]: Make code unconditional.
39143         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39145         include <kernel-features.h>.
39146         [!__NR_ftruncate64]: Remove conditional code.
39147         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39148         [__NR_ftruncate64]: Make code unconditional.
39149         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39151         include <kernel-features.h>.
39152         [!__NR_ftruncate64]: Remove conditional code.
39153         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39154         [__NR_ftruncate64]: Make code unconditional.
39155         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39157         * configure.in (libc_cv_fpie): Weaken to a compile test using
39158         LIBC_TRY_CC_OPTION.
39159         * configure: Regenerated.
39161 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39167         Refreshed.
39168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39174         Refreshed.
39176 2012-05-27  David S. Miller  <davem@davemloft.net>
39178         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39179         (___Q_zero): New.
39180         (__Q_simulate_exceptions): Return void.  Change to simulate
39181         exceptions by writing into the %fsr.
39182         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39183         (__Qp_handle_exceptions): Likewise.
39184         (numbers): Delete.
39185         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39186         __Qp_handle_exceptions.
39187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39188         __Qp_handle_exceptions.
39189         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39190         as unused and give dummy FP_RND_NEAREST initializer.
39191         (FP_INHIBIT_RESULTS): Define.
39192         (___Q_simulate_exceptions): Update declaration.
39193         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39194         formatting.
39195         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39196         as unused and give dummy FP_RND_NEAREST initializer.
39197         (__Qp_handle_exceptions): Update declaration.
39198         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39199         formatting.
39201 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
39203         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39204         the temporary FPU control word.
39205         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39206         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39207         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39208         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39209         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39210         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39211         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39212         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39213         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39214         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39215         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39217 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39219         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39220         fields.
39222 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
39224         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39225         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39226         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39227         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39228         Likewise.
39229         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39230         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39231         Likewise.
39233 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
39235         * po/h.po: Update from translation team.
39237 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
39239         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39241         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39242         handling of denormals.
39243         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39244         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39245         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39246         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39247         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39248         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39249         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39250         Likewise.
39252 2012-05-26  Marek Polacek  <polacek@redhat.com>
39254         [BZ #14152]
39255         * math/libm-test.inc (fma_test): Don't always expect underflow
39256         exception.
39258 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39260         [BZ #12416]
39261         * elf/tst-execstack.c: Include stackinfo.h.
39262         (do_test): Adjust test case to ensure that pthread_getattr_np
39263         behaviour remains the same after marking stack executable.
39265 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39267         * sysdeps/unix/sysv/linux/kernel-features.h
39268         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39269         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39270         kernel-features.h.
39271         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39272         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39273         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39274         kernel-features.h.
39275         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39276         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39278 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
39280         * configure.in: Define the default includes to being none.
39281         * configure: Regenerated.
39283 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39285         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39286         * sysdeps/x86_64/setjmp.S: Likewise.
39287         * sysdeps/i386/bsd-setjmp.S: Likewise.
39288         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39289         * sysdeps/i386/setjmp.S: Likewise.
39290         * sysdeps/i386/__longjmp.S: Likewise.
39291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39292         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39294         * include/stap-probe.h: New file.
39295         * configure.in: Handle --enable-systemtap.
39296         * configure: Regenerated.
39297         * config.h.in (USE_STAP_PROBE): New #undef.
39298         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39299         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39300         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39302 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39304         [BZ #13717]
39305         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39306         to 2.4.0 where earlier.
39307         * sysdeps/unix/sysv/linux/configure: Regenerated.
39308         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39309         <kernel-features.h>.
39310         [__ASSUME_32BITUIDS]: Make code unconditional.
39311         [!__ASSUME_32BITUIDS]: Remove conditional code.
39312         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39313         <kernel-features.h>.
39314         [__ASSUME_32BITUIDS]: Make code unconditional.
39315         [!__ASSUME_32BITUIDS]: Remove conditional code.
39316         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39317         [__ASSUME_32BITUIDS]: Make code unconditional.
39318         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39319         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39320         <kernel-features.h>.
39321         [__ASSUME_32BITUIDS]: Make code unconditional.
39322         [!__ASSUME_32BITUIDS]: Remove conditional code.
39323         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39324         <kernel-features.h>.
39325         [__ASSUME_32BITUIDS]: Make code unconditional.
39326         [!__ASSUME_32BITUIDS]: Remove conditional code.
39327         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39328         <kernel-features.h>.
39329         [__ASSUME_32BITUIDS]: Make code unconditional.
39330         [!__ASSUME_32BITUIDS]: Remove conditional code.
39331         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39332         <kernel-features.h>.
39333         [__ASSUME_32BITUIDS]: Make code unconditional.
39334         [!__ASSUME_32BITUIDS]: Remove conditional code.
39335         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39336         <kernel-features.h>.
39337         [__ASSUME_32BITUIDS]: Make code unconditional.
39338         [!__ASSUME_32BITUIDS]: Remove conditional code.
39339         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39340         <kernel-features.h>.
39341         [__ASSUME_32BITUIDS]: Make code unconditional.
39342         [!__ASSUME_32BITUIDS]: Remove conditional code.
39343         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39344         <kernel-features.h>.
39345         [__ASSUME_32BITUIDS]: Make code unconditional.
39346         [!__ASSUME_32BITUIDS]: Remove conditional code.
39347         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39348         <kernel-features.h>.
39349         [__ASSUME_32BITUIDS]: Make code unconditional.
39350         [!__ASSUME_32BITUIDS]: Remove conditional code.
39351         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39352         <kernel-features.h>.
39353         [__ASSUME_32BITUIDS]: Make code unconditional.
39354         [!__ASSUME_32BITUIDS]: Remove conditional code.
39355         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39356         <kernel-features.h>.
39357         [__ASSUME_32BITUIDS]: Make code unconditional.
39358         [!__ASSUME_32BITUIDS]: Remove conditional code.
39359         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39360         <kernel-features.h>.
39361         [__NR_setresgid] (__setresgid): Do not declare.
39362         [__ASSUME_32BITUIDS]: Make code unconditional.
39363         [!__ASSUME_32BITUIDS]: Remove conditional code.
39364         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39365         <kernel-features.h>.
39366         [__NR_setresuid] (__setresuid): Do not declare.
39367         [__ASSUME_32BITUIDS]: Make code unconditional.
39368         [!__ASSUME_32BITUIDS]: Remove conditional code.
39369         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39370         <kernel-features.h>.
39371         [__ASSUME_32BITUIDS]: Make code unconditional.
39372         [!__ASSUME_32BITUIDS]: Remove conditional code.
39373         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39374         <kernel-features.h>.
39375         [__ASSUME_32BITUIDS]: Make code unconditional.
39376         [!__ASSUME_32BITUIDS]: Remove conditional code.
39377         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39378         <kernel-features.h>.
39379         [__ASSUME_32BITUIDS]: Make code unconditional.
39380         [!__ASSUME_32BITUIDS]: Remove conditional code.
39381         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39382         <kernel-features.h>.
39383         [__ASSUME_32BITUIDS]: Make code unconditional.
39384         [!__ASSUME_32BITUIDS]: Remove conditional code.
39385         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39386         <kernel-features.h>.
39387         [__ASSUME_32BITUIDS]: Make code unconditional.
39388         [!__ASSUME_32BITUIDS]: Remove conditional code.
39389         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39390         <kernel-features.h>.
39391         [__ASSUME_32BITUIDS]: Make code unconditional.
39392         [!__ASSUME_32BITUIDS]: Remove conditional code.
39393         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39394         <kernel-features.h>.
39395         [__ASSUME_32BITUIDS]: Make code unconditional.
39396         [!__ASSUME_32BITUIDS]: Remove conditional code.
39397         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39398         <kernel-features.h>.
39399         [__ASSUME_32BITUIDS]: Make code unconditional.
39400         [!__ASSUME_32BITUIDS]: Remove conditional code.
39401         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39402         <kernel-features.h>.
39403         [__ASSUME_32BITUIDS]: Make code unconditional.
39404         [!__ASSUME_32BITUIDS]: Remove conditional code.
39405         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39406         <kernel-features.h>.
39407         [__ASSUME_32BITUIDS]: Make code unconditional.
39408         [!__ASSUME_32BITUIDS]: Remove conditional code.
39409         * sysdeps/unix/sysv/linux/kernel-features.h
39410         (__ASSUME_SETRESUID_SYSCALL): Remove.
39411         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39412         (__ASSUME_32BITUIDS): Likewise.
39413         (__ASSUME_LDT_WORKS): Likewise.
39414         (__ASSUME_O_DIRECTORY): Likewise.
39415         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39416         architecture but not kernel version.
39417         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39418         (__ASSUME_MMAP2_SYSCALL): Likewise.
39419         (__ASSUME_STAT64_SYSCALL): Likewise.
39420         (__ASSUME_IPC64): Likewise.
39421         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39422         <kernel-features.h>.
39423         [__ASSUME_32BITUIDS]: Make code unconditional.
39424         [!__ASSUME_32BITUIDS]: Remove conditional code.
39425         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39426         <kernel-features.h>.
39427         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39428         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39429         132096]: Remove conditional code.
39430         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39431         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39432         <kernel-features.h>.
39433         [__ASSUME_32BITUIDS]: Make code unconditional.
39434         [!__ASSUME_32BITUIDS]: Remove conditional code.
39435         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39436         <kernel-features.h>.
39437         [__ASSUME_32BITUIDS]: Make code unconditional.
39438         [!__ASSUME_32BITUIDS]: Remove conditional code.
39439         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39440         <kernel-features.h>.
39441         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39442         unconditional.
39443         (__setresgid): Do not declare.
39444         [__ASSUME_32BITUIDS]: Make code unconditional.
39445         [!__ASSUME_32BITUIDS]: Remove conditional code.
39446         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39447         <kernel-features.h>.
39448         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39449         unconditional.
39450         (__setresuid): Do not declare.
39451         [__ASSUME_32BITUIDS]: Make code unconditional.
39452         [!__ASSUME_32BITUIDS]: Remove conditional code.
39453         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39454         <kernel-features.h>.
39455         [__ASSUME_32BITUIDS]: Make code unconditional.
39456         [!__ASSUME_32BITUIDS]: Remove conditional code.
39457         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39458         <kernel-features.h>.
39459         [__ASSUME_32BITUIDS]: Make code unconditional.
39460         [!__ASSUME_32BITUIDS]: Remove conditional code.
39462 2012-05-25  Richard Henderson  <rth@twiddle.net>
39464         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39465         dl_hwcap to ifunc resolver.
39466         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39467         elf_ifunc_invoke.
39468         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39469         dl_hwcap to ifunc resolver.
39470         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39472 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39474         [BZ #14153]
39475         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39476         for |x| <= 2**-26, not 2**-57.
39477         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39478         exception.
39480 2012-05-24  Jeff Law  <law@redhat.com>
39482         * stdio-common/Makefile (tests): Add bug25.
39483         * stdio-common/bug25.c: New test.
39485 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39487         [BZ #13576]
39488         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39489         multiple of MALLOC_ALIGNMENT in size.
39490         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39492 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39494         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39495         Require >= 256.
39496         (FILENAME_MAX): Use macro-int-constant.
39497         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39498         (_IOFBF): Use macro-int-constant.
39499         (_IOLBF): Likewise.
39500         (_IONBF): Likewise.
39501         (SEEK_CUR): Likewise.
39502         (SEEK_END): Likewise.
39503         (SEEK_SET): Likewise.
39504         (TMP_MAX): Likewise.
39505         (EOF): Use macro-int-constant.  Require < 0.
39506         (NULL): Use macro-constant.  Require == 0.
39507         (stdin): Require type to be FILE *.
39508         (stdout): Likewise.
39509         (stderr): Likewise.
39510         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39511         macro-int-constant.
39512         (EXIT_SUCCESS): Likewise.
39513         (NULL): Use macro-constant.  Require == 0.
39514         (RAND_MAX): Use macro-int-constant.
39515         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39516         [C99-based standards] (strtof): Require function.
39517         [C99-based standards] (strtold): Likewise.
39518         [C99-based standards] (strtoll): Likewise.
39519         [C99-based standards] (strtoull): Likewise.
39520         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39521         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39522         [ISO || ISO99 || ISO11] (math.h): Likewise.
39523         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39524         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39525         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39527 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39529         [BZ #14132]
39530         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39531         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39532         * intl/dgettext.c (DCGETTEXT): Likewise.
39533         * intl/gettext.c (DCGETTEXT): Likewise.
39534         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39535         * posix/regex_internal.h (gettext): Likewise.
39536         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39537         Remove declaration.
39538         * include/argz.h (__argz_count_internal)
39539         (__argz_stringify_internal): Remove declaration.
39540         (__argz_count, __argz_stringify): Declare hidden proto.
39541         * intl/dcgettext.c: Remove use of INTDEF.
39542         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39543         * string/argz-stringify.c: Likewise.
39544         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39545         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39546         Declare hidden proto.
39547         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39548         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39549         Declare hidden proto.
39550         * include/stdio.h (__asprintf_internal): Don't declare.
39551         (__asprintf): Don't define as macro.  Declare hidden proto.
39552         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39553         (__fsetlocking): Declare hidden proto.
39554         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39555         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39556         hidden proto.
39557         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39558         (_IO_setlinebuf): Remove use of INTUSE.
39559         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39560         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39561         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39562         Remove declaration.
39563         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39564         (_IO_do_flush): Remove use of INTUSE.
39565         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39566         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39567         (_IO_adjust_column, _IO_least_wmarker)
39568         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39569         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39570         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39571         (_IO_default_doallocate, _IO_wdefault_doallocate)
39572         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39573         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39574         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39575         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39576         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39577         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39578         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39579         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39580         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39581         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39582         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39583         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39584         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39585         proto.
39586         (_IO_flush_all_internal, _IO_adjust_column_internal)
39587         (_IO_default_uflow_internal, _IO_default_finish_internal)
39588         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39589         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39590         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39591         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39592         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39593         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39594         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39595         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39596         (_IO_file_close_internal, _IO_file_close_it_internal)
39597         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39598         (_IO_file_init_internal, _IO_file_attach_internal)
39599         (_IO_file_fopen_internal, _IO_file_read_internal)
39600         (_IO_file_sync_internal, _IO_file_seek_internal)
39601         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39602         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39603         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39604         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39605         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39606         (_IO_list_all_internal, _IO_link_in_internal)
39607         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39608         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39609         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39610         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39611         (_IO_do_write_internal, _IO_padn_internal)
39612         (_IO_getline_info_internal, _IO_getline_internal)
39613         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39614         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39615         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39616         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39617         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39618         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39619         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39620         with libc_hidden_ver, remove use of INTUSE.
39621         * libio/genops.c: Likewise.
39622         * libio/freopen.c: Likewise.
39623         * libio/freopen64.c: Likewise.
39624         * libio/iofclose.c: Likewise.
39625         * libio/iofdopen.c: Likewise.
39626         * libio/iofflush.c: Likewise.
39627         * libio/iofflush_u.c: Likewise.
39628         * libio/iofgets.c: Likewise.
39629         * libio/iofgets_u.c: Likewise.
39630         * libio/iofopen.c: Likewise.
39631         * libio/iofopncook.c: Likewise.
39632         * libio/iofread.c: Likewise.
39633         * libio/iofread_u.c: Likewise.
39634         * libio/ioftell.c: Likewise.
39635         * libio/iofwrite.c: Likewise.
39636         * libio/iogetline.c: Likewise.
39637         * libio/iogets.c: Likewise.
39638         * libio/iogetwline.c: Likewise.
39639         * libio/iopadn.c: Likewise.
39640         * libio/iopopen.c: Likewise.
39641         * libio/ioseekoff.c: Likewise.
39642         * libio/ioseekpos.c: Likewise.
39643         * libio/iosetbuffer.c: Likewise.
39644         * libio/iosetvbuf.c: Likewise.
39645         * libio/ioungetc.c: Likewise.
39646         * libio/ioungetwc.c: Likewise.
39647         * libio/iovdprintf.c: Likewise.
39648         * libio/iovsprintf.c: Likewise.
39649         * libio/iovsscanf.c: Likewise.
39650         * libio/memstream.c: Likewise.
39651         * libio/obprintf.c: Likewise.
39652         * libio/oldfileops.c: Likewise.
39653         * libio/oldiofclose.c: Likewise.
39654         * libio/oldiofdopen.c: Likewise.
39655         * libio/oldiofopen.c: Likewise.
39656         * libio/oldiopopen.c: Likewise.
39657         * libio/oldstdfiles.c: Likewise.
39658         * libio/putc.c: Likewise.
39659         * libio/setbuf.c: Likewise.
39660         * libio/setlinebuf.c: Likewise.
39661         * libio/stdfiles.c: Likewise.
39662         * libio/strops.c: Likewise.
39663         * libio/vasprintf.c: Likewise.
39664         * libio/vscanf.c: Likewise.
39665         * libio/vsnprintf.c: Likewise.
39666         * libio/vswprintf.c: Likewise.
39667         * libio/wfiledoalloc.c: Likewise.
39668         * libio/wfileops.c: Likewise.
39669         * libio/wgenops.c: Likewise.
39670         * libio/wmemstream.c: Likewise.
39671         * libio/wstrops.c: Likewise.
39672         * libio/__fpurge.c: Likewise.
39673         * libio/__fsetlocking.c: Likewise.
39674         * assert/assert.c: Likewise.
39675         * debug/fgets_chk.c: Likewise.
39676         * debug/fgets_u_chk.c: Likewise.
39677         * debug/fread_chk.c: Likewise.
39678         * debug/fread_u_chk.c: Likewise.
39679         * debug/gets_chk.c: Likewise.
39680         * debug/obprintf_chk.c: Likewise.
39681         * debug/vasprintf_chk.c: Likewise.
39682         * debug/vdprintf_chk.c: Likewise.
39683         * debug/vsnprintf_chk.c: Likewise.
39684         * debug/vsprintf_chk.c: Likewise.
39685         * malloc/mtrace.c: Likewise.
39686         * misc/error.c: Likewise.
39687         * misc/syslog.c: Likewise.
39688         * stdio-common/asprintf.c: Likewise.
39689         * stdio-common/fxprintf.c: Likewise.
39690         * stdio-common/getw.c: Likewise.
39691         * stdio-common/isoc99_fscanf.c: Likewise.
39692         * stdio-common/isoc99_scanf.c: Likewise.
39693         * stdio-common/isoc99_vfscanf.c: Likewise.
39694         * stdio-common/isoc99_vscanf.c: Likewise.
39695         * stdio-common/isoc99_vsscanf.c: Likewise.
39696         * stdio-common/printf-prs.c: Likewise.
39697         * stdio-common/printf_fp.c: Likewise.
39698         * stdio-common/printf_fphex.c: Likewise.
39699         * stdio-common/printf_size.c: Likewise.
39700         * stdio-common/putw.c: Likewise.
39701         * stdio-common/scanf.c: Likewise.
39702         * stdio-common/sprintf.c: Likewise.
39703         * stdio-common/tmpfile.c: Likewise.
39704         * stdio-common/vfprintf.c: Likewise.
39705         * stdio-common/vfscanf.c: Likewise.
39706         * stdlib/strfmon_l.c: Likewise.
39707         * sunrpc/openchild.c: Likewise.
39708         * sunrpc/xdr_stdio.c: Likewise.
39709         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39710         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39712 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39714         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39716         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39717         in the third column, to generate for the shared library an IFUNC
39718         that uses _dl_vdso_vsym.
39719         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39720         * Makeconfig (object-suffixes-noshared): New variable.
39722         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39723         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39724         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39725         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39727         [BZ #14132]
39728         * include/sys/time.h (__gettimeofday): Remove macro.
39729         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39730         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39731         Remove INTDEF.
39732         (__gettimeofday): Add libc_hidden_def.
39733         (gettimeofday): Add libc_hidden_weak.
39734         * sysdeps/mach/gettimeofday.c: Likewise.
39735         * sysdeps/posix/gettimeofday.c: Likewise.
39736         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39737         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39738         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39739         (__gettimeofday_internal): Remove strong_alias.
39740         (__gettimeofday): Add libc_hidden_def.
39741         (gettimeofday): Add libc_hidden_weak.
39742         * sysdeps/unix/syscalls.list (gettimeofday):
39743         Remove __gettimeofday_internal alias.
39745 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39746             H.J. Lu  <hongjiu.lu@intel.com>
39748         [BZ #12495]
39749         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39750         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39751         (largebin_index_32_big): New.
39752         (largebin_index): Use it for 16-byte alignment.
39753         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39754         correction with front_misalign.
39756 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39760         Likewise.
39761         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39762         Likewise.
39763         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39764         Likewise.
39765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39766         Likewise.
39767         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39768         Likewise.
39769         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39770         Likewise.
39771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39772         Likewise.
39773         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39774         Likewise.
39775         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39776         Likewise.
39777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39778         Likewise.
39779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39780         Likewise.
39781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39782         Likewise.
39784         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39785         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39787 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39789         [BZ #10846]
39790         [BZ #14036]
39791         * math/libm-test.inc (exp_test): Add test from bug 14036.
39792         (pow_test): Add test from bug 10846.
39794         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39795         and other flags.
39796         (special_function): Do not include flags in test name.
39797         (parse_args): Likewise.
39798         * sysdeps/i386/fpu/libm-test-ulps: Update.
39799         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39800         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39801         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39804         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39805         exceptions.
39806         * math/libm-test.inc ("Philosophy"): Update comment about
39807         exception testing.
39808         (UNDERFLOW_EXCEPTION): New macro.
39809         (UNDERFLOW_EXCEPTION_OK): Likewise.
39810         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39811         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39812         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39813         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39814         (INVALID_EXCEPTION_OK): Update value.
39815         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39816         (OVERFLOW_EXCEPTION_OK): Likewise.
39817         (IGNORE_ZERO_INF_SIGN): Likewise.
39818         (test_exceptions): Handle underflow exceptions.
39819         (acos_test): Update for underflow exception expectations.
39820         (cexp_test): Likewise.
39821         (clog_test): Likewise.
39822         (clog10_test): Likewise.
39823         (csqrt_test): Likewise.
39824         (ctan_test): Likewise.
39825         (ctanh_test): Likewise.
39826         (exp_test): Likewise.
39827         (exp10_test): Likewise.
39828         (exp2_test): Likewise.
39829         (expm1_test): Likewise.
39830         (fma_test): Likewise.
39831         (j0_test): Likewise.
39832         (jn_test): Likewise.
39833         (nexttoward_test): Likewise.
39834         (pow_test): Likewise.
39835         (scalbn_test): Likewise.
39836         (scalbln_test): Likewise.
39837         (tan_test): Likewise.
39838         (y1_test): Likewise.
39839         * sysdeps/i386/fpu/libm-test-ulps: Update.
39840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39842 2012-05-23  David S. Miller  <davem@davemloft.net>
39844         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39845         (__libc_sigaction): Remove unused local variables.
39847 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39849         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39851 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39853         mktime: avoid signed integer overflow
39854         * time/mktime.c (__mktime_internal): Do not mishandle the case
39855         where diff == INT_MIN.
39857         mktime: simplify computation of average
39858         * time/mktime.c (ranged_convert): Use new time_t_avg function
39859         instead of rolling our own (probably-slower) code.
39861         mktime: do not assume signed right shift propagates sign bit
39862         * time/mktime.c (isdst_differ): New static function.
39863         (__mktime_internal): No need to normalize tm_isdst now.
39864         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39865         tm_isdst values.
39867         mktime: merge another wrapv change from gnulib
39868         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39869         from some compilers.
39871         mktime: remove incorrect attempt at unusual arithmetics
39872         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39873         The code didn't really work on such machines anyway.
39874         (TYPE_MINIMUM): Assume two's complement.
39875         (twos_complement_arithmetic): Verify that long_int and time_t
39876         are two's complement (or unsigned, in the latter case).
39878         mktime: check signed shifts on long_int and time_t, too
39879         * time/mktime.c (SHR): Check that shifts work as desired
39880         on the types long_int and time_t too, as SHR is used on
39881         such types.
39883         mktime: do not assume 'long' is wide enough
39884         * time/mktime.c (verify): Move decl up.
39885         (long_int): New type.
39886         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39887         to remove assumption in the code that 'long' is wide enough to
39888         store year values.  This assumption is not true on x32 and on
39889         some non-glibc platforms.
39891         mktime: merge wrapv change from gnulib
39892         * time/mktime.c (WRAPV): New macro.
39893         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39894         (guess_time_tm, __mktime_internal): Do not assume that signed
39895         integer overflow wraps around; modern compilers generate code
39896         where this assumption is no longer valid.
39898 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39900         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39901         Replace "jmp L(pseudo_end)" with "ret".
39902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39903         Likewise.
39905 2012-05-23  Andreas Jaeger  <aj@suse.de>
39907         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39908         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39910 2012-05-23  Andreas Jaeger  <aj@suse.de>
39911             Maximilian Attems  <max@stro.at>
39913         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39914         New macros.
39916 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39918         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39919         code so that pseudo_end is just ret and the stack pointer is
39920         correct also for static library in error case.
39922 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39924         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39925         move to syscalls.list.
39926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39931         * manual/install.texi (Running make install): Do not mention Linux
39932         kernel version for which pt_chown is not needed.
39933         (Linux): Do not mention problems with nscd with 2.0 kernels.
39934         * INSTALL: Regenerated.
39936 2012-05-23  Andreas Jaeger  <aj@suse.de>
39938         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39939         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39940         macro.
39941         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39942         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39943         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39944         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39945         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39946         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39947         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39948         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39949         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39950         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39951         * sysdeps/unix/sysv/linux/bits/in.h
39952         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39954 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39956         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39957         (PREPARE_VERSION): Just use assert instead, it will be elided
39958         under [NDEBUG] anyway.
39960 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39962         * sysdeps/unix/sysv/linux/Makefile: Include
39963         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39964         (sysdep_routines): Remove sysctl.
39965         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39966         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39967         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39968         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39969         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39971 2012-05-22  Andreas Jaeger  <aj@suse.de>
39973         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39974         that pseudo_end is just ret and the stack pointer is correct also
39975         for static library in error case.
39977 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39979         [BZ #14122]
39980         * nss/nsswitch.c (defconfig_entries): New variable.
39981         (__nss_database_lookup): Don't leak defconfig entries.
39982         (nss_parse_service_list): Don't leak on error paths.
39983         (free_database_entries): New function.
39984         (free_defconfig): New function.
39985         (free_mem): Move common code to free_database_entries.
39987 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39989         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39990         Add arch_prctl.
39991         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39993         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39994         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39996         New macro.
39997         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39998         (INTERNAL_SYSCALL_TYPES): Likewise.
39999         (LOAD_ARGS_TYPES_[1-6]): Likewise.
40000         (LOAD_REGS_TYPES_[1-6]): Likewise.
40001         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40002         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40004 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40006         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40007         copysignl for GLIBC_2_0.
40008         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40009         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40011         logbl for GLIBC_2_0.
40012         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40013         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40015 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40017         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40018         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40020         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40021         Use "neg %eax".
40023         * time/mktime.c: Update copyright years.
40025 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
40027         mktime: merge comment-quoting-style change from gnulib
40028         * time/mktime.c: Quote 'like this' in comments.
40029         The GNU coding standards suggest that we no longer quote `like this',
40030         as "`" and "'" are typically rendered asymmetrically nowadays.
40031         The typical gnulib style is to quote 'like this' when quoting
40032         code, and "like this" when quoting English.
40034         * time/mktime.c (compile-command): Add "-I.".
40036         mktime: merge mktime-internal.h change from gnulib
40037         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40039         mktime: merge time_r change from gnulib
40040         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40042         mktime: merge DEBUG change from gnulib
40043         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40044         case system <time.h> has a #define.
40046         mktime: merge <sys/types.h> change from gnulib
40047         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40048         since <time.t> is now guaranteed to define time_t.
40050         mktime: merge HAVE_CONFIG_H change from gnulib
40051         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40053 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
40055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40056         Use "neg %eax".
40058         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40059         __rlim_t cast.
40060         (struct rusage): Use anonymous union to pad each field to
40061         __syscall_slong_t.
40063 2012-05-21  David S. Miller  <davem@davemloft.net>
40065         * Makefules (o-iterator): Remove .s cases.
40066         (compile-command.s): Delete.
40067         (COMPILE.s): Delete.
40068         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40070 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
40072         * configure.in (libc_cv_predef_stack_protector): Only consider
40073         "foobar" and "__stack_chk_fail" lines in libc_undefs.
40074         * configure: Regenerated.
40076 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40079         New macro.  Use R*LP on int and pointer.
40080         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40081         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40082         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40083         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40085         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40086         [__WORDSIZE_TIME64_COMPAT32] instead of
40087         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40088         (struct utmp): Likewise.
40089         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40090         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40091         Renamed to ...
40092         (__WORDSIZE_TIME64_COMPAT32): This.
40093         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40094         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40095         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40096         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40097         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40098         (__WORDSIZE_TIME64_COMPAT32): New macro.
40100 2012-05-21  Andreas Jaeger  <aj@suse.de>
40102         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40103         only if [SHARED]. Add prototype for __wcschr_ia32.
40105 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40107         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40108         of %rbp unmolested in the jmp_buf while mangling the low bits.
40109         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40110         unmolested high bits of %rbp while demangling the low bits.
40111         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40113 2012-05-21  Andreas Jaeger  <aj@suse.de>
40115         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40116         * sunrpc/svc_simple.c: Use it for registerrpc.
40117         * sunrpc/xcrypt.c: Use it for passwd2des.
40119         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40121 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40123         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40124         Don't define if [__SYSCALL_WORDSIZE != 32].
40125         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40126         New macro.
40128 2012-05-21  Bruno Haible  <bruno@clisp.org>
40129             Andreas Jaeger  <aj@suse.de>
40131         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40132         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40133         inptr and inend for must_buffer_ch.
40134         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40135         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40136         * stdio-common/Makefile (tests): Remove bug15.
40137         (bug15-ENV): Remove macro.
40138         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40139         anymore.
40141 2012-05-19  Andreas Jaeger  <aj@suse.de>
40142             Roland McGrath  <roland@hack.frob.com>
40144         * manual/contrib.texi: Completely rewritten. It contains now an
40145         alphabetical list of contributors and their contributions.
40147 2012-05-21  Richard Henderson  <rth@twiddle.net>
40149         * misc/getauxval.c (__getauxval): Use unsigned long int.
40150         * misc/sys/auxv.h: Include <sys/cdefs.h>.
40151         (getauxval): Use unsigned long int.
40153 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
40155         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40157 2012-05-21  Roland McGrath  <roland@hack.frob.com>
40159         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40160         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40161         __alignof__ (long double).
40163 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40167 2012-05-20  Richard Henderson  <rth@twiddle.net>
40169         * misc/getauxval.c: New file.
40170         * misc/sys/auxv.h: New file.
40171         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40172         (routines): Add getauxval.
40173         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40174         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40175         * elf/dl-sysdep.c (_dl_auxv): Remove.
40176         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40177         * elf/dl-support.c (_dl_auxv): New variable.
40178         (_dl_aux_init): Initialize it.
40179         * manual/startup.texi (Auxiliary Vector): New node.
40180         * sysdeps/generic/bits/hwcap.h: New file.
40181         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40182         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
40183         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40184         * sysdeps/sparc/sysdep.h: ... here.  Include it.
40185         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40186         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40188         Update.
40189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40192         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40198 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40202 2012-05-19  David S. Miller  <davem@davemloft.net>
40204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40206 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40208         [BZ #14123]
40209         * math/s_ccosh.c: Include <float.h>
40210         (__ccosh): Avoid internal overflow calculating sinh and cosh
40211         values before multiplying by sin and cos values.
40212         * math/s_ccoshf.c: Likewise.
40213         * math/s_ccoshl.c: Likewise.
40214         * math/s_csin.c: Likewise.
40215         * math/s_csinf.c: Likewise.
40216         * math/s_csinl.c: Likewise.
40217         * math/s_csinh.c: Likewise.
40218         * math/s_csinhf.c: Likewise.
40219         * math/s_csinhl.c: Likewise.
40220         * math/libm-test.inc (ccos_test): Add more tests.
40221         (ccosh_test): Likewise.
40222         (csin_test): Likewise.
40223         (csinh_test): Likewise.
40224         * sysdeps/i386/fpu/libm-test-ulps: Update.
40225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40227 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
40229         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40230         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40232         * sysdeps/x86_64/x32/_itoa.h: Add comment.
40234 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
40236         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40237         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40238         * sysdeps/powerpc/soft-fp/Versions: Likewise.
40239         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40240         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40241         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40242         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40243         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40244         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40245         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40246         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40247         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40248         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40249         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40250         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40251         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40252         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40253         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40254         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40255         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40256         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40257         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40258         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40259         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40260         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40261         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40262         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40263         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40264         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40265         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40266         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40268 2012-05-18  Andreas Jaeger  <aj@suse.de>
40270         * csu/.gitignore: Delete.
40272 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40274         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40275         (timex): Use __syscall_slong_t.
40277 2012-05-18  Andreas Jaeger  <aj@suse.de>
40278             Carlos O'Donell  <carlos_odonell@mentor.com>
40280         * manual/install.texi (Configuring and compiling): Update
40281         description about files modified in the source directory.
40282         * INSTALL: Regenerated.
40284 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40286         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40287         value.  Use "or" to set return value to -1.
40288         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40289         negate return value.
40291 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40293         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40294         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40295         failure if the compiler has Graphite support disabled.
40296         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40297         Likewise.
40298         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40299         (CFLAGS-memmove.c): Likewise.
40300         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40301         Likewise.
40303 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40305         * sysdeps/x86_64/x32/_itoa.h: New file.
40307         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40308         getdents system call only if kernel and user dirents have the
40309         same d_ino and d_off.
40311         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40312         LLONG_MAX != LONG_MAX.
40313         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40314         (_fitoa_word): Likewise.
40316         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40317         years.
40318         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40319         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40320         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40322         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40323         include <bits/wordsize.h>.  Check __x86_64__ instead of
40324         __WORDSIZE.
40325         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40326         if __x86_64__ is defined.  Use anonymous union on fpstate.
40328         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40329         anonymous union.
40331 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40333         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40334         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40335         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40336         Refer to _rtld_local_ro instead of _rtld_global_ro.
40337         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40338         Likewise.
40339         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40340         Likewise.
40341         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40342         Likewise.
40343         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40344         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40345         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40347         * sysdeps/powerpc/powerpc32/dl-machine.c
40348         (__elf_machine_runtime_setup) [PROF]: Don't reference
40349         _dl_prof_resolve.
40351 2012-05-18  Andreas Jaeger  <aj@suse.de>
40353         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40354         function only available for GCCs before 3.4 since GCC 3.4
40355         introduced a builtin.
40356         (lrint): Likewise.
40357         (llrintf): Likewise.
40358         (llrint): Likewise.
40359         (fmaxf): Likewise.
40360         (fmax): Likewise.
40361         (fminf): Likewise.
40362         (fmin): Likewise.
40363         (rint): Likewise.
40364         (rintf): Likewise.
40365         (nearbyint): Likewise.
40366         (nearbyintf): Likewise.
40367         (ceil): Likewise.
40368         (ceilf): Likewise.
40369         (floor): Likewise.
40370         (floorf): Likewise.
40372 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40374         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40375         on both fields and cast pointer to __syscall_ulong_t.
40377         * bits/types.h (__fsword_t): New type.
40378         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40379         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40380         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40381         (__FSWORD_T_TYPE): Likewise.
40382         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40383         (__FSWORD_T_TYPE): Likewise.
40384         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40385         (__FSWORD_T_TYPE): Likewise.
40386         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40387         (__FSWORD_T_TYPE): Likewise.
40388         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40389         __SWORD_TYPE with __fsword_t.
40390         (statfs64): Likewise.
40392 2012-05-17  David S. Miller  <davem@davemloft.net>
40394         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40396 2012-05-17  Andreas Jaeger  <aj@suse.de>
40398         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40399         warning.
40401 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40403         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40405 2012-05-17  Andreas Jaeger  <aj@suse.de>
40407         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40408         when it is used.
40410 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40412         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40414 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40416         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40417         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40419 2012-05-17  Andreas Jaeger  <aj@suse.de>
40420             Carlos O'Donell  <carlos_odonell@mentor.com>
40422         [BZ #14059]
40423         * sysdeps/x86_64/multiarch/init-arch.h
40424         (bit_YMM_Usable): Rename to...
40425         (bit_AVX_Usable): ... this.
40426         (bit_FMA4_Usable): New macro.
40427         (bit_XMM_state): New macro.
40428         (bit_YMM_state): New macro.
40429         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40430         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40431         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40432         (CPUID_OSXSAVE): New macro.
40433         (CPUID_AVX): New macro.
40434         (CPUID_FMA4): New macro.
40435         (index_YMM_Usable): Rename to...
40436         (index_AVX_Usable): ... this.
40437         (HAS_AVX): Use HAS_ARCH_FEATURE.
40438         (HAS_FMA4): Likewise.
40439         (HAS_YMM_USABLE): Remove.
40440         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40441         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40442         are present.
40443         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40444         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40445         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40446         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40447         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40449 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40451         * math/libm-test.c: Support platforms without multiple rounding modes.
40452         * math/bug-nextafter.c: Support platforms without FP exceptions.
40453         * math/bug-nexttoward.c: Likewise.
40454         * math/test-fenv.c: Likewise.
40455         * math/test-misc.c: Likewise.
40456         * stdlib/bug-getcontext.c: Likewise.
40458 2012-05-17  Andreas Jaeger  <aj@suse.de>
40460         * manual/examples/search.c (critter_cmp): Change signature to
40461         avoid warnings.
40462         * manual/string.texi (Collation Functions): Likewise.
40464 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40466         * bits/types.h: Fold copyright years.
40467         * bits/typesizes.h: Likewise.
40468         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40469         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40471         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40472         * time/time.h: Likewise.
40474 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40476         [BZ #208]
40477         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40478         in instead of returning them.  Return void.
40479         (__libc_mallinfo): Accumulate over all arenas.
40480         (__malloc_stats): Adjust for change in int_mallinfo interface.
40482 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40484         [BZ #10375]
40485         * configure.in (NM): Add AC_CHECK_TOOL for it.
40486         (libc_extra_cflags): New substituted variable.
40487         Check for -fstack-protector being used implicitly.
40488         * configure: Regenerated.
40489         * config.make.in (config-extra-cflags): New variable,
40490         gets @libc_extra_cflags@.
40491         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40493         [BZ #10375]
40494         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40495         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40496         * configure: Regenerated.
40497         * config.make.in (CPPUNDEFS): New substituted variable.
40498         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40499         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40500         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40502 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40504         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40505         (mq_attr): Use __syscall_slong_t.
40507 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40509         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40510         Check __x86_64__ instead of __WORDSIZE.
40511         (_STAT_VER_LINUX): Likewise.
40512         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40513         __syscall_ulong_t and __syscall_slong_t.
40514         (stat64): Likewise.
40516 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40518         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40520 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40522         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40526         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40527         __syscall_ulong_t.
40529         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40530         include <bits/wordsize.h>.  Check __x86_64__ instead of
40531         __WORDSIZE.
40532         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40533         defined.
40534         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40536         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40537         include <bits/wordsize.h>.  Check __x86_64__ instead of
40538         __WORDSIZE.
40539         (user_regs_struct): Use "__extension__ unsigned long long"
40540         instead of "unsigned long" if __x86_64__ is defined.
40541         (user): Likewise.  Pad after pointer field if __ILP32__ is
40542         defined.
40544 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40546         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40547         versions 5 to 9.
40548         * configure: Regenerated.
40549         * manual/install.texi (texinfo): Increase version requirement to
40550         4.5 or later.
40551         * INSTALL: Regenerated.
40553         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40555 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40557         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40559         * sysdeps/x86_64/x32/ffs.c: New file.
40561         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40562         __syscall_ulong_t.
40563         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40564         defined.  Use __syscall_ulong_t.
40565         (shminfo): Use __syscall_ulong_t.
40566         (shm_info): Likewise.
40568         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40569         __syscall_ulong_t.
40571         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40572         <bits/wordsize.h>.
40573         (msgqnum_t): Use __syscall_ulong_t.
40574         (msglen_t): Likewise.
40575         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40576         __syscall_ulong_t.
40578         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40579         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40581         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40583         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40584         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40586         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40587         __syscall_slong_t.
40589         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40590         include <bits/wordsize.h>.  Check __x86_64__ instead of
40591         __WORDSIZE.
40593         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40594         "unsigned long long int" if __x86_64__ is defined.
40595         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40597         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40598         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40599         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40601         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40602         <stdint.h>.
40603         (GET_PC): Cast to uintptr_t first.
40604         (GET_FRAME): Likewise.
40605         (GET_STACK): Likewise.
40607         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40608         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40609         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40610         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40611         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40612         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40613         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40614         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40615         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40616         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40617         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40618         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40619         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40620         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40621         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40622         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40623         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40624         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40625         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40626         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40627         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40628         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40629         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40630         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40631         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40632         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40634         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40635         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40637 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40639         * Makerules (+depfiles): Also collect depfiles from .oS in
40640         $(extra-objs).
40641         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40642         .oS, $(libnldbl-routines)).
40644         * Makerules (native-compile-mkdep-flags): Define.
40645         * sunrpc/Makefile (extra-objs): Add $(addprefix
40646         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40647         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40648         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40649         calling $(make-target-directory).
40651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40653         * bits/types.h (__snseconds_t): Removed.
40654         * time/time.h (struct timespec): Replace __snseconds_t with
40655         __syscall_slong_t.
40656         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40657         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40658         Likewise.
40659         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40660         (__SNSECONDS_T_TYPE): Likewise.
40661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40662         (__SNSECONDS_T_TYPE): Likewise.
40663         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40664         (__SNSECONDS_T_TYPE): Likewise.
40666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40668         * sysdeps/mach/hurd/bits/typesizes.h
40669         (__SYSCALL_SLONG_TYPE): New macro.
40670         (__SYSCALL_ULONG_TYPE): Likewise.
40672 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40674         * bits/types.h (__syscall_slong_t): New type.
40675         (__syscall_ulong_t): Likewise.
40677         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40678         (__SYSCALL_ULONG_TYPE): Likewise.
40679         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40680         (__SYSCALL_SLONG_TYPE): Likewise.
40681         (__SYSCALL_ULONG_TYPE): Likewise.
40682         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40683         (__SYSCALL_SLONG_TYPE): Likewise.
40684         (__SYSCALL_ULONG_TYPE): Likewise.
40685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40686         (__SYSCALL_SLONG_TYPE): Likewise.
40687         (__SYSCALL_ULONG_TYPE): Likewise.
40689 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40691         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40692         Add sigaltstack-offsets.sym.
40693         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40694         <sigaltstack-offsets.h>.
40695         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40696         longjmp_msg pointer.
40697         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40698         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40699         signal stack.
40700         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40702 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40704         * elf/stackguard-macros.h: Remove file.
40705         * sysdeps/generic/stackguard-macros.h: New file.
40706         * sysdeps/i386/stackguard-macros.h: Likewise.
40707         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40708         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40709         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40710         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40711         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40712         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40713         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40714         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40715         <elf/stackguard-macros.h>.
40717         [BZ #14109]
40718         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40719         __aligned__ in attribute.
40720         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40721         (gregset_t): Likewise.
40723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40725         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40726         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40727         * sysdeps/x86_64/x32/Implies-after: New file.
40729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40731         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40732         and access return value for _dl_profile_fixup.  Use R10_LP to
40733         load frame size.
40735 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40737         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40739 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40741         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40742         * sysdeps/x86_64/x32/sysdep.h: New file.
40744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40746         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40747         * sysdeps/x86_64/setjmp.S: Likewise.
40749 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40751         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40752         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40753         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40754         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40755         remove unused global constant.
40757 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40759         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40760         include of <not-cancel.h>.
40762 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40764         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40766 2012-05-15  Jeff Law  <law@redhat.com>
40767             Andreas Jaeger  <aj@suse.de>
40769         [BZ #13594]
40770         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40771         out from...
40772         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40773         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40774         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40775         code changing __hst_map_handle.map.
40777 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40779         * configure.in (sysnames): Look for Implies-before and Implies-after
40780         files.
40781         * configure: Regenerated.
40783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40785         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40786         8-byte data alignment with LP_SIZE alignment.
40788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40790         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40791         into R10_LP.
40793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40795         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40799         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40800         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40801         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40802         Likewise.
40803         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40807         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40808         (stackinfo_sub_sp): Likewise.
40810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40812         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40813         RAX_LP.
40815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40817         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40818         into R*_LP.
40820 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40822         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40823         sizes into R*_LP.
40825 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40827         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40831         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40832         into R11_LP and load __x86_64_shared_cache_size_half into
40833         R8_LP.
40835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40837         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40838         R8_LP.
40840 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40842         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40843         logb for POWER7.
40844         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40845         logbf for POWER7.
40846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40847         logbl for POWER7.
40848         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40849         powerpc32/power7/fpu/s_logb.c via #include.
40850         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40851         powerpc32/power7/fpu/s_logbf.c via #include.
40852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40853         powerpc32/power7/fpu/s_logbl.c via #include.
40855 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40857         * README.libm: Remove file.
40859 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40861         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40862         count for x32.  Use R*_LP and omit operand-size suffix.
40864 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40866         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40867         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40868         * sysdeps/x86_64/x32/shlib-versions: New file.
40870 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40872         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40873         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40874         Use _dl_fatal_printf instead.
40876 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40878         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40879         set if not set by the user.  Do not allow for being unset.
40880         * sysdeps/unix/sysv/linux/configure: Regenerated.
40882 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40884         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40885         the `q' suffix from lea and replace .quad with ASM_ADDR.
40887 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40889         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40890         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40891         instead of $17.
40892         (PTR_DEMANGLE): Likewise.
40894 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40896         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40897         (LP_OP): Likewise.
40898         (ASM_ADDR): Likewise.
40899         (RAX_LP): Likewise.
40900         (RBP_LP): Likewise.
40901         (RBX_LP): Likewise.
40902         (RCX_LP): Likewise.
40903         (RDI_LP): Likewise.
40904         (RSI_LP): Likewise.
40905         (RSP_LP): Likewise.
40906         (R8_LP): Likewise.
40907         (R9_LP): Likewise.
40908         (R10_LP): Likewise.
40909         (R10_LP): Likewise.
40910         (R11_LP): Likewise.
40911         (R12_LP): Likewise.
40912         (R13_LP): Likewise.
40913         (R14_LP): Likewise.
40914         (R15_LP): Likewise.
40916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40918         * sysdeps/x86_64/x32/dl-machine.h: New file.
40920 2012-05-14  Andreas Jaeger  <aj@suse.de>
40922         * manual/Makefile (subdir): Remove export of subdir.
40923         (all): Remove target.
40924         (.PHONY): Remove all from list.
40925         (mkinstalldirs): Remove.
40926         (.PHONY): Remove installdirs from list.
40927         ($(inst_infodir)/libc.info): Use make-target-directory.
40928         (installdirs): Remove.
40929         (subdir_%): Remove.
40930         (glibc-targets): Remove.
40931         (lib): Remove.
40932         (stubs): Remove.
40933         ($(objpfx)stubs ../po/manual.pot): Remove.
40934         ($(objpfx)stamp%): Remove.
40935         (make-target-directory): Remove.
40936         (subdir_install): Remove.
40937         (routines): Remove.
40938         (aux): Remove.
40939         (sources): Remove.
40940         (objects): Remove.
40941         (headers): Remove.
40943         [BZ #13750]
40944         * manual/.gitignore: Remove, it's not needed anymore.
40945         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40946         all files in it.
40947         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40948         directory.
40949         (texis): Renamed to $(objpfx)texis.
40950         (texis-path): New, contains path to generated files.
40951         (chapters.%): Use texis-path for complete path, add extra argument
40952         libc-texinfo.sh.
40953         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40954         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40955         (summary,texi, stamp-summary): Use complete path of
40956         files. Generate files in build dir.
40957         (dir-add.texi): Build in build dir.
40958         (libm-err.texi,stamp-libm-err): Likewise.
40959         (version.texi, stamp-version): Likewise.
40960         (.%c.texi): Likewise.
40961         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40962         (mostlyclean): Remove target.
40963         (realclean): Remove target.
40964         (generated): Add new variable with contents from mostlyclean and
40965         realclean, remove entries duplicated in common-mostlyclean, add
40966         stamp-libm-err and stamp-version.
40967         (generated-dirs): Add libc directory.
40968         ($(inst_infodir)/libc.info): Install files from build dir.
40970         * manual/install.texi (Configuring and compiling): Adjust since
40971         the info files are not part of the tar ball anymore.
40973 2012-05-14  Andreas Jaeger  <aj@suse.de>
40975         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40976         variable.
40978 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40980         [BZ #13717]
40981         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40982         to 2.2.0 where earlier.
40983         * sysdeps/unix/sysv/linux/configure: Regenerated.
40984         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40985         Remove conditional code.
40986         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40987         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40988         Remove conditional code.
40989         [!__NR_lchown]: Likewise.
40990         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40991         [__NR_lchown]: Likewise.
40992         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40993         comment referencing __ASSUME_LCHOWN_SYSCALL.
40994         * sysdeps/unix/sysv/linux/i386/sigaction.c
40995         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40996         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40997         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40998         Remove conditional code.
40999         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41000         (__protocol_available): Remove #if 0 code.
41001         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41002         conditional code.
41003         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41004         * sysdeps/unix/sysv/linux/kernel-features.h
41005         (__ASSUME_GETCWD_SYSCALL): Don't define.
41006         (__ASSUME_REALTIME_SIGNALS): Likewise.
41007         (__ASSUME_PREAD_SYSCALL): Likewise.
41008         (__ASSUME_PWRITE_SYSCALL): Likewise.
41009         (__ASSUME_POLL_SYSCALL): Likewise.
41010         (__ASSUME_LCHOWN_SYSCALL): Likewise.
41011         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41012         non-SPARC.
41013         (__ASSUME_SIOCGIFNAME): Don't define.
41014         (__ASSUME_MSG_NOSIGNAL): Likewise.
41015         (__ASSUME_SENDFILE): Define unconditionally.
41016         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41017         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41018         conditional code.
41019         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41020         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41021         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41022         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41023         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41024         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41025         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41027         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41028         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41030         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41031         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41033         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41034         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41036         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41037         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41039         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41040         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41042         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41043         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41045         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41046         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41048         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41049         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41050         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41051         Remove conditional code.
41052         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41053         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41054         Remove conditional code.
41055         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41056         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41057         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41058         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41059         Remove conditional code.
41060         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41061         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41062         Remove conditional code.
41063         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41064         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41065         Remove conditional code.
41066         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41067         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41068         Remove conditional code.
41069         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41070         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41071         Remove conditional code.
41072         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41073         * sysdeps/unix/sysv/linux/sh/pwrite64.c
41074         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41075         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41076         * sysdeps/unix/sysv/linux/sigaction.c
41077         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41078         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41079         * sysdeps/unix/sysv/linux/sigpending.c
41080         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41081         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41082         * sysdeps/unix/sysv/linux/sigprocmask.c
41083         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41084         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41085         * sysdeps/unix/sysv/linux/sigsuspend.c
41086         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41087         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41088         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41089         (__libc_missing_rt_sigs): Remove.
41090         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41091         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41092         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41093         Remove conditional code.
41094         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41095         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41096         return 1.
41097         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41098         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41099         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41100         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41102 2012-05-14  Andreas Jaeger  <aj@suse.de>
41104         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41105         it's not used in glibc.
41106         (__coshm1): Likewise.
41107         (__acosh1p): Likewise.
41108         (__sgn): Likewise.
41110         * manual/string.texi (Copying and Concatenation): Add missing
41111         variable in concat example.
41112         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41114 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41116         [BZ #14103]
41117         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41118         __builtin_clzl with __builtin_clzll.
41120 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
41122         [BZ #14104]
41123         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41124         libc_freeres_ptr.
41126 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41128         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41129         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41130         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41131         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41133 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
41135         * NEWS: Update ia64 info.
41137 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
41139         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41140         used as bcopy.
41142 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
41144         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41145         * sysdeps/unix/syscalls.list (dup3): Likewise.
41146         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41147         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41149 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41151         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41152         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41154 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
41156         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41157         thread pointer.
41158         (TLS_IE): Use mov/add instead of movq/addq to load thread
41159         pointer.
41160         (TLS_GD_PREFIX): New.
41161         (TLS_GD): Use it.
41163 2012-05-11  David S. Miller  <davem@davemloft.net>
41165         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41166         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41167         (_FPU_SETCW): Likewise.
41169 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41171         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41172         is 32-byte aligned.
41174 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
41176         [BZ #11837]
41177         * iconvdata/gb18030.c: Update tables.
41178         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
41179         characters specially.
41180         (BODY for TO_LOOP): Add encoding of missing ranges.
41182 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
41184         [BZ #13673]
41185         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41186         * sysdeps/mach/hurd/dup3.c: Likewise.
41187         * sysdeps/mach/hurd/readlinkat.c: Likewise.
41188         * sysdeps/powerpc/memmove.c:: Likewise.
41190 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41192         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41193         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41195 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41197         * elf/elf.h (R_X86_64_RELATIVE64): New.
41198         (R_X86_64_NUM): Updated.
41199         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41200         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
41201         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41202         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41203         tst-quad1pie tst-quad2pie
41204         (modules-names): Add tst-quadmod1 tst-quadmod2.
41205         ($(objpfx)tst-quad1): New dependency.
41206         ($(objpfx)tst-quad2): Likewise.
41207         ($(objpfx)tst-quad1pie): Likewise.
41208         ($(objpfx)tst-quad2pie): Likewise.
41209         * sysdeps/x86_64/tst-quad1.c: New file.
41210         * sysdeps/x86_64/tst-quad1pie.c: New file.
41211         * sysdeps/x86_64/tst-quad2.c: Likewise.
41212         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41213         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41214         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41215         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41216         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41218 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41220         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41221         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41222         * streams/stropts.h (t_scalar_t): Define type.
41224         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41225         (_PATH_PRESERVE): Set to "/var/lib".
41226         (_PATH_RWHODIR): Set to "/var/spool/rwho".
41228         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41229         instead of int.
41231         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41232         if __dir_mkfile succeeded.
41234         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41235         checking for _hurd_dtablesize.  Unlock it right after having
41236         finished _hurd_dtable allocation.
41238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41240         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41241         * sysdeps/mach/hurd/configure: Regenerated.
41242         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41243         special-casing to...
41244         * sysdeps/gnu/configure.in: ... this new file.
41245         * sysdeps/unix/sysv/linux/configure: Regenerated.
41246         * sysdeps/gnu/configure: New generated file.
41248         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41249         for Linux: use nsec instead of usec, as well as:
41250         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41251         members of type struct timespec.
41252         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41253         New macros.
41254         (struct stat64): Likewise.
41255         (_STATBUF_ST_NSEC): New macro.
41256         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41258         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41259         __strtoul_internal rather than strtoul.
41261 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41263         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41264         and reject them.
41266 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41268         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41269         which preserves existing values.
41270         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41272 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41274         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41275         TIMEOUT values.  Return EINVAL for NFDS values either negative or
41276         greater than FD_SETSIZE.
41278 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41280         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41281         allocated, call __vm_protect to finish enabling the existing space, and
41282         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41283         allocate the remainder.
41285 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41287         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41288         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41290 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41292         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41293         sysdeps/mach/hurd/readlink.c.
41295         * posix/tst-sysconf.c (posix_options): Only use
41296         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41297         _POSIX_SYNCHRONIZED_IO when they are defined
41298         * sysdeps/mach/hurd/bits/posix_opt.h:
41299         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41300         (_XOPEN_REALTIME): Undefine macro.
41301         (_XOPEN_REALTIME_THREADS): Undefine macro.
41302         (_XOPEN_SHM): Undefine macro.
41303         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41304         macro to -1.
41305         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41306         macro to -1.
41307         (_POSIX_ASYNC_IO): Undefine macro.
41308         (_POSIX_PRIORITIZED_IO): Undefine macro.
41309         (_POSIX_SPIN_LOCKS): Define macro to -1.
41311         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41312         SA_NODEFER, SA_RESETHAND.
41313         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41314         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41315         F_DUPFD_CLOEXEC.
41317 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41319         * elf/Makefile (pldd-modules): Define unconditionally.
41321 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41323         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41325 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41327         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41328         Return ENOENT when name is empty.
41329         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41331 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41333         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41335         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41337 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41339         Fix mlock in all cases except non-readable pages.
41340         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41341         instead of VM_PROT_ALL as parameter to __vm_wire function.
41343         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41344         (__mkdir): When path is `/', just fail with EEXIST.
41345         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41347 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41349         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41350         <sys/uio.h> (for writev).
41351         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41352         and <sys/param.h> (for MIN).
41354 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41356         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41357         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41358         if interrupted.
41360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41362         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41363         Depend on against $(link-rpcuserlibs).
41365 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41367         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41368         (__libc_stack_end): Do not use attribute_relro.
41369         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41370         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41371         to libthread-provided value.
41372         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41373         attribute_relro.
41375 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41377         [BZ #3748]
41378         * bits/libc-lock.h (__libc_once_get): New macro.
41379         * sysdeps/mach/bits/libc-lock.h: Likewise.
41380         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41381         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41382         instead of using implementation details.
41384         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41385         * libio/freopen.c: Likewise.
41386         * libio/freopen64.c: Likewise.
41387         * misc/syslog.c: Likewise.
41388         * nscd/connections.c: Likewise.
41389         * nscd/netgroupcache.c: Likewise.
41390         * sysdeps/posix/getcwd.c: Likewise.
41392 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41394         * math/w_ilogbf.c: Add #include <limits.h>.
41396 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41398         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41399         path instead of returning without unlocking.
41401         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41402         immediate-write ioctls.
41403         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41405 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41407         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41408         __builtin_frame_address instead of making assumptions about the
41409         location of the return address relative to DATA.  Force early load of
41410         the return address.
41411         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41412         __builtin_frame_address.
41414         dup3 for GNU Hurd.
41415         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41416         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41417         implement dup3 and do some further code clean-ups.
41418         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41419         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41423         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41425         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41426         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41427         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41428         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41429         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41430         d->port.lock.
41432         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41433         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41434         when handler == SIG_ERR, not when handler != SIG_ERR.
41436 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41438         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41439         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41440         definitions.
41442         accept4 for GNU Hurd.
41443         * include/sys/socket.h (__libc_accept4): New prototype.
41444         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41445         to implement __libc_accept4.
41446         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41447         __libc_accept4.
41448         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41450         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41451         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41452         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41453         signal-defines.sym.
41455 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41457         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41459 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41461         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41462         assertion on O_CLOEXEC flag.
41463         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41464         * hurd/intern-fd.c: Likewise.
41465         * hurd/port2fd.c: Likewise.
41467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41469         [BZ #3906]
41470         * bits/in.h (IPV6_PKTINFO): Define new macro.
41471         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41473 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41475         [BZ #13954]
41476         [BZ #13955]
41477         [BZ #13956]
41478         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41479         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41480         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41481         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41482         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41483         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41484         * math/libm-test.inc (logb_test) : Additional logb tests.
41486 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41487             Andreas Jaeger  <aj@suse.de>
41489         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41490         * configure: Regenerated.
41491         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41492         * config.make.in (link-obsolete-rpc): New substituted variable.
41493         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41494         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41495         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41496         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41497         so that libc.a contains the symbols.
41498         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41499         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41500         * sunrpc/auth_none.c: Likewise.
41501         * sunrpc/auth_unix.c: Likewise.
41502         * sunrpc/authdes_prot.c: Likewise.
41503         * sunrpc/authuxprot.c: Likewise.
41504         * sunrpc/clnt_gen.c: Likewise.
41505         * sunrpc/clnt_perr.c: Likewise.
41506         * sunrpc/clnt_raw.c: Likewise.
41507         * sunrpc/clnt_simp.c: Likewise.
41508         * sunrpc/clnt_tcp.c: Likewise.
41509         * sunrpc/clnt_udp.c: Likewise.
41510         * sunrpc/clnt_unix.c: Likewise.
41511         * sunrpc/des_crypt.c: Likewise.
41512         * sunrpc/des_soft.c: Likewise.
41513         * sunrpc/get_myaddr.c: Likewise.
41514         * sunrpc/key_call.c: Likewise.
41515         * sunrpc/key_prot.c: Likewise.
41516         * sunrpc/netname.c: Likewise.
41517         * sunrpc/pm_getmaps.c: Likewise.
41518         * sunrpc/pm_getport.c: Likewise.
41519         * sunrpc/pmap_clnt.c: Likewise.
41520         * sunrpc/pmap_prot.c: Likewise.
41521         * sunrpc/pmap_prot2.c: Likewise.
41522         * sunrpc/pmap_rmt.c: Likewise.
41523         * sunrpc/publickey.c: Likewise.
41524         * sunrpc/rpc_cmsg.c: Likewise.
41525         * sunrpc/rpc_common.c: Likewise.
41526         * sunrpc/rpc_dtable.c: Likewise.
41527         * sunrpc/rpc_prot.c: Likewise.
41528         * sunrpc/rpc_thread.c: Likewise.
41529         * sunrpc/rtime.c: Likewise.
41530         * sunrpc/svc.c: Likewise.
41531         * sunrpc/svc_auth.c: Likewise.
41532         * sunrpc/svc_raw.c: Likewise.
41533         * sunrpc/svc_run.c: Likewise.
41534         * sunrpc/svc_tcp.c: Likewise.
41535         * sunrpc/svc_udp.c: Likewise.
41536         * sunrpc/svc_unix.c: Likewise.
41537         * sunrpc/svcauth_des.c: Likewise.
41538         * sunrpc/xcrypt.c: Likewise.
41539         * sunrpc/xdr.c: Likewise.
41540         * sunrpc/xdr_array.c: Likewise.
41541         * sunrpc/xdr_float.c: Likewise.
41542         * sunrpc/xdr_intXX_t.c: Likewise.
41543         * sunrpc/xdr_mem.c: Likewise.
41544         * sunrpc/xdr_rec.c: Likewise.
41545         * sunrpc/xdr_ref.c: Likewise.
41546         * sunrpc/xdr_sizeof.c: Likewise.
41547         * sunrpc/xdr_stdio.c: Likewise.
41549 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41551         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41552         change.  Update copyright years.
41554 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41556         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41558 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41559             Joseph Myers  <joseph@codesourcery.com>
41560             Paul Pluzhnikov  <ppluzhnikov@google.com>
41562         [BZ #14012]
41563         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41564         requiring rpcgen.
41565         [cross-compiling] (extra-libs): Likewise.
41566         [cross-compiling] (extra-libs-others): Likewise.
41567         [cross-compiling] (librpcsvc-routines): Likewise.
41568         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41569         [cross-compiling] (omit-deps): Likewise.
41570         (sunrpc-CPPFLAGS): New variable.
41571         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41572         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41573         (cross-rpcgen-objs): New variable.
41574         (extra-objs): Append $(cross-rpcgen-objs).
41575         ($(cross-rpcgen-objs)): New rule.
41576         ($(objpfx)cross-rpcgen): Likewise.
41577         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41578         comment.
41579         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41580         ($(objpfx)x%.stmp): Likewise.
41581         * sunrpc/proto.h [IS_IN_build] (_): Define.
41582         [IS_IN_build] (_libc_intl_domainname): Likewise.
41584 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41587         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41588         and R_X86_64_TPOFF64.
41590 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41592         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41593         sysdeps/unix/sysv/syscalls.list.
41594         (stime): Likewise.
41595         (utime): Likewise.
41596         * sysdeps/unix/sysv/syscalls.list: Remove file.
41598 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41600         [BZ #3440]
41601         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41602         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41603         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41604         (__LC_IDENTIFICATION): Make these macros useful in #if
41605         expressions, as required by C99.
41607 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41609         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41610         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41611         after this.
41613 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41615         * stdlib/longlong.h: Updated from GCC.
41617 2012-05-09  Andreas Jaeger  <aj@suse.de>
41619         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41620         default is first entry.
41621         (run_mode): Set type.
41622         (main): Remove informal message about syslog.
41623         (options): Fix typo.
41625         [BZ #14053]
41626         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41627         to asm.
41628         (lrint): Likewise.
41629         (llrintf): Likewise.
41630         (llrint): Likewise.
41631         (rint): Likewise.
41632         (rintf): Likewise.
41633         (nearbyint): Likewise.
41634         (nearbyintf): Likewise.
41636 2012-05-09  Andreas Jaeger  <aj@suse.de>
41637             Pedro Alves  <palves@redhat.com>
41639         * nscd/nscd.c (run_mode): Use enum.
41640         (main): Cleanup coding style issue.
41642 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41643             Andreas Jaeger  <aj@suse.de>
41645         * nscd/nscd.c (go_background): Replaced with...
41646         (run_mode): ... this.
41647         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41648         (options): Add -F --foreground.
41649         (main): Implement it.
41650         (parse_opt): Parse it.
41652 2012-05-09  Andreas Jaeger  <aj@suse.de>
41654         [BZ #14083]
41655         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41656         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41657         -Wconversion warning.
41658         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41659         Likewise.
41661 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41663         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41664         == 0.
41665         (LC_ALL): Use macro-int-constant.
41666         (LC_COLLATE): Likewise.
41667         (LC_CTYPE): Likewise.
41668         (LC_MESSAGES): Likewise.
41669         (LC_MONETARY): Likewise.
41670         (LC_NUMERIC): Likewise.
41671         (LC_TIME): Likewise.
41672         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41673         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41674         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41675         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41676         Specify type.
41677         [C99-based standards] (float_t): Expect type.
41678         [C99-based standards] (double_t): Expect type.
41679         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41680         type.
41681         [C99-based standards] (HUGE_VALL): Likewise.
41682         [C99-based standards] (INFINITY): Likewise.
41683         [C99-based standards] (NAN): Likewise.
41684         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41685         [C99-based standards] (FP_NAN): Likewise.
41686         [C99-based standards] (FP_NORMAL): Likewise.
41687         [C99-based standards] (FP_SUBNORMAL): Likewise.
41688         [C99-based standards] (FP_ZERO): Likewise.
41689         [C99-based standards] (FP_FAST_FMA): Use
41690         optional-macro-int-constant.  Specify type.  Require == 1.
41691         [C99-based standards] (FP_FAST_FMAF): Likewise.
41692         [C99-based standards] (FP_FAST_FMAL): Likewise.
41693         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41694         [C99-based standards] (FP_ILOGBNAN): Likewise.
41695         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41696         Specify type.
41697         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41698         [C99-based standards] (math_errhandling): Specify type.
41699         [ISO99 || ISO11] (signgam): Do not allow.
41700         [non-C99-based standards] (copysignf): Do not allow.
41701         [non-C99-based standards] (exp2f): Likewise.
41702         [non-C99-based standards] (log2f): Likewise.
41703         [non-C99-based standards] (modff): Allow.
41704         [non-C99-based standards] (erff): Do not allow.
41705         [non-C99-based standards] (erfcf): Likewise.
41706         [non-C99-based standards] (gammaf): Likewise.
41707         [non-C99-based standards] (hypotf): Likewise.
41708         [non-C99-based standards] (j0f): Likewise.
41709         [non-C99-based standards] (j1f): Likewise.
41710         [non-C99-based standards] (jnf): Likewise.
41711         [non-C99-based standards] (lgammaf): Likewise.
41712         [non-C99-based standards] (tgammaf): Likewise.
41713         [non-C99-based standards] (y0f): Likewise.
41714         [non-C99-based standards] (y1f): Likewise.
41715         [non-C99-based standards] (ynf): Likewise.
41716         [non-C99-based standards] (isnanf): Likewise.
41717         [non-C99-based standards] (acoshf): Likewise.
41718         [non-C99-based standards] (asinhf): Likewise.
41719         [non-C99-based standards] (atanhf): Likewise.
41720         [non-C99-based standards] (cbrtf): Likewise.
41721         [non-C99-based standards] (expm1f): Likewise.
41722         [non-C99-based standards] (ilogbf): Likewise.
41723         [non-C99-based standards] (log1pf): Likewise.
41724         [non-C99-based standards] (logbf): Likewise.
41725         [non-C99-based standards] (nextafterf): Likewise.
41726         [non-C99-based standards] (remainderf): Likewise.
41727         [non-C99-based standards] (rintf): Likewise.
41728         [non-C99-based standards] (scalbf): Likewise.
41729         [non-C99-based standards] (copysignl): Likewise.
41730         [non-C99-based standards] (exp2l): Likewise.
41731         [non-C99-based standards] (log2l): Likewise.
41732         [non-C99-based standards] (modfl): Allow.
41733         [non-C99-based standards] (erfl): Do not allow.
41734         [non-C99-based standards] (erfcl): Likewise.
41735         [non-C99-based standards] (gammal): Likewise.
41736         [non-C99-based standards] (hypotl): Likewise.
41737         [non-C99-based standards] (j0l): Likewise.
41738         [non-C99-based standards] (j1l): Likewise.
41739         [non-C99-based standards] (jnl): Likewise.
41740         [non-C99-based standards] (lgammal): Likewise.
41741         [non-C99-based standards] (tgammal): Likewise.
41742         [non-C99-based standards] (y0l): Likewise.
41743         [non-C99-based standards] (y1l): Likewise.
41744         [non-C99-based standards] (ynl): Likewise.
41745         [non-C99-based standards] (isnanl): Likewise.
41746         [non-C99-based standards] (acoshl): Likewise.
41747         [non-C99-based standards] (asinhl): Likewise.
41748         [non-C99-based standards] (atanhl): Likewise.
41749         [non-C99-based standards] (cbrtl): Likewise.
41750         [non-C99-based standards] (expm1l): Likewise.
41751         [non-C99-based standards] (ilogbl): Likewise.
41752         [non-C99-based standards] (log1pl): Likewise.
41753         [non-C99-based standards] (logbl): Likewise.
41754         [non-C99-based standards] (nextafterl): Likewise.
41755         [non-C99-based standards] (remainderl): Likewise.
41756         [non-C99-based standards] (rintl): Likewise.
41757         [non-C99-based standards] (scalbl): Likewise.
41758         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41759         [non-C99-based standards] (FP_*): Do not allow.
41760         [C99-based standards] (FP_*): Change to
41761         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41762         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41763         allow.
41764         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41765         (SIG_ERR): Likewise.
41766         [X/Open-based standards] (SIG_HOLD): Likewise.
41767         (SIG_IGN): Likewise.
41768         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41769         positive value.
41770         (SIGFPE): Likewise.
41771         (SIGILL): Likewise.
41772         (SIGINT): Likewise.
41773         (SIGSEGV): Likewise.
41774         (SIGTER): Likewise.
41775         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41776         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41777         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41778         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41779         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41780         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41781         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41782         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41783         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41784         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41785         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41786         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41787         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41788         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41789         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41790         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41791         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41792         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41793         [X/Open-based standards] (SIGTRAP): Likewise.
41794         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41795         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41796         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41797         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41798         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41799         allow.
41801 2012-05-08  Ian Wienand  <ianw@vmware.com>
41803         [BZ #14080]
41804         * time/tzset.c (__tzset_parse_tz): Update default rules for
41805         daylight time changes in the Energy Policy Act of 2005.
41807 2012-05-09  Andreas Jaeger  <aj@suse.de>
41809         [BZ #13983]
41810         * elf/ldconfig.c (parse_conf): Change string to make clear that
41811         ldconfig only issued a warning if ld.so.conf does not exist.
41813 2012-05-08  David S. Miller  <davem@davemloft.net>
41815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41816         movxtod instead of popping the value on the stack.
41818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41820 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41822         * config.h.in: Add HAVE_ARM_PCS_VFP.
41824 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41826         [BZ #13979]
41827         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41828         checking but the checks are disabled for any reason.
41830 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41832         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41833         and ELF64_R_TYPE with ELFW(R_TYPE).
41835 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41837         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41838         (ulimit): Likewise.
41840         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41841         (settimeofday): Likewise.
41843 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41845         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41846         a struct th_u2 inside the union, and move tu_block/tu_code into
41847         a new th_u3 union of tu_block/tu_code inside of that.  Move
41848         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41849         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41850         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41851         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41852         (th_stuff): Change to th_u1.tu_stuff.
41853         (th_data): Define.
41854         (th_msg): Change to th_u1.th_u2.tu_data.
41856 2012-05-07  David S. Miller  <davem@davemloft.net>
41858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41860         [BZ #14074]
41861         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41862         (SETUP_PIC_REG): Use it.
41863         (SETUP_PIC_REG_LEAF): Use it.
41865 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41867         [BZ #13885]
41868         [BZ #13923]
41869         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41870         USE_AS_EXPM1L.
41871         (EXPL_FINITE): Likewise.
41872         (FLDLOG): Likewise.
41873         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41874         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41875         e_expl.S.
41876         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41877         USE_AS_EXPM1L.
41878         (EXPL_FINITE): Likewise.
41879         (FLDLOG): Likewise.
41880         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41881         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41882         e_expl.S.
41883         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41884         test of -max_value argument for long double.
41885         * sysdeps/i386/fpu/libm-test-ulps: Update.
41886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41888 2012-05-06  David S. Miller  <davem@davemloft.net>
41890         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41891         quad soft-float symbols whose references which are compiler
41892         generated.
41893         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41895 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41897         [BZ #13884]
41898         [BZ #13914]
41899         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41900         USE_AS_EXP10L.
41901         (EXPL_FINITE): Likewise.
41902         (FLDLOG): Likewise.
41903         (c0): Likewise.
41904         (c1): Likewise.
41905         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41906         Adjust comments for base varying.
41907         (__expl_finite): Change alias to EXPL_FINITE.
41908         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41909         e_expl.S.
41910         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41911         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41912         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41913         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41914         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41915         USE_AS_EXP10L.
41916         (EXPL_FINITE): Likewise.
41917         (FLDLOG): Likewise.
41918         (c0): Likewise.
41919         (c1): Likewise.
41920         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41921         Adjust comments for base varying.
41922         (__expl_finite): Change alias to EXPL_FINITE.
41923         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41924         tests for bugs.
41925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41927         [BZ #14064]
41928         * math/libm-test.inc (check_float_internal): Correct ulp
41929         calculation for subnormal expected results.
41931 2012-05-06  Andreas Jaeger  <aj@suse.de>
41933         * Makeconfig (+math-flags): New, set to -frounding-math.
41934         (+cflags): Add +math-flags so that all of glibc gets compiled with
41935         it.
41937         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41939 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41941         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41942         Disable one test.
41944         [BZ #13787]
41945         [BZ #13922]
41946         [BZ #14036]
41947         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41948         (__ieee754_expl): Allow for and saturate large arguments.
41949         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41950         (u_threshold): Likewise.
41951         (__exp): Call __ieee754_exp before checking for overflow and
41952         underflow.
41953         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41954         (u_threshold): Likewise.
41955         (__expf): Call __ieee754_expf before checking for overflow and
41956         underflow.
41957         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41958         (u_threshold): Likewise.
41959         (__expl): Call __ieee754_expl before checking for overflow and
41960         underflow.
41961         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41962         (__ieee754_expl): Allow for and saturate large arguments.
41963         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41964         missing overflow exception on overflow.
41965         (expm1_test): Do not allow missing overflow exception on overflow.
41967         * sysdeps/i386/fpu/e_expl.c: Move to ...
41968         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41969         rather than using inline asm.
41970         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41971         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41972         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41974         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41975         (nice): Likewise.
41976         (poll): Likewise.
41977         (signal): Likewise.
41978         (time): Likewise.
41979         (times): Likewise.
41981 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41983         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41984         sysdeps/unix/common/syscalls.list.
41985         (fchmod): Likewise.
41986         (fchown): Likewise.
41987         (ftruncate): Likewise.
41988         (getrusage): Likewise.
41989         (gettimeofday): Likewise.
41990         (setpgid): Likewise.
41991         (setregid): Likewise.
41992         (setreuid): Likewise.
41993         (sigaction): Likewise.
41994         (truncate): Likewise.
41995         (vhangup): Likewise.
41996         * sysdeps/unix/common/syscalls.list: Remove file.
41997         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41998         * sysdeps/unix/sysv/linux/Implies: Likewise.
42000 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
42002         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42004         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42005         Moved to ...
42006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42007         Here.
42008         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42009         to ...
42010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42011         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42012         to ...
42013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42014         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42015         to ...
42016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42017         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42018         to ...
42019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42020         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42021         to ...
42022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42023         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42024         to ...
42025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42026         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42027         to ...
42028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42029         Here.
42030         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42031         to ...
42032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42033         Here.
42034         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42035         to ...
42036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42037         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42038         Moved to ...
42039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42040         Here.
42041         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42042         to ...
42043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42045 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42047         * sysdeps/unix/common/bits/dirent.h: Remove file.
42048         * sysdeps/unix/common/bits/fcntl.h: Likewise.
42050         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42051         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42052         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42053         * sysdeps/unix/bsd/isatty.c: Likewise.
42054         * sysdeps/unix/bsd/tcdrain.c: Likewise.
42055         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42056         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42058 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42060         [BZ #13563]
42061         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42062         long double comparison inaccuracies.
42063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42066 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
42068         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42069         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42071 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
42073         [BZ #14049]
42074         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42075         nonzero digits before rounding a hex value.
42076         * stdlib/tst-strtod.c (tests): Add another test.
42078 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42080         * sysdeps/s390/fpu/libm-test-ulps: Update.
42082 2012-05-03  Andreas Jaeger  <aj@suse.de>
42084         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42085         does not get optimized out.
42086         (malloc_opt_barrier): New.
42088 2012-05-03  Andreas Jaeger  <aj@suse.de>
42089             Roland McGrath  <roland@hack.frob.com>
42091         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42092         intermediate file deletion.
42093         (generated): Add .symlist files.
42095 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
42097         [BZ #13775]
42098         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42099         Redirect under this condition.
42100         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42101         [__USE_GNU] (__dprintf_chk): Not under this condition.
42102         [__USE_GNU] (__vdprintf_chk): Likewise.
42103         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42104         under this condition.
42105         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42106         [__USE_XOPEN2K8] (dprintf): Define under this condition.
42107         [__USE_XOPEN2K8] (vdprintf): Likewise.
42108         [__USE_GNU] (__dprintf_chk): Not under this condition.
42109         [__USE_GNU] (__vdprintf_chk): Likewise.
42110         [__USE_GNU] (dprintf): Likewise.
42111         [__USE_GNU] (vdprintf): Likewise.
42113 2012-05-03  Roland McGrath  <roland@hack.frob.com>
42115         * elf/Makefile (common-generated): Set this instead of generated for
42116         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
42117         $(all-built-dso)-derived lists.
42119 2012-05-03  Andreas Jaeger  <aj@suse.de>
42121         * sysdeps/i386/fpu/libm-test-ulps: Update.
42123         * FAQ: Removed.
42124         * FAQ.in: Likewise.
42125         * scripts/gen-FAQ.pl: Likewise.
42126         * manual/install.texi (Installation): Point to online location of
42127         FAQ.
42128         * Makefile (files-for-dist): Remove FAQ.
42129         (FAQ): Remove.
42131 2012-05-02  Allan McRae  <allan@archlinux.org>
42133         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42134         (LDFLAGS-reldepmod5.so): Likewise.
42135         (LDFLAGS-reldep6mod1.so): Likewise.
42136         (LDFLAGS-reldep6mod4.so): Likewise.
42137         (LDFLAGS-reldep8mod3.so): Likewise.
42138         (LDFLAGS-unload4mod1.so): Likewise.
42139         (LDFLAGS-unload4mod2.so): Likewise.
42140         (LDFLAGS-tst-initorder): Likewise.
42141         (LDFLAGS-tst-initordera2.so): Likewise.
42142         (LDFLAGS-tst-initordera3.so): Likewise.
42143         (LDFLAGS-tst-initordera4.so): Likewise.
42144         (LDFLAGS-tst-initorderb2.so): Likewise.
42145         (LDFLAGS-noload): Likewise.
42146         (LDFLAGS-next): Likewise.
42147         (LDFLAGS-order2mod1.so): Likewise.
42148         (LDFLAGS-order2mod2.so): Likewise.
42149         (LDFLAGS-tst-initorder2): Likewise.
42150         (LDFLAGS-tst-initorder2a.so): Likewise.
42151         (LDFLAGS-tst-initorder2b.so): Likewise.
42152         (LDFLAGS-tst-initorder2c.so): Likewise.
42153         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42155 2012-05-02  David S. Miller  <davem@davemloft.net>
42157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42159 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
42161         [BZ #14055]
42162         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42164 2012-05-02  Andreas Jaeger  <aj@suse.de>
42166         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42167         since we manipulate rounding mode.
42168         (CPPFLAGS-test-idouble.c): Likewise.
42169         (CPPFLAGS-test-ifloat.c): Likewise.
42170         (CFLAGS-test-ldouble.c): Likewise.
42171         (CFLAGS-test-double.c): Likewise.
42172         (CFLAGS-test-float.c): Likewise.
42173         (CFLAGS-test-misc.c): Likewise.
42174         (CFLAGS-test-test-fenv.c): Likewise.
42176 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42178         [BZ #2550]
42179         [BZ #2570]
42180         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42181         comparisons to determine direction to adjust input.
42183 2012-05-01  Roland McGrath  <roland@hack.frob.com>
42185         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42186         output to the target.
42188         * scripts/localplt.awk: New file.
42189         * elf/Makefile ($(objpfx)check-localplt): Target removed.
42190         (check-localplt-CFLAGS): Variable removed.
42191         ($(all-built-dso:=.jmprel)): New static pattern rule.
42192         (generated): Add those targets.
42193         (localplt-built-dso): New variable.
42194         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42196         * elf/check-localplt.c: File removed.
42198         * scripts/check-execstack.awk: New file.
42199         * elf/Makefile ($(objpfx)check-execstack): Target removed.
42200         (check-execstack-CFLAGS): Variable removed.
42201         ($(objpfx)check-execstack.h): Target removed.
42202         ($(objpfx)execstack-default): New target.
42203         (generated): Add that instead of check-execstack.h.
42204         ($(all-built-dso:=.phdr)): New static pattern rule.
42205         (generated): Add those targets.
42206         * elf/check-execstack.c: File removed.
42208         * scripts/check-textrel.awk: New file.
42209         * elf/Makefile ($(objpfx)check-textrel): Target removed.
42210         (check-textrel-CFLAGS): Variable removed.
42211         (all-built-dso): Use := to define.o
42212         ($(all-built-dso:=.dyn)): New static pattern rule.
42213         (generated): Add those targets.
42214         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42215         * config.make.in (READELF): New substituted variable.
42216         * elf/check-textrel.c: File removed.
42218 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42220         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42221         allow.
42222         * conform/data/ctype.h-data [C99-based standards] (isblank):
42223         Expect function.
42224         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42225         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42226         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42227         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42228         Specify type.  Require positive value.
42229         (EILSEQ): Likewise.
42230         (ERANGE): Likewise.
42231         [ISO || POSIX] (EILSEQ): Do not expect.
42232         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42233         Specify type.  Require positive value.
42234         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42235         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42236         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42237         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42238         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42239         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42240         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42241         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42242         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42243         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42244         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42245         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42246         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42247         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42248         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42249         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42250         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42251         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42252         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42253         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42254         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42255         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42256         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42257         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42258         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42259         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42260         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42261         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42262         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42263         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42264         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42265         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42266         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42267         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42268         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42269         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42270         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42271         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42272         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42273         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42274         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42275         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42276         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42277         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42278         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42279         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42280         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42281         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42282         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42283         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42284         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42285         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42286         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42287         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42288         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42289         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42290         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42291         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42292         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42293         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42294         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42295         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42296         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42297         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42298         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42299         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42300         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42301         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42302         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42303         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42304         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42305         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42306         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42307         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42308         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42309         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42310         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42311         Require >= 2.
42312         (FLT_ROUNDS): Expect as macro, not constant.
42313         (FLT_MANT_DIG): Use macro-int-constant.
42314         (DBL_MANT_DIG): Likewise.
42315         (LDBL_MANT_DIG): Likewise.
42316         (FLT_DIG): Likewise.
42317         (DBL_DIG): Likewise.
42318         (LDBL_DIG): Likewise.
42319         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42320         (DBL_MIN_EXP): Likewise.
42321         (LDBL_MIN_EXP): Likewise.
42322         (FLT_MAX_EXP): Use macro-int-constant.
42323         (DBL_MAX_EXP): Likewise.
42324         (LDBL_MAX_EXP): Likewise.
42325         (FLT_MAX_10_EXP): Likewise.
42326         (DBL_MAX_10_EXP): Likewise.
42327         (LDBL_MAX_10_EXP): Likewise.
42328         (FLT_MAX): Use macro-constant.
42329         (DBL_MAX): Likewise.
42330         (LDBL_MAX): Likewise.
42331         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42332         (DBL_EPSILON): Likewise.
42333         (LDBL_EPSILON): Likewise.
42334         (FLT_MIN): Likewise.
42335         (DBL_MIN): Likewise.
42336         (LDBL_MIN): Likewise.
42337         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42338         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42339         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42340         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42341         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42342         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42343         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42344         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42345         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42346         [ISO11] (FLT_TRUE_MIN): Likewise.
42347         [ISO11] (LDBL_TRUE_MIN): Likewise.
42348         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42349         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42350         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42351         (SCHAR_MAX): Likewise.
42352         (UCHAR_MAX): Likewise.
42353         (CHAR_MIN): Likewise.
42354         (CHAR_MAX): Likewise.
42355         (MB_LEN_MAX): Use macro-int-constant.
42356         (SHRT_MIN): Use macro-int-constant.  Specify type.
42357         (SHRT_MAX): Likewise.
42358         (USHRT_MAX): Likewise.
42359         (INT_MAX): Likewise.
42360         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42361         bound negative.
42362         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42363         bound with "U".
42364         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42365         bound with "L".
42366         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42367         bound negative.  Suffix upper bound with "L".
42368         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42369         bound with "UL".
42370         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42371         Specify type.
42372         [C99-based standards] (LLONG_MAX): Likewise.
42373         [C99-based standards] (ULLONG_MAX): Likewise.
42374         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42375         == 0.
42376         [ISO11] (max_align_t): Require type.
42377         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42379         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42380         from $CFLAGS, without defining away __attribute__ calls.
42381         (checknamespace): Use $CFLAGS_namespace.
42383         * conform/conformtest.pl (@keywords): Only include C99 keywords
42384         for standards based on C99 or C11.
42386         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42387         Disable tests.
42388         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42389         UNIX98]: Likewise.
42391         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42392         usability of symbols in #if.
42394         * conform/conformtest.pl: If macro or constant types start
42395         "promoted:", expect the symbol to be of the following type
42396         promoted by the integer promotions.
42398         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42399         in one place.  Also handle "macro-constant".
42401         * conform/conformtest.pl: Only accept expected macro values with
42402         "==".  Parse all "macro" lines in one place.
42403         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42405         * conform/conformtest.pl: Handle braced types on "constant" lines
42406         instead of handling "typed-constant".
42407         * conform/data/signal.h-data: Use "constant" instead of
42408         "typed-constant".
42410         * conform/conformtest.pl: Handle "optional-" at start of lines in
42411         one place rather than duplicating several cases.  Handle each
42412         format of "macro" line with initial "optional-".
42414         * conform/conformtest.pl: Only accept expected constant or
42415         optional-constant values with "==".  Parse all "constant" lines in
42416         one place.  Parse all "optional-constant" lines in one place.
42417         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42418         * conform/data/fmtmsg.h-data: Likewise.
42419         * conform/data/netinet/in.h-data: Likewise.
42420         * conform/data/tar.h-data: Likewise.
42421         * conform/data/limits.h-data: Use "==" form on "constant" and
42422         "optional-constant" lines.
42424         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42425         Use -std=c99 for XOPEN2K.
42426         (@knownproblems): Remove.
42427         (newtoken): Don't check %isknown.
42429         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42430         Do not expect macro.
42431         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42432         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42433         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42434         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42435         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42436         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42437         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42438         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42439         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42440         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42441         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42442         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42443         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42444         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42445         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42446         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42447         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42448         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42449         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42450         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42451         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42452         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42453         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42454         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42455         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42456         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42457         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42458         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42459         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42460         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42461         [XPG3] (acosh): Likewise.
42462         [XPG3] (asinh): Likewise.
42463         [XPG3] (atanh): Likewise.
42464         [XPG3] (cbrt): Likewise.
42465         [XPG3] (expm1): Likewise.
42466         [XPG3] (ilogb): Likewise.
42467         [XPG3] (log1p): Likewise.
42468         [XPG3] (logb): Likewise.
42469         [XPG3] (nextafter): Likewise.
42470         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42471         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42472         [XPG3] (remainder): Likewise.
42473         [XPG3] (rint): Likewise.
42474         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42475         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42476         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42477         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42478         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42479         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42480         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42481         [UNIX98 || XOPEN2K] (scalb): Expect.
42482         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42483         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42484         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42485         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42486         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42487         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42488         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42489         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42490         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42491         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42492         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42493         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42494         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42495         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42496         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42497         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42498         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42499         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42500         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42501         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42502         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42503         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42504         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42505         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42506         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42507         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42508         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42509         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42510         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42511         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42512         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42513         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42514         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42515         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42516         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42517         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42518         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42519         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42520         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42521         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42522         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42523         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42524         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42525         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42526         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42527         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42528         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42529         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42530         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42531         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42532         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42533         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42534         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42535         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42536         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42537         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42538         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42539         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42540         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42541         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42542         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42543         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42544         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42545         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42546         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42547         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42548         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42549         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42550         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42551         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42552         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42553         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42554         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42555         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42556         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42557         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42558         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42559         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42560         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42561         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42562         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42563         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42564         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42565         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42566         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42567         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42568         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42569         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42570         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42571         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42572         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42573         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42574         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42575         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42576         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42577         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42578         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42579         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42580         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42581         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42582         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42583         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42584         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42585         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42586         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42587         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42588         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42589         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42590         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42591         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42592         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42593         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42594         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42595         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42596         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42597         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42598         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42599         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42600         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42601         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42602         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42603         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42604         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42605         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42606         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42607         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42608         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42609         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42610         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42611         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42612         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42613         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42614         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42615         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42616         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42617         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42618         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42620         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42621         _XOPEN_SOURCE_EXTENDED for XPG4.
42623         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42625         * Makeconfig (localtime): Remove variable.
42626         (inst_localtime-file): Likewise.
42628 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42631         Update.
42632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42633         Update.
42634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42635         Update.
42636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42637         Update.
42638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42639         Update.
42640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42641         Update.
42642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42643         Update.
42644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42645         Update.
42646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42647         Update.
42649 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42651         [BZ #2550]
42652         [BZ #2570]
42653         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42654         comparisons to determine direction to adjust input.
42655         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42656         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42657         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42658         Likewise.
42659         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42660         Likewise.
42661         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42662         Likewise.
42663         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42664         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42665         Likewise.
42666         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42667         Likewise.
42668         * math/libm-test.inc (nexttoward_test): Add more tests.
42670 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42672         [BZ #14040]
42673         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42674         in version GLIBC_2.1, not GLIBC_2.0.
42675         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42676         Likewise.
42678 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42680         [BZ #13942]
42681         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42682         (1 - x) * (1 + x).
42683         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42684         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42685         * math/libm-test.inc (acos_test): Add more tests.
42686         (asin_test): Likewise.
42687         * sysdeps/i386/fpu/libm-test-ulps: Update.
42688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42690         [BZ #14034]
42691         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42692         of square root.
42693         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42694         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42695         * math/libm-test.inc (acos_test_tonearest): New function.
42696         (acos_test_towardzero): Likewise.
42697         (acos_test_downward): Likewise.
42698         (acos_test_upward): Likewise.
42699         (asin_test_tonearest): Likewise.
42700         (asin_test_towardzero): Likewise.
42701         (asin_test_downward): Likewise.
42702         (asin_test_upward): Likewise.
42703         (main): Call the new functions.
42704         * sysdeps/i386/fpu/libm-test-ulps: Update.
42705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42707         [BZ #13884]
42708         [BZ #13924]
42709         * math/e_exp10.c: Include <float.h>.
42710         (__ieee754_exp10): Handle underflow here rather than multiplying
42711         large negative argument by M_LN10.
42712         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42713         of __ieee754_expf.
42714         * math/e_exp10l.c: Include <float.h>.
42715         (__ieee754_exp10l): Handle underflow here rather than multiplying
42716         large negative argument by M_LN10l.
42717         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42718         spurious overflow exception on underflow.
42720 2012-04-29  Marek Polacek  <polacek@redhat.com>
42722         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42723         (__fortify_function): New macro.
42724         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42725         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42726         __extern_always_inline.
42727         * libio/bits/stdio2.h: Likewise.
42728         * libio/bits/stdio.h: Likewise.
42729         * string/string.h: Likewise.
42730         * string/bits/string3.h: Likewise.
42731         * include/stdio.h: Likewise.
42732         * stdlib/bits/stdlib.h: Likewise.
42733         * stdlib/stdlib.h: Likewise.
42734         * rt/bits/mqueue2.h: Likewise.
42735         * rt/mqueue.h: Likewise.
42736         * posix/bits/unistd.h: Likewise.
42737         * posix/unistd.h: Likewise.
42738         * io/bits/poll2.h: Likewise.
42739         * io/bits/fcntl2.h: Likewise.
42740         * io/fcntl.h: Likewise.
42741         * io/sys/poll.h: Likewise.
42742         * misc/bits/syslog.h: Likewise.
42743         * misc/bits/syslog-ldbl.h: Likewise.
42744         * misc/sys/syslog.h: Likewise.
42745         * socket/bits/socket2.h: Likewise.
42746         * socket/sys/socket.h: Likewise.
42747         * debug/tst-chk1.c: Likewise.
42748         * wcsmbs/bits/wchar2.h: Likewise.
42749         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42750         * wcsmbs/wchar.h: Likewise.
42752 2012-04-29  Andreas Jaeger  <aj@suse.de>
42754         * Makerules (tests): Remove enable-check-abi protection.
42755         (check-abi-warn): Remove.
42756         (check-abi-%): Remove check-abi-warn usage.
42758         * configure.in: Remove check-abi configure option.
42759         * configure: Regenerated.
42760         * config.make.in (enable-check-abi): Remove.
42762 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42764         [BZ #14033]
42765         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42766         double functions to double *_finite functions.
42768         [BZ #13941]
42769         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42770         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42771         LDBL_MIN_EXP.
42772         * stdio-common/Makefile (tests): Add tst-sprintf3.
42773         * stdio-common/tst-sprintf3.c: New file.
42775         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42776         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42778 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42780         * conform/conformtest.pl: Remove duplicate typed-constant
42781         handling.
42783 2012-04-28  David S. Miller  <davem@davemloft.net>
42785         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42786         (check-abi-%): Remove AWK script prerequisite and explicit
42787         abilist directory.
42788         (check-abi): Rewrite to just diff the symlist with the abilist.
42789         (config-tls, config-abi-config): Delete, no longer used.
42790         (update-abi-%): Remove AWK script and explicit abilist directory.
42791         (update-abi): Rewrite to simply compare and conditionally copy the
42792         symlist and the sysdep abilist file.  Remove update-abi-config
42793         checks.
42794         * abilist/ld.abilist: Remove.
42795         * abilist/libBrokenLocale.abilist: Remove.
42796         * abilist/libanl.abilist: Remove.
42797         * abilist/libcrypt.abilist: Remove.
42798         * abilist/libdl.abilist: Remove.
42799         * abilist/librt.abilist: Remove.
42800         * abilist/libthread_db.abilist: Remove.
42801         * abilist/libutil.abilist: Remove.
42802         * scripts/extract-abilist.awk: Remove.
42803         * scripts/merge-abilist.awk: Remove.
42804         * sysdeps/generic/libcidn.abilist: New file.
42805         * sysdeps/generic/libnss_compat.abilist: New file.
42806         * sysdeps/generic/libnss_db.abilist: New file.
42807         * sysdeps/generic/libnss_dns.abilist: New file.
42808         * sysdeps/generic/libnss_files.abilist: New file.
42809         * sysdeps/generic/libnss_hesiod.abilist: New file.
42810         * sysdeps/generic/libnss_nis.abilist: New file.
42811         * sysdeps/generic/libnss_nisplus.abilist: New file.
42812         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42813         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42814         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42815         file.
42816         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42817         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42818         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42819         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42820         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42821         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42822         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42823         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42824         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42825         file.
42826         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42827         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42828         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42829         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42830         file.
42831         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42832         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42833         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42834         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42835         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42836         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42837         file.
42838         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42839         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42840         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42841         file.
42842         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42844         New file.
42845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42846         New file.
42847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42848         New file.
42849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42850         New file.
42851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42852         New file.
42853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42854         New file.
42855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42856         New file.
42857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42858         New file.
42859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42860         New file.
42861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42862         New file.
42863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42864         New file.
42865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42866         New file.
42867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42868         New file.
42869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42870         file.
42871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42872         New file.
42873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42874         New file.
42875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42876         file.
42877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42878         New file.
42879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42880         New file.
42881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42882         file.
42883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42884         New file.
42885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42886         New file.
42887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42888         New file.
42889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42890         New file.
42891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42892         New file.
42893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42894         New file.
42895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42897         file.
42898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42899         New file.
42900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42901         file.
42902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42903         file.
42904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42905         file.
42906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42907         file.
42908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42909         file.
42910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42911         New file.
42912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42913         file.
42914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42915         file.
42916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42917         New file.
42918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42919         file.
42920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42922         file.
42923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42924         New file.
42925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42926         file.
42927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42928         file.
42929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42930         file.
42931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42932         file.
42933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42934         file.
42935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42936         New file.
42937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42938         file.
42939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42940         file.
42941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42942         New file.
42943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42944         file.
42945         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42946         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42947         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42948         file.
42949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42950         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42951         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42952         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42953         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42954         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42955         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42956         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42957         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42958         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42961         file.
42962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42963         New file.
42964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42965         file.
42966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42967         file.
42968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42969         file.
42970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42971         file.
42972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42973         file.
42974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42975         New file.
42976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42977         New file.
42978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42979         file.
42980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42981         New file.
42982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42983         file.
42984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42986         file.
42987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42988         New file.
42989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42990         file.
42991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42992         file.
42993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42994         file.
42995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42996         file.
42997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42998         file.
42999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43000         New file.
43001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43002         New file.
43003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43004         file.
43005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43006         New file.
43007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43008         file.
43010 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
43012         * conform/conformtest.pl: Fix typo in handling typed-constant from
43013         allow-header.
43015 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43017         * README: Cut down references to pre-2.6 Linux kernels and
43018         Linuxthreads.  Update lists of configurations in libc and ports
43019         and sort alphabetically.  Say "or newer" with Linux kernel version
43020         requirements.
43022         * config.h.in [IS_IN_build]: Allow compiling without optimization.
43024 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43026         [BZ #887]
43027         * math/libm-test.inc (logb_test_downward): New test to expose
43028         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43029         rounding mode.
43031 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
43033         [BZ #14027]
43034         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43035         to be done.
43036         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43037         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43039 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
43041         * sysdeps/unix/i386/brk.S: Remove file.
43042         * sysdeps/unix/i386/dl-brk.S: Likewise.
43043         * sysdeps/unix/i386/pipe.S: Likewise.
43044         * sysdeps/unix/i386/sigreturn.S: Likewise.
43045         * sysdeps/unix/i386/syscall.S: Likewise.
43046         * sysdeps/unix/i386/vfork.S: Likewise.
43047         * sysdeps/unix/i386/wait.S: Likewise.
43049         * sysdeps/unix/common/tcsendbrk.c: Move to ...
43050         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43052         * configure.in (arm*-none*): Do not allow without
43053         --enable-hacker-mode.
43054         (netbsd*): Remove case setting base_os.
43055         (386bsd*): Likewise.
43056         (freebsd*): Likewise.
43057         (bsdi*): Likewise.
43058         (osf*): Likewise.
43059         (sunos*): Likewise.
43060         (ultrix*): Likewise.
43061         (newsos*): Likewise.
43062         (dynix*): Likewise.
43063         (*bsd*): Likewise.
43064         (sysv*): Likewise.
43065         (isc*): Likewise.
43066         (esix*): Likewise.
43067         (sco*): Likewise.
43068         (minix*): Likewise.
43069         (irix4*): Likewise.
43070         (irix6*): Likewise.
43071         (solaris[2-9]*): Likewise.
43072         (none): Likewise.
43073         * configure: Regenerated.
43075 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43077         [BZ #11521]
43078         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43079         overflow or cancellation in calculating denominator.
43080         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43081         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43082         down expression to avoid unexpected rounding in newer GCCs.
43083         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43085 2012-04-26  David S. Miller  <davem@davemloft.net>
43087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43088         long-double compat symbols.
43089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43103 2012-04-25  David S. Miller  <davem@davemloft.net>
43105         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43106         HWCAP_* values only after the memory barriers have been defined.
43107         (atomic_full_barrier): Define.
43108         (atomic_read_barrier): Define.
43109         (atomic_write_barrier): Define.
43111 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43113         * shlib-versions: Add libgcc_s version information.
43114         * sysdeps/generic/libgcc_s.h: Remove.
43115         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43116         libgcc_s.h.
43117         * sysdeps/gnu/unwind-resume.c: Likewise.
43118         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43120 2012-04-25  David S. Miller  <davem@davemloft.net>
43122         * sysdeps/unix/sparc/brk.S: Delete.
43123         * sysdeps/unix/sparc/dl-brk.S: Delete.
43124         * sysdeps/unix/sparc/pipe.S: Delete.
43125         * sysdeps/unix/sparc/sysdep.S: Delete.
43126         * sysdeps/unix/sparc/sysdep.h: Delete.
43127         * sysdeps/unix/sparc/vfork.S: Delete.
43128         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43129         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43130         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43131         (ret_ERRVAL, r0, r1, MOVE): Define.
43132         (JUMPTARGET): Remove.
43133         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43134         sysdeps/unix/sparc/sysdep.h
43135         (ENTRY, END): Remove.
43136         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43138 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
43140         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43141         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43142         -DIS_IN_build.
43144         * timezone/README: Update upstream location and email address for
43145         tzcode and tzdata.
43146         * timezone/zdump.c: Update from tzcode 2012b.
43147         * timezone/zic.c: Likewise.
43149         * configure.in (libc_cv_as_needed): Remove test.
43150         * configure: Regenerated.
43151         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43152         conditional definition.
43153         [$(have-as-needed) != yes] (no-as-needed): Likewise.
43154         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43155         * config.make.in (have-as-needed): Remove variable.
43157 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43158             Paul Pluzhnikov  <ppluzhnikov@google.com>
43160         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43161         strings correctly.
43163 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
43165         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43166         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43167         * sysdeps/sh/strlen.S: Likewise.
43169 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43171         * sysdeps/unix/fork.S: Remove file.
43172         * sysdeps/unix/i386/fork.S: Likewise.
43173         * sysdeps/unix/sparc/fork.S: Likewise.
43175         * sysdeps/unix/system.c: Remove file.
43176         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43178         * sysdeps/unix/getegid.S: Remove file.
43179         * sysdeps/unix/geteuid.S: Likewise.
43181 2012-04-24  Roland McGrath  <roland@hack.frob.com>
43183         * scripts/check-localplt.awk: New file.
43184         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43185         of diff.
43186         * scripts/data/localplt-generic.data: Add a comment.
43188         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43189         NODE when __dir_mkfile failed.
43190         * sysdeps/mach/hurd/symlinkat.c: Likewise.
43191         Reported by Ludovic Courtès <ludo@gnu.org>.
43193 2012-04-24  Andreas Jaeger  <aj@suse.de>
43195         * Makerules (common-clean): Also remove gen-as-const-headers
43196         files.
43198 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43200         * Makerules (native-compile): Do not change working directory for
43201         build.  Use $(OUTPUT_OPTION) in command.
43202         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43204 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43206         [BZ #13886]
43207         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43208         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43209         * math/libm-test.inc (floor_test): Add more tests.
43210         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43212 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
43214         * sysdeps/unix/getdents.c: Remove file.
43215         * sysdeps/unix/sysv/getdents.c: Likewise.
43216         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43218         * sysdeps/unix/syscalls.list (madvise): Add syscall from
43219         sysdeps/unix/mman/syscalls.list.
43220         (mmap): Likewise.
43221         (mprotect): Likewise.
43222         (msync): Likewise.
43223         (munmap): Likewise.
43224         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43225         * sysdeps/unix/mman/syscalls.list: Remove.
43226         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43228         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43229         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43230         * configure: Regenerated.
43231         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43232         $(libgcc_s_suffix).
43233         * config.make.in (libgcc_s_suffix): Remove variable.
43235 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
43237         * sysdeps/unix/sysv/gethostname.c: Move to ...
43238         * sysdeps/posix/gethostname.c: ... here.
43240         * sysdeps/unix/execve.S: Remove file.
43242         * sysdeps/unix/_exit.S: Remove file.
43244 2012-04-23  Andreas Jaeger  <aj@suse.de>
43246         [BZ #13739]
43247         * manual/Makefile: Remove make dist support, there's no
43248         need for a stand-alone documentation tar ball.
43249         (TEXI2DVI): Define always, it's not in Makeconfig.
43250         (dist): Removed.
43251         (tar-it): Removed.
43252         (edition): Removed.
43253         (glibc-doc-$(edition).tar): Removed
43254         (%.Z): Removed.
43255         (%.gz): Removed.
43256         (%.uu): Removed.
43257         (ETAGS): Remove, it's in Makeconfig.
43258         (move-if-change): Remove, it's in Makeconfig.
43260 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
43262         [BZ #13970]
43263         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43264         (strtod, strtof, strtold, strtol, strtoul, strtoq)
43265         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43266         (strtod_l, strtof_l, strtold_l): Remove __wur.
43267         It is not necessarily an error to ignore strtol's return value.
43268         One can reliably look at the stored endptr to decide whether
43269         the number had valid syntax.
43271 2012-04-21  Andreas Jaeger  <aj@suse.de>
43273         [BZ #13739]
43274         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43276 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
43278         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43279         * sysdeps/unix/sysv/Versions: Remove file.
43281 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43283         [BZ #13927]
43284         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43286 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43288         [BZ #7064]
43289         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43290         version from __vm86.
43292 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43294         * sysdeps/unix/common/lxstat.c: Remove file.
43295         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43297         * sysdeps/unix/sysv/Makefile: Remove file.
43299         * sysdeps/unix/sysv/direct.h: Remove file.
43301         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43302         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43303         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43304         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43305         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43306         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43307         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43309         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43311         * sysdeps/unix/xmknod.c: Remove file.
43312         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43314         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43316         * sysdeps/unix/sysv/i386/time.S: Remove file.
43318         * sysdeps/unix/fxstat.c: Remove file.
43319         * sysdeps/unix/xstat.c: Likewise.
43320         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43322         * sysdeps/unix/sysv/sigaction.c: Remove file.
43324         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43325         (sysdep_headers): Remove variable.
43326         [termio.h not in sysdep_headers] (generated): Likewise.
43327         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43328         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43329         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43330         * sysdeps/unix/sysv/tcflow.c: Likewise.
43331         * sysdeps/unix/sysv/tcflush.c: Likewise.
43332         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43333         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43334         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43335         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43336         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43338         * sysdeps/unix/siglist.c: Remove file.
43340         * sysdeps/unix/getppid.S: Remove file.
43342         * sysdeps/unix/mkdir.c: Remove file.
43343         * sysdeps/unix/rmdir.c: Likewise.
43345 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43347         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43348         ERR_MAX value.
43349         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43350         errlist-compat value.
43352 2012-04-18  David S. Miller  <davem@davemloft.net>
43354         * sysdeps/generic/memcopy.h (reg_char): Delete.
43355         * debug/strcat_chk.c: Use char, not reg_char.
43356         * debug/strcpy_chk.c: Likewise.
43357         * debug/strncat_chk.c: Likewise.
43358         * debug/strncpy_chk.c: Likewise.
43359         * string/memchr.c: Likewise.
43360         * string/memrchr.c: Likewise.
43361         * string/rawmemchr.c: Likewise.
43362         * string/strcat.c: Likewise.
43363         * string/strchr.c: Likewise.
43364         * string/strchrnul.c: Likewise.
43365         * string/strcmp.c: Likewise.
43366         * string/strcpy.c: Likewise.
43367         * string/strncat.c: Likewise.
43368         * string/strncmp.c: Likewise.
43369         * string/strncpy.c: Likewise.
43371 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43373         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43374         __builtin_memcopy is called when src and dest ranges are known to not
43375         overlap.
43377 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43379         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43380         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43381         fwd_align_merge macro call.
43382         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43383         bwd_align_merge macro call.
43384         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43386 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43388         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43389         bwd_align_merge macros.
43390         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43391         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43392         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43394 2012-04-18  David S. Miller  <davem@davemloft.net>
43396         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43398 2012-04-18  Andreas Jaeger  <aj@suse.de>
43400         [BZ# 6794]
43401         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43402         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43403         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43405         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43406         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43407         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43409         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43410         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43411         Adjust for changed ldbl-128 files.
43413         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43414         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43415         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43417 2012-04-17  David S. Miller  <davem@davemloft.net>
43419         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43421 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43423         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43424         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43425         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43426         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43427         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43428         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43430 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43432         [BZ #6794]
43433         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43434         * math/libm-test.inc: Add ilogb errno and exception tests.
43435         * math/w_ilogb.c: New file: ilogb wrapper.
43436         * math/w_ilogbf.c: New file: ilogbf wrapper.
43437         * math/w_ilogbl.c: New file: ilogbl wrapper.
43438         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43439         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43440         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43441         exception being thrown with 0.0 as argument.
43442         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43443         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43444         exception being thrown with 0.0 as argument.
43445         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43446         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43447         exception being thrown with 0.0 as argument.
43448         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43449         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43450         exception being thrown with 0.0 as argument.
43451         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43452         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43453         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43454         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43455         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43456         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43457         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43458         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43459         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43461 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43463         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43464         with altivec.
43466 2012-04-16  Marek Polacek  <polacek@redhat.com>
43468         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43470 2012-04-16  Marek Polacek  <polacek@redhat.com>
43472         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43473         operands of fdivp instruction.
43475 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43477         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43478         * elf/tst-auditmod3b.c: Likewise.
43479         * elf/tst-auditmod4b.c: Likewise.
43480         * elf/tst-auditmod5b.c: Likewise.
43481         * elf/tst-auditmod6b.c: Likewise.
43482         * elf/tst-auditmod6c.c: Likewise.
43483         * elf/tst-auditmod7b.c: Likewise.
43484         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43485         * sysdeps/x86_64/preconfigure.in: Likewise.
43486         * sysdeps/x86_64/preconfigure: Regenerated.
43488 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43490         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43491         __ILP32__.
43493 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43495         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43496         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43498 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43500         [BZ #13973]
43501         * locale/iso-639.def: Fix gl language name. Spotted by
43502         Yaron Shahrabani.
43504 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43506         [BZ #2074]
43507         * libio/libio.h (__io_write_fn): Update comment.
43509 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43511         [BZ #2074]
43512         * stdio.texi (Hook Functions): The user provided writer function
43513         is not allowed to return -1.
43515 2012-04-11  David S. Miller  <davem@davemloft.net>
43517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43519 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43521         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43522         Add a leading slash to rtkaio.
43524 2012-04-11  Jim Meyering  <meyering@redhat.com>
43526         [BZ #11959]
43527         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43528         It is not necessarily an error to ignore fwrite's return
43529         value.  One can reliably use ferror to test for errors after
43530         the fact.
43532 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43534         * bits/types.h (__snseconds_t): New type.
43535         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43537         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43538         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43539         (__SNSECONDS_T_TYPE): Likewise.
43540         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43541         (__SNSECONDS_T_TYPE): Likewise.
43542         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43543         (__SNSECONDS_T_TYPE): Likewise.
43545 2012-04-10  Andreas Jaeger  <aj@suse.de>
43547         [BZ #2636]
43548         * manual/time.texi (Processor Time): Return type of times is
43549         elapsed real time since an arbitrary point in the past.
43550         (CPU Time): Move CLK_TCK from here...
43551         (Processor Time): ...to here.  Correct description.
43552         * manual/conf.texi (Constants for Sysconf): Correct description of
43553         _SC_CLK_TCK.
43555 2012-04-10  David S. Miller  <davem@davemloft.net>
43557         [BZ #13967]
43558         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43559         where the is a gap between DT_REL(A) and DT_JMPREL.
43561 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43563         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43564         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43565         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43567 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43569         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43570         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43571         (dl_main): Handle --inhibit-cache.
43572         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43573         _dl_inhibit_cache.
43574         * elf/dl-load.c (_dl_map_object): Use it.
43575         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43577 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43579         [BZ #13872]
43580         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43581         (__ieee754_powl): Saturate large exponents rather than testing for
43582         overflow of y*log2(x).
43583         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43584         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43585         exceptions.
43587         [BZ #11521]
43588         * math/s_ctan.c: Include <float.h>.
43589         (__ctan): Avoid internal overflow or cancellation in calculating
43590         denominator.
43591         * math/s_ctanf.c: Likewise.
43592         * math/s_ctanl.c: Likewise.
43593         * math/s_ctanh.c: Likewise.
43594         * math/s_ctanhf.c: Likewise.
43595         * math/s_ctanhl.c: Likewise.
43596         * math/libm-test.inc (ctan_test): Add more tests.
43597         (ctanh_test): Likewise.
43598         * sysdeps/i386/fpu/libm-test-ulps: Update.
43599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43601 2012-04-09  Andreas Jaeger  <aj@suse.de>
43603         [BZ #6894]
43604         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43605         is an optional BSD extension.
43607         [BZ #10254]
43608         * manual/stdio.texi (Opening Streams): Document additional fopen
43609         parameters.
43611 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43613         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43614         %eax without telling the compiler.
43616 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43618         [BZ # 13963]
43619         * manual/install.texi: Use sourceware.org.
43621 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43623         [BZ #13873]
43624         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43625         (__ieee754_pow): Generate overflow and underflow using huge*huge
43626         and tiny*tiny rather than just returning constant infinity or zero
43627         for large exponents.
43628         * math/libm-test.inc (pow_test): Require overflow exceptions for
43629         applicable cases of large exponents.
43631         [BZ #706]
43632         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43633         (__ieee754_pow): Use iterative multiplication algorithm only for
43634         integer exponents with absolute value below 1024.  Check for odd
43635         integer exponents when using algorithm for real exponents.
43636         * math/libm-test.inc (pow_test): Add more tests.
43637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43639 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43641         [BZ #13705]
43642         * math/libm-test.inc (exp_test): Do not allow overflow exception
43643         on underflow test.
43645 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43647         [BZ #13705]
43648         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43649         instead of __kernel_standard_f.
43651 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43653         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43654         * sysdeps/x86_64/memset_chk.S: Likewise.
43656 2012-04-08  Andreas Jaeger  <aj@suse.de>
43658         [BZ #10153]
43659         * manual/startup.texi (Environment Access): Describe return value
43660         for putenv and setenv.
43662         [BZ #6895]
43663         * manual/filesys.texi (Directory Entries): Add description for
43664         DT_LNK.
43666         [BZ #6890]
43667         * manual/filesys.texi (Directory Entries): Clarify that it's file
43668         system not operating system in the description of DT_UNKNOWN.
43670         [BZ #6578]
43671         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43673 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43675         [BZ #6649]
43676         * manual/llio.texi (Opening and Closing Files): Add cross
43677         reference to explain mode argument.
43679 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43681         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43682         * sysdeps/x86_64/memset_chk.S: Likewise.
43684 2012-04-07  David S. Miller  <davem@davemloft.net>
43686         * elf/elf.h (R_SPARC_WDISP10): Define.
43687         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43688         R_SPARC_SIZE32.
43689         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43690         R_SPARC_SIZE64 and R_SPARC_H34.
43692 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43694         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43695         conditions and remove no longer applicable assertion.
43697 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43699         * bits/byteswap.h: Include <features.h>.
43700         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43701         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43703 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43705         * bits/byteswap.h (__bswap_16): Removed.
43706         Include <bits/byteswap-16.h> to get __bswap_16.
43707         * sysdeps/i386/bits/byteswap.h: Likewise.
43708         * sysdeps/s390/bits/byteswap.h: Likewise.
43709         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43710         * bits/byteswap-16.h: New file.
43711         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43712         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43713         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43714         * string/Makefile (headers): Add bits/byteswap-16.h.
43716 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43718         [BZ #13895]
43719         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43720         extra indirection.
43721         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43722         * nss/tst-nss-static.c: New.
43724 2012-04-06  Robert Millan  <rmh@gnu.org>
43726         [BZ #6486]
43727         * manual/llio.texi (File Position Primitive): lseek
43728         refers to WHENCE when it really means OFFSET.
43730 2012-04-06  Andreas Jaeger  <aj@suse.de>
43732         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43733         strncmp declarations.
43735         * abilist/libc.abilist: Add __poll and __ppoll.
43737 2012-04-05  David S. Miller  <davem@davemloft.net>
43739         * scripts/check-local-headers.sh: Accept a host triplet in the
43740         path matched by the exclude regexp.
43742         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43743         definition.
43744         * sysdeps/powerpc/powerpc32/dl-machine.h
43745         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43746         * sysdeps/s390/s390-32/dl-machine.h
43747         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43748         * sysdeps/sparc/sparc32/dl-machine.h
43749         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43750         * sysdeps/sparc/sparc64/dl-machine.h
43751         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43753         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43754         lazy binding.
43755         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43756         undefined symbol errors.
43758         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43759         DT_NEEDED entries.
43761 2012-04-05  Michael Matz  <matz@suse.de>
43763         [BZ #13592]
43764         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43766 2012-04-05  Andreas Jaeger  <aj@suse.de>
43768         [BZ #13908]
43769         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43770         comment.
43772 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43774         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43775         which ROUND is no valid rounding mode.
43777 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43779         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43780         read again.
43781         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43783 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43785         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43786         an exception using FPU order intentionally.
43788 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43790         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43791         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43792         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43793         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43795 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43797         [BZ #12340]
43798         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43799         EINVAL when BUFLEN is too smal.
43801 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43803         [BZ #13553]
43804         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43805         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43807 2012-04-03  Andreas Jaeger  <aj@suse.de>
43809         [BZ #13938]
43810         * manual/setjmp.texi (System V contexts): Fix sentence.
43812         [BZ #13926]
43813         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43814         New macro for this case.
43815         [!__GNUC__] (__bswap_64): New inline function for this case.
43816         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43817         * bits/byteswap.h: Likewise.
43818         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43819         ull, guard with __GLIBC_HAVE_LONG_LONG.
43821         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43822         __GLIBC_HAVE_LONG_LONG.
43824         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43825         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43827 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43829         [BZ #13691]
43830         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43831         inptr and inend, rather than using last_ch.
43833 2012-04-02  David S. Miller  <davem@davemloft.net>
43835         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43836         * stdio-common/printf-parse.h (read_int): Change return type to
43837         'int', return -1 on INT_MAX overflow.
43838         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43839         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43840         overflows INT_MAX.  Check for overflow of in-format-string precision
43841         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43842         SIZE_MAX not INT_MAX for integer overflow test.
43843         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43844         skip the construct in the format string but do not record anything.
43845         * stdio-common/bug22.c: Adjust to test both width/prevision
43846         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43847         explicitly for proper errno values.
43849 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43851         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43852         CHAR_MAX.
43853         * string/test-strcmp.c [! WIDE]: Likewise.
43854         * time/tst-mktime2.c: Likewise for INT_MAX.
43855         * string/test-string.h: #include <sys/param.h> for MIN.
43857         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43858         * sysdeps/i386/init-first.c (init): Likewise.
43859         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43860         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43861         * sysdeps/sh/init-first.c (init): Likewise.
43863 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43865         * po/ru.po: Update from translation team.
43866         * po/vi.po: Likewise.
43868 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43870         * resolv/nss_dns/dns-host.c: Merge copyright years.
43872 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43874         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43875         Optimize memcpy with prefetch if
43876         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43877         src, dst pointers have unequal 16 byte alignments.
43879 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43881         [BZ #13928]
43882         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43883         from a CNAME entry and return the minimum ttl for the query.
43884         (gaih_getanswer_slice): Likewise.
43886 2012-03-30  Jeff Law  <law@redhat.com>
43888         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43889         due to long keys.
43890         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43891         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43893         * resolv/nss_dns/dns-host.c: Update copyright year.
43895 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43897         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43898         requests to save a system call.  Fix check that all bytes are sent.
43900         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43901         comments for sendmmsg.
43903 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43905         [BZ #13691]
43906         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43907         with only 1 character between 0x0041 and 0x01b0.
43908         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43909         * wcsmbs/tst-mbsnrtowcs.c: New file.
43911 2012-03-29  David S. Miller  <davem@davemloft.net>
43913         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43914         small copies by hand.
43916 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43918         [BZ #13761]
43919         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43920         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43921         group memberships.
43923 2012-03-28  David S. Miller  <davem@davemloft.net>
43925         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43926         that branches into memcpy.
43927         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43928         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43930         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43932         bits.
43933         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43934         implementation too.
43935         * sysdeps/sparc/mempcpy.S: New file.
43937         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43938         the IFUNC routine in the libc case.
43939         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43941         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43942         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43943         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43944         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43945         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43946         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43947         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43948         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43950         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43951         loop to 256 bytes instead of 64 bytes and fix test signedness.
43953         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43954         * sysdeps/sparc/sparc32/Makefile: rather than here...
43955         * sysdeps/sparc/sparc64/Makefile: and here.
43957 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43959         * malloc/mallocbug.c: Avoid warnings about unused variables.
43961 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43963         [BZ #13760]
43964         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43965         in the right place. Discard and retry query if response is
43966         larger than input buffer size.
43968 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43970         [BZ #369]
43971         [BZ #2678]
43972         [BZ #3866]
43973         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43974         x for large integer exponent.
43975         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43976         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43977         sign of result as needed afterwards.
43978         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43979         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43980         result for underflowing pow the same as for overflow.
43981         (__kernel_standard_l): Handle powl overflow and underflow here
43982         rather than calling __kernel_standard.
43983         * math/libm-test.inc (pow_test): Add more tests.
43985         [BZ #3868]
43986         [BZ #13879]
43987         [BZ #13910]
43988         [BZ #13911]
43989         [BZ #13912]
43990         [BZ #13913]
43991         [BZ #13915]
43992         [BZ #13916]
43993         [BZ #13917]
43994         [BZ #13918]
43995         [BZ #13919]
43996         [BZ #13920]
43997         [BZ #13921]
43998         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43999         * sysdeps/ieee754/k_standard.c: Include <float.h>.
44000         (__kernel_standard_l): New function.
44001         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44002         __kernel_standard.
44003         * math/w_acosl.c (__acosl): Likewise.
44004         * math/w_asinl.c (__asinl): Likewise.
44005         * math/w_atan2l.c (__atan2l): Likewise.
44006         * math/w_atanhl.c (__atanhl): Likewise.
44007         * math/w_coshl.c (__coshl): Likewise.
44008         * math/w_exp10l.c (__exp10l): Likewise.
44009         * math/w_exp2l.c (__exp2l): Likewise.
44010         * math/w_fmodl.c (__fmodl): Likewise.
44011         * math/w_hypotl.c (__hypotl): Likewise.
44012         * math/w_j0l.c (__j0l, __y0l): Likewise.
44013         * math/w_j1l.c (__j1l, __y1l): Likewise.
44014         * math/w_jnl.c (__jnl, __ynl): Likewise.
44015         * math/w_lgammal.c (__lgammal): Likewise.
44016         * math/w_log10l.c (__log10l): Likewise.
44017         * math/w_log2l.c (__log2l): Likewise.
44018         * math/w_logl.c (__logl): Likewise.
44019         * math/w_powl.c (__powl): Likewise.
44020         * math/w_remainderl.c (__remainderl): Likewise.
44021         * math/w_scalbl.c (sysv_scalbl): Likewise.
44022         * math/w_sinhl.c (__sinhl): Likewise.
44023         * math/w_sqrtl.c (__sqrtl): Likewise.
44024         * math/w_tgammal.c (__tgammal): Likewise.
44025         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44026         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44027         * math/libm-test.inc (acos_test): Add more tests.
44028         (acosh_test): Likewise.
44029         (asin_test): Likewise.
44030         (atanh_test): Likewise.
44031         (exp_test): Likewise.
44032         (exp10_test): Likewise.
44033         (exp2_test): Likewise.
44034         (expm1_test): Likewise.
44035         (lgamma_test): Likewise.
44036         (log_test): Likewise.
44037         (log10_test): Likewise.
44038         (log1p_test): Likewise.
44039         (log2_test): Likewise.
44040         (pow_test): Do not allow some spurious overflow exceptions.
44041         (sqrt_test): Add more tests.
44042         (tgamma_test): Likewise.
44043         (y0_test): Likewise.
44044         (y1_test): Likewise.
44045         (yn_test): Likewise.
44047 2012-03-27  Anton Blanchard  <anton@samba.org>
44049         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44050         MAP_HUGETLB.
44051         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44052         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44053         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44055 2012-03-27  David S. Miller  <davem@davemloft.net>
44057         * conform/Makefile: Run run-conformtest.sh using $(BASH).
44059         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44060         have-as-vis3 check.
44062 2012-03-27  Andreas Jaeger  <aj@suse.de>
44064         * sysdeps/x86_64/elf/configure.in: Moved to ...
44065         * sysdeps/x86_64/configure.in: ... here.
44066         * sysdeps/x86_64/elf/start.S: Moved to ...
44067         * sysdeps/x86_64/start.S: ... here.
44068         * sysdeps/x86_64/elf/configure: Delete.
44070         * sysdeps/x86_64/configure.in: Merge contents from
44071         sysdeps/i386/configure.in (without i686 check).
44073         * sysdeps/i386/elf/Versions: Merge into ...
44074         * sysdeps/i386/Versions: ... this.
44075         * sysdeps/i386/elf/Versions: Delete file.
44076         * sysdeps/i386/elf/start.S: Moved to ...
44077         * sysdeps/i386/start.S: ...here.
44078         * sysdeps/i386/elf/configure.in: Merge into...
44079         * sysdeps/i386/configure.in: ...here.
44080         * sysdeps/i386/elf/configure.in: Delete file.
44081         * sysdeps/i386/elf/configure: Delete file.
44083         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44084         * debug/backtracesyms.c: ... here.
44085         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44086         * debug/backtracesymsfd.c: ... here.
44087         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44088         * sysdeps/generic/ifunc-sel.h: ... here.
44090         * sysdeps/unix/i386/start.c: Delete file.
44091         * sysdeps/unix/sparc/start.c: Delete file.
44092         * sysdeps/unix/start.c: Delete file.
44094         * sysdeps/sh/elf/configure.in: Moved to ...
44095         * sysdeps/sh/configure.in: ... here.
44096         * sysdeps/sh/elf/start.S: Moved to ...
44097         * sysdeps/sh/start.S: ... here.
44098         * sysdeps/sh/elf/configure: Delete file.
44100         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44101         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44102         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44103         * sysdeps/powerpc/powerpc64/entry.h: ... here.
44104         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44105         * sysdeps/powerpc/powerpc64/start.S: here.
44106         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44107         * sysdeps/powerpc/powerpc64/Makefile: ... this.
44108         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44109         * sysdeps/powerpc/powerpc64/configure.in: ... this.
44110         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44112         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44113         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44114         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44115         * sysdeps/powerpc/powerpc32/start.S: ... here.
44116         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44117         * sysdeps/powerpc/powerpc32/configure.in: ... this.
44118         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44120         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44121         * sysdeps/powerpc/ifunc-sel.h: ... here.
44122         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44123         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44125         * sysdeps/sparc/elf/configure.in: Moved to ...
44126         * sysdeps/sparc/configure.in: ... here.
44127         * sysdeps/sparc/elf/configure: Delete file.
44128         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44129         * sysdeps/sparc/sparc32/start.S: ... here.
44130         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44131         * sysdeps/sparc/sparc64/start.S: ... here.
44132         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44133         * sysdeps/sparc/sparc32/Makefile: ... this.
44134         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44135         * sysdeps/sparc/sparc64/Makefile: ... this.
44137         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44138         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44139         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44140         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44141         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44142         * sysdeps/s390/s390-32/setjmp.S: ... here.
44143         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44144         * sysdeps/s390/s390-32/configure.in: ... here.
44145         * sysdeps/s390/s390-32/elf/configure: Delete file.
44146         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44147         * sysdeps/s390/s390-32/start.S: ... here.
44149         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44150         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44151         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44152         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44153         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44154         * sysdeps/s390/s390-64/setjmp.S: ... here.
44155         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44156         * sysdeps/s390/s390-64/configure.in: ... here
44157         * sysdeps/s390/s390-64/elf/configure: Delete file.
44158         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44159         * sysdeps/s390/s390-64/start.S: ... here.
44160         * sysdeps/s390/s390-64/elf/configure: Delete.
44162         * configure.in: Remove support for elf directories in sysdeps.
44164         * configure: Regenerated.
44165         * sysdeps/i386/configure: Regenerated.
44166         * sysdeps/powerpc/powerpc32/configure: Regenerated.
44167         * sysdeps/powerpc/powerpc64/configure: Regenerated.
44168         * sysdeps/s390/s390-32/configure: Regenerated.
44169         * sysdeps/s390/s390-64/configure: Regenerated.
44170         * sysdeps/sh/configure: Regenerated.
44171         * sysdeps/sparc/configure: Regenerated.
44172         * sysdeps/x86_64/configure: Regenerated.
44174 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
44176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44178         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44179         denormal result into account.
44181 2012-03-25  Roland McGrath  <roland@hack.frob.com>
44183         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44184         Reported by Allan McRae <allan@archlinux.org>.
44186 2012-03-23  Jeff Law  <law@redhat.com>
44188         * nss/getnssent.c (__nss_getent): Fix typo.
44190 2012-03-23  David S. Miller  <davem@davemloft.net>
44192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44194 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
44196         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44197         to pad to uint64_t for each field.
44198         (dl_tls_index): Replace unsigned long with uint64_t.
44200 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
44201         Paul Pluzhnikov  <ppluzhnikov@google.com>
44203         [BZ #6528]
44204         * grp/Makefile (otherlibs): Don't set it.
44205         * inet/Makefile (otherlibs): Likewise.
44206         * login/Makefile (otherlibs): Likewise.
44207         * nscd/Makefile (otherlibs): Likewise.
44208         * posix/Makefile (otherlibs): Likewise.
44209         * pwd/Makefile (otherlibs): Likewise.
44210         * rt/Makefile (otherlibs): Likewise.
44211         * sunrpc/Makefile (otherlibs): Likewise.
44212         * nss/Makefile (otherlibs): Likewise.
44213         Add libnss_files to routines and static-only-routines.
44214         ($(objpfx)getent): Remove rule.
44215         * resolv/Makefile: Add libnss_dns and libresolv to routines and
44216         static-only-routines.
44218 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44220         [BZ #13892]
44221         * math/s_cexp.c: Include <float.h>.
44222         (__cexp): Handle exp result overflowing not necessarily
44223         overflowing both real and imaginary parts of result.
44224         * math/s_cexpf.c: Likewise.
44225         * math/s_cexpl.c: Likewise.
44226         * math/libm-test.inc (cexp_test): Add more tests.
44227         * sysdeps/i386/fpu/libm-test-ulps: Update.
44228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44230 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44232         * include/link.h (ELFW): New macro.
44233         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44234         Replace ELF64_R_TYPE with ELFW(R_TYPE).
44236 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44238         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44239         with uint64_t.
44241 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44243         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44244         declaration.
44245         (struct La_x32_retval): Likewise.
44247 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
44249         * sysdeps/x86_64/preconfigure.in: New file.
44250         * sysdeps/x86_64/preconfigure: New generated file.
44252 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
44254         [BZ #13824]
44255         * math/e_exp2l.c: Include <float.h>.
44256         (__ieee754_exp2l): Handle overflow and underflow cases
44257         separately.  Only pass fractional part of argument to
44258         __ieee754_expl.
44259         * math/libm-test.inc (exp2_test): Add more tests.
44261         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44262         negating x to take absolute value.
44263         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44264         Likewise.
44265         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44266         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44267         Likewise.
44268         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44269         computing low part if x was negated.
44270         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44272 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44274         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44275         la_x32_gnu_pltexit.
44276         (pltexit): Cast int_retval to ptrdiff_t.
44277         * elf/tst-auditmod3b.c: Likewise.
44278         * elf/tst-auditmod4b.c: Likewise.
44279         * elf/tst-auditmod5b.c: Likewise.
44280         * elf/tst-auditmod6b.c: Likewise.
44281         * elf/tst-auditmod6c.c: Likewise.
44282         * elf/tst-auditmod7b.c: Likewise.
44284         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44285         and x32_gnu_pltexit.
44287         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44288         __ELF_NATIVE_CLASS.
44289         (La_x32_regs): New macro.
44290         (La_x32_retval): Likewise.
44291         (la_x32_gnu_pltenter): New function prototype.
44292         (la_x32_gnu_pltexit): Likewise.
44294 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44296         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44297         exponent.
44299         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44301         * configure.in (libc_cv_cc_nofma): Check for option to disable
44302         generation of FMA instructions.
44303         * configure: Regenerate.
44304         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44305         * sysdeps/ieee754/dbl-64/Makefile: New file.
44306         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44307         Remove brandred-fma4.
44308         (CFLAGS-brandred-fma4.c): Remove.
44309         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44310         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44311         define.
44312         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44313         define.
44315 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44317         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44318         LLONG_MAX != LONG_MAX.
44319         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44320         (_fitoa_word): Likewise.
44321         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44322         LLONG_MAX != LONG_MAX.
44323         * stdio-common/_itowa.h: Include <_itoa.h>.
44324         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44325         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44326         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44327         only if not defined.
44328         (_ITOA_WORD_TYPE): Likewise.
44329         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44330         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44332 2012-03-21  David S. Miller  <davem@davemloft.net>
44334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44336 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44338         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44339         of x86_64 when setting libc_cv_slibdir, libdir and
44340         libc_cv_localedir.
44341         * sysdeps/unix/sysv/linux/configure: Regenerated.
44343 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44345         * manual/lang.texi (Old Varargs): Remove section.
44346         (How Variadic): Update menu.
44347         (va_start): Do not mention varargs.h.
44349 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44350             Joseph Myers  <joseph@codesourcery.com>
44352         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44353         link test.
44354         * configure: Regenerated.
44356 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44358         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44359         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44360         conformtest.pl
44362 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44364         * NOTES: Remove.
44365         * Makefile (files-for-dist): Remove NOTES.
44366         (NOTES): Remove rule.
44367         * README: Don't refer to NOTES.
44368         * manual/creature.texi: Don't include macros.texi.
44369         * manual/intro.texi (creature.texi): Remove comment referring to
44370         NOTES.
44372         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44373         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44374         * configure: Regenerated.
44375         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44376         LIBC_TRY_CC_OPTION.
44377         (libc_cv_as_i686): Likewise.
44378         (libc_cv_cc_avx): Likewise.
44379         (libc_cv_cc_sse2avx): Likewise.
44380         (libc_cv_cc_fma4): Likewise.
44381         (libc_cv_cc_novzeroupper): Likewise.
44382         * sysdeps/i386/configure: Regenerated.
44384         [BZ #13883]
44385         * sysdeps/i386/fpu/s_cexp.S: Remove.
44386         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44387         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44388         * math/libm-test.inc (cexp_test): Add more tests.
44389         * sysdeps/i386/fpu/libm-test-ulps: Update.
44390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44392 2012-03-21  Allan McRae  <allan@archlinux.org>
44394         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44396 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44398         [BZ #13871]
44399         * math/w_exp2.c: Do not include <float.h>.
44400         (o_threshold, u_threshold): Remove.
44401         (__exp2): Calculate result before checking finiteness and calling
44402         __kernel_standard.
44403         * math/w_exp2f.c: Likewise.
44404         * math/w_exp2l.c: Likewise.
44405         * math/libm-test.inc (exp2_test): Require overflow exception for
44406         1e6 input.
44408         [BZ #3866]
44409         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44410         range of signed 64-bit integers before using fistpll.  Remove
44411         checks for whether integers fit in mantissa bits.
44412         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44413         the range of signed 32-bit integers before using fistpl.  Remove
44414         checks for whether integers fit in mantissa bits.
44415         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44416         (__ieee754_powl): Test for y outside the range of signed 64-bit
44417         integers before using fistpll.  Reduce 64-bit values to 63-bit
44418         ones as needed.
44419         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44420         divide-by-zero is raised for zero to large negative powers.
44421         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44422         (__ieee754_powl): Test for y outside the range of signed 64-bit
44423         integers before using fistpll.  Reduce 64-bit values to 63-bit
44424         ones as needed.
44425         * math/libm-test.inc (pow_test): Add more tests.
44427 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44429         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44430         <stdio-common/_itoa.h>.
44431         * debug/segfault.c: Likewise.
44432         * elf/dl-cache.c: Likewise.
44433         * elf/dl-minimal.c: Likewise.
44434         * elf/dl-misc.c: Likewise.
44435         * elf/dl-sysdep.c: Likewise.
44436         * elf/dl-version.c: Likewise.
44437         * elf/rtld.c: Likewise.
44438         * hurd/hurdsock.c: Likewise.
44439         * hurd/lookup-retry.c: Likewise.
44440         * malloc/malloc.c: Likewise.
44441         * malloc/mtrace.c: Likewise.
44442         * nscd/nscd_getgr_r.c: Likewise.
44443         * nscd/nscd_getpw_r.c: Likewise.
44444         * nscd/nscd_getserv_r.c: Likewise.
44445         * posix/getopt_init.c: Likewise.
44446         * posix/wordexp.c: Likewise.
44447         * stdio-common/_itoa.c: Likewise.
44448         * stdio-common/printf_fphex.c: Likewise.
44449         * stdio-common/vfprintf.c: Likewise.
44450         * string/_strerror.c: Likewise.
44451         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44452         * sysdeps/i386/i686/hp-timing.h: Likewise.
44453         * sysdeps/mach/_strerror.c: Likewise.
44454         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44455         * sysdeps/mach/hurd/sethostid.c: Likewise.
44456         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44457         * sysdeps/mach/xpg-strerror.c: Likewise.
44458         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44459         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44460         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44461         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44462         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44463         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44464         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44465         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44466         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44467         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44468         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44469         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44470         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44471         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44472         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44473         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44474         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44475         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44476         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44477         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44478         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44480         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44482         * stdio-common/_itoa.h: Moved to ...
44483         * sysdeps/generic/_itoa.h: Here.
44485         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44487         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44488         instead of "_itoa.h" and "_itowa.h".
44489         * stdio-common/vfprintf.: Likewise.
44491 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44493         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44494         <bits/wordsize.h>.
44495         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44496         (__signbit): Likwise.
44497         (llrintf): Likwise.
44498         (llrint): Likwise.
44500 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44502         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44503         __WORDSIZE != 64.
44505 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44507         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44508         OVERFLOW_EXCEPTION_OK.
44509         * math/libm-test.inc ("Philosophy"): Update comment about
44510         exception testing.
44511         (OVERFLOW_EXCEPTION): Define.
44512         (OVERFLOW_EXCEPTION_OK): Likewise.
44513         (INVALID_EXCEPTION_OK): Renumber.
44514         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44515         (IGNORE_ZERO_INF_SIGN): Likewise.
44516         (test_exceptions): Handle FE_OVERFLOW.
44517         (exp10_test): Expect overflow exceptions.
44518         (exp2_test): Likewise.
44519         (expm1_test): Likewise.
44520         (nextafter_test): Likewise.
44521         (pow_test): Likewise.
44522         (scalbn_test): Likewise.
44523         (scalbln_test): Likewise.
44525 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44527         * sysdeps/x86_64/bits/atomic.h
44528         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44529         64bit integer.
44530         (atomic_exchange_acq): Likewise.
44531         (__arch_exchange_and_add_body): Likewise.
44532         (__arch_add_body): Likewise.
44533         (atomic_add_negative): Likewise.
44534         (atomic_add_zero): Likewise.
44536 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44538         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44539         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44541 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44543         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44544         Check __x86_64__ instead of __WORDSIZE.
44546 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44548         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44550 2012-03-19  David S. Miller  <davem@davemloft.net>
44552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44554         * sysdeps/sparc/fpu/fenv_private.h: New file.
44555         * sysdeps/sparc/fpu/math_private.h: Use it.
44556         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44557         Remove.
44558         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44559         (libc_feholdexcept_setroundl): Remove.
44560         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44561         Remove.
44562         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44563         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44565 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44567         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44568         int64_t instead of long int.
44569         (INSERT_WORDS64): Likwise.
44571 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44573         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44574         _Unwind_GetCFA return to _Unwind_Ptr first.
44576 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44578         [BZ #13629]
44579         * math/s_clog.c: Include <float.h>.
44580         (__clog): Scale large or subnormal inputs.
44581         * math/s_clogf.c: Likewise.
44582         * math/s_clogl.c: Likewise.
44583         * math/s_clog10.c: Include <float.h>.
44584         (M_LOG10_2): Define.
44585         (__clog10): Scale large or subnormal inputs.
44586         * math/s_clog10f.c: Likewise.
44587         * math/s_clog10l.c: Likewise.
44588         * math/libm-test.inc (clog_test): Add more tests.
44589         (clog10_test): Likewise.
44590         * sysdeps/i386/fpu/libm-test-ulps: Update.
44591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44593         [BZ #11451]
44594         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44595         x and y.
44596         * math/libm-test.inc (atan2_test): Add another test.
44598         * Makerules (common-objdir-compile): Remove.
44599         * sysdeps/unix/Makefile (config-generated): Do not add
44600         $(unix-generated) to variable.
44601         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44602         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44603         Remove rule.
44604         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44605         Likewise.
44606         [generic bits/local_lim.h] (before-compile): Do not append to
44607         variable.
44608         [generic bits/local_lim.h] (common-generated): Likewise.
44609         [generic sys/param.h] (before-compile): Do not append to variable.
44610         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44611         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44612         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44613         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44614         include.
44615         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44616         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44617         [generic sys/param.h] ($(addprefix
44618         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44619         [generic sys/param.h] (common-generated): Do not append to
44620         variable.
44621         [generic sys/param.h] (sysdep_headers): Likewise.
44622         [generic bits/errno.h] (before-compile): Do not append to
44623         variable.
44624         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44625         rule.
44626         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44627         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44628         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44629         [generic bits/errno.h] (common-generated): Do not append to
44630         variable.
44631         [generic bits/ioctls.h] (before-compile): Do not append to
44632         variable.
44633         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44634         rule.
44635         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44636         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44637         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44638         rule.
44639         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44640         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44641         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44642         [generic bits/ioctls.h] (common-generated): Do not append to
44643         variable.
44644         [generic sys/syscall.h] (syscall.h): Remove variable.
44645         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44646         rule.
44647         [generic sys/syscall.h] (before-compile): Do not append to
44648         variable.
44649         [generic sys/syscall.h] (common-generated): Likewise.
44650         * sysdeps/unix/errnos-tmpl.c: Remove file.
44651         * sysdeps/unix/errnos.awk: Likewise.
44652         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44653         * sysdeps/unix/ioctls.awk: Likewise.
44654         * sysdeps/unix/mk-local_lim.c: Likewise.
44655         * sysdeps/unix/snarf-ioctls: Likewise.
44657 2012-03-19  Richard Henderson  <rth@twiddle.net>
44659         * sysdeps/i386/fpu/fenv_private.h: New file.
44660         * sysdeps/i386/fpu/math_private.h: Use it.
44661         (math_opt_barrier, math_force_eval): Remove.
44662         (libc_feholdexcept_setround_53bit): Remove.
44663         (libc_feupdateenv_53bit): Remove.
44664         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44665         (math_opt_barrier, math_force_eval): Remove.
44666         (libc_feholdexcept): Remove.
44667         (libc_feholdexcept_setround): Remove.
44668         (libc_fetestexcept, libc_fesetenv): Remove.
44669         (libc_feupdateenv_test): Remove.
44670         (libc_feupdateenv, libc_feholdsetround): Remove.
44671         (libc_feresetround): Remove.
44673         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44674         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44676         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44677         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44678         (libc_feupdateenv_testl): New.
44679         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44680         (libc_feupdateenv_testf): New.
44681         (libc_feupdateenv): Use libc_feupdateenv_test.
44682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44683         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44685         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44686         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44687         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44688         (libc_feresetround_noex): New.
44689         (libc_feresetround_noexf): New.
44690         (libc_feresetround_noexl): New.
44691         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44692         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44693         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44694         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44695         SET_RESTORE_ROUND.
44696         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44698         (__cos): Likewise.
44699         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44700         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44701         SET_RESTORE_ROUND_NOEX.
44702         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44703         SET_RESTORE_ROUND_NOEXF.
44704         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44705         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44706         (libc_feholdsetroundf): New.
44707         (libc_feresetround, libc_feresetroundf): New.
44709         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44710         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44711         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44713         * sysdeps/generic/math_private.h: Include <fenv.h>.
44714         (default_libc_feholdexcept): New.
44715         (default_libc_feholdexcept_setround): New.
44716         (default_libc_fesetenv, default_libc_feupdateenv): New.
44717         (libc_feholdexcept): Only define if undefined.
44718         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44719         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44720         (libc_feholdexcept_setroundl): Likewise.
44721         (libc_feholdexcept_setround_53bit): Likewise.
44722         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44723         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44724         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44725         (libc_feupdateenv_53bit): Likewise.
44726         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44727         (libc_feholdexcept): Convert from macro to inline function.
44728         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44729         (libc_fesetenv, libc_feupdateenv): Likewise.
44731         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44732         not previously defined.
44733         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44734         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44735         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44736         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44737         * sysdeps/ieee754/flt-32/math_private.h: New file.
44738         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44739         math_private.h below SET_FLOAT_WORD.
44740         (__isnan, __isinf_ns, __finite): Remove.
44741         (__isnanf, __isinf_nsf, __finitef): Remove.
44743 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44747 2012-03-17  David S. Miller  <davem@davemloft.net>
44749         [BZ #6471]
44750         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44751         for 2.16.
44753 2012-03-16  David S. Miller  <davem@davemloft.net>
44755         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44756         warnings.
44758         [BZ #6471]
44759         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44760         properly.
44761         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44762         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44763         sysdep_routines when subdir is sysvipc.
44764         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44765         __getshmlba helper.
44767         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44769 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44771         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44772         [__LP64__].
44774 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44776         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44777         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44778         (__lround): Renamed to ...
44779         (__llround): This.  Replace long int with long long int.
44780         Define lround functions as aliases of llround functions.
44781         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44783 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44785         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44786         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44787         adresses to uintptr_t.  Replace "long int" and "unsigned long
44788         int" with "greg_t" on va_arg.
44790 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44792         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44793         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44795         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44796         Move e_machine check before EI_CLASS check.  Handle x32
44797         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44798         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44799         SKIP_EM_IA_64 and include
44800         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44802         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44803         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44804         (add_system_dir): New macro.
44806         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44807         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44809 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44811         [BZ #2551]
44812         [BZ #2552]
44813         [BZ #2553]
44814         [BZ #2554]
44815         [BZ #2562]
44816         [BZ #2563]
44817         [BZ #2565]
44818         [BZ #2566]
44819         [BZ #2576]
44820         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44821         (y0): Likewise.
44822         * math/w_j0f.c (j0f): Likewise.
44823         (y0f): Likewise.
44824         * math/w_j0l.c (__j0l): Likewise.
44825         (__y0l): Likewise.
44826         * math/w_j1.c (j1): Likewise.
44827         (y1): Likewise.
44828         * math/w_j1f.c (j1f): Likewise.
44829         (y1f): Likewise.
44830         * math/w_j1l.c (__j1l): Likewise.
44831         (__y1l): Likewise.
44832         * math/w_jn.c (jn): Likewise.
44833         (yn): Likewise.
44834         * math/w_jnf.c (jnf): Likewise.
44835         (ynf): Likewise.
44836         * math/w_jnl.c (__jnl): Likewise.
44837         (__ynl): Likewise.
44838         * math/libm-test.inc (j0_test): Add more tests.
44839         (j1_test): Likewise.
44840         (jn_test): Likewise.  Add trailing semicolon to existing test.
44841         (y0_test): Likewise.
44842         (y1_test): Likewise.
44843         * sysdeps/i386/fpu/libm-test-ulps: Update.
44844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44846         [BZ #13851]
44847         [BZ #13854]
44848         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44849         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44850         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44851         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44852         (__tanl): Set errno for infinite argument.
44853         * sysdeps/i386/fpu/mptan.c: Remove.
44854         * sysdeps/i386/fpu/s_tan.S: Likewise.
44855         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44856         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44857         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44858         * math/libm-test.inc (tan_test): Add more tests and enable more
44859         tests for double and long double.
44860         * sysdeps/i386/fpu/libm-test-ulps: Update.
44861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44863 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44865         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44866         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44868 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44870         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44871         * configure.in: Use it for both main tree and add-ons.
44872         * configure: Regenerated.
44874 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44876         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44878 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44880         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44881         in comment.
44883         [BZ #13851]
44884         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44885         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44886         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44887         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44888         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44889         infinite argument.
44890         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44891         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44892         != 0 for prec == 2.
44893         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44894         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44895         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44896         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44897         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44898         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44899         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44900         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44901         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44902         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44903         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44904         * math/libm-test.inc (cos_test): Add more tests and enable more
44905         tests for long double.
44906         (sin_test): Likewise.
44907         (sincos_test): Likewise.
44908         * sysdeps/i386/fpu/libm-test-ulps: Update.
44909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44911 2012-03-16  David S. Miller  <davem@davemloft.net>
44913         * sysdeps/sparc/fpu/math_private.h: New file.
44915 2012-03-15  David S. Miller  <davem@davemloft.net>
44917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44918         file.
44919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44921         file.
44922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44923         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44927         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44928         sysdep routines.
44929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44931         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44932         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44934         * sysdeps/sparc/sparc-ifunc.h: New file.
44935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44936         sparc-ifunc.h
44937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44939         Likewise.
44940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44941         Likewise.
44942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44946         Likewise.
44947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44952         Likewise.
44953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44954         Likewise.
44955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44959         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44961         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44962         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44963         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44969         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44970         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44971         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44972         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44973         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44974         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44975         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44976         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44977         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44978         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44980 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44982         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44983         scaling.
44984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44986 2012-03-15  Andreas Jaeger  <aj@suse.de>
44988         [BZ #13852]
44989         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44990         ieee754/flt-32 implementation for sin, cos and sincos.
44991         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44992         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44993         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44994         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44995         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44996         ieee754/flt-32 implementation for tan.
44998         * math/libm-test.inc (cos_test): Enable some large input tests for
44999         float as well
45000         (sin_test): Likewise.
45001         (sincos_test): Likewise.
45002         (tan_test): Add tests for large input.
45004         * sysdeps/i386/fpu/libm-test-ulps: Update.
45006 2012-03-15  Andreas Jaeger  <aj@suse.de>
45008         [BZ #13658]
45009         * math/libm-test.inc (cos_test): Add more test cases.
45010         (sin_test): Likewise.
45011         (sincos_test): Likewise.
45013 2012-03-15  Andreas Jaeger  <aj@suse.de>
45015         [BZ #13837]
45016         * math/libm-test.inc (cos_test): Add a test case for large input
45017         value.
45018         (sin_test): Likewise.
45019         (sincos_test): Likewise.
45021 2012-03-15  Andreas Jaeger  <aj@suse.de>
45022             Joseph Myers  <joseph@codesourcery.com>
45024         [BZ #13658]
45025         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45026         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45027         * sysdeps/i386/fpu/branred.c: Likewise.
45028         * sysdeps/i386/fpu/dosincos.c: Likewise.
45029         * sysdeps/i386/fpu/mpa.c: Likewise.
45030         * sysdeps/i386/fpu/s_cos.S: Likewise.
45031         * sysdeps/i386/fpu/s_sin.S: Likewise.
45032         * sysdeps/i386/fpu/s_sincos.S: Likewise.
45033         * sysdeps/i386/fpu/sincos32.c: Likewise.
45035         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45036         Define.
45037         (libc_feupdateenv_53bit): Define.
45038         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45039         Define.
45040         (libc_feupdateenv_53bit): Define.
45042         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45043         53 bit (without extend i386 double precision).
45045         * math/libm-test.inc (sincos_test): Add tests for large input.
45046         (sin): Likewise.
45047         (cos): Likewise.
45049         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45051 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
45053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45055 2012-03-15  David S. Miller  <davem@davemloft.net>
45057         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45058         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45059         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45060         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45065         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45073         file.
45074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45076         file.
45077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45079         file.
45080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45082         file.
45083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45084         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45085         fmin/fmax sysdep routines.
45086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45088 2012-03-14  David S. Miller  <davem@davemloft.net>
45090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45094         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45095         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45096         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45097         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45098         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45102         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45110         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45111         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45112         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45113         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45114         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45115         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45116         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45117         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45119         routines.
45120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45121         file.
45122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45124         file.
45125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45127         file.
45128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45130         file.
45131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45133         file.
45134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45136         file.
45137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45138         file.
45139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45140         file.
45141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45142         file.
45143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45144         New file.
45145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45146         file.
45147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45148         file.
45149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45151         file.
45152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45154         file.
45155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45157         file.
45158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45160         VIS3 routines.
45162         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45163         New file.
45165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45167         * sysdeps/sparc/configure.in: New file.
45168         * sysdeps/sparc/configure: Generate.
45169         * configure.in (libc_cv_sparc_as_vis3): Substitute.
45170         * configure: Regenerate.
45171         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45172         * config.make.in (have-as-vis3): New.
45173         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45174         available use -Av9d instead of -Av9a.
45175         * sysdeps/sparc/sparc64/Makefile: Likewise.
45176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45178         New file.
45179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45180         file.
45181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45182         New file.
45183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45184         file.
45185         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45186         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45187         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45188         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45189         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45191         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45192         fzeros/fnegs to load 0x80000000 into a float register instead of
45193         using the stack.
45194         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45196 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45198         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45199         bits/syscall.h.
45200         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45201         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45202         ($(inst_includedir)/bits/syscall.h): Remove rule.
45203         ($(objpfx)bits/syscall.d): Include instead of
45204         $(objpfx)syscall-list.d.
45205         (generated): Change syscall-list.h and syscall-list.d to
45206         bits/syscall.h and bits/syscall.d.
45208 2012-03-14  Roland McGrath  <roland@hack.frob.com>
45210         [BZ #13846]
45211         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45213 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
45215         [BZ #13841]
45216         * math/s_csqrt.c: Include <float.h>.
45217         (__csqrt): Scale large or subnormal inputs.
45218         * math/s_csqrtf.c: Likewise.
45219         * math/s_csqrtl.c: Likewise.
45220         * math/libm-test.inc (csqrt_test): Add more tests.
45221         * sysdeps/i386/fpu/libm-test-ulps: Update.
45222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45224         [BZ #13840]
45225         * math/libm-test.inc (hypot_test): Add more tests.
45227 2012-03-13  David S. Miller  <davem@davemloft.net>
45229         [BZ #13840]
45230         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45231         double-precision for the calculation instead of scaling.
45233 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
45235         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45236         manipulate bits before adding and subtracting TWO52[sx].
45237         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45238         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45239         Likewise.
45240         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45242 2012-03-13  David S. Miller  <davem@davemloft.net>
45244         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45245         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45246         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45247         rtld-global-offsets.h
45248         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45250         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45251         large parameters.
45253         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45255         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45256         'err' in the ifdef scope in which it is actually used.
45258         * nss/nss_db/db-init.c: Include string.h
45260 2012-03-12  David S. Miller  <davem@davemloft.net>
45262         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45263         masking out of the most significant byte of random value used.
45264         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45265         Fix coding style in previous change.
45267         * sysdeps/unix/sysv/linux/kernel-features.h
45268         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45269         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45270         expression.
45271         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45272         later.
45274 2012-03-11  David S. Miller  <davem@davemloft.net>
45276         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45277         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45278         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45279         for 'resultvar' otherwise things get truncated on 64-bit.
45281         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45282         Fix masking out of the most significant byte of random value used.
45284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45286 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45290 2012-03-09  David S. Miller  <davem@davemloft.net>
45292         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45293         variables with appropriate CPP guards.
45294         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45295         from the frame pointer, not the stack pointer.  Correct layout
45296         comments.  Fix test on resulting framesize and the management of
45297         the outregs buffer for pltexit.  Preserve floating point return
45298         values across _dl_call_pltexit call.
45299         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45300         framesize and the management of the outregs buffer for pltexit.
45301         Preserve floating point return values across _dl_call_pltexit
45302         call.
45303         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45304         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45305         (la_sparc64_gnu_pltexit): New functions.
45306         (print_exit): Fix format string for return register value.
45308 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45310         * sunrpc/Makefile (others): Add rpcgen.
45311         ($(objpfx)rpcgen): Remove special build rule and dependency on
45312         libc.
45313         * sunrpc/rpcgen.c: New file.
45315 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45317         [BZ #13673]
45318         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45319         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45320         * sysdeps/i386/crti.S: Likewise.
45321         * sysdeps/i386/crtn.S: Likewise.
45322         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45323         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45324         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45325         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45326         * sysdeps/sh/crti.S: Likewise.
45327         * sysdeps/sh/crtn.S: Likewise.
45328         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45330         [BZ #13673]
45331         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45332         with URL.
45333         * locale/programs/locfile-kw.gperf: Likewise.
45334         * locale/programs/charmap-kw.h: Regenerated.
45335         * locale/programs/locfile-kw.h: Likewise.
45337         [BZ #13673]
45338         * intl/plural.y: Replace FSF snail mail address with URL.
45339         * intl/plural.c: Regenerated.
45341 2012-03-09  Richard Henderson  <rth@twiddle.net>
45343         * include/math_private.h: Remove file.
45344         * math/math_private.h: Move file ...
45345         * sysdeps/generic/math_private.h: ... here.
45347         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45348         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45349         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45351         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45352         and <math_private.h>.
45353         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45354         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45355         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45356         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45357         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45358         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45359         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45360         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45361         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45362         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45363         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45364         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45365         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45366         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45367         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45368         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45369         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45370         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45371         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45372         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45374         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45375         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45376         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45377         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45378         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45379         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45380         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45382         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45383         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45384         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45385         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45386         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45387         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45388         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45389         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45390         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45391         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45392         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45393         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45394         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45395         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45396         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45397         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45398         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45399         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45400         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45401         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45402         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45403         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45404         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45405         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45406         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45407         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45408         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45409         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45410         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45411         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45412         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45413         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45414         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45415         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45416         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45417         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45418         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45419         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45420         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45421         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45422         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45423         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45424         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45425         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45426         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45427         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45428         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45429         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45430         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45431         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45432         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45433         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45434         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45435         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45436         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45437         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45439         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45440         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45441         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45442         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45443         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45444         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45445         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45446         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45447         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45448         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45449         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45450         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45451         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45452         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45453         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45454         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45455         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45456         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45457         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45458         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45459         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45460         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45461         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45462         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45463         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45464         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45465         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45466         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45467         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45468         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45469         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45470         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45471         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45472         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45473         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45474         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45475         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45476         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45477         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45478         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45479         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45480         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45481         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45482         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45483         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45484         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45485         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45486         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45487         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45488         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45489         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45490         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45491         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45492         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45493         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45494         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45495         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45496         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45497         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45498         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45499         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45500         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45501         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45502         * sysdeps/ieee754/k_standard.c: Likewise.
45503         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45504         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45505         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45506         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45507         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45508         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45509         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45510         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45511         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45512         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45513         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45514         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45515         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45516         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45517         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45518         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45519         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45520         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45521         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45522         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45523         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45524         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45525         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45526         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45527         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45528         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45529         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45530         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45531         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45532         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45533         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45534         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45535         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45536         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45537         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45538         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45539         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45540         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45541         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45542         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45543         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45544         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45545         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45546         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45547         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45548         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45549         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45550         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45551         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45552         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45553         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45554         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45555         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45556         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45557         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45558         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45559         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45560         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45561         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45562         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45563         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45564         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45565         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45566         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45567         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45568         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45569         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45570         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45571         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45572         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45573         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45574         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45575         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45576         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45577         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45579         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45580         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45581         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45582         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45583         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45584         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45585         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45586         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45587         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45588         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45589         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45590         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45591         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45592         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45593         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45594         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45595         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45596         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45597         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45598         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45599         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45600         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45601         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45602         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45604         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45605         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45606         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45607         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45608         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45609         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45610         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45611         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45612         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45613         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45614         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45615         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45616         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45617         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45618         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45619         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45620         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45621         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45622         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45623         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45624         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45625         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45626         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45627         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45628         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45629         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45630         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45631         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45632         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45633         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45634         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45635         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45636         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45637         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45638         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45639         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45640         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45641         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45642         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45643         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45645         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45646         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45647         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45648         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45649         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45650         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45651         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45652         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45653         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45654         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45655         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45656         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45657         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45658         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45659         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45660         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45661         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45662         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45663         * sysdeps/ieee754/s_lib_version.c: Likewise.
45664         * sysdeps/ieee754/s_matherr.c: Likewise.
45665         * sysdeps/ieee754/s_signgam.c: Likewise.
45666         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45667         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45668         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45669         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45670         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45671         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45672         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45673         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45674         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45675         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45676         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45677         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45678         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45679         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45680         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45681         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45682         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45683         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45684         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45686         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45688 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45690         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45691         * sunrpc/rpc_main.c: Likewise.
45692         * sunrpc/rpc_svcout.c: Likewise.
45694 2012-03-09  David S. Miller  <davem@davemloft.net>
45696         * include/math_private.h: New file.
45698 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45700         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45701         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45702         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45703         from <bits/socket_type.h>.
45704         (enum __socket_type): Don't define here.
45705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45707         bits/socket_type.h.
45709         [BZ #13566]
45710         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45711         checking __USE_GNU.
45713         * Makerules ($(inst_includedir)/%.h): New rule.
45714         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45715         (install-others): Remove variable setting.
45716         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45718 2012-03-08  Richard Henderson  <rth@twiddle.net>
45720         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45721         from macro to inline function; merge with the
45722         !__LIBC_INTERNAL_MATH_INLINES version.
45723         (__ieee754_sqrtf): Likewise.
45725         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45726         to inline function.
45727         (__rintf, __floor, __floorf): Likewise.
45729         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45730         macro to inline function.
45731         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45733         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45734         not <math/math_private.h>.
45736 2012-03-08  David S. Miller  <davem@davemloft.net>
45738         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45739         copyright year.
45740         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45742 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45744         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45745         normalization.
45746         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45747         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45749 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45751         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45752         be defined individually, they must be defined as a block.  Define
45753         S for printing a string instead of hidint the different by using a
45754         macro for adding the 'l'.
45755         * stdio-common/tst-fphex-wide.c: Adjust.
45757 2012-03-07  Marek Polacek  <polacek@redhat.com>
45759         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45761 2012-03-08  Marek Polacek  <polacek@redhat.com>
45763         [BZ #13806]
45764         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45765         * stdio-common/tst-fphex.c: Define a few macros to make the
45766         test reusable.  Use them.
45767         * stdio-common/tst-fphex-wide.c: New file.
45769 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45771         [BZ #6911]
45772         * manual/macros.texi (gnusystems): New macro.
45773         (nongnusystems): Likewise.
45774         (gnulinuxhurdsystems): Likewise.
45775         (gnuhurdsystems): Likewise..
45776         (gnulinuxsystems): Likewise.
45777         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45778         variants of the GNU system, not "GNU system".
45779         * manual/conf.texi: Likewise.
45780         * manual/errno.texi: Likewise.  Update example of errno macro
45781         expansion.
45782         * manual/filesys.texi: Likewise.
45783         (getumask): Document as specific to GNU/Hurd.
45784         * manual/install.texi: Likewise.  Reword some references to
45785         GNU/Linux.
45786         * manual/intro.texi: Likewise.
45787         * manual/io.texi: Likewise.
45788         (File Name Portability): Detail which constraints are inapplicable
45789         to all GNU systems and which are only inapplicable to GNU/Hurd.
45790         * manual/job.texi: Likewise.
45791         * manual/llio.texi: Likewise.
45792         (O_NOCTTY): Document as present on GNU/Linux.
45793         * manual/maint.texi: Likewise.
45794         * manual/memory.texi: Likewise.
45795         * manual/pattern.texi: Likewise.
45796         * manual/pipe.texi: Likewise.
45797         * manual/process.texi: Likewise.
45798         * manual/resource.texi: Likewise.
45799         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45800         child on GNU/Hurd.
45801         * manual/setjmp.texi: Likewise.
45802         * manual/signal.texi: Likewise.
45803         * manual/startup.texi: Likewise.
45804         * manual/stdio.texi: Likewise.
45805         * manual/terminal.texi: Likewise.
45806         (ONLCR): Document as POSIX.
45807         (OXTABS): Document availability on GNU/Linux as XTABS.
45808         (ONOEOT): Document availability separately from other bits.
45809         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45810         * manual/time.texi: Likewise.
45811         * manual/users.texi: Likewise.
45812         * INSTALL: Regenerated.
45813         * sysdeps/gnu/errlist.c: Regenerated.
45815         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45816         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45817         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45818         puts.
45819         * configure: Regenerated.
45821 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45823         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45824         default includes instead of AC_HEADER_CHECK.
45825         * sysdeps/i386/configure: Regenerated.
45827         [BZ #10716]
45828         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45829         * math/s_cacoshf.c (__cacoshf): Likewise.
45830         * math/s_cacoshl.c (__cacoshl): Likewise.
45831         * math/s_casinh.c (__casinh): Set signs of result from argument.
45832         * math/s_casinhf.c (__casinhf): Likewise.
45833         * math/s_casinhl.c (__casinhl): Likewise.
45834         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45835         (casinh_test): Add more tests.
45836         * sysdeps/i386/fpu/libm-test-ulps: Update.
45837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45839 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45841         * po/zh_TW.po: Update from translation team.
45843         * login/Makefile (distribute): Remove variable.
45844         * catgets/Makefile: Likewise.
45845         * mach/Makefile: Likewise.
45846         * malloc/Makefile: Likewise.
45847         * misc/Makefile: Likewise.
45848         * iconv/Makefile: Likewise.
45849         * nscd/Makefile: Likewise.
45850         * hurd/Makefile: Likewise.
45851         * manual/Makefile: Likewise.
45852         * locale/Makefile: Likewise.
45853         * intl/Makefile: Likewise.
45854         * conform/Makefile: Likewise.
45855         * nss/Makefile: Likewise.
45856         * time/Makefile: Likewise.
45857         * soft-fp/Makefile: Likewise.
45858         * dirent/Makefile: Likewise.
45859         * gmon/Makefile: Likewise.
45860         * po/Makefile: Likewise.
45861         * rt/Makefile: Likewise.
45862         * socket/Makefile: Likewise.
45863         * math/Makefile: Likewise.
45864         * signal/Makefile: Likewise.
45865         * debug/Makefile: Likewise.
45866         * elf/Makefile: Likewise.
45867         * timezone/Makefile: Likewise.
45868         * stdlib/Makefile: Likewise.
45869         * iconvdata/Makefile: Likewise.
45870         * sunrpc/Makefile: Likewise.
45871         * io/Makefile: Likewise.
45872         * argp/Makefile: Likewise.
45873         * inet/Makefile: Likewise.
45874         * hesiod/Makefile: Likewise.
45875         * grp/Makefile: Likewise.
45876         * csu/Makefile: Likewise.
45877         * wctype/Makefile: Likewise.
45878         * crypt/Makefile: Likewise.
45879         * libio/Makefile: Likewise.
45880         * string/Makefile: Likewise.
45881         * nis/Makefile: Likewise.
45882         * resolv/Makefile: Likewise.
45883         * stdio-common/Makefile: Likewise.
45884         * wcsmbs/Makefile: Likewise.
45885         * dlfcn/Makefile: Likewise.
45886         * posix/Makefile: Likewise.
45888         [BZ #6959]
45889         * timezone/Makefile: Don't install timezone files, just the programs
45890         and scripts.
45892 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45894         * nss/databases.def: Add missing gshadow entry.
45896         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45898 2012-03-06  Marek Polacek  <polacek@redhat.com>
45900         [BZ #13726]
45901         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45902         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45903         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45904         * stdio-common/tst-long-dbl-fphex.c: New file.
45906 2012-03-06  David S. Miller  <davem@davemloft.net>
45908         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45909         (set_obp_int): New function.
45910         (get_obp_int): New function.
45911         (__get_clockfreq_via_dev_openprom): Likewise.
45912         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45913         Avoid unused variable warnings on 'val' and use builtin_expect.
45914         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45915         __builtin_expect.
45916         (INLINE_CLONE_SYSCALL): Likewise.
45918 2012-03-05  David S. Miller  <davem@davemloft.net>
45920         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45922 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45926         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45927         only for |x| >= 40.
45928         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45930 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45932         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45933         Replace gettimeofday with __vdso_gettimeofday.
45935         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45936         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45937         __vdso_clock_gettime and __vdso_getcpu.
45939         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45940         time with __vdso_time.
45942 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45944         * manual/lang.texi (size_t): Note types to which size_t may be
45945         equivalent with the GNU C Library, but do not describe when
45946         differences between them are significant.
45948 2012-03-05  Andreas Jaeger  <aj@suse.de>
45950         * sysdeps/i386/fpu/libm-test-ulps: Update.
45952 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45954         [BZ #3976]
45955         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45956         (__ieee754_pow): Save and restore rounding mode and use
45957         round-to-nearest for main computations.
45958         * math/libm-test.inc (pow_test_tonearest): New function.
45959         (pow_test_towardzero): Likewise.
45960         (pow_test_downward): Likewise.
45961         (pow_test_upward): Likewise.
45962         (main): Call the new functions.
45963         * sysdeps/i386/fpu/libm-test-ulps: Update.
45964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45966         [BZ #3976]
45967         * math/libm-test.inc (cosh_test_tonearest): New function.
45968         (cosh_test_towardzero): Likewise.
45969         (cosh_test_downward): Likewise.
45970         (cosh_test_upward): Likewise.
45971         (sinh_test_tonearest): Likewise.
45972         (sinh_test_towardzero): Likewise.
45973         (sinh_test_downward): Likewise.
45974         (sinh_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.
45979 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45981         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45982         default stack guard is set in last bytes.
45983         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45985 2012-03-05  Kees Cook  <keescook@chromium.org>
45987         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45989         [BZ #13656]
45990         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45991         possibly allocate from heap instead of stack.
45992         * stdio-common/bug-vfprintf-nargs.c: New file.
45993         * stdio-common/Makefile (tests): Add nargs overflow test.
45995 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45999 2012-03-03  Marek Polacek  <polacek@redhat.com>
46001         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46002         * math/math_private.h: Likewise.
46003         * stdlib/tst-strtod.c: Likewise.
46004         * sysdeps/i386/i486/bits/atomic.h: Likewise.
46005         * sysdeps/x86_64/bits/atomic.h: Likewise.
46007 2012-03-02  David S. Miller  <davem@davemloft.net>
46009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46013         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46014         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46015         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46016         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46018 2012-03-02  Roland McGrath  <roland@hack.frob.com>
46020         [BZ #13792]
46021         * manual/examples/README: New file, says the example source files
46022         can be used under GPL>=2.
46023         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46024         line containing just "*/".
46025         * manual/examples/add.c: Add copyright header (GPL>=2).
46026         * manual/examples/argp-ex1.c: Likewise.
46027         * manual/examples/argp-ex2.c: Likewise.
46028         * manual/examples/argp-ex3.c: Likewise.
46029         * manual/examples/argp-ex4.c: Likewise.
46030         * manual/examples/atexit.c: Likewise.
46031         * manual/examples/db.c: Likewise.
46032         * manual/examples/dir.c: Likewise.
46033         * manual/examples/dir2.c: Likewise.
46034         * manual/examples/execinfo.c: Likewise.
46035         * manual/examples/filecli.c: Likewise.
46036         * manual/examples/filesrv.c: Likewise.
46037         * manual/examples/fmtmsgexpl.c: Likewise.
46038         * manual/examples/genpass.c: Likewise.
46039         * manual/examples/inetcli.c: Likewise.
46040         * manual/examples/inetsrv.c: Likewise.
46041         * manual/examples/isockad.c: Likewise.
46042         * manual/examples/longopt.c: Likewise.
46043         * manual/examples/memopen.c: Likewise.
46044         * manual/examples/memstrm.c: Likewise.
46045         * manual/examples/mkfsock.c: Likewise.
46046         * manual/examples/mkisock.c: Likewise.
46047         * manual/examples/mygetpass.c: Likewise.
46048         * manual/examples/pipe.c: Likewise.
46049         * manual/examples/popen.c: Likewise.
46050         * manual/examples/rprintf.c: Likewise.
46051         * manual/examples/search.c: Likewise.
46052         * manual/examples/select.c: Likewise.
46053         * manual/examples/setjmp.c: Likewise.
46054         * manual/examples/sigh1.c: Likewise.
46055         * manual/examples/sigusr.c: Likewise.
46056         * manual/examples/stpcpy.c: Likewise.
46057         * manual/examples/strdupa.c: Likewise.
46058         * manual/examples/strftim.c: Likewise.
46059         * manual/examples/strncat.c: Likewise.
46060         * manual/examples/subopt.c: Likewise.
46061         * manual/examples/swapcontext.c: Likewise.
46062         * manual/examples/termios.c: Likewise.
46063         * manual/examples/testopt.c: Likewise.
46064         * manual/examples/testpass.c: Likewise.
46065         * manual/examples/timeval_subtract.c: Likewise.
46067         [BZ #13792]
46068         * manual/time.texi (Elapsed Time): Move timeval_subtract example
46069         function to ...
46070         * manual/timeval_subtract.c.texi: ... here, new file.
46072 2012-03-02  David S. Miller  <davem@davemloft.net>
46074         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46076 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
46078         [BZ #3976]
46079         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46080         (__sin): Save and restore rounding mode and use round-to-nearest
46081         for all computations.
46082         (__cos): Save and restore rounding mode and use round-to-nearest
46083         for all computations.
46084         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46085         <fenv.h>.
46086         (tan): Save and restore rounding mode and use round-to-nearest for
46087         all computations.
46088         * math/libm-test.inc (cos_test_tonearest): New function.
46089         (cos_test_towardzero): Likewise.
46090         (cos_test_downward): Likewise.
46091         (cos_test_upward): Likewise.
46092         (sin_test_tonearest): Likewise.
46093         (sin_test_towardzero): Likewise.
46094         (sin_test_downward): Likewise.
46095         (sin_test_upward): Likewise.
46096         (tan_test_tonearest): Likewise.
46097         (tan_test_towardzero): Likewise.
46098         (tan_test_downward): Likewise.
46099         (tan_test_upward): Likewise.
46100         (main): Call the new functions.
46101         * sysdeps/i386/fpu/libm-test-ulps: Update.
46102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46104         [BZ #10135]
46105         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46106         small n, then large n, before computing and testing k+n.
46107         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46108         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46109         Likewise.
46110         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46111         Likewise.
46112         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46113         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46114         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46115         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46116         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46117         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46118         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46119         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46120         * math/libm-test.inc (scalbn_test): Add more tests.
46121         (scalbln_test): Likewise.
46123         * manual/filesys.texi (mode_t): Describe constraints on size and
46124         signedness, not exact equivalence to a particular type.
46125         (ino_t): Likewise.
46126         (ino64_t): Likewise.
46127         (dev_t): Likewise.
46128         (nlink_t): Likewise.
46129         (blkcnt_t): Likewise.
46130         (blkcnt64_t): Likewise.
46131         * manual/llio.texi (off_t): Likewise.
46133         [BZ #3976]
46134         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46135         (__ieee754_exp): Save and restore rounding mode and use
46136         round-to-nearest for all computations.
46137         * math/libm-test.inc (exp_test_tonearest): New function.
46138         (exp_test_towardzero): Likewise.
46139         (exp_test_downward): Likewise.
46140         (exp_test_upward): Likewise.
46141         (main): Call the new functions.
46142         * sysdeps/i386/fpu/libm-test-ulps: Update.
46143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46145 2012-03-01  Chris Demetriou  <cgd@google.com>
46147         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46148         have predictable order.
46150 2012-03-01  David S. Miller  <davem@davemloft.net>
46152         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46154         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46155         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46156         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46157         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46159         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46160         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46161         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46163         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46164         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46165         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46166         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46167         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46171         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46172         * sysdeps/sparc/fpu/libm-test-ulps: to here.
46173         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46175         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46176         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46177         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46178         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46179         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46180         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46181         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46182         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46183         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46184         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46185         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46186         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46187         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46188         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46189         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46190         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46191         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46192         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46193         * sysdeps/sparc/elf/configure: Regenerated.
46195 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
46197         * configure.in (AS, LD): Require binutils 2.20 or later.
46198         * configure: Regenerated.
46199         * manual/install.texi (Tools for Compilation): Give binutils 2.20
46200         as required minimum version.
46201         * INSTALL: Regenerated.
46203         [BZ #2541]
46204         [BZ #4108]
46205         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46206         before squaring exponent.
46207         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46208         bottom long double and 27 bits of top long double before squaring
46209         exponent.
46210         * math/libm-test.inc (erfc_test): Add more tests.
46211         * sysdeps/i386/fpu/libm-test-ulps: Update.
46212         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46215 2012-03-01  Kai Tietz  <ktietz@redhat.com>
46217         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46218         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46219         containing bit-fields.
46220         * soft-fp/extended.h (_FP_UNION_E): Likewise.
46221         * soft-fp/single.h (_FP_UNION_S): Likewise.
46222         * soft-fp/double.h (_FP_UNION_D): Likewise.
46224 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46226         [BZ #13786]
46227         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46228         not include ../strcmp.S.
46229         [USE_AS_STRNCASECMP_L]: Likewise.
46230         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46231         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46232         * sysdeps/i386/i686/multiarch/strncase_l-c.c
46233         (__strncasecmp_l_ia32): Define as alias to
46234         __strncasecmp_l_nonascii.
46236         [BZ #5794]
46237         * math/libm-test.inc (expm1_test): Add test for bug 5794.
46238         * sysdeps/i386/fpu/libm-test-ulps: Update.
46239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46241         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46244 2012-02-29  Jeff Law  <law@redhat.com>
46246         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46247         out of bounds read.
46249 2012-02-29  Marek Polacek  <polacek@redhat.com>
46251         [BZ #13706]
46252         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46253         * elf/Makefile: Add rules to run tst-unused-dep.out.
46255 2012-02-28  David S. Miller  <davem@davemloft.net>
46257         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46258         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46259         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46260         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46261         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46262         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46264 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
46266         * math/libm-test.inc (llround_test): Move one test from
46267         lround_test.  Use TEST_f_L in moved test.
46268         (lround_test): Move misplaced test to llround_test.  Add testcase
46269         from bug 2561.
46271 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
46273         * sysdeps/x86_64/fpu/e_expf.S: New file.
46274         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46276 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
46278         [BZ #13637]
46279         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46280         of remain_len that may cause incomplete multi-byte character and
46281         false match.
46282         * posix/bug-regex33.c: New file.
46283         * posix/Makefile (tests): Add bug-regex33.
46285 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46287         * manual/macros.texi: New file.
46288         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46289         * manual/libc.texinfo: Include macros.texi.
46290         * manual/creatute.texi: Likewise.
46291         * manual/install.texi: Likewise.
46292         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46293         @glibcadj{} in references to the GNU C Library.
46294         * manual/charset.texi: Likewise.
46295         * manual/conf.texi: Likewise.
46296         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46297         when not using those macros.
46298         * manual/creature.texi: Likewise.
46299         * manual/crypt.texi: Likewise.
46300         * manual/errno.texi: Likewise.
46301         * manual/filesys.texi: Likewise.
46302         * manual/header.texi: Likewise.
46303         * manual/install.texi: Likewise.
46304         * manual/intro.texi: Likewise.
46305         * manual/io.texi: Likewise.
46306         * manual/job.texi: Likewise.
46307         * manual/lang.texi: Likewise.
46308         * manual/libc.texiinfo: Likewise.
46309         * manual/llio.texi: Likewise.
46310         * manual/locale.texi: Likewise.
46311         * manual/maint.texi: Likewise.
46312         * manual/math.texi: Likewise.
46313         * manual/memory.texi: Likewise.
46314         * manual/message.texi: Likewise.
46315         * manual/nss.texi: Likewise.
46316         * manual/pattern.texi: Likewise.
46317         * manual/process.texi: Likewise.
46318         * manual/resource.texi: Likewise.
46319         * manual/search.texi: Likewise.
46320         * manual/setjmp.texi: Likewise.
46321         * manual/signal.texi: Likewise.
46322         * manual/socket.texi: Likewise.
46323         * manual/startup.texi: Likewise.
46324         * manual/stdio.texi: Likewise.
46325         * manual/string.texi: Likewise.
46326         * manual/sysinfo.texi: Likewise.
46327         * manual/syslog.texi: Likewise.
46328         * manual/terminal.texi: Likewise.
46329         * manual/time.texi: Likewise.
46330         * manual/users.texi: Likewise.
46331         * INSTALL: Regenerated.
46332         * NOTES: Regenerated.
46333         * sysdeps/gnu/errlist.c: Regenerated.
46335 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46337         * include/dirent.h: Include <dirstream.h> before
46338         <dirent/dirent.h>.
46340 2012-02-28  David S. Miller  <davem@davemloft.net>
46342         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46343         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46344         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46345         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46347 2012-02-27  David S. Miller  <davem@davemloft.net>
46349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46351         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46352         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46355         frame pointer instead of stack pointer relative arg slot.
46356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46357         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46358         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46360 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46362         [BZ #3992]
46363         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46365 2012-02-27  David S. Miller  <davem@davemloft.net>
46367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46371         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46372         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46373         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46374         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46376 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46378         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46379         later.  Allow versions 5-9.
46380         * configure: Regenerated.
46381         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46382         required minimum version and 4.6 as recommended version.  Do not
46383         mention bugs in GCC 2.7 and 2.8.
46384         * INSTALL: Regenerated.
46386 2012-02-27  David S. Miller  <davem@davemloft.net>
46388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46392         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46393         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46394         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46395         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46397         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46398         manipulate bits before adding and subtracting TWO112[sx].
46399         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46401 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46403         [BZ #13775]
46404         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46405         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46406         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46407         being in POSIX, because they are in 1003.1-2008.
46409         * rt/tst-aio.c: Include <fcntl.h>.
46410         * rt/tst-aio7.c: Likewise.
46411         * rt/tst-aio64.c: Likewise.
46413         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46415 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46417         * manual/install.texi (--with-headers): Describe headers as
46418         interface headers, not private headers.
46419         (Specific advice for GNU/Linux systems): Describe use of headers
46420         from "make headers_install", not private headers from older
46421         kernels.
46422         * INSTALL: Regenerated.
46423         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46424         Change to 2.6.19.
46425         * sysdeps/unix/sysv/linux/configure: Regenerated.
46427         * manual/llio.texi (fclean): Remove documentation.
46429         * manual/Makefile (libc-texi-generated): New variable.  Include
46430         version.texi.
46431         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46432         $(libc-texi-generated), not duplicated list of files.
46433         (version.texi, stamp-version): New rules.
46434         (realclean): Remove $(libc-texi-generated), not individual files
46435         from that list.  Do not remove dir-add.texinfo.
46436         * manual/libc.texinfo: Comment out uses of edition numbers and
46437         references to printed manual.  Remove last-updated dates.
46438         (EDITION): Comment out.
46439         (ISBN): Likewise.
46440         (VERSION, UPDATED): Remove.
46441         (version.texi): Include.
46443 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46445         * sysdeps/posix/spawni.c: Include <signal.h>.
46446         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46447         * sysdeps/pthread/aio_fsync.c: Likewise.
46449 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46451         * conform/Makefile (tests): Run only when not cross-compiling and
46452         when fast-check is not defined.
46454         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46455         * conform/data/limits.h-data: Fixes for POSIX2008.
46456         * conform/run-conformtest.sh: Run all tests.
46457         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46458         headers.
46459         * include/bits/dlfcn.h: Likewise.
46460         * include/langinfo.h: Likewise.
46461         * include/monetary.h: Likewise.
46462         * include/sys/poll.h: Likewise.
46464         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46465         for __USE_GNU.
46466         * posix/spawn.h: Define __need_sigset_t.
46467         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46468         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46469         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46470         to get sigevent_t only.
46471         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46472         only for __USE_GNU.
46473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46474         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46475         process_vm_writev only for __USE_GNU.
46476         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46478         * conform/Makefile: For now ignore errors from run-conformtest.
46479         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46480         POSIX to avoid namespace pollution.  Don't prepend headers.
46481         * conform/data/aio.h-data: Fixes for POSIX testing.
46482         * conform/data/fcntl.h-data: Likewise.
46483         * conform/data/glob.h-data: Likewise.
46484         * conform/data/grp.h-data: Likewise.
46485         * conform/data/pthread.h-data: Likewise.
46486         * conform/data/pwd.h-data: Likewise.
46487         * conform/data/signal.h-data: Likewise.
46488         * conform/data/spawn.h-data: Likewise.
46489         * conform/data/stdio.h-data: Likewise.
46490         * conform/data/stdlib.h-data: Likewise.
46491         * conform/data/stropts.h-data: Likewise.
46492         * conform/data/sys/mman.h-data: Likewise.
46493         * conform/data/sys/stat.h-data: Likewise.
46494         * conform/data/sys/types.h-data: Likewise.
46495         * conform/data/sys/wait.h-data: Likewise.
46496         * conform/data/time.h-data: Likewise.
46497         * conform/data/unistd.h-data: Likewise.
46498         * conform/data/utime.h-data: Likewise.
46500         * io/sys/stat.h: fchmod was always in POSIX.
46501         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46502         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46503         * rt/aio.h: Define __need_timespec before including <time.h>.
46504         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46505         struct.  Add forward declaration of pthread_attr_t and use it in
46506         sigevent.
46507         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46508         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46509         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46510         always remove CLK_TCK definition.
46512 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46514         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46516 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46518         * conform/run-conformtest.sh: New file.
46519         * conform/Makefile: Run run-conformtest for tests.
46520         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46521         support.
46523         * conform/data/uchar.h-data: New file.
46524         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46525         * conform/data/arpa/inet.h-data: Likewise.
46526         * conform/data/assert.h-data: Likewise.
46527         * conform/data/complex.h-data: Likewise.
46528         * conform/data/cpio.h-data: Likewise.
46529         * conform/data/ctype.h-data: Likewise.
46530         * conform/data/dirent.h-data: Likewise.
46531         * conform/data/dlfcn.h-data: Likewise.
46532         * conform/data/errno.h-data: Likewise.
46533         * conform/data/fcntl.h-data: Likewise.
46534         * conform/data/float.h-data: Likewise.
46535         * conform/data/fmtmsg.h-data: Likewise.
46536         * conform/data/fnmatch.h-data: Likewise.
46537         * conform/data/ftw.h-data: Likewise.
46538         * conform/data/glob.h-data: Likewise.
46539         * conform/data/grp.h-data: Likewise.
46540         * conform/data/iconv.h-data: Likewise.
46541         * conform/data/inttypes.h-data: Likewise.
46542         * conform/data/langinfo.h-data: Likewise.
46543         * conform/data/libgen.h-data: Likewise.
46544         * conform/data/limits.h-data: Likewise.
46545         * conform/data/locale.h-data: Likewise.
46546         * conform/data/math.h-data: Likewise.
46547         * conform/data/monetary.h-data: Likewise.
46548         * conform/data/mqueue.h-data: Likewise.
46549         * conform/data/ndbm.h-data: Likewise.
46550         * conform/data/net/if.h-data: Likewise.
46551         * conform/data/netdb.h-data: Likewise.
46552         * conform/data/netinet/in.h-data: Likewise.
46553         * conform/data/nl_types.h-data: Likewise.
46554         * conform/data/poll.h-data: Likewise.
46555         * conform/data/pthread.h-data: Likewise.
46556         * conform/data/pwd.h-data: Likewise.
46557         * conform/data/regex.h-data: Likewise.
46558         * conform/data/sched.h-data: Likewise.
46559         * conform/data/search.h-data: Likewise.
46560         * conform/data/semaphore.h-data: Likewise.
46561         * conform/data/setjmp.h-data: Likewise.
46562         * conform/data/signal.h-data: Likewise.
46563         * conform/data/spawn.h-data: Likewise.
46564         * conform/data/stdarg.h-data: Likewise.
46565         * conform/data/stdio.h-data: Likewise.
46566         * conform/data/stdlib.h-data: Likewise.
46567         * conform/data/string.h-data: Likewise.
46568         * conform/data/strings.h-data: Likewise.
46569         * conform/data/stropts.h-data: Likewise.
46570         * conform/data/sys/ipc.h-data: Likewise.
46571         * conform/data/sys/mman.h-data: Likewise.
46572         * conform/data/sys/msg.h-data: Likewise.
46573         * conform/data/sys/resource.h-data: Likewise.
46574         * conform/data/sys/select.h-data: Likewise.
46575         * conform/data/sys/sem.h-data: Likewise.
46576         * conform/data/sys/shm.h-data: Likewise.
46577         * conform/data/sys/socket.h-data: Likewise.
46578         * conform/data/sys/stat.h-data: Likewise.
46579         * conform/data/sys/statvfs.h-data: Likewise.
46580         * conform/data/sys/time.h-data: Likewise.
46581         * conform/data/sys/timeb.h-data: Likewise.
46582         * conform/data/sys/times.h-data: Likewise.
46583         * conform/data/sys/types.h-data: Likewise.
46584         * conform/data/sys/uio.h-data: Likewise.
46585         * conform/data/sys/un.h-data: Likewise.
46586         * conform/data/sys/utsname.h-data: Likewise.
46587         * conform/data/sys/wait.h-data: Likewise.
46588         * conform/data/syslog.h-data: Likewise.
46589         * conform/data/tar.h-data: Likewise.
46590         * conform/data/termios.h-data: Likewise.
46591         * conform/data/utime.h-data: Likewise.
46592         * conform/data/utmpx.h-data: Likewise.
46593         * conform/data/varargs.h-data: Likewise.
46594         * conform/data/wchar.h-data: Likewise.
46595         * conform/data/wctype.h-data: Likewise.
46596         * conform/data/wordexp.h-data: Likewise.
46598         * include/stropts.h: New file.
46599         * include/uchar.h: New file.
46600         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46601         * include/assert.h: Likewise.
46602         * include/ctype.h: Likewise.
46603         * include/dirent.h: Likewise.
46604         * include/dlfcn.h: Likewise.
46605         * include/fcntl.h: Likewise.
46606         * include/fnmatch.h: Likewise.
46607         * include/glob.h: Likewise.
46608         * include/grp.h: Likewise.
46609         * include/libio.h: Likewise.
46610         * include/locale.h: Likewise.
46611         * include/math.h: Likewise.
46612         * include/net/if.h: Likewise.
46613         * include/netdb.h: Likewise.
46614         * include/netinet/in.h: Likewise.
46615         * include/pthread.h: Likewise.
46616         * include/pwd.h: Likewise.
46617         * include/regex.h: Likewise.
46618         * include/sched.h: Likewise.
46619         * include/search.h: Likewise.
46620         * include/setjmp.h: Likewise.
46621         * include/signal.h: Likewise.
46622         * include/stdio.h: Likewise.
46623         * include/stdlib.h: Likewise.
46624         * include/string.h: Likewise.
46625         * include/sys/cdefs.h: Likewise.
46626         * include/sys/mman.h: Likewise.
46627         * include/sys/msg.h: Likewise.
46628         * include/sys/resource.h: Likewise.
46629         * include/sys/select.h: Likewise.
46630         * include/sys/socket.h: Likewise.
46631         * include/sys/stat.h: Likewise.
46632         * include/sys/statvfs.h: Likewise.
46633         * include/sys/time.h: Likewise.
46634         * include/sys/times.h: Likewise.
46635         * include/sys/uio.h: Likewise.
46636         * include/sys/utsname.h: Likewise.
46637         * include/sys/wait.h: Likewise.
46638         * include/termios.h: Likewise.
46639         * include/time.h: Likewise.
46640         * include/ulimit.h: Likewise.
46641         * include/unistd.h: Likewise.
46642         * include/utime.h: Likewise.
46643         * include/wchar.h: Likewise.
46644         * include/wctype.h: Likewise.
46645         * include/wordexp.h: Likewise.
46647         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46649         * time/time.h: TIME_UTC must be a macro.
46650         Make timespec_get available for ISO C11 only as well.
46652 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46654         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46655         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46657 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46659         * configure.in: Use -o not -a in test for unsupported multi-arch.
46661 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46663         * manual/texinfo.tex: Update to version 2012-01-19.16.
46665 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46667         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46669 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46671         [BZ #13738]
46672         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46673         * manual/fdl-1.3.texi: New file.
46674         * manual/fdl-1.1.texi: File removed.
46676         [BZ #13738]
46677         * manual/libc.texinfo (FDL_VERSION): New @set.
46678         Use it for mention of FDL in cover text.
46679         (Documentation License): Use it in @include file name.
46681 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46682             Roland McGrath  <roland@hack.frob.com>
46684         [BZ #5461]
46685         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46686         (not LONG_LONG_MAX and LONG_LONG_MIN.
46687         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46688         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46689         name.
46690         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46692 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46694         [BZ #2547]
46695         [BZ #11365]
46696         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46697         manipulate bits before adding and subtracting TWO23[sx].
46698         * math/libm-test.inc (nearbyint_test): Add more tests.
46700 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46702         [BZ #2548]
46703         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46704         bits before adding and subtracting TWO23[sx].
46705         * math/libm-test.inc (rint_test): Add more tests.
46706         (rint_test_tonearest): Likewise.
46707         (rint_test_towardzero): Likewise.
46708         (rint_test_downward): Likewise.
46709         (rint_test_upward: Likewise.
46711 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46713         [BZ #10110]
46714         * include/stdc-predef.h: New file.  Extracted from features.h.
46715         * include/features.h: Include stdc-predef.h.
46716         * Makefile (headers): Add stdc-predef.h.
46717         * CONFORMANCE (Compiler limitations): Update.
46719 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46721         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46723 2012-02-21  David S. Miller  <davem@davemloft.net>
46725         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46726         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46728 2012-02-20  David S. Miller  <davem@davemloft.net>
46730         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46731         using a normal save/restore sequence, rather than allocating a
46732         dummy stack frame just to store a frame pointer and restore.
46733         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46735 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46737         * manual/install.texi: Fix stray word in line-wrapped comment.
46739 2012-02-20  David S. Miller  <davem@davemloft.net>
46741         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46742         both binutils and gcc support GOTDATA.
46744         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46745         "rd %pc" in the PIC register setup sequences.
46747         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46748         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46749         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46750         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46751         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46753         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46754         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46756         (SYSCALL_ERROR_HANDLER): Likewise.
46757         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46758         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46759         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46760         (SYSCALL_ERROR_HANDLER): Likewise.
46762         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46763         (HAVE_GCC_GOTDATA): New.
46764         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46765         relocation support in both binutils and gcc.
46766         * sysdeps/sparc/elf/configure: Regenerate.
46768         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46769         * sysdeps/sparc/sparc32/elf/configure: Delete.
46770         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46771         * sysdeps/sparc/sparc64/elf/configure: Delete.
46772         * sysdeps/sparc/elf/configure.in: New file.
46773         * sysdeps/sparc/elf/configure: Generate.
46775         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46776         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46777         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46778         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46779         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46781 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46783         * manual/install.texi: Do not mention specific glibc version
46784         numbers.
46785         * manual/libc.texinfo (VERSION, UPDATED): Update.
46786         (@copying): Use @copyright{} and range of years.
46788 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46790         [BZ #13695]
46791         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46792         [crti.S not in sysdirs] (generated): Do not append.
46793         [crti.S not in sysdirs] (omit-deps): Likewise.
46794         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46795         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46796         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46797         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46798         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46799         Likewise.
46800         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46801         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46802         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46803         * csu/defs.awk: Remove file.
46804         * sysdeps/generic/initfini.c: Likewise.
46805         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46806         variable.
46807         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46808         Likewise.
46810 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46812         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46813         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46814         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46815         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46816         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46817         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46818         <bits/epoll.h>.
46819         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46820         (__EPOLL_PACKED): Define to empty if not defined by
46821         <bits/epoll.h>.
46822         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46823         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46824         bits/epoll.h.
46826 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46828         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46829         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46830         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46831         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46832         <bits/timerfd.h>.
46833         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46835         bits/timerfd.h.
46837 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46839         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46840         in C locale.
46841         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46842         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46843         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46846 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46848         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46849         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46851 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46853         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46854         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46855         defined.
46856         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46857         Likewise.
46858         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46859         entry for 2.16.
46861 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46863         * math/w_acos.c: Use non-signaling floating-point comparisons.
46864         * math/w_acosf.c: Likewise.
46865         * math/w_acosh.c: Likewise.
46866         * math/w_acoshf.c: Likewise.
46867         * math/w_acoshl.c: Likewise.
46868         * math/w_acosl.c: Likewise.
46869         * math/w_asin.c: Likewise.
46870         * math/w_asinf.c: Likewise.
46871         * math/w_asinl.c: Likewise.
46872         * math/w_atanh.c: Likewise.
46873         * math/w_atanhf.c: Likewise.
46874         * math/w_atanhl.c: Likewise.
46875         * math/w_exp2.c: Likewise.
46876         * math/w_exp2f.c: Likewise.
46877         * math/w_exp2l.c: Likewise.
46878         * math/w_j0.c: Likewise.
46879         * math/w_j0f.c: Likewise.
46880         * math/w_j0l.c: Likewise.
46881         * math/w_j1.c: Likewise.
46882         * math/w_j1f.c: Likewise.
46883         * math/w_j1l.c: Likewise.
46884         * math/w_jn.c: Likewise.
46885         * math/w_jnf.c: Likewise.
46886         * math/w_log.c: Likewise.
46887         * math/w_log10.c: Likewise.
46888         * math/w_log10f.c: Likewise.
46889         * math/w_log10l.c: Likewise.
46890         * math/w_log2.c: Likewise.
46891         * math/w_log2f.c: Likewise.
46892         * math/w_log2l.c: Likewise.
46893         * math/w_logf.c: Likewise.
46894         * math/w_logl.c: Likewise.
46895         * math/w_sqrt.c: Likewise.
46896         * math/w_sqrtf.c: Likewise.
46897         * math/w_sqrtl.c: Likewise.
46898         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46899         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46900         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46901         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46902         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46904 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46906         [BZ #9739]
46907         * manual/string.texi (strnlen): Use correct parameter name in
46908         equivalent expression.
46910 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46912         [BZ #11174]
46913         * manual/users.texi (seteuid): Consistently use neweuid for
46914         argument name.
46916 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46918         [BZ #13704]
46919         * manual/nss.texi (Services in the NSS configuration): Correct
46920         list of services in example configuration file.
46922 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46924         [BZ #11322]
46925         * manual/arith.texi: Remove statements about negative zero
46926         behaving identically to zero.
46928 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46930         [BZ #5993]
46931         * manual/install.texi: Do not document upgrading from libc5.
46933 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46935         [BZ #4596]
46936         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46938 2012-02-18  David S. Miller  <davem@davemloft.net>
46940         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46941         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46942         %o7 across the call.
46943         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46944         instead.
46945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46946         SETUP_PIC_REG_LEAF.
46947         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46948         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46949         * sysdeps/sparc/crtn.S: Likewise.
46951 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46953         * aout/Makefile: Remove.
46955 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46957         [BZ #13058]
46958         * manual/examples/argp-ex1.c (main): Format definition in GNU
46959         style.
46960         * manual/examples/argp-ex2.c (main): Likewise.
46961         * manual/examples/argp-ex3.c (main): Likewise.
46962         * manual/examples/argp-ex4.c (main): Likewise.
46963         * manual/examples/longopt.c (main): Use new-style prototype
46964         definition.
46965         * manual/examples/strncat.c (main): Specify return type and use
46966         (void) for arguments.
46967         * manual/examples/subopt.c (main): Use char **argv argument.
46969 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46971         [BZ #5077]
46972         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46973         rounding modes.
46975 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46977         [BZ #6907]
46978         * manual/string.texi (strchr): Change when strchrnul is
46979         recommended.
46981 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46983         [BZ #174]
46984         * manual/locale.texi (setlocale): Document LOCPATH.
46986 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46988         [BZ #10210]
46989         * manual/process.texi (execle): Move @dots{} before last argument.
46991 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46993         [BZ #12047]
46994         * manual/charset.texi (Generic Charset Conversion): Fix typo
46995         (LC_TYPE -> LC_CTYPE).
46997 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46999         [BZ #5805]
47000         * manual/arith.texi (scalbn): Use @var{} on parameter names.
47001         (scalbnf): Likewise.
47002         (scalbnl): Likewise.
47003         (scalbln): Likewise.
47004         (scalblnf): Likewise.
47005         (scalblnl): Likewise.
47006         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47007         (vwarnx): Likewise.
47008         (verr): Likewise.
47009         (verrx): Likewise.
47010         * manual/filesys.texi (telldir): Use braces around return type.
47011         * manual/llio.texi (mmap): Add space after comma.
47012         (mmap64): Likewise.
47013         * manual/math.texi (jn): Use @var{} on parameter names.
47014         (jnf): Likewise.
47015         (jnl): Likewise.
47016         (yn): Likewise.
47017         (ynf): Likewise.
47018         (ynl): Likewise.
47019         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47020         line.
47021         * manual/resource.texi (ulimit): Use @dots{} instead of literal
47022         "...".
47023         (sched_get_priority_min): Remove semicolon on @deftypefun line.
47024         (sched_get_priority_max): Likewise.
47025         * manual/signal.texi (sigvec): Add space after comma.
47026         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47027         names.
47028         (if_indextoname): Likewise.
47029         (if_freenameindex): Likewise.
47030         (sendto): Use ',' instead of '.' in prototype.
47031         * manual/startup.texi (syscall): Use @dots{} instead of literal
47032         "...".
47033         * manual/stdio.texi (__fpending): Separate initial words of
47034         paragraph from @deftypefun line.
47035         * manual/syslog.texi (syslog): Use @dots{} instead of literal
47036         "...".
47037         (vsyslog): Use @var{} on parameter names.
47038         * manual/terminal.texi (stty): Use @var{} on parameter names.
47039         * manual/users.texi (getutmp): Use @var{} on parameter names.
47040         (getutmpx): Likewise.
47042 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47044         [BZ #6884]
47045         * manual/stdio.texi (fopen): Fix typos in description of
47046         ",ccs=STRING".
47048 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
47050         [BZ #4026]
47051         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47052         get clock_id definition.
47054 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
47056         [BZ #4822]
47057         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47058         (madvise): Cast every argument to void on its own.
47060 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47062         [BZ #9902]
47063         * manual/startup.texi (Exit Status): Fix typo.
47065 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
47067         [BZ #10140]
47068         * manual/examples/argp-ex1.c: Include <stdlib.h>.
47069         * manual/examples/argp-ex2.c: Likewise.
47070         * manual/examples/argp-ex3.c: Likewise.
47072 2012-02-16  Richard Henderson  <rth@redhat.com>
47074         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47075         * sysdeps/s390/s390-32/initfini.c: Remove.
47076         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47077         * sysdeps/s390/s390-64/initfini.c: Remove.
47079 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47081         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47082         compiler output for sysdeps/generic/initfini.c.
47083         * sysdeps/sh/elf/initfini.c: Remove file.
47085 2012-02-16  David S. Miller  <davem@davemloft.net>
47087         [BZ #11494]
47088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47090         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47091         * sysdeps/sparc/crti.S: New file.
47092         * sysdeps/sparc/crtn.S: New file.
47093         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47094         * sysdeps/sparc/sparc64/Makefile: Likewise.
47096 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
47098         [BZ #3335]
47099         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47101 2012-02-15  Roland McGrath  <roland@hack.frob.com>
47103         [BZ #4822]
47104         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47106         * mach/devstream.c (cookie_io_functions_t): Macro removed.
47107         (write, read, close): Likewise.
47108         Patch by Aurelien Jarno <aurelien@aurel32.net>.
47110 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
47112         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47113         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47114         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47115         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47116         <bits/signalfd.h>.
47117         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47119         bits/signalfd.h.
47121 2012-02-14  Marek Polacek  <polacek@redhat.com>
47123         * sysdeps/x86_64/crti.S: New file.
47124         * sysdeps/x86_64/crtn.S: New file.
47125         * sysdeps/x86_64/elf/initfini.c: Remove file.
47127 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47129         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47130         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47131         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47132         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47133         <bits/inotify.h>.
47134         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47136         bits/inotify.h.
47138 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
47140         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47141         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47142         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47143         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47144         <bits/eventfd.h>.
47145         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47146         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47147         bits/eventfd.h.
47149 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
47151         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47152         __feraiseexcept instead of feraiseexcept.
47154         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47155         nanosleep invocations.
47156         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47157         strings, and add error checking for a nanosleep invocations.
47159 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
47161         Replace FSF snail mail address with URLs, as per GNU coding standards.
47162         Most of the snail mail addresses were wrong anyway, and omitting
47163         them makes the source code easier to maintain.  Almost all of the
47164         changes are to license notices and to locale LC_IDENTIFICATION
47165         addresses, except for this one:
47166         * manual/libc.texinfo: In "Published by", give the FSF's URL,
47167         not its snail mail address.
47169 2012-02-09  Richard Henderson  <rth@twiddle.net>
47171         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47172         of kernel-features.h.
47174         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47176 2012-02-08  Marek Polacek  <polacek@redhat.com>
47178         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47179         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47180         * sysdeps/gnu/_G_config.h: Likewise.
47181         * sysdeps/generic/_G_config.h: Likewise.
47183 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
47185         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47186         tests.
47187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47189         * sysdeps/powerpc/powerpc32/crti.S: New file.
47190         * sysdeps/powerpc/powerpc32/crtn.S: New file.
47191         * sysdeps/powerpc/powerpc64/crti.S: New file.
47192         * sysdeps/powerpc/powerpc64/crtn.S: New file.
47194         * Makeconfig (have-initfini): Don't set.
47195         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47196         * configure.in (nopic_initfini): Don't substitute.
47197         * config.h.in (HAVE_INITFINI): Don't #undef.
47198         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47199         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47201 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
47203         Support crti.S and crtn.S provided directly by architectures.
47204         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47205         [crti.S in sysdirs] (omit-deps): Likewise.
47206         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47207         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47208         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47209         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47210         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47211         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47212         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47213         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47214         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47215         compiler output for sysdeps/generic/initfini.c.
47216         * sysdeps/i386/elf/Makefile: Remove file.
47217         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47219 2012-02-07  Marek Polacek  <polacek@redhat.com>
47221         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47222         * sysdeps/gnu/_G_config.h: Likewise.
47223         * sysdeps/mach/hurd/_G_config.h: Likewise.
47225 2012-02-07  Marek Polacek  <polacek@redhat.com>
47227         * math/Makefile (tests): Add tst-CMPLX2.
47228         * math/tst-CMPLX2.c: New file.
47230 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
47232         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47234         * math/libm-test.inc (jn_test): Add missing L suffix.
47236 2012-02-06  Marek Polacek  <polacek@redhat.com>
47238         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47239         * sysdeps/i386/fpu/e_powf.S: Likewise.
47240         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47241         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47242         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47243         * sysdeps/i386/fpu/e_pow.S: Likewise.
47244         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47245         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47246         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47247         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47248         * sysdeps/i386/fpu/e_log2.S: Likewise.
47249         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47250         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47251         * sysdeps/i386/fpu/e_powl.S: Likewise.
47252         * sysdeps/i386/fpu/s_log1p.S: Likewise.
47253         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47254         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47255         * sysdeps/i386/fpu/e_logl.S: Likewise.
47256         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47257         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47258         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47259         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47260         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47261         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47262         * sysdeps/i386/fpu/e_log.S: Likewise.
47263         * sysdeps/i386/fpu/s_cexp.S: Likewise.
47264         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47265         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47266         * sysdeps/i386/fpu/e_logf.S: Likewise.
47267         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47268         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47269         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47270         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47271         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47272         * sysdeps/i386/fpu/e_log10.S: Likewise.
47273         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47274         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47275         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47276         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47277         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47278         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47279         * sysdeps/i386/asm-syntax.h: Likewise.
47280         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47281         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47282         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47283         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47284         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47285         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47286         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47287         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47288         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47289         * sysdeps/powerpc/sysdep.h: Likewise.
47290         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47291         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47293 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47295         [BZ #411]
47296         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47298 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47300         * sysdeps/i386/sysdep.h: Include <features.h>.
47301         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47302         version.
47304 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47306         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47307         Define.
47308         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47309         LOAD_PIC_REG_STR.
47311 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47313         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47314         (SETUP_PIC_REG): Use GET_PC_THUNK.
47315         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47316         macro.
47318 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47320         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47321         for non-PIC compilation.
47322         (SETUP_PIC_REG): Add .p2align directive.
47323         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47324         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47325         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47326         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47327         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47328         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47329         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47330         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47331         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47332         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47333         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47334         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47335         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47336         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47337         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47338         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47339         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47340         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47341         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47342         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47343         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47344         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47345         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47346         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47347         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47348         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47349         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47350         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47351         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47352         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47353         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47354         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47355         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47356         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47357         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47358         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47359         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47360         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47361         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47362         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47363         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47365 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47367         * math/tst-CMPLX.c: Include <stdio.h>.
47369 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47371         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47372         float.
47373         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47374         * sysdeps/sparc/bits/mathdef.h: Likewise.
47376 2012-01-31  Marek Polacek  <polacek@redhat.com>
47378         * libio/libio.h: Don't define _PARAMS.
47379         * locale/programs/config.h: Don't define PARAMS.
47380         * stdlib/strtol_l.c: Likewise.
47381         (__strtol_l): Remove PARAMS from the prototype.
47383 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47385         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47386         names.  Just use the correct names.  Remove unnecessary wrapper
47387         functions.
47388         * malloc/arena.c: Likewise.
47389         * malloc/hooks.c: Likewise.
47391         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47392         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47393         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47395 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47397         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47398         into tail calls.
47399         (update_get_addr): New function.
47400         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47401         GET_ADDR_MODULE parameter.
47403 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47405         * crypt/cert.c: Remove __STDC__ conditionals.
47406         * crypt/crypt-entry.c: Likewise.
47407         * crypt/crypt_util.c: Likewise.
47408         * libio/filedoalloc.c: Likewise.
47409         * libio/fileops.c: Likewise.
47410         * libio/genops.c: Likewise.
47411         * libio/iofclose.c: Likewise.
47412         * libio/iofdopen.c: Likewise.
47413         * libio/iofopen.c: Likewise.
47414         * libio/iofopen64.c: Likewise.
47415         * libio/iogetdelim.c: Likewise.
47416         * libio/iopopen.c: Likewise.
47417         * libio/obprintf.c: Likewise.
47418         * libio/oldfileops.c: Likewise.
47419         * libio/oldiofclose.c: Likewise.
47420         * libio/oldiofdopen.c: Likewise.
47421         * libio/oldiofopen.c: Likewise.
47422         * libio/oldiopopen.c: Likewise.
47423         * libio/wfiledoalloc.c: Likewise.
47424         * libio/wgenops.c: Likewise.
47425         * locale/programs/xmalloc.c: Likewise.
47426         * misc/syslog.c: Likewise.
47427         * stdio-common/xbug.c: Likewise.
47428         * string/memchr.c: Likewise.
47429         * string/memcmp.c: Likewise.
47430         * string/memrchr.c: Likewise.
47431         * string/rawmemchr.c: Likewise.
47432         * sysdeps/posix/getcwd.c: Likewise.
47433         * time/strftime_l.c: Likewise.
47435 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47437         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47438         * config.make.in (config-cflags-sse2avx): Define.
47439         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47440         Fix typo.
47442 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47444         * scripts/config.guess: Update from upstream config git repository.
47445         * scripts/config.sub: Likewise.
47447 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47449         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47450         (EM_NUM): Update.
47451         (R_TILEPRO_*, R_TILEGX_*): New macros.
47453         * scripts/firstversions.awk: Fix bug in version range handling.
47455         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47457         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47459         * include/sys/epoll.h: New file.
47460         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47461         libc_hidden_def.
47463 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47465         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47466         Avoid unnecessary __WORDSIZE == 64 test.
47467         (fmaxf): Use VEX format if possible.
47468         (fmax): Likewise.
47469         (fminf): Likewise.
47470         (fmin): Likewise.
47472         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47473         * math/math_private.h: Remove libc_fegetround* and
47474         libc_fesetround*.
47475         * sysdeps/i386/configure.in: Check for -msse2avx.
47476         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47477         also if SSE2AVX is defined.
47478         Remove libc_fegetround* and libc_fesetround*.
47479         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47480         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47481         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47482         of HAS_YMM_USABLE.
47483         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47484         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47485         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47486         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47487         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47489         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47491 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47493         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47494         size is not set.
47495         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47497 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47499         [BZ #13618]
47500         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47501         relocation.
47502         * Makeconfig (libm): Define.
47503         * elf/Makefile: Add rules to build and run tst-relsort1.
47504         * elf/tst-relsort1.c: New file.
47505         * elf/tst-relsort1mod1.c: New file.
47506         * elf/tst-relsort1mod2.c: New file.
47508 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47510         * math/s_ldexp.c: Remove __STDC__ conditionals.
47511         * math/s_ldexpf.c: Likewise.
47512         * math/s_ldexpl.c: Likewise.
47513         * math/s_nextafter.c: Likewise.
47514         * math/s_nexttowardf.c: Likewise.
47515         * math/s_significand.c: Likewise.
47516         * math/s_significandf.c: Likewise.
47517         * math/s_significandl.c: Likewise.
47518         * math/w_jnl.c: Likewise.
47519         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47520         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47521         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47522         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47523         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47524         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47525         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47526         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47527         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47528         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47529         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47530         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47531         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47532         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47533         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47534         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47535         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47536         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47537         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47538         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47539         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47540         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47541         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47542         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47543         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47544         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47545         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47546         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47547         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47548         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47549         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47550         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47551         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47552         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47553         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47554         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47555         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47556         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47557         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47558         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47559         * sysdeps/ieee754/k_standard.c: Likewise.
47560         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47561         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47562         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47563         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47564         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47565         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47566         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47567         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47568         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47569         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47570         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47571         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47572         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47573         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47574         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47575         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47576         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47577         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47578         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47579         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47580         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47581         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47582         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47583         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47584         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47585         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47586         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47587         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47588         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47589         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47590         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47591         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47592         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47593         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47594         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47595         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47596         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47597         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47598         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47599         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47600         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47601         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47602         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47603         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47604         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47605         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47606         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47607         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47608         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47609         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47610         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47611         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47612         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47613         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47614         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47615         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47616         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47617         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47618         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47619         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47620         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47621         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47622         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47623         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47624         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47625         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47626         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47627         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47628         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47629         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47630         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47631         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47632         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47633         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47634         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47635         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47636         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47637         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47638         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47639         * sysdeps/ieee754/s_matherr.c: Likewise.
47640         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47641         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47643         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47645 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47647         * crypt/md5.h: Remove __STDC__ conditionals.
47648         * libio/libioP.h: Likewise.
47649         * locale/programs/config.h: Likewise.
47650         * sysdeps/generic/sysdep.h: Likewise.
47651         * sysdeps/i386/asm-syntax.h: Likewise.
47652         * sysdeps/s390/asm-syntax.h: Likewise.
47653         * sysdeps/unix/sysdep.h: Likewise.
47654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47657 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47659         * libio/libio.h: Remove __STDC__ conditionals.
47660         * malloc/obstack.h: Likewise.
47661         * math/complex.h: Likewise.
47662         * math/math.h: Likewise.
47663         * sysdeps/generic/_G_config.h: Likewise.
47664         * sysdeps/gnu/_G_config.h: Likewise.
47665         * sysdeps/mach/hurd/_G_config.h: Likewise.
47666         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47667         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47668         * sysdeps/sparc/bits/mathdef.h: Likewise.
47670 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47672         [BZ #13583]
47673         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47674         Clean up HAS_* macros.
47675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47676         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47677         possible.
47678         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47679         HAS_AVX.
47680         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47681         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47682         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47683         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47684         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47686 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47688         * elf/tst-unique3.cc (gets): Remove declaration.
47689         * elf/tst-unique3lib.cc (gets): Likewise.
47690         * elf/tst-unique3lib2.cc (gets): Likewise.
47691         * elf/tst-unique4.cc (gets): Likewise.
47693 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47695         * include/stdio.h: Add C++ protection.  Add gets declarations and
47696         definitions.
47697         * debug/tst-chk1.c: Don't declare gets here.
47698         * stdio-common/tst-gets.c: Likewise.
47700 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47702         * posix/glob: Remove directory.
47704 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47706         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47708 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47710         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47711         of the non-standard EPFNOSUPPORT.
47713 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47715         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47716         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47717         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47719 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47721         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47723 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47725         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47726         transient errors.
47727         * nscd/grpcache.c (cache_addgr): Likewise.
47728         * nscd/hstcache.c (cache_addhst): Likewise.
47729         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47730         * nscd/pwdcache.c (cache_addpw): Likewise.
47731         * nscd/servicescache.c (cache_addserv): Likewise.
47733 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47735         * malloc/malloc.c: Various cleanups.
47736         * malloc/hooks.c: Likewise.
47738         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47739         * stdlib/bug-fmtmsg1.c: New file.
47741         * stdlib/fmtmsg.c (init): Add missing unlock.
47742         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47744 2012-01-12  Marek Polacek  <polacek@redhat.com>
47746         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47747         and _GNU_SOURCE.
47749 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47751         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47752         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47753         macro to ensure uniqueness of label name.
47754         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47755         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47757 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47759         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47761         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47762         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47763         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47764         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47766 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47768         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47770         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47771         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47772         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47774         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47776         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47777         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47778         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47779         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47781         * math/bits/math-finite.h: Add ldexp support.
47783 2012-01-10  Marek Polacek  <polacek@redhat.com>
47785         * locale/programs/localedef.h (show_archive_content): Add noreturn
47786         attribute.
47788 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47790         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47792 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47794         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47796         * io/Makefile (headers): Add bits/poll2.h.
47798 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47801         typo #include statement.
47803 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47805         * include/sys/cdefs.h: Define __attribute_alloc_size.
47806         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47807         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47808         * elf/pldd.c: Likewise.
47809         * iconv/iconv_charmap.c: Likewise.
47810         * iconv/iconvconfig.c: Likewise.
47811         * iconv/strtab.c: Likewise.
47812         * locale/programs/locale.c: Likewise.
47813         * locale/programs/localedef.h: Likewise.
47814         * locale/programs/simple-hash.c: Likewise.
47815         * nscd/nscd.h: Likewise.
47816         * nss/makedb.c: Likewise.
47817         * sysdeps/generic/ldconfig.h: Likewise.
47818         * locale/programs/localedef.c: Remove xmalloc prototype.
47819         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47821 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47823         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47824         appropriate.
47826 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47828         * math/Makefile (tests): Add tst-CMPLX.
47829         * math/tst-CMPLX.c: New file.
47831         * math/complex.h (CMPLXL): Fix typo.
47833         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47834         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47835         GLIBC_2.16.
47836         * debug/tst-chk1.c: Add poll and ppoll tests.
47837         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47838         * include/sys/poll.h: Add hidden proto for ppoll.
47839         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47840         * sysdeps/mach/hurd/ppoll.c: Likewise.
47841         * io/ppoll.c: Likewise.
47842         * debug/poll_chk.c: New file.
47843         * debug/ppoll_chk.c: New file.
47844         * include/bits/poll2.h: New file.
47845         * io/bits/poll2.h: New file.
47847         [BZ #1350]
47848         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47850         * configure.in: static is always set to yes.  Remove.
47851         * config.make.in: Don't set build-static.
47852         * Makeconfig: Remove use of build-static.
47853         * dlfcn/Makefile: Likewise.
47854         * elf/Makefile: Likewise.
47855         * math/Makefile: Likewise.
47856         * misc/Makefile: Likewise.
47857         * nptl/Makefile: Likewise.
47858         * sysdeps/mach/hurd/Makefile: Likewise.
47860         * configure.in: PWD_P is not used anymore.
47861         * config.make.in: Remove PWD_P entry.
47863         * configure.in: Remove last remnants of RANLIB.
47864         No need to check for signed size_t anymore.
47865         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47866         and IA-64.
47867         Remove __builtin_expect test because we require at least gcc 3.4.
47868         * aclocal.m4: Likewise.
47870         * wcsmbs/mbrtoc16.c: Implement using towc function.
47871         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47872         * wcsmbs/wcsmbsload.c: Likewise.
47873         * iconv/gconv_simple.c: Likewise.
47874         * iconv/gconv_int.h: Likewise.
47875         * iconv/gconv_builtin.h: Likewise.
47876         * iconv/iconv_prog.c: Remove CHAR16 handling.
47878         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47880         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47882         * configure.in: Remove --with-elf and --enable-bounded options.
47883         Dont set base_machine for ia64.  More non-ELF conditions removed.
47884         Remove testing and setting of leading underscore information.
47885         * config.make.in (build-bounded): Set to no.
47886         * config.h.in: Remove NO_UNDERSCORES entry.
47887         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47888         them.
47889         * csu/start.c: Remove !NO_UNDERSCORE code.
47890         * locale/localeinfo.h: Likewise.
47891         * sysdeps/generic/machine-gmon.h: Likewise.
47892         * sysdeps/generic/sysdep.h: Likewise.
47893         * sysdeps/i386/sysdep.h: Likewise.
47894         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47895         * sysdeps/mach/sysdep.h: Likewise.
47896         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47897         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47898         * sysdeps/sh/sysdep.h: Likewise.
47899         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47900         * sysdeps/unix/i386/sysdep.S: Likewise.
47901         * sysdeps/unix/sparc/start.c: Likewise.
47902         * sysdeps/unix/sparc/sysdep.S: Likewise.
47903         * sysdeps/unix/sparc/sysdep.h: Likewise.
47904         * sysdeps/unix/start.c: Likewise.
47905         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47906         * sysdeps/x86_64/sysdep.h: Likewise.
47908 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47910         [BZ #13553]
47911         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47912         for non-gcc.
47913         * argp/argp-fmtstream.h: Use const instead __const.
47914         * argp/argp.h: Likewise.
47915         * assert/assert.h: Likewise.
47916         * bits/fenv.h: Likewise.
47917         * bits/sched.h: Likewise.
47918         * bits/sigset.h: Likewise.
47919         * bits/sigthread.h: Likewise.
47920         * catgets/nl_types.h: Likewise.
47921         * conform/data/pthread.h-data: Likewise.
47922         * crypt/crypt-private.h: Likewise.
47923         * crypt/crypt.h: Likewise.
47924         * crypt/crypt_util.c: Likewise.
47925         * ctype/ctype.h: Likewise.
47926         * debug/execinfo.h: Likewise.
47927         * debug/mbsnrtowcs_chk.c: Likewise.
47928         * debug/mbsrtowcs_chk.c: Likewise.
47929         * debug/wcsnrtombs_chk.c: Likewise.
47930         * debug/wcsrtombs_chk.c: Likewise.
47931         * debug/wcstombs_chk.c: Likewise.
47932         * dirent/dirent.h: Likewise.
47933         * dlfcn/dlfcn.h: Likewise.
47934         * elf/neededtest4.c: Likewise.
47935         * grp/grp.h: Likewise.
47936         * gshadow/gshadow.h: Likewise.
47937         * iconv/gconv.h: Likewise.
47938         * iconv/gconv_int.h: Likewise.
47939         * iconv/gconv_simple.c: Likewise.
47940         * iconv/iconv.h: Likewise.
47941         * iconv/loop.c: Likewise.
47942         * iconv/skeleton.c: Likewise.
47943         * include/aio.h: Likewise.
47944         * include/aliases.h: Likewise.
47945         * include/argz.h: Likewise.
47946         * include/arpa/inet.h: Likewise.
47947         * include/assert.h: Likewise.
47948         * include/dirent.h: Likewise.
47949         * include/dlfcn.h: Likewise.
47950         * include/execinfo.h: Likewise.
47951         * include/fcntl.h: Likewise.
47952         * include/fenv.h: Likewise.
47953         * include/glob.h: Likewise.
47954         * include/grp.h: Likewise.
47955         * include/libintl.h: Likewise.
47956         * include/mntent.h: Likewise.
47957         * include/netdb.h: Likewise.
47958         * include/pwd.h: Likewise.
47959         * include/rpc/netdb.h: Likewise.
47960         * include/sched.h: Likewise.
47961         * include/search.h: Likewise.
47962         * include/shadow.h: Likewise.
47963         * include/signal.h: Likewise.
47964         * include/stdio.h: Likewise.
47965         * include/stdlib.h: Likewise.
47966         * include/string.h: Likewise.
47967         * include/sys/socket.h: Likewise.
47968         * include/sys/stat.h: Likewise.
47969         * include/sys/statfs.h: Likewise.
47970         * include/sys/statvfs.h: Likewise.
47971         * include/sys/syslog.h: Likewise.
47972         * include/sys/time.h: Likewise.
47973         * include/sys/uio.h: Likewise.
47974         * include/time.h: Likewise.
47975         * include/unistd.h: Likewise.
47976         * include/utmp.h: Likewise.
47977         * include/wchar.h: Likewise.
47978         * include/wctype.h: Likewise.
47979         * inet/aliases.h: Likewise.
47980         * inet/arpa/inet.h: Likewise.
47981         * inet/netinet/ether.h: Likewise.
47982         * inet/netinet/in.h: Likewise.
47983         * intl/libintl.h: Likewise.
47984         * io/bits/fcntl2.h: Likewise.
47985         * io/fcntl.h: Likewise.
47986         * io/ftw.h: Likewise.
47987         * io/sys/poll.h: Likewise.
47988         * io/sys/stat.h: Likewise.
47989         * io/sys/statfs.h: Likewise.
47990         * io/sys/statvfs.h: Likewise.
47991         * io/utime.h: Likewise.
47992         * libio/bits/stdio.h: Likewise.
47993         * libio/bits/stdio2.h: Likewise.
47994         * libio/libio.h: Likewise.
47995         * libio/libioP.h: Likewise.
47996         * libio/stdio.h: Likewise.
47997         * locale/lc-ctype.c: Likewise.
47998         * locale/locale.h: Likewise.
47999         * login/utmp.h: Likewise.
48000         * malloc/arena.c: Likewise.
48001         * malloc/malloc.c: Likewise.
48002         * malloc/malloc.h: Likewise.
48003         * malloc/mcheck.c: Likewise.
48004         * malloc/mtrace.c: Likewise.
48005         * math/bits/mathcalls.h: Likewise.
48006         * math/fenv.h: Likewise.
48007         * math/math_private.h: Likewise.
48008         * misc/bits/error.h: Likewise.
48009         * misc/bits/syslog.h: Likewise.
48010         * misc/err.h: Likewise.
48011         * misc/error.h: Likewise.
48012         * misc/fstab.h: Likewise.
48013         * misc/mntent.h: Likewise.
48014         * misc/regexp.h: Likewise.
48015         * misc/search.h: Likewise.
48016         * misc/sgtty.h: Likewise.
48017         * misc/sys/mman.h: Likewise.
48018         * misc/sys/syslog.h: Likewise.
48019         * misc/sys/uio.h: Likewise.
48020         * misc/sys/xattr.h: Likewise.
48021         * misc/ttyent.h: Likewise.
48022         * nis/rpcsvc/ypclnt.h: Likewise.
48023         * nss/nss.h: Likewise.
48024         * posix/bits/unistd.h: Likewise.
48025         * posix/fnmatch.h: Likewise.
48026         * posix/glob.h: Likewise.
48027         * posix/sched.h: Likewise.
48028         * posix/spawn.h: Likewise.
48029         * posix/sys/wait.h: Likewise.
48030         * posix/unistd.h: Likewise.
48031         * posix/wordexp.h: Likewise.
48032         * pwd/pwd.h: Likewise.
48033         * resolv/netdb.h: Likewise.
48034         * resource/sys/resource.h: Likewise.
48035         * rt/aio.h: Likewise.
48036         * rt/bits/mqueue2.h: Likewise.
48037         * rt/mqueue.h: Likewise.
48038         * shadow/shadow.h: Likewise.
48039         * signal/signal.h: Likewise.
48040         * socket/send.c: Likewise.
48041         * socket/sendto.c: Likewise.
48042         * socket/sys/socket.h: Likewise.
48043         * stdio-common/printf.h: Likewise.
48044         * stdlib/bits/stdlib.h: Likewise.
48045         * stdlib/fmtmsg.h: Likewise.
48046         * stdlib/monetary.h: Likewise.
48047         * stdlib/stdlib.h: Likewise.
48048         * stdlib/ucontext.h: Likewise.
48049         * streams/stropts.h: Likewise.
48050         * string/argz.h: Likewise.
48051         * string/bits/string2.h: Likewise.
48052         * string/string.h: Likewise.
48053         * string/strings.h: Likewise.
48054         * sunrpc/rpc/auth.h: Likewise.
48055         * sunrpc/rpc/auth_des.h: Likewise.
48056         * sunrpc/rpc/clnt.h: Likewise.
48057         * sunrpc/rpc/netdb.h: Likewise.
48058         * sunrpc/rpc/pmap_clnt.h: Likewise.
48059         * sunrpc/rpc/xdr.h: Likewise.
48060         * sysdeps/generic/inttypes.h: Likewise.
48061         * sysdeps/generic/net/if.h: Likewise.
48062         * sysdeps/generic/sys/swap.h: Likewise.
48063         * sysdeps/gnu/net/if.h: Likewise.
48064         * sysdeps/gnu/utmpx.h: Likewise.
48065         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48066         * sysdeps/i386/i486/bits/string.h: Likewise.
48067         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48068         * sysdeps/s390/bits/string.h: Likewise.
48069         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48070         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48071         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48072         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48073         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48074         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48075         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48076         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48077         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48078         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48079         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48080         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48081         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48082         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48083         * sysdeps/unix/sysv/linux/readv.c: Likewise.
48084         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48085         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48086         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48087         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48088         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48089         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48090         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48091         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48092         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48093         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48094         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48095         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48096         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48097         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48098         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48099         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48100         * sysvipc/sys/ipc.h: Likewise.
48101         * sysvipc/sys/msg.h: Likewise.
48102         * sysvipc/sys/sem.h: Likewise.
48103         * sysvipc/sys/shm.h: Likewise.
48104         * termios/termios.h: Likewise.
48105         * time/sys/time.h: Likewise.
48106         * time/time.h: Likewise.
48107         * wcsmbs/bits/wchar2.h: Likewise.
48108         * wcsmbs/uchar.h: Likewise.
48109         * wcsmbs/wchar.h: Likewise.
48110         * wctype/wctype.h: Likewise.
48112         [BZ #13551]
48113         * Makeconfig: Remove all but ELF support including AIX support.
48114         * Makerules: Likewise.
48115         * config.h.in: Likewise.
48116         * config.make.in: Likewise.
48117         * configure: Likewise.
48118         * configure.in: Likewise.
48119         * csu/Makefile: Likewise.
48120         * csu/version.c: Likewise.
48121         * debug/Makefile: Likewise.
48122         * dlfcn/Makefile: Likewise.
48123         * elf/Makefile: Likewise.
48124         * extra-lib.mk: Likewise.
48125         * iconv/Makefile: Likewise.
48126         * include/libc-symbols.h: Likewise.
48127         * include/shlib-compat.h: Likewise.
48128         * resolv/Makefile: Likewise.
48129         * resolv/res_libc.c: Likewise.
48130         * rt/Makefile: Likewise.
48131         * sysdeps/i386/asm-syntax.h: Likewise.
48132         * sysdeps/i386/sysdep.h: Likewise.
48133         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48134         * sysdeps/mach/sysdep.h: Likewise.
48135         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48136         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48137         * sysdeps/s390/asm-syntax.h: Likewise.
48138         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48139         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48140         * sysdeps/sh/sysdep.h: Likewise.
48141         * sysdeps/unix/sparc/sysdep.h: Likewise.
48142         * sysdeps/wordsize-32/divdi3.c: Likewise.
48143         * sysdeps/x86_64/sysdep.h: Likewise.
48145         * argp/Versions: Remove _argp_unlock_xxx.
48147         [BZ #13559]
48148         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
48149         * abilist/libBrokenLocale.abilist: Likewise.
48150         * abilist/libanl.abilist: Likewise.
48151         * abilist/libc.abilist: Likewise.
48152         * abilist/libcrypt.abilist: Likewise.
48153         * abilist/libdl.abilist: Likewise.
48154         * abilist/libm.abilist: Likewise.
48155         * abilist/libnsl.abilist: Likewise.
48156         * abilist/libpthread.abilist: Likewise.
48157         * abilist/libresolv.abilist: Likewise.
48158         * abilist/librt.abilist: Likewise.
48159         * abilist/libthread_db.abilist: Likewise.
48160         * abilist/libutil.abilist: Likewise.
48161         * abilist/libnss_db.abilist: New file.
48163         * scripts/abilist.awk: Add support for indirect functions.
48165         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48167         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48169         * shlib-versions: Remove entries for ports architectures.
48171         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
48172         files in ports.
48173         * elf/stackguard-macros.h: Remove support for IA-64.
48174         * elf/tst-auditmod1.c: Likewise.
48175         * sysdeps/generic/ldsodefs.h: Likewise.
48177         * sysdeps/unix/sysv/linux/configure.in: Ports should define
48178         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48179         configure files.
48181         [BZ #13552]
48182         * configure.in: Remove --enable-omitfp support.
48183         * FAQ.in: Adjust.
48184         * config.make.in: Likewise.
48185         * Makeconfig: Likewise.
48186         * manual/install.texi: Likewise.
48188         In case anyone cares, the IA-64 architecture could move to ports.
48189         * sysdeps/ia64/*: Removed.
48190         * sysdeps/unix/sysv/linux/ia64/*: Removed.
48191         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48193         [BZ #13555]
48194         * configure.in: Remove entries for unsupported architectures.
48196         [BZ #13533]
48197         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48198         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
48199         routines.
48200         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48201         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48202         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
48203         fall back to using wcrtomb.
48204         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48205         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
48206         renaming.
48207         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48208         * wcsmbs/tst-c16c32-1.c: New file.
48210         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48211         local variable.
48213         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48215         * elf/tst-unique3.cc: Add explicit declaration of gets.
48216         * elf/tst-unique3lib.cc: Likewise.
48217         * elf/tst-unique3lib2.cc: Likewise.
48218         * elf/tst-unique4.cc: Likewise.
48220         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48222 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
48224         [BZ #13566]
48225         * assert/assert.h (static_assert): Don't define for C++.
48226         * libio/stdio.h (gets): Do declare for C++ <= C++11.
48227         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48229 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
48231         * iconv/loop.c (single loop): Fix assertion in storing of
48232         remaining bytes.
48234         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48236 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
48238         * posix/getconf.c: Update copyright year.
48239         * nss/getent.c: Likewise.
48240         * nss/makedb.c: Likewise.
48241         * iconv/iconvconfig.c: Likewise.
48242         * iconv/iconv_prog.c: Likewise.
48243         * elf/ldconfig.c: Likewise.
48244         * elf/pldd.c: Likewise.
48245         * elf/sotruss.ksh: Likewise.
48246         * catgets/gencat.c: Likewise.
48247         * csu/version.c: Likewise.
48248         * elf/ldd.bash.in: Likewise.
48249         * elf/sprof.c (print_version): Likewise.
48250         * locale/programs/locale.c: Likewise.
48251         * locale/programs/localedef.c: Likewise.
48252         * login/programs/pt_chown.c: Likewise.
48253         * nscd/nscd.c (print_version): Likewise.
48254         * debug/xtrace.sh: Likewise.
48255         * malloc/memusage.sh: Likewise.
48256         * malloc/mtrace.pl: Likewise.
48257         * debug/catchsegv.sh: Likewise.
48259 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
48261         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48262         pure attribute.
48264 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
48266         [BZ #13533]
48267         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48268         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48269         transformations.
48270         * iconv/gconv_int.h: Likewise.
48271         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48272         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48273         from libc for GLIBC_2.16.
48274         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48275         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48276         * wcsmbs/uchar.h: Really define mbstate_t.
48277         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48278         * wcsmbs/c16rtomb.c: New file.
48279         * wcsmbs/mbrtoc16.c: New file.
48280         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48281         for C/POSIX locale.
48282         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48283         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48285         * wcsmbs/wchar.h: Add missing __restrict.
48287 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48289         [BZ #13532]
48290         * time/Makefile (routines): Add timespec_get.
48291         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48292         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48293         timespec for ISO C11.
48294         * time/timespec_get.c: New file.
48295         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48296         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48298         [BZ #13531]
48299         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48300         * stdlib/stdlib.h: Declare aligned_alloc.
48301         * Versions.def: Add GLIBC_2.16 for libc.
48302         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48304         [BZ 13527]
48305         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48306         ISO C11.
48308         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48309         code.
48311         [BZ #13528]
48312         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48314         [BZ #13529]
48315         * assert/assert.h (static_assert): Define.
48317         * version.h: Update for 2.16 development version.
48319         [BZ #13526]
48320         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48321         _ISOC11_SOURCE.
48323         * version.h (RELEASE): Bump for 2.15 release.
48324         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48326         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48327         Patch by Marek Polacek <mpolacek@redhat.com>.
48329         * bits/byteswap.h: Protect long long constants with __extension__.
48330         * sysdeps/i386/bits/byteswap.h: Likewise.
48331         * sysdeps/ia64/bits/byteswap.h: Likewise.
48332         * sysdeps/s390/bits/byteswap.h: Likewise.
48333         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48335 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48337         [BZ #13540]
48338         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48339         destination buffer.
48340         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48342 2011-12-23  Marek Polacek  <polacek@redhat.com>
48344         * elf/dl-addr.c (determine_info): Add inline keyword.
48345         * elf/tst-auditmod4b.c (check_avx): Likewise.
48346         * elf/tst-auditmod6b.c (check_avx): Likewise.
48347         * elf/tst-auditmod6c.c (check_avx): Likewise.
48348         * elf/tst-auditmod7b.c (check_avx): Likewise.
48350 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48352         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48353         !__SSE_MATH__.
48355 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48357         [BZ #13540]
48358         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48359         processing for last bytes.
48361 2011-08-06  Bruno Haible  <bruno@clisp.org>
48363         [BZ #13061]
48364         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48365         U+0385, not to U+1FEE.
48367         [BZ #13062]
48368         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48369         entry for U+00A5 U+0301.
48371 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48373         [BZ #13166]
48374         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48375         buffer for the output is too small.
48377         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48378         optimization.
48380         [BZ #13185]
48381         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48382         SSE flags if possible.
48384 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48386         [BZ #13540]
48387         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48388         processing for last bytes.
48390 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48392         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48393         (syscall-list-default-options, syscall-list-default-condition)
48394         (syscall-list-includes): Define.
48395         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48396         list of ABIs and options and #if conditions for each ABI.  Do not
48397         handle common syscalls between ABIs specially.
48398         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48399         Remove.
48400         (syscall-list-variants, syscall-list-32bit-options)
48401         (syscall-list-32bit-condition, syscall-list-64bit-options)
48402         (syscall-list-64bit-condition): Define.
48403         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48404         (syscall-list-variants, syscall-list-32bit-options)
48405         (syscall-list-32bit-condition, syscall-list-64bit-options)
48406         (syscall-list-64bit-condition): Define.
48407         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48408         Remove.
48409         (syscall-list-variants, syscall-list-32bit-options)
48410         (syscall-list-32bit-condition, syscall-list-64bit-options)
48411         (syscall-list-64bit-condition): Define.
48412         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48413         Remove.
48414         (syscall-list-variants, syscall-list-32bit-options)
48415         (syscall-list-32bit-condition, syscall-list-64bit-options)
48416         (syscall-list-64bit-condition): Define.
48418 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48420         * locale/iso-639.def: Add brx entry.
48422         [BZ #13328]
48423         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48424         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48426         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48427         __feraiseexcept_renamed.
48429 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48431         [BZ #13538]
48432         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48433         EPOLLET with unsigned values.
48434         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48435         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48437         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48438         to large cancellation.
48439         * math/s_cacoshf.c: Likewise.
48440         * math/s_cacoshl.c: Likewise.
48442 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48444         [BZ #13305]
48445         [BZ #12786]
48446         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48447         * math/s_cacoshf.c: Likewise.
48448         * math/s_cacoshl.c: Likewise.
48450 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48452         [BZ #13439]
48453         * iconv/gconv.h: Define __GCONV_SWAP.
48454         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48455         * iconvdata/utf-16.c: Likewise.
48456         * iconvdata/utf-32.c: Likewise.
48458 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48460         [BZ #13524]
48461         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48462         numerator after shifting it by one limb.
48464 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48466         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48467         under [__USE_EXTERN_INLINES].
48469 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48471         [BZ #13446]
48472         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48474 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48476         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48477         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48478         optimized code.
48479         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48480         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48481         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48482         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48483         for strncasecmp/strncasecmp_l compilation.
48484         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48485         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48487 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48489         [BZ #13484]
48490         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48491         of __asm__.
48493 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48495         [BZ #13506]
48496         * time/tzfile.c (__tzfile_read): Check values from file header.
48498 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48500         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48501         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48502         * powerpc/powerpc32/dl-start.S: Likewise.
48503         * powerpc/powerpc32/elf/start.S: Likewise.
48504         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48505         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48506         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48507         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48508         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48509         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48510         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48511         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48512         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48513         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48514         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48515         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48516         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48517         * powerpc/powerpc32/memset.S: Likewise.
48518         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48519         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48520         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48521         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48522         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48523         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48524         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48525         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48526         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48527         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48528         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48529         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48530         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48532 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48534         * math/libm-test.inc: Added more nearbyint tests.
48535         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48536         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48537         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48538         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48540 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48542         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48543         FD_CLOEXEC.
48545 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48547         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48548         Add wcscpy-ssse3 wcscpy-c.
48549         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48550         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48551         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48552         * sysdeps/x86_64/wcschr.S: New file.
48553         * sysdeps/x86_64/wcsrchr.S: New file.
48554         * string/test-strcmp.c: Remove checking of wcscmp function for
48555         wrong alignments.
48556         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48557         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48558         wcsrchr-sse2 wcsrchr-c.
48559         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48560         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48561         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48562         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48563         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48564         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48565         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48566         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48567         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48568         * wcsmbc/wcschr.c (WCSCHR): New macro.
48570 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48572         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48573         * wcsmbs/test-wcsrchr.c: New file.
48574         * string/test-strrchr.c: Add wcsrchr support.
48575         (WIDE): New macro.
48576         * wcsmbs/test-wcscpy.c: New file.
48577         * string/test-strcpy.c: Add wcscpy support.
48578         (WIDE): New macro.
48580 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48582         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48583         the inner loop.
48585 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48587         [BZ #13472]
48588         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48590 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48592         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48593         Minor optimizations.
48595         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48596         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48597         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48599 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48601         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48602         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48603         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48604         for gcc to avoid warnings.
48605         * inet/Makefile (tests): Add tst-checks.
48606         * inet/tst-checks.c: New file.
48608         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48609         warning.
48611         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48612         __wmemcmp_sse2.
48614         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48615         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48617         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48619 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48621         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48622         problem.
48624         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48626 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48628         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48629         conditional on GCC version.
48630         (__arch_compare_and_exchange_val_8_acq)
48631         (__arch_compare_and_exchange_val_16_acq)
48632         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48633         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48634         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48636 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48638         * sysdeps/sh/backtrace.c: New file.
48640 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48642         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48643         parenthesis.
48645 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48647         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48648         falling back to utime.
48650 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48652         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48653         expectations for float.
48655 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48657         * locale/weight.h (findidx): Add parameter len.
48658         * locale/weightwc.h (findidx): Likewise.
48659         * posix/fnmatch_loop.c (FCT): Adjust caller.
48660         * posix/regcomp.c (build_equiv_class): Likewise.
48661         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48662         * posix/regexec.c (check_node_accept_bytes): Likewise.
48663         * string/strcoll_l.c (STRCOLL): Likewise.
48664         * string/strxfrm_l.c (STRXFRM): Likewise.
48666 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48668         * Makefile.in: Remove CVSOPT handling.
48669         * configure.in: Remove use of AC_REVISION.
48670         * iconvdata/Makefile (distribute): No need to filter out CVS.
48671         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48672         handling.
48674 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48677         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48678         [USE_AS_STRNCASECMP_L]: Likewise.
48679         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48680         NO_TLS_DIRECT_SEG_REFS.
48681         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48682         Fix argument offsets for non-PIC.
48683         [USE_AS_STRNCASECMP_L]: Likewise.
48684         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48685         NO_TLS_DIRECT_SEG_REFS.
48687 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48689         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48690         O_CLOEXEC.
48691         * locale/loadlocale.c (_nl_load_locale): Likewise.
48693 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48695         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48696         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48697         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48698         (SYSCALL_GETTIME): Set errno on error.
48700         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48701         count references to noai6ai_cached.
48703 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48705         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48707         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48708         FD_CLOEXEC for /proc/self/maps.
48710         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48711         FD_CLOEXEC for /proc/meminfo.
48713         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48714         gai.conf.
48716         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48717         FD_CLOEXEC for given file.
48719         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48721         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48722         FD_CLOEXEC for /etc/hosts.
48723         (_gethtent): Likewise.
48725         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48727         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48728         cancellation and set FD_CLOEXEC for /etc/netgroup.
48730         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48731         reading /etc/publickey.
48733         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48734         allow cancellation when reading /etc/group.
48736         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48737         cancellation.
48738         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48740         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48741         when using data file.
48743         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48745         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48746         (write_nis_obj): Use "c" and "e" in fopen.
48748         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48750         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48752         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48754         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48756         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48757         locale.alias.
48759         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48761         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48763         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48765         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48766         file parsing and set FD_CLOEXEC.
48768 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48770         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48772 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48774         * malloc/arena.c (arena_get2): Don't call reused_arena when
48775         _int_new_arena failed.
48777 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48779         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48780         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48781         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48782         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48783         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48784         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48785         to compile strcasecmp and strncasecmp.
48786         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48787         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48791 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48793         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48794         locale-defines.sym to gen-as-const-headers.
48795         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48796         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48798         to compile strcasecmp and strncasecmp.
48799         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48800         strcasecmp_l and strncasecmp_l.
48801         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48802         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48803         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48804         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48805         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48806         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48807         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48808         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48809         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48810         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48811         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48813 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48815         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48816         result of SYSDEP_GETTIME_CPU to retval.
48817         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48818         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48820         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48821         variable.
48823         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48824         mantissa words.
48825         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48827         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48828         from unused variable.
48830         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48831         DWARF definitions.
48832         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48833         for assembling.
48835         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48836         over namespaces.
48838         * sunrpc/rpc_prot.c (rejected): Fix case value.
48840         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48841         unsigned long long int to avoid warnings in shift.
48843         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48844         of use of trans.
48845         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48846         variable tmp.
48848         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48849         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48850         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48852         * nis/nis_table.c (nis_list): Use variable of correct type for
48853         result of __follow_path call.
48855 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48857         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48858         of math functions ceil, trunc, floor, round, and sqrt, when
48859         avaliable on the platform.
48860         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48861         name clash.
48862         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48863         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48864         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48866 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48868         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48869         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48871 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48873         * include/unistd.h: Fix __readlink return type.
48874         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48876 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48878         * stdlib/ucontext.h: Undo last change for makecontext.
48880 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48882         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48884         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48885         * setjmp/setjmp.h: Mark functions as non-leaf.
48886         * setjmp/bits/setjmp2.h: Likewise.
48887         * stdlib/ucontext.h: Likewise.
48889 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48891         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48892         (reused_arena): Don't check arena limit.
48893         (arena_get2): Atomically check arena limit.
48895 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48897         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48898         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48901         instructions.
48903 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48905         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48906         handler when locking.
48908         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48909         Fix size of allocated buffer.
48911 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48913         [BZ #10103]
48914         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48915         declarations for long double functions.
48916         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48918         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48920 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48922         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48923         installed.
48925         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48926         is disabled.
48928 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48930         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48932 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48934         * include/alloca.h (stackinfo_alloca_round): Define.
48935         (extend_alloca): Use it.
48936         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48937         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48938         here.
48940         * scripts/check-local-headers.sh: Ignore libaudit.h.
48942         * nscd/Makefile (extra-objs): Make recursively expanded.
48944 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48946         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48947         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48949         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48950         * posix/tst-rfc3484-2.c: Likewise.
48951         * posix/tst-rfc3484-3.c: Likewise.
48953         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48954         process_vm_writev.
48955         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48956         process_vm_writev.
48957         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48958         process_vm_writev from libc using GLIBC_2.15 version.
48960         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48962 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48964         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48965         stack usage.
48967 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48969         [BZ #13367]
48970         * nss/getent.c (initgroups_keys): Show error message in case no group
48971         names are given.
48973         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48974         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48975         __bump_nl_timestamp.
48976         * nscd/connections (nscd_init): When host database is served open
48977         netlink socket and request notification about configuration changes.
48978         (main_loop_poll): Track netlink file descriptor and bump timestamp
48979         in case data becomes available.
48980         (main_loop_epoll): Likewise.
48981         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48982         (database_pers_head): Add extra_data fileds.
48983         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48984         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48985         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48986         Adjust caller.
48987         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48988         in6ai data, call __free_in6ai.
48989         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48990         Add -DHAVE_NETLINK.
48991         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48992         interface information.  Reuse previous data if netlink timestamp
48993         is not changed.
48994         (__bump_nl_timestamp): New function.
48995         (__free_in6ai): New function.
48997 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48999         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49000         close_not_cancel_no_status here.
49001         (__check_pf): Reorganize code a bit to not call close twice if OOM.
49003 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49005         [BZ #13276]
49006         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49007         return value.
49009         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49010         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49011         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49013 2011-07-03  Andreas Jaeger  <aj@suse.de>
49015         [BZ #10709]
49016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49017         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49018         * math/libm-test.inc (sin_test): Add test case.
49020 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
49022         [BZ #13337]
49023         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49024         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49026         * elf/chroot_canon.c (chroot_canon): Cleanups.
49028         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49030         [BZ #13335]
49031         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49032         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49034         * string/test-strchr.c: Make usable for strchrnul testing.
49035         * string/test-strchrnul.c: New file.
49036         * string/Makefile (strop-tests): Add strchrnul.
49038         * po/it.po: Update from translation team.
49039         * po/es.po: Likewise.
49041 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
49043         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49044         the three constants needed as parameters.  Drop the others.
49045         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49046         __m128i_strloadu_tolower.
49047         Create and initialize variable zero and use it in all the places
49048         where _mm_setzero_si128 was used.
49050         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49051         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49052         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49053         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49054         anymore.
49055         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49056         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49057         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49058         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49059         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49060         __mpranred, __mptan.
49061         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49062         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49063         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49064         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49065         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49066         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49067         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49068         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49069         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49071 2011-10-28  Andreas Schwab  <schwab@redhat.com>
49073         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49074         redefine if SHARED.
49075         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49077         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49078         wide char related routines to wcsmbs subdir.
49080 2011-10-27  Andreas Schwab  <schwab@redhat.com>
49082         [BZ #13344]
49083         * misc/sys/cdefs.h (__THROWNL): Define.
49084         * posix/unistd.h: Use __THREADNL instead of __THREAD
49085         for memory synchronization functions.
49087 2011-10-26  Roland McGrath  <roland@hack.frob.com>
49089         [BZ #13349]
49090         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49091         doesn't exist.
49092         * manual/stdio.texi (Obstack Streams): Node removed.
49094 2011-10-26  Andreas Schwab  <schwab@redhat.com>
49096         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49097         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49098         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49100         * math/math_private.h (math_force_eval): Allow non-addressable
49101         arguments.
49102         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49104 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49106         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49107         file is not needed.
49109         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49110         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49111         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49112         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49113         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49114         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49115         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49116         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49117         Add AVX variants.
49118         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49119         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49120         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49121         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49122         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49123         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49124         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49125         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49126         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49127         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49128         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49129         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49130         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49131         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49132         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49133         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49134         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49135         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49136         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49138         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49139         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
49141         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49142         place.  Use VEX encoding when compiling for AVX.
49144 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49146         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49147         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49149         * string/test-strchr.c (do_test): Don't generate NUL bytes.
49151 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49153         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49154         useless if() expression.
49155         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49156         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49157         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49158         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49159         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49160         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49161         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49162         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49163         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49164         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49165         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49166         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49167         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49168         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49169         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49170         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49171         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49172         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49173         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49175         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49177 2011-10-25  Andreas Schwab  <schwab@redhat.com>
49179         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49180         condition.
49181         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49183 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
49185         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49186         .text section.  Avoid duplicate constants.
49187         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49188         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49189         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49190         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49191         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49192         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49193         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49194         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49195         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49196         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49197         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49198         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49199         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49200         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49201         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49202         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49203         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49204         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49205         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49206         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49207         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49208         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49209         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49210         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49211         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49212         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49213         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49214         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49215         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49216         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49217         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49218         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49219         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49220         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49221         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49222         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49223         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49224         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49225         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49226         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49227         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49228         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49229         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49230         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49231         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49233 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
49235         * sysdeps/x86_64/dla.h: Move to ...
49236         * sysdeps/x86_64/fpu/dla.h: ...here.
49237         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49238         situations.  Use __builtin_fma only for gcc 4.6 and up.
49240         * config.make.in: Add have-mfma4 entry.
49241         * configure.in: Substitute libc_cv_cc_fma4.
49242         * math/Makefile (dbl-only-routines): Add sincostab.
49243         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49244         Use __sincostab not sincos.
49245         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49246         name is a macro.
49247         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49248         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49249         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49250         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
49251         using __copysign.
49252         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
49253         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
49254         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49255         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49256         and __inv.
49257         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49258         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49259         __copysign.
49260         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
49261         define aliases when function name is a macro.
49262         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49263         sysdeps/ieee754/dbl-64/sincos.tbl.
49264         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49265         fma4-enabled routines.
49266         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49267         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49268         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49269         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49270         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49271         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49272         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49273         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49274         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49275         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49276         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49277         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49278         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49279         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49280         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49281         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49282         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49283         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49284         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49285         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49286         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49287         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49288         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49289         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49290         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49291         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49292         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49293         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49294         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49295         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49297         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49298         rename.
49299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49300         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49301         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49302         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49303         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49304         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49305         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49308 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49310         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49312 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49314         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49316         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49317         prediction.
49318         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49320         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49321         Remove unused variable magic_bits.
49322         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49324         * string/strnlen.c: Define and use STRNLEN macro.
49325         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49326         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49327         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49328         * wcsmbs/wcslen.c: Define and use WCSLEN.
49329         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49330         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49331         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49332         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49333         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49334         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49335         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49337 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49340         strnlen-sse2-no-bsf.
49341         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49342         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49343         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49344         Add strnlen support.
49345         (USE_AS_STRNLEN): New macro.
49346         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49347         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49348         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49349         * sysdeps/x86_64/wcslen.S: New file.
49351 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49353         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49354         XMM-moves are used for copying on small sizes.
49356 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49358         * wcsmbs/Makefile (strop-tests): Add wcschr.
49359         * wcsmbs/test-wcschr.c: New file.
49360         * string/test-strchr.c: Update.
49361         Add wcschr support.
49362         (WIDE): New macro.
49364 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49366         * wcsmbs/Makefile (strop-tests): Add wcslen.
49367         * wcsmbs/test-wcslen.c: New file.
49368         * string/test-strlen.c: Update.
49369         Add wcslen support.
49370         (WIDE): New macro.
49372 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49374         * po/it.po: Update from translation team.
49376 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49378         * sysdeps/x86_64/wcscmp.S: Update.
49379         Fix wrong comparison semantics.
49380         wcscmp shall use signed comparison not unsigned.
49381         Don't use substraction to avoid overflow bug.
49382         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49383         * wcsmbc/wcscmp.c: Likewise.
49384         * string/test-strcmp.c: Likewise.
49385         Add new tests to check cases with negative values.
49387 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49389         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49390         * sysdeps/x86_64/dla.h: ...here.  New file.
49391         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49392         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49394         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49395         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49396         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49397         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49398         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49399         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49401 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49403         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49404         __ynl_finite aliases.
49406 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49410         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49411         define DLA_FMA.
49412         [DLA_FMA] (EMULV): Use DLA_FMA.
49413         [DLA_FMA] (MUL12): Use EMULV.
49414         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49415         that are not needed.
49416         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49417         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49418         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49419         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49420         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49421         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49422         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49424 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49426         * math/s_nan.c: Undef __nan.
49427         * math/s_nanf.c: Undef __nanf.
49428         * math/s_nanl.c: Undef __nanl.
49429         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49430         "math_private.h".
49432 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49434         * math/s_catan.c: Add branch predictions.
49435         * math/s_catanf.c: Likewise.
49436         * math/s_catanh.c: Likewise.
49437         * math/s_catanhf.c: Likewise.
49438         * math/s_catanhl.c: Likewise.
49439         * math/s_catanl.c: Likewise.
49440         * math/s_cexp.c: Likewise.
49441         * math/s_cexpf.c: Likewise.
49442         * math/s_cexpl.c: Likewise.
49443         * math/s_clog.c: Likewise.
49444         * math/s_clog10.c: Likewise.
49445         * math/s_clog10f.c: Likewise.
49446         * math/s_clog10l.c: Likewise.
49447         * math/s_clogf.c: Likewise.
49448         * math/s_clogl.c: Likewise.
49449         * math/s_csqrt.c: Likewise.
49450         * math/s_csqrtf.c: Likewise.
49451         * math/s_csqrtl.c: Likewise.
49452         * math/s_ctanf.c: Likewise.
49453         * math/s_ctanh.c: Likewise.
49454         * math/s_ctanhf.c: Likewise.
49455         * math/s_ctanhl.c: Likewise.
49456         * math/s_ctanl.c: Likewise.
49458         * math/math_private.h: Define __nan, __nanf, __nanl.
49459         * math/s_cacosh.c: Include <math_private.h>.
49460         * math/s_cacoshl.c: Likewise.
49461         * math/s_casinh.c: Likewise.
49462         * math/s_casinhf.c: Likewise.
49463         * math/s_casinhl.c: Likewise.
49464         * math/s_ccos.c: Rely entire on ccosh.
49465         * math/s_ccosf.c: Rely entire on ccoshf.
49466         * math/s_ccosl.c: Rely entirely on ccoshl.
49467         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49468         Remove tests for FE_INVALID.
49469         * math/s_ccoshf.c: Likewise.
49470         * math/s_ccoshl.c: Likewise.
49471         * math/s_csin.c: Likewise.
49472         * math/s_csinf.c: Likewise.
49473         * math/s_csinh.c Likewise.
49474         * math/s_csinhf.c: Likewise.
49475         * math/s_csinhl.c: Likewise.
49476         * math/s_csinl.c: Likewise.
49477         * math/s_ctan.c: Likewise.
49478         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49479         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49480         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49482 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49485         compilation problems.
49487         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49488         __builtin_expect.
49490 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49492         * sysdeps/i386/configure.in: Test for -mfma4 option.
49493         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49494         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49495         COMMON_CPUID_INDEX_80000001.
49496         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49497         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49498         use it if FMA3 is not supported.
49499         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49501         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49502         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49504 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49506         [BZ #12892]
49507         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49508         it would create a cycle with a link time dependency.
49510 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49512         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49513         instruction.
49514         * string/Makefile (strop-tests): Add rawmemchr.
49515         * string/test-rawmemchr.c: New file.
49517         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49518         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49519         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49520         when compiling str{,n}casecmp and when AVX is available.  Hook up
49521         new optimized code in initializers.
49523 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49525         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49526         __feraiseexcept instead of feraiseexcept.
49528 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49530         * math/math_private.h: Define defaults for libc_fetestexcept and
49531         libc_feupdateenv.
49532         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49533         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49534         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49535         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49536         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49537         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49538         libc_fetestexcept and libc_feupdateenv.
49540         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49541         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49542         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49543         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49544         libc_feholdexcept_setround.
49546         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49547         Add s_nearbyint-c and s_nearbyintf-c.
49548         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49549         nearbyintf inlines.
49550         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49551         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49552         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49553         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49555         * math/math_private.h: Define defaults for libc_fegetround,
49556         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49557         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49558         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49559         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49560         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49561         standard functions.
49562         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49563         Remove comments and hacks for old compiler versions.
49564         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49565         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49566         libc_feholdexceptl.
49568 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49570         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49571         (__feraiseexcept_renamed): Add __NTH.
49572         (feraiseexcept): Add __NTH.  Rename local variables to fix
49573         namespace violations.
49575 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49577         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49579         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49581         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49582         recently added interfaces.
49583         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49585         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49586         about macro parameter expansion.
49588         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49589         __NO_MATH_INLINES is defined.  Cleanups.
49591         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49592         and __floorf is target has SSE4.1.
49593         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49594         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49595         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49596         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49598         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49599         name.
49600         (floorf): Likewise.
49602         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49604 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49606         * misc/sys/cdefs.h: Fix last change.
49608         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49609         database lookup.
49611 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49613         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49615         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49616         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49617         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49618         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49619         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49620         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49621         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49622         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49623         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49624         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49625         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49626         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49627         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49628         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49629         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49630         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49631         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49632         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49633         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49634         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49635         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49636         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49638         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49639         ceil, ceilf, floor, floorf.
49641         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49642         Perform IRELATIVE relocations last.
49644         * elf/do-rel.h: Add another parameter nrelative, replacing the
49645         local variable with the same name.  Change name of the function
49646         to end in Rel or Rela (uppercase).
49647         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49648         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49649         elf_dynamic_do_##reloc function.
49651 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49653         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49654         is sufficient, at least on modern CPUs.
49656         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49658         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49659         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49661         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49662         __expl_finite.
49663         * math/bits/math-finite.h: Add entries for exp.
49664         * math/e_expl.c: Add __*_finite alias.
49665         * sysdeps/i386/fpu/e_exp.S: Likewise.
49666         * sysdeps/i386/fpu/e_expf.S: Likewise.
49667         * sysdeps/i386/fpu/e_expl.c: Likewise.
49668         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49669         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49670         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49671         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49672         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49673         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49674         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49676         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49677         is sufficient, at least on modern CPUs.
49679         * ctype/ctype-info.c (__ctype_init): Define.
49680         * include/ctype.h (__ctype_init): Declare.
49681         (__ctype_b_loc): The variable is always initialized.
49682         (__ctype_toupper_loc): Likewise.
49683         (__ctype_tolower_loc): Likewise.
49684         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49685         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49687 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49689         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49691         * configure.in: Also look in $cxxmachine/include for C++ system
49692         headers.
49694 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49696         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49697         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49698         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49699         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49700         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49701         (USE_AS_WMEMCMP): New macro.
49702         Fixing indents.
49703         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49704         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49705         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49706         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49707         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49708         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49709         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49710         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49711         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49712         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49713         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49714         (USE_AS_WMEMCMP): New macro.
49715         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49716         * sysdeps/string/test-memcmp.c: Update.
49717         Fix simple_wmemcmp.
49718         Add new tests.
49719         * wcsmbs/wmemcmp.c: Update.
49720         (WMEMCMP): New macro.
49721         Fix overflow bug.
49723 2011-10-12  Andreas Jaeger  <aj@suse.de>
49725         [BZ #13268]
49726         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49728 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49730         * libio/iofwide.c (do_length): Avoid warning.
49732         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49734 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49736         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49738         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49739         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49740         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49741         * sysdeps/i386/i686/fpu/e_log.S: New file.
49742         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49743         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49745         * ctype/ctype.h: Add support for inlined isXXX functions when
49746         compiling C++ code.
49748 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49750         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49752         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49754 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49756         [BZ #13291]
49757         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49759 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49761         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49762         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49763         feraiseexcept.
49765         * sysdeps/x86_64/memrchr.S: Check for zero size.
49767         * string/stratcliff.c: Add memrchr tests.
49769 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49772         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49773         rawmemchr-sse2 rawmemchr-sse2-bsf.
49774         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49775         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49776         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49777         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49778         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49779         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49780         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49781         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49782         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49783         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49784         * string/memrchr.c (MEMRCHR): New macro.
49786 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49788         Add integration with gcc's -ffinite-math-only and optimize wrapper
49789         functions in libm.
49790         * Versions.def: Define GLIBC_2.15 version for libm.
49791         * math/Makefile (headers): Add bits/math-finite.h.
49792         * math/bits/math-finite.h: New file.
49793         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49794         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49795         * math/e_acoshl.c: Add __*_finite alias.
49796         * math/e_acosl.c: Likewise.
49797         * math/e_asinl.c: Likewise.
49798         * math/e_atan2l.c: Likewise.
49799         * math/e_atanhl.c: Likewise.
49800         * math/e_coshl.c: Likewise.
49801         * math/e_exp10.c: Likewise.
49802         * math/e_exp10f.c: Likewise.
49803         * math/e_exp10l.c: Likewise.
49804         * math/e_exp2l.c: Likewise.
49805         * math/e_fmodl.c: Likewise.
49806         * math/e_gammal_r.c: Likewise.
49807         * math/e_hypotl.c: Likewise.
49808         * math/e_j0l.c: Likewise.
49809         * math/e_j1l.c: Likewise.
49810         * math/e_jnl.c: Likewise.
49811         * math/e_lgammal_r.c: Likewise.
49812         * math/e_log10l.c: Likewise.
49813         * math/e_log2l.c: Likewise.
49814         * math/e_logl.c: Likewise.
49815         * math/e_powl.c: Likewise.
49816         * math/e_sinhl.c: Likewise.
49817         * math/e_sqrtl.c: Likewise.
49818         * math/e_scalb.c: Completely rewritten and optimized.
49819         * math/e_scalbf.c: Likewise.
49820         * math/e_scalbl.c: Likewise.
49821         * math/w_acos.c: Likewise.
49822         * math/w_acosf.c: Likewise.
49823         * math/w_acosl.c: Likewise.
49824         * math/w_acosh.c: Likewise.
49825         * math/w_acoshf.c: Likewise.
49826         * math/w_acoshl.c: Likewise.
49827         * math/w_asin.c: Likewise.
49828         * math/w_asinf.c: Likewise.
49829         * math/w_asinl.c: Likewise.
49830         * math/w_atan2.c: Likewise.
49831         * math/w_atan2f.c: Likewise.
49832         * math/w_atan2l.c: Likewise.
49833         * math/w_atanh.c: Likewise.
49834         * math/w_atanhf.c: Likewise.
49835         * math/w_atanhl.c: Likewise.
49836         * math/w_exp10.c: Likewise.
49837         * math/w_exp10f.c: Likewise.
49838         * math/w_exp10l.c: Likewise.
49839         * math/w_fmod.c: Likewise.
49840         * math/w_fmodf.c: Likewise.
49841         * math/w_fmodl.c: Likewise.
49842         * math/w_j0.c: Likewise.
49843         * math/w_j0f.c: Likewise.
49844         * math/w_j0l.c: Likewise.
49845         * math/w_j1.c: Likewise.
49846         * math/w_j1f.c: Likewise.
49847         * math/w_j1l.c: Likewise.
49848         * math/w_jn.c: Likewise.
49849         * math/w_jnf.c: Likewise.
49850         * math/w_log.c: Likewise.
49851         * math/w_logf.c: Likewise.
49852         * math/w_logl.c: Likewise.
49853         * math/w_log10.c: Likewise.
49854         * math/w_log10f.c: Likewise.
49855         * math/w_log10l.c: Likewise.
49856         * math/w_log2.c: Likewise.
49857         * math/w_log2f.c: Likewise.
49858         * math/w_log2l.c: Likewise.
49859         * math/w_pow.c: Likewise.
49860         * math/w_powf.c: Likewise.
49861         * math/w_powl.c: Likewise.
49862         * math/w_remainder.c: Likewise.
49863         * math/w_remainderf.c: Likewise.
49864         * math/w_remainderl.c: Likewise.
49865         * math/w_scalb.c: Likewise.
49866         * math/w_scalbf.c: Likewise.
49867         * math/w_scalbl.c: Likewise.
49868         * math/w_sqrt.c: Likewise.
49869         * math/w_sqrtf.c: Likewise.
49870         * math/w_sqrtl.c: Likewise.
49871         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49872         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49873         used.
49874         * math/math_private.h: Declare __kernel_standard_f.
49875         * math/w_cosh.c: Remove cruft and optimize a bit.
49876         * math/w_coshf.c: Likewise.
49877         * math/w_coshl.c: Likewise.
49878         * math/w_exp2.c: Likewise.
49879         * math/w_exp2f.c: Likewise.
49880         * math/w_exp2l.c: Likewise.
49881         * math/w_hypot.c: Likewise.
49882         * math/w_hypotf.c: Likewise.
49883         * math/w_hypotl.c: Likewise.
49884         * math/w_lgamma.c: Likewise.
49885         * math/w_lgamma_r.c: Likewise.
49886         * math/w_lgammaf.c: Likewise.
49887         * math/w_lgammaf_r.c: Likewise.
49888         * math/w_lgammal.c: Likewise.
49889         * math/w_lgammal_r.c: Likewise.
49890         * math/w_sinh.c: Likewise.
49891         * math/w_sinhf.c: Likewise.
49892         * math/w_sinhl.c: Likewise.
49893         * math/w_tgamma.c: Likewise.
49894         * math/w_tgammaf.c: Likewise.
49895         * math/w_tgammal.c: Likewise.
49896         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49897         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49898         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49899         Minor optimizations.  Pretty printing.  Remove cruft.
49900         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49901         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49902         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49903         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49904         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49905         * sysdeps/i386/fpu/e_asin.S: Likewise.
49906         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49907         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49908         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49909         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49910         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49911         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49912         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49913         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49914         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49915         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49916         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49917         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49918         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49919         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49920         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49921         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49922         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49923         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49924         * sysdeps/i386/fpu/e_log.S: Likewise.
49925         * sysdeps/i386/fpu/e_log10.S: Likewise.
49926         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49927         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49928         * sysdeps/i386/fpu/e_log2.S: Likewise.
49929         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49930         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49931         * sysdeps/i386/fpu/e_logf.S: Likewise.
49932         * sysdeps/i386/fpu/e_logl.S: Likewise.
49933         * sysdeps/i386/fpu/e_pow.S: Likewise.
49934         * sysdeps/i386/fpu/e_powf.S: Likewise.
49935         * sysdeps/i386/fpu/e_powl.S: Likewise.
49936         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49937         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49938         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49939         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49940         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49941         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49942         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49943         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49944         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49945         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49946         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49947         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49948         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49949         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49950         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49951         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49952         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49953         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49954         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49955         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49956         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49957         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49958         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49959         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49961         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49962         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49963         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49964         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49965         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49966         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49967         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49968         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49969         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49970         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49971         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49972         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49973         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49974         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49975         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49976         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49977         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49978         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49979         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49980         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49981         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49982         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49983         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49984         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49985         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49986         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49987         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49988         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49989         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49990         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49991         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49992         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49993         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49994         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49995         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49996         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49997         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49998         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49999         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50000         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50001         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50002         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50003         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50004         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50005         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50006         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50007         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50008         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50009         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50010         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50011         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50013         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50014         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50015         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50016         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50017         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50018         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50019         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50020         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50021         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50022         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50023         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50024         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50025         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50026         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50027         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50028         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50029         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50030         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50031         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50032         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50033         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50034         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50035         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50036         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50037         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50038         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50039         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50040         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50041         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50042         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50043         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50044         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50045         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50046         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50047         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50048         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50049         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50050         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50051         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50052         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50053         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50054         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50055         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
50056         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50057         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50058         (__isnanf): Likewise.
50059         (__isinf_ns): Likewise.
50060         (__isinf_nsf): Likewise.
50061         (__finite): Likewise.
50062         (__finitef): Likewise.
50063         (__ieee754_sqrt): Define as macro.
50064         (__ieee754_sqrtf): Define as macro.
50065         (__ieee754_sqrtl): Define as macro.
50066         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50067         inlined copy.
50068         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50069         __FINITE_MATH_ONLY__ consistent.
50070         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50072 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
50074         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50075         of rawmemchr.
50077         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50079 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
50081         * po/ja.po: Update from translation team.
50083 2011-10-08  Roland McGrath  <roland@hack.frob.com>
50085         * locale/programs/locarchive.c (prepare_address_space): New function.
50086         (create_archive, enlarge_archive, open_archive): Use it.
50088         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50089         inside [SHARED], where it is used.
50091         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50093         * nss/getent.c (netgroup_keys): Remove unused variable.
50094         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50096 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
50098         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50099         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50100         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50101         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50102         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50103         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50104         * math/Makefile (libm-calls): Add s_isinf_ns.
50105         * math/divtc3.c: Use __isinf_nsl instead of isinf.
50106         * math/multc3.c: Likewise.
50107         * math/s_casin.c: Likewise.
50108         * math/s_casinf.c: Likewise.
50109         * math/s_casinl.c: Likewise.
50110         * math/s_ccos.c: Likewise.
50111         * math/s_ccosf.c: Likewise.
50112         * math/s_ccosl.c: Likewise.
50113         * math/s_ctan.c: Likewise.
50114         * math/s_ctanf.c: Likewise.
50115         * math/s_ctanh.c: Likewise.
50116         * math/s_ctanhf.c: Likewise.
50117         * math/s_ctanhl.c: Likewise.
50118         * math/s_ctanl.c: Likewise.
50119         * math/w_fmod.c: Likewise.
50120         * math/w_fmodf.c: Likewise.
50121         * math/w_fmodl.c: Likewise.
50122         * math/w_remainder.c: Likewise.
50123         * math/w_remainderf.c: Likewise.
50124         * math/w_remainderl.c: Likewise.
50125         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50126         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50127         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50128         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50129         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50130         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50131         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50132         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50134         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50135         of the number.
50136         * stdio-common/printf_fphex.c: Likewise.
50137         * stdio-common/printf_size.c: Likewise.
50139         * math/e_exp10.c: Include math_private.h using <...> not "...".
50140         * math/e_exp10f.c: Likewise.
50141         * math/e_exp10l.c: Likewise.
50142         * math/e_exp2l.c: Likewise.
50143         * math/e_j0l.c: Likewise.
50144         * math/e_j1l.c: Likewise.
50145         * math/e_jnl.c: Likewise.
50146         * math/e_lgammal_r.c: Likewise.
50147         * math/e_rem_pio2l.c: Likewise.
50148         * math/e_scalb.c: Likewise.
50149         * math/e_scalbf.c: Likewise.
50150         * math/e_scalbl.c: Likewise.
50151         * math/k_cosl.c: Likewise.
50152         * math/k_sinl.c: Likewise.
50153         * math/k_tanl.c: Likewise.
50154         * math/s_cacoshf.c: Likewise.
50155         * math/s_catan.c: Likewise.
50156         * math/s_catanf.c: Likewise.
50157         * math/s_catanh.c: Likewise.
50158         * math/s_catanhf.c: Likewise.
50159         * math/s_catanhl.c: Likewise.
50160         * math/s_catanl.c: Likewise.
50161         * math/s_ccosh.c: Likewise.
50162         * math/s_ccoshf.c: Likewise.
50163         * math/s_ccoshl.c: Likewise.
50164         * math/s_cexp.c: Likewise.
50165         * math/s_cexpf.c: Likewise.
50166         * math/s_cexpl.c: Likewise.
50167         * math/s_clog.c: Likewise.
50168         * math/s_clog10.c: Likewise.
50169         * math/s_clog10f.c: Likewise.
50170         * math/s_clog10l.c: Likewise.
50171         * math/s_clogf.c: Likewise.
50172         * math/s_clogl.c: Likewise.
50173         * math/s_csin.c: Likewise.
50174         * math/s_csinf.c: Likewise.
50175         * math/s_csinh.c: Likewise.
50176         * math/s_csinhf.c: Likewise.
50177         * math/s_csinhl.c: Likewise.
50178         * math/s_csinl.c: Likewise.
50179         * math/s_csqrt.c: Likewise.
50180         * math/s_csqrtf.c: Likewise.
50181         * math/s_csqrtl.c: Likewise.
50182         * math/s_ctan.c: Likewise.
50183         * math/s_ctanf.c: Likewise.
50184         * math/s_ctanh.c: Likewise.
50185         * math/s_ctanhf.c: Likewise.
50186         * math/s_ctanhl.c: Likewise.
50187         * math/s_ctanl.c: Likewise.
50188         * math/s_ldexp.c: Likewise.
50189         * math/s_ldexpf.c: Likewise.
50190         * math/s_ldexpl.c: Likewise.
50191         * math/s_significand.c: Likewise.
50192         * math/s_significandf.c: Likewise.
50193         * math/s_significandl.c: Likewise.
50194         * math/w_acos.c: Likewise.
50195         * math/w_acosf.c: Likewise.
50196         * math/w_acosh.c: Likewise.
50197         * math/w_acoshf.c: Likewise.
50198         * math/w_acoshl.c: Likewise.
50199         * math/w_acosl.c: Likewise.
50200         * math/w_asin.c: Likewise.
50201         * math/w_asinf.c: Likewise.
50202         * math/w_asinl.c: Likewise.
50203         * math/w_atan2.c: Likewise.
50204         * math/w_atan2f.c: Likewise.
50205         * math/w_atan2l.c: Likewise.
50206         * math/w_atanh.c: Likewise.
50207         * math/w_atanhf.c: Likewise.
50208         * math/w_atanhl.c: Likewise.
50209         * math/w_cosh.c: Likewise.
50210         * math/w_coshf.c: Likewise.
50211         * math/w_coshl.c: Likewise.
50212         * math/w_dremf.c: Likewise.
50213         * math/w_exp10.c: Likewise.
50214         * math/w_exp10f.c: Likewise.
50215         * math/w_exp10l.c: Likewise.
50216         * math/w_exp2.c: Likewise.
50217         * math/w_exp2f.c: Likewise.
50218         * math/w_fmod.c: Likewise.
50219         * math/w_fmodf.c: Likewise.
50220         * math/w_fmodl.c: Likewise.
50221         * math/w_hypot.c: Likewise.
50222         * math/w_hypotf.c: Likewise.
50223         * math/w_hypotl.c: Likewise.
50224         * math/w_j0.c: Likewise.
50225         * math/w_j0f.c: Likewise.
50226         * math/w_j0l.c: Likewise.
50227         * math/w_j1.c: Likewise.
50228         * math/w_j1f.c: Likewise.
50229         * math/w_j1l.c: Likewise.
50230         * math/w_jn.c: Likewise.
50231         * math/w_jnf.c: Likewise.
50232         * math/w_jnl.c: Likewise.
50233         * math/w_lgamma.c: Likewise.
50234         * math/w_lgamma_r.c: Likewise.
50235         * math/w_lgammaf.c: Likewise.
50236         * math/w_lgammaf_r.c: Likewise.
50237         * math/w_lgammal.c: Likewise.
50238         * math/w_lgammal_r.c: Likewise.
50239         * math/w_log.c: Likewise.
50240         * math/w_log10.c: Likewise.
50241         * math/w_log10f.c: Likewise.
50242         * math/w_log10l.c: Likewise.
50243         * math/w_log2.c: Likewise.
50244         * math/w_log2f.c: Likewise.
50245         * math/w_log2l.c: Likewise.
50246         * math/w_logf.c: Likewise.
50247         * math/w_logl.c: Likewise.
50248         * math/w_pow.c: Likewise.
50249         * math/w_powf.c: Likewise.
50250         * math/w_powl.c: Likewise.
50251         * math/w_remainder.c: Likewise.
50252         * math/w_remainderf.c: Likewise.
50253         * math/w_remainderl.c: Likewise.
50254         * math/w_scalb.c: Likewise.
50255         * math/w_scalbf.c: Likewise.
50256         * math/w_scalbl.c: Likewise.
50257         * math/w_sinh.c: Likewise.
50258         * math/w_sinhf.c: Likewise.
50259         * math/w_sinhl.c: Likewise.
50260         * math/w_sqrt.c: Likewise.
50261         * math/w_sqrtf.c: Likewise.
50262         * math/w_sqrtl.c: Likewise.
50263         * math/w_tgamma.c: Likewise.
50264         * math/w_tgammaf.c: Likewise.
50265         * math/w_tgammal.c: Likewise.
50267         * po/ja.po: Update from translation team.
50269 2011-09-29  Andreas Jaeger  <aj@suse.de>
50271         [BZ #13179]
50272         * sunrpc/netname.c (netname2host): Fix logic.
50274         [BZ #6779]
50275         [BZ #6783]
50276         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50277         correctly.
50278         * math/w_remainder.c (__remainder): Likewise.
50279         * math/w_remainderf.c (__remainderf): Likewise.
50280         * math/libm-test.inc (remainder_test): Add test cases.
50282 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50284         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50285         sdiv_qrnnd.
50287 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50289         * string/test-memcmp.c: Avoid unncessary #defines.
50290         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50292 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50294         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50295         Use new sse2 version for core i3 - i7 as it's faster
50296         than sse42 version.
50297         (bit_Prefer_PMINUB_for_stringop): New.
50298         * sysdeps/x86_64/rawmemchr.S: Update.
50299         Replace with faster SSE2 version.
50300         * sysdeps/x86_64/memrchr.S: New file.
50301         * sysdeps/x86_64/memchr.S: Update.
50302         Replace with faster SSE2 version.
50304 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50306         * elf/dl-load.c (lose): Add cast to avoid warning.
50308 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50310         * po/ca.po: Update from translation team.
50312         * inet/getnetgrent_r.c: Hook up nscd.
50313         * nscd/Makefile (routines): Add nscd_netgroup.
50314         (nscd-modules): Add netgroupcache.
50315         (CFLAGS-netgroupcache.c): Define.
50316         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50317         (cache_search): Add const to second parameter.
50318         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50319         INNETGR.
50320         (dbs): Add netgrdb entry.
50321         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50322         (verify_persistent_db): Handle netgrdb.
50323         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50324         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50325         GETFDNETGR.
50326         (netgroup_response_header): Define.
50327         (innetgroup_response_header): Define.
50328         (datahead): Add netgroup_response_header and innetgroup_response_header
50329         elements.
50330         * nscd/nscd.conf: Add entries for netgroup cache.
50331         * nscd/nscd.h (dbtype): Add netgrdb.
50332         (_PATH_NSCD_NETGROUP_DB): Define.
50333         (netgroup_iov_disabled): Declare.
50334         (xmalloc, xcalloc, xrealloc): Move declarations here.
50335         (cache_search): Adjust prototype.
50336         Add netgroup-related prototypes.
50337         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50338         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50339         (__nscd_innetgr): Declare.
50340         * nscd/selinux.c (perms): Use access_vector_t as element type and
50341         add netgroup-related initializers.
50342         * nscd/netgroupcache.c: New file.
50343         * nscd/nscd_netgroup.c: New file.
50344         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50345         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50346         For four parameters use innetgr.
50347         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50348         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50349         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50350         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50352         * nscd/connections.c (register_traced_file): Don't register file
50353         for disabled databases.
50355 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50357         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50359         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50360         from tree and freeing node.
50362 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50364         * nss/nsswitch.c (__nss_database_lookup): Handle
50365         nss_parse_service_list out of memory case.
50367 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50369         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50370         out of memory case.
50372 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50374         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50375         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50376         pass it down.
50377         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50378         elf_machine_rela, elf_machine_lazy_rel.
50379         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50380         (ELF_DYNAMIC_DO_REL): Likewise.
50381         (ELF_DYNAMIC_DO_RELA): Likewise.
50382         (ELF_DYNAMIC_RELOCATE): Likewise.
50383         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50384         to ELF_DYNAMIC_DO_REL.
50385         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50386         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50387         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50388         elf_machine_rela.
50389         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50390         skip_ifunc, don't call ifunc function if non-zero.
50391         (elf_machine_rela): Likewise.
50392         (elf_machine_lazy_rel): Likewise.
50393         (elf_machine_lazy_rela): Likewise.
50394         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50395         (elf_machine_lazy_rel): Likewise.
50396         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50397         Likewise.
50398         (elf_machine_lazy_rel): Likewise.
50399         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50400         Likewise.
50401         (elf_machine_lazy_rel): Likewise.
50402         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50403         (elf_machine_lazy_rel): Likewise.
50404         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50405         (elf_machine_lazy_rel): Likewise.
50406         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50407         (elf_machine_lazy_rel): Likewise.
50408         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50409         (elf_machine_lazy_rel): Likewise.
50410         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50411         (elf_machine_lazy_rel): Likewise.
50412         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50413         (elf_machine_lazy_rel): Likewise.
50415 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50417         * nss/nss_files/files-init.c (_nss_files_init): Use static
50418         initialization for all the *_traced_file variables.
50420 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50422         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50424 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50426         [BZ #13226]
50427         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50429 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50431         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50432         Reread the line before reparsing it.
50434 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50436         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50438 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50439             Maxim Kuvyrkov  <maxim@codesourcery.com>
50440             Joseph Myers  <joseph@codesourcery.com>
50442         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50443         if needed for __stack_chk_guard.
50445 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50447         * sysdeps/posix/spawni.c (script_execute): Always define it.
50448         It will be optimized away if unused.
50449         (maybe_script_execute): New function.
50450         (__spawni): Call it.
50452         * Makerules: Don't include tls.make.
50453         (config-tls): Always set to thread.
50454         * tls.make.c: File removed.
50456 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50458         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50459         * config.make.in (CPPFLAGS-config): New substituted variable.
50461 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50463         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50465         [BZ #13192]
50466         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50467         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50469 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50471         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50472         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50473         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50474         (CALL_FAIL): Likewise.
50475         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50476         (CALL_FAIL): Macro removed.
50477         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50479 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50481         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50482         for __FINITE_MATH_ONLY__ == 1.
50484 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50486         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50487         __ieee754_sqrt instead of sqrt.
50488         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50489         __ieee754_sqrtf instead of sqrtf.
50490         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50491         __floorf instead of floorf.
50492         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50493         __floorf, __truncf instead of floorf, truncf.
50495 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50497         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50499         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50500         __extern_always_inline.
50501         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50502         32-bit.
50504 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50506         * elf/rtld.c (dl_main): Also relocate in dependency order when
50507         doing symbol dependency testing.
50509 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50511         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50512         Always define `refsym'.
50514 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50516         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50517         (__FD_ELT): Renamed from __FDELT.
50518         * misc/bits/select2.h (__FD_ELT): Likewise.
50519         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50520         __FD_MASK instead of __FDELT, __FDMASK.
50521         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50522         Likewise.
50523         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50524         Likewise.
50526         * elf/Makefile (gen-ldd): Fix pattern.
50528         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50529         (init_tls): Likewise.
50531 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50533         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50535 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50537         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50538         `struct cmsghdr *' instead of `void *'.
50539         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50540         Likewise.
50542 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50544         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50545         if non-absolute.
50546         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50547         ldd_rewrite_script.
50549 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50551         * configure.in: Remove --with-tls option.
50552         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50553         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50554         out in case it is missing.
50555         * sysdeps/ia64/elf/configure.in: Likewise.
50556         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50557         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50558         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50559         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50560         * sysdeps/sh/elf/configure.in: Likewise.
50561         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50562         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50563         * sysdeps/x86_64/elf/configure.in: Likewise.
50564         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50565         * sysdeps/mach/hurd/tls.h: Likewise.
50567         [BZ #13067]
50568         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50570         [BZ #13090]
50571         * configure.in: Fix use of AC_INIT.
50573         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50575 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50577         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50578         __set_errno.
50579         * malloc/hooks.c: Likewise.
50581         [BZ #11929]
50582         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50583         variables statically.
50584         (narenas): Initialize.
50585         (list_lock): Initialize.
50586         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50587         initializtion of main_arena and list_lock.  Small cleanups.
50588         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50589         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50590         Add initializers to main_arena and mp_.
50591         (malloc_state): Remove pagesize member.  Change all users to use
50592         GLRO(dl_pagesize).
50594         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50595         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50596         is always initialized.
50598         * malloc/malloc.c: Removed unused configurations and dead code.
50599         * malloc/arena.c: Likewise.
50600         * malloc/hooks.c: Likewise.
50601         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50603         * include/tls.h: Removed.  USE___THREAD must always be defined.
50604         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50605         * elf/dl-libc.c: Likewise.
50606         * elf/dl-tsd.c: Likewise.
50607         * include/errno.h: Likewise.
50608         * include/netdb.h: Likewise.
50609         * include/resolv.h: Likewise.
50610         * inet/herrno-loc.c: Likewise.
50611         * inet/herrno.c: Likewise.
50612         * malloc/arena.c: Likewise.
50613         * malloc/hooks.c: Likewise.
50614         * malloc/malloc.c: Likewise.
50615         * resolv/res-state.c: Likewise.
50616         * resolv/res_libc.c: Likewise.
50617         * sysdeps/i386/dl-machine.h: Likewise.
50618         * sysdeps/ia64/dl-machine.h: Likewise.
50619         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50620         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50621         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50622         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50623         * sysdeps/sh/dl-machine.h: Likewise.
50624         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50625         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50626         * sysdeps/unix/i386/sysdep.S: Likewise.
50627         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50628         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50630         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50632         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50633         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50634         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50635         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50637         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50638         * sysdeps/x86_64/dl-machine.h: Likewise.
50639         * tls.make.c: Likewise.
50641         * configure.in: Remove --with-__thread option.  Make tests for
50642         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50643         tls_model attribute fail if no support is available.  Remove
50644         USE_IN_LIBIO.
50645         * Makeconfig: Adjust for dropped configure option.  All features are
50646         now mandatory.
50647         * Makerules: Likewise.
50648         * Versions.def: Likewise.
50649         * argp/argp-fmtstream.c: Likewise.
50650         * argp/argp-fmtstream.h: Likewise.
50651         * argp/argp-help.c: Likewise.
50652         * assert/assert.c: Likewise.
50653         * config.h.in: Likewise.
50654         * config.make.in: Likewise.
50655         * configure: Likewise.
50656         * configure.in: Likewise.
50657         * csu/Versions: Likewise.
50658         * csu/init.c: Likewise.
50659         * elf/tst-audit2.c: Likewise.
50660         * elf/tst-tls10.c: Likewise.
50661         * elf/tst-tls10.h: Likewise.
50662         * elf/tst-tls11.c: Likewise.
50663         * elf/tst-tls12.c: Likewise.
50664         * elf/tst-tls14.c: Likewise.
50665         * elf/tst-tlsmod11.c: Likewise.
50666         * elf/tst-tlsmod12.c: Likewise.
50667         * elf/tst-tlsmod13.c: Likewise.
50668         * elf/tst-tlsmod13a.c: Likewise.
50669         * elf/tst-tlsmod14a.c: Likewise.
50670         * elf/tst-tlsmod15b.c: Likewise.
50671         * elf/tst-tlsmod16a.c: Likewise.
50672         * elf/tst-tlsmod16b.c: Likewise.
50673         * elf/tst-tlsmod7.c: Likewise.
50674         * elf/tst-tlsmod8.c: Likewise.
50675         * elf/tst-tlsmod9.c: Likewise.
50676         * gmon/gmon.c: Likewise.
50677         * grp/fgetgrent_r.c: Likewise.
50678         * grp/putgrent.c: Likewise.
50679         * hurd/fopenport.c: Likewise.
50680         * include/libc-symbols.h: Likewise.
50681         * include/tls.h: Likewise.
50682         * intl/gettextP.h: Likewise.
50683         * intl/loadinfo.h: Likewise.
50684         * locale/global-locale.c: Likewise.
50685         * locale/localeinfo.h: Likewise.
50686         * mach/devstream.c: Likewise.
50687         * malloc/arena.c: Likewise.
50688         * malloc/set-freeres.c: Likewise.
50689         * misc/err.c: Likewise.
50690         * misc/getttyent.c: Likewise.
50691         * misc/mntent_r.c: Likewise.
50692         * posix/getopt.c: Likewise.
50693         * posix/wordexp.c: Likewise.
50694         * pwd/fgetpwent_r.c: Likewise.
50695         * resolv/Versions: Likewise.
50696         * resolv/res_hconf.c: Likewise.
50697         * shadow/fgetspent_r.c: Likewise.
50698         * shadow/putspent.c: Likewise.
50699         * stdio-common/printf_fphex.c: Likewise.
50700         * stdio-common/tmpfile.c: Likewise.
50701         * stdlib/abort.c: Likewise.
50702         * stdlib/fmtmsg.c: Likewise.
50703         * sunrpc/auth_unix.c: Likewise.
50704         * sunrpc/clnt_perr.c: Likewise.
50705         * sunrpc/clnt_tcp.c: Likewise.
50706         * sunrpc/clnt_udp.c: Likewise.
50707         * sunrpc/clnt_unix.c: Likewise.
50708         * sunrpc/openchild.c: Likewise.
50709         * sunrpc/svc_simple.c: Likewise.
50710         * sunrpc/svc_tcp.c: Likewise.
50711         * sunrpc/svc_udp.c: Likewise.
50712         * sunrpc/svc_unix.c: Likewise.
50713         * sunrpc/xdr.c: Likewise.
50714         * sunrpc/xdr_array.c: Likewise.
50715         * sunrpc/xdr_rec.c: Likewise.
50716         * sunrpc/xdr_ref.c: Likewise.
50717         * sunrpc/xdr_stdio.c: Likewise.
50719 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50721         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50723 2011-07-03  Andreas Jaeger  <aj@suse.de>
50725         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50726         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50727         regenerate with gen-libm-tests.pl.
50729 2010-05-12  Petr Baudis  <pasky@suse.cz>
50731         [BZ #11589]
50732         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50733         around j0() zero points by switching to j1().
50734         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50735         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50736         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50737         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50739 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50741         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50742         instead of 0.
50743         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50744         instead of 0.
50745         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50746         Patch in part by Pavel Roskin <proski@gnu.org>.
50748         [BZ #13138]
50749         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50750         realloc.
50751         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50752         Free memory block if necessary.
50754         [BZ #12847]
50755         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50756         be NULL.  Don't lock in this case.
50758 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50760         * elf/elf.h (ELFOSABI_GNU): New macro.
50761         (ELFOSABI_LINUX): Define to that.
50763 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50765         * string/strncat.c (strncat): Undef the symbol in case it has been
50766         defined in bits/string.h.
50768 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50770         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50772         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50773         link map.
50775 2011-08-17  Andreas Jaeger  <aj@suse.de>
50777         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50779 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50780             Ian Lance Taylor  <iant@google.com>
50782         * math/libm-test.inc (lround_test): New testcase.
50783         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50785 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50787         * Makefile: Remove support for automatic cvs check-ins.
50788         * Makerules: Likewise.
50789         * config.make.in: Likewise.
50790         * configure.in: Likewise.
50791         * intl/Makefile: Likewise.
50792         * locale/Makefile: Likewise.
50793         * po/Makefile: Likewise.
50794         * posix/Makefile: Likewise.
50795         * sysdeps/gnu/Makefile: Likewise.
50796         * sysdeps/mach/hurd/Makefile: Likewise.
50797         * sysdeps/sparc/sparc32/Makefile: Likewise.
50799         [BZ #13118]
50800         * posix/Makefile (bug-regex32-ENV): Define.
50801         Patch by John Stanley <jpsinthemix@verizon.net>.
50803         * misc/Makefile (headers): Add bits/select2.h.
50804         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50805         * misc/bits/select2.h: New file.
50806         * include/bits/select2.h: New file.
50807         * debug/Makefile (routines): Add fdelt_chk.
50808         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50809         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50810         FD_ISSET.
50811         * debug/fdelt_chk.c: New file.
50813         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50814         * wcsmbs/test-wmemcmp.c: Likewise.
50815         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50816         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50818 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50820         * string/Makefile (strop-tests): Add memcmp.
50821         * string/test-wmemcmp.c: New file.
50822         * string/test-memcmp.c: Add wmemcmp support.
50824 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50826         [BZ #13153]
50827         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50828         2011-07-19 change.
50830         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50831         garbage value in a __mach_port_mod_refs call in the cases of the
50832         task-self and thread-self ports.
50834 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50836         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50838 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50840         * elf/dl-load.c (lose): Check for non-null L.
50842 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50844         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50846         * elf/dl-libc.c (dlerror_run): Pass back error code from
50847         dl_catch_error.
50849         [BZ #13123]
50850         * elf/dl-load.c (lose): Free l_origin if it is valid.
50852         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50853         names.
50854         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50855         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50856         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50857         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50858         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50859         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50861 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50863         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50864         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50865         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50866         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50867         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50868         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50869         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50870         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50871         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50872         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50874 2011-08-15  Alan Modra  <amodra@gmail.com>
50876         [BZ #13092]
50877         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50878         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50879         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50880         ppc_mcount to static-only-routines.
50881         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50882         __mcount_internal.
50883         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50884         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50886 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50888         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50889         for finite and infinity parameters.
50891 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50893         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50894         and add nop instructions for throughput optimization.
50895         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50897 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50899         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50900         aligned copy for power7 with vector-scalar instructions.
50901         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50903 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50905         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50906         AVX check.
50908 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50910         [BZ #13144]
50911         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50912         last change.
50914 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50916         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50917         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50918         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50919         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50920         clock_gettime.
50922 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50924         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50925         Forgot to demangle the pointer.
50927         * sysdeps/i386/sysdep.h: Define atom_text_section.
50928         * sysdeps/x86_64/sysdep.h: Likewise.
50929         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50930         section with atom_text_section.
50931         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50932         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50933         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50934         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50935         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50937         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50938         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50939         already be defined.  Change to take two parameters and don't assign
50940         result to variable.  Adjust all users.
50941         Define INTERNAL_GETTIME if not already defined.
50942         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50943         call.
50944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50945         HAVE_CLOCK_GETTIME_VSYSCALL.
50946         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50948         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50949         gettimeofday vsyscall, just use time.
50951 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50953         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50954         <errno.h>.
50956 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50958         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50959         syscall on x86-64.
50960         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50961         syscall.
50962         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50963         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50964         syscall if possible.
50966 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50968         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50969         e_ident.  Don't pass to find_mapsXX.
50970         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50972 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50975         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50976         * sysdeps/x86_64/multiarch/strchr.S: Update.
50977         Check bit_slow_BSF bit.
50978         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50979         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50980         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50982 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50984         [BZ #13134]
50985         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50986         before glibc 2.15.
50987         (tryshell): Define.
50988         (__spawni): Change last parameter to be flag.  Test
50989         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50990         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50991         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50992         * posix/spawni.c: Likewise.
50993         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50994         * posix/spawnp.c: Likewise.  Change normal version to use
50995         SPAWN_XFLAGS_USE_PATH.
50996         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50997         SPAWN_XFLAGS_TRY_SHELL.
50999         [BZ #13150]
51000         * posix/glob.h: Remove gcc 1.x support.
51002         [BZ #13068]
51003         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51005 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51007         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51008         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51009         strrchr-sse2-bsf
51010         * sysdeps/i386/i686/multiarch/strchr.S: New file.
51011         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51012         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51013         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51014         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51015         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51017 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51019         * sysdeps/x86_64/wcscmp.S: New file.
51021         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51022         wcscmp-c wcscmp-sse2
51023         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51024         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51025         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51026         * wcsmbs/wcscmp.c: Allow renaming.
51028 2011-09-05  David S. Miller  <davem@davemloft.net>
51030         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51031         stack slot, rather than the struct return pointer slot.
51032         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51033         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51035         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51037 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
51039         * po/ja.po: Update from translation team.
51041         [BZ #13144]
51042         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51043         kernel in 64-bit binaries.
51045 2011-09-01  David S. Miller  <davem@davemloft.net>
51047         * elf/elf.h (HWCAP_SPARC_*): Move to..
51048         * sysdeps/sparc/sysdep.h: this new file and add new values.
51049         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51050         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51051         _DL_HWCAP_COUNT to 24.
51052         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51053         entries.
51054         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51055         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51056         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51057         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51058         instead of magic constants.
51059         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51061 2011-08-31  David S. Miller  <davem@davemloft.net>
51063         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51064         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51065         Reimplement to do errno handling inline.
51066         (SYSCALL_ERROR_HANDLER): New macro.
51067         (__SYSCALL_STRING): Do not do errno handling in asm.
51068         (__CLONE_SYSCALL_STRING): Delete.
51069         (__INTERNAL_SYSCALL_STRING): Delete.
51070         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51071         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51072         (PSEUDO): Reimplement to do errno handling inline.
51073         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51074         (SYSCALL_ERROR_HANDLER): New macro.
51075         (__SYSCALL_STRING): Do not do errno handling in asm.
51076         (__CLONE_SYSCALL_STRING): Delete.
51077         (__INTERNAL_SYSCALL_STRING): Delete.
51078         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51079         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51080         i386.
51081         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51082         (inline_syscall*): Add 'err' argument.
51083         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51084         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51085         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51086         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51088         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51089         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51091 2011-08-30  Andreas Schwab  <schwab@redhat.com>
51093         * elf/rtld.c (dl_main): Relocate objects in dependency order.
51095 2011-08-29  Jiri Olsa <jolsa@redhat.com>
51097         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51098         directive.
51100 2011-08-24  David S. Miller  <davem@davemloft.net>
51102         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51104 2011-08-24  Andreas Schwab  <schwab@redhat.com>
51106         * elf/Makefile: Add rules to build and run unload8 test.
51107         * elf/unload8.c: New file.
51108         * elf/unload8mod1.c: New file.
51109         * elf/unload8mod1x.c: New file.
51110         * elf/unload8mod2.c: New file.
51111         * elf/unload8mod3.c: New file.
51113         * elf/dl-close.c (_dl_close_worker): Reset private search list if
51114         it wasn't used.
51116 2011-08-23  David S. Miller  <davem@davemloft.net>
51118         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51119         subtract stack bias.
51120         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51121         %sp not %fp in calculations.
51122         (_JMPBUF_UNWINDS_ADJ): Likewise.
51124         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51125         (aio_suspend): Call it to force an exception region around the
51126         AIO_MISC_WAIT() invocation.
51128 2011-08-23  Andreas Schwab  <schwab@redhat.com>
51130         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51131         backslash.
51133 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
51135         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51136         protection macro.
51137         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51138         and <dl-machine.h>.
51139         (Elf64_FuncDesc): Remove.
51141 2011-08-22  David S. Miller  <davem@davemloft.net>
51143         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51144         sigaltstack check, add missing cfi directives.
51145         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51146         missing cfi directives, and sigaltstack handling.
51148 2011-08-16  Andreas Schwab  <schwab@redhat.com>
51150         [BZ #11724]
51151         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51152         object is seen twice.
51153         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51155         * elf/Makefile (distribute): Add tst-initorder2.c.
51156         (tests): Add tst-initorder2.
51157         (modules-names): Add tst-initorder2a tst-initorder2b
51158         tst-initorder2c tst-initorder2d.  Add rules to build them.
51159         ($(objpfx)tst-initorder2.out): New rule.
51160         * elf/tst-initorder2.c: New file.
51161         * elf/tst-initorder2.exp: New file.
51163 2011-08-22  Andreas Schwab  <schwab@redhat.com>
51165         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51167         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51168         dependencies back to end of function.
51170         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51171         $(elfobjdir)/ld.so.
51173 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
51175         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51176         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51178         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51179         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51180         of __vdso_gettimeofday.
51181         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51182         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
51183         attribute_hidden.
51184         (_libc_vdso_platform_setup): Remove initialization of
51185         __vdso_gettimeofday and __vdso_time.
51187 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51189         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51190         and fgetc_unlocked.
51191         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51192         getc_unlocked.
51194         * elf/dl-open.c (add_to_global): Report additions to the global scope
51195         for LD_DEBUG=scopes.
51196         (dl_open_worker): Also print scope of newly loaded dependencies.
51197         (_dl_show_scope): Indicate if there is no scope.
51199         [BZ #13114]
51200         * stdio-common/Makefile (tests): Add bug24.
51201         * stdio-common/bug24.c: New file.
51203 2011-08-19  Andreas Jaeger  <aj@suse.de>
51205         [BZ #13114]
51206         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51207         non-existant file when using close-on-exec mode.
51209 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
51211         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51212         the very first instruction.
51214         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51215         the CFI state in the end.
51216         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51217         inclusion of dl-trampoline.h.
51218         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51220 2011-08-19  Andreas Schwab  <schwab@redhat.com>
51222         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51223         expectations for long double.
51225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51226         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51228 2011-08-14  David S. Miller  <davem@davemloft.net>
51230         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51231         artificual limit depends upon the system page size.
51233 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51235         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51236         * resolv/Makefile: Define CFLAGS-libresolv.
51238 2011-08-17  Andreas Schwab  <schwab@redhat.com>
51240         * nss/makedb.c (compute_tables): Make variables used in nested
51241         function static.
51243 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
51245         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51246         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51247         if buffer was too small.
51249         * elf/pldd.c (main): Attach to all threads in the process.
51250         Rewrite /proc handling to use *at functions.
51252 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
51254         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51255         specifies first scope to show.
51256         (dl_open_worker): Update callers.  Move printing scope of new
51257         object to before the relocation.
51258         * elf/rtld.c (dl_main): Update _dl_show_scope call.
51259         * sysdeps/generic/ldsodefs.h: Update declaration.
51261         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51262         string for the scope number.
51264 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
51266         * nscd/servicescache.c (cache_addserv): Make sure written is always
51267         initialized.
51269 2011-08-14  Roland McGrath  <roland@hack.frob.com>
51271         * sysdeps/i386/i486/bits/atomic.h
51272         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51273         statement expression, so as to suppress "set but not used" warning.
51274         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51276         * string/strncat.c (STRNCAT): Use prototype definition.
51278         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51279         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51280         -Iprograms here.
51281         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51282         (localedef-modules): Add localedef.
51283         (locale-modules): Add locale.
51285         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51286         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51287         to avoid a warning.
51289 2011-08-14  David S. Miller  <davem@davemloft.net>
51291         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51292         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51294 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51296         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51297         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51298         * elf/rtld.c (dl_main): Set l_name of vDSO.
51299         Call _dl_show_scope when DL_DEBUG_SCOPES.
51300         (process_dl_debug): Recognize scopes flag and also set it for all.
51301         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51302         Declare _dl_show_scope.
51304         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51305         (do_dlopen): Pass caller_dlopen to dl_open.
51306         (__libc_dlopen_mode): Initialize caller_dlopen.
51308         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51309         of libc.  Make tolower call locale-independent.  Optimize a bit by
51310         using isdigit instead of isalnum.
51311         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51313 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51315         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51316         was a dependency or dynamically loaded.
51318 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51320         * intl/l10nflist.c: Allow architecture-specific pop function.
51321         * sysdeps/x86_64/l10nflist.c: New file.
51323         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51324         classification.
51326 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51328         * include/dirent.h: Add libc_hidden_proto for scandirat and
51329         scandirat64.  Don't declare __scandirat64.
51330         * dirent/scandirat.c: Add libc_hidden_def.
51331         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51332         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51334 2011-08-10  David S. Miller  <davem@davemloft.net>
51336         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51337         enum.
51338         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51339         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51340         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51342 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51344         * Versions.def [libc]: Add GLIBC_2.15.
51345         * dirent/Makefile (routines): Add scandirat and scandirat64.
51346         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51347         GLIBC_2.15.
51348         * dirent/dirent.h: Declare scandirat and scandirat64.
51349         * dirent/scandirat.c: New file.
51350         * dirent/scandirat64.c: New file.
51351         * sysdeps/wordsize-64/scandirat.c: New file.
51352         * sysdeps/wordsize-64/scandirat64.c: New file.
51353         * dirent/opendir.c: Define opendirat.
51354         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51355         using scandirat.
51356         * dirent/scandir64.c: Adjust for scandir.c change.
51357         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51358         __scandirat64, and __scandir_cancel_handler.
51359         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51360         additional parameter and use openat instead of open (outside of ld.so).
51361         Add new __opendir as wrapper around __opendirat.
51362         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51363         here without requiring old scandirat implementation.
51365 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51367         * dirent/scandir.c (cancel_handler): Renamed to
51368         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51369         defined.  Adjust users.
51370         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51371         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51373 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51375         * string/test-string.h (IMPL): Use __STRING to expand name and then
51376         stringify it.
51378         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51379         of cleanups.
51381 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51383         * string/Makefile: Update.
51384         (strop-tests): Append strncat.
51385         * string/test-wcscmp.c: New file.
51386         New comprehensive test for wcscmp.
51387         * string/test-strcmp.c: Update.
51388         (WIDE): New define.
51390 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51392         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51393         line.
51395 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51398         encoding to ACE if AI_IDN.
51400 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51402         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51403         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51405 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51407         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51408         Fix overflow bug in strncat.
51409         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51411         * string/test-strncat.c: Update.
51412         Add new tests for checking overflow bugs.
51414 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51416         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51417         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51418         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51419         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51420         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51421         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51422         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51423         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51424         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51426         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51427         (USE_AS_STRCAT): Define.
51428         Add strcat and strncat support.
51429         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51431 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51433         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51434         __n bigger than INT_MAX+1.
51435         (__strncmp_g): Likewise.
51437 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51439         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51440         * libio/stido.h: Likewise.
51442         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51443         (AF_NFC): Define.
51444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51445         (AF_NFC): Define.
51447         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51448         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51449         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51450         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51451         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51453         [BZ #13021]
51454         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51455         installed.
51457         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51458         typo.
51459         (_dl_x86_64_save_sse): Likewise.
51461 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51463         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51464         OSXSAVE.
51465         (_dl_x86_64_save_sse): Likewise.
51467         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51469         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51471 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51473         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51474         change.
51475         (_dl_x86_64_save_sse): Use correct AVX check.
51477 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51479         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51480         bug in strncpy/strncat.
51481         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51483 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51485         * string/tester.c (test_strcat): Add tests for different alignments
51486         of source and destination.
51487         (test_strncat): Likewise.
51489 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51491         [BZ #12852]
51492         * posix/glob.c (glob): Check passed in values before using them in
51493         expressions to avoid some overflows.
51494         (glob_in_dir): Likewise.
51496         [BZ #13007]
51497         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51498         check for AVX enablement so that we don't crash with old kernels and
51499         new hardware.
51500         * elf/tst-audit4.c: Add same checks here.
51501         * elf/tst-audit6.c: Likewise.
51503         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51505 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51507         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51509 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51511         * po/cs.po: Update from translation team.
51512         * po/bg.po: Likewise.
51514 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51516         * misc/sys/cdefs.h: Add support for const attribute.
51517         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51518         to gnu_dev_{major,minor,makedev} functions.
51520 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51522         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51524 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51526         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51527         strlen results.
51529 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51531         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51532         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51533         register in order to avoid conflicts with the soft frame pointer
51534         being held in r11 when necessary.
51535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51536         (INTERNAL_VSYSCALL_NCS): Likewise.
51538 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51540         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51541         * elf/dl-fini.c (_dl_fini): Adjust caller.
51542         * elf/dl-close.c (_dl_close_worker): Likewise.
51543         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51545 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51547         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51548         "aux_cache->nlibs < 0".
51550         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51551         in the reload-count case.
51553 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51555         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51556         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51557         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51558         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51559         * sysdeps/x86_64/multiarch/strcat.S: New file.
51560         * sysdeps/x86_64/multiarch/strncat.S: New file.
51561         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51562         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51563         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51564         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51565         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51566         (USE_AS_STRCAT): Define.
51567         Add strcat and strncat support.
51568         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51569         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51570         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51571         * string/strncat.c: Update.
51572         (USE_AS_STRNCAT): Define.
51573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51574         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51575         and i7.
51576         * sysdeps/x86_64/multiarch/init-arch.h
51577         (bit_Prefer_PMINUB_for_stringop): New.
51578         (index_Prefer_PMINUB_for_stringop): Likewise.
51579         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51580         bit_Prefer_PMINUB_for_stringop.
51582 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51584         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51585         buffer64.
51586         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51587         of casting of buffer.
51588         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51589         buffer32 and buffer64.
51590         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51591         writes instead of casting of buffer.
51592         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51593         buffer32.
51594         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51595         casting of buffer.
51597 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51599         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51601 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51603         * nscd/nscd.c (termination_handler): Don't do anything for a database
51604         if it has not yet been initialized.
51606 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51608         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51610 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51612         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51614 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51616         * po/nl.po: Update from translation team.
51617         * po/sv.po: Likewise.
51619 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51621         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51622         now disallowed by GCC.
51624         * configure.in (use-default-link): Default to yes if a test -shared
51625         link meets our qualifications.
51626         * configure: Regenerated.
51628         * config.make.in (output-format): New variable.
51629         * configure.in: Check for ld --print-output-format support.
51630         * configure: Regenerated.
51631         * Makerules ($(common-objpfx)format.lds)
51632         [$(output-format) != unknown]: Just use $(output-format),
51633         instead of the linker-script munging.
51635 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51637         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51638         of $(common-objpfx)shlib.lds.
51639         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51641         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51642         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51644         * configure.in (-z relro check): Adjust test code to add a large
51645         writable data section after it.
51646         * configure: Regenerated.
51648 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51650         * configure.in (-z relro check): Fix test code to make the variable
51651         truly const.
51652         * configure: Regenerated.
51654 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51656         * nscd/nscd.h (struct traced_file): Define.
51657         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51658         elements.  Add traced_files.
51659         (inotify_fd): Declare.
51660         (register_traced_file): Declare.
51661         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51662         (inotify_fd): Export.
51663         (resolv_conf_descr): Remove.
51664         (nscd_init): Move inotify descriptor creation to main.
51665         Don't register files for notification here.
51666         (register_traced_file): New function.
51667         (invalidate_cache): Don't use reset_res to determine whether to call
51668         res_init, go through the list of registered files.
51669         (main_loop_poll): The inotify descriptors are now stored in the
51670         structures for the traced files.
51671         (main_loop_epoll): Likewise
51672         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51673         to __nss_disable_nscd.
51674         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51675         for a database anymore.  Check the records for all the registered
51676         files instead.
51677         * nss/Makefile (libnss_files-routines): Add files-init.
51678         (libnss_db-routines): Add db-init.
51679         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51680         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51681         * nss/nss_db/db-init.c: New file.
51682         * nss/nss_files/files-init.c: New file.
51683         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51684         __nss_lookup_function.
51685         (__nss_lookup_function): Call nss_load_library.
51686         (nss_load_all_libraries): New function.
51687         (__nss_disable_nscd): Take parameter with callback function for files
51688         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51689         used for the cached services.
51690         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51691         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51692         options for features to all the files in nscd.
51694         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51696 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51698         * csu/elf-init.c (__libc_csu_init): Comment typo.
51700 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51702         * po/pl.po: Update from translation team.
51703         * po/ja.po: Likewise.
51704         * po/ru.po: Likewise.
51705         * po/ko.po: Likewise.
51706         * po/fr.po: Likewise.
51708 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51710         * configure.in (.ctors/.dtors header and trailer check):
51711         Use an empirical test on a built program.
51712         * configure: Regenerated.
51714         * configure.in (-z relro check): Use an empirical test on a built DSO.
51715         Detect, but do not require, on ia64.
51716         * configure: Regenerated.
51718         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51719         Update tests that use readelf to use $READELF instead.
51720         * configure: Regenerated.
51722 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51724         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51725         if the result is not used.
51727 2011-07-05  Andreas Jaeger  <aj@suse.de>
51729         [BZ#9696]
51730         * stdlib/tst-strtod.c: Add testcase.
51732 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51734         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51735         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51736         The latter has a higher limit.  Take additional parameter to pass to
51737         the new function.
51738         (__pathconf): Pass file to __statfs_link_max.
51739         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51740         __statfs_link_max.
51741         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51742         __statfs_link_max.
51744         [BZ #12868]
51745         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51746         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51747         Handle Lustre.
51748         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51749         (__statfs_filesize_max): Likewise.
51750         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51752 2011-07-05  Andreas Jaeger  <aj@suse.de>
51754         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51756 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51758         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51759         `status' variable.
51760         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51761         Likewise.
51763 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51765         * Makefile (strop-tests): Add strncat.
51766         * string/test-strncat.c: New file.
51768 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51770         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51772 2011-06-21  Andreas Jaeger  <aj@suse.de>
51774         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51775         Copy rule from iconvdata/Makefile.
51777 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51779         [BZ #12922]
51780         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51781         but no long options are defined, just return 'W'.
51783 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51785         [BZ #9696]
51786         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51788 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51790         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51791         netgroups to read.
51792         (innetgr): Likewise.
51794 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51796         * config.make.in (install_root): Default to $(DESTDIR).
51798 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51800         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51802 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51804         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51806         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51807         containing directory rather than embedding absolute directory names.
51809         * scripts/check-local-headers.sh: Rewritten using awk.
51810         Match by word, not by line.  Print error messages for matches.
51811         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51813         * Makerules [shlib-lds-flags empty]:
51814         ($(common-objpfx)libc_pic.opts): New target.
51815         ($(common-objpfx)libc_pic.os.clean): New target.
51816         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51818         * config.make.in (OBJCOPY): New variable.
51819         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51820         * configure: Regenerated.
51822         * config.make.in (use-default-link): New variable.
51823         * configure.in (use_default_link): Grok --with-default-link to set it.
51824         * configure: Regenerated.
51825         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51826         (shlib-lds, shlib-lds-flags): Define to empty.
51828         * Makerules (shlib-lds): New variable.
51829         (shlib-lds-flags): New variable.
51830         (build-shlib, build-moduile, build-module-asneeded): Use it.
51831         ($(common-objpfx)libc.so): Use $(shlib-lds).
51832         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51833         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51835         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51836         DT_FLAGS/DT_FLAGS_1 with zero flags.
51838         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51839         linker script munging.
51841 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51843         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51844         as 128-bit value.
51845         * crypt/sha512.c (sha512_process_block): Perform total addition using
51846         128-bit if possible.
51847         (__sha512_finish_ctx): Likewise.
51848         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51849         as 64-bit value.
51850         * crypt/sha256.c (SWAP64): Define.
51851         (sha256_process_block): Perform total addition using 64-bit if
51852         possible.
51853         (__sha256_finish_ctx): Likewise.
51855 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51857         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51858         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51859         * nscd/hstcache.c (cache_addhst): Likewise.
51860         * nscd/grpcache.c (cache_addgr): Likewise.
51861         * nscd/aicache.c (addhstaiX): Likewise
51862         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51864 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51866         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51867         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51868         * nscd/hstcache.c (cache_addhst): Likewise.
51869         * nscd/grpcache.c (cache_addgr): Likewise.
51870         * nscd/aicache.c (addhstaiX): Likewise
51872 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51874         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51875         domain only when needed.
51877 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51879         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51880         is always restored.
51882 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51884         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51885         are re-adding the entry.
51886         * nscd/servicescache.c (cache_addserv): Likewise.
51888 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51890         * sysdeps/generic/dl-irel.h: fix protection against multiple
51891         inclusions.
51892         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51894 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51896         [BZ #12935]
51897         * malloc/memusage.sh: Fix quoting in message.
51898         * debug/xtrace.sh: Likewise.
51900         * configure.in: Remove support for --experimental-malloc option, make
51901         it the default.
51902         * config.make.in: Likewise.
51903         * malloc/Makefile: Likewise.
51905 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51907         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51908         two-byte characters.
51910 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51912         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51913         AC_CACHE_CHECK invocation.
51914         * configure: Regenerated.
51916         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51918 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51920         [BZ #12350]
51921         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51922         bit from old_res_options.
51924         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51926         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51927         value type for setfct.
51929 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51931         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51932         __gettimeofday instead of gettimeofday.
51934 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51936         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51938 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51940         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51942         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51943         info.
51945 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51947         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51948         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51949         strcpy-sse2-unaligned strncpy-sse2-unaligned
51950         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51951         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51952         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51953         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51954         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51955         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51956         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51957         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51958         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51959         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51960         (STRCPY): Support SSE2 and SSSE3 versions.
51962 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51964         [BZ #12874]
51965         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51966         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51967         kernels which artificially limit size of requests.
51969 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51971         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51972         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51973         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51974         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51975         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51976         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51977         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51978         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51979         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51980         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51981         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51982         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51983         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51984         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51985         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51986         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51987         Enable unaligned load optimization for Intel Core i3, i5 and i7
51988         processors.
51989         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51990         Define.
51991         (index_Fast_Unaligned_Load): Define.
51992         (HAS_FAST_UNALIGNED_LOAD): Define.
51994 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51996         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51998 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52000         [BZ #12907]
52001         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52002         until it is clear that the information is realy needed.
52003         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52005 2011-06-22  Andreas Schwab  <schwab@redhat.com>
52007         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52009 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
52011         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52012         /sys/devices/system/cpu/online if it is usable.
52014         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52015         reading the information from the /proc filesystem to once a second.
52017 2011-06-21  Andreas Jaeger  <aj@suse.de>
52019         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52020         NULL after inclusion of kernel headers.
52022 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
52024         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52025         calls to internal_setent.
52027         [BZ #12885]
52028         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52029         addresses using gethostbyname4_r ignore IPv4 addresses.
52031         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52032         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
52034         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52036 2011-06-20  David S. Miller  <davem@davemloft.net>
52038         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52039         inclusions.
52040         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52042         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52043         (elf_irel): Use it.
52044         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52045         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52046         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52047         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52048         * sysdeps/x86_64/dl-irel.h: Likewise.
52050         * elf/dl-runtime.c: Use elf_ifunc_invoke.
52051         * elf/dl-sym.c: Likewise.
52053 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52055         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
52056         need to dereference resplen2.
52058 2011-06-14  Andreas Schwab  <schwab@redhat.com>
52060         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52062 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
52064         * Makeconfig: Define vardbdir and inst_vardbdir.
52065         * nss/Makefile: Add rules to install db-Makefile.
52067         * nss/nss_db/db-XXX.c: Cleanup.
52069         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52070         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52071         GLIBC_PRIVATE.
52072         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52073         * nss/makedb.c: Implement -g option to specify that value strings
52074         are generated and should not be added to table iterated over for
52075         get*ent calls.
52076         * nss/nss_db/db-initgroups.c: New file.
52078         * nss/getent.c: Add support for initgroups lookups through getgrouplist
52079         interface.
52081         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52082         (internal_getgrouplist): Adjust to name change.
52083         Update use_initgroups_entry if this is not the first call.
52084         * nss/databases.def: Add initgroups entry.
52086         * nss/makedb.c (compute_tables): Check result of multiple hash table
52087         sizes to minimize maximum chain length.
52089 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
52091         * Versions.def: Add entry for libnss_db.
52092         * shlib-versions: Likewise.
52093         * nss/Makefile: Add rules to build libnss_db.
52094         * nss/Versions: Add libnss_db information.  Organize libnss_files
52095         entries better.
52096         * nss/db-Makefile: Add gshadow support.  Change rules for the new
52097         makedb progra.  Some minor improvements to generate smaller files.
52098         * nss/nss_db/nss_db.h: Move NSS database header data structures to
52099         here from...
52100         * nss/makedb.c: ...here.
52101         Improve database format to be smaller and require less memory at
52102         runtime.
52103         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
52104         db anymore.
52105         * nss/nss_db/db-netgrp.c: Likewise.
52106         * nss/nss_db/db-open.c: Likewise.
52107         * nss/nss_files/flies-XXX.x: Adjust comments.
52108         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52109         * nss/nss_files/files-grp.c: Likewise.
52110         * nss/nss_files/files-hosts.c: Likewise.
52111         * nss/nss_files/files-network.c: Likewise.
52112         * nss/nss_files/files-proto.c: Likewise.
52113         * nss/nss_files/files-pwd.c: Likewise.
52114         * nss/nss_files/files-rpc.c: Likewise.
52115         * nss/nss_files/files-service.c: Likewise.
52116         * nss/nss_files/files-sgrp.c: Likewise.
52117         * nss/nss_files/files-spwd.c: Likewise.
52118         * nss/nss_db/db-alias.c: Removed.
52119         * nss/nss_db/dummy-db.h: Removed.
52121 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
52123         * nss/makedb.c: Rewritten to not use database library.
52124         * nss/Makefile: Update to build new makedb program.
52126 2011-06-14  Andreas Jaeger  <aj@suse.de>
52128         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52129         memset declaration.
52131 2011-06-10  Andreas Schwab  <schwab@redhat.com>
52133         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52134         tmpbuf.
52136 2011-06-10  Roland McGrath  <roland@hack.frob.com>
52138         * Makerules (shlib.lds): Fail if the linker script comes out empty.
52139         * elf/Makefile ($(objpfx)ld.so): Likewise.
52141         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52142         Don't list ld.so twice in dependencies.
52144         * posix/bug-regex31.c: Include <stdlib.h>.
52146         * nscd/hstcache.c (cache_addhst): Remove unused variable.
52148         * nis/nss_compat/compat-spwd.c
52149         (getspent_next_nss_netgr): Remove unused variable.
52150         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52152         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52153         nonmembers" output to use the right array.
52155         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52157         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52159         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52160         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52161         * catgets/gencat.c (read_input_file): Likewise.
52162         * locale/programs/locarchive.c (enlarge_archive): Likewise.
52164         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52165         variable definition inside #if's controlling its use.
52167         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52169         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52171         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52173         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52174         unreachable code.
52176         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52178         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52179         * configure: Regenerated.
52181         * Makerules: Revert last change.
52182         * elf/Makefile: Likewise.
52184 2011-06-09  Roland McGrath  <roland@hack.frob.com>
52186         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52187         * elf/Makefile ($(objpfx)librtld.os): Likewise.
52188         (reloc-link): Likewise.
52190 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
52192         * elf/Makefile: Add rules to build pldd.
52193         * elf/pldd.c: New file.
52194         * elf/pldd-xx.c: New file.
52196 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
52198         * version.h: Update for 2.15 development version.
52200 2011-06-07  David S. Miller  <davem@davemloft.net>
52202         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52203         ifuncs.
52204         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52205         elf_machine_lazy_rel): Likewise.
52206         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52207         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52208         elf_machine_lazy_rel): Likewise.
52209         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52210         dl_hwcap via passed in argument.
52211         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52212         Likewise.
52214 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52216         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
52218 2011-06-06  Roland McGrath  <roland@hack.frob.com>
52220         [BZ #12849]
52221         * manual/fdl-1.1.texi: New file, verbatim from:
52222         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52223         * manual/lgpl-2.1.texi: New file, verbatim from:
52224         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52225         * manual/Makefile (licenses): New variable, list those new file names.
52226         (texis): Use it.
52227         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52229         * manual/fdl.texi: File removed.
52230         * manual/lesser.texi: File removed.
52231         * manual/libc.texinfo (Copying, Documentation License):
52232         Use new @include file names, put @appendix directive before @include.
52234 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
52236         [BZ #12841]
52237         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52238         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52239         (mq_open): Add __NTH.
52241 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
52243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52244         Assume Intel Core i3/i5/i7 processor if AVX is available.
52246 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52248         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52249         typo.
52251 2011-05-31  Andreas Schwab  <schwab@redhat.com>
52253         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52254         memory.  Use alloca_account.  Fix memory leak when retrying.
52256 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
52258         * version.h (RELEASE): Bump for 2.14 release.
52259         * include/features.h (__GLIBC_MINOR__): Bump to 14.
52261         * config.make.in (RANLIB): Remove entry.
52263 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
52265         * po/Makefile (po-sed-cmd): Add ksh to extensions.
52266         (libc.pot): Work around missing support for .ksh extension in xgettext.
52268         [BZ #12684]
52269         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52270         if both request failed.
52271         (send_dg): In case of server errors clear resplen or *resplen2.
52273         [BZ #12454]
52274         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52275         when there are multiple maps.
52276         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52277         (_dl_fini): Remove test here.
52279         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52281 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52283         [BZ #12350]
52284         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52285         bit from old_res_options.
52286         (gaih_inet): Likewise.
52288         [BZ #11099]
52289         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52290         as signed.
52292         * resolv/res_init.c (res_setoptions): Make the code more compact.
52294         [BZ #11558]
52295         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52296         set RES_USEVC.
52298         [BZ #11634]
52299         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52301         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52303         [BZ #11781]
52304         * malloc/malloc.h: Declare malloc hook variables as volatile.
52306         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52307         in last patch.
52309         [BZ #11799]
52310         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52311         raise in the comment.
52312         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52314         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52316 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52318         [BZ #12811]
52319         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52320         grow the buffers more if it already has to be sufficient.
52321         (build_wcs_upper_buffer): Likewise.
52322         * posix/regexec.c (check_matching): Likewise.
52323         (clean_state_log_if_needed): Likewise.
52324         (extend_buffers): Don't enlarge buffers beyond size of the input
52325         buffer.
52326         Patches mostly by Emil Wojak <emil@wojak.eu>.
52327         * posix/bug-regex32.c: New file.
52328         * posix/Makefile (tests): Add bug-regex32.
52330         * locale/findlocale.c (_nl_find_locale): Return right away if
52331         _nl_explode_name failed.
52332         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52334         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52336         * debug/xtrace.sh: Unify messages.
52337         * malloc/memusage.sh: Likewise.
52339         [BZ #12813]
52340         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52341         time symbol from vDSO.  Substitute with vsyscall if not available.
52342         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52343         __vdso_time.
52345         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52346         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52347         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52348         Add sendmmsg and internal_sendmmsg.
52349         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52350         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52351         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52353         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52354         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52355         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52357 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52359         [BZ #12813]
52360         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52361         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52362         available.
52363         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52364         __vdso_getcpu.
52366         [BZ #12814]
52367         * iconvdata/Makefile (tests): Add bug-iconv9.
52368         * iconvdata/bug-iconv9.c: New file.
52370 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52372         [BZ #12814]
52373         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52375 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52377         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52378         (struct user_regs_struct): Change intcs field back to cs.
52380 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52382         * po/ja.po: Update from translation team.
52384 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52386         [BZ #12795]
52387         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52388         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52390 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52392         * stdlib/longlong.h: Update from GCC.
52394 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52396         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52397         parameter name.
52398         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52399         Add parameter name.
52400         (__sysconf): Pass it down.
52402 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52404         [BZ #12671]
52405         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52406         some situations.
52407         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52408         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52409         add in in __libc_use_alloca calls.  Adjust callers.
52410         (glob): Use malloc in some situations.
52412         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52413         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52414         pltexit.
52416 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52418         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52419         and CLOCK_BOOTTIME_ALARM.
52421         [BZ #12782]
52422         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52423         is returned.
52425         * string/_strerror.c (__strerror_r): Print negative errors as signed
52426         numbers.
52428         [BZ #12777]
52429         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52430         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52431         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52433         * configure.in: Fix typo in redirection and correct removal of test
52434         files in two cases.
52436         [BZ #12788]
52437         * locale/setlocale.c (new_composite_name): Fix test to check for
52438         identical name of all categories.
52440         [BZ #12792]
52441         * libio/filedoalloc.c (local_isatty): New function.
52442         (_IO_file_doallocate): Use local_isatty.
52443         * stdio-common/perror.c (perror): In case a new stream is used
52444         forward the stream error.
52445         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52446         error flag.
52448 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52450         [BZ #11869]
52451         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52452         alloca.
52453         * include/alloca.h (extend_alloca_account): Define.
52455         [BZ #11857]
52456         * posix/regex.h: Fix comments with documentation of user-accessible
52457         fields after compilation and describe correct free'ing of pattern
52458         after re_compile_pattern.
52459         Patch by Reuben Thomas <rrt@sc3d.org>.
52461 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52463         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52464         and -mno-altivec to prevent the compiler from using Altivec and/or
52465         VSX instructions when the corresponding registers are not available.
52467 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52469         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52471 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52473         * libio/freopen.c (freopen): Use __dup2, not dup2.
52474         * libio/freopen64.c (freopen64): Likewise.
52476 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52478         [BZ #12775]
52479         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52480         * math/Makefile (tests): Add test-powl.
52481         (CFLAGS-test-powl.c): Define.
52482         * math/test-powl.c: New file.
52484 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52486         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52488 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52490         [BZ #11837]
52491         * iconvdata/gb18030.c: Update to GB18020-2005.
52493 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52495         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52496         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52497         Patch by Aharon Robbins <arnold@skeeve.com>.
52499         [BZ #11892]
52500         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52501         on the stack.
52503         [BZ #11895]
52504         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52505         through underflows.
52507         [BZ #12766]
52508         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52509         point to strings before performing equality test for error_one_per_line
52510         mode.
52512         [BZ #11697]
52513         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52515         [BZ #11820]
52516         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52517         (struct user_fpregs_struct): Avoid __uint*_t types.
52519         [BZ #6420]
52520         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52521         symbol info.  Use it instead of calling _dl_addr locally.
52522         (lock_and_info): New function.
52523         (tr_freehook): Call lock_and_info and pass symbol info as additional
52524         parameter to tr_where.
52525         (tr_mallochook): Likewise.
52526         (tr_reallochook): Likewise.
52527         (tr_memalignhook): Likewise.
52529         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52530         used and couldn't be at all thread-safe.
52532 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52534         * libio/freopen.c (freopen): Don't close old file descriptor
52535         before the new one is opened.  Instead dup the new file descriptor
52536         to the old one after the new stream is created.
52537         * libio/freopen64.c (freopen64): Likewise.
52538         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52539         * libio/fileops.c (_IO_new_file_close_it): Handle new
52540         _IO_FLAGS2_NOCLOSE flag.
52541         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52542         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52543         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52544         _IO_FLAGS2_NOCLOSE flag.
52545         * include/unistd.h: Add hidden_proto for dup3.
52546         Define __have_dup3.
52547         * io/dup3.c: Define hidden symbol.
52548         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52550         [BZ #7101]
52551         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52552         when an incomplete long option is used.
52553         * posix/tst-getopt_long1.c: New file.
52554         * posix/Makefile (tests): Add tst-getopt_long1.
52556         [BZ #10138]
52557         * scripts/config.guess: Update from autoconf-2.68.
52558         * scripts/config.sub: Likewise.
52560         [BZ #10157]
52561         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52562         tests into ...
52563         (has_cpuclock): ...this.  New function.
52564         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52565         macro here based on has_cpuclock code.
52567         [BZ #10149]
52568         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52569         First byte (not low byte) is now always NUL.
52570         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52572         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52573         Use non-cancelable interfaces.
52575         [BZ #9809]
52576         * locale/iso-639.def: Add entry for Sorani.
52578         [BZ #11901]
52579         * include/stdlib.h: Move include protection to the right place.
52580         Define abort_msg_s.  Declare __abort_msg with it.
52581         * stdlib/abort.c (__abort_msg): Adjust type.
52582         * assert/assert.c (__assert_fail_base): New function.  Majority
52583         of code from __assert_fail.  Allocate memory for __abort_msg with
52584         mmap.
52585         (__assert_fail): Now call __assert_fail_base.
52586         * assert/assert-perr.c: Remove bulk of implementation.  Use
52587         __assert_fail_base.
52588         * include/assert.hL Declare __assert_fail_base.
52589         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52590         mmap.
52591         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52593 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52595         [BZ #11952]
52596         [BZ #12453]
52597         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52598         until all modules are registered in the DTV.
52599         * elf/Makefile: Add rules to build and run tst-tls19.
52600         * elf/tst-tls19.c: New file.
52601         * elf/tst-tls19mod1.c: New file.
52602         * elf/tst-tls19mod2.c: New file.
52603         * elf/tst-tls19mod3.c: New file.
52604         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52606         [BZ #12083]
52607         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52608         correctly.
52610         [BZ #12601]
52611         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52612         two-byte sequence errors.
52613         * iconvdata/Makefile (tests): Add bug-iconv8.
52614         * iconvdata/bug-iconv8.c: New file.
52616         [BZ #12626]
52617         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52618         buf2 definition.
52620         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52622         [BZ #12432]
52623         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52624         (dummy_getcfa): New function.
52625         (init): Get _Unwind_GetCFA address, use dummy if not found.
52626         (backtrace_helper): In recursion check, also check whether CFA changes.
52627         (__backtrace): Completely initialize arg.
52629         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52630         storing incomplete byte sequence in state object.  Avoid testing for
52631         guaranteed too small input if we know there is enough data available.
52633 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52635         * Makeconfig (+link-pie): Indent.
52636         * Rules (binaries-pie): Define if $(have-fpie) and
52637         $(build-shared).
52638         (binaries-shared): Also filter out $(binaries-pie).
52639         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52640         * nscd/Makefile (others-pie): Add nscd.
52641         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52642         ($(objpfx)nscd): Remove command override.
52643         * login/Makefile (others-pie): Add pt_chown.
52644         ($(objpfx)pt_chown): Remove command override.
52645         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52646         remove command overrides.
52648 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52650         * libio/tst_putwc.c: Fix error messages.
52652         [BZ #12724]
52653         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52654         currently writing and seek to current position when not.
52655         * libio/Makefile (tests): Add bug-fclose1.
52656         * libio/bug-fclose1.c: New file.
52658 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52660         [BZ #12511]
52661         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52662         don't set DF_1_NODELETE here.
52663         (do_lookup_x): When entering new entry test for copy relocation
52664         and if necessary set DF_1_NODELETE flag.
52665         * elf/tst-unique4.cc: New file.
52666         * elf/tst-unique4.h: New file.
52667         * elf/tst-unique4lib.cc: New file.
52668         * elf/Makefile: Add rules to build and run tst-unique4.
52669         Patch by Piotr Bury <pbury@goahead.com>.
52671 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52673         [BZ #12052]
52674         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52676         [BZ #12625]
52677         * misc/mntent_r.c (addmntent): Flush the stream after the output
52679         [BZ #12393]
52680         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52681         (is_trusted_path_normalize): Skip initial colon.  Append slash
52682         to empty buffer.  Duplicate is_trusted_path code but allow
52683         constructed patch to be prefix.
52684         (is_dst): Allow $ORIGIN followed by /.
52685         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52686         Correct testing of result of is_trusted_path_normalize
52687         (decompose_rpath): Fix warning.
52689 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52691         [BZ #11257]
52692         * grp/initgroups.c (internal_getgrouplist): When we found the service
52693         list through the initgroups entry in nsswitch.conf do not always
52694         continue on a successful lookup.  Don't always use the
52695         __nss_group_database value if it is set.
52696         * nss/nsswitch.conf (initgroups): Change action for successful db
52697         lookup to continue for compatibility.
52699 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52701         [BZ #11532]
52702         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52703         and CP774 modules.
52704         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52705         and CP774 modules.
52706         * iconvdata/tst-tables.sh: Likewise.
52707         * iconvdata/cp770.c: New file.
52708         * iconvdata/cp771.c: New file.
52709         * iconvdata/cp772.c: New file.
52710         * iconvdata/cp773.c: New file.
52711         * iconvdata/cp774.c: New file.
52712         * iconvdata/testdata/CP770: New file.
52713         * iconvdata/testdata/CP770..UTF8: New file.
52714         * iconvdata/testdata/CP771: New file.
52715         * iconvdata/testdata/CP771..UTF8: New file.
52716         * iconvdata/testdata/CP772: New file.
52717         * iconvdata/testdata/CP772..UTF8: New file.
52718         * iconvdata/testdata/CP773: New file.
52719         * iconvdata/testdata/CP773..UTF8: New file.
52720         * iconvdata/testdata/CP774: New file.
52721         * iconvdata/testdata/CP774..UTF8: New file.
52723         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52724         END CHARMAP line.
52725         * iconvdata/gen-8bit-gap.sh: Likewise.
52726         * iconvdata/gen-8bit.sh: Likewise.
52728         * locale/iso-639.def: Add ary entry.
52730         [BZ #11258]
52731         * locale/C-translit.h.in: Add U20A1 transliteration.
52733         [BZ #12178]
52734         * locale/iso-639.def: Add wae entry.
52735         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52737         [BZ #12545]
52738         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52739         for n.
52741         [BZ #12711]
52742         * locale/C-translit.h.in: Add entry for U20B9.
52743         Patch by pravin.d.s@gmail.com.
52745 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52747         [BZ #12713]
52748         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52749         ENAMETOOLONG use generic getcwd.
52750         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52751         in rtld.  Use *stat64.
52752         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52753         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52754         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52755         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52756         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52757         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52758         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52759         __fstatat64 macros.
52760         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52761         * dirent/rewinddir.c: Add libc_hidden_def.
52762         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52763         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52765         * include/dirent.h (__alloc_dir): Add flags parameter.
52766         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52767         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52768         __alloc_dir.
52769         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52770         from fdopendir if O_CLOEXEC is already set.
52772 2011-03-15  Alan Modra  <amodra@gmail.com>
52774         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52775         l_tls_firstbyte_offset non-zero.  Save padding offset in
52776         l_tls_firstbyte_offset for later use.
52777         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52778         freeing static tls block.
52780 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52782         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52783         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52784         being defined by the kernel headers.
52786 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52788         [BZ #12734]
52789         * resolv/resolv.h: Define RES_NOTLDQUERY.
52790         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52791         no-tld-query and set RES_NOTLDQUERY.
52792         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52793         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52794         modern BIND to search name as TLD unless forbidden.
52796 2011-05-07  Petr Baudis  <pasky@suse.cz>
52797             Ulrich Drepper  <drepper@gmail.com>
52799         [BZ #12393]
52800         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52801         (is_trusted_path): ...to here.
52802         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52803         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52804         using is_trusted_path_normalize() in setuid scripts.
52806 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52808         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52809         __BEGIN/__END_DECLS.
52811 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52813         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52814         NSS_STATUS_NOTFOUND if no record was found.
52816 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52818         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52819         (headers-not-in-tirpc): Remove rpc/netdb.h
52820         * resolv/netdb.h: Revert last change.
52822 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52824         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52825         circular dependency between libgcc.a and libc.a.
52827 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52829         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52830         * nis/Makefile: Don't install rpcsvc/*.
52831         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52832         instead of <rpc/types.h>.
52833         (MAXHOSTNAMELEN): Define.
52835 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52837         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52839 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52841         [BZ #12714]
52842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52843         gethostbyname4_r when IPv6 results are possible.
52845 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52847         [BZ #12723]
52848         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52849         _PC_PIPE_BUF handling.
52851 2011-04-30  Bruno Haible  <bruno@clisp.org>
52853         [BZ #12717]
52854         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52855         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52856         to 'int'.
52857         * inet/getnameinfo.c (getnameinfo): Likewise.
52859 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52861         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52862         to groups setting in database lookup.
52863         * nss/nsswitch.conf: Add initgroups entry.
52865 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52867         [BZ #12685]
52868         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52869         mode string.
52870         Patch by Eric Blake <eblake@redhat.com>.
52872 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52874         * sunrpc/Makefile (need-export-routines): Add svc_run.
52875         (routines): Remove svc_run.
52876         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52877         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52878         * sunrpc/svc_run.c (svc_run): Likewise.
52879         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52881 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52883         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52884         problem in reallocation in last patch.
52886 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52888         * sunrpc/Makefile: Move inclusion of Rules.
52890 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52892         * nss/nss_files/files-initgroups.c: New file.
52893         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52894         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52895         _nss_files_initgroups_dyn.
52897 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52899         * elf/elf.h (R_ARM_IRELATIVE): Define.
52901 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52903         * po/ru.po: Update from translation team.
52905 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52907         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52908         dependencies.
52910 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52912         [BZ #12653]
52913         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52914         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52915         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52916         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52917         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52919 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52921         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52922         differing bytes.
52923         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52924         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52925         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52927 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52929         [BZ #12420]
52930         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52931         storing it.
52932         * stdlib/bug-getcontext.c: New file.
52933         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52935 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52937         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52938         instructions into .machine "z9-109".
52939         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52940         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52942 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52944         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52945         between environment variables and auxiliary vector.
52947 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52949         * Makefile: Add rules to build linkobj/libc.so.
52950         * include/libc-symbols.h: Define libc_hidden_nolink.
52951         * include/rpc/auth.h: Mark functions which are to be hidden.
52952         * include/rpc/auth_des.h: Likewise.
52953         * include/rpc/auth_unix.h: Likewise.
52954         * include/rpc/clnt.h: Likewise.
52955         * include/rpc/des_crypt.h: Likewise.
52956         * include/rpc/key_prot.h: Likewise.
52957         * include/rpc/pmap_clnt.h: Likewise.
52958         * include/rpc/pmap_prot.h: Likewise.
52959         * include/rpc/pmap_rmt.h: Likewise.
52960         * include/rpc/rpc_msg.h: Likewise.
52961         * include/rpc/svc.h: Likewise.
52962         * include/rpc/svc_auth.h: Likewise.
52963         * include/rpc/xdr.h: Likewise.
52964         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52965         * nss/Makefile: Likewise.
52966         * sunrpc/Makefile: Don't install headers.  Build library with normal
52967         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52968         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52969         for the compat linking library.  Remove use of INTDEF/INTUSE.
52970         * sunrpc/auth_none.c: Likewise.
52971         * sunrpc/auth_unix.c: Likewise.
52972         * sunrpc/authdes_prot.c: Likewise.
52973         * sunrpc/authuxprot.c: Likewise.
52974         * sunrpc/clnt_gen.c: Likewise.
52975         * sunrpc/clnt_perr.c: Likewise.
52976         * sunrpc/clnt_raw.c: Likewise.
52977         * sunrpc/clnt_simp.c: Likewise.
52978         * sunrpc/clnt_tcp.c: Likewise.
52979         * sunrpc/clnt_udp.c: Likewise.
52980         * sunrpc/clnt_unix.c: Likewise.
52981         * sunrpc/des_crypt.c: Likewise.
52982         * sunrpc/des_soft.c: Likewise.
52983         * sunrpc/get_myaddr.c: Likewise.
52984         * sunrpc/key_call.c: Likewise.
52985         * sunrpc/key_prot.c: Likewise.
52986         * sunrpc/netname.c: Likewise.
52987         * sunrpc/pm_getmaps.c: Likewise.
52988         * sunrpc/pm_getport.c: Likewise.
52989         * sunrpc/pmap_clnt.c: Likewise.
52990         * sunrpc/pmap_prot.c: Likewise.
52991         * sunrpc/pmap_prot2.c: Likewise.
52992         * sunrpc/pmap_rmt.c: Likewise.
52993         * sunrpc/publickey.c: Likewise.
52994         * sunrpc/rpc_cmsg.c: Likewise.
52995         * sunrpc/rpc_common.c: Likewise.
52996         * sunrpc/rpc_dtable.c: Likewise.
52997         * sunrpc/rpc_prot.c: Likewise.
52998         * sunrpc/rpc_thread.c: Likewise.
52999         * sunrpc/rtime.c: Likewise.
53000         * sunrpc/svc.c: Likewise.
53001         * sunrpc/svc_auth.c: Likewise.
53002         * sunrpc/svc_authux.c: Likewise.
53003         * sunrpc/svc_raw.c: Likewise.
53004         * sunrpc/svc_run.c: Likewise.
53005         * sunrpc/svc_simple.c: Likewise.
53006         * sunrpc/svc_tcp.c: Likewise.
53007         * sunrpc/svc_udp.c: Likewise.
53008         * sunrpc/svc_unix.c: Likewise.
53009         * sunrpc/svcauth_des.c: Likewise.
53010         * sunrpc/xcrypt.c: Likewise.
53011         * sunrpc/xdr.c: Likewise.
53012         * sunrpc/xdr_array.c: Likewise.
53013         * sunrpc/xdr_float.c: Likewise.
53014         * sunrpc/xdr_intXX_t.c: Likewise.
53015         * sunrpc/xdr_mem.c: Likewise.
53016         * sunrpc/xdr_rec.c: Likewise.
53017         * sunrpc/xdr_ref.c: Likewise.
53018         * sunrpc/xdr_sizeof.c: Likewise.
53019         * sunrpc/xdr_stdio.c: Likewise.
53021 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
53023         [BZ #12650]
53024         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53025         * sysdeps/ia64/dl-tls.h: Likewise.
53026         * sysdeps/powerpc/dl-tls.h: Likewise.
53027         * sysdeps/s390/dl-tls.h: Likewise.
53028         * sysdeps/sh/dl-tls.h: Likewise.
53029         * sysdeps/sparc/dl-tls.h: Likewise.
53030         * sysdeps/x86_64/dl-tls.h: Likewise.
53031         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53033 2011-03-14  Andreas Schwab  <schwab@redhat.com>
53035         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53036         rpath element also skip the following colon.
53037         (expand_dynamic_string_token): Add is_path parameter and pass
53038         down to DL_DST_REQUIRED and _dl_dst_substitute.
53039         (decompose_rpath): Call expand_dynamic_string_token with
53040         non-zero is_path.  Ignore empty rpaths.
53041         (_dl_map_object_from_fd): Call expand_dynamic_string_token
53042         with zero is_path.
53044 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
53046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53047         Make cancelable.
53049 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
53051         [BZ #12655]
53052         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53053         Patch by Filipe David Manana <fdmanana@apache.org>.
53055 2011-04-07  Andreas Schwab  <schwab@redhat.com>
53057         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53058         Maintain aligned stack.
53059         (CHECK_RSP): Remove unused macro.
53061 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
53063         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53064         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53066 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
53068         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53070         * include/features.h: Mention __USE_XOPEN2K8 in comment.
53072 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
53074         [BZ #12518]
53075         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53076         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53077         * sysdeps/x86_64/memmove.c: New file.
53078         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53079         (memcpy): Renamed to ...
53080         (__new_memcpy): This.
53081         (memcpy): Provide GLIBC_2_14 memcpy.
53082         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53083         (memcpy): Provide GLIBC_2_2_5 memcpy.
53085 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53087         [BZ #12631]
53088         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53090 2011-03-30  Andreas Schwab  <schwab@redhat.com>
53092         * misc/syncfs.c: New file.
53093         * misc/Makefile (routines): Add syncfs.
53094         * posix/unistd.h: Declare syncfs.
53095         * sysdeps/unix/syscalls.list: Add syncfs.
53097 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53099         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53100         open_by_handle_at.
53101         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53102         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53103         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53104         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53106         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53109 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53111         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53112         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53114         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53115         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53117         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53119         * io/Makefile: Compile fallocate.c, fallocate64.c, and
53120         sync_file_range.c with -fexceptions.
53121         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53122         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53123         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53124         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53125         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53126         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53127         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53128         sync_file_range as cancellation point
53129         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
53130         now a wrapper around __call_sync_file_range with cancellation handling.
53131         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53132         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
53133         function name to __call_sync_file_range.
53134         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53135         Add call_sync_file_range.
53137 2011-04-01  Andreas Schwab  <schwab@redhat.com>
53139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53140         bits/timex.h.
53142 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
53144         * iconv/iconv.h: Fix typo in comment.
53145         * io/fcntl.h: Likewise.
53146         * libio/stdio.h: Likewise.
53147         * posix/spawn.h: Likewise.
53148         * posix/unistd.h: Likewise.
53149         * stdlib/stdlib.h: Likewise.
53150         * time/time.h: Likewise.
53151         * wcsmbs/wchar.h: Likewise.
53153         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53154         open_by_handle): Add.
53155         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53156         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
53157         Augment a few comments.
53158         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53159         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53160         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53161         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53163         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53164         open_by_handle.
53166         * io/fcntl.h (AT_EMPTY_PATH): Define.
53168 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
53170         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53171         * sysdeps/unix/sysv/linux/bits/time.h: New file.
53172         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53173         to...
53174         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
53175         * Versions.def: Add GLIBC_2.14.
53176         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53177         Export.
53179 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
53181         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53182         round counter.
53183         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53185 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
53187         [BZ #12597]
53188         * string/test-strncmp.c (do_page_test): New function.
53189         (check2): Likewise.
53190         (test_main): Call check2.
53191         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53193 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
53195         [BZ #12587]
53196         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53197         Handle cache information in CPU leaf 4.
53198         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53200 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
53202         [BZ #12583]
53203         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53204         character representation.
53205         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53207 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
53209         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53210         END(__isnan) to END(__isnanf) to match function entry point/label
53211         EALIGN(__isnanf,...).
53213 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
53215         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53217 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
53219         [BZ #12510]
53220         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53221         copy from the symbol referenced in the relocation to initialize the
53222         used variable.
53223         Patch by Piotr Bury <pbury@goahead.com>.
53224         * elf/Makefile: Add rules to build and tst-unique3.
53225         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53226         * elf/tst-unique3.cc: New file.
53227         * elf/tst-unique3.h: New file.
53228         * elf/tst-unique3lib.cc: New file.
53229         * elf/tst-unique3lib2.cc: New file.
53231         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53233 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
53235         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53236         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
53237         to _start.
53239 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
53241         * elf/dl-load.c (_dl_map_object): If we are looking for the first
53242         to-be-loaded object along a path to loader is ld.so.
53244 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53245             Ulrich Drepper  <drepper@gmail.com>
53247         * sysdeps/x86_64/memset.S: After aligning destination, code
53248         branches to different locations depending on the value of
53249         misalignment, when multiarch is enabled. Fix this.
53251 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
53253         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53254         Set _x86_64_preferred_memory_instruction for AMD processsors.
53255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53256         Set bit_Prefer_SSE_for_memop for AMD processors.
53258 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
53260         * libio/fmemopen.c (fmemopen): Optimize a bit.
53262 2011-03-03  Andreas Schwab  <schwab@redhat.com>
53264         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53266 2011-03-03  Roland McGrath  <roland@redhat.com>
53268         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53270 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
53272         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53273         __bzero_ultra1 instead of __memset_ultra1.
53275 2011-02-23  Andreas Schwab  <schwab@redhat.com>
53276             Ulrich Drepper  <drepper@gmail.com>
53278         [BZ #12509]
53279         * include/link.h (struct link_map): Add l_orig_initfini.
53280         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53281         returning unsuccessfully.
53282         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53283         close of a file loaded at startup, restore the original l_initfini
53284         list.
53285         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53286         list, store the pointer.
53287         * elf/Makefile ($(objpfx)noload-mem): New rule.
53288         (noload-ENV): Define.
53289         (tests): Add $(objpfx)noload-mem.
53290         * elf/noload.c: Include <memcheck.h>.
53291         (main): Call mtrace.  Close all opened handles.
53293 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53295         [BZ #12454]
53296         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53297         dependencies are missing.
53299 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53301         Fix __if_freereq crash: Unlike the generic version which uses free,
53302         Hurd needs munmap.
53303         * sysdeps/mach/hurd/ifreq.h: New file.
53305 2011-01-27  Petr Baudis  <pasky@suse.cz>
53306             Ulrich Drepper  <drepper@gmail.com>
53308         [BZ 12445]#
53309         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53310         to extend_alloca().
53311         * stdio-common/bug23.c: New file.
53312         * stdio-common/Makefile (tests): Add bug23.
53314 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53315             Ulrich Drepper  <drepper@gmail.com>
53317         [BZ #12489]
53318         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53319         before performing relro protection.  At old place add assertion
53320         to make sure nothing changed.
53322 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53323             Glauber de Oliveira Costa  <glommer@gmail.com>
53325         * elf/elf.h: Add new ARM TLS relocs.
53327 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53330         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53331         cast from r3.
53332         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53333         'tests' variable.
53334         * sysdeps/wordsize-64/tst-writev.c: New file.
53336 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53338         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53339         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53340         insns in _dl_start to prevent a TOC reference before relocs are
53341         resolved.
53343 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53345         [BZ #12469]
53346         * Makeconfig: Remove RANLIB definition.
53347         * Makerules: Don't use RANLIB.
53348         * aclocal.m4: Remove ranlib test.
53349         * configure.in: No need to check for ranlib.
53350         * elf/rtld-Rules: Don't use RANLIB.
53352 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53354         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53355         protection macro.
53356         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53357         inclusion protection macro.
53359         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53360         SIGRTMIN and SIGRTMAX and print information in that case only when
53361         SIGRTMIN is defined.
53363 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53365         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53366         arginfo fn returning -1.
53368         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53369         and thousands string is zero terminated.
53371 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53374         sysdeps/unix/sysv/linux/bits/socket.h.
53376 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53378         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53379         (__CPU_COUNT): Remove old macros.
53380         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53381         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53382         (__CPU_ALLOC, __CPU_FREE): Add macros.
53383         (__sched_cpualloc, __sched_cpufree): Add declarations.
53385 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53387         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53388         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53389         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53390         (readdhstai): Return value of addhstaiX call.
53391         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53392         (addgrbyX): Return value returned by cache_addgr.
53393         (readdgrbyname): Return value returned by addgrbyX.
53394         (readdgrbygid): Likewise.
53395         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53396         (addpwbyX): Return value returned by cache_addpw.
53397         (readdpwbyname): Return value returned by addhstbyX.
53398         (readdpwbyuid): Likewise.
53399         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53400         (addservbyX): Return value returned by cache_addserv.
53401         (readdservbyname): Return value returned by addservbyX:
53402         (readdservbyport): Likewise.
53403         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53404         (addhstbyX): Return value returned by cache_addhst.
53405         (readdhstbyname): Return value returned by addhstbyX.
53406         (readdhstbyaddr): Likewise.
53407         (readdhstbynamev6): Likewise.
53408         (readdhstbyaddrv6): Likewise.
53409         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53410         (readdinitgroups): Return value returned by addinitgroupsX.
53411         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53412         (prune_cache): Keep track of timeout value of re-added entries.
53413         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53414         * nscd/nscd.h: Adjust prototypes of readd* functions.
53416 2011-02-04  Roland McGrath  <roland@redhat.com>
53418         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53419         (nis_stats): Likewise.
53420         * nis/nis_modify.c (nis_modify): Likewise.
53421         * nis/nis_remove.c (nis_remove): Likewise.
53422         * nis/nis_add.c (nis_add): Likewise.
53424         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53426         * posix/fnmatch_loop.c: Add some consts.
53428         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53430 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53432         [BZ #12460]
53433         * config.make.in (config-cflags-novzeroupper): Define.
53434         * configure.in: Substitute libc_cv_cc_novzeroupper.
53435         * elf/Makefile (AVX-CFLAGS): Define.
53436         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53437         (CFLAGS-tst-auditmod4a.c): Likewise.
53438         (CFLAGS-tst-auditmod4b.c): Likewise.
53439         (CFLAGS-tst-auditmod6b.c): Likewise.
53440         (CFLAGS-tst-auditmod6c.c): Likewise.
53441         (CFLAGS-tst-auditmod7b.c): Likewise.
53442         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53444 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53446         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53447         function to the callback.
53448         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53450 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53452         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53453         of errno.
53455 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53457         [BZ #11724]
53458         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53459         of constructors.
53460         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53461         of destructors.
53462         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53464         [BZ #11724]
53465         * elf/Makefile: Add rules to build and run new test.
53466         * elf/tst-initorder.c: New file.
53467         * elf/tst-initorder.exp: New file.
53468         * elf/tst-initordera1.c: New file.
53469         * elf/tst-initordera2.c: New file.
53470         * elf/tst-initordera3.c: New file.
53471         * elf/tst-initordera4.c: New file.
53472         * elf/tst-initorderb1.c: New file.
53473         * elf/tst-initorderb2.c: New file.
53474         * elf/tst-order-a1.c: New file.
53475         * elf/tst-order-a2.c: New file.
53476         * elf/tst-order-a3.c: New file.
53477         * elf/tst-order-a4.c: New file.
53478         * elf/tst-order-b1.c: New file.
53479         * elf/tst-order-b2.c: New file.
53480         * elf/tst-order-main.c: New file.
53481         New test case by George Gensure <werkt0@gmail.com>.
53483 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53486         decoding ACE if AI_CANONIDN.
53488 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53490         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53492 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53494         * version.h (RELEASE): Bump for 2.13 release.
53495         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53497         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53499         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53500         MADV_NOHUGEPAGE.
53501         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53502         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53503         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53504         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53505         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53506         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53508         * posix/getconf.c: Update copyright year.
53509         * catgets/gencat.c: Likewise.
53510         * csu/version.c: Likewise.
53511         * debug/catchsegv.sh: Likewise.
53512         * debug/xtrace.sh: Likewise.
53513         * elf/ldconfig.c: Likewise.
53514         * elf/ldd.bash.in: Likewise.
53515         * elf/sprof.c (print_version): Likewise.
53516         * iconv/iconv_prog.c: Likewise.
53517         * iconv/iconvconfig.c: Likewise.
53518         * locale/programs/locale.c: Likewise.
53519         * locale/programs/localedef.c: Likewise.
53520         * malloc/memusage.sh: Likewise.
53521         * malloc/mtrace.pl: Likewise.
53522         * nscd/nscd.c (print_version): Likewise.
53523         * nss/getent.c: Likewise.
53525         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53526         PF_CAIF, and PF_ALG.
53527         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53529 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53531         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53532         (modules-names): Use them.
53533         (ifunc-test-modules, ifunc-pie-tests): Define.
53534         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53535         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53536         (test-extras): Likewise.
53537         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53538         $(compile-command.c).
53539         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53540         (all-built-dso): Define.
53541         (check-textrel.out, check-execstack.out): Depend on it.
53543         * configure.in: Don't override --enable-multi-arch.
53545 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53547         [BZ #6812]
53548         * nscd/hstcache.c (tryagain): Define.
53549         (cache_addhst): Return tryagain not notfound for temporary errors.
53550         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53551         failed.
53553 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53555         [BZ #10563]
53556         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53557         to make the syscall.
53558         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53560         [BZ #12378]
53561         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53562         and fall back to matching as normal character if the string ends before
53563         the matching ']' is found.  This is what POSIX requires.
53564         * posix/testfnm.c: Adjust test result.
53565         * posix/globtest.sh: Adjust test result.  Add new test.
53566         * posix/tst-fnmatch.input: Likewise.
53567         * posix/tst-fnmatch2.c: Add new test.
53569 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53571         * elf/Makefile (check-execstack): Revert last change.  Depend on
53572         check-execstack.h.
53573         (check-execstack.h): New target.
53574         (generated): Add check-execstack.h.
53575         * elf/check-execstack.c: Include "check-execstack.h".
53576         (main): Revert last change.
53577         (handle_file): Return zero if GNU_STACK is absent and
53578         DEFAULT_STACK_PERMS doesn't include PF_X.
53580 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53582         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53583         in child fails because the descriptor is already closed.
53584         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53585         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53586         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53588         [BZ #12397]
53589         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53590         syscall.
53592         [BZ #10484]
53593         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53594         temporary buffer used to handle multi lookups locally.
53595         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53597 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53599         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53600         loader is ld.so.
53602 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53604         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53605         alignment for SSE2.
53607 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53609         [BZ #12394]
53610         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53611         characters.  When rounding increased number of integer digits recompute
53612         number of groups.
53613         * stdio-common/tst-grouping.c: New file.
53614         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53616 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53618         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53619         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53621         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53622         void.
53623         * bits/select.h: Likewise.
53625 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53627         * po/ja.po: Update from translation team.
53629 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53631         [BZ #11155]
53632         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53633         implementation just like for lxstat, fxstatat, et al.
53635 2010-12-27  Jim Meyering  <meyering@redhat.com>
53637         [BZ #12348]
53638         * posix/regexec.c (build_trtable): Return failure indication upon
53639         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53641 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53643         [BZ #12201]
53644         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53645         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53646         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53647         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53649         [BZ #12207]
53650         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53652         [BZ #12204]
53653         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53654         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53656 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53658         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53659         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53660         script has SORT_BY_INIT_PRIORITY.
53661         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53662         NO_CTORS_DTORS_SECTIONS is defined.
53663         * elf/soinit.c: Likewise.
53664         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53665         NO_CTORS_DTORS_SECTIONS is defined.
53666         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53667         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53668         * sysdeps/sh/init-first.c: Likewise.
53669         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53671 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53673         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53674         always use the slow path.
53676 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53678         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53679         similar rule which adds the sysdep directories to the header search in
53680         order to pick up the correct platform stackinfo.h.
53681         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53682         perform test if it is, otherwise return successfully without testing.
53683         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53684         DEFAULT_STACK_PERMS define in stackinfo.h.
53685         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53686         defined in stackinfo.h.
53687         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53688         DEFAULT_STACK_PERMS defined in stackinfo.h.
53689         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53690         * sysdeps/ia64/stackinfo.h: Likewise.
53691         * sysdeps/s390/stackinfo.h: Likewise.
53692         * sysdeps/sh/stackinfo.h: Likewise.
53693         * sysdeps/sparc/stackinfo.h: Likewise.
53694         * sysdeps/x86_64/stackinfo.h: Likewise.
53695         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53696         PF_X for powerpc64.  Retain PF_X for powerpc32.
53698 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53700         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53701         accurately.
53702         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53703         GETDENTS_64BIT_ALIGNED.
53705 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53707         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53709 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53711         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53712         _GNU_SOURCE.
53714         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53715         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53716         Remove __restrict.
53717         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53718         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53720 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53722         [BZ #11655]
53723         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53724         are initialized.
53726 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53728         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53730 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53732         * po/it.po: Update from translation team.
53734 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53736         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53737         unused codes.
53739 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53741         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53743 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53745         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53746         specially.
53747         (gaih_getanswer_slice): Likewise.
53749 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53751         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53753 2010-05-31  Petr Baudis  <pasky@suse.cz>
53755         [BZ #11149]
53756         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53757         silently even in the chroot mode.
53759 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53761         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53762         last patch a bit.  Pretty printing
53764 2010-05-31  Petr Baudis <pasky@suse.cz>
53766         [BZ #10085]
53767         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53768         initialization of skip_initgroups_dyn.
53770 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53772         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53773         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53775 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53777         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53779 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53781         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53782         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53783         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53784         ($(objpfx)tst-fnmatch-mem): New rule.
53785         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53786         * posix/tst-fnmatch.c (main): Call mtrace.
53788 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53791         Support Intel processor model 6 and model 0x2c.
53793 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53795         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53796           signed comparison.
53798 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53800         [BZ #12205]
53801         * string/test-strncasecmp.c (check_result): New function.
53802         (do_one_test): Use it.
53803         (check1): New function.
53804         (test_main): Use it.
53805         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53806         Support strcasecmp and strncasecmp.
53808 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53810         [BZ #12194]
53811         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53812         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53814 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53816         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53817         IFUNC support.
53818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53819         memset-x86-64.
53820         * sysdeps/x86_64/multiarch/bzero.S: New file.
53821         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53822         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53823         * sysdeps/x86_64/multiarch/memset.S: New file.
53824         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53826         Set bit_Prefer_SSE_for_memop for Intel processors.
53827         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53828         Define.
53829         (index_Prefer_SSE_for_memop): Define.
53830         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53832 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53834         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53835         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53837 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53839         [BZ #12191]
53840         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53841         (__x86_64_raw_data_cache_size_half): Likewise.
53842         (__x86_64_raw_shared_cache_size): Likewise.
53843         (__x86_64_raw_shared_cache_size_half): Likewise.
53845         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53846         (__x86_64_raw_data_cache_size_half): Likewise.
53847         (__x86_64_raw_shared_cache_size): Likewise.
53848         (__x86_64_raw_shared_cache_size_half): Likewise.
53849         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53850         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53851         and __x86_64_raw_shared_cache_size_half.  Round
53852         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53853         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53854         to multiple of 256 bytes.
53856 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53858         [BZ #12167]
53859         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53860         of inacessible symlinks.  Verify result of symlink before returning it.
53861         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53862         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53864 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53866         * math/math.h (isinf): Fix typo in comment.
53868 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53870         * po/da.po: Update from translation team.
53872 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53874         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53875         is added to the list.
53877 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53878             Ulrich Drepper  <drepper@gmail.com>
53880         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53881         the global list here.  Move code to...
53882         (_dl_add_to_namespace_list): ...here.  New function.
53883         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53884         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53885         * elf/dl-load.c (lose): Don't remove the element from the list.
53886         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53887         (_dl_map_object): Likewise.
53889 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53891         [BZ #12159]
53892         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53893         into all bytes of SSE register.
53894         Patch by Richard Li <richardpku@gmail.com>.
53896 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53898         [BZ #12140]
53899         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53900         perturbing.
53902 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53904         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53905         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53906         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53907         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53909         submachine.
53910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53912 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53914         * include/dlfcn.h (__RTLD_SECURE): Define.
53915         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53916         mode & __RTLD_SECURE instead.
53917         (open_path): Rename preloaded parameter to secure.
53918         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53919         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53920         * elf/dl-deps.c (openaux): Likewise.
53921         * elf/rtld.c (struct map_args): Remove is_preloaded.
53922         (map_doit): Don't use it.
53923         (dl_main): Likewise.
53924         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53925         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53927 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53929         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53930         (sysd-rules-targets): Remove duplicates.
53931         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53932         rtld-%.$o dependency.
53934 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53936         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53937         _dl_map_object do it.
53939 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53941         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53942         fast fma builtins, define the macros in the C99 standard.
53943         (FP_FAST_FMAF): Likewise.
53944         (FP_FAST_FMAL): Likewise.
53945         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53947         * bits/mathdef.h: Update copyright year.
53948         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53950 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53952         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53953         builtins, define the macros in the C99 standard.
53954         (FP_FAST_FMAF): Likewise.
53955         (FP_FAST_FMAL): Likewise.
53956         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53957         multiply/add.
53958         (FP_FAST_FMAF): Likewise.
53960 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53962         [BZ #3268]
53963         * math/libm-test.inc (fma_test): Some new testcases.
53964         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53965         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53966         y and infinite z.  Do multiplication by C already in long double.
53967         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53968         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53969         y and infinite z.  Do bitwise or of inexact bit into u.d.
53970         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53971         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53972         * sysdeps/i386/fpu/s_fma.S: Removed.
53973         * sysdeps/i386/fpu/s_fmal.S: Removed.
53975 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53977         [BZ #3268]
53978         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53979         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53980         computation is not scheduled after fetestexcept.  Fix value
53981         of minimum denormal long double.
53983 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53985         [BZ #3268]
53986         * math/libm-test.inc (fma_test): Add some more tests.
53987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53988         correctly.
53990 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53992         * scripts/data/localplt-s390-linux-gnu.data: New file.
53993         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53995 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53997         [BZ #3268]
53998         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53999         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54000         instead of dbl-64.
54001         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54002         inlines.
54003         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54004         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54005         if one of x and y is very large and the other is subnormal.
54006         * sysdeps/s390/fpu/s_fmaf.c: New file.
54007         * sysdeps/s390/fpu/s_fma.c: New file.
54008         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54009         * sysdeps/powerpc/fpu/s_fma.S: New file.
54010         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54011         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54012         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54014 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
54016         [BZ #3268]
54017         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54018         fma tests.
54019         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54020         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54021         * sysdeps/i386/i686/multiarch/s_fma.c: Include
54022         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54023         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54024         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54025         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54027 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
54029         [BZ #12078]
54030         * posix/regcomp.c (parse_branch): One more memory leak plugged.
54031         * posix/bug-regex31.input: Add test case.
54033 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54035         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54036         * posix/bug-regex31.input: New file.
54038         [BZ #12078]
54039         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54040         (parse_sub_exp): Fix last change, use postorder.
54042         * posix/bug-regex31.c: New file.
54043         * posix/Makefile: Add rules to build and run bug-regex31.
54045         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54047         [BZ #12078]
54048         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54050         [BZ #12108]
54051         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54052         to have entries in sys_siglist.
54054         [BZ #12093]
54055         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54056         be NULL.
54058 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
54060         [BZ #3268]
54061         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54062         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54063         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54064         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54065         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54066         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54067         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54068         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54069         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54070         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54071         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54072         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54073         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54074         * math/ftestexcept.c (fetestexcept): Likewise.
54075         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54076         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54077         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54078         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54079         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54080         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54081         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54083 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
54085         [BZ #12107]
54086         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54087         newline.
54089 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
54091         * string/bug-strstr1.c: New file.
54092         * string/Makefile: Add rules to build and run bug-strstr1.
54094 2010-10-05  Eric Blake  <eblake@redhat.com>
54096         [BZ #12092]
54097         * string/str-two-way.h (two_way_long_needle): Always clear memory
54098         when skipping input due to the shift table.
54100 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
54102         [BZ #12005]
54103         * malloc/mcheck.c: Handle large requests.
54105         [BZ #12077]
54106         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54107         for strncmp and strncasecmp.
54108         * string/stratcliff.c: Add tests for strcmp and strncmp.
54109         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54111 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54113         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54114         __set_fpscr.
54116 2010-09-30  Andreas Jaeger  <aj@suse.de>
54118         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54119         (CGROUP_SUPER_MAGIC): Define.
54120         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54121         Handle btrfs and cgroup file systems.
54122         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54123         Likewise.
54125 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
54127         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54128         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54130 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54132         [BZ #12067]
54133         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54134         trying to locate the ELF header.
54136 2010-09-27  Andreas Schwab  <schwab@redhat.com>
54138         [BZ #11611]
54139         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54140         Mask out sign-bit copies when constructing f_fsid.
54142 2010-09-24  Petr Baudis <pasky@suse.cz>
54144         * debug/stack_chk_fail_local.c: Add missing licence exception.
54145         * debug/warning-nop.c: Likewise.
54147 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
54149         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54150         implementing getdents64 using getdents syscall, set d_type if
54151         __ASSUME_GETDENTS32_D_TYPE.
54153 2010-09-16  Andreas Schwab  <schwab@redhat.com>
54155         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54156         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54158 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
54160         [BZ #12037]
54161         * posix/unistd.h: Undo change of feature selection for ftruncate from
54162         2010-01-11.
54164 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
54166         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54167         detection.
54169 2010-09-20  Andreas Schwab  <schwab@redhat.com>
54171         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54172         fanotify_mark.
54173         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54175 2010-09-14  Andreas Schwab  <schwab@redhat.com>
54177         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54178         variables after CHECK_SP call.
54179         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54181 2010-09-13  Andreas Schwab  <schwab@redhat.com>
54182             Ulrich Drepper  <drepper@redhat.com>
54184         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54185         re-relocationg ld.so.
54186         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54187         _dl_init_paths call.
54188         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
54189         here anymore.
54191 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
54193         * resolv/res_init.c (__res_vinit): Count the default server we added.
54195 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
54196             Ulrich Drepper  <drepper@redhat.com>
54198         [BZ #11968]
54199         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54200         (____longjmp_chk): Use %ebx for saving value across system call.
54201         Add unwind info.
54203 2010-09-06  Andreas Schwab  <schwab@redhat.com>
54205         * manual/Makefile: Don't mix pattern rules with normal rules.
54207 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54209         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54210         operation.
54211         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54212         * libio/iofopncook.c (_IO_cookie_init): Likewise.
54213         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54214         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54215         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54216         Likewise.
54218 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
54220         [BZ #11979]
54221         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54222         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54224 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
54226         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54227         * sysdeps/x86_64/addmul_1.S: Likewise.
54228         * sysdeps/x86_64/lshift.S: Likewise.
54229         * sysdeps/x86_64/mul_1.S: Likewise.
54230         * sysdeps/x86_64/rshift.S: Likewise.
54231         * sysdeps/x86_64/sub_n.S: Likewise.
54232         * sysdeps/x86_64/submul_1.S: Likewise.
54234 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54236         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54237         Define __sched_param instead of SCHED_* and sched_param when
54238         <bits/sched.h> is included with __need_schedparam defined.
54239         * bits/sched.h [__need_schedparam]
54240         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54241         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54242         (__defined_schedparam): Define to 1.
54243         (__sched_param): New structure, identical to sched_param.
54244         (__need_schedparam): Undefine.
54246 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
54248         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54249         (epoll_create1): Declare.
54251         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54253 2010-08-31  Andreas Schwab  <schwab@redhat.com>
54255         [BZ #7066]
54256         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54257         shifting retval into place.
54259 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
54261         * nis/rpcsvc/nis.h: Update copyright notice.
54262         * nis/rpcsvc/nis.x: Likewise.
54263         * nis/rpcsvc/nis_callback.h: Likewise.
54264         * nis/rpcsvc/nis_callback.x: Likewise.
54265         * nis/rpcsvc/nis_object.x: Likewise.
54266         * nis/rpcsvc/nis_tags.h: Likewise.
54267         * nis/rpcsvc/yp.h: Likewise.
54268         * nis/rpcsvc/yp.x: Likewise.
54269         * nis/rpcsvc/ypupd.h: Likewise.
54270         * nis/yp_xdr.c: Likewise.
54271         * nis/ypupdate_xdr.c: Likewise.
54273         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
54274         mainly the body of pmap_getport.  Add parameters to specify timeouts.
54275         (pmap_getport): Use __libc_rpc_getport.
54276         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54277         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54278         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54280 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
54282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54283         fanotify_mark.
54285 2010-08-27  Roland McGrath  <roland@redhat.com>
54287         * sysdeps/i386/i686/multiarch/Makefile
54288         (CFLAGS-varshift.c): New variable.
54290 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54292         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54293         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54295         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54297         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54299 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54301         * sysdeps/x86_64/strlen.S: Unroll the loop.
54302         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54303         strlen-sse2 strlen-sse2-bsf.
54304         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54305         __strlen_no_bsf if bit_Slow_BSF is set.
54306         (__strlen_sse42): Removed.
54307         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54308         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54310 2010-08-25  Roland McGrath  <roland@redhat.com>
54312         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54313         * sysdeps/x86_64/multiarch/varshift.c: New file.
54314         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54315         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54316         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54317         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54319 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54321         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54322         strlen-sse2 strlen-sse2-bsf.
54323         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54324         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54325         (__strlen_sse2): Removed.
54326         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54327         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54328         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54329         bit_Slow_BSF for Atom.
54330         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54331         (index_Slow_BSF): Define.
54332         (HAS_SLOW_BSF): Define.
54334 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54336         [BZ #10851]
54337         * resolv/res_init.c (__res_vinit): When no server address at all
54338         is given default to loopback.
54340 2010-08-24  Roland McGrath  <roland@redhat.com>
54342         * configure.in: Remove config-name.h generation.
54343         * configure: Regenerated.
54344         * config-name.in: File removed.
54345         * scripts/config-uname.sh: New file.
54346         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54347         ($(objdir)config-name.h): New target.
54349         * sunrpc/rpc_parse.h: Avoid nested comment.
54351 2010-08-24  Richard Henderson  <rth@redhat.com>
54352             Ulrich Drepper  <drepper@redhat.com>
54353             H.J. Lu  <hongjiu.lu@intel.com>
54355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54357         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54358         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54359         _mm_alignr_epi8 with _mm_loadu_si128.
54360         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54361         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54362         (__m128i_shift_right): Removed.
54363         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54364         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54365         * sysdeps/x86_64/multiarch/varshift.h: New file.
54366         * sysdeps/x86_64/multiarch/varshift.S: New file.
54368 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54370         * configure.in: Move assembler checks to before sysdep dir checking.
54372 2010-08-20  Petr Baudis  <pasky@suse.cz>
54374         * LICENSES: Sync the sunrpc license.
54376 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54378         * sunrpc/auth_des.c: Update copyright notice once again.
54379         * sunrpc/auth_none.c: Likewise.
54380         * sunrpc/auth_unix.c: Likewise.
54381         * sunrpc/authdes_prot.c: Likewise.
54382         * sunrpc/authuxprot.c: Likewise.
54383         * sunrpc/bindrsvprt.c: Likewise.
54384         * sunrpc/clnt_gen.c: Likewise.
54385         * sunrpc/clnt_perr.c: Likewise.
54386         * sunrpc/clnt_raw.c: Likewise.
54387         * sunrpc/clnt_simp.c: Likewise.
54388         * sunrpc/clnt_tcp.c: Likewise.
54389         * sunrpc/clnt_udp.c: Likewise.
54390         * sunrpc/clnt_unix.c: Likewise.
54391         * sunrpc/des_crypt.c: Likewise.
54392         * sunrpc/des_soft.c: Likewise.
54393         * sunrpc/get_myaddr.c: Likewise.
54394         * sunrpc/getrpcport.c: Likewise.
54395         * sunrpc/key_call.c: Likewise.
54396         * sunrpc/key_prot.c: Likewise.
54397         * sunrpc/openchild.c: Likewise.
54398         * sunrpc/pm_getmaps.c: Likewise.
54399         * sunrpc/pm_getport.c: Likewise.
54400         * sunrpc/pmap_clnt.c: Likewise.
54401         * sunrpc/pmap_prot.c: Likewise.
54402         * sunrpc/pmap_prot2.c: Likewise.
54403         * sunrpc/pmap_rmt.c: Likewise.
54404         * sunrpc/rpc/auth.h: Likewise.
54405         * sunrpc/rpc/auth_unix.h: Likewise.
54406         * sunrpc/rpc/clnt.h: Likewise.
54407         * sunrpc/rpc/des_crypt.h: Likewise.
54408         * sunrpc/rpc/key_prot.h: Likewise.
54409         * sunrpc/rpc/netdb.h: Likewise.
54410         * sunrpc/rpc/pmap_clnt.h: Likewise.
54411         * sunrpc/rpc/pmap_prot.h: Likewise.
54412         * sunrpc/rpc/pmap_rmt.h: Likewise.
54413         * sunrpc/rpc/rpc.h: Likewise.
54414         * sunrpc/rpc/rpc_des.h: Likewise.
54415         * sunrpc/rpc/rpc_msg.h: Likewise.
54416         * sunrpc/rpc/svc.h: Likewise.
54417         * sunrpc/rpc/svc_auth.h: Likewise.
54418         * sunrpc/rpc/types.h: Likewise.
54419         * sunrpc/rpc/xdr.h: Likewise.
54420         * sunrpc/rpc_clntout.c: Likewise.
54421         * sunrpc/rpc_cmsg.c: Likewise.
54422         * sunrpc/rpc_common.c: Likewise.
54423         * sunrpc/rpc_cout.c: Likewise.
54424         * sunrpc/rpc_dtable.c: Likewise.
54425         * sunrpc/rpc_hout.c: Likewise.
54426         * sunrpc/rpc_main.c: Likewise.
54427         * sunrpc/rpc_parse.c: Likewise.
54428         * sunrpc/rpc_parse.h: Likewise.
54429         * sunrpc/rpc_prot.c: Likewise.
54430         * sunrpc/rpc_sample.c: Likewise.
54431         * sunrpc/rpc_scan.c: Likewise.
54432         * sunrpc/rpc_scan.h: Likewise.
54433         * sunrpc/rpc_svcout.c: Likewise.
54434         * sunrpc/rpc_tblout.c: Likewise.
54435         * sunrpc/rpc_util.c: Likewise.
54436         * sunrpc/rpc_util.h: Likewise.
54437         * sunrpc/rpcinfo.c: Likewise.
54438         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54439         * sunrpc/rpcsvc/key_prot.x: Likewise.
54440         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54441         * sunrpc/rpcsvc/mount.x: Likewise.
54442         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54443         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54444         * sunrpc/rpcsvc/rex.x: Likewise.
54445         * sunrpc/rpcsvc/rstat.x: Likewise.
54446         * sunrpc/rpcsvc/rusers.x: Likewise.
54447         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54448         * sunrpc/rpcsvc/spray.x: Likewise.
54449         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54450         * sunrpc/rtime.c: Likewise.
54451         * sunrpc/svc.c: Likewise.
54452         * sunrpc/svc_auth.c: Likewise.
54453         * sunrpc/svc_authux.c: Likewise.
54454         * sunrpc/svc_raw.c: Likewise.
54455         * sunrpc/svc_run.c: Likewise.
54456         * sunrpc/svc_simple.c: Likewise.
54457         * sunrpc/svc_tcp.c: Likewise.
54458         * sunrpc/svc_udp.c: Likewise.
54459         * sunrpc/svc_unix.c: Likewise.
54460         * sunrpc/svcauth_des.c: Likewise.
54461         * sunrpc/xcrypt.c: Likewise.
54462         * sunrpc/xdr.c: Likewise.
54463         * sunrpc/xdr_array.c: Likewise.
54464         * sunrpc/xdr_float.c: Likewise.
54465         * sunrpc/xdr_mem.c: Likewise.
54466         * sunrpc/xdr_rec.c: Likewise.
54467         * sunrpc/xdr_ref.c: Likewise.
54468         * sunrpc/xdr_sizeof.c: Likewise.
54469         * sunrpc/xdr_stdio.c: Likewise.
54471         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54472         handling.
54474 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54476         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54478 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54480         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54481         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54482         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54483         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54484         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54485         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54486         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54487         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54488         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54489         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54490         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54491         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54492         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54493         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54495 2010-07-26  Anton Blanchard  <anton@samba.org>
54497         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54498         * malloc/arena.c (heap_trim): Likewise.
54500 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54502         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54503         here.  Not...
54504         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54505         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54507 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54509         * sysdeps/i386/elf/Makefile: New file.
54511 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54513         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54514         from fanotify_init.
54515         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54516         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54518 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54520         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54521         of strncasecmp_l.
54522         * sysdeps/multiarch/strcmp.S: Likewise.
54524 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54526         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54527         strncase_l-nonascii.
54528         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54529         Add strncase_l-ssse3.
54530         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54531         * sysdeps/x86_64/strcmp.S: Likewise.
54532         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54533         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54534         * sysdeps/x86_64/strncase.S: New file.
54535         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54536         * sysdeps/x86_64/strncase_l.S: New file.
54537         * string/Makefile (strop-tests): Add strncasecmp.
54538         * string/test-strncasecmp.c: New file.
54540         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54541         warning.
54543         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54544         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54546 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54548         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54550 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54552         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54553         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54554         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54556 2010-05-01  Alan Modra  <amodra@gmail.com>
54558         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54559         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54560         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54561         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54562         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54563         tidying.  Don't tail-call __sigjmp_save for static lib.
54564         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54565         save location.
54566         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54567         (CALL_MCOUNT): Add eh info, and nop after bl.
54568         (TAIL_CALL_SYSCALL_ERROR): New macro.
54569         (PSEUDO_RET): Use it.
54570         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54571         Correct save location of integer regs and cr.
54572         (_dl_profile_resolve): Correct cr save location.  Delete nops
54573         after bl when SHARED.  Reduce cfi size a little by better
54574         placement of cfi directives.
54575         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54576         make a stack frame.  Instead use parm save area as a temp.
54577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54578         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54580         Don't make a stack frame for parent, use parm save area.
54581         Increase child stack frame to 112 bytes.  Don't save unused reg,
54582         and adjust reg usage.  Set up cfi on error recovery and
54583         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54585         (__makecontext): Add dummy nop after jump to exit.
54586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54587         Use correct parm save area and cr save, reduce stack frame.
54588         Correct cfi for possible PSEUDO_RET frame setup.
54589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54590         Branch to local label emitted by PSEUDO_RET rather than
54591         __syscall_error.
54593 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54595         [BZ #11904]
54596         * locale/programs/locale.c (print_assignment): New function.
54597         (show_locale_vars): Use it.
54599 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54601         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54602         field.
54603         (struct statfs64): Likewise.
54604         (_STATFS_F_FLAGS): Define.
54605         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54606         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54607         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54608         (ST_VALID): Define locally.
54609         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54610         __statvfs_getflags, use the provided value.
54611         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54612         __ASSUME_STATFS_F_FLAGS.
54614         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54616         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54617         Add sys/fanotify.h.
54618         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54619         fanotify_mask for GLIBC_2.13.
54620         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54621         fanotify_init and fanotify_mark.
54622         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54623         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54625         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54626         Add prlimit.
54627         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54628         prlimit64 for GLIBC_2.13.
54629         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54630         prlimit64.
54631         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54632         syscall.
54633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54634         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54635         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54636         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54637         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54638         add prlimit alias.
54639         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54641         [BZ #11903]
54642         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54643         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54645         * nss/Makefile: Add rules to build and run tst-nss-test1.
54646         * shlib-versions: Add entry for libnss_test1.
54647         * nss/nss_test1.c: New file.
54648         * nss/tst-nss-test1.c: New file.
54650         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54651         (__nss_configure_lookup): Set appropriate entry in
54652         __nss_configure_lookup to true.
54653         * nss/nsswitch.h: Define enum with indeces of databases in
54654         databases and __nss_database_custom arrays.  Declare
54655         __nss_database_custom.
54656         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54657         to avoid using nscd when custom rules are installed.
54658         * nss/getXXbyYY_r.c: Likewise.
54659         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54661         * nss/nss_files/files-parse.c: Whitespace fixes.
54663 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54665         [BZ #11883]
54666         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54667         * posix/fnmatch_loop.c: Likewise.
54669 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54671         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54672         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54673         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54674         * Versions.def [GLIBC_2.13]: Add.
54676 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54678         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54679         Also fail if tpwd after pwuid call is NULL.
54681 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54683         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54684         when converting to ms.
54686 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54688         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54689         EOPNOTSUPP errors with ENOTTY.
54690         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54691         EOPNOTSUPP errors with ENOTTY.
54693 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54695         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54696         Add strcasecmp_l-ssse3.
54697         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54698         strcasecmp.
54699         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54700         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54701         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54703 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54705         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54707         * string/Makefile (strop-tests): Add strcasecmp.
54708         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54709         strcasecmp_l-nonascii.
54710         (gen-as-const-headers): Add locale-defines.sym.
54711         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54712         * sysdeps/x86_64/strcasecmp.S: New file.
54713         * sysdeps/x86_64/strcasecmp_l.S: New file.
54714         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54715         * sysdeps/x86_64/locale-defines.sym: New file.
54716         * string/test-strcasecmp.c: New file.
54718         * string/test-strcasestr.c: Test both ends of the range of characters.
54719         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54721 2010-07-29  Roland McGrath  <roland@redhat.com>
54723         [BZ #11856]
54724         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54726 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54728         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54729         for ld.so.
54731 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54733         * manual/memory.texi (Malloc Tunable Parameters): Document
54734         M_PERTURB.
54736 2010-07-26  Roland McGrath  <roland@redhat.com>
54738         [BZ #11840]
54739         * configure.in (-fgnu89-inline check): Set and substitute
54740         gnu89_inline, not libc_cv_gnu89_inline.
54741         * configure: Regenerated.
54742         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54744 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54746         * string/test-strnlen.c: New file.
54747         * string/Makefile (strop-tests): Add strnlen.
54748         * string/tester.c (test_strnlen): Add a few more test cases.
54749         * string/tst-strlen.c: Better error reporting.
54751         * sysdeps/x86_64/strnlen.S: New file.
54753 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54755         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54756         lower-latency instructions.
54758 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54760         * string/test-strcasestr.c: New file.
54761         * string/test-strstr.c: New file.
54762         * string/Makefile (strop-tests): Add strstr and strcasestr.
54763         * string/str-two-way.h: Don't undefine MAX.
54764         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54766 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54768         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54769         strcasestr-nonascii.
54770         (CFLAGS-strcasestr-nonascii.c): Define.
54771         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54772         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54773         Remove unused attribute.
54775 2010-07-20  Roland McGrath  <roland@redhat.com>
54777         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54778         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54779         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54780         like LD_HWCAP_MASK can disable hwcaps.
54782 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54784         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54786 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54788         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54789         call in strcasestr.
54790         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54791         __strcasestr_sse42_nonascii.
54792         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54793         strcasestr-nonascii.c.
54794         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54796 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54798         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54799         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54800         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54801         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54803 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54805         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54806         fcntl.
54808 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54810         [BZ #11577]
54811         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54812         dl_signal_cerror.
54814 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54816         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54817         _PC_PIPE_BUF using F_GETPIPE_SZ.
54819 2010-07-05  Roland McGrath  <roland@redhat.com>
54821         * manual/arith.texi (Rounding Functions): Fix rint description
54822         implicit in round description.
54824 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54826         * elf/Makefile: Fix linking for a few tests to make recent linker
54827         happy.
54829 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54831         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54832         $(common-objpfx)libc_nonshared.a.
54834 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54836         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54837         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54838         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54839         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54840         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54841         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54842         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54843         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54858         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54859         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54860         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54861         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54862         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54863         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54864         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54865         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54866         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54867         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54868         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54869         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54885 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54887         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54888         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54889         * string/memmove.c (memmove): Renamed to ...
54890         (MEMMOVE): ...this.  Default to memmove.
54891         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54892         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54893         (END_CHK): Define.
54894         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54895         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54896         mempcpy-ssse3-back memmove-ssse3-back.
54897         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54898         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54899         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54900         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54901         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54902         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54903         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54904         * sysdeps/x86_64/multiarch/memmove.c: New file.
54905         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54906         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54907         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54908         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54909         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54910         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54911         Define.
54912         (index_Fast_Copy_Backward): Define.
54913         (HAS_ARCH_FEATURE): Define.
54914         (HAS_FAST_REP_STRING): Define.
54915         (HAS_FAST_COPY_BACKWARD): Define.
54917 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54919         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54920         Restore proper fallback handling.
54922 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54924         [BZ #11701]
54925         * posix/group_member.c (__group_member): Correct checking loop.
54927         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54928         OOM in getpwuid_r correctly.  Return error number when the caller
54929         should return, otherwise -1.
54930         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54931         call returning > 0 value.
54932         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54934 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54936         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54937         libc_nonshared.a from targets in modules-names.
54939 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54941         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54942         requires it.
54944 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54946         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54947         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54948         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54951 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54953         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54955 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54957         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54958         and F_GETPIPE_SZ.
54959         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54960         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54961         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54962         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54963         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54964         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54966 2010-06-14  Roland McGrath  <roland@redhat.com>
54968         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54970 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54972         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54973         __REDIRECT followed by __THROW.
54974         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54975         * posix/getopt.h (getopt): Likewise.
54977 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54979         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54980         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54981         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54982         in AT_FLAGS.
54983         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54984         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54986 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54988         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54990 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54992         [BZ #11640]
54993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54994         Properly check family and model.
54996 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54998         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55000 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
55002         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55004 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
55006         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55007         symbol reference.
55009 2010-05-19  Andreas Schwab  <schwab@redhat.com>
55011         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55012         symbol reference.
55014 2010-05-21  Andreas Schwab  <schwab@redhat.com>
55016         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55017         and internal_recvmmsg.
55018         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55019         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55020         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55021         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55023         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55024         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55025         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55027 2010-05-20  Andreas Schwab  <schwab@redhat.com>
55029         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55031 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
55033         POWER7 optimizations.
55034         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55035         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55037 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
55039         * version.h: Update for 2.13 development version.
55041 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
55043         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55044         exceptions.  Return 0.
55046 2010-05-07  Roland McGrath  <roland@redhat.com>
55048         * elf/ldconfig.c (main): Add a const.
55050 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
55052         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55053         (args_options): Add no-idn option.
55054         (ahosts_keys_int): Add idn_flags to ai_flags.
55055         (parse_option): Handle 'i' option to clear idn_flags.
55057         * malloc/malloc.c (_int_free): Possible race in the most recently
55058         added check.  Only act on the data if no current modification
55059         happened.
55061 See ChangeLog.17 for earlier changes.