]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
2015-01-05 Steve Ellcey <sellcey@imgtec.com>
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12015-01-05 Steve Ellcey <sellcey@imgtec.com>
2
3 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4
52015-01-05 Joseph Myers <joseph@codesourcery.com>
6
7 [BZ #17796]
8 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
9 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10 Define as weak alias not strong alias.
11
122015-01-05 Steve Ellcey <sellcey@imgtec.com>
13
14 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
15 bltzal with addiupc.
16 (RTLD_START): Ditto.
17
182015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
19
20 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
21 for __vdso_* functions in declarations.
22 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23 definitions.
24 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
25 INTERNAL_VSYSCALL): Use struct return types to check for error.
26
27 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
29 function with cast from llround().
30 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
31 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
32 Define.
33
342015-01-05 Joseph Myers <joseph@codesourcery.com>
35
36 [BZ #17793]
37 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38 Define as weak alias not strong alias.
39
40 [BZ #17635]
41 * ctype/ctype-c99.c: New file. isblank implementation moved from
42 ...
43 * ctype/ctype-extn.c: ... here.
44 (__isblank_l): Move to ...
45 * ctype/ctype-c99_l.c: ... here. New file.
46 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
47 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
48 Remove variable.
49 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
50 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
51 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
52 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
53 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
54
55 [BZ #17777]
56 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
57 (posix_fadvise64): Define as weak alias not strong alias.
58 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
59 (posix_fallocate64): Likewise.
60 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
61 Remove variable.
62 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
63 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
64 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
65 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
66 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
67
682015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
69
70 [BZ #16191]
71 * NEWS: Mention bug fix.
72 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
73 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
74 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
75 (HOST_STACK_END_ADDR): Likewise.
76
772015-01-02 Joseph Myers <joseph@codesourcery.com>
78
79 [BZ #17748]
80 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
81 * math/fegetround.c (fegetround): Rename to __fegetround and
82 define as weak alias of __fegetround. Use libm_hidden_weak.
83 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
84 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
85 * sysdeps/arm/fegetround.c (fegetround): Likewise.
86 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
87 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
88 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
89 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
90 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
91 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
92 Undefine after rather than before function definition; use
93 parentheses around function name in definition.
94 (__fegetround): Also undefine macro after function definition.
95 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
96 __fegetround and define as weak alias of __fegetround. Use
97 libm_hidden_weak. Do not undefine as macro.
98 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
99 Likewise.
100 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
101 __fegetround and define as weak alias of __fegetround. Use
102 libm_hidden_weak.
103 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
104 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
105 * sysdeps/tile/math_private.h (__fegetround): New inline function.
106 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
107 __fegetround and define as weak alias of __fegetround. Use
108 libm_hidden_weak.
109 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
110 __fegetround instead of fegetround.
111
112 [BZ #17782]
113 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
114 Condition macro definition on [__USE_MISC].
115
116 [BZ #17781]
117 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
118 (struct sigaction): Change type of sa_flags field to int.
119
120 [BZ #17780]
121 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
122 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
123 __glibc_reserved0.
124
125 * nptl/version.c (banner): Use single year in copyright notice.
126
127 * NEWS: Update copyright dates.
128 * catgets/gencat.c (print_version): Likewise.
129 * csu/version.c (banner): Likewise.
130 * debug/catchsegv.sh: Likewise.
131 * debug/pcprofiledump.c (print_version): Likewise.
132 * debug/xtrace.sh (do_version): Likewise.
133 * elf/ldconfig.c (print_version): Likewise.
134 * elf/ldd.bash.in: Likewise.
135 * elf/pldd.c (print_version): Likewise.
136 * elf/sotruss.sh: Likewise.
137 * elf/sprof.c (print_version): Likewise.
138 * iconv/iconv_prog.c (print_version): Likewise.
139 * iconv/iconvconfig.c (print_version): Likewise.
140 * locale/programs/locale.c (print_version): Likewise.
141 * locale/programs/localedef.c (print_version): Likewise.
142 * login/programs/pt_chown.c (print_version): Likewise.
143 * malloc/memusage.sh (do_version): Likewise.
144 * malloc/memusagestat.c (print_version): Likewise.
145 * malloc/mtrace.pl: Likewise.
146 * manual/libc.texinfo: Likewise.
147 * nptl/version.c (banner): Likewise.
148 * nscd/nscd.c (print_version): Likewise.
149 * nss/getent.c (print_version): Likewise.
150 * nss/makedb.c (print_version): Likewise.
151 * posix/getconf.c (main): Likewise.
152 * scripts/test-installation.pl: Likewise.
153 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
154
1552015-01-02 Will Newton <will.newton@linaro.org>
156
157 * sysdeps/arm/armv7/configure: Removed.
158 * sysdeps/arm/armv7/configure.ac: Likewise.
159
1602015-01-02 Joseph Myers <joseph@codesourcery.com>
161
162 * All files with FSF copyright notices: Update copyright dates
163 using scripts/update-copyrights.
164 * intl/plural.c: Regenerated.
165 * locale/programs/charmap-kw.h: Likewise.
166 * locale/programs/locfile-kw.h: Likewise.
167
1682015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
169
170 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
171
1722014-12-31 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #17748]
175 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
176 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
177 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
178 and define as weak alias of __fegetenv. Use libm_hidden_weak.
179 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
180 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
181 define as weak alias of __fegetenv. Use libm_hidden_weak.
182 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
183 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
184 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
185 define as weak alias of __fegetenv. Use libm_hidden_weak.
186 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
187 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
188 define as weak alias of __fegetenv. Use libm_hidden_weak.
189 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
190 libm_hidden_def.
191 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
192 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
193 Likewise.
194 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
195 define as weak alias of __fegetenv. Use libm_hidden_weak.
196 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
197 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
198 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
199 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
200 and define as weak alias of __fegetenv. Use libm_hidden_weak.
201 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
202 __fegetenv instead of fegetenv.
203 (libc_feholdsetround_noex_ctx): Likewise.
204
2052014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
206
207 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
208 (Elf_MIPS_ABIFlags_v0): New structure.
209 (EF_MIPS_FP64): Define.
210 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
211 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
212 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
213 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
214 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
215 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
216 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
217 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
218 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
219 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
220 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
221 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
222 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
223 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
224 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
225 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
226 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
227 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
228 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
229 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
230 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
231 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
232 field.
233 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
234 EF_MIPS_FP64.
235 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
236 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
237 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
238 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
239 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
240 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
241 * sysdeps/mips/tst-abi-interlink.c: Likewise.
242 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
243 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
244 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
245 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
246 record the current FP ABI extension.
247 (mips-mode-switch): Define to show if kernel headers support mode
248 switching.
249 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
250 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
251 supported SYSV ABI version to 3.
252 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
253 feature.
254
2552014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
256 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
257
258 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
259 path.
260 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
261
2622014-12-31 Joseph Myers <joseph@codesourcery.com>
263
264 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
265 __fegetround and redefine to call __fegetround. Remove condition
266 on [!__NO_MATH_INLINES].
267 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
268 function.
269 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
270 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
271 Remove macro.
272 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
273 instead of <fenv_libc.h>.
274 (__llrintl): Call fegetround instead of __fegetround.
275 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
276 instead of <fenv_libc.h>.
277 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
278 (__lrintl): Call fegetround instead of __fegetround.
279 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
280 instead of <fenv_libc.h>.
281 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
282 (__rintl): Call fegetround instead of __fegetround.
283
2842014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
285
286 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
287 arrays.
288
2892014-12-30 H.J. Lu <hongjiu.lu@intel.com>
290
291 [BZ #17775]
292 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
293 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
294 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
295
2962014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
297
298 * sysdeps/i386/tls-macros.h: Include <features.h>.
299 (TLS_LE): Use non-PIC version for GCC >= 5.0.
300 (TLS_IE): Likewise.
301 (TLS_LD): Likewise.
302 (TLS_GD): Likewise.
303 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
304 define for GCC >= 5.0.
305
3062014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
307
308 * math/test-fenv.c (test_single_exception, set_single_exc,
309 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
310 feexcp_mask_test, feenable_test, fe_single_test): Add
311 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
312 case where they are not used.
313 * math/libm-test.inc: Likewise.
314 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
315 unused in the absence of FP rounding/exception support.
316 * stdio-common/tst-printf-round.c: Likewise.
317 * stdlib/tst-strtod-round.c: Likewise.
318 * stdlib/tst-strtod-underflow.c: Likewise.
319
3202014-12-30 Joseph Myers <joseph@codesourcery.com>
321
322 [BZ #17723]
323 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
324 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
325 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
326 __feraiseexcept and define as weak alias of __feraiseexcept. Use
327 libm_hidden_weak.
328 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
329 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
330 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
331 libm_hidden_def.
332 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
333 __feraiseexcept and define as weak alias of __feraiseexcept. Use
334 libm_hidden_weak.
335 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
336 Likewise.
337 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
338 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
339 __feraiseexcept and define as weak alias of __feraiseexcept. Use
340 libm_hidden_weak.
341 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
342 libm_hidden_def.
343 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
344 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
345 (__feraiseexcept): Likewise.
346 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
347 __feraiseexcept and define as weak alias of __feraiseexcept. Use
348 libm_hidden_weak.
349 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
350 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
351 libm_hidden_def.
352 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
353 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
354 Use libm_hidden_def.
355 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
356 libm_hidden_def.
357 (feraiseexcept): Define as weak not strong alias. Use
358 libm_hidden_weak.
359 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
360 New inline function. Factored out of ...
361 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
362 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
363 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
364 feraiseexcept.
365 * math/w_acos.c (__acos): Likewise.
366 * math/w_asin.c (__asin): Likewise.
367 * math/w_ilogb.c (__ilogb): Likewise.
368 * math/w_j0.c (y0): Likewise.
369 * math/w_j1.c (y1): Likewise.
370 * math/w_jn.c (yn): Likewise.
371 * math/w_log.c (__log): Likewise.
372 * math/w_log10.c (__log10): Likewise.
373 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
374 * sysdeps/aarch64/fpu/math_private.h
375 (libc_feupdateenv_test_aarch64): Likewise.
376 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
377 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
378 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
379 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
380 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
381 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
382 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
383 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
384 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
385 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
386
3872014-12-30 H.J. Lu <hongjiu.lu@intel.com>
388
389 [BZ #17732]
390 * io/test-utime.c (main): Replace %ld with %jd and cast to
391 intmax_t.
392 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
393 * nptl/tst-mutex5.c: Include <stdint.h>.
394 (do_test): Replace %ld with %jd and cast to intmax_t.
395 * posix/tst-regex.c (run_test): Likewise.
396 (run_test_backwards): Likewise.
397 * rt/tst-clock.c: Include <stdint.h>.
398 (clock_test): Replace %ld with %jd and cast to intmax_t.
399 * rt/tst-cpuclock1.c: Include <stdint.h>.
400 (do_test): Replace %lu with %ju and cast to uintmax_t.
401 * rt/tst-cpuclock2.c: Include <stdint.h>.
402 (do_test): Replace %lu with %ju and cast to uintmax_t.
403 * rt/tst-mqueue1.c: Include <stdint.h>.
404 (check_attrs): Replace %ld with %jd and cast to intmax_t.
405 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
406 intmax_t.
407 * rt/tst-mqueue4.c (do_test): Likewise.
408 * rt/tst-timer4.c: Include <stdint.h>.
409 (check_ts): Replace %ld with %jd and cast to intmax_t.
410 (do_test): Likewise.
411 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
412 and cast to intmax_t.
413 * sysdeps/pthread/tst-timer.c (main): Likewise.
414 * time/clocktest.c (main): Likewise.
415 * time/tst-posixtz.c (do_test): Likewise.
416 * timezone/tst-timezone.c (main): Likewise.
417
4182014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
419 H.J. Lu <hongjiu.lu@intel.com>
420
421 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
422 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
423 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
424 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
425 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
426 version if bit_Fast_Unaligned_Load is set.
427 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
428 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
429 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
430 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
431 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
432 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
434 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
435 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
436 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
437 to 4.
438 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
439 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
440 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
441 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
442
4432014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
444
445 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
446 instead of #if to avoid a Wundef warning.
447 * stdlib/tst-limits.c (do_test): Likewise.
448
449 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
450 parallel other exception macros.
451 (fegetenv): Convert from macro to extern inline so that it applies
452 retroactively to inline functions already seen by the compiler.
453 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
454
455 * posix/Makefile (before-compile): Use $(objpfx) for
456 posix-conf-vars-def.h.
457
4582014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
459
460 * posix/getconf.c (main): Use size_t for type of I.
461 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
462 NSPEC.
463
464 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
465 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
466 * posix/posix-envs.def: Likewise.
467 * sysdeps/posix/sysconf.c: Likewise.
468 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
469 (specs): Remove array.
470 * scripts/gen-posix-conf-vars.awk: Support generation of specs
471 array.
472
473 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
474 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
475 (__sysconf): Use CONF_IS_* macros.
476
477 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
478 ($(objpfx)posix-conf-vars-def.h): New target.
479 * posix/posix-conf-vars.list: New file.
480 * posix/posix-conf-vars.h: New file.
481 * posix/confstr.c: Include posix-conf-vars.h.
482 (confstr): Use CONF_IS_* macros.
483 * posix/posix-envs.def: Include posix-conf-vars.h. Use
484 CONF_IS_* macros.
485 * scripts/gen-posix-conf-vars.awk: New file.
486
4872014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
488
489 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
490 fegetround): Add no-op macros to avoid linknamespace issues.
491
492 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
493 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
494
495 * sysdeps/unix/sysv/linux/tile/sysdep.h
496 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
497 assembly-specific section to avoid a redefinition warning.
498
499 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
500 long before casting to pointer to avoid a cast warning.
501
5022014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
503
504 * sysdeps/tile/tilegx/Implies: New file.
505
5062014-12-23 Richard Earnshaw <rearnsha@arm.com>
507
508 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
509
5102014-12-23 Florian Weimer <fweimer@redhat.com>
511
512 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
513
5142014-12-22 Joseph Myers <joseph@codesourcery.com>
515
516 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
517 not define.
518 * sysdeps/unix/sysv/linux/utimes.c: Do not include
519 <kernel-features.h>.
520 (__utimes) [__NR_utimes]: Make code unconditional.
521 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
522 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
523 (__ASSUME_UTIMES): Do not undefine.
524 * sysdeps/unix/sysv/linux/tile/kernel-features.h
525 (__ASSUME_UTIMES): Likewise.
526 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
527 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
528 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
529 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
530
5312014-12-22 Steve Ellcey <sellcey@imgtec.com>
532
533 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
534
5352014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
536
537 [BZ #17747]
538 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
539 alias to weak alias for j0l, y0l.
540 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
541 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
542
543 [BZ #17746]
544 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
545 conversion.
546
5472014-12-22 Steve Ellcey <sellcey@imgtec.com>
548
549 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
550 to zero if not already defined.
551
5522014-12-22 Joseph Myers <joseph@codesourcery.com>
553
554 [BZ #17724]
555 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
556 (__kernel_standard_f): Remove. Moved to k_standardf.c.
557 (__kernel_standard_l): Remove. Moved to k_standardl.c with
558 (char *) casts added.
559 * sysdeps/ieee754/k_standardf.c: New file.
560 * sysdeps/ieee754/k_standardl.c: Likewise.
561 * math/Makefile (libm-support): Remove k_standard.
562 (libm-calls): Add k_standard.
563
5642014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
565
566 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
567 Optimize to avoid an unnecessary FPCR read.
568
5692014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
570
571 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
572 Optimize to reduce FPCR/FPSR accesses.
573
5742014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
575
576 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
577 Call libc_fetestexcept_aarch64.
578
5792014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
580
581 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
582 Call libc_fesetround_aarch64.
583
5842014-12-22 Joseph Myers <joseph@codesourcery.com>
585
586 [BZ #17733]
587 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
588 (__bind): Do not define as weak alias.
589 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
590 define.
591 (__getsockname): Do not define as weak alias.
592
5932014-12-22 Will Newton <will.newton@linaro.org>
594
595 * manual/install.texi: Document that we require bison 2.7
596 or above.
597 * INSTALL: Regenerate.
598 * configure.ac: Use AC_CHECK_PROG_VER instead of
599 AC_PATH_PROG when checking for bison and check for
600 version 2.7 or above.
601 * configure: Regenerate.
602
6032014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
604
605 [BZ #17745]
606 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
607 * sysdeps/tile/ffsll.c (ffsll): To here.
608
609 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
610
6112014-12-21 H.J. Lu <hongjiu.lu@intel.com>
612
613 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
614 if not defined.
615 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
616 definition.
617 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
618 hidden ___tls_get_addr.
619 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
620 hidden __tls_get_addr.
621 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
622 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
623 Likewise.
624
6252014-12-21 Andreas Schwab <schwab@linux-m68k.org>
626
627 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
628 _dl_init call.
629
6302014-12-21 H.J. Lu <hongjiu.lu@intel.com>
631
632 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
633 from "call _dl_init@PLT".
634 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
635
6362014-12-21 Anders Kaseorg <andersk@mit.edu>
637
638 * manual/search.texi: (Array Sort Function): Clarify stable sorting
639 guarantees.
640
6412014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
642
643 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
644
6452014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
646
647 [BZ #17744]
648 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
649 strnlen.
650
6512014-12-19 Steve Ellcey <sellcey@imgtec.com>
652
653 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
654 of multu on MIPSr6.
655 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
656 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
657 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
658 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
659 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
660
6612014-12-19 Steve Ellcey <sellcey@imgtec.com>
662
663 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
664 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
665 (PTR_SUBU): Use subu for mips32r6/mips64r6.
666 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
667 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
668 mips32r6/mips64r6.
669 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
670
6712014-12-19 Ondřej Bílka <neleai@seznam.cz>
672
673 * string/strncat.c (STRNCAT): Simplify implementation.
674
6752014-12-19 David S. Miller <davem@davemloft.net>
676
677 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
678 access the quad as both a long double and as a series of 4 words.
679
680 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
681 link_map->l_info array access.
682
6832014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
684
685 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
686
687 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
688 * math/atest-exp2.c (TIMEOUT): Likewise.
689 * math/atest-sincos.c (TIMEOUT): Likewise.
690
6912014-12-19 H.J. Lu <hongjiu.lu@intel.com>
692
693 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
694 -Wno-error with -fno-builtin-lround.
695
6962014-12-19 Torvald Riegel <triegel@redhat.com>
697
698 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
699 Contains futex constants and functions moved over from ...
700 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
701 <lowlevellock-futex.h>.
702 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
703 (lll_timedwait_tid): Add comments and parentheses around macro
704 arguments.
705
7062014-12-19 Torvald Riegel <triegel@redhat.com>
707
708 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
709 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
710 (__lll_private_flag): Remove.
711 (lll_futex_wait): Likewise.
712 (lll_futex_timed_wait): Likewise.
713 (lll_futex_wake): Likewise.
714 (lll_futex_requeue): Likewise.
715 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
716 (__lll_timedwait_tid): Spell out argument names.
717 (lll_timedwait_tid): Add comments and parentheses around macro
718 arguments.
719 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
720 LLL_SHARED and LLL_PRIVATE usable from assembly code.
721
7222014-12-19 Torvald Riegel <triegel@redhat.com>
723
724 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
725 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
726 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
727 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
728 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
729 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
730 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
731 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
732 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
733 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
734 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
735 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
736 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
737 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
738 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
739 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
740 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
741 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
742 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
743
7442014-12-19 H.J. Lu <hongjiu.lu@intel.com>
745
746 * sysdeps/x86_64/x32/Makefile: New file.
747
7482014-12-19 H.J. Lu <hongjiu.lu@intel.com>
749
750 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
751 1L with (mp_limb_t) 1.
752
7532014-12-17 Roland McGrath <roland@hack.frob.com>
754
755 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
756 * nptl/libc_pthread_init.c: ... here.
757 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
758 * nptl/register-atfork.c: ... here.
759
760 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
761 Use pthread_sigmask rather than INTERNAL_SYSCALL.
762 Use assert_perror to check its return value.
763 (__gai_create_helper_thread): Likewise.
764
765 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
766
767 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
768
7692014-12-17 Joseph Myers <joseph@codesourcery.com>
770
771 [BZ #17725]
772 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
773 __profil_counter.
774 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
775 Likewise.
776 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
777 Likewise.
778 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
779 Likewise.
780 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
781 (profil_counter): Likewise.
782 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
783 (profil_counter): Likewise.
784 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
785 Likewise.
786 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
787 Likewise.
788 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
789 (profil_counter): Likewise.
790 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
791 Likewise.
792 [!__profil_counter] (profil_counter): Define as weak alias of
793 __profil_counter.
794 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
795 (profil_counter): Rename to __profil_counter.
796 [!__profil_counter] (profil_counter): Define as weak alias of
797 __profil_counter.
798 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
799 (profil_counter): Rename to __profil_counter.
800 [!__profil_counter] (profil_counter): Define as weak alias of
801 __profil_counter.
802 * sysdeps/posix/profil.c: Update comment referring to
803 profil_counter.
804 (__profil): Use __profil_counter instead of profil_counter.
805 * sysdeps/posix/sprofil.c (profil_counter): Rename to
806 __profil_counter. Use __profil_counter_ushort and
807 __profil_counter_uint in definitions.
808 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
809 instead of profil_counter_uint and profil_counter_ushort.
810
811 [BZ #17722]
812 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
813 define as weak alias of __inet_makeaddr.
814 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
815 as weak alias of __inet_addr.
816 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
817 as weak alias of __inet_pton. Use libc_hidden_weak.
818 * include/arpa/inet.h (__inet_pton): Declare. Use
819 libc_hidden_proto.
820 (inet_makeaddr): Don't use libc_hidden_proto.
821 (__inet_makeaddr): Declare. Use libc_hidden_proto.
822 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
823 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
824 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
825 Remove variable.
826 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
827 (test-xfail-POSIX/time.h/linknamespace): Likewise.
828
8292014-12-17 Steve Ellcey <sellcey@imgtec.com>
830
831 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
832
8332014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
834
835 * stdio-common/bug-vfprintf-nargs.c (do_test):
836 Cast value to intptr_t to avoid format warning
837 for usage with PRIdPTR printing macro.
838
8392014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
840
841 * libio/tst-widetext.c (do_test):
842 Use format type %td instead of %Zd for ptrdiff_t
843 in order to avoid format warning.
844
8452014-12-17 Andreas Schwab <schwab@suse.de>
846
847 * nscd/mem.c (gc): Add size_t cast to match printf format.
848
8492014-12-16 Roland McGrath <roland@hack.frob.com>
850
851 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
852 (init): Apply PTR_MANGLE to pointers before storing them.
853 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
854 before using them.
855
8562014-12-16 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #17719]
859 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
860 define as weak alias of __memrchr.
861 (__memrchr): Do not define as strong alias of memrchr.
862 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
863 Remove variable.
864 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
865 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
866 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
867
868 [BZ #17717]
869 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
870 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
871 (if_indextoname): Rename to __if_indextoname and define as weak
872 alias of __if_indextoname. Use libc_hidden_weak.
873 (if_freenameindex): Rename to __if_freenameindex and define as
874 weak alias of __if_freenameindex.
875 (if_nameindex): Rename to __if_nameindex and define as weak alias
876 of __if_nameindex.
877 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
878 __if_nametoindex and define as weak alias of __if_nametoindex.
879 Use libc_hidden_weak.
880 (if_freenameindex): Rename to __if_freenameindex and define as
881 weak alias of __if_freenameindex.
882 (if_nameindex): Rename to __if_nameindex and define as weak alias
883 of __if_nameindex.
884 (if_indextoname): Rename to __if_indextoname and define as weak
885 alias of __if_indextoname. Use libc_hidden_weak.
886 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
887 __if_nametoindex and define as weak alias of __if_nametoindex.
888 Use libc_hidden_weak.
889 (if_freenameindex): Rename to __if_freenameindex and define as
890 weak alias of __if_freenameindex. Use libc_hidden_weak.
891 (if_nameindex_netlink): Use __if_freenameindex instead of
892 if_freenameindex.
893 (if_nameindex): Rename to __if_nameindex and define as weak alias
894 of __if_nameindex. Use libc_hidden_weak.
895 (if_indextoname): Rename to __if_indextoname and define as weak
896 alias of __if_indextoname. Use libc_hidden_weak.
897 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
898 libc_hidden_proto.
899 [!_ISOMAC] (__if_freenameindex): Likewise.
900 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
901 if_nametoindex.
902 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
903 variable.
904 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
905 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
906 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
907 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
908 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
909 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
910 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
911
912 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
913 Remove variable.
914 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
915 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
916
9172014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
918
919 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
920 subscript above bounds'
921
922 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
923 bounds.
924
9252014-12-16 Arjun Shankar <arjun.is@lostca.se>
926
927 * libio/tst-fopenloc.c: Use test-skeleton.c.
928
929 * stdlib/tst-bsearch.c: Use test-skeleton.c.
930 (entry): Rename to ITEM.
931 (do_test, comp): Adjust.
932
933 * stdio-common/tst-fseek.c: Use test-skeleton.c.
934
9352014-12-16 Torvald Riegel <triegel@redhat.com>
936
937 * string/tester.c: Include <libc-internal.h>.
938 (test_memset): Ignore -Wmemset-transposed-args.
939
9402014-12-16 Torvald Riegel <triegel@redhat.com>
941
942 * misc/tst-mntent2.c (do_test): Fix warning.
943
9442014-12-16 Torvald Riegel <triegel@redhat.com>
945
946 * elf/tst-unique4lib.cc(a): Mark as used.
947
9482014-12-16 Florian Weimer <fweimer@redhat.com>
949
950 [BZ #17630]
951 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
952 names.
953
9542014-12-16 Allan McRae <allan@archlinux.org>
955
956 * stdio-common/Makefile (tests): Re-add bug26.
957
9582014-12-15 Ondřej Bílka <neleai@seznam.cz>
959
960 [BZ #17657]
961 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
962 static array.
963
9642014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
965
966 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
967 (__lll_lock_wait): Likewise.
968 (__lll_timedlock_wait): Likewise.
969 (__lll_timedwait_tid): Likewise.
970 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
971 (__lll_robust_timedlock_wait): Likewise.
972 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
973 (lll_cond_trylock): Likewise.
974 (__lll_lock): Likewise.
975 (__lll_robust_lock): Likewise.
976 (__lll_cond_lock): Likewise.
977 (lll_robust_cond_lock): Likewise.
978 (__lll_timedlock): Likewise.
979 (__lll_robust_timedlock): Likewise.
980 (__lll_unlock): Likewise.
981 (__lll_robust_unlock): Likewise.
982 (lll_wait_tid): Likewise.
983 (lll_timedwait_tid): Likewise.
984
9852014-12-15 Torvald Riegel <triegel@redhat.com>
986
987 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
988
9892014-12-15 Torvald Riegel <triegel@redhat.com>
990
991 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
992
9932014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
994
995 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
996 * stdio-common/tst-sprintf.c: Likewise.
997
9982014-12-15 Torvald Riegel <triegel@redhat.com>
999
1000 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1001
10022014-12-15 Jeff Law <law@redhat.com>
1003
1004 [BZ #16617]
1005 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1006 on the heap. (CVE-2012-3406)
1007 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1008 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1009 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1010
10112014-12-15 Will Newton <will.newton@linaro.org>
1012
1013 * manual/install.texi: Bump required version of texinfo
1014 to 4.7 from 4.5.
1015 * INSTALL: Regenerated.
1016 * configure.ac: Check for makeinfo version 4.7 and above.
1017 * configure: Regenerated.
1018
10192014-12-12 Roland McGrath <roland@hack.frob.com>
1020
1021 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1022 PREFIX, string constant to insert between directory and name.
1023 * sysdeps/posix/shm_open.c: Update caller.
1024 * sysdeps/posix/shm_unlink.c: Likewise.
1025 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1026 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1027 (SEM_SHM_PREFIX): New macro.
1028 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1029 [$(have-thread-library) = no].
1030 * nptl/Makefile (libpthread-routines): Add shm-directory.
1031 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1032 * sysdeps/nptl/shm-directory.h: New file.
1033 * sysdeps/posix/shm-directory.c
1034 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1035 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1036 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1037 INTERNAL_SYSCALL.
1038 (__where_is_shmfs): Function removed.
1039 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1040 Variables removed.
1041 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1042 Use SHM_GET_NAME.
1043 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1044
1045 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1046 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1047 unconditional for use inside libpthread.
1048 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1049
10502014-12-12 Roland McGrath <roland@hack.frob.com>
1051
1052 * nptl/pthread_getaffinity.c: New file.
1053 * nptl/pthread_setaffinity.c: New file.
1054 * nptl/pthread_getname.c: New file.
1055 * nptl/pthread_setname.c: New file.
1056
1057 * nptl/pthread_create.c (START_THREAD_DEFN)
1058 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1059
10602014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1061 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1062
1063 * resolv/res_send.c (send_vc): Disable warning resplen may
1064 be used uninitialized.
1065
10662014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1067
1068 * nptl/tst-mutex6.c
1069 (ATTR_NULL): New define checks ATTR against NULL.
1070 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1071 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1072
10732014-12-11 James Lemke <jwlemke@codesourcery.com>
1074
1075 [BZ #17581]
1076 * malloc/hooks.c
1077 (mem2mem_check): Revert my previous change.
1078 (malloc_check_get_size): Revert my previous change.
1079 (mem2chunk_check): Revert my previous change.
1080
10812014-12-11 Roland McGrath <roland@hack.frob.com>
1082
1083 * sysdeps/posix/shm-directory.c: New file.
1084 * sysdeps/posix/shm-directory.h: New file.
1085 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1086 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1087 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1088 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1089 Transmute EPERM to EACCES.
1090 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1091 from ...
1092 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1093 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1094
10952014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1096
1097 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1098 pointer and cast to uintptr_t.
1099 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1100 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1101 Add cast to avoid warning.
1102 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1103
11042014-12-11 Joseph Myers <joseph@codesourcery.com>
1105
1106 * nptl/semaphore.h: Move to ...
1107 * sysdeps/pthread/semaphore.h: ... here.
1108 * Makefile (installed-headers): Change nptl/semaphore.h to
1109 sysdeps/pthread/semaphore.h.
1110
11112014-12-11 Roland McGrath <roland@hack.frob.com>
1112
1113 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1114 generated error format strings.
1115
1116 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1117 -Wformat-extra-args warnings for scanf formats.
1118 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1119 test of zero-length format (duh).
1120 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1121 corner-case scanf format test.
1122 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1123 generated fprintf format string.
1124 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1125 corner-case sprintf format tests.
1126 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1127 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1128 -Wformat-extra-args warnings throughout.
1129 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1130 (CFLAGS-scanf4.c): Likewise.
1131 (CFLAGS-scanf7.c): Likewise.
1132 (CFLAGS-tst-sprintf.c): Likewise.
1133 (CFLAGS-tst-printf.c): Likewise.
1134 (CFLAGS-tst-printfsz.c): Likewise.
1135
11362014-12-11 Joseph Myers <joseph@codesourcery.com>
1137
1138 * include/cpio.h: New file.
1139 * include/fmtmsg.h: Likewise.
1140
1141 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1142 corresponding format argument to size_t.
1143 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1144 arguments.
1145 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1146 corresponding format argument to size_t.
1147 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1148 arguments.
1149 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1150 corresponding format argument to size_t.
1151 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1152 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1153 (CFLAGS-tst-mbswcs2.c): Likewise.
1154 (CFLAGS-tst-mbswcs3.c): Likewise.
1155 (CFLAGS-tst-mbswcs4.c): Likewise.
1156 (CFLAGS-tst-mbswcs5.c): Likewise.
1157 (CFLAGS-tst-trans.c): Likewise
1158
11592014-12-11 Roland McGrath <roland@hack.frob.com>
1160
1161 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1162 rather than assuming they won't contain any '%'s.
1163
11642014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1165
1166 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1167 inhibit_loop_to_libcall to avoid recursive calls.
1168 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1169 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1170
11712014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1172
1173 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1174 prototype.
1175
11762014-12-11 Steve Ellcey <sellcey@imgtec.com>
1177
1178 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1179 integer value instead of boolean.
1180
11812014-12-11 Steve Ellcey <sellcey@imgtec.com>
1182
1183 * malloc/malloc.c: Fix powerof2 check.
1184
11852014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1186
1187 * locale/programs/locfile.h (maybe_swap_uint32):
1188 Remove inline and add unused attribute.
1189
11902014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1191
1192 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1193 Truncating assembler expression to a .long expression.
1194
11952014-12-11 Andreas Schwab <schwab@suse.de>
1196
1197 * elf/rtld.c (struct map_args): Constify str member.
1198 (do_preload): Constify fname argument.
1199
12002014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1201
1202 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1203 constants definition.
1204
12052014-12-11 Andreas Schwab <schwab@suse.de>
1206
1207 [BZ #16657]
1208 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1209 FORCE_ELISION instead of DO_ELISION.
1210 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1211 Remove.
1212 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1213 Likewise.
1214
1215 * iconvdata/gconv-modules: Remove duplicate entry.
1216
12172014-12-11 Will Newton <will.newton@linaro.org>
1218
1219 Merge gettext 0.19.3 into intl/.
1220
1221 This involves a number of cosmetic changes to comments
1222 and ANSI function definitions and prototypes throughout
1223 all the files. The gettext copyright header is used but
1224 with the date ranges taken from the glibc copy.
1225
1226 * NEWS: Add gettext merge to 2.21.
1227 * intl/bindtextdom.c: Switch to gettext copyright.
1228 Use ANSI definitions and prototypes.
1229 Use gl_* locking primitives rather than __libc_* ones.
1230 Use __builtin_expect rather than __glibc_likely/unlikely.
1231 * intl/dcgettext.c: Switch to gettext copyright.
1232 Use ANSI definitions and prototypes.
1233 * intl/dcigettext.c: Switch to gettext copyright.
1234 Use ANSI definitions and prototypes.
1235 (INTDIV0_RAISES_SIGFPE): New define.
1236 Use gl_* locking primitives rather than __libc_* ones.
1237 Include eval-plural.h instead of plural-eval.c.
1238 Use __builtin_expect rather than __glibc_likely/unlikely.
1239 * intl/dcngettext.c: Switch to gettext copyright.
1240 Use ANSI definitions and prototypes.
1241 * intl/dgettext.c: Likewise.
1242 * intl/dngettext.c: Likewise.
1243 * intl/plural-eval.c: Renamed to...
1244 * intl/eval-plural.h: ...this.
1245 * intl/explodename.c: Switch to gettext copyright.
1246 Use ANSI definitions and prototypes.
1247 (_nl_explode_name): Use strchr instead of __rawmemchr.
1248 * intl/finddomain.c: Switch to gettext copyright.
1249 Use ANSI definitions and prototypes.
1250 Use gl_* locking primitives rather than __libc_* ones.
1251 (_nl_find_domain): Use malloc rather than alloca for
1252 allocation of temporary locale name.
1253 * intl/gettext.c: Switch to gettext copyright.
1254 Use ANSI definitions and prototypes.
1255 * intl/gettextP.h: Switch to gettext copyright.
1256 Use ANSI definitions and prototypes.
1257 Use gl_* locking primitives rather than __libc_* ones.
1258 * intl/gmo.h: Switch to gettext copyright.
1259 (struct sysdep_string): Move struct segment_pair outside of
1260 struct definition.
1261 * intl/hash-string.c: Use ANSI definitions and prototypes.
1262 * intl/hash-string.h: Switch to gettext copyright.
1263 Use ANSI definitions and prototypes.
1264 * intl/l10nflist.c: Switch to gettext copyright.
1265 Use ANSI definitions and prototypes.
1266 (_nl_normalize_codeset): Avoid integer overflow.
1267 * intl/loadinfo.h: Switch to gettext copyright.
1268 Use ANSI definitions and prototypes.
1269 (LIBINTL_DLL_EXPORTED): New define.
1270 (PATH_SEPARATOR): New define.
1271 * intl/loadmsgcat.c: Switch to gettext copyright.
1272 * intl/localealias.c: Switch to gettext copyright.
1273 Use ANSI definitions and prototypes.
1274 (_nl_expand_alias): Use PATH_SEPARATOR.
1275 * intl/ngettext.c: Switch to gettext copyright.
1276 Use ANSI definitions and prototypes.
1277 * intl/plural-exp.c: Likewise.
1278 * intl/plural-exp.h: Switch to gettext copyright.
1279 Use ANSI definitions and prototypes.
1280 (struct expression): Move definition of enum operator outside
1281 of struct definition.
1282 * intl/plural.c: Regenerate.
1283 * intl/plural.y: Switch to gettext copyright.
1284 Use ANSI definitions and prototypes.
1285 Port to bison 3.0.
1286 * intl/textdomain.c: Switch to gettext copyright.
1287 Use ANSI definitions and prototypes.
1288 Use gl_* locking primitives rather than __libc_* ones.
1289
12902014-12-10 Steve Ellcey <sellcey@imgtec.com>
1291
1292 * debug/warning-nop.c: Add used atrribute.
1293
12942014-12-10 Joseph Myers <joseph@codesourcery.com>
1295
1296 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1297
1298 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1299 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1300 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1301
13022014-12-10 Joseph Myers <joseph@codesourcery.com>
1303 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1304
1305 [BZ #17634]
1306 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1307 Undefine after defining function. Define as weak alias of
1308 __wcschr. Use libc_hidden_weak.
1309 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1310 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1311 (libc_hidden_def): Also define __GI___wcschr alias.
1312 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1313 __wcschr and define as weak alias of __wcschr.
1314 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1315 __wcschr.
1316 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1317 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1318 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1319 libc_hidden_weak. Do not use libc_hidden_def.
1320 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1321 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1322 __GI___wcschr alias.
1323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1324 [IS_IN (libc)] (wcschr): Define as macro expanding to
1325 __redirect_wcschr.
1326 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1327 [IS_IN (libc)] (__wcschr_power6): Likewise.
1328 [IS_IN (libc)] (__wcschr_power7): Likewise.
1329 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1330 instead of wcschr.
1331 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1332 __libc_wcschr.
1333 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1334 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1335 __wcschr and define as weak alias of __wcschr. Use
1336 libc_hidden_builtin_def.
1337 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1338 as weak alias of __wcschr. Use libc_hidden_weak.
1339 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1340 wcschr.
1341 * time/era.c (_nl_init_era_entries): Likewise.
1342 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1343 variable.
1344 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1345 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1346
13472014-12-10 Joseph Myers <joseph@codesourcery.com>
1348
1349 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1350 format for long int variable.
1351
13522014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1353
1354 [BZ #10672]
1355 * manual/search.texi: (Array Sort Function): Remove claim how to make
1356 qsort stable.
1357
13582014-12-10 Andreas Schwab <schwab@suse.de>
1359
1360 [BZ #12847]
1361 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1362 user-controlled locks.
1363
13642014-12-10 Richard Earnshaw <rearnsha@arm.com>
1365
1366 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1367 register.
1368
13692014-12-10 Joseph Myers <joseph@codesourcery.com>
1370
1371 * configure.ac (--disable-werror): New configure option.
1372 (enable_werror): New AC_SUBST.
1373 * configure: Regenerated.
1374 * config.make.in (enable-werror): New variable.
1375 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1376 -Wno-error=undef.
1377 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1378 * manual/install.texi (Configuring and compiling): Document
1379 --disable-werror.
1380 * INSTALL: Regenerated.
1381 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1382 (CFLAGS-tst-chk2.c): Likewise.
1383 (CFLAGS-tst-chk3.c): Likewise.
1384 (CFLAGS-tst-chk4.cc): Likewise.
1385 (CFLAGS-tst-chk5.cc): Likewise.
1386 (CFLAGS-tst-chk6.cc): Likewise.
1387 (CFLAGS-tst-lfschk1.c): Likewise.
1388 (CFLAGS-tst-lfschk2.c): Likewise.
1389 (CFLAGS-tst-lfschk3.c): Likewise.
1390 (CFLAGS-tst-lfschk4.cc): Likewise.
1391 (CFLAGS-tst-lfschk5.cc): Likewise.
1392 (CFLAGS-tst-lfschk6.cc): Likewise.
1393
1394 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1395 (main): Disable -Wdeprecated-declarations around calls to
1396 register_printf_function.
1397
1398 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1399 (do_test): Disable -Wdiv-by-zero around some calls to
1400 fwrite_unlocked and fread_unlocked.
1401
1402 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1403 (DIAG_POP_NEEDS_COMMENT): Likewise.
1404 (_DIAG_STR1): Likewise.
1405 (_DIAG_STR): Likewise.
1406 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1407 * stdio-common/bug21.c: Include <libc-internal.h>.
1408 (do_test): Disable -Wformat around call to sscanf.
1409 * stdio-common/scanf14.c: Include <libc-internal.h>.
1410 (main): Disable -Wformat around some calls to scanf functions.
1411
14122014-12-09 Torvald Riegel <triegel@redhat.com>
1413
1414 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1415
14162014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417
1418 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1419 stack variable alignment.
1420
14212014-12-06 Joseph Myers <joseph@codesourcery.com>
1422
1423 [BZ #17682]
1424 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1425 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1426 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1427 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1428 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1429 __getrlimit instead of getrlimit.
1430 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1431 __gettimeofday instead of gettimeofday.
1432 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1433 Likewise.
1434 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1435 Likewise.
1436 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1437 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1438 Remove variable.
1439 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1440 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1441
14422014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443
1444 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1445 for wide-character tests.
1446
14472014-12-04 Roland McGrath <roland@hack.frob.com>
1448
1449 * io/openat64.c: #include <libc-internal.h>
1450 (__openat64): Prototypify. Use ignore_value on MODE.
1451 * io/openat.c: Likewise.
1452 * misc/reboot.c: #include <libc-internal.h>
1453 (reboot): Prototypify. Use ignore_value on HOWTO.
1454 * misc/ptrace.c: #include <libc-internal.h>
1455 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1456
14572014-12-04 Joseph Myers <joseph@codesourcery.com>
1458
1459 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1460 XPG4, UNIX98 and XOPEN2K.
1461 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1462 Remove variable.
1463 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1464
14652014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1466
1467 * libio/fileops.c: Use ISO C style for function definitions.
1468 * libio/iofopen.c: Likewise.
1469 * libio/wfileops.c: Likewise.
1470
1471 [BZ #17653]
1472 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1473 offset on EOF.
1474 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1475 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1476 (fgets_func): Function pointer to fgets and fgetws.
1477 (do_ftell_test): Add test to verify ftell value after read
1478 EOF.
1479 (do_test): Set fgets_func.
1480
1481 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1482 O_TRUNC flag for w and w+ modes.
1483 (do_rewind_test): Likewise.
1484 (do_ftell_test): Likewise.
1485 (do_write_test): Likewise.
1486
1487 [BZ #17647]
1488 * libio/fileops.c (do_ftell): Seek only when there are
1489 unflushed writes.
1490 * libio/wfileops.c (do_ftell_wide): Likewise.
1491 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1492 test case.
1493 (do_one_test): Call it.
1494
14952014-12-03 Joseph Myers <joseph@codesourcery.com>
1496
1497 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1498 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1499 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1500 Remove variable.
1501 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1502 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1503 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1504
15052014-12-02 Joseph Myers <joseph@codesourcery.com>
1506
1507 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1508 Remove variable.
1509 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1510
1511 [BZ #17668]
1512 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1513 as weak alias of __getifaddrs. Use libc_hidden_weak.
1514 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1515 __freeifaddrs. Use libc_hidden_weak.
1516 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1517 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1518 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1519 __freeifaddrs. Use libc_hidden_weak.
1520 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1521 __getifaddrs and define as weak alias of __getifaddrs. Use
1522 libc_hidden_weak.
1523 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1524 __freeifaddrs. Use libc_hidden_weak.
1525 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1526 Remove variable.
1527 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1528 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1529
15302014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1531
1532 [BZ #17601]
1533 * sysdeps/mips/start.S (__start): Use indirect jump to call
1534 __libc_start_main.
1535
15362014-12-02 Joseph Myers <joseph@codesourcery.com>
1537
1538 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1539
1540 * nptl/tst-mutex1.c: Include <stdbool.h>.
1541 [!ATTR] (ATTR_NULL): New macro.
1542 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1543 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1544 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1545
1546 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1547 to char *.
1548
1549 [BZ #17665]
1550 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1551 Change conditional to [__USE_MISC].
1552
1553 [BZ #17664]
1554 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1555 fgets_unlocked.
1556 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1557 __fgets_unlocked.
1558 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1559 fgets_unlocked.
1560 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1561 Remove variable.
1562 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1563 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1564 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1565 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1566 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1567 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1568 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1569 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1570 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1571
1572 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1573
15742014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575
1576 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1577 Remove strpbrk objects.
1578 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1579 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1580 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1581 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1582 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1583 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1584
1585 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1586 Remove strcspn objects.
1587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1588 (__libc_ifunc_impl_list): Remove strcspn implementation.
1589 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1590 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1591 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1592 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1593
1594 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1595 Remove strspn objetcs.
1596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1597 (__libc_ifunc_impl_list): Remove strspn implementation.
1598 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1599 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1600 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1601 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1602
16032014-12-01 James Lemke <jwlemke@codesourcery.com>
1604
1605 [BZ #17581]
1606 * malloc/hooks.c
1607 (mem2mem_check): Add a terminator to the chain of checking blocks.
1608 (malloc_check_get_size): Use it here.
1609 (mem2chunk_check): Ditto.
1610
16112014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1612
1613 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1614 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1615
16162014-11-29 Carlos O'Donell <carlos@redhat.com>
1617
1618 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1619
1620 * nptl/nptl-init.c: Include libc-internal.h.
1621 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1622
1623 * elf/ldconfig.c (search_dir): Expand comment.
1624
16252014-11-29 Joseph Myers <joseph@codesourcery.com>
1626
1627 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1628 variable.
1629 (linknamespace-symlist-stdlibs-tests): Likewise.
1630 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1631 instead of $(objpfx)symlist-stdlibs.
1632 (linknamespace-libs-isoc): New variable.
1633 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1634 (linknamespace-libs-ISO): New variable.
1635 (linknamespace-libs-ISO99): Likewise.
1636 (linknamespace-libs-ISO11): Likewise.
1637 (linknamespace-libs-XPG3): Likewise.
1638 (linknamespace-libs-XPG4): Likewise.
1639 (linknamespace-libs-POSIX): Likewise.
1640 (linknamespace-libs-UNIX98): Likewise.
1641 (linknamespace-libs-XOPEN2K): Likewise.
1642 (linknamespace-libs-POSIX2008): Likewise.
1643 (linknamespace-libs-XOPEN2K8): Likewise.
1644 ($(objpfx)symlist-stdlibs): Replace by
1645 $(linknamespace-symlist-stdlibs-tests). Use
1646 $(linknamespace-libs-$*) as set of libraries.
1647 ($(linknamespace-header-tests)): Update dependencies. Use
1648 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1649 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1650 * conform/linknamespace.pl: Remove comment about considering
1651 definitions of symbols from irrelevant libraries.
1652
16532014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1654
1655 [BZ #13862]
1656 * elf/dl-tls.c: Include <atomic.h>.
1657 (oom): Remove #ifdef SHARED/#endif.
1658 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1659 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1660 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1661 big enough.
1662 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1663 * nptl/Makefile (tests): Add tst-stack4.
1664 (modules-names): Add tst-stack4mod.
1665 ($(objpfx)tst-stack4): New.
1666 (tst-stack4mod.sos): Likewise.
1667 ($(objpfx)tst-stack4.out): Likewise.
1668 ($(tst-stack4mod.sos)): Likewise.
1669 (clean): Likewise.
1670 * nptl/tst-stack4.c: New file.
1671 * nptl/tst-stack4mod.c: Likewise.
1672
16732014-11-27 J. Brown <jb999@gmx.de>
1674
1675 * sysdeps/x86/bits/string.h: Add recent CPUs.
1676
16772014-11-27 Joseph Myers <joseph@codesourcery.com>
1678
1679 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1680 sigblock.
1681
1682 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1683 feof.
1684
1685 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1686 variable.
1687
16882014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1689
1690 * nscd/connections.c: Include libc-internal.h because of macro
1691 usage ignore_value.
1692
16932014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
1695 * string/bits/string3.h (__warn_memset_zero_len): Don't
1696 declare for gcc newer than 5.0.
1697 (memset): Don't test for zero-length __LEN for gcc newer than
1698 5.0.
1699
17002014-11-27 Joseph Myers <joseph@codesourcery.com>
1701
1702 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1703 size_t for %zu format.
1704
1705 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1706 difference, not %ju.
1707
17082014-11-26 Joseph Myers <joseph@codesourcery.com>
1709
1710 * include/libc-internal.h (ignore_value): New macro.
1711 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1712 with ignore_value.
1713
1714 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1715 definition.
1716
1717 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1718 pthread_cleanup_push to void *.
1719
1720 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1721 Undefine.
1722
1723 [BZ #16619]
1724 [BZ #16740]
1725 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1726 instead of 1L << 52.
1727
1728 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1729 * libio/bug-rewind2.c (do_test): Likewise.
1730
1731 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1732 * debug/test-strcpy_chk-ifunc.c: Likewise.
1733 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1734 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1735 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1736 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1737 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1738 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1739 * Rules [$(multi-arch) = no] (tests): Do not filter out
1740 $(tests-ifunc).
1741 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1742 * debug/Makefile (tests-ifunc): Remove variable.
1743 (tests): Do not add $(tests-ifunc).
1744 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1745 (tests): Do not add $(tests-ifunc).
1746 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1747 [TEST_IFUNC]: Remove conditionals.
1748 * string/test-string.h (TEST_IFUNC): Remove macro.
1749 [TEST_IFUNC]: Remove conditionals.
1750
1751 * string/test-strchr.c [!WIDE] (L): New macro.
1752 [WIDE] (L): Likewise.
1753 (check1): Use CHAR instead of char. Use L on string and character
1754 constants.
1755
17562014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1757
1758 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1759 tests.
1760 * sysdeps/powerpc/bits/atomic.h
1761 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1762 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1763 (atomic_exchange_and_add_acq): Likewise.
1764 (atomic_exchange_and_add_rel): Likewise.
1765 * sysdeps/powerpc/powerpc32/bits/atomic.h
1766 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1767 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1768 * sysdeps/powerpc/powerpc64/bits/atomic.h
1769 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1770 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1771
17722014-11-26 Torvald Riegel <triegel@redhat.com>
1773
1774 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1775 Change synchronization of __sched_fifo_min_prio and
1776 __sched_fifo_max_prio.
1777 * nptl/pthread_mutexattr_getprioceiling.c
1778 (pthread_mutexattr_getprioceiling): Likewise.
1779 * nptl/pthread_mutexattr_setprioceiling.c
1780 (pthread_mutexattr_setprioceiling): Likewise.
1781 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1782 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1783 Likewise.
1784
17852014-11-26 Joseph Myers <joseph@codesourcery.com>
1786
1787 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1788 void.
1789
17902014-11-25 Joseph Myers <joseph@codesourcery.com>
1791
1792 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1793 third argument const.
1794
17952014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1796
1797 fnmatch: work around GCC compiler warning bug with uninit var
1798 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1799 This works around a bug with x86-64 GCC 4.9.2 and earlier
1800 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1801 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1802 used uninitialized in this function [-Wmaybe-uninitialized]".
1803
18042014-11-25 Joseph Myers <joseph@codesourcery.com>
1805
1806 * posix/bug-regex31.c (main): Return RES not 0.
1807
18082014-11-25 Anton Blanchard <anton@samba.org>
1809
1810 * sysdeps/powerpc/bits/atomic.h
1811 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1812
18132014-11-24 Sterling Augustine <saugustine@google.com>
1814
1815 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1816
18172014-11-24 Ryan Cumming <etaoins@gmail.com>
1818
1819 [BZ #17608]
1820 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1821
18222014-11-24 Joseph Myers <joseph@codesourcery.com>
1823
1824 [BZ #17633]
1825 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1826 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1827 variable.
1828 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1829 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1830
18312014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1832
1833 * string/strncpy.c (strncpy): Improve performance by using memset.
1834
18352014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1836
1837 * string/strcpy.c (strcpy):
1838 Improve performance by using strlen and memcpy.
1839
18402014-11-24 Leonhard Holz <leonhard.holz@web.de>
1841
1842 * string/strcoll_l.c (get_next_seq): __always_inline.
1843 * string/strcoll_l.c (do_compare): __always_inline.
1844
18452014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1846
1847 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1848 defined.
1849 * include/mqueue.h: Likewise.
1850 * include/stdlib.h: Likewise.
1851
1852 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1853 (get_null_defines): Adjust.
1854 * sunrpc/Makefile: Adjust comment.
1855 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1856 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1857 (CFLAGS-interp.c): Likewise.
1858 (CFLAGS-ldconfig.c): Likewise.
1859 (CPPFLAGS-.os): Likewise.
1860 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1861 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1862 * extra-modules.mk (extra-modules.mk): Likewise.
1863 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1864 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1865 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1866 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1867 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1868 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1869 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1870 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1871 * iconvdata/Makefile (CPPFLAGS): Likewise.
1872 (cpp-srcs-left): Add libof for all iconvdata routines.
1873 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1874 * include/assert.h: Likewise.
1875 * include/ctype.h: Likewise.
1876 * include/errno.h: Likewise.
1877 * include/libc-symbols.h: Likewise.
1878 * include/math.h: Likewise.
1879 * include/netdb.h: Likewise.
1880 * include/resolv.h: Likewise.
1881 * include/stdio.h: Likewise.
1882 * include/stdlib.h: Likewise.
1883 * include/string.h: Likewise.
1884 * include/sys/stat.h: Likewise.
1885 * include/wctype.h: Likewise.
1886 * intl/l10nflist.c: Likewise.
1887 * libidn/idn-stub.c: Likewise.
1888 * libio/libioP.h: Likewise.
1889 * nptl/libc_multiple_threads.c: Likewise.
1890 * nptl/pthreadP.h: Likewise.
1891 * posix/regex_internal.h: Likewise.
1892 * resolv/res_hconf.c: Likewise.
1893 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1894 * sysdeps/arm/memmove.S: Likewise.
1895 * sysdeps/arm/sysdep.h: Likewise.
1896 * sysdeps/generic/_itoa.h: Likewise.
1897 * sysdeps/generic/symbol-hacks.h: Likewise.
1898 * sysdeps/gnu/errlist.awk: Likewise.
1899 * sysdeps/gnu/errlist.c: Likewise.
1900 * sysdeps/i386/i586/memcpy.S: Likewise.
1901 * sysdeps/i386/i586/memset.S: Likewise.
1902 * sysdeps/i386/i686/memcpy.S: Likewise.
1903 * sysdeps/i386/i686/memmove.S: Likewise.
1904 * sysdeps/i386/i686/mempcpy.S: Likewise.
1905 * sysdeps/i386/i686/memset.S: Likewise.
1906 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1907 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1908 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1909 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1910 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1911 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1912 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1913 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1914 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1916 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1917 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1918 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1919 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1920 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1921 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1922 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1923 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1924 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1925 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1926 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1927 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1928 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1929 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1930 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1932 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1933 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1934 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1935 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1936 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1937 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1942 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1943 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1944 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1945 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1946 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1947 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1948 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1949 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1950 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1951 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1952 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1953 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1954 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1955 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1956 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1957 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1958 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1959 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1960 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1961 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1962 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1963 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1964 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1966 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1967 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1968 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1969 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1970 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1971 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1972 * sysdeps/posix/closedir.c: Likewise.
1973 * sysdeps/posix/opendir.c: Likewise.
1974 * sysdeps/posix/readdir.c: Likewise.
1975 * sysdeps/posix/rewinddir.c: Likewise.
1976 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1977 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1978 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1979 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1980 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1981 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1982 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1983 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1985 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1993 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1995 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1999 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2000 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2001 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2002 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2003 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2005 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2006 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2007 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2008 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2012 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2013 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2014 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2015 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2016 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2017 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2018 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2019 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2020 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2021 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2022 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2023 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2024 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2025 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2026 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2027 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2028 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2029 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2030 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2032 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2033 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2034 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2035 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2036 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2037 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2038 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2039 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2040 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2041 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2043 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2044 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2045 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2046 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2048 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2049 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2050 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2051 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2052 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2053 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2054 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2055 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2056 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2057 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2058 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2060 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2062 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2063 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2064 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2065 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2066 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2067 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2068 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2070 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2072 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2074 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2075 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2076 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2077 * sysdeps/unix/alpha/sysdep.S: Likewise.
2078 * sysdeps/unix/alpha/sysdep.h: Likewise.
2079 * sysdeps/unix/make-syscalls.sh: Likewise.
2080 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2081 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2082 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2083 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2084 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2085 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2086 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2087 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2088 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2089 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2090 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2091 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2092 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2093 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2094 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2095 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2096 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2097 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2098 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2099 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2100 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2101 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2102 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2103 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2104 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2105 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2106 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2109 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2110 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2114 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2118 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2119 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2120 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2121 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2122 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2123 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2124 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2125 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2127 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2128 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2130 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2131 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2132 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2133 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2135 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2136 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2138 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2139 * sysdeps/x86_64/memcpy.S: Likewise.
2140 * sysdeps/x86_64/memmove.c: Likewise.
2141 * sysdeps/x86_64/memset.S: Likewise.
2142 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2143 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2144 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2145 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2146 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2147 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2148 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2149 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2150 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2151 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2152 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2153 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2154 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2155 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2156 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2157 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2158 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2159 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2160 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2161 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2162 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2163 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2164 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2166 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2167 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2168 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2169 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2170 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2171 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2172 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2173 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2174 * sysdeps/x86_64/strcmp.S: Likewise.
2175
2176 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2177
2178 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2179 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2180 * elf/rtld-Rules: Likewise.
2181 * elf/setup-vdso.h: Likewise.
2182 * include/assert.h: Likewise.
2183 * include/bits/stdlib-float.h: Likewise.
2184 * include/errno.h: Likewise.
2185 * include/sys/stat.h: Likewise.
2186 * include/unistd.h: Likewise.
2187 * sysdeps/aarch64/setjmp.S: Likewise.
2188 * sysdeps/alpha/setjmp.S: Likewise.
2189 * sysdeps/arm/__longjmp.S: Likewise.
2190 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2191 * sysdeps/arm/setjmp.S: Likewise.
2192 * sysdeps/arm/sysdep.h: Likewise.
2193 * sysdeps/generic/_itoa.h: Likewise.
2194 * sysdeps/generic/dl-sysdep.h: Likewise.
2195 * sysdeps/generic/ldsodefs.h: Likewise.
2196 * sysdeps/i386/dl-tls.h: Likewise.
2197 * sysdeps/i386/setjmp.S: Likewise.
2198 * sysdeps/m68k/setjmp.c: Likewise.
2199 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2200 * sysdeps/mach/hurd/opendir.c: Likewise.
2201 * sysdeps/posix/getcwd.c: Likewise.
2202 * sysdeps/posix/opendir.c: Likewise.
2203 * sysdeps/posix/profil.c: Likewise.
2204 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2205 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2206 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2207 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2208 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2209 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2210 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2211 * sysdeps/s390/dl-tls.h: Likewise.
2212 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2213 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2214 * sysdeps/sh/sh3/setjmp.S: Likewise.
2215 * sysdeps/sh/sh4/setjmp.S: Likewise.
2216 * sysdeps/unix/alpha/sysdep.h: Likewise.
2217 * sysdeps/unix/arm/sysdep.S: Likewise.
2218 * sysdeps/unix/i386/sysdep.S: Likewise.
2219 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2220 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2221 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2222 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2223 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2224 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2225 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2226 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2227 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2228 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2229 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2230 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2231 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2234 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2237 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2238 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2239 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2241 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2242 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2243 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2244 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2246 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2247 * sysdeps/x86_64/setjmp.S: Likewise.
2248
2249 * include/math.h: Use IS_IN instead of IS_IN_libm.
2250 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2262 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2270 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2271 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2272 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2273 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2274 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2275 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2277 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2278 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2279 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2280 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2281 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2282 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2284 Likewise.
2285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2286 Likewise.
2287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2288 Likewise.
2289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2290 Likewise.
2291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2292 Likewise.
2293 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2294 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2295 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2296 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2297 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2298 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2304 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2305 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2306 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2308 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2309 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2310 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2311 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2312 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2313 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2314 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2315 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2316 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2317 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2319 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2320
2321 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2322 * nptl/pthreadP.h: Likewise.
2323 * nptl_db/structs.def: Likewise.
2324 * sysdeps/arm/sysdep.h: Likewise.
2325 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2326 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2327 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2328 * sysdeps/unix/alpha/sysdep.h: Likewise.
2329 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2331 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2332 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2333 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2334 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2336 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2337 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2338 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2339 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2340 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2341 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2342 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2345 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2346 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2347 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2348 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2350 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2351 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2352 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2353 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2354 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2355
2356 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2357 * nptl/pthreadP.h: Likewise.
2358 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2359 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2360 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2361 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2362 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2363 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2364 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2365 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2366 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2367 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2368 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2369 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2371 Likewise.
2372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2373 Likewise.
2374 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2375 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2376 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2379 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2380 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2382
2383 * dlfcn/dladdr.c: Use IS_IN.
2384 * dlfcn/dladdr1.c: Likewise.
2385 * dlfcn/dlclose.c: Likewise.
2386 * dlfcn/dlerror.c: Likewise.
2387 * dlfcn/dlinfo.c: Likewise.
2388 * dlfcn/dlmopen.c: Likewise.
2389 * dlfcn/dlopen.c: Likewise.
2390 * dlfcn/dlsym.c: Likewise.
2391 * dlfcn/dlvsym.c: Likewise.
2392
2393 * include/ifaddrs.h: Use IS_IN.
2394 * inet/check_pf.c: Likewise.
2395 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2396 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2397
2398 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2399 IS_IN_ldconfig.
2400 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2401 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2402
2403 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2404 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2405 IS_IN (libc).
2406
2407 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2408
2409 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2410 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2411 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2412 * include/libc-symbols.h (IS_IN_LIB): New macro.
2413 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2414 * include/netdb.h: Likewise.
2415 * include/stap-probe.h: Remove all uses of IN_LIB.
2416
2417 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2418 instead of IN_MODULE.
2419 * include/libc-symbols.h (IN_MODULE): Define using
2420 MODULE_NAME.
2421 (PASTE_NAME, PASTE_NAME1): New macros.
2422 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2423 of IN_LIB.
2424 (STAP_PROBE_ASM): Likewise.
2425
24262014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2427
2428 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2429 __mach_init in dlopened libc.
2430
24312014-11-22 Mike Frysinger <vapier@gentoo.org>
2432
2433 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2434 * sysdeps/arm/preconfigure: Regenerate.
2435
24362014-11-21 Roland McGrath <roland@hack.frob.com>
2437
2438 * nptl/pthread_create.c (__pthread_create_2_1): Set
2439 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2440 when copying values from IATTR into PD.
2441
24422014-11-21 Will Newton <will.newton@linaro.org>
2443 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2444
2445 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2446 Refactor inline-asm. Also add comment.
2447
2448 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2449 ElfW macro instead of hardcoded Elf64 types.
2450 (la_aarch64_gnu_pltenter): Likewise.
2451 * sysdeps/aarch64/dl-machine.h
2452 (elf_machine_runtime_setup): Use ElfW(Addr).
2453
2454 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2455 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2456 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2457 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2458 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2459 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2460 (R_AARCH64_TLS_DTPMOD): This.
2461 (R_AARCH64_TLS_DTPREL64): Rename to ...
2462 (R_AARCH64_TLS_DTPREL): This.
2463 (R_AARCH64_TLS_TPREL64): Rename to ...
2464 (R_AARCH64_TLS_TPREL): This.
2465 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2466 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2467 R_AARCH64_TLS_TPREL64.
2468 (elf_machine_rela): Likewise.
2469
24702014-11-21 Torvald Riegel <triegel@redhat.com>
2471
2472 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2473 by setting it to 0. 64b atomics are not supported currently.
2474
24752014-11-21 Alexandre Oliva <aoliva@redhat.com>
2476
2477 [BZ #16469]
2478 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2479 search domain names.
2480
24812014-11-21 Alexandre Oliva <aoliva@redhat.com>
2482
2483 [BZ #16469]
2484 * NEWS: Update.
2485 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2486 trailing dot.
2487 * posix/tst-getaddrinfo5.c: New.
2488 * posix/Makefile (tests): Add it.
2489
24902014-11-21 Alexandre Oliva <aoliva@redhat.com>
2491
2492 [BZ #14498]
2493 * NEWS: Fixed.
2494 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2495 after parsing line but before break_if_match.
2496 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2497 if there is a protocol mismatch.
2498
24992014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2500
2501 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2502 because the potential race is on the user-supplied stream.
2503
25042014-11-21 Alexandre Oliva <aoliva@redhat.com>
2505
2506 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2507 string literal if not passed a buffer.
2508 * manual/job.texi (ctermid): Update reasoning, note deviation
2509 from posix, suggest mtasurace when not passed a buffer, for
2510 future non-preliminary safety notes.
2511
25122014-11-21 Alexandre Oliva <aoliva@redhat.com>
2513
2514 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2515 of not passing it a buffer.
2516 Reported by Peng Haitao.
2517
25182014-11-21 Alexandre Oliva <aoliva@redhat.com>
2519
2520 * manual/Makefile ($(objpfx)stamp-summary): Require
2521 check-safety.sh to pass.
2522 * manual/check-safety.sh: Wish for verification that every
2523 @deftypefn and @deftypefun is followed by a @safety remark.
2524
25252014-11-20 Roland McGrath <roland@hack.frob.com>
2526
2527 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2528
2529 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2530 PTHREAD_CANCEL_ASYNCHRONOUS.
2531 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2532 send SIGCANCEL.
2533
2534 * nptl/default-sched.h: New file.
2535 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2536 * nptl/pthread_create.c: Include it.
2537 (__pthread_create_2_1): Use collect_default_sched instead of making
2538 Linux syscalls here directly.
2539
25402014-11-20 Torvald Riegel <triegel@redhat.com>
2541
2542 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2543 __pthread_once): Use C11 atomics.
2544
25452014-11-20 Torvald Riegel <triegel@redhat.com>
2546
2547 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2548
25492014-11-20 Torvald Riegel <triegel@redhat.com>
2550
2551 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2552 atomic_thread_fence_acquire, atomic_thread_fence_release,
2553 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2554 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2555 atomic_compare_exchange_weak_relaxed,
2556 atomic_compare_exchange_weak_acquire,
2557 atomic_compare_exchange_weak_release,
2558 atomic_exchange_acquire, atomic_exchange_release,
2559 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2560 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2561 atomic_fetch_and_acquire,
2562 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2563
25642014-11-20 Torvald Riegel <triegel@redhat.com>
2565
2566 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2567 USE_ATOMIC_COMPILER_BUILTINS): Define.
2568 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2569 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2570 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2571 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2572 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2573 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2574 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2575 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2576 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2577 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2578 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2579 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2580 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2581 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2582 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2583 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2584 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2585 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2586 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2587 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2588 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2589 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2590 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2591 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2592 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2593 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2594 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2595 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2596 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2597 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2598 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2599 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2600 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2601 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2602 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2603 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2604 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2605 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2606 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2607 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2608
26092014-11-19 Roland McGrath <roland@hack.frob.com>
2610
2611 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2612 the sched_priority value here. It was already checked when the user
2613 called pthread_attr_setschedparam.
2614
2615 * nptl/tst-bad-schedattr.c: New file.
2616 * nptl/Makefile (tests): Add it.
2617
26182014-11-19 Carlos O'Donell <carlos@redhat.com>
2619 Florian Weimer <fweimer@redhat.com>
2620 Joseph Myers <joseph@codesourcery.com>
2621 Adam Conrad <adconrad@0c3.net>
2622 Andreas Schwab <schwab@suse.de>
2623 Brooks <bmoses@google.com>
2624
2625 [BZ #17625]
2626 * wordexp-test.c (__dso_handle): Add prototype.
2627 (__register_atfork): Likewise.
2628 (__app_register_atfork): New function.
2629 (registered_forks): New global.
2630 (register_fork): New function.
2631 (test_case): Add 3 new tests for WRDE_CMDSUB.
2632 (main): Call __app_register_atfork.
2633 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2634 fork count is non-zero fail the test.
2635 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2636 is set.
2637 (parse_dollars): Remove check for WRDE_NOCMD.
2638 (parse_dquote): Likewise.
2639
26402014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2641
2642 * Makeconfig (built-modules): List non-library modules to be
2643 built.
2644 (module-cppflags): Include libc-modules.h for
2645 everything except shlib-versions.v.i.
2646 (CPPFLAGS): Use it.
2647 (before-compile): Add libc-modules.h.
2648 ($(common-objpfx)libc-modules.h,
2649 $(common-objpfx)libc-modules.stmp): New targets.
2650 (common-generated): Add libc-modules.h and libc-modules.stmp.
2651 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2652 * include/libc-symbols.h: Don't include libc-modules.h.
2653 * include/libc-modules.h: Remove file.
2654 * scripts/gen-libc-modules.awk: New script to generate
2655 libc-modules.h.
2656 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2657 Depend on libc-modules.stmp.
2658
2659 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2660
2661 * Makeconfig (in-module): Get value of libof set for the
2662 translation unit.
2663 (CPPFLAGS): Use $(in-module).
2664 * Makerules: Don't suffix routine names for nonlib.
2665 * include/libc-modules.h: New file.
2666 * include/libc-symbols.h: Include libc-modules.h
2667 (IS_IN): New macro to replace IS_IN_* macros.
2668 * elf/Makefile: Set libof-* for each routine.
2669 * elf/rtld-Rules: Likewise.
2670 * extra-modules.mk: Likewise.
2671 * iconv/Makefile: Likewise.
2672 * iconvdata/Makefile: Likewise.
2673 * locale/Makefile: Likewise.
2674 * malloc/Makefile: Likewise.
2675 * nss/Makefile: Likewise.
2676 * sysdeps/gnu/Makefile: Likewise.
2677 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2678 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2679 * sysdeps/s390/s390-64/Makefile: Likewise.
2680 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2681 CPPFLAGS for nscd instead of nonlib.
2682
26832014-11-18 Roland McGrath <roland@hack.frob.com>
2684
2685 * nptl/createthread.c: New file.
2686
2687 * nptl/createthread.c: Moved ...
2688 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2689
2690 * nptl/createthread.c: Add proper top-line comment.
2691 (do_clone): Folded into ...
2692 (create_thread): ... here. Take new arguments STOPPED_START and
2693 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2694 increment __nptl_threads, do event-reporting logic, do
2695 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2696 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2697 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2698 just send SIGCANCEL.
2699 * nptl/pthread_create.c: Forward-declare create_thread before
2700 including createthread.c.
2701 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2702 declaration, and new macro START_THREAD_SELF to replace argument.
2703 Remove return statement.
2704 (report_thread_creation): New function.
2705 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2706 synchronization logic, and __nptl_nthreads increment here, around
2707 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2708 PD->parent_cancelhandling here, before create_thread. When
2709 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2710 __deallocate_stack, and ENOMEM translation here.
2711
27122014-11-18 Joseph Myers <joseph@codesourcery.com>
2713
2714 [BZ #17616]
2715 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2716 (mptwo): Rename to __mptwo.
2717 (__inv): Use __mptwo instead of mptwo.
2718 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2719 (mptwo): Rename to __mptwo.
2720 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2721 of mpone and __mptwo instead of mptwo.
2722 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2723 instead of mpone.
2724 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2725 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2726 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2727 of mpone and __mptwo instead of mptwo.
2728 (__mpranred): Use __mpone instead of mpone.
2729 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2730 variable.
2731 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2732 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2733 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2734 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2735 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2736 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2737 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2738 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2739 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2740 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2741 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2742 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2743 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2744 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2745 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2746 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2747 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2748 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2749 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2750
27512014-11-18 Tom de Vries <tom@codesoucery.com>
2752
2753 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2754 replace BSD Handler xref with BSD Signal Handling.
2755
27562014-11-17 Richard Henderson <rth@redhat.com>
2757
2758 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2759 (_FP_PACK_RAW_2): Remove.
2760 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2761 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2762 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2763 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2764 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2765 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2766 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2767 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2768 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2769 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2770 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2771 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2772 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2773 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2774 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2775 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2776
27772014-11-14 Roland McGrath <roland@hack.frob.com>
2778
2779 * signal/signal.h [__USE_MISC]
2780 (struct sigvec): Remove type.
2781 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2782 (sigvec): Remove declaration.
2783 * sysdeps/posix/sigvec.c: Moved ...
2784 * signal/sigvec.c: ... here, replacing old file.
2785 (struct sigvec): New type, copied from old signal.h definition.
2786 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2787 (__sigvec): Convert definition to prototype.
2788 (sigvec): Replace weak_alias with compat_symbol.
2789 * signal/Versions (libc: GLIBC_2.21): New version set.
2790 * include/signal.h: Remove __sigvec declaration.
2791 * sysdeps/unix/bsd/sigvec.c: Remove file.
2792 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2793 * manual/signal.texi (BSD Handler): Remove subsection.
2794 Move siginterrupt up to ...
2795 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2796 (Blocking in BSD): Fold subsection into its parent.
2797 * NEWS: Mention sigvec removal.
2798
27992014-11-14 Joseph Myers <joseph@codesourcery.com>
2800
2801 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2802 (DLA_FMS): Make definition conditional only on [__FMA4__].
2803 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2804 definition.
2805
2806 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2807 Make definition conditional only on [PROF].
2808 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2809 definition.
2810 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2811 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2812
2813 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2814 !__GNUC__].
2815 * include/signal.h (__sigpause): Move declaration above call to
2816 libc_hidden_proto.
2817 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2818 variable.
2819 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2820 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2821
28222014-11-14 David S. Miller <davem@davemloft.net>
2823
2824 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2825 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2826
28272014-11-14 Joseph Myers <joseph@codesourcery.com>
2828
2829 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2830 * configure: Regenerated.
2831 * manual/install.texi (Tools for Compilation): Document a
2832 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2833 compiler verified to work.
2834 * INSTALL: Regenerated.
2835
2836 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2837 redeclare with asm name.
2838 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2839 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2840 including <string.h>.
2841 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2842 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2843 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2844 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2845 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2846 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2847 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2848
28492014-11-13 Joseph Myers <joseph@codesourcery.com>
2850
2851 * stdlib/strtol.c (__strtol): Use prototype definition.
2852
2853 [BZ #17594]
2854 * stdlib/strtol.c (SYM__): New macro.
2855 (SYM__1): Likewise.
2856 (__strtol): Likewise.
2857 (strtol): Rename to __strtol and define as weak alias of
2858 __strtol. Use libc_hidden_weak.
2859
28602014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2861
2862 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2863 Use numbered labels in inline assembly.
2864
28652014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2866
2867 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2868 Add setjmp LIBC_PROBE.
2869 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2870 Likewise.
2871 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2872 Add longjmp, longjmp_target LIBC_PROBE.
2873 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2874 Likewise.
2875
28762014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2877
2878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2879 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2880 to get rid of unused variable warning.
2881
28822014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2883
2884 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2885 Check for unwind_backtrace == NULL only in SHARED case.
2886 (__backchain_backtrace): Compile only in SHARED case.
2887 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2888 Likewise.
2889 (__backchain_backtrace): Declare as static.
2890
28912014-11-12 Roland McGrath <roland@hack.frob.com>
2892
2893 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2894 (__libc_multiple_threads_ptr): Variable moved ...
2895 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2896
28972014-11-12 Joseph Myers <joseph@codesourcery.com>
2898
2899 * conform/GlibcConform.pm: New file.
2900 * conform/conformtest.pl: Use GlibcConform module.
2901 * conform/linknamespace.pl: New file.
2902 * conform/list-header-symbols.pl: Likewise.
2903 * conform/Makefile (linknamespace-symlists-base): New variable.
2904 (linknamespace-symlists-tests): Likewise.
2905 (linknamespace-header-base): Likewise.
2906 (linknamespace-header-tests): Likewise.
2907 (tests-special): Add new tests.
2908 ($(linknamespace-symlists-tests)): New rule.
2909 (linknamespace-libs): New variable.
2910 ($(objpfx)symlist-stdlibs): New rule.
2911 ($(linknamespace-header-tests)): Likewise.
2912 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2913 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2914 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2915 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2916 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2917 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2918 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2919 (test-xfail-ISO/math.h/linknamespace): Likewise.
2920 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2921 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2922 (test-xfail-ISO/time.h/linknamespace): Likewise.
2923 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2924 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2925 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2926 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2927 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2928 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2929 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2930 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2931 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2932 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2933 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2934 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2935 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2936 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2937 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2938 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2939 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2940 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2941 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2942 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2943 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2944 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2945 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2946 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2947 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2948 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2949 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2950 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2951 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2952 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2953 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2954 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2955 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2956 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2957 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2958 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2959 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2960 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2961 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2962 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2963 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2964 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2965 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2966 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2967 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2968 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2969 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2970 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2971 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2972 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2973 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2974 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2975 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2976 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2977 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2978 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2979 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2980 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2981 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2982 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2983 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2984 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2985 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2986 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2987 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2988 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2989 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2990 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2991 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2992 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2993 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2994 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2995 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2996 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2997 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2998 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2999 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3000 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3001 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3002 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3003 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3004 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3005 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3006 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3007 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3008 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3009 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3010 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3011 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3012 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3013 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3014 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3015 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3016 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3017 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3018 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3019 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3020 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3021 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3022 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3023 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3024 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3025 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3026 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3027 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3028 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3029 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3030 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3031 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3032 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3033 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3034 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3035 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3036 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3037 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3038 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3039 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3040 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3041 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3042 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3043 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3044 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3045 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3046 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3047 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3048 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3049 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3050 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3051 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3052 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3053 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3054 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3055 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3056 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3057 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3058 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3059 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3060 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3061 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3062 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3063 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3064 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3065 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3066 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3067 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3068 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3069 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3070 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3071 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3072 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3073
3074 [BZ #17589]
3075 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3076 of fgets_unlocked.
3077
3078 [BZ #17585]
3079 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3080 (memmem): Rename to __memmem and define as weak alias of
3081 __memmem. Use libc_hidden_weak.
3082 (__memmem): Use libc_hidden_def.
3083 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3084 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3085 memmem.
3086
3087 [BZ #17582]
3088 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3089 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3090 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3091 and define as weak alias of __fgets_unlocked. Use
3092 libc_hidden_weak.
3093 (__fgets_unlocked): Use libc_hidden_def.
3094 * include/stdio.h (__fgets_unlocked): Declare. Use
3095 libc_hidden_proto.
3096 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3097 __fgets_unlocked instead of fgets_unlocked.
3098 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3099 (GET_NPROCS_CONF_PARSER): Likewise.
3100 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3101 (GET_NPROCS_CONF_PARSER): Likewise.
3102
3103 [BZ #17574]
3104 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3105 weak alias of __wmemset. Use libc_hidden_weak.
3106 (__wmemset): Use libc_hidden_def.
3107 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3108 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3109 of wmemset.
3110
3111 [BZ #17573]
3112 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3113 with asm name __mempcpy.
3114 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3115
3116 [BZ #17572]
3117 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3118 and define as weak alias of __rawmemchr.
3119 (__rawmemchr): Do not define as strong alias of rawmemchr.
3120
3121 [BZ #17571]
3122 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3123 alias of __qsort_r.
3124 (qsort): Call __qsort_r instead of qsort_r.
3125 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3126 (__qsort_r): Declare. Call libc_hidden_proto.
3127 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3128 instead of qsort_r.
3129 * nscd/gai.c (__qsort_r): Define to qsort_r.
3130 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3131 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3132 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3133
3134 [BZ #17570]
3135 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3136 define as weak alias of __malloc_info.
3137
3138 [BZ #17584]
3139 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3140 as weak alias of __rewinddir. Don't use libc_hidden_def.
3141 (__rewinddir): Use libc_hidden_def.
3142 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3143 as weak alias of __rewinddir. Don't use libc_hidden_def.
3144 (__rewinddir): Use libc_hidden_def.
3145 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3146 weak alias of __rewinddir. Don't use libc_hidden_def.
3147 (__rewinddir): Use libc_hidden_def.
3148 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3149 (__rewinddir): Use libc_hidden_proto.
3150 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3151 rewinddir.
3152 (__getcwd): Use __rewinddir instead of rewinddir.
3153
3154 [BZ #17583]
3155 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3156 alias of __fileno. Use libc_hidden_weak.
3157 (__fileno): Use libc_hidden_def.
3158 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3159 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3160 alias of __ftello.
3161 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3162 __ftello.
3163 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3164 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3165 libc_hidden_def.
3166 (fread_unlocked): Don't use libc_hidden_ver.
3167 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3168 and define as weak alias of __fread_unlocked. Don't use
3169 libc_hidden_def.
3170 (__fread_unlocked): Use libc_hidden_def.
3171 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3172 (ftello): Don't use libc_hidden_proto.
3173 (__ftello): Declare. Use libc_hidden_proto.
3174 (fread_unlocked): Don't use libc_hidden_proto.
3175 (__fread_unlocked): Declare. Use libc_hidden_proto.
3176 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3177 and __ftello instead of fileno, fread_unlocked and ftello.
3178
31792012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3180
3181 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3182 GOT12.
3183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3184 Likewise.
3185 (_dl_start_user): Likewise.
3186 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3187
31882014-11-12 Carlos O'Donell <carlos@redhat.com>
3189 Siddhesh Poyarekar <siddhesh@redhat.com>
3190
3191 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3192 Move argv and envp down instead of moving argc up.
3193 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3194
31952014-11-12 Leonhard Holz <leonhard.holz@web.de>
3196
3197 [BZ #17506]
3198 * test-skeleton.c (main): Return successful if one of
3199 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3200 * string/tst-strcoll-overflow.c: Define expected status.
3201
32022014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3203
3204 [BZ #17475]
3205 * locale/iso-639.def: Define Bhili and Tulu language codes.
3206
32072014-11-11 Alan Hayward <alan.hayward@arm.com>
3208
3209 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3210
32112014-11-10 Renlin Li <Renlin.Li@arm.com>
3212
3213 [BZ #17555]
3214 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3215
32162014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3217
3218 * configure.ac: Updated check of minimal required version to
3219 2.22.
3220 * manual/install.texi (Tools for Compilation): Updated version
3221 number.
3222 * configure: Regenerated.
3223 * INSTALL: Likewise.
3224
32252014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3226
3227 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3228 __tls_get_addr.
3229
32302014-11-07 Joseph Myers <joseph@codesourcery.com>
3231
3232 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3233 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3234 (__waitpid): Don't define as alias. Use libc_hidden_def not
3235 libc_hidden_weak.
3236 (waitpid): Define as alias of __waitpid.
3237 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3238 __waitpid.
3239 (__waitpid): Don't define as alias. Use libc_hidden_def not
3240 libc_hidden_weak.
3241 (waitpid): Define as alias of __waitpid.
3242 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3243 __libc_waitpid alias.
3244 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3245 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3246 Likewise.
3247 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3248 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3249 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3250 alias.
3251 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3252 __waitpid.
3253 (__waitpid): Don't define as alias. Use libc_hidden_def not
3254 libc_hidden_weak.
3255 (waitpid): Define as alias of __waitpid.
3256
32572014-11-06 Carlos O'Donell <carlos@redhat.com>
3258
3259 * manual/llio.texi: Add comment that write safety has been
3260 fixed in Linux.
3261
3262 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3263 (localplt-build-dso): Add elf/ld.so.
3264 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3265 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3266 and free for ld.so.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3268 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3270 Likewise.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3272 Likewise.
3273 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3274 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3275 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3276 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3277 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3278 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3279 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3280 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3281 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3282 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3283 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3284
32852014-11-05 Joseph Myers <joseph@codesourcery.com>
3286
3287 [BZ #14132]
3288 * include/libc-symbols.h (INTUSE): Remove macro.
3289 (INTDEF): Likewise.
3290 (INTVARDEF): Likewise.
3291 (_INTVARDEF): Likewise.
3292 (INTDEF2): Likewise.
3293 (INTVARDEF2): Likewise.
3294 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3295 rtld_hidden_def instead of INTVARDEF.
3296 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3297 (_dl_starting_up_internal): Remove declaration.
3298 (_dl_starting_up): Use rtld_hidden_proto.
3299 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3300 declaration.
3301 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3302 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3303 _dl_starting_up.
3304 * elf/dl-writev.h (_dl_writev): Likewise.
3305 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3306 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3307 _dl_starting_up_internal.
3308
33092014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3310
3311 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3312 test-skeleton.c.
3313
33142014-11-05 Will Newton <will.newton@linaro.org>
3315
3316 * benchtests/Makefile: (bench-malloc): Add malloc thread
3317 scalability benchmark.
3318 * benchtests/bench-malloc-threads.c: New file.
3319
33202014-11-05 Richard Earnshaw <rearnsha@arm.com>
3321
3322 * sysdeps/aarch64/strchrnul.S: New file.
3323
33242014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3325
3326 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3327 definition.
3328 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3329 Likwise.
3330 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3331 Likewise.
3332 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3333 Likewise.
3334 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3335 Likewise.
3336 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3337 Likewise.
3338
33392014-11-05 Arjun Shankar <arjun.is@lostca.se>
3340
3341 * catgets/test-gencat.c: Use test-skeleton.c.
3342 * catgets/tst-catgets.c: Likewise.
3343 * csu/tst-empty.c: Likewise.
3344 * elf/tst-audit2.c: Likewise.
3345 * elf/tst-global1.c: Likewise.
3346 * elf/tst-pathopt.c: Likewise.
3347 * elf/tst-piemod1.c: Likewise.
3348 * elf/tst-tls10.c: Likewise.
3349 * elf/tst-tls11.c: Likewise.
3350 * elf/tst-tls12.c: Likewise.
3351 * gnulib/tst-gcc.c: Likewise.
3352 * iconvdata/tst-e2big.c: Likewise.
3353 * iconvdata/tst-loading.c: Likewise.
3354 * iconv/tst-iconv1.c: Likewise.
3355 * iconv/tst-iconv2.c: Likewise.
3356 * inet/test-inet6_opt.c: Likewise.
3357 * inet/tst-gethnm.c: Likewise.
3358 * inet/tst-network.c: Likewise.
3359 * inet/tst-ntoa.c: Likewise.
3360 * intl/tst-codeset.c: Likewise.
3361 * intl/tst-gettext2.c: Likewise.
3362 * intl/tst-gettext3.c: Likewise.
3363 * intl/tst-ngettext.c: Likewise.
3364 * intl/tst-translit.c: Likewise.
3365 * io/test-stat.c: Likewise.
3366 * libio/test-fmemopen.c: Likewise.
3367 * libio/tst-freopen.c: Likewise.
3368 * libio/tst-sscanf.c: Likewise.
3369 * libio/tst-ungetwc1.c: Likewise.
3370 * libio/tst-ungetwc2.c: Likewise.
3371 * libio/tst-widetext.c: Likewise.
3372 * localedata/tst-ctype.c: Likewise.
3373 * localedata/tst-digits.c: Likewise.
3374 * localedata/tst-leaks.c: Likewise.
3375 * localedata/tst-mbswcs1.c: Likewise.
3376 * localedata/tst-mbswcs2.c: Likewise.
3377 * localedata/tst-mbswcs3.c: Likewise.
3378 * localedata/tst-mbswcs4.c: Likewise.
3379 * localedata/tst-mbswcs5.c: Likewise.
3380 * localedata/tst-setlocale.c: Likewise.
3381 * localedata/tst-trans.c: Likewise.
3382 * localedata/tst-wctype.c: Likewise.
3383 * localedata/tst-xlocale1.c: Likewise.
3384 * login/tst-grantpt.c: Likewise.
3385 * malloc/tst-calloc.c: Likewise.
3386 * malloc/tst-malloc.c: Likewise.
3387 * malloc/tst-mallocstate.c: Likewise.
3388 * malloc/tst-mcheck.c: Likewise.
3389 * malloc/tst-mtrace.c: Likewise.
3390 * malloc/tst-obstack.c: Likewise.
3391 * math/atest-exp2.c: Likewise.
3392 * math/atest-exp.c: Likewise.
3393 * math/atest-sincos.c: Likewise.
3394 * math/test-matherr.c: Likewise.
3395 * math/test-misc.c: Likewise.
3396 * math/test-powl.c: Likewise.
3397 * math/tst-definitions.c: Likewise.
3398 * misc/tst-dirname.c: Likewise.
3399 * misc/tst-efgcvt.c: Likewise.
3400 * misc/tst-fdset.c: Likewise.
3401 * misc/tst-hsearch.c: Likewise.
3402 * misc/tst-mntent2.c: Likewise.
3403 * nptl/tst-sem7.c: Likewise.
3404 * nptl/tst-sem8.c: Likewise.
3405 * nptl/tst-sem9.c: Likewise.
3406 * nss/test-netdb.c: Likewise.
3407 * posix/tst-fnmatch.c: Likewise.
3408 * posix/tst-getlogin.c: Likewise.
3409 * posix/tst-gnuglob.c: Likewise.
3410 * posix/tst-mmap.c: Likewise.
3411 * pwd/tst-getpw.c: Likewise.
3412 * resolv/tst-inet_ntop.c: Likewise.
3413 * rt/tst-timer.c: Likewise.
3414 * stdio-common/test-fseek.c: Likewise.
3415 * stdio-common/test-popen.c: Likewise.
3416 * stdio-common/test-vfprintf.c: Likewise.
3417 * stdio-common/tst-cookie.c: Likewise.
3418 * stdio-common/tst-fileno.c: Likewise.
3419 * stdio-common/tst-gets.c: Likewise.
3420 * stdio-common/tst-obprintf.c: Likewise.
3421 * stdio-common/tst-perror.c: Likewise.
3422 * stdio-common/tst-sprintf2.c: Likewise.
3423 * stdio-common/tst-sprintf3.c: Likewise.
3424 * stdio-common/tst-sprintf.c: Likewise.
3425 * stdio-common/tst-swprintf.c: Likewise.
3426 * stdio-common/tst-tmpnam.c: Likewise.
3427 * stdio-common/tst-unbputc.c: Likewise.
3428 * stdio-common/tst-wc-printf.c: Likewise.
3429 * stdlib/tst-environ.c: Likewise.
3430 * stdlib/tst-fmtmsg.c: Likewise.
3431 * stdlib/tst-limits.c: Likewise.
3432 * stdlib/tst-rand48-2.c: Likewise.
3433 * stdlib/tst-rand48.c: Likewise.
3434 * stdlib/tst-random2.c: Likewise.
3435 * stdlib/tst-random.c: Likewise.
3436 * stdlib/tst-strtol.c: Likewise.
3437 * stdlib/tst-strtoll.c: Likewise.
3438 * stdlib/tst-tls-atexit.c: Likewise.
3439 * stdlib/tst-xpg-basename.c: Likewise.
3440 * string/test-ffs.c: Likewise.
3441 * string/tst-bswap.c: Likewise.
3442 * string/tst-inlcall.c: Likewise.
3443 * string/tst-strtok.c: Likewise.
3444 * string/tst-strxfrm.c: Likewise.
3445 * sysdeps/x86_64/tst-audit10.c: Likewise.
3446 * sysdeps/x86_64/tst-audit3.c: Likewise.
3447 * sysdeps/x86_64/tst-audit4.c: Likewise.
3448 * sysdeps/x86_64/tst-audit5.c: Likewise.
3449 * time/tst-ftime_l.c: Likewise.
3450 * time/tst-getdate.c: Likewise.
3451 * time/tst-mktime3.c: Likewise.
3452 * time/tst-mktime.c: Likewise.
3453 * time/tst-posixtz.c: Likewise.
3454 * time/tst-strptime2.c: Likewise.
3455 * time/tst-strptime3.c: Likewise.
3456 * wcsmbs/tst-btowc.c: Likewise.
3457 * wcsmbs/tst-mbrtowc.c: Likewise.
3458 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3459 * wcsmbs/tst-wchar-h.c: Likewise.
3460 * wcsmbs/tst-wcpncpy.c: Likewise.
3461 * wcsmbs/tst-wcrtomb.c: Likewise.
3462 * wcsmbs/tst-wcsnlen.c: Likewise.
3463 * wcsmbs/tst-wcstof.c: Likewise.
3464
34652014-11-04 Joseph Myers <joseph@codesourcery.com>
3466
3467 [BZ #14132]
3468 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3469 INTDEF.
3470 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3471 declaration.
3472 (_dl_mcount): Use rtld_hidden_proto.
3473 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3474 _dl_mcount.
3475 * elf/rtld.c (_rtld_global_ro): Likewise.
3476
3477 [BZ #14132]
3478 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3479 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3480 of _dl_init_internal.
3481 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3482 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3483 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3484 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3485 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3486 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3487 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3488 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3489 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3490 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3491 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3492 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3493 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3494 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3495 * sysdeps/tile/dl-start.S (_start): Likewise.
3496 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3497 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3498
3499 [BZ #14132]
3500 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3501 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3502 (rtld_progname): Make macro definition unconditional.
3503 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3504 INTDEF.
3505 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3506 (dl_main): Likewise.
3507 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3508 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3509 instead of _dl_argv_internal.
3510 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3511 __GI__dl_argv instead of INTUSE(_dl_argv).
3512 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3513 __GI__dl_argv instead of _dl_argv_internal.
3514
3515 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3516 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3517 macro.
3518 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3519 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3520 New macro.
3521 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3522 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3523 macro.
3524 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3525 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3526
35272014-11-04 Andreas Schwab <schwab@suse.de>
3528
3529 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3530
35312014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532
3533 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3534 mtvsrd instruction in binary form.
3535
35362014-11-03 Andreas Schwab <schwab@suse.de>
3537
3538 [BZ #17522]
3539 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3540 for less than MB_LEN_MAX use a local buffer of that size.
3541 * libio/tst-fputws.c: New file.
3542 * libio/Makefile (tests): Add tst-fputws.
3543
35442014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3545
3546 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3547 the size of the fpu_fr.fpu_dregs[] array.
3548
35492014-11-01 Joseph Myers <joseph@codesourcery.com>
3550
3551 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3552 (__nanosleep): Do not define as alias.
3553 (nanosleep): Define as alias of __nanosleep.
3554 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3555 __libc_nanosleep name.
3556
35572014-10-31 Joseph Myers <joseph@codesourcery.com>
3558
3559 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3560 install.texi in comment.
3561
35622014-10-31 Torvald Riegel <triegel@redhat.com>
3563
3564 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3565 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3566 ... add here and use lwsync or sync ...
3567 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3568 ... and add here using lwsync.
3569
35702014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3571
3572 * elf/dl-machine-reject-phdr.h: New file.
3573 * elf/dl-load.c: #include that.
3574 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3575 if that returned true.
3576
35772014-10-31 Roland McGrath <roland@hack.frob.com>
3578
3579 [BZ #17496]
3580 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3581 gen-as-const-headers chunk. Add a big scare comment after the last
3582 safe place to touch before-compile.
3583
35842014-10-31 Joseph Myers <joseph@codesourcery.com>
3585
3586 * manual/install.texi (Tools for Compilation): Update autoconf
3587 version requirements.
3588 * INSTALL: Regenerated.
3589
3590 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3591 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3592 (__libc_pselect): Likewise.
3593
3594 [BZ #14138]
3595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3599
36002014-10-31 Torvald Riegel <triegel@redhat.com>
3601
3602 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3603 correct barrier instruction.
3604 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3605 Likewise.
3606 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3607 Likewise.
3608
36092014-10-30 Roland McGrath <roland@hack.frob.com>
3610
3611 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3612 after defining inlines. Instead, just use parens to defeat macro
3613 expansion of __isctype in its declaration.
3614
36152014-10-30 Joseph Myers <joseph@codesourcery.com>
3616
3617 * include/sys/uio.h (__libc_readv): Remove declaration.
3618 (__libc_writev): Likewise.
3619 * misc/readv.c (__libc_readv): Rename to __readv.
3620 (__readv): Do not define as alias.
3621 (readv): Define as alias of __readv.
3622 * misc/writev.c (__libc_writev): Rename to __writev.
3623 (__writev): Do not define as alias.
3624 (writev): Define as alias of __writev.
3625 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3626 (__readv): Do not define as alias.
3627 (readv): Define unconditionally as alias of __readv.
3628 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3629 (__writev): Do not define as alias.
3630 (writev): Define unconditionally as alias of __writev.
3631 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3632 name.
3633 (writev): Do not define __libc_writev name.
3634
36352014-10-30 Roland McGrath <roland@hack.frob.com>
3636
3637 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3638 (convert_charseq): New function, broken out of ...
3639 (use_from_charmap): ... here. Call it.
3640 (use_to_charmap): Use convert_charseq and free instead of duplicating
3641 its code with a variable-length stack struct.
3642
36432014-10-30 Joseph Myers <joseph@codesourcery.com>
3644
3645 * include/fcntl.h (__libc_creat): Remove declaration.
3646 * io/creat.c (__libc_creat): Rename to creat.
3647 (creat): Do not define as alias.
3648 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3649 of creat instead of __libc_creat.
3650 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3651 to creat.
3652 (creat): Do not define as alias.
3653 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3654 __libc_creat.
3655 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3656 __libc_creat name.
3657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3658 Likewise.
3659
36602014-10-29 Carlos O'Donell <carlos@redhat.com>
3661
3662 * manual/llio.texi: Add comments discussing why write() may be
3663 considered MT-unsafe on Linux.
3664
36652014-10-28 Carlos O'Donell <carlos@redhat.com>
3666
3667 * dl-load.c (local_strdup): Remove.
3668 (expand_dynamic_string_token): Use __strdup.
3669 (decompose_rpath): Likewise.
3670 (_dl_map_object): Likewise.
3671
36722014-10-28 Joseph Myers <joseph@codesourcery.com>
3673
3674 [BZ #14132]
3675 * sysdeps/generic/unwind-dw2-fde.c
3676 (__register_frame_info_bases_internal): Do not declare.
3677 (__register_frame_info_table_bases_internal): Likewise.
3678 (__deregister_frame_info_bases_internal): Likewise.
3679 (__register_frame_info_bases): Declare and use hidden_proto before
3680 definition. Use hidden_def instead of INTDEF.
3681 (__register_frame_info_table_bases): Likewise.
3682 (__deregister_frame_info_bases): Likewise.
3683 (__register_frame_info): Do not use INTUSE.
3684 (__register_frame): Likewise.
3685 (__register_frame_info_table): Likewise.
3686 (__register_frame_table): Likewise.
3687 (__deregister_frame_info): Likewise.
3688 (__deregister_frame): Likewise.
3689
36902014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3691
3692 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3693 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3694 not undefine.
3695 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3696 Likewise.
3697 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3698 Likewise.
3699
37002014-10-27 Joseph Myers <joseph@codesourcery.com>
3701
3702 [BZ #14138]
3703 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3704 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3705 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3706 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3707 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3708 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3709 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3710 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3711 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3712 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3713 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3714 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3715 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3716 syscall.
3717 (setfsuid): Likewise.
3718 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3719 (setfsuid): Likewise.
3720 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3721 (setfsuid): Likewise.
3722 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3723 Likewise.
3724 (setfsuid): Likewise.
3725 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3726 (setfsuid): Likewise.
3727 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3728 Likewise.
3729 (setfsuid): Likewise.
3730
37312014-10-27 Andreas Schwab <schwab@suse.de>
3732
3733 [BZ #17501]
3734 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3735 check for Slow_SSE4_2 feature bit.
3736 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3737 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3738 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3739 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3740
37412014-10-24 Roland McGrath <roland@hack.frob.com>
3742
3743 * configure.ac: Validate compiler version with a empirical test of
3744 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3745 $CC -v output.
3746 * configure: Regenerated.
3747
3748 * inet/htons.c (htons): Prototypify.
3749 * inet/htonl.c (htonl): Likewise.
3750
37512014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3752
3753 * string/strncat.c (strncat): Improve performance by using strlen.
3754
37552014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3756
3757 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3758
37592014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3760
3761 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3762 Call libc_fetestexcept_aarch64.
3763
37642014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3765
3766 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3767 Call libc_feholdexcept_aarch64.
3768
37692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3770
3771 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3772 Call get_rounding_mode.
3773
37742014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3775
3776 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3777 Simplify logic.
3778
37792014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3780
3781 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3782 Simplify logic.
3783
37842014-10-24 Joseph Myers <joseph@codesourcery.com>
3785
3786 [BZ #14138]
3787 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3788 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3789 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3790 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3791 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3792 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3793 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3794 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3795 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3796 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3797 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3798 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3799 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3800 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3801 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3802 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3803 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3804 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3805 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3806 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3807 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3808 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3809 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3810 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3811 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3812 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3813 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3814 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3815 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3816 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3817 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3818 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3819 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3820 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3821 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3822 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3823 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3824 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3825 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3826 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3827 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3828 syscall.
3829 (geteuid): Likewise.
3830 (getgid): Likewise.
3831 (getuid): Likewise.
3832 (getresgid): Likewise.
3833 (getresuid): Likewise.
3834 (getgroups): Likewise.
3835 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3836 (geteuid): Likewise.
3837 (getgid): Likewise.
3838 (getuid): Likewise.
3839 (getresgid): Likewise.
3840 (getresuid): Likewise.
3841 (getgroups): Likewise.
3842 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3843 (geteuid): Likewise.
3844 (getgid): Likewise.
3845 (getuid): Likewise.
3846 (getresgid): Likewise.
3847 (getresuid): Likewise.
3848 (getgroups): Likewise.
3849 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3850 Likewise.
3851 (geteuid): Likewise.
3852 (getgid): Likewise.
3853 (getuid): Likewise.
3854 (getresgid): Likewise.
3855 (getresuid): Likewise.
3856 (getgroups): Likewise.
3857 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3858 (geteuid): Likewise.
3859 (getgid): Likewise.
3860 (getuid): Likewise.
3861 (getresgid): Likewise.
3862 (getresuid): Likewise.
3863 (getgroups): Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3865 Likewise.
3866 (geteuid): Likewise.
3867 (getgid): Likewise.
3868 (getuid): Likewise.
3869 (getgroups): Likewise.
3870
3871 [BZ #14138]
3872 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3873 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3874 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3875 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3876 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3877 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3878 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3879 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3880 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3881 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3882 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3883 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3884 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3885 __chown.
3886 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3887 (lchown): Likewise.
3888 (fchown): Likewise.
3889 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3890 Likewise.
3891 (lchown): Likewise.
3892 (fchown): Likewise.
3893 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3894 (lchown): Likewise.
3895 (fchown): Likewise.
3896 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3897 Likewise.
3898 (lchown): Likewise.
3899 (fchown): Likewise.
3900
39012014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3902
3903 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3904 Simplify logic.
3905
39062014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3907
3908 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3909 Cleanup logic.
3910
39112014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3912
3913 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3914 Remove unused include.
3915
39162014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3917
3918 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3919 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3920 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3921 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3922
39232014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3924 Helge Deller <deller@gmx.de>
3925
3926 [BZ #17508]
3927 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3928 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3929 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3930
39312014-10-23 Joseph Myers <joseph@codesourcery.com>
3932
3933 [BZ #14132]
3934 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3935 Remove macro definition.
3936 (__ashrdi3_v_glibc20): Likewise.
3937 (__lshrdi3_v_glibc20): Likewise.
3938 (__cmpdi2_v_glibc20): Likewise.
3939 (__ucmpdi2_v_glibc20): Likewise.
3940 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3941 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3942 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3943 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3944 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3945 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3946
39472014-10-22 Roland McGrath <roland@hack.frob.com>
3948
3949 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3950 old GNU extension [0] syntax.
3951 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3952 alloca rather than an array member with variable length.
3953 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3954 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3955 (parse_opt): ... here. Likewise use alloca there.
3956 Validate the -i argument before checking for rootness.
3957 (send_shutdown): New function, broken out of ...
3958 (parse_opt): ... here.
3959
39602014-10-22 Roland McGrath <roland@hack.frob.com>
3961
3962 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3963 macro to get at the _rt_local_ro field.
3964 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3965 ([PIC] case) or _dl_hwcap ([!PIC] case).
3966 * sysdeps/arm/setjmp.S: Likewise.
3967
3968 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3969 * sysdeps/arm/configure.ac: New check to define it.
3970 * sysdeps/arm/configure: Regenerated.
3971 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3972 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3973 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3974 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3975 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3976 Use move/movt pair instead of a load.
3977 (LDST_GLOBAL): Macro removed.
3978 (LDR_GLOBAL): New macro replaces it.
3979 (LDR_HIDDEN): New macro.
3980 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3981 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3982
3983 * setjmp/tst-setjmp-static.c: New file.
3984 * setjmp/Makefile (tests): Add it.
3985 (tests-static): New variable.
3986
39872014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3988
3989 [BZ #17485]
3990 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3991
39922014-10-21 Joseph Myers <joseph@codesourcery.com>
3993
3994 [BZ #14132]
3995 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3996
39972014-10-21 Roland McGrath <roland@hack.frob.com>
3998
3999 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4000
40012014-10-20 Roland McGrath <roland@hack.frob.com>
4002
4003 * io/fts.c (dirent_not_directory): New function.
4004 (fts_build): Call it.
4005
40062014-10-20 Roland McGrath <roland@hack.frob.com>
4007
4008 * nptl/version.c (__nptl_main): Use normal __write rather than
4009 INTERNAL_SYSCALL.
4010 (banner): Update copyright years.
4011
4012 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4013 gettimeofday.
4014 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4015 * nptl/pthread_cond_timedwait.c: Likewise.
4016 * nptl/pthread_mutex_timedlock.c: Likewise.
4017 * nptl/sem_timedwait.c: Likewise.
4018
4019 * sysdeps/nptl/bits/libc-lock.h
4020 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4021 (__libc_lock_init_recursive): Return void, not 0.
4022 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4023 (__libc_rwlock_init): Likewise.
4024 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4025
40262014-10-20 Torvald Riegel <triegel@redhat.com>
4027
4028 [BZ #15215]
4029 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4030 (__pthread_once_slow): ... here.
4031 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4032 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4033
40342014-10-20 Torvald Riegel <triegel@redhat.com>
4035
4036 [BZ #15215]
4037 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4038 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4039 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4040 * nptl/pthread_once.c (__pthread_once): Likewise.
4041 Update comments.
4042
40432014-10-20 Joseph Myers <joseph@codesourcery.com>
4044
4045 [BZ #14138]
4046 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4047 name.
4048 (writev): Use __libc_writev as strong name.
4049 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4050 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4051
40522014-10-17 Roland McGrath <roland@hack.frob.com>
4053
4054 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4055
4056 * sysdeps/i386/nptl/tls.h
4057 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4058 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4059 New macros.
4060 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4061 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4062 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4063 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4064 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4065 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4066
4067 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4068 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4069 on [__NR_futex].
4070 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4071 broken out of ...
4072 (__pthread_mutex_init): ... here. Call it.
4073 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4074 Conditionalize PI cases on [__NR_futex].
4075 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4076 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4077 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4078
4079 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4080 conditional on [SIGSETXID].
4081 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4082 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4083 is defined. Likewise for SIGSETXID.
4084 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4085 Conditionalize definitions on [SIGSETXID].
4086 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4087 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4088 unblocking on [SIGCANCEL].
4089
4090 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4091 [__NR_set_robust_list].
4092
40932014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4094
4095 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4096 (do_compare): Likewise.
4097
40982014-10-17 Leonhard Holz <leonhard.holz@web.de>
4099
4100 [BZ #15884]
4101 * string/strcoll_l.c: Don't include stdio.h.
4102 (coll_seq): Remove members idxarr and rulearr.
4103 (get_next_seq_cached): Remove function.
4104 (get_next_seq): Likewise.
4105 (get_next_seq_nocache): Rename to get_next_seq.
4106 (do_compare): Remove function.
4107 (do_compare_nocache): Rename to do_compare.
4108 (STRCOLL): Remove weight and rules cache.
4109
41102014-10-16 Roland McGrath <roland@hack.frob.com>
4111
4112 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4113 * sysdeps/arm/sfp-machine.h: ... to here.
4114 * sysdeps/arm/Implies: Remove arm/soft-fp.
4115
41162014-10-14 Joseph Myers <joseph@codesourcery.com>
4117
4118 * conform/data/sys/utsname.h-data (*_t): Allow.
4119 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4120 [POSIX] (WEXITED): Do not expect constant.
4121 [POSIX] (WSTOPPED): Likewise.
4122 [POSIX] (WNOHANG): Likewise.
4123 [POSIX] (WNOWAIT): Likewise.
4124 [POSIX] (siginfo_t): Do not expect type or elements.
4125 [POSIX] (pid_t): Do not expect type.
4126 [POSIX] (signal.h): Do not allow header.
4127 [POSIX] (sys/resource.h): Likewise.
4128 [POSIX] (si_*): Do not allow pattern.
4129 [POSIX] (W*): Likewise.
4130 [POSIX] (P_*): Likewise.
4131 [POSIX] (BUS_*): Likewise.
4132 [POSIX] (CLD_*): Likewise.
4133 [POSIX] (FPE_*): Likewise.
4134 [POSIX] (ILL_*): Likewise.
4135 [POSIX] (POLL_*): Likewise.
4136 [POSIX] (SEGV_*): Likewise.
4137 [POSIX] (SI_*): Likewise.
4138 [POSIX] (TRAP_*): Likewise.
4139 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4140 variable.
4141
41422014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4143
4144 [BZ #12926]
4145 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4146 infinite loop when __recvmsg returns 0.
4147
41482014-10-10 Joseph Myers <joseph@codesourcery.com>
4149
4150 * CANCEL-FCT-WAIVE: Remove file.
4151 * CANCEL-FILE-WAIVE: Likewise.
4152
4153 [BZ #14132]
4154 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4155 instead of INTVARDEF.
4156 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4157 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4158 rtld_hidden_data_def instead of INTVARDEF.
4159 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4160 * elf/dl-deps.c (expand_dst): Likewise.
4161 * elf/dl-load.c (_dl_dst_count): Likewise.
4162 (_dl_dst_substitute): Likewise.
4163 (decompose_rpath): Likewise.
4164 (_dl_init_paths): Likewise.
4165 (open_path): Likewise.
4166 (_dl_map_object): Likewise.
4167 * elf/rtld.c (dl_main): Likewise.
4168 (process_dl_audit): Likewise.
4169 (process_envvars): Likewise.
4170 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4171 Remove declaration.
4172 (__libc_enable_secure): Use rtld_hidden_proto.
4173
41742014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4175
4176 * elf/dl-load.c
4177 (add_path): New function broken out of _dl_rtld_di_serinfo.
4178 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4179
41802014-10-09 Joseph Myers <joseph@codesourcery.com>
4181
4182 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4183 parentheses around macro arguments.
4184 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4185 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4186 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4187 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4188 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4189 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4190 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4191 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4192 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4193 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4194 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4195 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4196 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4197 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4198 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4199 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4200 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4201 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4202 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4203 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4204 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4205 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4206 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4207 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4208 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4209 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4210 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4211 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4212 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4213 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4214 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4215 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4216 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4217 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4218 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4219 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4220 Likewise.
4221 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4222 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4223 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4224 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4225 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4226 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4227 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4228 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4229 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4230 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4231 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4232 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4233 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4234 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4235 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4236 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4237 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4238 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4239 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4240 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4241 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4242 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4243 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4244 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4245 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4246 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4247 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4248 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4249 (_FP_FRAC_SRS_1): Likewise.
4250 (_FP_FRAC_CLZ_1): Likewise.
4251 (_FP_MUL_MEAT_1_imm): Likewise.
4252 (_FP_MUL_MEAT_1_wide): Likewise.
4253 (_FP_MUL_MEAT_1_hard): Likewise.
4254 (_FP_SQRT_MEAT_1): Likewise.
4255 (_FP_FRAC_ASSEMBLE_1): Likewise.
4256 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4257 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4258 (__FP_CLZ_2): Likewise.
4259 (_FP_MUL_MEAT_2_wide): Likewise.
4260 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4261 (_FP_MUL_MEAT_2_gmp): Likewise.
4262 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4263 (_FP_SQRT_MEAT_2): Likewise.
4264 (_FP_FRAC_ASSEMBLE_2): Likewise.
4265 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4266 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4267 (_FP_FRAC_CLZ_4): Likewise.
4268 (_FP_MUL_MEAT_4_wide): Likewise.
4269 (_FP_MUL_MEAT_4_gmp): Likewise.
4270 (_FP_SQRT_MEAT_4): Likewise.
4271 (_FP_FRAC_ASSEMBLE_4): Likewise.
4272 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4273 * soft-fp/op-common.h (_FP_CMP): Likewise.
4274 (_FP_CMP_EQ): Likewise.
4275 (_FP_CMP_UNORD): Likewise.
4276 (_FP_TO_INT): Likewise.
4277 (_FP_FROM_INT): Likewise.
4278 [!__FP_CLZ] (__FP_CLZ): Likewise.
4279 (_FP_DIV_HELP_imm): Likewise.
4280 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4281 Likewise.
4282 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4283 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4284 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4285 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4286 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4287 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4288 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4289 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4290 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4291 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4292 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4293 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4294 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4295 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4296 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4297 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4298 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4299 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4300 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4301 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4302 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4303 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4304 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4305 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4306 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4307 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4308 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4309 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4310 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4311 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4312 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4313 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4314 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4315 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4316 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4317 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4318 (FP_UNPACK_RAW_SP): Likewise.
4319 (FP_PACK_RAW_S): Likewise.
4320 (FP_PACK_RAW_SP): Likewise.
4321 (FP_UNPACK_S): Likewise.
4322 (FP_UNPACK_SP): Likewise.
4323 (FP_UNPACK_SEMIRAW_S): Likewise.
4324 (FP_UNPACK_SEMIRAW_SP): Likewise.
4325 (FP_PACK_S): Likewise.
4326 (FP_PACK_SP): Likewise.
4327 (FP_PACK_SEMIRAW_S): Likewise.
4328 (FP_PACK_SEMIRAW_SP): Likewise.
4329 (_FP_SQRT_MEAT_S): Likewise.
4330 (FP_CMP_S): Likewise.
4331 (FP_CMP_EQ_S): Likewise.
4332 (FP_CMP_UNORD_S): Likewise.
4333 (FP_TO_INT_S): Likewise.
4334 (FP_FROM_INT_S): Likewise.
4335
4336 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4337
4338 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4339 (FP_EX_INVALID_IMZ): Likewise.
4340 (FP_EX_INVALID_IMZ_FMA): Likewise.
4341 (FP_EX_INVALID_ISI): Likewise.
4342 (FP_EX_INVALID_ZDZ): Likewise.
4343 (FP_EX_INVALID_IDI): Likewise.
4344 (FP_EX_INVALID_SQRT): Likewise.
4345 (FP_EX_INVALID_CVI): Likewise.
4346 (FP_EX_INVALID_VC): Likewise.
4347 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4348 "invalid" exceptions.
4349 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4350 (_FP_ADD_INTERNAL): Likewise.
4351 (_FP_MUL): Likewise.
4352 (_FP_FMA): Likewise.
4353 (_FP_DIV): Likewise.
4354 (_FP_CMP_CHECK_NAN): Likewise.
4355 (_FP_SQRT): Likewise.
4356 (_FP_TO_INT): Likewise.
4357 (FP_EXTEND): Likewise.
4358
43592014-10-09 Allan McRae <allan@archlinux.org>
4360
4361 * po/fr.po: Update French translation from translation project.
4362
43632014-10-09 Joseph Myers <joseph@codesourcery.com>
4364
4365 [BZ #14132]
4366 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4367 of INTDEF.
4368 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4369 (__cxa_atexit): Use libc_hidden_proto.
4370 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4371
4372 [BZ #14132]
4373 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4374 declaration.
4375 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4376 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4377 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4378 [!_ISOMAC] (__iswctype_internal): Likewise.
4379 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4380 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4381 alias.
4382 (fcntl): Remove __fcntl_internal alias.
4383 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4384 __connect_internal alias.
4385 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4386 Likewise.
4387
4388 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4389 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4390 FP_DENORM_ZERO.
4391 (_FP_CHECK_FLUSH_ZERO): New macro.
4392 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4393 (_FP_CMP): Likewise.
4394 (_FP_CMP_EQ): Likewise.
4395 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4396 FP_DENORM_ZERO.
4397 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4398 (FP_TRUNC): Likewise.
4399
4400 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4401 treated as invalid conversion, not as normal exponent.
4402
4403 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4404 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4405 (_FP_CMP_EQ): Likewise.
4406 (_FP_CMP_UNORD): Likewise.
4407 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4408 (FP_CMP_EQ_D): Likewise.
4409 (FP_CMP_UNORD_D): Likewise.
4410 * soft-fp/extended.h (FP_CMP_E): Likewise.
4411 (FP_CMP_EQ_E): Likewise.
4412 (FP_CMP_UNORD_E): Likewise.
4413 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4414 (FP_CMP_EQ_Q): Likewise.
4415 (FP_CMP_UNORD_Q): Likewise.
4416 * soft-fp/single.h (FP_CMP_S): Likewise.
4417 (FP_CMP_EQ_S): Likewise.
4418 (FP_CMP_UNORD_S): Likewise.
4419 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4420 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4421 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4422 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4423 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4424 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4425 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4426 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4427 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4428 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4429 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4430 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4431 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4432 to FP_CMP_Q.
4433 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4434 FP_CMP_Q.
4435 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4436 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4437 FP_CMP_EQ_Q.
4438 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4439 FP_CMP_Q.
4440 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4441 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4442 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4443 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4444 FP_CMP_EQ_Q.
4445 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4446 FP_CMP_Q.
4447 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4448 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4449 FP_CMP_EQ_Q.
4450 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4451 FP_CMP_Q.
4452 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4453 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4454 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4455 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4456 FP_CMP_EQ_Q.
4457
4458 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4459 a subnormal result, set the underflow exception if trapping on
4460 underflow is enabled.
4461 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4462 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4463 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4464 redefine to 0.
4465 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4466 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4467 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4468 * soft-fp/extendxftf2.c (__extendxftf2): Use
4469 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4470
4471 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4472 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4473 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4474 FP_HANDLE_EXCEPTIONS.
4475 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4476 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4477 FP_HANDLE_EXCEPTIONS.
4478 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4479 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4480 FP_HANDLE_EXCEPTIONS.
4481 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4482 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4483 FP_HANDLE_EXCEPTIONS.
4484
44852014-10-08 Joseph Myers <joseph@codesourcery.com>
4486
4487 [BZ #14132]
4488 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4489 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4490 use INTUSE.
4491 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4492 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4493 Remove alias.
4494 (__adjtimex): Define using libc_hidden_ver.
4495 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4496 Remove declaration.
4497 (ntp_gettime): Call __adjtimex directly.
4498 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4499 Remove declaration.
4500 (ntp_gettimex): Call __adjtimex directly.
4501 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4502 __adjtimex_internal alias.
4503
45042014-10-08 Roland McGrath <roland@hack.frob.com>
4505
4506 [BZ #17460]
4507 * nscd/nscd.c (more_help): Rewrite list of tables collection
4508 using xstrdup and asprintf.
4509
4510 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4511
45122014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4513 Roland McGrath <roland@hack.frob.com>
4514
4515 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4516 (do_lookup_unique): ... local function 'enter' here; update callers.
4517
45182014-10-06 Joseph Myers <joseph@codesourcery.com>
4519
4520 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4521 compat_symbol calls on [SHARED].
4522 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4523 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4524 Remove.
4525 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4526 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4527 (oldsetrlimit): Remove.
4528 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4530 (lchown): New syscall entry.
4531 (oldsetrlimit): Remove.
4532 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4533 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4534 (oldsetrlimit): Remove.
4535 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4536
4537 [BZ #14138]
4538 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4539 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4540 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4541 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4542 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4543 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4544 (fchown): Likewise.
4545 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4546 (fchown): Likewise.
4547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4548 Likewise.
4549
45502014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551
4552 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4553 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4554 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4555 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4556 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4557 Likewise.
4558 (__old_sem_post): Likewise.
4559
45602014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4561
4562 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4563 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4564 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4565 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4566 Use INLINE_VSYSCALL macro.
4567 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4568 __vdso_clock_gettime.
4569 * sysdeps/unix/sysv/linux/tile/init-first.c
4570 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4571 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4572 __vdso_clock_gettime.
4573
4574 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4575 to set up frame more cleanly.
4576
4577 * sysdeps/tile/memcmp.c: New file.
4578
4579 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4580
4581 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4582 * sysdeps/tile/tilegx/strcasestr.c: New file.
4583 * sysdeps/tile/tilegx/strnlen.c: New file.
4584 * sysdeps/tile/tilegx/strstr.c: New file.
4585
4586 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4587
45882014-10-06 Arjun Shankar <arjun.is@lostca.se>
4589
4590 * nptl/tst-setuid3.c: Write errors to stdout.
4591
45922014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4593
4594 * elf/dl-deps.c
4595 (preload): New functions broken out of _dl_map_object_deps.
4596 (_dl_map_object_deps): Remove a nested function. Update call sites.
4597
45982014-10-01 Joseph Myers <joseph@codesourcery.com>
4599
4600 [BZ #14138]
4601 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4602 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4603
46042014-10-01 Steve Ellcey <sellcey@mips.com>
4605
4606 * sysdeps/mips/strcmp.S: New.
4607
46082014-09-30 Joseph Myers <joseph@codesourcery.com>
4609
4610 [BZ #14138]
4611 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4612 (linkat): Likewise.
4613 (mkdirat): Likewise.
4614 (readlinkat): Likewise.
4615 (renameat): Likewise.
4616 (symlinkat): Likewise.
4617 (unlinkat): Likewise.
4618 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4619 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4620 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4621 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4622 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4623 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4624 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4625
46262014-09-30 Will Newton <will.newton@linaro.org>
4627
4628 * math/math.h: Define long double math functions if
4629 _LIBC_TEST is defined.
4630 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4631
4632 * localedata/Makefile: Move assignment to tests-special
4633 into an ifdef testing run-built-tests.
4634 * timezone/Makefile: Likewise.
4635
46362014-09-29 Joseph Myers <joseph@codesourcery.com>
4637
4638 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4639 with $(BASH) not $(SHELL).
4640
46412014-09-29 Carlos O'Donell <carlos@redhat.com>
4642 Matthew LeGendre <legendre1@llnl.gov>
4643
4644 [BZ #17411]
4645 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4646 l_reloc_result.
4647
46482014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4649
4650 * stdio-common/printf_fp.c
4651 (hack_digit): New function, broken out of ...
4652 (__printf_fp): ... local function here. Update call sites.
4653 hack_digit now takes an additional parameter that is a pointer
4654 to a struct of the referenced locals. Those locals moved inside
4655 the struct and references updated.
4656
46572014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4658
4659 * aclocal.m4: Require autoconf 2.69.
4660 * configure: Regenerated.
4661 * sysdeps/aarch64/configure: Likewise.
4662 * sysdeps/alpha/configure: Likewise.
4663 * sysdeps/arm/armv7/configure: Likewise.
4664 * sysdeps/arm/configure: Likewise.
4665 * sysdeps/ia64/configure: Likewise.
4666 * sysdeps/mach/configure: Likewise.
4667 * sysdeps/mips/configure: Likewise.
4668 * sysdeps/s390/configure: Likewise.
4669 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4671
4672 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4673 file.
4674 * sysdeps/ia64/configure.ac: Likewise.
4675
46762014-09-26 Joseph Myers <joseph@codesourcery.com>
4677
4678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4679 specify symbol version for ld.so. Do not include entry for
4680 libpthread.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4682 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4683 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4684
4685 [BZ #14171]
4686 * Makeconfig [$(build-shared) = yes]
4687 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4688 makefiles.
4689 [$(build-shared) = yes && $(soversions.mk-done) = t]
4690 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4691 [$(build-shared) = yes && $(soversions.mk-done) = t]
4692 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4693 to Makerules.
4694 [$(build-shared) = yes && $(soversions.mk-done) = t]
4695 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4696 here.
4697 [$(build-shared) = yes && $(soversions.mk-done) = t]
4698 (common-generated): Don't append gnu/lib-names.h and
4699 gnu/lib-names.stmp here.
4700 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4701 (lib-names-h-abi): New variable.
4702 [$(build-shared) = yes && $(soversions.mk-done) = t]
4703 (lib-names-stmp-abi): Likewise.
4704 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4705 abi-variants] (before-compile): Append
4706 $(common-objpfx)$(lib-names-h-abi).
4707 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4708 abi-variants] (common-generated): Append gnu/lib-names.h.
4709 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4710 abi-variants] (install-others-nosubdir): Depend on
4711 $(inst_includedir)/$(lib-names-h-abi).
4712 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4713 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4714 [$(build-shared) = yes && $(soversions.mk-done) = t]
4715 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4716 [$(build-shared) = yes && $(soversions.mk-done) = t]
4717 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4718 [$(build-shared) = yes && $(soversions.mk-done) = t]
4719 (common-generated): Append $(lib-names-h-abi) and
4720 $(lib-names-stmp-abi).
4721 * scripts/lib-names.awk: Do not handle multi being set.
4722 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4723 Remove variable.
4724 (abi-lp64_be-ld-soname): Likewise.
4725 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4726 Likewise.
4727 (abi-hard-ld-soname): Likewise.
4728 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4729 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4730 Remove variable.
4731 (abi-o32_hard-ld-soname): Likewise.
4732 (abi-o32_soft_2008-ld-soname): Likewise.
4733 (abi-o32_hard_2008-ld-soname): Likewise.
4734 (abi-n32_soft-ld-soname): Likewise.
4735 (abi-n32_hard-ld-soname): Likewise.
4736 (abi-n32_soft_2008-ld-soname): Likewise.
4737 (abi-n32_hard_2008-ld-soname): Likewise.
4738 (abi-n64_soft-ld-soname): Likewise.
4739 (abi-n64_hard-ld-soname): Likewise.
4740 (abi-n64_soft_2008-ld-soname): Likewise.
4741 (abi-n64_hard_2008-ld-soname): Likewise.
4742 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4743 Likewise.
4744 (abi-64-v2-ld-soname): Likewise.
4745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4746 ld.so entries.
4747 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4748 variable.
4749 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4750 entry.
4751 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4752 variable.
4753 (abi-64-ld-soname): Likewise.
4754 (abi-x32-ld-soname): Likewise.
4755 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4756 entry.
4757 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4758
47592014-09-23 Joseph Myers <joseph@codesourcery.com>
4760
4761 [BZ #14138]
4762 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4763 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4764 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4765 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4766 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4767 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4768 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4769 syscall entry for GLIBC_2.2 symbol version.
4770 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4771 Likewise.
4772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4773 (setrlimit): Likewise.
4774 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4775 Likewise.
4776
47772014-09-23 Will Newton <will.newton@linaro.org>
4778
4779 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4780 _LINUX_ARM_SYSDEP_H include guard too.
4781 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4782 define.
4783
47842014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4785
4786 * sysdeps/unix/sysv/linux/eventfd.c:
4787 Make first argument unsigned.
4788 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4789 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4790
47912014-09-20 Ondřej Bílka <neleai@seznam.cz>
4792
4793 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4794 * socket/sys/socket.h: Likewise
4795 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4796
47972014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4798
4799 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4800
48012014-09-17 Arjun Shankar <arjun.is@lostca.se>
4802
4803 * time/tst-ftime.c: New test.
4804 * time/Makefile (tests): Add tst-ftime.
4805
48062014-09-17 Joseph Myers <joseph@codesourcery.com>
4807
4808 * soft-fp/extended.h: Fix comment formatting.
4809 * soft-fp/op-1.h: Likewise.
4810 * soft-fp/op-2.h: Likewise.
4811 * soft-fp/op-4.h: Likewise.
4812 * soft-fp/op-8.h: Likewise.
4813 * soft-fp/op-common.h: Likewise.
4814 * soft-fp/soft-fp.h: Likewise.
4815
4816 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4817
48182014-09-16 Joseph Myers <joseph@codesourcery.com>
4819
4820 [BZ #6652]
4821 * Makeconfig (soversions-default-setname): Remove variable.
4822 ($(common-objpfx)soversions.i): Don't pass default_setname to
4823 soversions.awk.
4824 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4825 oldest_abi to abi-versions.awk.
4826 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4827 * config.make.in (oldest-abi): Remove variable.
4828 * configure.ac (--enable-oldest-abi): Remove configure option.
4829 * configure: Regenerated.
4830 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4831 text.
4832 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4833 * scripts/soversions.awk: Do not handle default_setname variable.
4834 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4835 variable.
4836 * sysdeps/mach/hurd/configure: Regenerated.
4837 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4838 variable.
4839 * sysdeps/unix/sysv/linux/configure: Regenerated.
4840
48412014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
4843 * elf/Makefile (CFLAGS-interp.c): Remove.
4844 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4845 path string.
4846 * elf/interp.c: Include generated runtime-linker.h
4847
4848 * Makerules (lib%.so): Don't include $(+interp) in
4849 prerequisites.
4850 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4851 * dlfcn/eval.c: Remove file.
4852
4853 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4854 macros.
4855
4856 [BZ #17266]
4857 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4858 4.2 and newer.
4859
4860 [BZ #17370]
4861 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4862
48632014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4864 Jakub Jelinek <jakub@redhat.com>
4865
4866 [BZ #17266]
4867 * libio/stdio.h: Check definition of __fortify_function
4868 instead of __extern_always_inline to include bits/stdio2.h.
4869 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4870 check if __extern_always_inline is defined.
4871 [__USE_MISC || __USE_XOPEN]: Likewise.
4872 [__USE_ISOC99] Likewise.
4873 * misc/sys/cdefs.h (__fortify_function): Define only if
4874 __extern_always_inline is defined.
4875 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4876 __extern_always_inline and __extern_inline only for g++-4.3
4877 and newer or a compatible gcc.
4878
48792014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4880
4881 [BZ #17371]
4882 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4883 last change to handle zero prefix length.
4884
48852014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4886
4887 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4888 _SC_REGEX_VERSION.
4889
4890 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4891 _POSIX_RAW_SOCKETS.
4892
48932014-09-13 Allan McRae <allan@archlinux.org>
4894
4895 * po/ru.po: Update Russian translation from translation project.
4896
48972014-09-12 Roland McGrath <roland@hack.frob.com>
4898
4899 * locale/programs/locale.c (show_locale_vars): Inline local function
4900 into its sole call site. Clean up some style nits.
4901 (print_item): New function, broken out of ...
4902 (show_info): ... local function here. Clean up style nits.
4903
4904 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4905 out of ...
4906 (set_class_defaults): ... local function set_default here.
4907 Define set_default as a macro locally to pass constant parameters.
4908 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4909 rather than a shared local.
4910
4911 * stdlib/rpmatch.c (try): New function, broken out of ...
4912 (rpmatch): ... local function here. Also, prototypify definition.
4913
49142014-09-12 Joseph Myers <joseph@codesourcery.com>
4915
4916 * scripts/soversions.awk: Do not handle configuration names.
4917 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4918 vendor and os variables to soversions.awk.
4919 * configure.ac: Do not modify gnu-* host_os.
4920 * configure: Regenerated
4921 * shlib-versions: Remove first column with configuration names.
4922 * nptl/shlib-versions: Likewise.
4923 * nptl_db/shlib-versions: Likewise.
4924 * sysdeps/hppa/shlib-versions: Likewise.
4925 * sysdeps/m68k/shlib-versions: Likewise.
4926 * sysdeps/mach/hurd/shlib-versions: Likewise.
4927 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4928 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4929 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4930 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4931 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4932 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4933 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4934 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4936 Likewise.
4937 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4938 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4939 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4940 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4941 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4942 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4943 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4944 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4945
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4947 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4949 Regenerated.
4950 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4952 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4953
4954 * shlib-versions: Remove OS-specific entries. Moved to files in
4955 sysdeps.
4956 * sysdeps/mach/hurd/shlib-versions: New file.
4957 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4958
4959 * nptl/shlib-versions: Remove architecture-specific entries.
4960 Moved to files in sysdeps.
4961 * shlib-versions: Likewise.
4962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4963 file.
4964 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4965 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4966 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4967 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4968
4969 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4970 (UDP_NO_CHECK6_RX): Likewise.
4971
49722014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4973
4974 * sysdeps/posix/sysconf.c (__sysconf): Spell
4975 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4976
49772014-08-12 Florian Weimer <fweimer@redhat.com>
4978
4979 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4980 loading.
4981 * iconv/Versions (__gconv_transliterate): Export for use from
4982 gconv modules.
4983 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4984 (struct __gconv_trans_data, __gconv_trans_fct,
4985 __gconv_trans_context_fct, __gconv_trans_query_fct,
4986 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4987 definitions.
4988 (struct __gconv_step_data): Remove __trans member.
4989 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4990 longer hidden. Remove unused trans_data argument.
4991 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4992 (__gconv_translit_find): Remove declaration.
4993 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4994 prototype.
4995 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4996 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4997 trans_data argument. Add hidden definition.
4998 (__gconv_translit_find): Remove.
4999 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5000 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5001 * iconv/skeleton.c: Remove transliteration initialization.
5002 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5003 __gconv_step_data initialization.
5004 * libio/iofwide.c (__libio_translit_): Remove.
5005 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5006 * wcsmbs/btowc.c (__btowc): Likewise.
5007 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5008 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5009 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5010 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5011 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5012 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5013 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5014 * wcsmbs/wctob.c (wctob): Likewise.
5015
50162014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5017
5018 [BZ #16194]
5019 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5020 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5021 register usage.
5022 * sysdeps/x86/Makefile: Adjust.
5023
50242014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5025 Roland McGrath <roland@hack.frob.com>
5026
5027 * locale/weight.h: Add include guard.
5028 (findidx): Make static rather than auto; take new parameters
5029 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5030 * locale/weightwc.h: Likewise.
5031 * posix/fnmatch_loop.c
5032 (FCT): Change type of EXTRA from int32_t to wint_t.
5033 Don't include either header inside the function.
5034 Call FINDIDX rather than findidx, and pass new arguments.
5035 #undef FINDIDX at the end of the file.
5036 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5037 FINDIDX before including fnmatch_loop.c for the non-wide version.
5038 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5039 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5040 for the wide version.
5041 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5042 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5043 Pass new arguments to findidx.
5044 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5045 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5046 Don't #include it inside the function. Pass new arguments to findidx.
5047 * posix/regex_internal.h
5048 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5049 (re_string_elem_size_at): Don't #include it inside the function.
5050 Pass new arguments to findidx.
5051 * string/strcoll_l.c: #include WEIGHT_H at top level.
5052 (get_next_seq): Don't #include it inside the function.
5053 Pass new arguments to findidx.
5054 (get_next_seq_nocache): Likewise.
5055 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5056 (STRXFRM): Don't #include it inside the function.
5057 Pass new arguments to findidx.
5058
50592014-09-11 Florian Weimer <fweimer@redhat.com>
5060
5061 [BZ #17344]
5062 * malloc/malloc.c (unlink): Turn asserts into a call to
5063 malloc_printerr.
5064
50652014-09-11 Tim Lammens <tim.lammens@gmail.com>
5066
5067 [BZ #17370]
5068 * libio/wfileops (do_ftell_wide): Free OUT.
5069
50702014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5071
5072 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5073
50742014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5075
5076 [BZ #17363]
5077 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5078 group if the current group is empty.
5079
50802014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5081
5082 * benchtests/bench-memset.c (test_main): Add more test from size
5083 from 32 to 512 bytes.
5084 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5085 Add POWER8 memset object.
5086 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5087 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5088 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5089 implementation.
5090 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5091 Likewise.
5092 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5093 multiarch POWER8 memset optimization.
5094 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5095 POWER8 memset optimization.
5096
5097 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5098 Remove bzero multiarch objects.
5099 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5100 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5101 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5102 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5103 Remove define.
5104 [__bzero]: Redefine to specific name.
5105 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5107 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5108 define.
5109 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5110 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5111
51122014-09-10 Florian Weimer <fweimer@redhat.com>
5113
5114 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5115 warnings into errors.
5116
5117 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5118 __cxa_thread_atexit_impl prototype.
5119
51202014-09-09 Steve Ellcey <sellcey@mips.com>
5121
5122 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5123 Fix capitalization of error message.
5124
51252014-09-09 Steve Ellcey <sellcey@mips.com>
5126
5127 * sysdeps/mips/preconfigure: Modify ABI tests.
5128
51292014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5130
5131 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5132
51332014-09-07 Roland McGrath <roland@hack.frob.com>
5134 Carlos O'Donell <carlos@systemhalted.org>
5135
5136 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5137 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5138 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5139 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5140 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5141 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5142 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5143 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5144 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5145 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5146 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5147 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5148 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5149 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5150 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5151 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5152 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5153 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5154 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5155 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5156 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5157 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5158 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5159 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5160 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5161 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5162 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5163 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5164 Deconditionalize the code that was previously under [RESET_PID].
5165 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5166 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5167 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5168 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5169 include sysdep.h.
5170
51712014-09-08 Allan McRae <allan@archlinux.org>
5172
5173 * version.h (RELEASE): Set to "development".
5174 (VERSION): Set to "2.20.90"
5175
51762014-09-07 Allan McRae <allan@archlinux.org
5177
5178 * version.h (RELEASE): Set to "stable".
5179 (VERSION): Set to "2.20"
5180 * include/features.h (__GLIBC_MINOR__): Set to 20.
5181
5182 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5183 Liebler.
5184
5185 * po/ko.po: Update Korean translation from translation project.
5186
51872014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5188
5189 [BZ #17354]
5190 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5191 macro for handling signed relocations.
5192
51932014-09-03 Florian Weimer <fweimer@redhat.com>
5194
5195 [BZ #17325]
5196 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5197 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5198 assert.
5199 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5200 * iconvdata/ibm935.c (BODY): Likewise.
5201 * iconvdata/ibm937.c (BODY): Likewise.
5202 * iconvdata/ibm939.c (BODY): Likewise.
5203 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5204 assert.
5205 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5206 script.
5207 * iconvdata/run-iconv-test.sh: New test loop for checking for
5208 decoder crashers.
5209
52102014-09-02 Khem Raj <raj.khem@gmail.com>
5211
5212 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5213 libm_hidden_ver.
5214
52152014-09-01 Allan McRae <allan@archlinux.org>
5216
5217 * po/eo.po: Update Esperanto translation from translation project.
5218
5219 * po/ca.po: Update Catalan translation from translation project.
5220
52212014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5222
5223 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5224 __proc_dostop call.
5225
52262014-08-27 Mark Wielaard <mjw@redhat.com>
5227
5228 [BZ #17319]
5229 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5230 to call set_thread_area instead of hand written asm.
5231 (__NR_set_thread_area): Removed define.
5232 (TLS_FLAG_WRITABLE): Likewise.
5233 (__ASSUME_SET_THREAD_AREA): Remove check.
5234 (TLS_EBX_ARG): Remove define.
5235 (TLS_LOAD_EBX): Likewise.
5236
52372014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5238
5239 Simplify atomicity of socket creation in bind.
5240
5241 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5242 looking up the name after linking the file.
5243
52442014-08-27 Allan McRae <allan@archlinux.org>
5245
5246 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5247
52482014-08-26 Florian Weimer <fweimer@redhat.com>
5249
5250 [BZ #17187]
5251 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5252 trans_compare, open_translit, __gconv_translit_find):
5253 Remove module loading code.
5254
52552014-08-26 Allan McRae <allan@archlinux.org>
5256
5257 * po/vi.po: Update Vietnamese translation from translation project.
5258
5259 * po/uk.po: Update Ukrainian translation from translation project.
5260
5261 * po/fr.po: Update French translation from translation project.
5262
5263 * po/ru.po: Update Russian translation from translation project.
5264
5265 * po/pl.po: Update Polish translation from translation project.
5266
5267 * po/cs.po: Update Czech translation from translation project.
5268
5269 * po/de.po: Update German translation from translation project.
5270
5271 * po/bg.po: Update Bulgarian translation from translation project.
5272
5273 * po/sv.po: Update Sweedish translation from translation project.
5274
5275 * po/nl.po: Update Dutch translation from translation project.
5276
5277 * po/es.po: Update Spanish translation from translation project.
5278
52792014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5280
5281 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5282
5283 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5284 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5285 (CPPFLAGS-iconvconfig): Likewise.
5286 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5287
5288 * include/libc-symbols.h: Remove unnecessary check for
5289 NOT_IN_libc.
5290 * nptl/pthreadP.h: Likewise.
5291 * sysdeps/aarch64/setjmp.S: Likewise.
5292 * sysdeps/alpha/setjmp.S: Likewise.
5293 * sysdeps/arm/sysdep.h: Likewise.
5294 * sysdeps/i386/setjmp.S: Likewise.
5295 * sysdeps/m68k/setjmp.c: Likewise.
5296 * sysdeps/posix/getcwd.c: Likewise.
5297 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5298 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5299 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5300 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5301 * sysdeps/sh/sh3/setjmp.S: Likewise.
5302 * sysdeps/sh/sh4/setjmp.S: Likewise.
5303 * sysdeps/unix/alpha/sysdep.h: Likewise.
5304 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5305 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5306 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5307 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5312 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5314 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5315 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5317 * sysdeps/x86_64/setjmp.S: Likewise.
5318
53192014-08-13 Joseph Myers <joseph@codesourcery.com>
5320
5321 [BZ #17263]
5322 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5323 <stdint.h>.
5324 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5325 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5326
53272014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5328
5329 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5330
5331 [BZ #17262]
5332 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5333 and __x86_64__ when disabling x87 inline functions.
5334
53352014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5336
5337 [BZ #17259]
5338 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5339 asm statement with __cpuid_count.
5340
53412014-08-12 Mike Frysinger <vapier@gentoo.org>
5342
5343 * configure.ac: Change __ehdr_start code to dereference the struct.
5344 Run readelf on the output to look for relocations.
5345 * configure: Regenerated.
5346
53472014-08-12 Joseph Myers <joseph@codesourcery.com>
5348
5349 [BZ #17261]
5350 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5351 value to 0.
5352 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5353
53542014-08-12 Roland McGrath <roland@hack.frob.com>
5355
5356 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5357
53582014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5359
5360 [BZ #16892]
5361 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5362 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5363
53642014-08-12 Sean Anderson <seanga2@gmail.com>
5365
5366 * malloc/malloc.c: Fix typo in comment.
5367
53682014-08-09 Allan McRae <allan@archlinux.org>
5369
5370 * Regenerate libc.po.
5371
53722014-08-08 Mike Frysinger <vapier@gentoo.org>
5373
5374 * intl/tst-gettext2.sh: Check every lang file for creation.
5375
53762014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5377
5378 * sysdeps/aarch64/fpu/math_private.h
5379 (libc_feholdsetround_noex_aarch64_ctx): New function.
5380
53812014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5382
5383 * sysdeps/arm/armv6/strcpy.S (strcpy):
5384 Fix performance issue in misaligned cases.
5385
53862014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5387
5388 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5389 Move definition from termios.h.
5390 (struct termio): Likewise.
5391 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5392 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5393 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5394 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5395 Likewise.
5396 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5397 Move definition to ioctl-types.h
5398 (struct termio): Likewise.
5399 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5400 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5401 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5402 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5403 Likewise.
5404
54052014-08-05 Richard Henderson <rth@redhat.com>
5406
5407 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5408 exceptions.
5409 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5410 Add fraiseexcpt.
5411 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5412 Use __feraiseexcept.
5413 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5414 Protect libm symbols with IS_IN_libm.
5415
5416 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5417
54182014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5419
5420 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5421
54222014-08-04 Will Newton <will.newton@linaro.org>
5423
5424 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5425 file.
5426
54272014-08-04 Mike Frysinger <vapier@gentoo.org>
5428
5429 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5430 variants for each function.
5431
54322014-08-04 Roland McGrath <roland@hack.frob.com>
5433
5434 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5435 appended ...
5436 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5437 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5438 appended ...
5439 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5440 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5441 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5442 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5443 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5444 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5445 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5446 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5447 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5448 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5449 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5450 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5451 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5452 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5453 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5454 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5455 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5456 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5457 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5458 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5459 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5460 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5461 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5462 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5463 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5464 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5465 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5466 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5467 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5468 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5469 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5470 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5471 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5472 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5473 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5474 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5475 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5476 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5477 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5478 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5479 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5480 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5481 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5482 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5483 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5484 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5485 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5486 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5487 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5488 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5489 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5490 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5491 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5492 Update #include.
5493 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5494 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5495
54962014-08-04 Roland McGrath <roland@hack.frob.com>
5497
5498 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5499 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5500 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5501 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5502 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5503 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5504
55052014-08-04 Roland McGrath <roland@hack.frob.com>
5506
5507 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5508 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5509 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5510 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5511
55122014-08-04 Roland McGrath <roland@hack.frob.com>
5513
5514 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5515 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5516 (__libc_vfork): Define function under this name.
5517 (__vfork): Define as an alias.
5518 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5519 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5520
55212014-08-04 Roland McGrath <roland@hack.frob.com>
5522
5523 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5524 that was previously under [RESET_PID].
5525 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5526
55272014-08-04 Andreas Schwab <schwab@suse.de>
5528
5529 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5530
55312014-08-03 Mike Frysinger <vapier@gentoo.org>
5532
5533 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5534 (main): Likewise.
5535
55362014-08-01 Roland McGrath <roland@hack.frob.com>
5537
5538 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5539
55402014-08-01 Richard Henderon <rth@redhat.com>
5541
5542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5543 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5544 typo in exact zero test.
5545 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5546 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5547 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5548
55492014-08-01 Roland McGrath <roland@hack.frob.com>
5550
5551 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5552 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5553 * sysdeps/arm/sysdep.h: ... here.
5554 [!__ASSEMBLER__]: Include <stdint.h>.
5555
55562014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5557
5558 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5559 (HAVE_WCTYPE_H): Likewise.
5560 (HAVE_ISWCTYPE): Likewise.
5561 (ENABLE_NLS): Likewise.
5562 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5563 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5564
5565 * posix/regex_internal.c: Check if DEBUG is defined and is
5566 set.
5567
5568 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5569 (HAVE_MBSRTOWCS): Likewise.
5570 * posix/fnmatch.c: Include string.h unconditionally.
5571
55722014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5573
5574 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5575 reversal.
5576
55772014-07-31 Roland McGrath <roland@hack.frob.com>
5578
5579 * sysdeps/generic/safe-fatal.h: New file.
5580 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5581 * nptl/forward.c: Include it.
5582 (__pthread_unwind): Use __safe_fatal as default action, rather
5583 than a bogus use of INTERNAL_SYSCALL that could never work.
5584
5585 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5586 * configure.ac (libc_cv_builtin_trap): New test.
5587 * configure: Regenerated.
5588 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5589 (ABORT_INSTRUCTION): Define using __builtin_trap.
5590
5591 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5592 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5593 * sysdeps/nptl/nptl-signals.h: New file.
5594 * nptl/pthreadP.h: Include <nptl-signals.h>.
5595
55962014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5597
5598 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5599 (ONE_DIRECTION): Define.
5600 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5601 (ONE_DIRECTION): Define.
5602 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5603 (ONE_DIRECTION): Define.
5604
56052014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5606
5607 * sysdeps/s390/Makefile: Delete file.
5608 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5609 * sysdeps/s390/__longjmp.c: Delete file.
5610 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5611 Remove fields __flags and __reserved.
5612 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5613 and add versioning.
5614 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5615 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5616 * sysdeps/s390/rtld-setjmp.S: Likewise.
5617 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5618 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5619 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5620 * sysdeps/s390/s390-32/setjmp.S: ... here.
5621 Add versioning.
5622 (__sigsetjmp): Remove setting __flags field.
5623 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5624 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5625 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5626 * sysdeps/s390/s390-64/setjmp.S: ... here.
5627 Add versioning.
5628 (__sigsetjmp): Remove setting __flags field.
5629 * sysdeps/s390/setjmp.S: Delete file.
5630 * sysdeps/s390/sigjmp.c: Likewise.
5631 * sysdeps/s390/v1-longjmp.c: Likewise.
5632 * sysdeps/s390/v1-setjmp.h: Likewise.
5633 * sysdeps/s390/v1-sigjmp.c: Likewise.
5634 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5635 Remove v1-longjmp_chk.
5636 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5637 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5638 Include debug/longjmp_chk.c and add versioning.
5639 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5640 Include nptl/pt-longjmp.c and add versioning.
5641 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5642 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5643 Include __longjmp.c.
5644 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5645 Move to ...
5646 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5647 (__getcontext): Remove setting __flags field.
5648 Add versioning.
5649 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5650 Don't restore upper high grps.
5651 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5652 Likewise.
5653 (__swapcontext): Remove setting uc_flags field.
5654 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5655 Delete file.
5656 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5657 Include __longjmp.c.
5658 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5659 Move to ...
5660 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5661 (__getcontext): Remove setting __flags field.
5662 Add versioning.
5663 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5664 (__swapcontext): Remove setting uc_flags field.
5665 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5666 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5667 Remove fields uc_high_gprs and __reserved.
5668 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5669 New file with reverted content.
5670 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5671 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5672 Regenerated.
5673 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5674 Regenerated.
5675
56762014-07-31 Andreas Schwab <schwab@suse.de>
5677
5678 * config.h.in (HAVE_IFUNC): Define to 0.
5679 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5680 definedness.
5681
56822014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5683
5684 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5685 memmove-avx-unaligned, memcpy-avx-unaligned and
5686 mempcpy-avx-unaligned.
5687 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5688 Add tests for AVX memcpy functions.
5689 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5690 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5691 memcpy_chk.
5692 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5693 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5694 memmove_chk.
5695 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5696 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5697 mempcpy_chk.
5698 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5699 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5700 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5701
57022013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5703
5704 [BZ #17213]
5705 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5706 powerpc64le.
5707
57082014-07-29 Jeff Layton <jlayton@poochiereds.net>
5709
5710 [BZ #16839]
5711 * manual/llio.texi: Add section about open file description locks.
5712 * manual/examples/ofdlocks.c: Example of open file description
5713 lock usage.
5714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5715 F_OFD_SETLK, and F_OFD_SETLKW.
5716
57172014-07-23 Allan McRae <allan@archlinux.org>
5718
5719 * po/es.po: Update Spanish translation from translation project.
5720
57212014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5722
5723 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5724
57252014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5726
5727 [BZ #17078]
5728 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5729 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5730 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5731
57322014-07-17 Joseph Myers <joseph@codesourcery.com>
5733
5734 [BZ #17088]
5735 * math/fesetenv.c (__fesetenv)
5736 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5737 * math/feupdateenv.c (__feupdateenv)
5738 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5739
5740 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5741 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5742 (__ASSUME_SOCKETCALL): Do not define.
5743
5744 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5745 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5746 (__ASSUME_SOCKETCALL): Do not define.
5747 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5748 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5749 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5750 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5751 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5752 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5753 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5754 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5755
5756 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5757 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5758 (__ASSUME_SOCKETCALL): Do not define.
5759 (__ASSUME_IPC64): Define unconditionally.
5760 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5761 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5762 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5763 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5764 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5765 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5766 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5767 Likewise.
5768
5769 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5770 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5771 (__ASSUME_SOCKETCALL): Do not define.
5772 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5773 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5774 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5775 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5776 (__ASSUME_REQUEUE_PI): Define unconditionally.
5777 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5778 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5779 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5780 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5781 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5782 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5783
5784 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5785 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5786 (__ASSUME_SOCKETCALL): Do not define.
5787 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5788 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5789 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5790 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5791 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5792 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5793
5794 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5795 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5796 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5797 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5798 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5799 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5800 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5801 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5802 (__ASSUME_GETCPU_SYSCALL): Likewise.
5803
5804 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5805 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5806 cases for individual architectures.
5807 * sysdeps/gnu/configure: Regenerated.
5808 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5809 LIBC_SLIBDIR_RTLDDIR.
5810 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5811 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5812 LIBC_SLIBDIR_RTLDDIR.
5813 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5815 LIBC_SLIBDIR_RTLDDIR.
5816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5817 Regenerated.
5818 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5819 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5820 file.
5821 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5822 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5823 file.
5824 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5825 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5827 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5828
5829 * sysdeps/aarch64/shlib-versions: Move to ...
5830 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5831 * sysdeps/alpha/shlib-versions: Move to ...
5832 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5833 * sysdeps/arm/shlib-versions: Move to ...
5834 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5835 * sysdeps/hppa/shlib-versions: Move all contents except for
5836 libgcc_s entry to ...
5837 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5838 entry from ...
5839 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5840 * sysdeps/ia64/shlib-versions: Move to ...
5841 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5842 entry from ...
5843 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5844 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5845 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5846 * sysdeps/microblaze/shlib-versions: Move to ...
5847 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5848 * sysdeps/mips/shlib-versions: Move to ...
5849 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5850 entry from ...
5851 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5852 * sysdeps/tile/shlib-versions: Move to ...
5853 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5854 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5855 from ...
5856 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5857 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5858 entry from ...
5859 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5860
58612014-07-17 Will Newton <will.newton@linaro.org>
5862
5863 * sysdeps/arm/bits/atomic.h
5864 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5865 (__arch_compare_and_exchange_bool_16_int): Likewise.
5866 (__arch_compare_and_exchange_bool_64_int): Likewise.
5867
5868 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5869 into an #else block.
5870
58712014-07-16 Roland McGrath <roland@hack.frob.com>
5872
5873 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5874 just Linux configurations. Test empirically that the compiler sets
5875 __ARM_EABI__, rather than using the tuple to decide.
5876 * sysdeps/arm/preconfigure: Regenerated.
5877 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5878 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5879 contents appended ...
5880 * sysdeps/arm/configure.ac: ... here.
5881 * sysdeps/arm/configure: Regenerated.
5882
58832014-07-15 Roland McGrath <roland@hack.frob.com>
5884
5885 * nptl/pthread_kill.c: New file.
5886 * nptl/pthread_sigmask.c: New file.
5887 * nptl/pthread_sigqueue.c: New file.
5888
5889 * sysdeps/nptl/lowlevellock.h: New file.
5890 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5891 * sysdeps/nptl/lowlevellock-futex.h: New file.
5892
5893 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5894 Remove dead declarations.
5895
58962014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5897
5898 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5899 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5900 config-cflags-avx2.
5901 * sysdeps/x86_64/configure.ac: Likewise.
5902 * sysdeps/i386/configure: Regenerated.
5903 * sysdeps/x86_64/configure: Likewise.
5904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5905 memset-avx2 only if config-cflags-avx2 is yes.
5906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5907 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5908 defined.
5909 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5910 only if HAVE_AVX2_SUPPORT is defined.
5911 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5912
59132014-07-14 Alan Modra <amodra@gmail.com>
5914
5915 [BZ #17153]
5916 * elf/elf.h (DT_PPC64_NUM): Correct value.
5917 * NEWS: Add to fixed bug list.
5918
59192014-07-13 Jim Meyering <meyering@fb.com>
5920
5921 [BZ 17150]
5922 regex: don't deref NULL upon heap allocation failure
5923 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5924 failure in one more place.
5925 To trigger the segfault, configure grep -with-included-regex,
5926 build it, and run these commands:
5927 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5928
59292014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5930
5931 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5932
59332014-07-11 Richard Henderson <rth@redhat.com>
5934
5935 * sysdeps/aarch64/libm-test-ulps: Update.
5936
59372014-07-10 Florian Weimer <fweimer@redhat.com>
5938
5939 [BZ #17135]
5940 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5941 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5942 (__nptl_setxid): Initialize error member. Call
5943 __nptl_setxid_error.
5944 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5945 * nptl/descr.h (struct xid_command): Add error member.
5946 * nptl/tst-setuid3.c: New file.
5947 * nptl/Makefile (tests): Add it.
5948
59492014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5950
5951 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5952 New define.
5953 (__lll_trylock): Use __lll_base_trylock.
5954 (__lll_cond_trylock): Likewise.
5955
59562014-07-10 Roland McGrath <roland@hack.frob.com>
5957
5958 * nptl/pthread_create.c (start_thread): Use atomic_or and
5959 lll_futex_wake directly rather than lll_robust_dead.
5960 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5961 (lll_robust_dead): Macro removed.
5962 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5963 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5964 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5965 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5966 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5967 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5968 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5969 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5970 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5971 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5972 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5973 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5974 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5975 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5976 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5977
5978 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5979 Use atomic_compare_and_exchange_val_acq directly rather than
5980 lll_robust_trylock.
5981 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5982 (__lll_robust_trylock, lll_robust_trylock): Removed.
5983 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5984 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5985 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5986 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5987 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5988 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5989 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5990 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5991 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5992 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5993 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5994 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5995 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5996 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5997
59982014-07-02 Florian Weimer <fweimer@redhat.com>
5999
6000 * manual/locale.texi (Locale Names): New section documenting
6001 locale name syntax. Adjust menu and node chaining accordingly.
6002 (Choosing Locale): Reference Locale Names, Locale Categories.
6003 Mention setting LC_ALL=C. Reflect that name syntax is now
6004 documented.
6005 (Locale Categories): New section title. Reference Locale Names.
6006 LC_ALL is an environment variable, but not a category.
6007 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6008 description, now in Locale Name. Reference that section. Locale
6009 name syntax is now documented.
6010
60112014-07-02 Florian Weimer <fweimer@redhat.com>
6012
6013 [BZ #17137]
6014 * locale/findlocale.c (name_present, valid_locale_name): New
6015 functions.
6016 (_nl_find_locale): Use the loc_name variable to store name
6017 candidates. Call name_present and valid_locale_name to check and
6018 validate locale names. Return an error if the locale is invalid.
6019
60202014-07-02 Florian Weimer <fweimer@redhat.com>
6021
6022 * locale/setlocale.c (setlocale): Use strdup for allocating
6023 composite name copy.
6024
60252014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6026
6027 Sync up with gnulib.
6028 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6029 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6030 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6031 and _GL_ARG_NONNULL.
6032 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6033 [!_LIBC]: Include code for Windows and Cygwin.
6034 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6035 Include prototype for int strerror_r.
6036 [!_LIBC] (is_open): New function.
6037 (flush_stdout): New function.
6038 (print_errno_message): Use it.
6039 (error): Likewise.
6040 (error_at_line): Likewise.
6041 (error_tail) Add function attribute macros. Use
6042 __builtin_expect.
6043
6044 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6045
6046 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6047
6048 * io/ftw.c: Include sys/param.h unconditionally.
6049
6050 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6051
6052 [BZ #17125]
6053 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6054 libc_freeres_ptr.
6055 (freecache): New function to free CACHE on exit.
6056
6057 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6058 initialization.
6059
60602014-07-09 David S. Miller <davem@davemloft.net>
6061
6062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6063
6064 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6065 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6066 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6067 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6068 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6069 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6070 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6071 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6072 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6073 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6074 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6075 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6076 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6077
60782014-07-09 Andreas Schwab <schwab@suse.de>
6079
6080 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6081 output.
6082 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6083 (do_test): Likewise.
6084
6085 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6086
60872014-07-09 Will Newton <will.newton@linaro.org>
6088
6089 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6090 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6091 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6092 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6093 * sysdeps/hppa/start.S (_start): Likewise.
6094
60952014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6096
6097 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6098
6099 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6100 defined.
6101
61022014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6103
6104 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6105 after checking that it is non-NULL.
6106
6107 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6108
61092014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110
6111 * sysdeps/powerpc/memmove.c: Remove file.
6112 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6113 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6114 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6115 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6116 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6117 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6118 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6119 string memmove instead of removed powerpc one.
6120
6121 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6122 [weak_alias]: Fix compiler warning due trailing data.
6123 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6124 [weak_alias]: Likewise.
6125 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6126 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6127
6128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6129 (__libc_ifunc_impl_list): Add memmove functions.
6130
61312014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6132
6133 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6134 Remove code.
6135 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6136 Likewise
6137 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6138 Likewise
6139 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6140 Likewise
6141 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6142 Likewise
6143 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6144 Likewise
6145 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6146 Likewise
6147 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6148 Likewise
6149 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6150 Likewise
6151 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6152 Likewise
6153 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6154 Likewise
6155 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6156 Likewise
6157 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6158 Likewise
6159 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6160 Likewise
6161 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6162 Likewise
6163 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6164 Likewise
6165 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6166 Likewise
6167
61682014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6169
6170 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6171 to avoid alignment traps in non-cacheable memory.
6172 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6173
6174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6175 multiarch objects.
6176 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6177 file: multiarch power7 memmove.
6178 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6179 multiarch default memmove.
6180 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6181 multiarch memove for powerpc32/power4.
6182
6183 * string/bcopy.c: Use full path to include memmove.c.
6184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6185 multiarch objects.
6186 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6187 bcopy for powerpc64.
6188 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6189 bcopy for powerpc64.
6190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6191 and memmove implementations.
6192 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6193 optimized multiarch memmove for POWER7/powerpc64.
6194 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6195 default multiarch memmove for powerpc64.
6196 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6197 multiarch for powerpc64.
6198 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6199 for POWER7/powerpc64.
6200 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6201 memmove for POWER7/powerpc64.
6202
6203 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6204 glibc default one.
6205
6206 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6207 __ELF_NATIVE_CLASS equal to 64.
6208
62092014-07-07 Roland McGrath <roland@hack.frob.com>
6210
6211 * sysdeps/nptl/lowlevellock.h: File removed.
6212
6213 * NEWS: NPTL is no longer an add-on!
6214 * nptl/internaltypes.h: Moved ...
6215 * sysdeps/nptl/internaltypes.h: ... here.
6216 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6217 * sysdeps/nptl/fork.c: Likewise.
6218 * sysdeps/nptl/gai_misc.h: Likewise.
6219 * sysdeps/nptl/librt-cancellation.c: Likewise.
6220 * sysdeps/nptl/jmp-unwind.c: Likewise.
6221 * sysdeps/nptl/setxid.h: Likewise.
6222 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6223 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6224 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6225 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6226 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6227 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6228 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6229 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6230 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6231 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6232 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6233 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6234 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6235 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6236 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6237 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6238 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6239 * nptl/Makeconfig: Moved ...
6240 * sysdeps/nptl/Makeconfig: ... here.
6241 * nptl/configure: File removed.
6242 * nptl/ANNOUNCE: File removed.
6243 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6244 * sysdeps/unix/sysv/linux/configure: Regenerated.
6245
6246 * nptl/Makefile (routines): Add libc_pthread_init,
6247 libc_multiple_threads, register-atfork and unregister-atfork.
6248 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6249 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6250 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6251 pthread-pi-defines.sym, structsem.sym.
6252 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6253 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6254 [$(subdir) = nptl] (tests): Add tst-setgetname.
6255 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6256 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6257 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6258 [!LIBC_SIGACTION]: Remove aliases.
6259 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6260 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6261 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6262 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6263 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6264 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6266 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6267 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6268 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6269 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6270 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6271 __libc_allocate_rtsig_private.
6272 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6273 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6274 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6275 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6276 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6277 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6278 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6279 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6280 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6281 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6282 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6283 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6284 * nptl/internaltypes.h: ... here.
6285 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6286 * sysdeps/nptl/jmp-unwind.c: ... here.
6287 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6288 * nptl/libc-lowlevellock.c: ... here.
6289 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6290 * nptl/libc_multiple_threads.c: ... here.
6291 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6292 * nptl/libc_pthread_init.c: ... here.
6293 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6294 * nptl/lowlevelbarrier.sym: ... here.
6295 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6296 * nptl/lowlevelcond.sym: ... here.
6297 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6298 * nptl/lowlevellock.c: ... here.
6299 * nptl/lowlevellock.h: Moved ...
6300 * sysdeps/nptl/lowlevellock.h: ... here.
6301 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6302 * nptl/lowlevelrobustlock.c: ... here.
6303 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6304 * nptl/lowlevelrobustlock.sym: ... here.
6305 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6306 * nptl/lowlevelrwlock.sym: ... here.
6307 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6308 * nptl/pt-fork.c: ... here.
6309 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6310 * nptl/pthread-pi-defines.sym: ... here.
6311 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6312 * nptl/pthread_attr_getaffinity.c: ... here.
6313 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6314 * nptl/pthread_attr_setaffinity.c: ... here.
6315 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6316 * nptl/pthread_mutex_cond_lock.c: ... here.
6317 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6318 Update #include.
6319 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6320 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6321 * nptl/pthread_once.c: ... here, replacing old file.
6322 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6323 * nptl/pthread_yield.c: ... here.
6324 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6325 * nptl/register-atfork.c: ... here.
6326 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6327 * nptl/sem_post.c: ... here.
6328 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6329 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6330 * nptl/sem_timedwait.c: ... here.
6331 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6332 * nptl/sem_trywait.c: ... here.
6333 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6334 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6335 * nptl/sem_wait.c: ... here.
6336 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6337 * nptl/structsem.sym: ... here.
6338 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6339 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6340 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6341 * nptl/unregister-atfork.c: ... here.
6342 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6343 * nptl/unwindbuf.sym: ... here.
6344 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6345 * sysdeps/nptl/fork.c: ... here.
6346 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6347 * sysdeps/nptl/fork.h: ... here.
6348 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6349 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6350 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6351 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6352 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6353 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6354 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6355 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6356 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6357 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6358 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6359 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6360 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6361 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6362 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6363 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6364 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6365 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6366 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6367 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6368 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6369 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6370 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6371 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6372 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6373 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6374 * sysdeps/unix/sysv/linux/raise.c: ... here.
6375 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6376 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6377 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6378 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6379 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6380 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6381 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6382 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6383 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6384 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6385 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6386 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6387 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6388 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6389 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6390
63912014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6392
6393 * sysdeps/generic/memcopy.h: Add comment for
6394 MEMCPY_OK_FOR_FWD_MEMMOVE.
6395
63962014-07-04 Will Newton <will.newton@linaro.org>
6397
6398 * string/memchr.c: Merge from gnulib.
6399 [_LIBC]: Remove conditionals.
6400 (__ptr_t): Remove define.
6401 (LONG_MAX_32_BITS): Likewise.
6402 (LONG_MAX): Likewise.
6403 (MEMCHR): Use ANSI prototype and optimize algorithm.
6404
6405 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6406
64072014-07-03 Roland McGrath <roland@hack.frob.com>
6408
6409 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6410 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6411
6412 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6413 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6414 in a bare environment with no <stdlib.h> installed.
6415 * sysdeps/nptl/configure: Regenerated.
6416
6417 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6418
6419 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6420 AC_EGREP_CPP for kernel header checks, so they only succeed if
6421 including <linux/version.h> actually works right.
6422 * sysdeps/unix/sysv/linux/configure: Regenerated.
6423
6424 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6425 value so it's not diagnosed as unused.
6426
6427 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6428 thing) with "ifeq ($(subdir),rt)".
6429
64302014-07-03 Richard Henderson <rth@redhat.com>
6431
6432 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6433 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6434 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6435
6436 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6437 (math_force_eval): New.
6438
6439 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6440 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6441
6442 * sysdeps/alpha/fpu/s_round.c: Remove file.
6443 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6444
6445 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6446 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6447 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6448 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6449 (_dl_start, print_statistics): Likewise.
6450 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6451 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6452
6453 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6454 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6455 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6456 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6457 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6458 (HP_SMALL_TIMING_AVAIL): Define.
6459 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6460 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6461 (HP_SMALL_TIMING_AVAIL): Define.
6462 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6463 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6464
6465 * sysdeps/aarch64/hp-timing.h: New file.
6466
6467 * sysdeps/generic/hp-timing.h: Remove dead comment.
6468 * sysdeps/generic/hp-timing-common.h: New file.
6469 * sysdeps/alpha/hp-timing.h: Include it.
6470 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6471 * sysdeps/i386/i686/hp-timing.h: Likewise.
6472 * sysdeps/ia64/hp-timing.h: Likewise.
6473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6474 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6475 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6476 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6477 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6478 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6479 (hp_timing_t): New.
6480
6481 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6482 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6483 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6484 * elf/rtld.c (_dl_start_final): Likewise.
6485 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6486 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6487 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6488 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6489 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6490 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6491 (HP_TIMING_DIFF_INIT): Remove.
6492 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6493 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6494 (HP_TIMING_DIFF_INIT): Remove.
6495 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6496 * sysdeps/i386/i686/hp-timing.c: Remove file.
6497 * sysdeps/x86_64/hp-timing.c: Remove file.
6498 * sysdeps/ia64/hp-timing.c: Remove file.
6499 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6500 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6501 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6502 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6503
6504 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6505 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6506 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6507 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6508 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6509 (HP_TIMING_ACCUM): Remove.
6510 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6511 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6512 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6513
6514 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6515 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6516 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6517 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6518 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6519 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6520 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6521 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6522
6523 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6524
65252014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6526
6527 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6528
65292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6530
6531 Sync up with gettext.
6532 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6533 [_MSC_VER]: Include malloc.h
6534 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6535 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6536 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6537 TEMP_FAILURE_RETRY. Cast return of alloca.
6538 [!_LIBC] Call gl_rwlock_init.
6539 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6540
65412014-07-02 Roland McGrath <roland@hack.frob.com>
6542
6543 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6544 before checking its value.
6545
65462014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6547
6548 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6549
6550 * debug/memcpy_chk.c: Don't include pagecopy.h.
6551 * debug/mempcpy_chk.c: Likewise.
6552 * string/memcpy.c: Likewise.
6553 * string/memmove.c: Likewise.
6554 * sysdeps/powerpc/memmove.c: Likewise.
6555 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6556 definition of PAGE_COPY_FWD_MAYBE here...
6557 * sysdeps/generic/pagecopy.h: ... from here.
6558 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6559
65602014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6561 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6562
6563 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6565 optimizations.
6566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6567 (__libc_ifunc_impl_list): Likewise.
6568 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6569 multiarch strcat for PPC64.
6570 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6571 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6572
65732014-07-02 Roland McGrath <roland@hack.frob.com>
6574
6575 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6576
65772014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6578
6579 * intl/loadmsgcat.c: Remove declaration of
6580 get_sysdep_segment_value.
6581 (get_sysdep_segment_value): Use ISO C style.
6582 (_nl_load_domain): Use ISO C style. Get rid of redundant
6583 semicolon. Fix typo and formatting in comment.
6584 (_nl_unload_domain): Use ISO C style.
6585
6586 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6587
65882014-07-02 Will Newton <will.newton@linaro.org>
6589
6590 * malloc/obstack.c: Merge from gnulib master.
6591 [HAVE_CONFIG_H]: Remove conditional code.
6592 [!_LIBC]: Include config.h.
6593 [!ELIDE_CODE]: Don't include inttypes.h, include
6594 stdint.h unconditionally.
6595 (print_and_abort): Mark as _Noreturn.
6596 (_obstack_allocated_p): Mark as __attribute_pure__.
6597 (obstack_free): Rename to __obstack_free.
6598 [!__attribute__]: Remove conditional code.
6599 * malloc/obstack.h: Merge from gnulib master.
6600 [__cplusplus]: Move conditional down.
6601 [!__attribute_pure__]: Define __attribute_pure__ here
6602 if it is not already defined.
6603 (_obstack_memory_used): Mark as __attribute_pure__.
6604 [!__obstack_free]: Define as obstack_free.
6605 [__GNUC__]: Remove check for ancient NeXT gcc.
6606
66072014-07-02 Will Newton <will.newton@linaro.org>
6608 Paul Eggert <eggert@cs.ucla.edu>
6609
6610 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6611
66122014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6613
6614 * resolv/gethnamaddr.c: Add comment warning that the file is
6615 not maintained.
6616
66172014-07-01 Carlos O'Donell <carlos@redhat.com>
6618
6619 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6620 entries.
6621
6622 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6623 entry for aio_cancel and aio_cancel64.
6624 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6625 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6626 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6627 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6628 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6629 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6630 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6631 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6632 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6633 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6634 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6635 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6636 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6637
66382014-07-01 Roland McGrath <roland@hack.frob.com>
6639
6640 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6641 * nptl/pthread_mutex_lock.c: Likewise.
6642 * nptl/pthread_mutex_timedlock.c: Likewise.
6643 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6644
66452014-07-01 Richard henderson <rth@redhat.com>
6646
6647 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6648 (__isnan, __isnanl): Remove.
6649 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6650
6651 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6652
66532014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6654
6655 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6656
66572014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6658
6659 * resolv/nss_dns/dns-host.c (getanswer_r)
6660 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6661
66622014-07-01 Joseph Myers <joseph@codesourcery.com>
6663
6664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6665 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6666 undefine.
6667 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6668 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6669
66702014-07-01 Roland McGrath <roland@hack.frob.com>
6671
6672 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6673 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6674
6675 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6676 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6677
6678 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6679 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6680 ... here.
6681 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6682 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6683
6684 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6685 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6686 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6687 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6688
6689 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6690 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6691 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6692 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6693 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6694 Moved ...
6695 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6696 ... here.
6697 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6698 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6699 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6700 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6702 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6703 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6704 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6705 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6706 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6707 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6708 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6709 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6710 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6711 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6712 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6713 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6714 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6715 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6716 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6717 ... here.
6718 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6719 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6720 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6721 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6722 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6723 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6724 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6725 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6726
67272014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6728
6729 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6730 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6731 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6732 Add sysdep.
6733
67342014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6735
6736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6737
67382014-06-30 Joseph Myers <joseph@codesourcery.com>
6739
6740 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6741 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6742
6743 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6744
6745 * sysdeps/arm/libm-test-ulps: Regenerated.
6746
67472014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6748 Roland McGrath <roland@hack.frob.com>
6749
6750 * test-skeleton.c (signal_handler): Kill the whole process group
6751 before killing the child individually.
6752 (main): Report any failure on `setpgid'.
6753
67542014-06-30 Roland McGrath <roland@hack.frob.com>
6755
6756 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6757 from _TLS_H to _ARM_NPTL_TLS_H.
6758 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6759 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6760
67612014-06-30 Joseph Myers <joseph@codesourcery.com>
6762
6763 [BZ #16539]
6764 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6765 (__expm1l): Return argument unchanged when small but not
6766 subnormal.
6767
6768 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6769 include macro name.
6770 (_FP_UNPACK_RAW_1_P): Likewise.
6771 (_FP_PACK_RAW_1): Likewise.
6772 (_FP_PACK_RAW_1_P): Likewise.
6773 (_FP_MUL_MEAT_1_wide): Likewise.
6774 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6775 (_FP_MUL_MEAT_1_hard): Likewise.
6776 (_FP_DIV_MEAT_1_imm): Likewise.
6777 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6778 (_FP_DIV_MEAT_1_udiv): Likewise.
6779 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6780 (_FP_UNPACK_RAW_2): Likewise.
6781 (_FP_UNPACK_RAW_2_P): Likewise.
6782 (_FP_PACK_RAW_2): Likewise.
6783 (_FP_PACK_RAW_2_P): Likewise.
6784 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6785 (_FP_MUL_MEAT_2_wide): Likewise.
6786 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6787 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6788 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6789 (_FP_MUL_MEAT_2_gmp): Likewise.
6790 (_FP_DIV_MEAT_2_udiv): Likewise.
6791 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6792 (_FP_FRAC_SRL_4): Likewise.
6793 (_FP_FRAC_SRST_4): Likewise.
6794 (_FP_FRAC_SRS_4): Likewise.
6795 (_FP_UNPACK_RAW_4): Likewise.
6796 (_FP_UNPACK_RAW_4_P): Likewise.
6797 (_FP_PACK_RAW_4): Likewise.
6798 (_FP_PACK_RAW_4_P): Likewise.
6799 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6800 (_FP_MUL_MEAT_4_wide): Likewise.
6801 (_FP_MUL_MEAT_4_gmp): Likewise.
6802 (umul_ppppmnnn): Likewise.
6803 (_FP_DIV_MEAT_4_udiv): Likewise.
6804 (__FP_FRAC_ADD_4): Likewise.
6805 (__FP_FRAC_SUB_3): Likewise.
6806 (__FP_FRAC_SUB_4): Likewise.
6807 (__FP_FRAC_DEC_3): Likewise.
6808 (__FP_FRAC_DEC_4): Likewise.
6809 (__FP_FRAC_ADDI_4): Likewise.
6810 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6811 (_FP_FRAC_SRL_8): Likewise.
6812 (_FP_FRAC_SRS_8): Likewise.
6813
6814 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6815 include macro name.
6816 (FP_UNPACK_RAW_EP): Likewise.
6817 (FP_PACK_RAW_E): Likewise.
6818 (FP_PACK_RAW_EP): Likewise.
6819 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6820 (_FP_ISSIGNAN): Likewise.
6821 (_FP_ADD_INTERNAL): Likewise.
6822 (_FP_FMA): Likewise.
6823 (_FP_CMP): Likewise.
6824 (_FP_SQRT): Likewise.
6825 (_FP_TO_INT): Likewise.
6826 (_FP_FROM_INT): Likewise.
6827 (FP_EXTEND): Likewise.
6828 (_FP_DIV_MEAT_N_loop): Likewise.
6829
68302014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6831
6832 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6833 throughout.
6834
68352014-06-29 Joseph Myers <joseph@codesourcery.com>
6836
6837 [BZ #17097]
6838 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6839 result with correct sign in case of exponents that produce
6840 overflow except for X very close to 1.
6841
68422014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6843
6844 mktime: merge #if/#ifdef usage from glibc
6845 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6846 as that works with both Glibc's and Gnulib's style.
6847 See thread starting at Siddhesh Poyarekar's bug report at:
6848 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6849
68502014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6851
6852 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6853 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6854 * sysdeps/tile/tilegx/memmove.c: Remove file.
6855
68562014-06-27 Joseph Myers <joseph@codesourcery.com>
6857
6858 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6859 abi-name definition.
6860 * scripts/soversions.awk: Do not handle or generate ABI lines.
6861 * shlib-versions: Remove ABI entries.
6862 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6863 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6864
68652014-06-27 Roland McGrath <roland@hack.frob.com>
6866
6867 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6868 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6869 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6870 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6871 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6872 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6874 Moved ...
6875 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6876 ... here.
6877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6878 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6879 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6880 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6881 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6882 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6883 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6884 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6885 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6886 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6887 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6888 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6889 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6890 Moved ...
6891 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6893 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6897 Moved ...
6898 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6899 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6900 Moved ...
6901 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6903 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6904 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6905 Moved ...
6906 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6907 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6908 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6909 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6910 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6911 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6912 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6913 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6914 Moved ...
6915 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6917 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6918 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6919 Moved ...
6920 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6921 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6922 Moved ...
6923 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6924 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6925 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6926 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6927 Moved ...
6928 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6929 ... here.
6930 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6931 Identical file removed.
6932 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6933 Moved ...
6934 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6935 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6936 Identical file removed.
6937 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6938 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6939 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6940 Moved ...
6941 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6942 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6943 Identical file removed.
6944 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6945 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6946 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6947 Identical file removed.
6948 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6949 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6950 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6951 Identical file removed.
6952 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6953 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6954 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6955 Identical file removed.
6956 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6957 Moved ...
6958 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6959 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6960 Identical file removed.
6961 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6962 Moved ...
6963 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6964 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6965 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6966 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6967 Identical file removed.
6968 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6969 Moved ...
6970 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6971 ... here.
6972 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6973 Identical file removed.
6974 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6975 Moved ...
6976 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6977 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6978 Identical file removed.
6979 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6980 Moved ...
6981 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6982 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6983 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6984 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6985 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6986 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6987 Moved ...
6988 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6989 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6990 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6991
6992 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6993 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6994 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6995 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6996 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6997
69982014-06-27 Arjun Shankar <arjun.is@lostca.se>
6999
7000 [BZ #17092]
7001 * nscd/nscd.c (monitor_child): Return exit status of child
7002 instead of return value from wait syscall.
7003
70042014-06-27 Joseph Myers <joseph@codesourcery.com>
7005
7006 * configure.ac (libc_commonpagesize): Remove variable.
7007 (libc_relro_required): Likewise.
7008 (libc_cv_z_relro): Remove configure test.
7009 * configure: Regenerated.
7010 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7011 variable.
7012 (libc_relro_required): Likewise.
7013 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7014 (libc_relro_required): Likewise.
7015 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7016 (libc_relro_required): Likewise.
7017 * sysdeps/arm/preconfigure: Regenerated.
7018 * sysdeps/ia64/preconfigure: Remove file.
7019 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7020 variable.
7021 (libc_relro_required): Likewise.
7022
7023 [BZ #16561]
7024 [BZ #16562]
7025 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7026 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7027 recompute overflowing results in original rounding mode.
7028 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7029 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7030 recompute overflowing results in original rounding mode.
7031 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7032 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7033 recompute overflowing results in original rounding mode.
7034 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7035 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7036 recompute overflowing results in original rounding mode.
7037 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7038 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7039 recompute overflowing results in original rounding mode.
7040 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7041 (libc_feholdsetround_ctx): New macro.
7042 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7043 * sysdeps/i386/fpu/libm-test-ulps: Update.
7044 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7045
70462014-06-26 Joseph Myers <joseph@codesourcery.com>
7047
7048 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7049 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7050 corresponding .cpsetup call.
7051
70522014-06-26 Roland McGrath <roland@hack.frob.com>
7053
7054 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7055 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7056 * sysdeps/arm/Makefile [$(subdir) = csu]
7057 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7058 (static-only-routines): Add aeabi_read_tp here.
7059 (shared-only-routines): Add libc-aeabi_read_tp here.
7060 (CFLAGS-libc-start.c): Add -fexceptions here.
7061 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7062 (sysdep_routines, static-only-routines, shared-only-routines):
7063 Don't add to these here.
7064 (CFLAGS-libc-start.c): Likewise.
7065
7066 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7067 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7068 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7069 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7070 * sysdeps/arm/Makefile [$(subdir) = rt]
7071 (librt-sysdep_routines, librt-shared-only-routines):
7072 Append rt-aeabi_unwind_cpp_pr1 here.
7073 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7074 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7075 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7076 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7077 Append nptl-aeabi_unwind_cpp_pr1 here.
7078 (tests): Filter out tst-cleanupx4 here.
7079 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7080 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7081 Don't do those here.
7082
70832014-06-26 Joseph Myers <joseph@codesourcery.com>
7084
7085 * scripts/list-sources.sh: Do not handle ports specially.
7086
70872014-06-26 Roland McGrath <roland@hack.frob.com>
7088
7089 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7090 * sysdeps/arm/feupdateenv.c: Likewise.
7091
7092 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7093
70942014-06-26 Joseph Myers <joseph@codesourcery.com>
7095
7096 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7097 trailing whitespace removed.
7098 * scripts/config.guess: Update to version 2014-03-23.
7099 * scripts/config.sub: Update to version 2014-05-01
7100 * scripts/install-sh: Update to version 2013-12-25.23.
7101 * scripts/move-if-change: Update from gnulib.
7102
71032014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7104
7105 * debug/memmove_chk.c: Remove pagecopy.h include.
7106
71072014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7108
7109 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7110 identical to gnulib mktime.
7111
71122014-06-26 Joseph Myers <joseph@codesourcery.com>
7113
7114 * configure.ac: Do not test for machine being rs6000. Do not test
7115 for powerpc*-*soft.
7116 * configure: Regenerated.
7117
7118 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7119 test.
7120 * configure: Regenerated.
7121 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7122 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7123 Remove configure test.
7124 * sysdeps/arm/configure: Regenerated.
7125 * sysdeps/nptl/configure.ac: Do not check
7126 libc_cv_asm_cfi_directives.
7127 * sysdeps/nptl/configure: Regenerated.
7128 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7129 * sysdeps/x86_64/nptl/configure: Remove generated file.
7130 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7131 unconditional.
7132 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7133
71342014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7135
7136 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7137 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7138 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7139 it is defined.
7140
7141 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7142 instead of whether it is defined.
7143 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7144 * sysdeps/hppa/dl-machine.h: Likewise.
7145 * sysdeps/ia64/dl-machine.h: Likewise.
7146 * sysdeps/m68k/dl-machine.h: Likewise.
7147 * sysdeps/microblaze/dl-machine.h: Likewise.
7148 * sysdeps/mips/dl-machine.: Likewise.
7149 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7150 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7151 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7152 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7153 * sysdeps/sh/dl-machine.h: Likewise.
7154 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7155 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7156 * sysdeps/tile/dl-machine.h: Likewise.
7157 * sysdeps/x86_64/dl-machine.h: Likewise.
7158
7159 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7160 code.
7161 (verify_persistent_db): Likewise.
7162
71632014-06-26 Roland McGrath <roland@hack.frob.com>
7164
7165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7166 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7170 Moved ...
7171 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7172 ... here.
7173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7174 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7176 Identical file removed.
7177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7178 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7180 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7182 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7184 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7186 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7188 Moved ...
7189 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7191 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7193 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7195 Moved ...
7196 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7198 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7200 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7202 Identical file removed.
7203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7204 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7206 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7208 Moved ...
7209 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7210 ... here.
7211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7212 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7214 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7216 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7218 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7220 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7222 Moved ...
7223 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7225 Moved ...
7226 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7228 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7230 Moved ...
7231 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7234
7235 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7236 folded into ...
7237 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7238 * sysdeps/unix/sysv/linux/s390/Versions
7239 (libpthread: GLIBC_2.19): New version set.
7240 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7241 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7242 (librt: GLIBC_2.3.3): New version set.
7243 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7244 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7245 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7246 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7247 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7248 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7249 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7250 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7251 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7252 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7253 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7254 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7255 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7256 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7257 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7258 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7259 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7260 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7261 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7262 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7263 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7264 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7265 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7266 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7267 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7268 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7269 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7270 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7271 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7272 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7273 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7274 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7276 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7278 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7279 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7280 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7281 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7283 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7285 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7287 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7288
7289 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7290 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7291 (__libc_vfork): Define the function under this name.
7292 [!NOT_IN_libc] (__vfork): Make this an alias.
7293 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7294 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7295 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7296 (__libc_vfork): Define the function under this name.
7297 [!NOT_IN_libc] (__vfork): Make this an alias.
7298 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7299 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7300 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7301 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7302 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7303 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7304
7305 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7306 code that was previously under [RESET_PID].
7307 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7308 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7309 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7310
7311 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7312 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7313 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7314 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7315 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7316 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7317 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7318 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7319 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7320 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7321 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7322 Moved ...
7323 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7324 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7325 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7326 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7327 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7328 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7329 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7330 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7331 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7332 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7333 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7334 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7335 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7336 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7337 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7338 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7339 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7340 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7341 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7342 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7343 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7344 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7345 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7346 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7347 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7348 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7349 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7350 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7351 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7352
73532014-06-25 Roland McGrath <roland@hack.frob.com>
7354
7355 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7356 that was previously under [RESET_PID].
7357 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7358
73592014-06-25 Joseph Myers <joseph@codesourcery.com>
7360
7361 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7362 not undefine and redefine.
7363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7364 [O_CLOEXEC]: Make code unconditional.
7365 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7366 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7367 <kernel-features.h>.
7368 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7369 conditional variable definition.
7370 (shm_open) [O_CLOEXEC]: Make code unconditional.
7371 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7372 code.
7373
7374 * configure.ac (USE_REGPARMS): Don't define here.
7375 * configure: Regenerated.
7376 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7377 * sysdeps/i386/configure: Regenerated.
7378
7379 * nptl/createthread.c: Don't include kernel-features.h.
7380 * nptl/pthread_cancel.c: Likewise.
7381 * nptl/pthread_condattr_setclock.c: Likewise.
7382 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7383 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7384 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7385 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7386 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7387 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7388 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7389 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7390 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7391 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7392 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7393 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7394 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7395 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7396 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7397 * nscd/gai.c: Likewise.
7398 * nss/nss_db/db-open.c: Likewise.
7399 * sysdeps/generic/ldsodefs.h: Likewise.
7400 * sysdeps/sh/nptl/tls.h: Likewise.
7401 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7402 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7403 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7404 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7405 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7406 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7407 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7408 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7409 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7410 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7411 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7412 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7413 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7414 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7415 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7416 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7417 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7418 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7419 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7420 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7421 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7422 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7423 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7424 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7425 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7426 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7427 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7428 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7429 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7430 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7431 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7432 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7433 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7434 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7435 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7436 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7437 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7438 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7439 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7440 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7441 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7442 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7443 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7444 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7445 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7446 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7447 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7448 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7449 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7450 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7451 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7452 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7453 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7454 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7455 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7456 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7457 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7458 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7481 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7482 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7483 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7484 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7485 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7486 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7487 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7488 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7489 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7490 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7491 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7492 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7493 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7494 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7495 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7496 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7497 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7498 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7499 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7500 * sysdeps/unix/sysv/linux/system.c: Likewise.
7501 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7502 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7503 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7504 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7505 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7506 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7507 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7508
7509 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7510 * configure: Regenerated.
7511 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7512
7513 * configure.ac (base_machine): Do not set specially for particular
7514 machines here.
7515 * configure: Regenerated.
7516 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7517 settings from configure.ac.
7518 * sysdeps/i386/preconfigure: New file.
7519 * sysdeps/s390/preconfigure: Likewise.
7520 * sysdeps/sh/preconfigure: Likewise.
7521 * sysdeps/sparc/preconfigure: Likewise.
7522
75232014-06-25 Roland McGrath <roland@hack.frob.com>
7524
7525 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7526 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7527 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7528 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7529 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7530 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7531 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7532 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7533 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7534 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7535 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7536 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7537 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7538 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7539 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7540 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7541 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7542 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7543 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7544
7545 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7546 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7547 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7548 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7549 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7550 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7551 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7552 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7553 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7554 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7555 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7556 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7557 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7558 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7559 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7560 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7561 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7562 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7563 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7564 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7565 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7566 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7567 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7568 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7569 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7570 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7571 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7572 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7573 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7574 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7575 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7576 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7577 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7578 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7579 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7580 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7581 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7582 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7583
7584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7585 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7587 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7589 Moved ...
7590 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7591 ... here.
7592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7593 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7595 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7597 Moved ...
7598 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7600 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7602 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7604 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7606 Moved ...
7607 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7609 Moved ...
7610 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7612 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7614 Moved ...
7615 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7617 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7619 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7621 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7623 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7625 Moved ...
7626 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7627 ... here.
7628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7629 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7631 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7633 Moved ...
7634 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7636 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7638 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7640 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7642 Moved ...
7643 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7645 Moved ...
7646 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7650 Moved ...
7651 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7653 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7655 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7656
76572014-06-25 Joseph Myers <joseph@codesourcery.com>
7658
7659 * timezone/checktab.awk: Update from tzcode 2014e.
7660 * timezone/private.h: Likewise.
7661 * timezone/tzfile.h: Likewise.
7662 * timezone/zdump.c: Likewise.
7663 * timezone/zic.c: Likewise.
7664
7665 * sysdeps/unix/sysv/linux/kernel-features.h
7666 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7667 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7668 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7669 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7670 Remove conditional code.
7671
76722014-06-25 Will Newton <will.newton@linaro.org>
7673
7674 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7675 (_dl_arm_cap_flags): Add HWCAP2 values.
7676 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7677 (_DL_HWCAP_COUNT): Increase to 37.
7678 (_DL_HWCAP_LAST): New define.
7679 (_DL_HWCAP2_LAST): New define.
7680 (_dl_procinfo): Add support for printing
7681 AT_HWCAP2 entries.
7682 (_dl_string_hwcap): Use _dl_hwcap_string.
7683
76842014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7685
7686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7687
76882014-06-25 Joseph Myers <joseph@codesourcery.com>
7689
7690 * README: Do not mention ports directory.
7691
7692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7693 Remove macro.
7694 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7695 <kernel-features.h>.
7696 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7697 conditional variable definition.
7698 (__futimes): Update comment.
7699 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7700 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7701
7702 [BZ #16560]
7703 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7704 arguments close to 0.
7705 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7706 Likewise.
7707 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7708 Likewise.
7709 * math/auto-libm-test-in: Add more tests of exp10.
7710 * math/auto-libm-test-out: Regenerated.
7711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7712
7713 * sysdeps/unix/sysv/linux/kernel-features.h
7714 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7715 * sysdeps/unix/sysv/linux/readv.c: Do not include
7716 <kernel-features.h>.
7717 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7718 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7719 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7720 unconditional.
7721 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7722 conditional code.
7723 * sysdeps/unix/sysv/linux/writev.c: Do not include
7724 <kernel-features.h>.
7725 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7726 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7727 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7728 unconditional.
7729 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7730 conditional code.
7731
77322014-06-25 Will Newton <will.newton@linaro.org>
7733
7734 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7735 comment changes throughout the file. Remove checks
7736 for HAVE_*_H definitions that are not required.
7737 (__gen_tempname): Call abort if an unknown kind value is
7738 passed.
7739
77402014-06-25 Andreas Schwab <schwab@suse.de>
7741
7742 [BZ #17086]
7743 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7744 scalbln, scalblnf, scalblnl in libc.
7745
77462014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7747
7748 [BZ #17086]
7749 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7750 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7751 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7752
77532014-06-24 Roland McGrath <roland@hack.frob.com>
7754
7755 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7756 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7757 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7758 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7759 Update #include.
7760 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7761 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7762 Update #include.
7763 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7764 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7765 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7766 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7767 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7768 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7769 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7770 * sysdeps/x86/bits/semaphore.h: ... here.
7771 * sysdeps/x86/nptl/elide.h: Moved ...
7772 * sysdeps/x86/elide.h: ... here.
7773 * sysdeps/x86_64/nptl/Implies: File removed.
7774 * sysdeps/i386/nptl/Implies: File removed.
7775
77762014-06-24 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #16539]
7779 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7780 return the argument for normal arguments with exponent below -64.
7781 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7782 Likewise.
7783 * math/auto-libm-test-in: Add another test of expm1.
7784 * math/auto-libm-test-out: Regenerated.
7785
7786 [BZ #16287]
7787 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7788 calling __erfcl for arguments at least 16.
7789 * math/auto-libm-test-in: Add more tests of erf.
7790 * math/auto-libm-test-out: Regenerated.
7791
7792 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7793 individual architectures.
7794 * sysdeps/unix/sysv/linux/configure: Regenerated.
7795 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7796 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7797 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7798 (ldd_rewrite_script): Define variable.
7799 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7801 file.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7803 generated file.
7804 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7805 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7806 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7807 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7808 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7809 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7810 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7811 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7812
78132014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7814
7815 [BZ #17084]
7816 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7817 Rename member __data.d to __data.__elision_data.
7818
78192014-06-24 Wilco <wdijkstr@arm.com>
7820
7821 * NEWS: Add 16918 to fixed bug list.
7822
78232014-06-24 Wilco <wdijkstr@arm.com>
7824
7825 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7826
78272014-06-24 Wilco <wdijkstr@arm.com>
7828
7829 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7830 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7831 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7832 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7833 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7834 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7835 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7836 Use _FPU_MASK_RM.
7837
78382014-06-24 Wilco <wdijkstr@arm.com>
7839
7840 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7841
78422014-06-24 Wilco <wdijkstr@arm.com>
7843
7844 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7845 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7846 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7847 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7848
78492014-06-24 Wilco <wdijkstr@arm.com>
7850
7851 [BZ #16918]
7852 * sysdeps/arm/feupdateenv.c (feupdateenv):
7853 Rewrite to reduce FPSCR accesses and fix return value.
7854
78552014-06-24 Wilco <wdijkstr@arm.com>
7856
7857 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7858 Optimize to avoid unnecessary FPSCR writes.
7859 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7860 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7861 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7862 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7863
78642014-06-24 Wilco <wdijkstr@arm.com>
7865
7866 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7867 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7868 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7869 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7870 Call libc_fetestexcept_vfp.
7871 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7872 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7873 __SOFTFP__ ifdef so that they can be built for softfp.
7874
78752014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7876
7877 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7878 argument type signed char.
7879
7880 * Makerules (check-abi): Dump diff of symlist if the test
7881 fails.
7882
78832014-06-23 Roland McGrath <roland@hack.frob.com>
7884
7885 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7886 using abort.
7887
7888 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7889 Remove unused variable ST.
7890
78912014-06-23 Joseph Myers <joseph@codesourcery.com>
7892
7893 [BZ #16354]
7894 [BZ #17061]
7895 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7896 small arguments before calling __expm1.
7897 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7898 small arguments before calling __expm1f.
7899 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7900 small arguments before calling __expm1l.
7901 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7902 Likewise.
7903 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7904 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7905 spurious underflow for some cosh tests.
7906 * math/auto-libm-test-out: Regenerated.
7907 * sysdeps/i386/fpu/libm-test-ulps: Update.
7908
7909 [BZ #17050]
7910 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7911 (__ieee754_y1): Set errno if return value overflows.
7912 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7913 (__ieee754_y1f): Set errno if return value overflows.
7914 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7915 (__ieee754_y1l): Set errno if return value overflows.
7916 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7917 (__ieee754_y1l): Set errno if return value overflows.
7918 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7919 * math/auto-libm-test-out: Regenerated.
7920
7921 * math/gen-auto-libm-tests.c: Document use of
7922 ignore-zero-inf-sign.
7923 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7924 (input_flags): Add ignore-zero-inf-sign.
7925 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7926 * math/gen-libm-test.pl (generate_testfile): Handle
7927 ignore-zero-inf-sign.
7928 * math/auto-libm-test-in: Mark some cpow tests with
7929 ignore-zero-inf-sign and some with xfail-rounding.
7930 * math/auto-libm-test-out: Regenerated.
7931 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7934
7935 [BZ #16315]
7936 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7937 overflowing or underflowing operations take place with sign of
7938 result.
7939 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7940 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7941 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7942 (__ieee754_pow): Recompute overflowing and underflowing results in
7943 original rounding mode.
7944 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7945 (__powl_helper): Allow negative argument X and scale negated value
7946 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7947 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7948 overflowing or underflowing operations take place with sign of
7949 result.
7950 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7951 Include <math.h>.
7952 * math/auto-libm-test-in: Add more tests of pow.
7953 * math/auto-libm-test-out: Regenerated.
7954 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7955 (pow_tonearest_test_data): Remove.
7956 (pow_test_tonearest): Likewise.
7957 (pow_towardzero_test_data): Likewise.
7958 (pow_test_towardzero): Likewise.
7959 (pow_downward_test_data): Likewise.
7960 (pow_test_downward): Likewise.
7961 (pow_upward_test_data): Likewise.
7962 (pow_test_upward): Likewise.
7963 (main): Don't call removed functions.
7964 * sysdeps/i386/fpu/libm-test-ulps: Update.
7965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7966
79672014-06-23 Roland McGrath <roland@hack.frob.com>
7968
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7970 Moved ...
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7973 Moved ...
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7976 Moved ...
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7979 Moved ...
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7982 File removed.
7983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7984 File removed.
7985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7986 File removed.
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7988 File removed.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7990 File removed.
7991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7992 File removed.
7993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7994 File removed.
7995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7996 File removed.
7997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7998 File removed.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8000 File removed.
8001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8002 File removed.
8003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8004 File removed.
8005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8006 Moved ...
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8009 Moved ...
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8011 ... here.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8013 Moved ...
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8016 Moved ...
8017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8019 Moved ...
8020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8022 Moved ...
8023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8025 Moved ...
8026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8028 Moved ...
8029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8031 Moved ...
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8035 ... here.
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8037 Moved ...
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8040 Moved ...
8041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8042 ... here.
8043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8044 Moved ...
8045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8046 ... here.
8047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8048 Moved ...
8049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8050 ... here.
8051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8052 Moved ...
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8055 Moved ...
8056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8060 Moved ...
8061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8062 ... here.
8063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8064 Moved ...
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8066 ... here.
8067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8068 Moved ...
8069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8071 Moved ...
8072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8074 Moved ...
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8077 Moved ...
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8080 Moved ...
8081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8082 ... here.
8083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8084 Moved ...
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8087 Moved ...
8088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8090 Moved ...
8091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8093 Moved ...
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8098 Moved ...
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8101 Moved ...
8102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8104 Moved ...
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8106 ... here.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8108 Moved ...
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8110 ... here.
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8112 Moved ...
8113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8114 ... here.
8115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8116 Moved ...
8117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8119 Moved ...
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8122 Moved ...
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8125 Moved ...
8126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8127 ... here.
8128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8129 Moved ...
8130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8131 ... here.
8132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8133 Moved ...
8134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8135 ... here.
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8137 Moved ...
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8140 Moved ...
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8142
81432014-06-23 Will Newton <will.newton@linaro.org>
8144 Wilco <wdijkstr@arm.com>
8145
8146 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8147 implementation. Include get-rounding-mode.h.
8148 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8149 [!libc_feholdsetround_noex_ctx]: Define
8150 libc_feholdsetround_noex_ctx.
8151 [!libc_feholdsetround_noexf_ctx]: Define
8152 libc_feholdsetround_noexf_ctx.
8153 [!libc_feholdsetround_noexl_ctx]: Define
8154 libc_feholdsetround_noexl_ctx.
8155 (libc_feholdsetround_ctx): New function.
8156 (libc_feresetround_ctx): New function.
8157 (libc_feholdsetround_noex_ctx): New function.
8158 (libc_feresetround_noex_ctx): New function.
8159
81602014-06-23 Roland McGrath <roland@hack.frob.com>
8161
8162 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8163 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8164 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8165 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8166 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8167 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8168
8169 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8170 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8171 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8172 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8173 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8174 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8175 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8176 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8177 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8178 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8179 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8180 Moved ...
8181 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8182 ... here.
8183 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8184 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8188 Moved ...
8189 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8190 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8191 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8192 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8193 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8194 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8195 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8196 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8197 Moved ...
8198 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8200 Moved ...
8201 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8202 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8203 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8204 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8205 Moved ...
8206 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8210 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8211 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8212 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8213 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8214 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8216 Moved ...
8217 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8218 ... here.
8219 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8220 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8221 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8222 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8223 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8224 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8225 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8226 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8227 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8228 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8229 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8230 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8231 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8232 Moved ...
8233 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8234 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8235 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8236 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8237 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8238 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8239 Moved ...
8240 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8241 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8244 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8245
8246 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8247 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8248 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8249 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8250 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8251 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8252 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8253 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8255 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8256 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8257 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8258 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8259 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8260 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8261 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8262 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8263 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8264 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8265 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8266 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8267 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8268 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8269 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8270 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8271 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8272 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8273 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8274
82752014-06-23 Joseph Myers <joseph@codesourcery.com>
8276
8277 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8278 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8279 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8280 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8281 (IPV6_PMTUDISC_INTERFACE): Likewise.
8282 (IPV6_PMTUDISC_OMIT): Likewise.
8283
82842014-06-23 Andreas Schwab <schwab@suse.de>
8285
8286 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8287 Remove unused errout label.
8288
82892014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8290
8291 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8292 macro: hardware supports Vector Crypto instructions.
8293
82942014-06-23 Will Newton <will.newton@linaro.org>
8295
8296 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8297 rather than __builtin_expect.
8298
8299 * elf/dl-lookup.c (undefined_msg): Remove variable.
8300 (_dl_lookup_symbol_x): Replace undefined_msg with string
8301 literal.
8302
8303 * elf/dl-lookup.c (do_lookup_unique): New function.
8304 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8305 to a separate function.
8306
83072014-06-23 Andreas Schwab <schwab@suse.de>
8308
8309 [BZ #17079]
8310 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8311 before reading the next line.
8312
83132014-06-23 Will Newton <will.newton@linaro.org>
8314
8315 * test-skeleton.c (signal_handler): Use printf and %m
8316 rather than perror. Use printf rather than fprintf to
8317 stderr. Use puts rather than fputs to stderr.
8318 (main): Likewise.
8319
83202014-06-22 Ludovic Courtès <ludo@gnu.org>
8321
8322 * nscd/nscd.c (thread_info_t): Remove typedef.
8323 (thread_info): Remove variable.
8324
83252014-06-21 Allan McRae <allan@archlinux.org>
8326
8327 * NEWS: Mention CVE-2014-4043.
8328
83292014-06-20 Roland McGrath <roland@hack.frob.com>
8330
8331 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8332 * nptl/smp.h: ... here.
8333
8334 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8335
8336 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8337 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8338 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8339 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8340
8341 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8342 * nptl/stack-aliasing.h: New file.
8343 * sysdeps/i386/i686/stack-aliasing.h: New file.
8344 * sysdeps/i386/i686/nptl/Makefile: File removed.
8345 * sysdeps/x86_64/stack-aliasing.h: New file.
8346 * sysdeps/x86_64/nptl/Makefile
8347 (CFLAGS-pthread_create.c): Variable removed.
8348
8349 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8350 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8351 old file.
8352 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8353 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8354 old file.
8355
83562014-06-21 Joseph Myers <joseph@codesourcery.com>
8357
8358 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8359 (__ASSUME_SIGFRAME_V2): Remove macro.
8360 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8361 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8362 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8363 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8364 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8365 Declare as function. Remove conditional macro definitions.
8366 (__default_rt_sa_restorer): Likewise.
8367 (__default_sa_restorer_v1): Remove declaration.
8368 (__default_sa_restorer_v2): Likewise.
8369 (__default_rt_sa_restorer_v1): Likewise.
8370 (__default_rt_sa_restorer_v2): Likewise.
8371 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8372 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8373 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8374
83752014-06-20 Roland McGrath <roland@hack.frob.com>
8376
8377 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8378 (libpthread-routines): Add sysdep.
8379 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8380 * sysdeps/unix/sysv/linux/sparc/Versions
8381 (libpthread: GLIBC_2.3.3): New version set.
8382 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8383 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8384 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8385 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8386 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8387 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8388 Moved ...
8389 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8391 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8393 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8394 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8395 * sysdeps/sparc/nptl/sem_init.c: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8397 * sysdeps/sparc/nptl/sem_post.c: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8399 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8401 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8403 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8404 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8405 (libpthread-routines): Add cpu_relax.
8406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8407 File removed.
8408 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8409 (librt: GLIBC_2.3.3): New version set.
8410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8411 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8412 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8413 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8416 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8418 Moved ...
8419 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8421 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8423 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8425 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8426 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8427 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8429 Moved ...
8430 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8431 Update #include.
8432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8433 Moved ...
8434 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8435 Update #include.
8436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8437 Moved ...
8438 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8439 Update #include.
8440 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8441 Moved ...
8442 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8443 Update #include.
8444 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8445 Moved ...
8446 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8447 Update #include.
8448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8449 Moved ...
8450 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8451 Update #include.
8452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8453 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8457 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8459 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8461 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8463 Moved ...
8464 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8466 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8468 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8469
84702014-06-20 Joseph Myers <joseph@codesourcery.com>
8471
8472 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8473 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8474 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8475 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8476 * nscd/nscd.c: Likewise.
8477 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8478 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8479 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8480 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8481
8482 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8483 <kernel-features.h>.
8484 (init_mq_netlink): Remove conditional have_sock_cloexec
8485 definitions. Remove code conditional on have_sock_cloexec < 0.
8486 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8487 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8488 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8489 <kernel-features.h>.
8490 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8491 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8492
84932014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8494
8495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8496 Add tests for memset_chk and memset.
8497
8498 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8499 with AVX2_Usable.
8500
85012014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8502
8503 [BZ #16046]
8504 * elf/tst-dl-iter-static.c: New file.
8505 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8506
8507 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8508 error.
8509
85102014-06-20 Joseph Myers <joseph@codesourcery.com>
8511
8512 * sysdeps/unix/sysv/linux/kernel-features.h
8513 (__ASSUME_F_GETOWN_EX): Remove macro.
8514 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8515 <kernel-features.h>.
8516 (miss_F_GETOWN_EX): Remove variable or macro.
8517 (do_fcntl): Do not check miss_F_GETOWN_EX.
8518 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8519
8520 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8521 Remove macro.
8522 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8523 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8524 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8525
8526 * sysdeps/unix/sysv/linux/kernel-features.h
8527 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8528 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8529 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8530 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8531
85322014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8533
8534 [BZ #17075]
8535 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8536 Fix calculation of the symbol's value.
8537 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8538 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8539 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8540 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8541 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8542 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8543 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8544 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8545 (modules-names): Add `tst-armtlsdescmod',
8546 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8547 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8548 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8549 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8550 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8551 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8552 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8553 ($(objpfx)tst-armtlsdescloc): New dependency.
8554 ($(objpfx)tst-armtlsdescextnow): Likewise.
8555 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8556 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8557 TLS scheme support.
8558 * sysdeps/arm/configure: Regenerate.
8559
85602014-06-20 Joseph Myers <joseph@codesourcery.com>
8561
8562 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8563 (__atfct_seterrno_2): Likewise.
8564 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8565 <kernel-features.h>.
8566 (__ASSUME_ATFCTS): Do not undefine and redefine.
8567 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8568 (__have_atfcts): Remove conditional definition.
8569 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8570 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8571 unreachable if [__ASSUME_ATFCTS].
8572 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8573 not undefine and redefine.
8574 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8575 <kernel-features.h>.
8576 (faccessat) [__NR_faccessat]: Make code unconditional.
8577 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8578 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8579 <kernel-features.h>.
8580 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8581 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8582 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8583 <kernel-features.h>.
8584 (fchownat) [__NR_fchownat]: Make code unconditional.
8585 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8586 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8587 <kernel-features.h>.
8588 (futimesat) [__NR_futimesat]: Make code unconditional.
8589 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8590 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8591 <kernel-features.h>.
8592 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8593 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8594 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8595 <kernel-features.h>.
8596 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8597 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8598 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8599 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8600 <kernel-features.h>.
8601 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8602 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8603 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8604 <kernel-features.h>.
8605 (linkat) [__NR_linkat]: Make code unconditional.
8606 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8607 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8608 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8609 <kernel-features.h>.
8610 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8611 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8612 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8613 <kernel-features.h>.
8614 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8615 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8616 * sysdeps/unix/sysv/linux/openat.c: Do not include
8617 <kernel-features.h>.
8618 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8619 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8620 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8621 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8622 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8623 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8624 <kernel-features.h>.
8625 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8626 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8627 result of INLINE_SYSCALL directly, not via int variable.
8628 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8629 <kernel-features.h>.
8630 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8631 (renameat) [__NR_renameat]: Make code unconditional.
8632 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8633 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8634 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8635 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8636 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8637 (__ASSUME_ATFCTS): Do not undefine and redefine.
8638 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8639 <kernel-features.h>.
8640 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8641 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8642 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8643 <kernel-features.h>.
8644 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8645 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8646 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8647 (__ASSUME_ATFCTS): Do not undefine and redefine.
8648 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8649 <kernel-features.h>.
8650 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8651 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8652 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8653 <kernel-features.h>.
8654 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8655 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8656
86572014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8658
8659 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8660
86612014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8662
8663 [BZ #17069]
8664 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8665 constructed tree before returning error.
8666 * posix/bug-regexp36.c: Expand test case.
8667
86682014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8669
8670 [BZ #6803]
8671 * math/libm-test.inc (scalbln_test_date):
8672 Add errno expectations.
8673 * math/w_scalblnf.c: New File.
8674 Add wrapper which checks for setting errno to ERANGE.
8675 Add weak_alias for corresponding scalbln function.
8676 * math/w_scalbln.c: Likewise.
8677 * math/w_scalblnl.c: Likewise.
8678 * math/Makefile (libm-calls): Add w_scalbln.
8679 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8680 Remove weak_alias for corresponding scalbln function.
8681 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8683 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8685 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8686 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8687 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8688 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8689 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8690 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8691 Remove long_double_symbol for scalblnl function in libm, libc.
8692 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8693 Add wrapper which checks for setting errno to ERANGE.
8694 Add long_double_symbol for scalblnl function in libm, libc.
8695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8696 Remove long_double_symbol for scalblnl in libm.
8697 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8698 Add wrapper which checks for setting errno to ERANGE.
8699 Add long_double_symbol for scalblnl function in libm.
8700 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8701 Do not use wrapper because of own implementation.
8702
87032014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8704
8705 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8706 3 bytes for __pad1 for x32.
8707 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8708
87092014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8710 H.J. Lu <hongjiu.lu@intel.com>
8711
8712 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8713 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8714 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8715 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8716 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8717
87182014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8719
8720 [BZ #17069]
8721 * posix/regcomp.c (parse_expression): Deallocate partially
8722 constructed tree before returning error.
8723 * posix/Makefile.c (tests): Add bug-regex36.
8724 (generated): Add bug-regex36.mtrace.
8725 (tests-special): Add $(objpfx)bug-regex36-mem.out
8726 (bug-regex36-ENV): New variable.
8727 ($(objpfx)bug-regex36-mem.out): New rule.
8728 * posix/bug-regex36.c: New file.
8729
87302014-06-19 Will Newton <will.newton@linaro.org>
8731
8732 * malloc/malloc.c (systrim): If extra is zero then return
8733 early.
8734
87352014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8736
8737 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8738
87392014-06-19 Richard Earnshaw <rearnsha@arm.com>
8740
8741 * sysdeps/aarch64/strchr.S: New file.
8742
87432014-06-18 Joseph Myers <joseph@codesourcery.com>
8744
8745 [BZ #17022]
8746 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8747 from arguments -2 or below.
8748 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8749 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8750
87512014-06-18 Andreas Schwab <schwab@suse.de>
8752
8753 [BZ #17062]
8754 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8755 of a bracket expr not to run off the end of the string.
8756 * posix/Makefile (tests): Add tst-fnmatch3.
8757 * posix/tst-fnmatch3.c: New file.
8758
87592014-06-18 Joseph Myers <joseph@codesourcery.com>
8760
8761 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8762 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8763 [$(cross-compiling) = no]: Likewise.
8764 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8765 [$(cross-compiling) = no]: Likewise.
8766
87672014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8768
8769 [BZ #17031]
8770 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8771 double, adjusted for any remainder from the high double.
8772 * math/libm-test.inc (nearbyint): Add tests.
8773 (rint): Likewise.
8774
87752014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8776
8777 * nptl/sysdeps/powerpc/Makefile: Moved ...
8778 * sysdeps/powerpc/nptl/Makefile: ... here.
8779 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8780 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8781 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8782 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8783 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8784 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8785 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8786 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8787 * nptl/sysdeps/powerpc/tls.h: Moved ...
8788 * sysdeps/powerpc/nptl/tls.h: ... here.
8789
87902014-06-16 Joseph Myers <joseph@codesourcery.com>
8791
8792 [BZ #16681]
8793 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8794 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8795 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8796 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8797 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8798 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8799 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8800 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8801 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8802
88032014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8804
8805 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8806
88072014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8808
8809 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8810 defined operator.
8811
8812 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8813 $TIMEOUTFACTOR.
8814
88152014-06-16 Florian Weimer <fweimer@redhat.com>
8816
8817 [BZ #17058]
8818 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8819 non-executed part of the test.
8820
88212014-06-16 Andreas Schwab <schwab@suse.de>
8822
8823 * string/bits/string2.h (strdup, strndup): Update feature guard.
8824
88252014-06-14 David S. Miller <davem@davemloft.net>
8826
8827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8828
88292014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8830
8831 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8832 that was previously under [RESET_PID].
8833 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8834
8835 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8836 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8837 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8838 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8839 (__libc_vfork): New strong alias.
8840 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8841
88422014-06-14 Andi Kleen <ak@linux.intel.com>
8843
8844 * sysdeps/generic/elide.h: New file.
8845
88462014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8847
8848 * Makefile (installed-headers): Adjust path of pthread.h header.
8849
88502014-06-13 Roland McGrath <roland@hack.frob.com>
8851
8852 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8853 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8854 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8855 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8856
8857 * nptl/sysdeps/s390/Makefile: Moved ...
8858 * sysdeps/s390/nptl/Makefile: ... here.
8859 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8860 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8861 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8862 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8863 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8864 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8865 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8866 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8867 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8868 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8869 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8870 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8871 * nptl/sysdeps/s390/tls.h: Moved ...
8872 * sysdeps/s390/nptl/tls.h: ... here.
8873
8874 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8875 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8876
88772014-06-13 David S. Miller <davem@davemloft.net>
8878
8879 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8882 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8883 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8886 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8887 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8888 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8889 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8890 Remove RESET_PID cpp guards.
8891 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8892 Remove RESET_PID cpp guards.
8893 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8894
88952014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8896
8897 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8898 __sp to uintptr_t.
8899
89002014-06-13 Andi Kleen <ak@linux.intel.com>
8901
8902 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8903 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8904 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8905 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8906 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8907 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8908 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8909 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8910 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8911 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8912 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8913 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8914 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8915 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8916 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8917 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8918 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8919 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8920 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8921 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8922
8923 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8924 (pthread_rwlock_rdlock): Add elision.
8925 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8926 (pthread_rwlock_wrlock): Add elision.
8927 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8928 (pthread_rwlock_trywrlock): Add elision.
8929 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8930 (pthread_rwlock_tryrdlock): Add elision.
8931 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8932 (pthread_rwlock_tryrdlock): Add elision unlock.
8933 * nptl/sysdeps/pthread/pthread.h:
8934 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8935 (PTHREAD_RWLOCK_INITIALIZER,
8936 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8937 Handle new elision field.
8938 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8939 * sysdeps/arm/nptl/bits/pthreadtypes.h
8940 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8941 * sysdeps/sh/nptl/bits/pthreadtypes.h
8942 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8943 * sysdeps/tile/nptl/bits/pthreadtypes.h
8944 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8945 * sysdeps/a/nptl/bits/pthreadtypes.h
8946 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8947 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8948 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8949 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8950 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8951 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8952 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8953 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8954 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8955 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8956 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8957 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8958 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8959 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8960 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8961 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8962 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8963 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8964 (elision_init): Set try_xbegin to zero when no RTM.
8965 * sysdeps/x86/nptl/bits/pthreadtypes.h
8966 (pthread_rwlock_t): Change __pad1 to __rwelision.
8967 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8968
89692014-06-13 Andi Kleen <ak@linux.intel.com>
8970
8971 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8972 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8973 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8974 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8975
89762014-06-13 Meador Inge <meadori@codesourcery.com>
8977
8978 [BZ #16996]
8979 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8980 that the cached result has been set before returning it.
8981
89822014-06-12 Roland McGrath <roland@hack.frob.com>
8983
8984 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8985 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8987 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8989 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8990
8991 * nptl/sysdeps/sparc/Makefile: Moved ...
8992 * sysdeps/sparc/nptl/Makefile: ... here.
8993 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8994 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8995 * nptl/sysdeps/sparc/tls.h: Moved ...
8996 * sysdeps/sparc/nptl/tls.h: ... here.
8997 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8998 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8999 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9000 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9001 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9002 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9003 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9004 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9005 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9006 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9007 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9008 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9009 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9010 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9011 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9012 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9013 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9014 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9015 Update #include.
9016 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9018 Update #include.
9019 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9021 Update #include.
9022 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9023 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9024 Update #include.
9025
9026 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9027
9028 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9029 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9030
9031 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9032 (struct list_links): Type removed.
9033 (struct thread_node, struct timer_node): Replace struct list_links
9034 with struct list_head.
9035 (list_unlink_ip): Likewise.
9036 * sysdeps/pthread/timer_routines.c
9037 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9038 (list_append, list_insbefore): Likewise.
9039 (list_init): Function removed.
9040 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9041 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9042 * sysdeps/pthread/Makefile: ... here, new file.
9043
9044 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9045 * sysdeps/nptl/Implies: ... here.
9046 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9047 * nptl/sysdeps/pthread/list.h: Moved ...
9048 * include/list.h: ... here.
9049 * nptl/sysdeps/pthread/createthread.c: Moved ...
9050 * nptl/createthread.c: ... here.
9051 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9052 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9053 * nptl/pt-longjmp.c: ... here.
9054 * nptl/sysdeps/pthread/Makefile: Moved ...
9055 * sysdeps/nptl/Makefile: ... here.
9056 * nptl/sysdeps/pthread/Subdirs: Moved ...
9057 * sysdeps/nptl/Subdirs: ... here.
9058 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9059 * sysdeps/nptl/aio_misc.h: ... here.
9060 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9061 * sysdeps/nptl/bits/libc-lock.h: ... here.
9062 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9063 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9064 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9065 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9066 * nptl/sysdeps/pthread/configure: Moved ...
9067 * sysdeps/nptl/configure: ... here.
9068 * nptl/sysdeps/pthread/configure.ac: Moved ...
9069 * sysdeps/nptl/configure.ac: ... here.
9070 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9071 * sysdeps/nptl/gai_misc.h: ... here.
9072 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9073 * sysdeps/nptl/librt-cancellation.c: ... here.
9074 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9075 * sysdeps/nptl/malloc-machine.h: ... here.
9076 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9077 * sysdeps/nptl/pthread-functions.h: ... here.
9078 * nptl/sysdeps/pthread/pthread.h: Moved ...
9079 * sysdeps/nptl/pthread.h: ... here.
9080 * nptl/sysdeps/pthread/setxid.h: Moved ...
9081 * sysdeps/nptl/setxid.h: ... here.
9082 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9083 * sysdeps/nptl/sigfillset.c: ... here.
9084 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9085 * sysdeps/nptl/tcb-offsets.h: ... here.
9086 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9087 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9088 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9089 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9090 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9091 * sysdeps/pthread/allocalim.h: ... here.
9092 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9093 * sysdeps/pthread/bits/sigthread.h: ... here.
9094 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9095 * sysdeps/pthread/flockfile.c: ... here.
9096 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9097 * sysdeps/pthread/ftrylockfile.c: ... here.
9098 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9099 * sysdeps/pthread/funlockfile.c: ... here.
9100 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9101 * sysdeps/pthread/posix-timer.h: ... here.
9102 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9103 * sysdeps/pthread/timer_create.c: ... here.
9104 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9105 * sysdeps/pthread/timer_delete.c: ... here.
9106 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9107 * sysdeps/pthread/timer_getoverr.c: ... here.
9108 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9109 * sysdeps/pthread/timer_gettime.c: ... here.
9110 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9111 * sysdeps/pthread/timer_routines.c: ... here.
9112 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9113 * sysdeps/pthread/timer_settime.c: ... here.
9114 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9115 * sysdeps/pthread/tst-timer.c: ... here.
9116 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9117 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9118
9119 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9120 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9121
9122 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9123 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9124 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9125 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9126 Update #include target.
9127 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9128 * sysdeps/i386/i686/nptl/Makefile: ... here.
9129 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9130 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9131 Update #include target.
9132 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9133 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9134 * nptl/sysdeps/i386/Makefile: Moved ...
9135 * sysdeps/i386/nptl/Makefile: ... here.
9136 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9137 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9138 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9139 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9140 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9141 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9142 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9143 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9144 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9145 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9146 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9147 * nptl/sysdeps/i386/tls.h: Moved ...
9148 * sysdeps/i386/nptl/tls.h: ... here.
9149
9150 * sysdeps/sh/Makefile [$(subdir) = csu]
9151 (gen-as-const-headers): Add tcb-offsets.sym.
9152 * nptl/sysdeps/sh/Makefile: File removed.
9153 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9154 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9155 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9156 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9157 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9158 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9159 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9160 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9161 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9162 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9163 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9164 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9165 * nptl/sysdeps/sh/tls.h: Moved ...
9166 * sysdeps/sh/nptl/tls.h: ... here.
9167 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9168 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9169 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9170 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9171 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9172 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9173 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9174 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9175 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9176 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9177 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9178 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9179 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9180 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9181 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9182 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9183 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9184 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9185 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9186 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9187 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9188 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9189 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9190 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9191 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9192 Moved ...
9193 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9194 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9195 Moved ...
9196 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9198 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9200 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9201 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9202 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9203 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9204 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9205 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9206 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9207 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9208 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9209 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9210 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9211 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9212 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9213 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9214 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9215
92162014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9217
9218 * posix/spawn_faction_addopen.c: Include string.h.
9219
92202014-06-11 Roland McGrath <roland@hack.frob.com>
9221
9222 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9223 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9224 * nptl/sysdeps/x86_64/Makefile: Moved ...
9225 * sysdeps/x86_64/nptl/Makefile: ... here.
9226 * nptl/sysdeps/x86_64/configure: Moved ...
9227 * sysdeps/x86_64/nptl/configure: ... here.
9228 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9229 * sysdeps/x86_64/nptl/configure.ac: ... here.
9230 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9231 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9232 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9233 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9234 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9235 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9236 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9237 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9238 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9239 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9240 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9241 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9242 * nptl/sysdeps/x86_64/tls.h: Moved ...
9243 * sysdeps/x86_64/nptl/tls.h: ... here.
9244 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9245 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9246 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9247 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9248
9249 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9250
92512014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9252
9253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9254
92552014-06-11 Joseph Myers <joseph@codesourcery.com>
9256
9257 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9258 type.
9259 [POSIX] (off_t): Likewise.
9260 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9261 [POSIX] (S_ISBLK): Require macro.
9262 [POSIX] (S_ISCHR): Likewise.
9263 [POSIX] (S_ISDIR): Likewise.
9264 [POSIX] (S_ISFIFO): Likewise.
9265 [POSIX] (S_ISREG): Likewise.
9266 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9267 optional-macro.
9268 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9269 type.
9270 [POSIX] (time_t): Likewise.
9271 [POSIX] (timer_t): Likewise.
9272
92732014-06-11 Florian Weimer <fweimer@redhat.com>
9274
9275 [BZ #17048]
9276 * posix/spawn_int.h (struct __spawn_action): Make the path string
9277 non-const to support deallocation.
9278 * posix/spawn_faction_addopen.c
9279 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9280 * posix/spawn_faction_destroy.c
9281 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9282 path in all spawn_do_open actions.
9283 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9284 posix_spawn_file_actions_addopen.
9285
92862014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9287
9288 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9289 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9290 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9291 conditional code always true.
9292 (__libc_vfork): New alias.
9293
92942014-06-11 Roland McGrath <roland@hack.frob.com>
9295
9296 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9297 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9298
9299 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9300
9301 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9302 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9303
9304 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9305 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9306
9307 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9308 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9309
93102014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9311
9312 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9313 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9314 multiarch strcmp for PPC64.
9315 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9316 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9317 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9318 multiarch optimizations.
9319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9320 (__libc_ifunc_impl_list): Likewise.
9321
93222014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9323
9324 * benchtests/scripts/validate_benchout.py: New script.
9325 * benchtests/Makefile (bench-func): Call it.
9326 * benchtests/scripts/benchout.schema.json: New file.
9327
93282014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9329
9330 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9331 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9332 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9333 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9334 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9335 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9336 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9337 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9338 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9339 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9340 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9341 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9342 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9343 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9344 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9345 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9347 Moved ...
9348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9349 ... here.
9350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9351 Moved ...
9352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9354 Moved ...
9355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9356 ... here.
9357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9358 Moved ...
9359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9360 ... here.
9361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9362 Moved ...
9363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9365 Moved ...
9366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9367 ... here.
9368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9369 Moved ...
9370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9371 ... here.
9372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9373 Moved ...
9374 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9376 Moved ...
9377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9378 ... here.
9379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9380 Moved ...
9381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9382 ... here.
9383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9384 Moved ...
9385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9386 ... here.
9387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9388 Moved ...
9389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9391 Moved ...
9392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9393 ... here.
9394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9395 Moved ...
9396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9397 ... here.
9398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9399 Moved ...
9400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9401 ... here.
9402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9403 Moved ...
9404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9406 Moved ...
9407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9408 ... here.
9409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9410 Moved ...
9411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9412 ... here.
9413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9414 Moved ...
9415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9417 Moved ...
9418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9419 ... here.
9420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9421 Moved ...
9422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9424 Moved ...
9425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9427 Moved ...
9428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9429 ... here.
9430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9431 Moved ...
9432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9433 ... here.
9434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9435 Moved ...
9436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9437 ... here.
9438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9439 Moved ...
9440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9442 Moved ...
9443 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9444 ... here.
9445 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9446 Moved ...
9447 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9448 ... here.
9449 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9450 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9451 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9452 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9453 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9454 Moved ...
9455 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9456 ... here.
9457 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9458 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9459 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9460 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9462 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9463 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9464 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9465 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9466 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9467 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9468 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9469 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9470 Moved ...
9471 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9472 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9473 Moved ...
9474 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9476 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9478 Moved ...
9479 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9480 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9481 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9482 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9483 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9484 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9485 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9486
94872014-06-10 Wilco <wdijkstr@arm.com>
9488
9489 * math/test-fenv-return.c: New file.
9490 * math/Makefile: Add new test test-fenv-return.
9491
94922014-06-10 Joseph Myers <joseph@codesourcery.com>
9493
9494 [BZ #17042]
9495 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9496 when x - 1 is zero.
9497 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9498 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9499 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9500 0.0L for an argument of 1.0L.
9501 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9502 Likewise.
9503 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9504 value when x - 1 is zero.
9505 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9506 * sysdeps/i386/fpu/libm-test-ulps: Update.
9507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9508
95092014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9510
9511 [BZ #15119]
9512 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9513
95142014-06-09 Roland McGrath <roland@hack.frob.com>
9515
9516 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9517 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9518
95192014-06-09 Roland McGrath <roland@hack.frob.com>
9520
9521 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9522 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9523
9524 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9525 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9526
9527 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9528 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9529
9530 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9531 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9532
9533 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9534 if not already defined.
9535 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9536 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9537 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9538 (TLS_INIT_TP): Use it.
9539 (TLS_DEFINE_INIT_TP): New macro.
9540 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9541
95422014-06-09 Joseph Myers <joseph@codesourcery.com>
9543
9544 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9545 constant.
9546 [POSIX] (IXANY): Likewise.
9547 [POSIX] (OLCUC): Likewise.
9548 [POSIX || POSIX2008] (CBAUD): Do not allow.
9549 [POSIX || POSIX2008] (DEFECHO): Likewise.
9550 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9551 [POSIX || POSIX2008] (ECHOKE): Likewise.
9552 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9553 [POSIX || POSIX2008] (EXTA): Likewise.
9554 [POSIX || POSIX2008] (EXTB): Likewise.
9555 [POSIX || POSIX2008] (FLUSHO): Likewise.
9556 [POSIX || POSIX2008] (LOBLK): Likewise.
9557 [POSIX || POSIX2008] (PENDIN): Likewise.
9558 [POSIX || POSIX2008] (SWTCH): Likewise.
9559 [POSIX || POSIX2008] (VDISCARD): Likewise.
9560 [POSIX || POSIX2008] (VDSUSP): Likewise.
9561 [POSIX || POSIX2008] (VLNEXT): Likewise.
9562 [POSIX || POSIX2008] (VREPRINT): Likewise.
9563 [POSIX || POSIX2008] (VSTATUS): Likewise.
9564 [POSIX || POSIX2008] (VWERASE): Likewise.
9565 (B*): Change to B[0123456789]*.
9566 * conform/data/time.h-data [POSIX || UNIX98]
9567 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9568 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9569 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9570 [POSIX] (tm_*): Do not allow.
9571
95722014-06-07 Joseph Myers <joseph@codesourcery.com>
9573
9574 * Makefile (install): Don't set LANGUAGE.
9575 * Makefile.in (install): Likewise.
9576 * assert/Makefile (test-assert-ENV): Remove variable.
9577 (test-assert-perr-ENV): Likewise.
9578 * elf/Makefile (neededtest4-ENV): Likewise.
9579 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9580 [$(cross-compiling) = no]: Don't set LANGUAGE.
9581 * io/ftwtest-sh (LANG): Remove variable.
9582 * libio/Makefile (tst-widetext-ENV): Likewise.
9583 * manual/install.texi (Running make install): Don't refer to
9584 environment settings for make install.
9585 * INSTALL: Regenerated.
9586 * nptl/tst-tls6.sh: Don't set LANG.
9587 * posix/globtest.sh (LANG): Remove variable.
9588 * string/Makefile (tester-ENV): Likewise.
9589 (inl-tester-ENV): Likewise.
9590 (noinl-tester-ENV): Likewise.
9591 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9592 [$(cross-compiling) = no]: Don't set LANGUAGE.
9593 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9594 without explicit environment settings.
9595
95962014-06-06 Roland McGrath <roland@hack.frob.com>
9597
9598 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9599 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9600 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9601 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9602
96032014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9604
9605 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9606 other files in the crypt directory.
9607 * crypt/crypt.c: Remove duplicate includes.
9608 * crypt/crypt-entry.c: Likewise.
9609 * crypt/crypt_util.c: Likewise.
9610
96112014-06-06 Joseph Myers <joseph@codesourcery.com>
9612
9613 * Makeconfig (run-program-env): New variable.
9614 (run-program-prefix-before-env): Likewise.
9615 (run-program-prefix-after-env): Likewise.
9616 (run-program-prefix): Define in terms of new variables.
9617 (built-program-cmd-before-env): New variable.
9618 (built-program-cmd-after-env): Likewise.
9619 (built-program-cmd): Define in terms of new variables.
9620 (test-program-prefix-before-env): New variable.
9621 (test-program-prefix-after-env): Likewise.
9622 (test-program-prefix): Define in terms of new variables.
9623 (test-program-cmd-before-env): New variable.
9624 (test-program-cmd-after-env): Likewise.
9625 (test-program-cmd): Define in terms of new variables.
9626 * Rules (make-test-out): Use $(run-program-env).
9627 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9628 (help): Do not mention environment variables. Mention
9629 --timeoutfactor option.
9630 (timeoutfactor): New variable.
9631 (blacklist_exports): Remove function.
9632 (exports): Remove variable.
9633 (command): Do not include ${exports}.
9634 * manual/install.texi (Configuring and compiling): Do not mention
9635 test wrappers preserving environment variables. Mention that last
9636 assignment to a variable must take precedence.
9637 * INSTALL: Regenerated.
9638 * benchtests/Makefile (run-bench): Use $(run-program-env).
9639 * catgets/Makefile ($(objpfx)test1.cat): Use
9640 $(built-program-cmd-before-env), $(run-program-env) and
9641 $(built-program-cmd-after-env).
9642 ($(objpfx)test2.cat): Do not specify environment variables
9643 explicitly.
9644 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9645 $(run-program-env) and $(built-program-cmd-after-env).
9646 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9647 $(run-program-env) and $(test-program-cmd-after-env).
9648 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9649 explicitly.
9650 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9651 run_program_env and test_program_cmd_after_env arguments.
9652 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9653 * elf/tst-pathopt.sh: Use run_program_env argument.
9654 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9655 $(test-wrapper-env) and $(run-program-env).
9656 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9657 run_program_env arguments.
9658 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9659 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9660 $(test-program-prefix-before-env), $(run-program-env) and
9661 $(test-program-prefix-after-env).
9662 ($(objpfx)tst-gettext2.out): Likewise.
9663 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9664 run_program_env and test_program_prefix_after_env arguments.
9665 * intl/tst-gettext2.sh: Likewise.
9666 * intl/tst-gettext4.sh: Do not set environment variables
9667 explicitly.
9668 * intl/tst-gettext6.sh: Likewise.
9669 * intl/tst-translit.sh: Likewise.
9670 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9671 $(test-program-prefix-before-env), $(run-program-env) and
9672 $(test-program-prefix-after-env).
9673 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9674 run_program_env and test_program_prefix_after_env arguments.
9675 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9676 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9677 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9678 explicitly with each use of ${test_wrapper_env}.
9679 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9680 $(test-program-prefix-before-env), $(run-program-env) and
9681 $(test-program-prefix-after-env).
9682 * posix/tst-getconf.sh: Do not set environment variables
9683 explicitly.
9684 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9685 run_program_env and test_program_prefix_after_env arguments.
9686 * stdio-common/tst-printf.sh: Do not set environment variables
9687 explicitly.
9688 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9689 $(test-program-prefix-before-env), $(run-program-env) and
9690 $(test-program-prefix-after-env).
9691 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9692 run_program_env and test_program_prefix_after_env arguments.
9693 Split $test calls into $test_pre and $test.
9694 * timezone/Makefile (build-testdata): Use
9695 $(built-program-cmd-before-env), $(run-program-env) and
9696 $(built-program-cmd-after-env).
9697
96982014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9699
9700 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9701 strlen for non SHARED builds.
9702
97032014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9704
9705 * nptl/allocatestack.c (check_list): Inlined function...
9706 (__reclaim_stacks): ... here.
9707
97082014-06-05 Ondřej Bílka <neleai@seznam.cz>
9709
9710 [BZ #15698]
9711 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9712 memory overrun.
9713
97142014-06-05 Joseph Myers <joseph@codesourcery.com>
9715
9716 * Rules (make-test-out): Include
9717 LOCPATH=$(common-objpfx)localedata in default environment.
9718 * debug/Makefile (tst-chk1-ENV): Remove variable.
9719 (tst-chk2-ENV): Likewise.
9720 (tst-chk3-ENV): Likewise.
9721 (tst-chk4-ENV): Likewise.
9722 (tst-chk5-ENV): Likewise.
9723 (tst-chk6-ENV): Likewise.
9724 (tst-lfschk1-ENV): Likewise.
9725 (tst-lfschk2-ENV): Likewise.
9726 (tst-lfschk3-ENV): Likewise.
9727 (tst-lfschk4-ENV): Likewise.
9728 (tst-lfschk5-ENV): Likewise.
9729 (tst-lfschk6-ENV): Likewise.
9730 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9731 (tst-iconv7-ENV): Likewise.
9732 * intl/Makefile (LOCPATH-ENV): Likewise.
9733 (tst-codeset-ENV): Likewise.
9734 (tst-gettext3-ENV): Likewise.
9735 (tst-gettext5-ENV): Likewise.
9736 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9737 (tst-fopenloc-ENV): Likewise.
9738 (tst-fgetws-ENV): Remove variable.
9739 (tst-ungetwc1-ENV): Likewise.
9740 (tst-ungetwc2-ENV): Likewise.
9741 (bug-ungetwc2-ENV): Likewise.
9742 (tst-swscanf-ENV): Likewise.
9743 (bug-ftell-ENV): Likewise.
9744 (tst-fgetwc-ENV): Likewise.
9745 (tst-fseek-ENV): Likewise.
9746 (tst-ftell-partial-wide-ENV): Likewise.
9747 (tst-ftell-active-handler-ENV): Likewise.
9748 (tst-ftell-append-ENV): Likewise.
9749 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9750 (tst-regexloc-ENV): Likewise.
9751 (bug-regex1-ENV): Likewise.
9752 (tst-regex-ENV): Likewise.
9753 (tst-regex2-ENV): Likewise.
9754 (bug-regex5-ENV): Likewise.
9755 (bug-regex6-ENV): Likewise.
9756 (bug-regex17-ENV): Likewise.
9757 (bug-regex18-ENV): Likewise.
9758 (bug-regex19-ENV): Likewise.
9759 (bug-regex20-ENV): Likewise.
9760 (bug-regex22-ENV): Likewise.
9761 (bug-regex23-ENV): Likewise.
9762 (bug-regex25-ENV): Likewise.
9763 (bug-regex26-ENV): Likewise.
9764 (bug-regex30-ENV): Likewise.
9765 (bug-regex32-ENV): Likewise.
9766 (bug-regex33-ENV): Likewise.
9767 (bug-regex34-ENV): Likewise.
9768 (bug-regex35-ENV): Likewise.
9769 (tst-rxspencer-ENV): Likewise.
9770 (tst-rxspencer-no-utf8-ENV): Likewise.
9771 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9772 (tst-sscanf-ENV): Likewise.
9773 (tst-swprintf-ENV): Likewise.
9774 (tst-swscanf-ENV): Likewise.
9775 (test-vfprintf-ENV): Likewise.
9776 (scanf13-ENV): Likewise.
9777 (bug14-ENV): Likewise.
9778 (tst-grouping-ENV): Likewise.
9779 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9780 (tst-strtod3-ENV): Likewise.
9781 (tst-strtod4-ENV): Likewise.
9782 (tst-strtod5-ENV): Likewise.
9783 (testmb2-ENV): Likewise./
9784 * string/Makefile (tst-strxfrm-ENV): Likewise.
9785 (tst-strxfrm2-ENV): Likewise.
9786 (bug-strcoll1-ENV): Likewise.
9787 (test-strcasecmp-ENV): Likewise.
9788 (test-strncasecmp-ENV): Likewise.
9789 * time/Makefile (tst-strptime-ENV): Likewise.
9790 (tst-ftime_l-ENV): Likewise.
9791 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9792 (tst-mbrtowc-ENV): Likewise.
9793 (tst-wcrtomb-ENV): Likewise.
9794 (tst-mbrtowc2-ENV): Likewise.
9795 (tst-c16c32-1-ENV): Likewise.
9796 (tst-mbsnrtowcs-ENV): Likewise.
9797
97982014-06-05 Ondřej Bílka <neleai@seznam.cz>
9799
9800 * manual/resource.texi (How to get information about the memory
9801 subsystem?): Fix typo.
9802 Reported by Peon de la Parra Ivan <peon@keba.com>
9803
98042014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9805
9806 [BZ #16882]
9807 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9808 (pthread_spin_lock): Branch out of spin loop to proper location.
9809 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9810 (pthread_spin_lock): Likewise.
9811
9812 * nptl/tst-spin4.c: New test.
9813 * nptl/Makefile (tests): Add tst-spin4.
9814
98152014-06-03 Andreas Schwab <schwab@suse.de>
9816
9817 [BZ #15946]
9818 * resolv/res_send.c (send_dg): Reload file descriptor after
9819 calling reopen.
9820
98212014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9822
9823 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9824
98252014-06-03 Richard Henderson <rth@redhat.com>
9826
9827 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9828 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9829 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9830 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9831 in the SAVE_PID block.
9832 (__libc_vfork): New alias.
9833 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9834
9835 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9836 child in registers, not on the stack. Remove RESET_PID conditionals.
9837 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9838
98392014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9840
9841 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9842
98432014-06-03 Wilco <wdijkstr@arm.com>
9844
9845 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9846 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9847 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9848 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9849 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9850 Likewise.
9851
98522014-06-03 Wilco <wdijkstr@arm.com>
9853
9854 * sysdeps/aarch64/fpu/math_private.h
9855 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9856 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9857 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9858 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9859 Fix declarations.
9860
98612014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9862
9863 * crypt/crypt-private.h: Include ufc-crypt.h.
9864 (__b64_from_24bit): Declare extern.
9865 * crypt/crypt_util.c(__b64_from_24bit): New function.
9866 (b64t): New static const variable.
9867 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9868 (b64t): Remove variable.
9869 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9870 * crypt/sha256-crypt.c: Include crypt-private.h.
9871 (b64t): Remove variable.
9872 (__sha256_crypt_r): Remove b64_from_24bit and replace
9873 with __b64_from_24bit.
9874 * crypt/sha512-crypt.c: Likewise.
9875
98762014-06-02 Roland McGrath <roland@hack.frob.com>
9877
9878 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9879 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9880 Label the code __libc_vfork rather than __vfork.
9881 [!NOT_IN_libc] (vfork): Define as weak alias.
9882 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9883 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9884 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9885
98862014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9887
9888 * malloc/malloc.c (malloc_info): Fix format specifier for
9889 n_mmaps.
9890
98912014-06-02 Wilco <wdijkstr@arm.com>
9892
9893 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9894 FPCR write.
9895
98962014-06-02 Wilco <wdijkstr@arm.com>
9897
9898 [BZ #17009]
9899 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9900 Rewrite to reduce FPCR/FPSR accesses.
9901
99022014-06-01 David S. Miller <davem@davemloft.net>
9903
9904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9905
99062014-05-31 David S. Miller <davem@davemloft.net>
9907
9908 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9909 to occur in round to nearest mode when |x| >= 2.0
9910
99112014-05-30 Richard Henderson <rth@twiddle.net>
9912
9913 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9914 (PSEUDO_RET_NOERRNO): Remove.
9915 (ret): Don't redefine.
9916 (ret_NOERRNO): Define in terms of ret.
9917 (ret_ERRVAL): Likewise.
9918
9919 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9920 use of PSEUDO_RET; perform the error check directly.
9921
99222014-05-30 Marko Myllynen <myllynen@redhat.com>
9923
9924 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9925 with __int128_t.
9926
99272014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9928
9929 * malloc/malloc (malloc_info): Fix formatting.
9930
99312014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9932 Roland McGrath <roland@hack.frob.com>
9933
9934 * malloc/malloc (malloc_info): Also print mmapped statistics.
9935
99362014-05-30 Roland McGrath <roland@hack.frob.com>
9937
9938 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9939 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9940
99412014-05-30 Ondřej Bílka <neleai@seznam.cz>
9942
9943 * malloc/malloc.c (malloc_info): Inline mi_arena.
9944
99452014-05-29 Richard Henderson <rth@twiddle.net>
9946
9947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9948 Remove comma before expanding ASM_ARGS_##nr.
9949 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9950 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9951 of ASM_ARGS_##nr.
9952 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9953 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9954 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9955 (ASM_ARGS_1): Add leading comma.
9956
9957 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9958 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9959 to __errno_location.
9960 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9961 Remove the expected plt for __errno_location.
9962
9963 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9964 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9965 call to __read_tp.
9966
9967 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9968 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9969 it and break it down.
9970 (DOCARGS_0, DOCARGS_1): Do nothing.
9971 (DOCARGS_2): Update to store into the new stack frame.
9972 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9973 (UNDOCARGS_1): Update to restore from the new stack frame.
9974 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9975 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9976
9977 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9978 (SINGLE_THREAD_P): New parameter for result regno.
9979 (PSEUDO): Update to match; use cbz instead of beq.
9980
9981 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9982 Use ENTRY to define the _nocancel entry point. Share the syscall
9983 and syscall error check paths with the cancel path.
9984 (PSEUDO_END): New.
9985
9986 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9987 whitespace; tabs before and after asm mnemonics.
9988
99892014-05-29 Eric Wong <normalperson@yhbt.net>
9990
9991 [BZ #15132]
9992 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9993 Call fstat64 or stat64 internally, depending on arguments passed.
9994 Replace stat buffer argument with file descriptor argument.
9995 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9996 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9997 Pass fd to __internal_statvfs instead of calling fstat64.
9998 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9999 Pass fd to __internal_statvfs64 instead of calling fstat64.
10000 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10001 Pass -1 to __internal_statvfs instead of calling stat64.
10002 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10003 Pass -1 to __internal_statvfs64 instead of calling stat64.
10004
100052014-05-28 Roland McGrath <roland@hack.frob.com>
10006
10007 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10008 that was previously under [RESET_PID].
10009 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10010
10011 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10012 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10013
100142014-05-27 Roland McGrath <roland@hack.frob.com>
10015
10016 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10017
10018 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10019 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10020
100212014-05-27 Ondřej Bílka <neleai@seznam.cz>
10022
10023 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10024
100252014-05-27 Andreas Schwab <schwab@suse.de>
10026
10027 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10028 TLS_INIT_TP macro.
10029 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10030 * elf/rtld.c (init_tls, dl_main): Likewise.
10031 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10032 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10033 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10034 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10035 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10036 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10037 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10038 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10039 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10040 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10041 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10042 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10043 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10044 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10045 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10046 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10047 * sysdeps/generic/tls.h: Update description.
10048
100492014-05-27 Will Newton <will.newton@linaro.org>
10050
10051 [BZ #16990]
10052 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10053 and restore r2 rather than just restoring.
10054
100552014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10056
10057 [BZ #16724]
10058 * libio/tst-ftell-append.c: New test case.
10059 * libio/Makefile (tests): Add test case.
10060 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10061 append mode.
10062 * libio/wfileops.c (do_ftell_wide): Likewise.
10063
100642014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10065
10066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10067
10068 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10069 ...
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10072 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10073 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10074 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10075 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10076 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10077 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10078 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10079 Moved ...
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10082 Moved ...
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10084 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10085 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10086 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10087 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10088 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10089 ...
10090 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10091 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10092 Moved ...
10093 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10094 here.
10095 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10096 ...
10097 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10098 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10099 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10100
10101 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10102 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10103 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10104 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10105
10106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10107 merge into ...
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10110 ...
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10113 ...
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10115 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10116 Moved ...
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10118 here.
10119 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10120 Moved ...
10121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10122 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10123 Moved ...
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10125
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10127 conditional [RESET_PID].
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10129 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10130 removed.
10131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10132 removed.
10133
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10135 <tcb-offsets.h>.
10136 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10137 (__libc_vfork): New strong alias.
10138 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10139 removed.
10140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10141 Removed.
10142
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10144 <tcb-offsets.h>.
10145 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10146 (__libc_vfork): New strong alias.
10147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10148 removed.
10149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10150 removed.
10151
101522014-05-26 Carlos O'Donell <carlos@redhat.com>
10153
10154 * malloc/malloc.c (mi_arena): New function.
10155 (malloc_info): Remove nested function mi_arena. Call non-nosted
10156 function mi_arena.
10157
101582014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10159
10160 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10161 by insrwi.
10162 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10163 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10164 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10165 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10166 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10167 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10169
101702014-05-26 Andreas Schwab <schwab@suse.de>
10171
10172 [BZ #16984]
10173 * locale/programs/repertoire.c (repertoire_read): Add slash
10174 between I18NPATH element and file name.
10175 * locale/programs/locfile.c (locfile_read): Likewise.
10176
101772014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10178
10179 * nptl/pthread_mutexattr_settype.c
10180 (__pthread_mutexattr_settype):
10181 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10182
101832014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10184
10185 * nptl/tst-mutex5 (do_test):
10186 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10187
101882014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10189
10190 * benchtests/README: Document 'init' directive.
10191 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10192 BENCH_INIT.
10193 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10194 (parse_file): Recognize 'init' directive.
10195
101962014-05-26 Kyle McMartin <kyle@redhat.com>
10197
10198 [BZ #16796]
10199 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10200 alignment of struct pthread.
10201
102022014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10203
10204 [BZ #16878]
10205 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10206 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10207 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10208 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10209
102102014-05-25 Richard Henderson <rth@twiddle.net>
10211
10212 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10213 (SINGLE_THREAD_P_PIC): Remove.
10214 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10215 (SINGLE_THREAD_P_PIC): Remove.
10216
10217 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10218 branch to syscall error ...
10219 (PSEUDO): ... here.
10220 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10221 from __local_syscall_error to .Lsyscall_error.
10222 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10223 (SYSCALL_ERROR): Update label name.
10224
10225 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10226 Do not use DOARGS/UNDOARGS.
10227 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10228 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10229 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10230 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10231 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10232
10233 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10234 block comment.
10235
10236 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10237 define if !NOT_IN_libc.
10238 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10239 define with non-default symbol versions.
10240
102412014-05-23 Richard Henderson <rth@twiddle.net>
10242
10243 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10244 (vfork, __vfork): Define via compat_symbol.
10245
10246 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10247 [!HAVE_IFUNC] (vfork_compat): Remove.
10248 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10249
102502014-05-23 Joseph Myers <joseph@codesourcery.com>
10251
10252 [BZ #16978]
10253 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10254 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10255 variable.
10256
102572014-05-23 Richard Henderson <rth@twiddle.net>
10258
10259 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10260 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10261 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10262 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10263
10264 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10265 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10266 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10267 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10268 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10269 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10270 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10271 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10272 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10273 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10274 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10275 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10276 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10277 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10279 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10281 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10283 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10285 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10286 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10287 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10288 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10289 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10290 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10291 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10292 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10293 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10294 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10295 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10296 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10297 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10298 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10299 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10300 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10301 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10302 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10303 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10304 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10305 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10306 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10307 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10308 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10309 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10310 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10311 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10312 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10313 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10314 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10315 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10316 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10317 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10318 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10319 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10320
10321 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10322 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10323 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10324 before exiting on error.
10325 (__libc_vfork): New strong alias.
10326 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10327 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10328
10329 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10330 that was previously under [RESET_PID].
10331 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10332
10333 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10334
103352014-05-23 Joseph Myers <joseph@codesourcery.com>
10336
10337 [BZ #16977]
10338 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10339 value when x - 1 is zero.
10340 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10341 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10342 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10343 0.0L for an argument of 1.0L.
10344 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10345 Likewise.
10346 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10347 value when x - 1 is zero.
10348 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10349 * sysdeps/i386/fpu/libm-test-ulps: Update.
10350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10351
103522014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10353
10354 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10355 alphasort and versionsort.
10356
103572014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10358
10359 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10360 macro.
10361 [copysignf]: Likewise.
10362
103632014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10364
10365 * crypt/md5-crypt.c: Fix formatting.
10366
103672014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10368
10369 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10370 (b64_from_24bit): New function.
10371
103722014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10373
10374 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10375 libc_hidden_builtin_def to ifunc.
10376 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10377 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10378
103792014-05-21 Roland McGrath <roland@hack.frob.com>
10380
10381 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10382 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10383
103842014-05-21 Joseph Myers <joseph@codesourcery.com>
10385
10386 * nscd/Depend (linuxthreads): Remove.
10387 (nptl): Add.
10388 * resolv/Depend (linuxthreads): Remove.
10389 * rt/Depend (linuxthreads): Remove.
10390
10391 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10392 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10393 $(common-objpfx)elf/.
10394 (link-libc-before-gnulib): Likewise.
10395 (elfobjdir): Remove variable.
10396 * Makefile (install): Use $(elf-objpfx) instead of
10397 $(common-objpfx)elf/.
10398 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10399 $(elfobjdir)/.
10400 (link-libc-deps): Likewise.
10401 ($(common-objpfx)libc.so): Likewise.
10402 ($(common-objpfx)linkobj/libc.so): Likewise.
10403 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10404 instead of $(common-objpfx)elf/.
10405 (symbolic-link-list): Likewise.
10406 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10407 [$(cross-compiling) = no]: Likewise.
10408 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10409 $(elfobjdir)/.
10410 (static-gnulib-arch): Likewise.
10411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10412 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10413 $(common-objpfx)elf/.
10414
104152014-05-21 Richard Henderson <rth@redhat.com>
10416
10417 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10418 (SINGLE_THREAD_P): Use the correct width load. Fold
10419 into the ldr offset.
10420
10421 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10422 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10423
104242014-05-20 Joseph Myers <joseph@codesourcery.com>
10425
10426 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10427 (libgcc_s_resume): Use __attribute_used__.
10428 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10429 Likewise.
10430
104312014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10432
10433 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10434 optimization when used with float constants.
10435
10436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10437
104382014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10439
10440 [BZ #16915]
10441 * locale/nl_langinfo_l.c: Make direct reference to every
10442 _nl_current_CATEGORY symbol.
10443 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10444 (tests-static): Add tst-langinfo-static.
10445 (tests-special): Add tst-langinfo-static.out.
10446 ($(objpfx)tst-langinfo.out): Redirect output.
10447 ($(objpfx)tst-langinfo-static.out): New.
10448 * localedata/tst-langinfo.sh: Send output to stdout.
10449 * localedata/tst-langinfo-static.c: New file.
10450
10451 [BZ #16965]
10452 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10453 when the shift amount is modulo the limb size.
10454
104552014-05-20 Richard Henderson <rth@redhat.com>
10456
10457 [BZ #16967]
10458 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10459 Change type of sa_flags from unsigned int to int.
10460
10461 [BZ #16966]
10462 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10463
10464 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10465
104662014-05-20 Will Newton <will.newton@linaro.org>
10467
10468 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10469 Test the return value of the system call in the nocancel case.
10470
104712014-05-20 Will Newton <will.newton@linaro.org>
10472 Yvan Roux <yvan.roux@linaro.org>
10473
10474 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10475 #include of asm/ptrace.h.
10476 (PTRACE_GET_THREAD_AREA): Remove #undef.
10477 (PTRACE_GETHBPREGS): Likewise.
10478 (PTRACE_SETHBPREGS): Likewise.
10479 (struct user_regs_struct): New structure.
10480 (struct user_fpsimd_struct): New structure.
10481 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10482 #include of asm/ptrace.h and second #include of sys/user.h.
10483 (PTRACE_GET_THREAD_AREA): Remove #undef.
10484 (PTRACE_GETHBPREGS): Likewise.
10485 (PTRACE_SETHBPREGS): Likewise.
10486 (ELF_NGREG): Use new struct user_regs_struct.
10487 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10488
104892014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10490
10491 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10492 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10493
104942014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10495
10496 [BZ #16958]
10497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10498 membar to avoid block loads/stores to overlap previous stores.
10499
105002014-05-17 Richard Henderson <rth@redhat.com>
10501
10502 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10503 Create the __##syscall_name##_nocancel entry point.
10504 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10505 Remove; let the sysdep-cancel.h code create it.
10506
105072014-05-17 David S. Miller <davem@davemloft.net>
10508
10509 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10510 Protect with __USE_GNU.
10511 (TIOCSET_TEMPT): Likewise.
10512 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10513 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10514 these are already provided in bits/ioctl-types.h
10515
105162014-05-16 Roland McGrath <roland@hack.frob.com>
10517
10518 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10519 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10520
10521 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10522 Use wait4 regardless of [__NR_waitpid].
10523
105242014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10525
10526 PR libgcc/60166
10527 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10528 (_FP_NANSIGN_Q): Set the quiet bit.
10529
105302014-05-16 Joseph Myers <joseph@codesourcery.com>
10531
10532 * benchtests/Makefile
10533 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10534 not $(common-objpfx)math/libm.so.
10535 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10536 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10537 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10538 $(common-objpfx)dlfcn/libdl.so.
10539 ($(objpfx)tst-audit8): Depend on $(libm), not
10540 $(common-objpfx)math/libm.so.
10541 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10542 not $(common-objpfx)dlfcn/libdl.so.
10543 * math/Makefile
10544 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10545 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10546 [$(build-shared) = yes].
10547 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10548 $(common-objpfx)nptl/libpthread.so.
10549 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10550 $(common-objpfx)math/libm.so$(libm.so-version) or
10551 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10552 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10553 $(common-objpfx)dlfcn/libdl.so.
10554 * setjmp/Makefile (link-libm): Remove variable.
10555 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10556 * stdio-common/Makefile (link-libm): Remove variable.
10557 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10558 * stdlib/Makefile (link-libm): Remove variable.
10559 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10560 ($(objpfx)tst-strtod-round): Likewise.
10561 ($(objpfx)tst-tininess): Likewise.
10562 ($(objpfx)tst-strtod-underflow): Likewise.
10563 ($(objpfx)tst-strtod6): Likewise.
10564 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10565 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10566 $(common-objpfx)dlfcn/libdl.so.
10567
105682014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10569
10570 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10571 BSD terminal modes definitions.
10572
105732014-05-16 Roland McGrath <roland@hack.frob.com>
10574
10575 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10576 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10577
10578 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10579 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10580 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10581 Don't do #include_next.
10582 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10583 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10584 Don't do #include_next.
10585 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10586 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10587 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10588 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10589
105902014-05-16 Allan McRae <allan@archlinux.org>
10591
10592 * po/sv.po: Update Swedish translation from translation project.
10593
10594 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10595 in sed expression.
10596
105972014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10598
10599 [BZ #16917]
10600 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10601 errno if the TIOCGPTN ioctl fails with an error different than
10602 EINVAL.
10603 * login/tst-ptsname.c: New file.
10604 * login/Makefile (tests): Add tst-ptsname.
10605
10606 [BZ #16943]
10607 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10608 and prlimit64.
10609
106102014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10611
10612 [BZ #16849]
10613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10614 herrno to return EAI_AGAIN.
10615
106162014-05-14 Roland McGrath <roland@hack.frob.com>
10617
10618 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10619 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10620 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10621 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10622 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10623 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10624 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10625 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10626 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10627 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10629 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10630 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10631 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10632 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10633 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10634 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10635 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10636 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10637 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10639 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10640 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10641 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10642 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10643 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10645 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10646 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10647 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10649 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10651 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10653 Moved ...
10654 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10656 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10658 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10660 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10662 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10664 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10665 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10666 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10670 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10672 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10674 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10676 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10678 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10680 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10682 Moved ...
10683 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10685 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10687 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10689 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10691 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10693 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10695 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10697 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10699 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10701 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10703 Moved ...
10704 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10706 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10707
10708 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10709 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10710 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10711 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10712 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10713 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10714 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10715 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10716 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10717 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10718 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10719 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10720 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10721 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10722 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10723 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10724 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10725 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10726 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10727 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10728 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10729 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10730 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10731 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10732 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10733 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10734 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10735 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10736 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10737 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10738 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10739
10740 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10741 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10742
10743 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10744 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10745 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10746 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10747 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10748 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10749 Moved ...
10750 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10751 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10752 Moved ...
10753 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10754 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10755 Moved ...
10756 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10757 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10758 Moved ...
10759 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10760 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10761 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10762 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10763 Moved ...
10764 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10765 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10766 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10767 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10768 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10769 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10770 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10771 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10772 Moved ...
10773 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10775 Moved ...
10776 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10777 ... here.
10778 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10779 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10781 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10783 Moved ...
10784 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10785 ... here.
10786 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10787 Moved ...
10788 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10789 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10790 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10791 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10792 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10793 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10794 Moved ...
10795 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10796 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10797 Moved ...
10798 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10799 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10800 Moved ...
10801 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10802 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10803 Moved ...
10804 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10805 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10806 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10807 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10808 Moved ...
10809 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10810 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10811 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10812 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10813 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10814 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10815 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10816 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10817 Moved ...
10818 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10820 Moved ...
10821 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10822 ... here.
10823 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10824 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10825 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10826 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10827 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10828 Moved ...
10829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10830 ... here.
10831 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10832 Moved ...
10833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10834 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10835 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10836 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10837 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10838 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10839 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10840 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10841 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10842 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10843 Moved ...
10844 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10845 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10846 Moved ...
10847 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10848 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10849 Moved ...
10850 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10852 Moved ...
10853 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10854 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10855 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10856 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10857 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10858 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10859 Moved ...
10860 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10861 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10862 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10863 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10864 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10865 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10866 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10867 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10868 Moved ...
10869 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10871 Moved ...
10872 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10873 ... here.
10874 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10875 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10876 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10877 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10878 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10879 Moved ...
10880 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10881 ... here.
10882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10883 Moved ...
10884 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10885 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10886 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10887 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10888 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10889 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10890 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10891 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10892 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10893 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10894 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10895
10896 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10897 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10898
10899 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10900 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10901
10902 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10903 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10904 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10905 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10906 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10907 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10908 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10909 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10910 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10911 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10912 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10913 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10914 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10915 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10916 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10918 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10919 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10920 Moved ...
10921 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10923 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10924 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10925 Moved ...
10926 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10927 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10928 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10930 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10932 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10933 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10934 Moved ...
10935 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10937 Moved ...
10938 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10940 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10942 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10943 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10944 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10945 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10946 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10947 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10948 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10949 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10950 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10951 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10952 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10953 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10954 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10955
10956 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10957 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10958 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10959 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10960 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10961
10962 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10963 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10964 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10965 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10966 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10967 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10968 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10969 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10970 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10971 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10972
10973 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10974 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10975
10976 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10977 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10978 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10979 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10980 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10981 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10982 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10983 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10984 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10985 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10986 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10987 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10988 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10989 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10990 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10991 Update #include.
10992 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10993 Likewise.
10994 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10995 Likewise.
10996 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10997 Likewise.
10998 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10999 Likewise.
11000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11001 Likewise.
11002 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11003 Likewise.
11004 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11005 Likewise.
11006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11007 Likewise.
11008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11009 Likewise.
11010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11011 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11012 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11013 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11014 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11015 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11016 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11017 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11018 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11019 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11020 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11021 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11022 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11023 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11024 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11025
11026 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11027 that was previously under [RESET_PID].
11028 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11029 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11030 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11031
11032 * sysdeps/i386/nptl/Implies: New file.
11033 * sysdeps/x86_64/nptl/Implies: New file.
11034 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11035 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11036 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11037 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11038
11039 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11040 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11041 (__libc_vfork): New strong alias.
11042 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11043 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11044
11045 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11046 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11047 (__libc_vfork): New strong alias.
11048 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11049 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11050
11051 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11052 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11053 (__libc_vfork): New strong alias.
11054 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11055 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11056 * nptl/pt-vfork.c: New file.
11057 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11058 (libpthread: GLIBC_2.20): New version set (empty).
11059
110602014-05-14 Will Newton <will.newton@linaro.org>
11061
11062 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11063 rather than #if.
11064
110652014-05-14 Joseph Myers <joseph@codesourcery.com>
11066
11067 [BZ #16564]
11068 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11069 arguments with exponent 65 or above.
11070 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11071 arguments 0x1p113L or above.
11072 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11073 to arguments 0x1p107L or above.
11074 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11075 positive arguments with exponent 65 or above.
11076 * math/auto-libm-test-in: Add more tests of log1p.
11077 * math/auto-libm-test-out: Regenerated.
11078
11079 [BZ #16928]
11080 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11081 non-finite arguments is +0.
11082 * math/s_cacosf.c (__cacosf): Likewise.
11083 * math/s_cacosl.c (__cacosl): Likewise.
11084 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11085 * sysdeps/i386/fpu/libm-test-ulps: Update.
11086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11087
11088 [BZ #16927]
11089 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11090 value.
11091 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11092 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11093 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11094 for explicit high bit of mantissa when testing for argument equal
11095 to 1.
11096 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11097 * sysdeps/i386/fpu/libm-test-ulps: Update.
11098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11099
11100 [BZ #16516]
11101 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11102 (__erf): Scale by 16 instead of 8 in potentially underflowing
11103 case. Ensure exception if result actually underflows.
11104 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11105 (__erff): Scale by 16 instead of 8 in potentially underflowing
11106 case. Ensure exception if result actually underflows.
11107 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11108 (efx8): Remove variable.
11109 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11110 case. Ensure exception if result actually underflows.
11111 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11112 (efx8): Remove variable.
11113 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11114 case. Ensure exception if result actually underflows.
11115 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11116 (efx8): Remove variable.
11117 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11118 case. Ensure exception if result actually underflows.
11119 * math/auto-libm-test-in: Add more tests of erf.
11120 * math/auto-libm-test-out: Regenerated.
11121
111222014-05-14 Andreas Schwab <schwab@suse.de>
11123
11124 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11125 Remove code conditionalized on USE___THREAD.
11126
11127 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11128 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11129 not definedness.
11130
111312014-05-14 Joseph Myers <joseph@codesourcery.com>
11132
11133 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11134 Define unconditionally.
11135 (__ASSUME_O_CLOEXEC): Likewise.
11136 (__ASSUME_SOCK_CLOEXEC): Likewise.
11137 (__ASSUME_IN_NONBLOCK): Likewise.
11138 (__ASSUME_PIPE2): Likewise.
11139 (__ASSUME_EVENTFD2): Likewise.
11140 (__ASSUME_SIGNALFD4): Likewise.
11141 (__ASSUME_DUP3): Likewise.
11142 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11143 (__ASSUME_DUP3): Do not define.
11144 (__ASSUME_EVENTFD2): Likewise.
11145 (__ASSUME_IN_NONBLOCK): Likewise.
11146 (__ASSUME_O_CLOEXEC): Likewise.
11147 (__ASSUME_PIPE2): Likewise.
11148 (__ASSUME_SIGNALFD4): Likewise.
11149 (__ASSUME_SOCK_CLOEXEC): Likewise.
11150 (__ASSUME_UTIMES): Undefine.
11151 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11152 (__ASSUME_UTIMES): Do not define.
11153 (__ASSUME_O_CLOEXEC): Likewise.
11154 (__ASSUME_SOCK_CLOEXEC): Likewise.
11155 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11156 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11157 0x020621].
11158 (__ASSUME_PIPE2): Likewise.
11159 (__ASSUME_EVENTFD2): Likewise.
11160 (__ASSUME_SIGNALFD4): Likewise.
11161 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11162 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11163 Do not define.
11164 (__ASSUME_EVENTFD2): Likewise.
11165 (__ASSUME_SIGNALFD4): Likewise.
11166 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11167 (__ASSUME_32BITUIDS): Likewise.
11168 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11169 (__ASSUME_IPC64): Likewise.
11170 (__ASSUME_ST_INO_64_BIT): Likewise.
11171 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11172 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11173 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11174 (__ASSUME_UTIMES): Do not define.
11175 (__ASSUME_PSELECT): Likewise.
11176 (__ASSUME_PPOLL): Likewise.
11177 (__ASSUME_O_CLOEXEC): Likewise.
11178 (__ASSUME_SOCK_CLOEXEC): Likewise.
11179 (__ASSUME_IN_NONBLOCK): Likewise.
11180 (__ASSUME_PIPE2): Likewise.
11181 (__ASSUME_EVENTFD2): Likewise.
11182 (__ASSUME_SIGNALFD4): Likewise.
11183 (__ASSUME_DUP3): Likewise.
11184 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11185 (__ASSUME_UTIMES): Likewise.
11186 (__ASSUME_O_CLOEXEC): Likewise.
11187 (__ASSUME_SOCK_CLOEXEC): Likewise.
11188 (__ASSUME_IN_NONBLOCK): Likewise.
11189 (__ASSUME_PIPE2): Likewise.
11190 (__ASSUME_EVENTFD2): Likewise.
11191 (__ASSUME_SIGNALFD4): Likewise.
11192 (__ASSUME_DUP3): Likewise.
11193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11194 (__ASSUME_UTIMES): Likewise.
11195 (__ASSUME_O_CLOEXEC): Likewise.
11196 (__ASSUME_SOCK_CLOEXEC): Likewise.
11197 (__ASSUME_IN_NONBLOCK): Likewise.
11198 (__ASSUME_PIPE2): Likewise.
11199 (__ASSUME_EVENTFD2): Likewise.
11200 (__ASSUME_SIGNALFD4): Likewise.
11201 (__ASSUME_DUP3): Likewise.
11202 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11203 Likewise.
11204 (__ASSUME_UTIMES): Likewise.
11205 (__ASSUME_EVENTFD2): Likewise.
11206 (__ASSUME_SIGNALFD4): Likewise.
11207 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11208 (__ASSUME_O_CLOEXEC): Likewise.
11209 (__ASSUME_SOCK_CLOEXEC): Likewise.
11210 (__ASSUME_IN_NONBLOCK): Likewise.
11211 (__ASSUME_PIPE2): Likewise.
11212 (__ASSUME_EVENTFD2): Likewise.
11213 (__ASSUME_SIGNALFD4): Likewise.
11214 (__ASSUME_DUP3): Likewise.
11215 (__ASSUME_UTIMES): Undefine.
11216
11217 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11218 feclearexcept. Remove symbol versioning code.
11219 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11220 symbol versioning code.
11221 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11222 symbol versioning code.
11223 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11224 feupdateenv. Remove symbol versioning code.
11225 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11226 fegetexceptflag. Remove symbol versioning code.
11227 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11228 fesetexceptflag. Remove symbol versioning code.
11229 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11230 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11231 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11232 (__posix_fadvise64_l32): Remove prototype.
11233 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11234 code.
11235
112362014-05-13 Roland McGrath <roland@hack.frob.com>
11237
11238 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11239 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11240 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11241 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11242
112432014-05-13 Sami Kerola <kerolasa@iki.fi>
11244
11245 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11246 current working directory
11247
112482014-05-13 Roland McGrath <roland@hack.frob.com>
11249
11250 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11251 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11252 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11253 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11254 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11255 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11256 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11257 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11258 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11259 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11260 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11261 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11262 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11263 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11264 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11265 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11266 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11267 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11268 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11269 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11270 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11271 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11272 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11273 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11274 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11275 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11276 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11277 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11278 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11279 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11280 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11281 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11282 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11283 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11284 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11285 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11286 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11287 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11288 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11289 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11290 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11291 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11292
11293 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11294 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11295
11296 * sysdeps/unix/sysv/linux/arm/Makefile
11297 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11298 Add rt-aeabi_unwind_cpp_pr1.
11299 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11300 Add nptl-aeabi_unwind_cpp_pr1.
11301 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11302 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11303 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11304 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11305 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11306 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11307
11308 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11309 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11310 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11311 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11312
11313 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11314 Deconditionalize the code that was previously under [RESET_PID].
11315 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11316
11317 * sysdeps/generic/exit-thread.h: New file.
11318 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11319 * include/unistd.h (__exit_thread): Remove declaration.
11320 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11321 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11322 * csu/libc-start.c: Include <exit-thread.h>.
11323 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11324 * nptl/pthread_create.c: Include <exit-thread.h>.
11325 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11326 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11327 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11328 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11329 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11330 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11331 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11332 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11333 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11334 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11335 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11336 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11337 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11338 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11339 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11340 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11341 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11342
113432014-05-13 Andreas Schwab <schwab@suse.de>
11344
11345 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11346
113472014-05-12 Joseph Myers <joseph@codesourcery.com>
11348
11349 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11350 (__ASSUME_UTIMES): Do not condition on kernel version.
11351 (__ASSUME_PSELECT): Define unconditionally.
11352 (__ASSUME_PPOLL): Likewise.
11353 (__ASSUME_ATFCTS): Likewise.
11354 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11355 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11356 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11357 (__ASSUME_UTIMENSAT): Define unconditionally.
11358 (__ASSUME_PRIVATE_FUTEX): Likewise.
11359 (__ASSUME_FALLOCATE): Likewise.
11360 (__ASSUME_O_CLOEXEC): Likewise.
11361 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11362 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11363 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11364 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11365 (__ASSUME_IN_NONBLOCK): Likewise.
11366 (__ASSUME_PIPE2): Likewise.
11367 (__ASSUME_EVENTFD2): Likewise.
11368 (__ASSUME_SIGNALFD4): Likewise.
11369 (__ASSUME_DUP3): Likewise.
11370 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11371 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11372 (__ASSUME_AT_RANDOM): Likewise.
11373 (__ASSUME_PREADV): Likewise.
11374 (__ASSUME_PWRITEV): Likewise.
11375 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11376 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11377 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11378 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11379 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11380 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11381 (__ASSUME_O_CLOEXEC): Define unconditionally.
11382 (__ASSUME_PSELECT): Do not undefine conditionally.
11383 (__ASSUME_PPOLL): Likewise.
11384 (__ASSUME_ATFCTS): Likewise.
11385 (__ASSUME_SET_ROBUST_LIST): Likewise.
11386 (__ASSUME_UTIMENSAT): Likewise.
11387 (__ASSUME_FDATASYNC): Define unconditionally.
11388 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11389 (__ASSUME_SIGFRAME_V2): Likewise.
11390 )__ASSUME_EVENTFD2): Likewise.
11391 (__ASSUME_SIGNALFD4): Likewise.
11392 (__ASSUME_PSELECT): Do not undefine conditionally.
11393 (__ASSUME_PPOLL): Likewise.
11394 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11395 (__ASSUME_PSELECT): Define unconditionally.
11396 (__ASSUME_PPOLL): Likewise.
11397 (__ASSUME_O_CLOEXEC): Likewise.
11398 (__ASSUME_SOCK_CLOEXEC): Likewise.
11399 (__ASSUME_IN_NONBLOCK): Likewise.
11400 (__ASSUME_PIPE2): Likewise.
11401 (__ASSUME_EVENTFD2): Likewise.
11402 (__ASSUME_SIGNALFD4): Likewise.
11403 (__ASSUME_DUP3): Likewise.
11404 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11405 (__ASSUME_O_CLOEXEC): Likewise.
11406 (__ASSUME_SOCK_CLOEXEC): Likewise.
11407 (__ASSUME_IN_NONBLOCK): Likewise.
11408 (__ASSUME_PIPE2): Likewise.
11409 (__ASSUME_EVENTFD2): Likewise.
11410 (__ASSUME_SIGNALFD4): Likewise.
11411 (__ASSUME_DUP3): Likewise.
11412 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11413 (__ASSUME_EVENTFD2): Likewise.
11414 (__ASSUME_SIGNALFD4): Likewise.
11415 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11416
114172014-05-12 Andreas Schwab <schwab@suse.de>
11418
11419 [BZ #16932]
11420 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11421 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11422 than maximum RPC packet size.
11423 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11424 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11425 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11426 (_nss_nis_getservbyport_r): Likewise.
11427
114282014-05-12 Will Newton <will.newton@linaro.org>
11429
11430 * malloc/Makefile (tests): Add tst-mallopt.
11431 * malloc/tst-mallopt.c: New file.
11432
114332014-05-09 Roland McGrath <roland@hack.frob.com>
11434
11435 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11436 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11437
114382014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11439
11440 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11441 (tst-tlsmod6.so): Likewise.
11442
114432014-05-09 Roland McGrath <roland@hack.frob.com>
11444
11445 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11446
114472014-05-09 Joseph Myers <joseph@codesourcery.com>
11448
11449 [BZ #16064]
11450 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11451 and <dl-procinfo.h>.
11452 (__fegetenv): Save SSE state in envp->__eip if supported.
11453 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11454 envp->__eip if supported.
11455 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11456 and <dl-procinfo.h>.
11457 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11458 __data_offset and __data_selector in environment to 0. Set SSE
11459 state if supported.
11460 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11461 test-fenv-sse.
11462 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11463 -mfpmath=sse.
11464 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11465
114662014-05-09 Will Newton <will.newton@linaro.org>
11467
11468 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11469 and libc_relro_required for ARM.
11470 * sysdeps/arm/preconfigure: Regenerate.
11471
114722014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11473 Stefan Liebler <stli@linux.vnet.ibm.com>
11474
11475 * config.make.in (enable-lock-elision): New Makefile variable.
11476 * configure.ac: Likewise.
11477 * configure: Regenerate.
11478 * sysdeps/s390/configure.ac:
11479 Add check for gcc transactions support.
11480 * sysdeps/s390/configure: Regenerate.
11481 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11482 Build elision files if enabled.
11483 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11484 Add lock elision support for s390.
11485 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11486 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11487 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11488 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11489 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11490 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11491 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11492 Likewise.
11493 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11494 Likewise.
11495 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11496 Likewise.
11497 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11498 Likewise.
11499 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11500 (__lll_timedlock_elision, __lll_lock_elision)
11501 (__lll_unlock_elision, __lll_trylock_elision)
11502 (lll_timedlock_elision, lll_lock_elision)
11503 (lll_unlock_elision, lll_trylock_elision): Add.
11504 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11505 (pthread_mutex_t): Add lock elision support for s390.
11506
115072014-05-14 Wilco <wdijkstr@arm.com>
11508
11509 * sysdeps/arm/fclrexcpt.c: Cleanup.
11510 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11511 * sysdeps/arm/feenablxcpt.c: Cleanup.
11512 * sysdeps/arm/fegetenv.c: Cleanup.
11513 * sysdeps/arm/fegetexcept.c: Cleanup.
11514 * sysdeps/arm/fegetround.c: Cleanup.
11515 * sysdeps/arm/feholdexcpt.c: Cleanup.
11516 * sysdeps/arm/fesetenv.c: Cleanup.
11517 * sysdeps/arm/fesetround.c: Cleanup.
11518 * sysdeps/arm/feupdateenv.c: Cleanup.
11519 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11520 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11521 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11522 * sysdeps/arm/ftestexcept.c: Cleanup.
11523 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11524 * sysdeps/arm/setfpucw.c: Cleanup.
11525
115262014-05-09 Will Newton <will.newton@linaro.org>
11527
11528 * sysdeps/arm/armv7/strcmp.S: New file.
11529 * NEWS: Mention addition of ARMv7 optimized strcmp.
11530
115312014-05-08 Roland McGrath <roland@hack.frob.com>
11532
11533 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11534 look for %.ac rather than %.in.
11535
11536 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11537 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11538 * sysdeps/mach/hurd/configure: Regenerated.
11539 * sysdeps/unix/sysv/linux/configure: Regenerated.
11540
11541 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11542
115432014-05-07 Steve Ellcey <sellcey@mips.com>
11544
11545 [BZ# 16922]
11546 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11547 (LONG_SUB): Ditto.
11548 (PTR_SUB): Ditto.
11549
115502014-05-07 Andreas Schwab <schwab@suse.de>
11551
11552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11553 when skipping over non-matching result from nscd.
11554
115552014-05-07 Ondřej Bílka <neleai@seznam.cz>
11556
11557 [BZ #16876]
11558 * nptl/sockperf.c (client): Check socket return value.
11559
11560 [BZ #16877]
11561 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11562 nscd security class.
11563
115642014-05-06 Roland McGrath <roland@hack.frob.com>
11565
11566 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11567 * sysdeps/arm/unwind.h: ... here.
11568
115692014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11570
11571 [BZ# 16916]
11572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11573 Define.
11574
115752014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11576
11577 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11578 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11579 multiarch strncpy for PPC64.
11580 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11581 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11583 multiarch optimizations.
11584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11585 (__libc_ifunc_impl_list): Likewise.
11586 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11587 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11588 multiarch stpncpy for PPC64.
11589 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11590 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11591
115922014-05-06 Andreas Schwab <schwab@suse.de>
11593
11594 [BZ #16912]
11595 * gmon/mcount.c (_MCOUNT_DECL): Use
11596 atomic_compare_and_exchange_bool_acq instead of
11597 catomic_compare_and_exchange_bool_acq.
11598
115992014-05-05 Roland McGrath <roland@hack.frob.com>
11600
11601 * elf/Makefile (others, install-bin): Remove pldd.
11602 (pldd-modules): Variable removed.
11603 ($(objpfx)pldd): Target removed.
11604 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11605 (others, install-bin): Append pldd here.
11606 ($(objpfx)pldd): New target.
11607
11608 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11609 to 0, so the first #if test emitted later doesn't see it undefined.
11610 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11611 * sysdeps/gnu/errlist.c: Regenerated.
11612
116132014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11614
11615 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11616 [libc_hidden_builtin_def]: Define to empty value.
11617 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11618 [libc_hidden_builtin_def]: Likewise.
11619 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11620 [libc_hidden_builtin_def]: Likewise.
11621 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11622 [libc_hidden_builtin_def]: Likewise.
11623 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11624 __redirect_memcpy and define ifunc as default hidden symbol.
11625 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11626 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11627
116282014-05-04 Adam Conrad <adconrad@0c3.net>
11629
11630 * locale/iso-4217.def: Reintroduce XDR currency.
11631
116322014-05-04 Allan McRae <allan@archlinux.org>
11633
11634 * po/eo.po: Update Esperanto translation from translation project.
11635
116362014-05-02 Carlos O'Donell <carlos@redhat.com>
11637
11638 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11639 and FEATURE_INDEX_MAX to 1.
11640 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11641
116422014-05-01 Steve Ellcey <sellcey@mips.com>
11643
11644 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11645 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11646 * iconvdata/big5.c (ONE_DIRECTION): Define.
11647 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11648 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11649 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11650 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11651 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11652 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11653 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11654 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11655 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11656 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11657 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11658 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11659 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11660 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11661 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11662 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11663 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11664 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11665 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11666 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11667 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11668 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11669 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11670 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11671 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11672 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11673 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11674 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11675 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11676 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11677 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11678 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11679 * iconvdata/johab.c (ONE_DIRECTION): Define.
11680 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11681 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11682 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11683 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11684 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11685 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11686 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11687 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11688 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11689 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11690
116912014-05-01 Roland McGrath <roland@hack.frob.com>
11692
11693 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11694 (_IO_JUMPS_OFFSET): Define to 0.
11695
11696 * nptl/sysdeps/pthread/bits/libc-lock.h
11697 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11698 (__libc_lock_define_initialized_recursive): Always define using
11699 initializer. Modern compilers treat uninitialized (implicit zero) and
11700 explicit zero initializers the same (i.e. put the datum in bss).
11701
117022014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11703
11704 * nscd/nscd-client.h: Include <string.h>.
11705
117062014-05-01 David S. Miller <davem@davemloft.net>
11707
11708 [BZ #16885]
11709 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11710 multiple zero bytes exist at the end of a string.
11711 Reported by Aurelien Jarno <aurelien@aurel32.net>
11712
11713 * string/test-strcmp.c (check): Add explicit test for situations where
11714 there are multiple zero bytes after the first.
11715
117162014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11717
11718 [BZ #16890]
11719 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11720 when compiling wprintf.
11721 * stdio-common/tstdiomisc.c (t3): New function.
11722 (main): Call it.
11723
117242014-05-01 Steve Ellcey <sellcey@mips.com>
11725
11726 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11727 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11728 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11729 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11730
117312014-05-01 Steve Ellcey <sellcey@mips.com>
11732
11733 * stdlib/longlong.h: Updated from GCC.
11734
117352014-05-01 Will Newton <will.newton@linaro.org>
11736 Bernard Ogden <bernie.ogden@linaro.org>
11737
11738 * NEWS: Update fixed bug list.
11739
11740 [BZ #15119]
11741 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11742
117432014-04-30 David S. Miller <davem@davemloft.net>
11744
11745 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11746 (libc_feholdexcept_setround_sparc_ctx): New function.
11747 (libc_fesetenv_sparc_ctx): Likewise.
11748 (libc_feupdateenv_sparc_ctx): Likewise.
11749 (libc_feholdsetround_sparc_ctx): Likewise.
11750 (libc_feholdexcept_setround_ctx): Define.
11751 (libc_feholdexcept_setroundf_ctx): Likewise.
11752 (libc_feholdexcept_setroundl_ctx): Likewise.
11753 (libc_fesetenv_ctx): Likewise.
11754 (libc_fesetenvf_ctx): Likewise.
11755 (libc_fesetenvl_ctx): Likewise.
11756 (libc_feupdateenv_ctx): Likewise.
11757 (libc_feupdateenvf_ctx): Likewise.
11758 (libc_feupdateenvl_ctx): Likewise.
11759 (libc_feresetround_ctx): Likewise.
11760 (libc_feresetroundf_ctx): Likewise.
11761 (libc_feresetroundl_ctx): Likewise.
11762 (libc_feholdsetround_ctx): Likewise.
11763 (libc_feholdsetroundf_ctx): Likewise.
11764 (libc_feholdsetroundl_ctx): Likewise.
11765
11766 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11767 with __USE_GNU instead of XOPEN cpp guards.
11768
11769 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11770 0.
11771
11772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11773 with XOPEN cpp guards.
11774
117752014-04-30 Julian Brown <julian@codesourcery.com>
11776
11777 [BZ #16888]
11778 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11779 handling.
11780
117812014-04-30 Joseph Myers <joseph@codesourcery.com>
11782
11783 [BZ #9894]
11784 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11785 Change to 2.6.32.
11786 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11787 * sysdeps/unix/sysv/linux/configure: Regenerated.
11788 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11789 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11790 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11791 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11792 * README: Update reference to required Linux kernel version.
11793 * manual/install.texi (Linux): Update reference to required Linux
11794 kernel headers version.
11795 * INSTALL: Regenerated.
11796
11797 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11798 header inclusion.
11799 [POSIX] (limits.h): Likewise.
11800 [POSIX] (math.h): Likewise.
11801 [POSIX] (sys/wait.h): Likewise.
11802 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11803 function.
11804 [POSIX] (stddef.h): Do not allow header inclusion.
11805
118062014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11807
11808 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11809
118102014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11811
11812 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11813 Return immediately after lll_futex_wake.
11814
118152014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11816
11817 [BZ #16791]
11818 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11819 structure.
11820 (datahead_init_pos): Call datahead_init_common early.
11821 (datahead_init_neg): Likewise.
11822
11823 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11824 datahead_init_neg): New functions.
11825 * nscd/aicache.c (addhstaiX): Use them.
11826 * nscd/grpcache.c (cache_addgr): Likewise.
11827 * nscd/hstcache.c (cache_addhst): Likewise.
11828 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11829 * nscd/netgroupcache.c (do_notfound): Likewise.
11830 (addgetnetgrentX): Likewise.
11831 (addinnetgrX): Likewise.
11832 * nscd/pwdcache.c (cache_addpw): Likewise.
11833 * nscd/servicescache.c (cache_addserv): Likewise.
11834
118352014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11836 Atsushi Onoe <atsushi@onoe.org>
11837
11838 [BZ #14308]
11839 [BZ #12994]
11840 [BZ #13651]
11841 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11842 one response is valid.
11843 * resolv/res_send.c (send_dg): Check for validity of other
11844 response if the current response is a referral.
11845
118462014-04-29 Steve Ellcey <sellcey@mips.com>
11847
11848 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11849
118502014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11851
11852 [BZ #16823]
11853 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11854 Always divide by positive zero when computing -Inf result.
11855 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11856 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11857
118582014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11859
11860 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11861 FPSCR if value do not change.
11862 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11863 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11864 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11865 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11866 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11867 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11868 function.
11869
118702014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11871
11872 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11873 * sysdeps/unix/sysv/linux/hppa: Move directory from
11874 ports/systeps/unix/sysv/linux/hppa.
11875 * README: Update listing for hppa-*-linux-gnu.
11876
118772014-04-28 Ondřej Bílka <neleai@seznam.cz>
11878
11879 [BZ #16754]
11880 * manual/stdio.texi (Hook functions): Fix types of stream hook
11881 functions.
11882 [BZ #16854]
11883 * socket/sys/socket.h: Fix typo in comment.
11884
118852014-04-28 Wilco <wdijkstr@arm.com>
11886
11887 * sysdeps/arm/fenv_private.h: New file.
11888 * sysdeps/arm/math_private.h: New file.
11889 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11890
118912014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11894 with __int128_t.
11895 (La_x86_64_retval): Likewise.
11896
118972014-04-24 Ian Bolton <ian.bolton@arm.com>
11898
11899 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11900 fpsr if value didn't change.
11901 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11902 to fpcr if value didn't change.
11903 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11904 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11905 fpsr or fpcr if value didn't change.
11906 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11907 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11908 fpcr if value didn't change.
11909 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11910 to fpsr if value didn't change.
11911
119122014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11913
11914 * nptl/tst-sem3.c: Use test-skeleton.c
11915 (main): Rename to do_test. Use return instead of
11916 exit.
11917 * nptl/tst-sem4.c: Use test-skeleton.c
11918 (main): Rename to do_test.
11919
119202014-04-22 David S. Miller <davem@davemloft.net>
11921
11922 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11923 (struct sigaction): New struct member __glibc_reserved0, change
11924 type of sa_flags to int.
11925
119262014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11927
11928 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11929 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11930
119312014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11932
11933 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11934 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11935
119362014-04-22 Will Newton <will.newton@linaro.org>
11937 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11938
11939 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11940 (__longjmp): Add longjmp and longjmp_target SystemTap
11941 probes.
11942 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11943 (__sigsetjmp): Add setjmp SystemTap probe.
11944
119452014-04-17 Carlos O'Donell <carlos@redhat.com>
11946
11947 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11948 match manual order.
11949
119502014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11951
11952 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11953
11954 * sysdeps/powerpc/fpu/fenv_private.h
11955 (libc_feholdexcept_setroundl_ctx): Define to
11956 libc_feholdexcept_setround_ppc_ctx.
11957 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11958 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11959 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11960 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11961
119622014-04-17 Ian Bolton <ian.bolton@arm.com>
11963
11964 * sysdeps/aarch64/math-tests.h: New file.
11965
119662014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11967
11968 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11969 New.
11970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11971 Check and set bit_AVX2_Usable.
11972 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11973 macro.
11974 (bit_AVX2): Likewise.
11975 (index_AVX2_Usable): Likewise.
11976 (CPUID_AVX2): Likewise.
11977 (HAS_AVX2): Likewise.
11978
119792014-04-17 Will Newton <will.newton@linaro.org>
11980
11981 * manual/setjmp.texi (System V contexts): Add note that
11982 calling setcontext on a context created by a call to a
11983 signal handler is undefined. Update text to note that
11984 setcontext from a signal handler is possible but not
11985 recommended.
11986
11987 [BZ #16629]
11988 * stdlib/tst-setcontext.c: Include signal.h.
11989 (main): Check that the signal stack before and
11990 after swapcontext is the same.
11991
11992 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11993 Re-implement to restore registers in user code and avoid
11994 rt_sigreturn system call.
11995
119962014-04-17 Wilco <wdijkstr@arm.com>
11997
11998 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11999 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12000 * math/test-fenv.c: Skip exception trap tests on targets which only
12001 support non-stop mode.
12002
120032014-04-17 Ian Bolton <ian.bolton@arm.com>
12004 Wilco Dijkstra <wilco.dijkstra@arm.com>
12005
12006 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12007 (libc_feholdsetround_aarch64_ctx)
12008 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12009 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12010 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12011 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12012 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12013 (libc_feresetround_noexl_ctx): Define.
12014
120152014-04-16 Richard Henderson <rth@redhat.com>
12016
12017 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12018
12019 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12020 unwind tables.
12021
12022 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12023 const from the non-libc, non-ldso copy.
12024
12025 * sysdeps/alpha/libm-test-ulps: Regenerate.
12026
120272014-04-16 Ian Bolton <ian.bolton@arm.com>
12028 Wilco Dijkstra <wilco.dijkstra@arm.com>
12029
12030 * sysdeps/aarch64/fpu/math_private.h: New file.
12031
120322014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12033
12034 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12035
120362014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12037
12038 [BZ #16275]
12039 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12040 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12042 Intel MPX bound registers before _dl_profile_fixup.
12043 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12044 registers after _dl_profile_fixup. Save and restore bound
12045 registers bnd0/bnd1 when calling _dl_call_pltexit.
12046 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12047 (LR_BND_OFFSET): Likewise.
12048 (LRV_BND0_OFFSET): Likewise.
12049 (LRV_BND1_OFFSET): Likewise.
12050
120512014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12052
12053 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12054 to...
12055 * sysdeps/mach/hurd/i386/tls.h: ... here.
12056 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12057 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12058 fields.
12059
120602014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12061
12062 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12063
120642014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12065
12066 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12067
120682014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12069
12070 [BZ #14770]
12071 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12072 * sysdeps/s390/configure: Regenerate.
12073
12074 [BZ #16824]
12075 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12076 Set round-to-nearest internally to reduce error accumulation.
12077
120782014-04-16 Alan Modra <amodra@gmail.com>
12079
12080 [BZ #16740]
12081 [BZ #16619]
12082 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12083 * math/libm-test.inc (frexp_test_data): Add tests.
12084 * NEWS: Update fixed bug list.
12085
120862014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12087
12088 * benchtests/Makefile: Depend on libraries in build directory.
12089 (bench-math): Separate out math tests.
12090 (bench-pthread): Separate out pthread tests.
12091 (bench): Include math and pthread tests.
12092
120932014-04-14 Carlos O'Donell <carlos@redhat.com>
12094
12095 [BZ #16831]
12096 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12097 _dl_debug_initialize.
12098
12099 * configure.ac: Remove SELinux header check.
12100 * configure: Regenerate.
12101 * nscd/selinux.c (perms): Array of const char* to permission names.
12102 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12103 default policy. Call string_to_security_class and string_to_av_perm to
12104 translate strings. Enforce default policy and call avs_has_perm with
12105 results of translated strings.
12106
121072014-04-13 David S. Miller <davem@davemloft.net>
12108
12109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12110
121112014-04-12 Allan McRae <allan@archlinux.org>
12112
12113 [BZ #16838]
12114 * manual/string.texi (Collation Functions): Fix qsort argument
12115 order in example.
12116 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12117
121182014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12119
12120 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12121 Make the test a no-op if there are no exceptions defined.
12122
121232014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12124
12125 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12126 enable-hardcoded-path-in-tests
12127
121282014-04-11 Will Newton <will.newton@linaro.org>
12129
12130 * benchtests/Makefile (extra-objs): Add json-lib.o.
12131 (bench-func): Tidy up JSON output.
12132 * benchtests/bench-skeleton.c: Include json-lib.h.
12133 (main): Use JSON library functions to do output of
12134 benchmark results.
12135 * benchtests/bench-timing-type.c (main): Output the
12136 timing type simply, leaving formatting to the user.
12137 * benchtests/json-lib.c: New file.
12138 * benchtests/json-lib.h: Likewise.
12139
121402014-04-11 Torvald Riegel <triegel@redhat.com>
12141
12142 [BZ #15215]
12143 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12144 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12145 memory barriers. Add comments.
12146 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12147 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12148 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12149 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12150 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12151 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12152
121532014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12154
12155 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12156 * sysdeps/s390/s390-64/configure.ac: ... this ...
12157 * sysdeps/s390/configure.ac: ... to here.
12158 * sysdeps/s390/s390-32/configure: Delete file.
12159 * sysdeps/s390/s390-64/configure: Delete file.
12160 * sysdeps/s390/configure: Regenerate.
12161
121622014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12163
12164 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12165
121662014-04-11 Will Newton <will.newton@linaro.org>
12167
12168 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12169 to zero if it is not defined elsewhere. (mtrim): Test
12170 the value of MALLOC_DEBUG with #if rather than #ifdef.
12171
121722014-04-10 Torvald Riegel <triegel@redhat.com>
12173
12174 * benchtests/pthread_once-inputs: New file.
12175 * benchtests/pthread_once-source.c: New file.
12176 * benchtests/README: Update documentation.
12177
121782014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12179 H.J. Lu <hongjiu.lu@intel.com>
12180
12181 [BZ #16275]
12182 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12183 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12184 * sysdeps/x86_64/configure: Regenerated.
12185 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12186 macro.
12187 (REGISTER_SAVE_RAX): Likewise.
12188 (REGISTER_SAVE_RCX): Likewise.
12189 (REGISTER_SAVE_RDX): Likewise.
12190 (REGISTER_SAVE_RSI): Likewise.
12191 (REGISTER_SAVE_RDI): Likewise.
12192 (REGISTER_SAVE_R8): Likewise.
12193 (REGISTER_SAVE_R9): Likewise.
12194 (REGISTER_SAVE_BND0): Likewise.
12195 (REGISTER_SAVE_BND1): Likewise.
12196 (REGISTER_SAVE_BND2): Likewise.
12197 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12198 bound registers when calling _dl_fixup.
12199
122002014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12201
12202 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12203 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12204 of its definition.
12205 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12206 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12207 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12208 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12209 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12210 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12211 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12212
122132014-04-09 Peter Brett <peter@peter-b.co.uk>
12214
12215 [BZ #15514]
12216 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12217 pathconf(_PC_NAME_MAX).
12218
122192014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12220
12221 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12222 Remove macro usage.
12223 (__PTHREAD_SPINS): Move definition to ...
12224 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12225 (__PTHREAD_SPINS): ... here.
12226 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12227 (__PTHREAD_SPIN): Likewise.
12228 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12229 (__PTHREAD_SPIN): Likewise.
12230 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12231 (__PTHREAD_SPIN): Likewise.
12232 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12233 (__PTHREAD_SPIN): Likewise.
12234 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12235 (__PTHREAD_SPIN): Likewise.
12236 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12237 (__PTHREAD_SPIN): Likewise.
12238 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12239 (__PTHREAD_SPIN): Likewise.
12240 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12241 (__PTHREAD_SPIN): Likewise.
12242 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12243 (__PTHREAD_SPIN): Likewise.
12244 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12245 (__PTHREAD_SPIN): Likewise.
12246 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12247 (__PTHREAD_SPIN): Likewise.
12248 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12249 (__PTHREAD_SPIN): Likewise.
12250
12251 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12252 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12253 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12254 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12255 imply folder.
12256 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12257 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12258 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12259 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12260 correct imply path.
12261 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12262 strlen symbol for non multi-arch builds.
12263 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12264 missing hidden_def and weak_alias.
12265
122662014-04-08 Carlos O'Donell <carlos@redhat.com>
12267
12268 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12269
122702014-04-07 Will Newton <will.newton@linaro.org>
12271
12272 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12273 and contents. [!_LIBC] Remove #ifndef and contents.
12274 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12275 * string/memccpy.c (__memccpy): Use ANSI prototype.
12276 * string/memfrob.c (memfrob): Likewise.
12277 * string/strcoll.c (STRCOLL): Likewise.
12278 * string/strlen.c (strlen): Likewise.
12279 * string/strtok.c (STRTOK): Likewise.
12280 * string/strcat.c: Remove unused #include of memcopy.h.
12281 (strcat): Use ANSI prototype.
12282 * string/strchr.c: Remove unused #include of memcopy.h.
12283 (strchr): Use ANSI prototype.
12284 * string/strcmp.c: Remove unused #include of memcopy.h.
12285 (strcmp): Use ANSI prototype.
12286 * string/strcpy.c: Remove unused #include of memcopy.h.
12287 (strcpy): Use ANSI prototype.
12288
122892014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12290
12291 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12292 * config.make.in (config-extra-cppflags): Set it from
12293 libc_extra_cppflags.
12294 * configure.ac (libc_extra_cflags): Make it accumulate over
12295 configure fragments.
12296 (libc_extra_cppflags): New flag.
12297 * configure. Regenerate.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12299 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12300 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12302
12303 [BZ #16815]
12304 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12305 result for FE_DOWNWARD rounding mode.
12306 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12307 Likewise.
12308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12309
123102014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12311
12312 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12313 in function argument name.
12314
123152014-04-03 David Svoboda <svoboda@cert.org>
12316
12317 [BZ #5666]
12318 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12319 explicitly.
12320
123212014-04-03 Roland McGrath <roland@hack.frob.com>
12322
12323 * elf/dl-unmap-segments.h: New file.
12324 * sysdeps/generic/ldsodefs.h
12325 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12326 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12327 * elf/dl-fptr.c: Likewise.
12328 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12329 * sysdeps/aarch64/tlsdesc.c: Likewise.
12330 * sysdeps/arm/tlsdesc.c: Likewise.
12331 * sysdeps/i386/tlsdesc.c: Likewise.
12332 * sysdeps/tile/dl-runtime.c: Likewise.
12333 * sysdeps/x86_64/tlsdesc.c: Likewise.
12334 * elf/dl-load.h: New file.
12335 * elf/dl-load.c: Include it.
12336 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12337 Macros moved to dl-load.h.
12338 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12339 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12340 Use _dl_unmap_segments in place of __munmap.
12341 Break out segment-mapping loop into ...
12342 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12343
123442014-04-03 Will Newton <will.newton@linaro.org>
12345
12346 * elf/dl-lookup.c (do_lookup_x): Remove comment
12347 referring to nested function and move variable
12348 declarations down to before first use.
12349
123502014-04-02 Joseph Myers <joseph@codesourcery.com>
12351
12352 [BZ #16799]
12353 [BZ #16800]
12354 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12355 with 0 numerator.
12356 * math/s_catanf.c (__catanf): Likewise.
12357 * math/s_catanh.c (__catanh): Likewise.
12358 * math/s_catanhf.c (__catanhf): Likewise.
12359 * math/s_catanhl.c (__catanhl): Likewise.
12360 * math/s_catanl.c (__catanl): Likewise.
12361 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12362 by positive zero when computing -Inf result.
12363 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12364 (catanh_test): Likewise.
12365 * sysdeps/i386/fpu/libm-test-ulps: Update.
12366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12367
12368 [BZ #16789]
12369 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12370 instead of using underflowing value in computing result.
12371 * math/s_clog10.c (__clog10): Likewise.
12372 * math/s_clog10f.c (__clog10f): Likewise.
12373 * math/s_clog10l.c (__clog10l): Likewise.
12374 * math/s_clogf.c (__clogf): Likewise.
12375 * math/s_clogl.c (__clogl): Likewise.
12376 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12377 (clog10_test): Likewise.
12378 * sysdeps/i386/fpu/libm-test-ulps: Update.
12379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12380
123812014-04-02 Alan Modra <amodra@gmail.com>
12382
12383 [BZ #16739]
12384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12385 output when value is near a power of two. Use int64_t for lx and
12386 remove casts. Use decimal rather than hex exponent constants.
12387 Don't use long double multiplication when double will suffice.
12388 * math/libm-test.inc (nextafter_test_data): Add tests.
12389 * NEWS: Add 16739 and 16786 to bug list.
12390
12391 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12392
12393 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12394
123952014-04-01 Will Newton <will.newton@linaro.org>
12396
12397 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12398 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12399
124002014-04-01 Florian Weimer <fweimer@redhat.com>
12401
12402 [BZ #13347]
12403 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12404 * nptl/tst-setuid2.c: New file.
12405 * nptl/Makefile (xtests): Add tst-setuid2.
12406
124072014-04-01 Alan Modra <amodra@gmail.com>
12408
12409 [BZ #16786]
12410 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12411
124122014-03-31 Joseph Myers <joseph@codesourcery.com>
12413
12414 [BZ #6803]
12415 [BZ #6804]
12416 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12417 set errno as appropriate.
12418 * math/w_scalbf.c (__scalbf): Likewise.
12419 * math/w_scalbl.c (__scalbl): Likewise.
12420 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12421 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12422 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12423 Add more NaN tests.
12424
12425 [BZ #16349]
12426 * math/w_atan2.c: Include <errno.h>.
12427 (__atan2): Set errno for result underflowing to zero.
12428 * math/w_atan2f.c: Include <errno.h>.
12429 (__atan2f): Set errno for result underflowing to zero.
12430 * math/w_atan2l.c: Include <errno.h>.
12431 (__atan2l): Set errno for result underflowing to zero.
12432 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12433 tests.
12434 * math/auto-libm-test-out: Regenerated.
12435
124362014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12437
12438 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12439 Encode instruction correctly in little endian.
12440 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12441 Likewise.
12442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12443 Likewise.
12444 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12445 Likewise.
12446 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12447 Likewise.
12448
124492014-03-31 Joseph Myers <joseph@codesourcery.com>
12450
12451 [BZ #9894]
12452 * sysdeps/unix/sysv/linux/kernel-features.h
12453 [__sparc__ && !__arch64__ && !__sparc_v9__]
12454 (__ASSUME_SET_ROBUST_LIST): Do not define.
12455 [__sparc__ && !__arch64__ && !__sparc_v9__]
12456 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12457 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12460 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12461 (__ASSUME_REQUEUE_PI): Likewise.
12462 (__ASSUME_SET_ROBUST_LIST): Likewise.
12463 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12464 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12465 Undefine.
12466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12467 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12468 Likewise.
12469 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12470 Likewise.
12471 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12472 Likewise.
12473 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12474 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12475 Undefine.
12476 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12477 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12478 Likewise.
12479
12480 [BZ #16648]
12481 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12482 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12483 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12484
124852014-03-31 Will Newton <will.newton@linaro.org>
12486
12487 * benchtests/Makefile (bench): Add ffs and ffsll to list
12488 of tests.
12489 * benchtests/ffs-inputs: New file.
12490 * benchtests/ffsll-inputs: Likewise.
12491
124922014-03-29 Joseph Myers <joseph@codesourcery.com>
12493
12494 [BZ #16770]
12495 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12496 too large before casting to int.
12497 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12498 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12499 * math/libm-test.inc (scalb_test_data): Add more tests.
12500
125012014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12502
12503 * benchtests/Makefile (DETAILED_OPT): New make option.
12504 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12505 set.
12506 * benchtests/bench-skeleton.c: Include stdbool.h.
12507 (main): Store and print timings per input.
12508 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12509 member to each argument value.
12510 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12511 (_print_arg_data): Initialize per-input timing to 0.
12512
12513 * benchtests/Makefile (timing-type): New binary.
12514 (bench-clean): Also remove bench-timing-type.
12515 (bench): New target for timing-type.
12516 (bench-func): Print output in JSON format.
12517 * benchtests/bench-skeleton.c (main): Print output in JSON
12518 format.
12519 * benchtests/bench-timing-type.c: New file.
12520 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12521 (TIMING_PRINT_STATS): Remove.
12522 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12523 name separately.
12524
12525 * benchtests/bench-modf.c: Remove.
12526 * benchtests/modf-inputs: New inputs file.
12527
125282014-03-28 Joseph Myers <joseph@codesourcery.com>
12529
12530 [BZ #16362]
12531 * math/s_clog10.c (M_PI_LOG10E): New macro.
12532 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12533 imaginary parts are 0.
12534 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12535 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12536 imaginary parts are 0.
12537 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12538 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12539 imaginary parts are 0.
12540 * math/libm-test.inc (clog10_test_data): Update expected results
12541 for when real and imaginary parts are 0.
12542
125432014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12544
12545 * elf/dl-load.c: Finish conversion of __builtin_expect into
12546 __glibc_{un}likely.
12547
125482014-03-27 Joseph Myers <joseph@codesourcery.com>
12549
12550 [BZ #16348]
12551 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12552 1+x for argument with exponent below -67.
12553 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12554 Likewise.
12555 * math/auto-libm-test-in: Add more tests of exp.
12556 * math/auto-libm-test-out: Regenerated.
12557
125582014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12559
12560 [BZ #16759]
12561 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12562 (nscd_getnetgrent): Use it.
12563
12564 [BZ #16760]
12565 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12566 of stpcpy.
12567
125682014-03-27 Andi Kleen <ak@linux.intel.com>
12569
12570 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12571 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12572 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12573 (lll_robust_unlock): Remove out of line section. Use cfi
12574 intrinsics.
12575 (LLL_STUB_UNWIND_INFO*): Remove.
12576 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12577 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12578 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12579 (lll_robust_unlock): Remove out of line section. Use cfi
12580 intrinsics.
12581 (LLL_STUB_UNWIND_INFO*): Remove.
12582
125832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12584
12585 [BZ #16758]
12586 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12587 blank values.
12588
125892014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12590
12591 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12592
125932014-03-26 Joseph Myers <joseph@codesourcery.com>
12594
12595 [BZ #16198]
12596 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12597 fnstenv.
12598 * math/test-fenv-preserve.c: New file.
12599 * math/Makefile (tests): Add test-fenv-preserve.
12600
126012014-03-26 Will Newton <will.newton@linaro.org>
12602
12603 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12604
126052014-03-25 Roland McGrath <roland@hack.frob.com>
12606
12607 * scripts/versionlist.awk: Partition the version sets and emit all
12608 GLIBC_* (sorted) before all others (sorted).
12609
126102014-03-25 Joseph Myers <joseph@codesourcery.com>
12611
12612 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12613 GLIBC_2.2.5 version.
12614
126152014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12616
12617 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12618 calls.
12619
12620 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12621 previous change.
12622
12623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12624
126252014-03-25 Andreas Schwab <schwab@suse.de>
12626
12627 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12628 label to be used after in6ailist is initialized.
12629
126302014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12631
12632 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12633 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12634
126352014-03-25 Joseph Myers <joseph@codesourcery.com>
12636
12637 [BZ #16357]
12638 [BZ #16599]
12639 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12640 min_plus_half.
12641 (fp_formats): Update initializers.
12642 (init_fp_formats): Initialize new field.
12643 (output_for_one_input_case): Allow underflow for results up to
12644 min_plus_half.
12645 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12646 * math/auto-libm-test-in: Don't mark some underflows from asin and
12647 atanh as spurious.
12648 * math/auto-libm-test-out: Regenerated.
12649 * sysdeps/i386/fpu/libm-test-ulps: Update.
12650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12651
126522014-03-25 Andreas Schwab <schwab@suse.de>
12653
12654 * libio/Makefile (tst-ftell-partial-wide-ENV)
12655 (tst-ftell-active-handler-ENV): Define.
12656
126572014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12658
12659 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12660
126612014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12662
12663 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12664
126652014-03-24 Joseph Myers <joseph@codesourcery.com>
12666
12667 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12668 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12669 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12670
126712014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12672
12673 [BZ #16634]
12674 * elf/dl-load.c (open_verify): Add mode parameter.
12675 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12676 (open_path): Change from boolean 'secure' to complete flag 'mode'
12677 (_dl_map_object): Adjust.
12678 * elf/Makefile (tests): Add tst-dlopen-aout.
12679 * elf/tst-dlopen-aout.c: New test.
12680
126812014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12682
12683 [BZ #16714]
12684 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12685 (struct stat): Rename member pad0 to __glibc_reserved0.
12686
12687 [BZ #16712]
12688 * sysdeps/s390/s390-32/bits/wordsize.h
12689 (__WORDSIZE32_SIZE_ULONG): New define.
12690 * sysdeps/s390/s390-64/bits/wordsize.h
12691 (__WORDSIZE32_SIZE_ULONG): Likewise.
12692 * sysdeps/generic/stdint.h (SIZE_MAX):
12693 Define as UL if __WORDSIZE32_SIZE_ULONG.
12694
12695 [BZ #16713]
12696 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12697 (__glibc_reserved0): New variable.
12698 (sa_flags): Change type to int.
12699
12700 * posix/Makefile (before-compile): Use += before-compile instead
12701 of a :=.
12702
12703 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12704 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12705
127062014-03-20 Andreas Schwab <schwab@suse.de>
12707
12708 [BZ #16743]
12709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12710 non-matching result from nscd.
12711
127122014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12713
12714 * scripts/bench.py: Moved to ...
12715 * benchtests/scripts/bench.py: ... here.
12716 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12717
127182014-03-24 Andreas Schwab <schwab@suse.de>
12719
12720 [BZ #16002]
12721 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12722 alloca_account and account alloca use for struct in6ailist.
12723
127242014-03-24 Joseph Myers <joseph@codesourcery.com>
12725
12726 [BZ #16284]
12727 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12728 rounding mode to recompute results that overflow to infinity or
12729 underflow to zero.
12730 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12731 bug 16284.
12732 * math/auto-libm-test-out: Regenerated.
12733 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12734 (ccosh_test): Likewise.
12735 (csin_test_data): Use plus_oflow.
12736 (csin_test): Use ALL_RM_TEST.
12737 (csinh_test_data): Use plus_oflow.
12738 (csinh_test): Use ALL_RM_TEST.
12739 * sysdeps/i386/fpu/libm-test-ulps: Update.
12740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12741
127422014-03-21 Joseph Myers <joseph@codesourcery.com>
12743
12744 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12745 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12746 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12747
12748 [BZ #16731]
12749 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12750 when x - 1 is zero.
12751 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12752 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12753 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12754 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12755 argument is 1.
12756 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12757 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12758 zero.
12759 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12760 * sysdeps/i386/fpu/libm-test-ulps: Update.
12761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12762
127632014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12764
12765 * scripts/bench.pl: Remove file.
12766 * scripts/bench.py: New benchmark script.
12767 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12768 * benchtests/README: Mention python dependency.
12769 * scripts/pylintrc: New file.
12770 * scripts/pylint: New file.
12771
12772 * bits/mathdef.h: Use #ifdef instead of #if.
12773 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12774 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12775 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12776 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12777 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12778 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12779
127802014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12781 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12782
12783 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12785 and strpbrk-ppc64 objects.
12786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12787 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12788 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12789 multiarch strpbrk for POWER7.
12790 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12791 multiarch strpbrk for PPC64.
12792 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12793 ifunc selector.
12794 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12795 strpbrk for POWER7.
12796
127972014-03-20 Joseph Myers <joseph@codesourcery.com>
12798
12799 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12800 (atan_test): Likewise.
12801 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12802 (atanh_test): Use ALL_RM_TEST.
12803 (atan2_test_data): Likewise.
12804 (cabs_test): Likewise.
12805 (cacosh_test): Likewise.
12806 (carg_test): Likewise.
12807 (casin_test): Likewise.
12808 (casinh_test): Likewise.
12809 (cbrt_test): Likewise.
12810 (csqrt_test): Likewise.
12811 (erf_test): Likewise.
12812 (erfc_test): Likewise.
12813 (pow10_test): Likewise.
12814 (exp2_test): Likewise.
12815 (hypot_test): Likewise.
12816 (j0_test): Likewise.
12817 (j1_test): Likewise.
12818 (lgamma_test): Likewise.
12819 (gamma_test): Likewise.
12820 (sincos_test): Likewise.
12821 (tanh_test): Likewise.
12822 (y0_test): Likewise.
12823 (y1_test): Likewise.
12824 * sysdeps/i386/fpu/libm-test-ulps: Update.
12825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12826
128272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12828
12829 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12831 and strcspn-ppc64 objects.
12832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12833 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12834 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12835 multiarch strcspn for POWER7.
12836 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12837 multiarch strcspn for PPC64.
12838 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12839 ifunc selector.
12840 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12841 strcspn for POWER7.
12842
128432014-03-20 Joseph Myers <joseph@codesourcery.com>
12844
12845 * math/gen-libm-test.pl (generate_testfile): Expect only function
12846 name as argument to AUTO_TESTS_* and pass results for all rounding
12847 modes to parse_args.
12848 (parse_auto_input): Separate inputs of automatic tests from
12849 outputs before storing in %auto_tests.
12850 * math/libm-test.inc (acos_test_data): Update call to
12851 AUTO_TESTS_f_f.
12852 (acos_test): Use ALL_RM_TEST.
12853 (acos_tonearest_test_data): Remove.
12854 (acos_test_tonearest): Likewise.
12855 (acos_towardzero_test_data): Likewise.
12856 (acos_test_towardzero): Likewise.
12857 (acos_downward_test_data): Likewise.
12858 (acos_test_downward): Likewise.
12859 (acos_upward_test_data): Likewise.
12860 (acos_test_upward): Likewise.
12861 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12862 (asin_test_data): Likewise.
12863 (asin_test): Use ALL_RM_TEST.
12864 (asin_tonearest_test_data): Remove.
12865 (asin_test_tonearest): Likewise.
12866 (asin_towardzero_test_data): Likewise.
12867 (asin_test_towardzero): Likewise.
12868 (asin_downward_test_data): Likewise.
12869 (asin_test_downward): Likewise.
12870 (asin_upward_test_data): Likewise.
12871 (asin_test_upward): Likewise.
12872 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12873 (atan_test_data): Likewise.
12874 (atanh_test_data): Likewise.
12875 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12876 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12877 (carg_test_data): Likewise.
12878 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12879 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12880 (ccosh_test_data): Likewise.
12881 (cexp_test_data): Likewise.
12882 (clog_test_data): Likewise.
12883 (clog10_test_data): Likewise.
12884 (cos_test_data): Update call to AUTO_TESTS_f_f.
12885 (cos_test): Use ALL_RM_TEST.
12886 (cos_tonearest_test_data): Remove.
12887 (cos_test_tonearest): Likewise.
12888 (cos_towardzero_test_data): Likewise.
12889 (cos_test_towardzero): Likewise.
12890 (cos_downward_test_data): Likewise.
12891 (cos_test_downward): Likewise.
12892 (cos_upward_test_data): Likewise.
12893 (cos_test_upward): Likewise.
12894 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12895 (cosh_test): Use ALL_RM_TEST.
12896 (cosh_tonearest_test_data): Remove.
12897 (cosh_test_tonearest): Likewise.
12898 (cosh_towardzero_test_data): Likewise.
12899 (cosh_test_towardzero): Likewise.
12900 (cosh_downward_test_data): Likewise.
12901 (cosh_test_downward): Likewise.
12902 (cosh_upward_test_data): Likewise.
12903 (cosh_test_upward): Likewise.
12904 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12905 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12906 (ctan_test_data): Likewise.
12907 (ctan_test): Use ALL_RM_TEST.
12908 (ctan_tonearest_test_data): Remove.
12909 (ctan_test_tonearest): Likewise.
12910 (ctan_towardzero_test_data): Likewise.
12911 (ctan_test_towardzero): Likewise.
12912 (ctan_downward_test_data): Likewise.
12913 (ctan_test_downward): Likewise.
12914 (ctan_upward_test_data): Likewise.
12915 (ctan_test_upward): Likewise.
12916 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12917 (ctanh_test): Use ALL_RM_TEST.
12918 (ctanh_tonearest_test_data): Remove.
12919 (ctanh_test_tonearest): Likewise.
12920 (ctanh_towardzero_test_data): Likewise.
12921 (ctanh_test_towardzero): Likewise.
12922 (ctanh_downward_test_data): Likewise.
12923 (ctanh_test_downward): Likewise.
12924 (ctanh_upward_test_data): Likewise.
12925 (ctanh_test_upward): Likewise.
12926 (erf_test_data): Update call to AUTO_TESTS_f_f.
12927 (erfc_test_data): Likewise.
12928 (exp_test_data): Likewise.
12929 (exp_test): Use ALL_RM_TEST.
12930 (exp_tonearest_test_data): Remove.
12931 (exp_test_tonearest): Likewise.
12932 (exp_towardzero_test_data): Likewise.
12933 (exp_test_towardzero): Likewise.
12934 (exp_downward_test_data): Likewise.
12935 (exp_test_downward): Likewise.
12936 (exp_upward_test_data): Likewise.
12937 (exp_test_upward): Likewise.
12938 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12939 (exp10_test): Use ALL_RM_TEST.
12940 (exp10_tonearest_test_data): Remove.
12941 (exp10_test_tonearest): Likewise.
12942 (exp10_towardzero_test_data): Likewise.
12943 (exp10_test_towardzero): Likewise.
12944 (exp10_downward_test_data): Likewise.
12945 (exp10_test_downward): Likewise.
12946 (exp10_upward_test_data): Likewise.
12947 (exp10_test_upward): Likewise.
12948 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12949 (expm1_test_data): Likewise.
12950 (expm1_test): Use ALL_RM_TEST.
12951 (expm1_tonearest_test_data): Remove.
12952 (expm1_test_tonearest): Likewise.
12953 (expm1_towardzero_test_data): Likewise.
12954 (expm1_test_towardzero): Likewise.
12955 (expm1_downward_test_data): Likewise.
12956 (expm1_test_downward): Likewise.
12957 (expm1_upward_test_data): Likewise.
12958 (expm1_test_upward): Likewise.
12959 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12960 (fma_test): Use ALL_RM_TEST.
12961 (fma_towardzero_test_data): Remove.
12962 (fma_test_towardzero): Likewise.
12963 (fma_downward_test_data): Likewise.
12964 (fma_test_downward): Likewise.
12965 (fma_upward_test_data): Likewise.
12966 (fma_test_upward): Likewise.
12967 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12968 (j0_test_data): Update call to AUTO_TESTS_f_f.
12969 (j1_test_data): Likewise.
12970 (jn_test_data): Update call to AUTO_TESTS_if_f.
12971 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12972 (log_test_data): Update call to AUTO_TESTS_f_f.
12973 (log10_test_data): Likewise.
12974 (log1p_test_data): Likewise.
12975 (log2_test_data): Likewise.
12976 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12977 (pow_tonearest_test_data): Likewise.
12978 (sin_test_data): Update call to AUTO_TESTS_f_f.
12979 (sin_test): Use ALL_RM_TEST.
12980 (sin_tonearest_test_data): Remove.
12981 (sin_test_tonearest): Likewise.
12982 (sin_towardzero_test_data): Likewise.
12983 (sin_test_towardzero): Likewise.
12984 (sin_downward_test_data): Likewise.
12985 (sin_test_downward): Likewise.
12986 (sin_upward_test_data): Likewise.
12987 (sin_test_upward): Likewise.
12988 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12989 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12990 (sinh_test): Use ALL_RM_TEST.
12991 (sinh_tonearest_test_data): Remove.
12992 (sinh_test_tonearest): Likewise.
12993 (sinh_towardzero_test_data): Likewise.
12994 (sinh_test_towardzero): Likewise.
12995 (sinh_downward_test_data): Likewise.
12996 (sinh_test_downward): Likewise.
12997 (sinh_upward_test_data): Likewise.
12998 (sinh_test_upward): Likewise.
12999 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13000 (sqrt_test): Use ALL_RM_TEST.
13001 (sqrt_tonearest_test_data): Remove.
13002 (sqrt_test_tonearest): Likewise.
13003 (sqrt_towardzero_test_data): Likewise.
13004 (sqrt_test_towardzero): Likewise.
13005 (sqrt_downward_test_data): Likewise.
13006 (sqrt_test_downward): Likewise.
13007 (sqrt_upward_test_data): Likewise.
13008 (sqrt_test_upward): Likewise.
13009 (tan_test_data): Update call to AUTO_TESTS_f_f.
13010 (tan_test): Use ALL_RM_TEST.
13011 (tan_tonearest_test_data): Remove.
13012 (tan_test_tonearest): Likewise.
13013 (tan_towardzero_test_data): Likewise.
13014 (tan_test_towardzero): Likewise.
13015 (tan_downward_test_data): Likewise.
13016 (tan_test_downward): Likewise.
13017 (tan_upward_test_data): Likewise.
13018 (tan_test_upward): Likewise.
13019 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13020 (tgamma_test_data): Likewise.
13021 (y0_test_data): Likewise.
13022 (y1_test_data): Likewise.
13023 (yn_test_data): Update call to AUTO_TESTS_if_f.
13024 (main): Do not call removed functions.
13025
130262014-03-19 Joseph Myers <joseph@codesourcery.com>
13027
13028 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13029 (ldexp_test_data): Remove.
13030 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13031 scalbn_test_data.
13032 (scalb_test): Use ALL_RM_TEST.
13033
130342014-03-19 Andreas Schwab <schwab@suse.de>
13035
13036 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13037
130382014-03-19 Joseph Myers <joseph@codesourcery.com>
13039
13040 [BZ #16649]
13041 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13042 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13043 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13044 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13045 (__ASSUME_PREADV): Undefine.
13046 (__ASSUME_PWRITEV): Likewise.
13047
130482014-03-18 Roland McGrath <roland@hack.frob.com>
13049
13050 * bits/mman-linux.h: Add comment about non-Linux use.
13051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13052 bits/mman-linux.h resting place.
13053
13054 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13055 * bits/mman-linux.h: ... here.
13056
130572014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13058
13059 * conform/conformtest.pl: Add standard definition when calling C
13060 preprocessor on data files.
13061 (checknamespace): Remove unused variable.
13062
130632014-03-18 Joseph Myers <joseph@codesourcery.com>
13064
13065 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13066 minus_oflow, plus_uflow and minus_uflow in expected results.
13067 * math/libm-test.inc (scalbn_test_data): Add more tests of
13068 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13069 minus_uflow.
13070 (scalbn_test): Use ALL_RM_TEST.
13071 (scalbln_test_data): Add more tests of negative arguments. Use
13072 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13073 (scalbln_test): Use ALL_RM_TEST.
13074
130752014-03-18 Roland McGrath <roland@hack.frob.com>
13076
13077 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13078
130792014-03-18 Will Newton <will.newton@linaro.org>
13080
13081 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13082 inaccurate comment.
13083
130842014-03-18 Joseph Myers <joseph@codesourcery.com>
13085
13086 * Makerules [!subdir] (check-abi): Exit with error status if a
13087 test failed.
13088
130892014-03-17 Joseph Myers <joseph@codesourcery.com>
13090
13091 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13092 for rint. Include results for all rounding modes.
13093 (nearbyint_test): Use ALL_RM_TEST.
13094 (rint_test_data): Include all tests used for nearbyint.
13095
130962014-03-17 Will Newton <will.newton@linaro.org>
13097
13098 * nptl/sysdeps/pthread/pthread.h: Revert previous
13099 change.
13100
13101 * sysdeps/generic/ldsodefs.h: Revert previous
13102 change.
13103
13104 * libio/genops.c: Revert previous change.
13105 * libio/libioP.h: Likewise.
13106 * stdio-common/vfprintf.c: Likewise.
13107
13108 * sysdeps/generic/math_private.h: Revert previous
13109 change.
13110
13111 * sysdeps/generic/math_private.h: Check whether
13112 HAVE_RM_CTX is defined with #ifdef rather
13113 than #if.
13114
13115 * argp/argp-fmtstream.h: Check whether
13116 __STRICT_ANSI__ is defined with #ifdef rather
13117 than #if.
13118 * argp/argp.h: Likewise.
13119
13120 * libio/genops.c: Check whether
13121 _IO_JUMPS_OFFSET is defined with #ifdef rather
13122 than #if.
13123 * libio/libioP.h: Likewise.
13124 * stdio-common/vfprintf.c: Likewise.
13125
13126 * sysdeps/generic/ldsodefs.h: Check whether
13127 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13128 than #if.
13129
13130 * nptl/sysdeps/pthread/pthread.h: Check
13131 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13132 its value.
13133
131342014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13135
13136 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13137 setting O_APPEND.
13138 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13139 test case.
13140
13141 [BZ #16680]
13142 * libio/fileops.c (_IO_file_open): Seek to end of file but
13143 don't cache the offset.
13144 (get_file_offset): Remove function.
13145 (do_ftell): Use cached offset when available.
13146 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13147 don't cache the offset.
13148 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13149 case.
13150 (do_one_test): Call it.
13151 (do_ftell_test): Fix up expected old offset for a+ mode.
13152 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13153 available.
13154
13155 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13156 up test status with function return status.
13157 (do_write_test): Likewise.
13158 (do_append_test): Likewise.
13159
13160 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13161 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13162 Remove.
13163
131642014-03-17 Joseph Myers <joseph@codesourcery.com>
13165
13166 * math/gen-libm-test.pl (parse_args): Handle results specified for
13167 each rounding mode separately.
13168 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13169 tests and results from lrint_tonearest_test_data,
13170 lrint_towardzero_test_data, lrint_downward_test_data and
13171 lrint_upward_test_data.
13172 (lrint_test): Use ALL_RM_TEST.
13173 (lrint_tonearest_test_data): Remove.
13174 (lrint_test_tonearest): Likewise.
13175 (lrint_towardzero_test_data): Likewise.
13176 (lrint_test_towardzero): Likewise.
13177 (lrint_downward_test_data): Likewise.
13178 (lrint_test_downward): Likewise.
13179 (lrint_upward_test_data): Likewise.
13180 (lrint_test_upward): Likewise.
13181 (llrint_test_data): Merge in per-rounding-mode tests and results
13182 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13183 llrint_downward_test_data and llrint_upward_test_data.
13184 (llrint_test): Use ALL_RM_TEST.
13185 (llrint_tonearest_test_data): Remove.
13186 (llrint_test_tonearest): Likewise.
13187 (llrint_towardzero_test_data): Likewise.
13188 (llrint_test_towardzero): Likewise.
13189 (llrint_downward_test_data): Likewise.
13190 (llrint_test_downward): Likewise.
13191 (llrint_upward_test_data): Likewise.
13192 (llrint_test_upward): Likewise.
13193 (rint_test_data): Merge in per-rounding-mode tests and results
13194 from rint_tonearest_test_data, rint_towardzero_test_data,
13195 rint_downward_test_data and rint_upward_test_data. Add
13196 per-rounding-mode results for tests not in those arrays.
13197 (rint_test): Use ALL_RM_TEST.
13198 (rint_tonearest_test_data): Remove.
13199 (rint_test_tonearest): Likewise.
13200 (rint_towardzero_test_data): Likewise.
13201 (rint_test_towardzero): Likewise.
13202 (rint_downward_test_data): Likewise.
13203 (rint_test_downward): Likewise.
13204 (rint_upward_test_data): Likewise.
13205 (rint_test_upward): Likewise.
13206 (main): Don't call removed functions.
13207
132082014-03-14 Roland McGrath <roland@hack.frob.com>
13209
13210 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13211 "Compiled on ..." crapola. It is anti-useful.
13212
132132014-03-14 Joseph Myers <joseph@codesourcery.com>
13214
13215 * scripts/evaluate-test.sh: Handle fourth argument to determine
13216 whether test run should stop on failure.
13217 * Makeconfig (stop-on-test-failure): New variable.
13218 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13219 $(stop-on-test-failure).
13220 * Makefile (tests): Give a summary of results from testing and
13221 exit with failure status if they include an ERROR or FAIL.
13222 (xtests): Likewise.
13223 * manual/install.texi (Configuring and compiling): Mention
13224 stop-on-test-failure=y.
13225 * INSTALL: Regenerated.
13226
132272014-03-14 Roland McGrath <roland@hack.frob.com>
13228
13229 * scripts/versionlist.awk: New file.
13230 * Makerules [$(build-shared) = yes]
13231 (postclean-generated): Add Versions.def, not Versions.def.v and
13232 Versions.def.v.i.
13233 ($(common-objpfx)Versions.def.v.i): Target removed.
13234 ($(common-objpfx)Versions.def): New target.
13235 ($(common-objpfx)Versions.all): Depend on that rather that
13236 $(common-objpfx)Versions.def.v.
13237 * Versions.def: File removed.
13238
13239 * Makeconfig (+gccwarn): Add -Wundef.
13240 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13241 a dl-sysdep.h breaking its contract.
13242 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13243 * include/stackinfo.h: New file.
13244 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13245 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13246 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13247 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13248 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13249 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13250 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13251 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13252 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13253 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13254 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13255 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13256 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13257 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13258 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13259
132602014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13261
13262 [BZ #16707]
13263 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13264 implementation.
13265 * math/libm-test.inc (round_test_data): Add more tests.
13266
13267 [BZ #16706]
13268 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13269 implementation.
13270 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13271
13272 [BZ #16701]
13273 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13274 implementation.
13275 * math/libm-test.inc (ceil_test_data): Add more tests.
13276
13277 * math/libm-test.inc (trunc_test_data): Add more tests related to
13278 BZ#16414.
13279
132802014-03-14 Roland McGrath <roland@hack.frob.com>
13281
13282 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13283 with #if rather than #ifdef.
13284 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13285
132862014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13287
13288 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13289 first. Disable AVX-512 GCC support if assembler doesn't support
13290 it.
13291 * sysdeps/x86_64/configure: Regenerated.
13292
132932014-03-13 Carlos O'Donell <carlos@redhat.com>
13294
13295 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13296 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13297 (__old_pthread_attr_setstack): Likewise.
13298 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13299 [!_STACK_GROWS_DOWN]: Likewise.
13300
133012014-03-13 Mike Frysinger <vapier@gentoo.org>
13302
13303 * config.make.in (have-bash2): Delete.
13304 * configure.ac (libc_cv_have_bash2): Delete.
13305 * configure: Regenerate.
13306 * elf/Makefile (common-ldd-rewrite): Rename to ...
13307 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13308 (sh-ldd-rewrite): Delete.
13309 (bash-ldd-rewrite): Delete.
13310 (have-bash2): Delete checks.
13311 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13312 ldd-rewrite.
13313
13314 * config.make.in (have-ksh): Delete.
13315 (KSH): Delete.
13316 * configure.ac (libc_cv_have_ksh): Delete.
13317 * configure: Regenerate.
13318
13319 * elf/Makefile: Delete $(have-ksh) check.
13320 ($(objpfx)sotruss): Change KSH to BASH.
13321 * elf/sotruss.ksh: Rename to ...
13322 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13323 function style to match POSIX. Drop ksh vim mode setting.
13324
13325 * manual/time.texi (Specifying the Time Zone with TZ): Change
13326 Tuesday to Thursday.
13327
13328 * debug/tst-longjmp_chk2.c: Update header comment.
13329 (stackoverflow_handler): Add comment. Call assert on pass value.
13330
133312014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13332
13333 [BZ #16194]
13334 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13335 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13336 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13337 (La_x86_64_vector): Add zmm.
13338 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13339 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13340 ($(objpfx)tst-audit10): New target.
13341 ($(objpfx)tst-audit10.out): Likewise.
13342 (tst-audit10-ENV): New.
13343 (AVX512-CFLAGS): Likewise.
13344 (CFLAGS-tst-audit10.c): Likewise.
13345 (CFLAGS-tst-auditmod10a.c): Likewise.
13346 (CFLAGS-tst-auditmod10b.c): Likewise.
13347 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13348 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13349 * sysdeps/x86_64/configure: Regenerated.
13350 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13351 AVX-512 zmm register support.
13352 (_dl_x86_64_save_sse): Likewise.
13353 (_dl_x86_64_restore_sse): Likewise.
13354 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13355 size vector registers.
13356 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13357 (ZMM_SIZE): Likewise.
13358 * sysdeps/x86_64/tst-audit10.c: New file.
13359 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13360 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13361
133622014-03-13 Roland McGrath <roland@hack.frob.com>
13363
13364 * configure.ac (HAVE_EHDR_START): New check.
13365 * configure: Regenerated.
13366 * config.h.in (HAVE_EHDR_START): New #undef.
13367 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13368 assuming the lowest-addressed segment maps the start of the file.
13369
133702014-03-13 Joseph Myers <joseph@codesourcery.com>
13371
13372 * INSTALL: Regenerated.
13373
133742014-03-13 Will Newton <will.newton@linaro.org>
13375
13376 * manual/setjmp.texi (System V contexts): Improve
13377 clarity and grammar of documentation.
13378
133792014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13380
13381 [BZ #16381]
13382 * elf/Makefile (tests): Add tst-pie2.
13383 (tests-pie): Add tst-pie2.
13384 * elf/tst-pie2.c: New file.
13385 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13386 for ET_EXEC.
13387 * elf/rtld.c (map_doit): Load executable as lt_executable.
13388 (dl_main): Likewise.
13389
133902014-03-12 Joseph Myers <joseph@codesourcery.com>
13391
13392 [BZ #16642]
13393 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13394 (__ASSUME_PSELECT): Undefine.
13395
133962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13397
13398 [BZ #16689]
13399 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13400 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13401 static build.
13402 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13403 selector for static builds.
13404
134052014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13406
13407 [BZ #16695]
13408 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13409 key in the buffer.
13410
134112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13412
13413 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13414 IFUNC selector for static builds.
13415
134162014-03-11 Joseph Myers <joseph@codesourcery.com>
13417
13418 * sysdeps/mips/math_private.h [__mips_hard_float]
13419 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13420 libc_feresetround_mips_ctx.
13421 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13422 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13423 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13424
13425 [BZ #16677]
13426 * math/s_nextafter.c (__nextafter): Do not return value from
13427 overflowing computation.
13428 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13429 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13430 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13431 Likewise.
13432 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13433 Likewise.
13434 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13435 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13436
134372014-03-11 Roland McGrath <roland@hack.frob.com>
13438
13439 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13440 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13441 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13442 the new mov targetting sp.
13443
134442014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13445
13446 [BZ #16683]
13447 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13448 Define it for static builds as well.
13449 (NO_BZERO_IMPL): Likewise.
13450
134512014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13452
13453 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13454 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13455 multiarch strspn for PPC64.
13456 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13457 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13458 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13459 (__libc_ifunc_impl_list): Likewise.
13460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13461 multiarch optimizations
13462 * string/strspn.c (strspn): Using macro to redefine symbol name.
13463
134642014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13465 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13466
13467 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13468 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13469 multiarch strncat for PPC64.
13470 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13471 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13473 (__libc_ifunc_impl_list): Likewise.
13474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13475 multiarch optimizations
13476
134772014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13478
13479 [BZ #16639]
13480 * nscd/nscd.service: Make service type forking.
13481
134822014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13483
13484 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13485 sign in non default rounding modes.
13486 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13487
134882014-03-08 Joseph Myers <joseph@codesourcery.com>
13489
13490 * math/libm-test.inc (ALL_RM_TEST): New macro.
13491 (ceil_test): Use ALL_RM_TEST.
13492 (cimag_test): Likewise.
13493 (conj_test): Likewise.
13494 (copysign_test): Likewise.
13495 (cproj_test): Likewise.
13496 (creal_test): Likewise.
13497 (fabs_test): Likewise.
13498 (floor_test): Likewise.
13499 (fmax_test): Likewise.
13500 (fmin_test): Likewise.
13501 (fmod_test): Likewise.
13502 (fpclassify_test): Likewise.
13503 (frexp_test): Likewise.
13504 (ilogb_test): Likewise.
13505 (isfinite_test): Likewise.
13506 (finite_test): Likewise.
13507 (isgreater_test): Likewise.
13508 (isgreaterequal_test): Likewise.
13509 (isinf_test): Likewise.
13510 (isless_test): Likewise.
13511 (islessequal_test): Likewise.
13512 (islessgreater_test): Likewise.
13513 (isnan_test): Likewise.
13514 (isnormal_test): Likewise.
13515 (issignaling_test): Likewise.
13516 (isunordered_test): Likewise.
13517 (logb_test): Likewise.
13518 (logb_downward_test_data): Remove.
13519 (logb_test_downward): Likewise.
13520 (lround_test): Use ALL_RM_TEST.
13521 (llround_test): Likewise.
13522 (modf_test): Likewise.
13523 (nexttoward_test): Likewise.
13524 (remainder_test): Likewise.
13525 (drem_test): Likewise.
13526 (remainder_tonearest_test_data): Likewise.
13527 (remainder_test_tonearest): Likewise.
13528 (drem_test_tonearest): Likewise.
13529 (remainder_towardzero_test_data): Likewise.
13530 (remainder_test_towardzero): Likewise.
13531 (drem_test_towardzero): Likewise.
13532 (remainder_downward_test_data): Likewise.
13533 (remainder_test_downward): Likewise.
13534 (drem_test_downward): Likewise.
13535 (remainder_upward_test_data): Likewise.
13536 (remainder_test_upward): Likewise.
13537 (drem_test_upward): Likewise.
13538 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13539 (round_test): Use ALL_RM_TEST.
13540 (signbit_test): Likewise.
13541 (trunc_test): Likewise.
13542 (significand_test): Likewise.
13543 (main): Don't call removed functions.
13544
135452014-03-07 Joseph Myers <joseph@codesourcery.com>
13546
13547 [BZ #16674]
13548 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13549 || __USE_XOPEN2K8].
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 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13571 (TRAP_TRACE): Likewise.
13572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13573 __USE_XOPEN2K8].
13574 (CLD_KILLED): Likewise.
13575 (CLD_DUMPED): Likewise.
13576 (CLD_TRAPPED): Likewise.
13577 (CLD_STOPPED): Likewise.
13578 (CLD_CONTINUED): Likewise.
13579 (POLL_IN): Likewise.
13580 (POLL_OUT): Likewise.
13581 (POLL_MSG): Likewise.
13582 (POLL_ERR): Likewise.
13583 (POLL_PRI): Likewise.
13584 (POLL_HUP): Likewise.
13585 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13586 Likewise.
13587 (ILL_ILLOPN): Likewise.
13588 (ILL_ILLADR): Likewise.
13589 (ILL_ILLTRP): Likewise.
13590 (ILL_PRVOPC): Likewise.
13591 (ILL_PRVREG): Likewise.
13592 (ILL_COPROC): Likewise.
13593 (ILL_BADSTK): Likewise.
13594 (FPE_INTDIV): Likewise.
13595 (FPE_INTOVF): Likewise.
13596 (FPE_FLTDIV): Likewise.
13597 (FPE_FLTOVF): Likewise.
13598 (FPE_FLTUND): Likewise.
13599 (FPE_FLTRES): Likewise.
13600 (FPE_FLTINV): Likewise.
13601 (FPE_FLTSUB): Likewise.
13602 (SEGV_MAPERR): Likewise.
13603 (SEGV_ACCERR): Likewise.
13604 (BUS_ADRALN): Likewise.
13605 (BUS_ADRERR): Likewise.
13606 (BUS_OBJERR): Likewise.
13607 (BUS_MCEERR_AR): Likewise.
13608 (BUS_MCEERR_AO): Likewise.
13609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13610 (TRAP_TRACE): Likewise.
13611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13612 __USE_XOPEN2K8].
13613 (CLD_KILLED): Likewise.
13614 (CLD_DUMPED): Likewise.
13615 (CLD_TRAPPED): Likewise.
13616 (CLD_STOPPED): Likewise.
13617 (CLD_CONTINUED): Likewise.
13618 (POLL_IN): Likewise.
13619 (POLL_OUT): Likewise.
13620 (POLL_MSG): Likewise.
13621 (POLL_ERR): Likewise.
13622 (POLL_PRI): Likewise.
13623 (POLL_HUP): Likewise.
13624 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13625 (ILL_ILLOPN): Likewise.
13626 (ILL_ILLADR): Likewise.
13627 (ILL_ILLTRP): Likewise.
13628 (ILL_PRVOPC): Likewise.
13629 (ILL_PRVREG): Likewise.
13630 (ILL_COPROC): Likewise.
13631 (ILL_BADSTK): Likewise.
13632 (FPE_INTDIV): Likewise.
13633 (FPE_INTOVF): Likewise.
13634 (FPE_FLTDIV): Likewise.
13635 (FPE_FLTOVF): Likewise.
13636 (FPE_FLTUND): Likewise.
13637 (FPE_FLTRES): Likewise.
13638 (FPE_FLTINV): Likewise.
13639 (FPE_FLTSUB): Likewise.
13640 (SEGV_MAPERR): Likewise.
13641 (SEGV_ACCERR): Likewise.
13642 (BUS_ADRALN): Likewise.
13643 (BUS_ADRERR): Likewise.
13644 (BUS_OBJERR): Likewise.
13645 (BUS_MCEERR_AR): Likewise.
13646 (BUS_MCEERR_AO): Likewise.
13647 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13648 (TRAP_TRACE): Likewise.
13649 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13650 __USE_XOPEN2K8].
13651 (CLD_KILLED): Likewise.
13652 (CLD_DUMPED): Likewise.
13653 (CLD_TRAPPED): Likewise.
13654 (CLD_STOPPED): Likewise.
13655 (CLD_CONTINUED): Likewise.
13656 (POLL_IN): Likewise.
13657 (POLL_OUT): Likewise.
13658 (POLL_MSG): Likewise.
13659 (POLL_ERR): Likewise.
13660 (POLL_PRI): Likewise.
13661 (POLL_HUP): Likewise.
13662 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13663 Likewise.
13664 (ILL_ILLOPN): Likewise.
13665 (ILL_ILLADR): Likewise.
13666 (ILL_ILLTRP): Likewise.
13667 (ILL_PRVOPC): Likewise.
13668 (ILL_PRVREG): Likewise.
13669 (ILL_COPROC): Likewise.
13670 (ILL_BADSTK): Likewise.
13671 (ILL_BADIADDR): Likewise.
13672 (ILL_BREAK): Likewise.
13673 (FPE_INTDIV): Likewise.
13674 (FPE_INTOVF): Likewise.
13675 (FPE_FLTDIV): Likewise.
13676 (FPE_FLTOVF): Likewise.
13677 (FPE_FLTUND): Likewise.
13678 (FPE_FLTRES): Likewise.
13679 (FPE_FLTINV): Likewise.
13680 (FPE_FLTSUB): Likewise.
13681 (FPE_DECOVF): Likewise.
13682 (FPE_DECDIV): Likewise.
13683 (FPE_DECERR): Likewise.
13684 (FPE_INVASC): Likewise.
13685 (FPE_INVDEC): Likewise.
13686 (SEGV_MAPERR): Likewise.
13687 (SEGV_ACCERR): Likewise.
13688 (SEGV_PSTKOVF): Likewise.
13689 (BUS_ADRALN): Likewise.
13690 (BUS_ADRERR): Likewise.
13691 (BUS_OBJERR): Likewise.
13692 (BUS_MCEERR_AR): Likewise.
13693 (BUS_MCEERR_AO): Likewise.
13694 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13695 (TRAP_TRACE): Likewise.
13696 (TRAP_BRANCH): Likewise.
13697 (TRAP_HWBKPT): Likewise.
13698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13699 __USE_XOPEN2K8].
13700 (CLD_KILLED): Likewise.
13701 (CLD_DUMPED): Likewise.
13702 (CLD_TRAPPED): Likewise.
13703 (CLD_STOPPED): Likewise.
13704 (CLD_CONTINUED): Likewise.
13705 (POLL_IN): Likewise.
13706 (POLL_OUT): Likewise.
13707 (POLL_MSG): Likewise.
13708 (POLL_ERR): Likewise.
13709 (POLL_PRI): Likewise.
13710 (POLL_HUP): Likewise.
13711 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13712 (ILL_ILLOPN): Likewise.
13713 (ILL_ILLADR): Likewise.
13714 (ILL_ILLTRP): Likewise.
13715 (ILL_PRVOPC): Likewise.
13716 (ILL_PRVREG): Likewise.
13717 (ILL_COPROC): Likewise.
13718 (ILL_BADSTK): Likewise.
13719 (FPE_INTDIV): Likewise.
13720 (FPE_INTOVF): Likewise.
13721 (FPE_FLTDIV): Likewise.
13722 (FPE_FLTOVF): Likewise.
13723 (FPE_FLTUND): Likewise.
13724 (FPE_FLTRES): Likewise.
13725 (FPE_FLTINV): Likewise.
13726 (FPE_FLTSUB): Likewise.
13727 (SEGV_MAPERR): Likewise.
13728 (SEGV_ACCERR): Likewise.
13729 (BUS_ADRALN): Likewise.
13730 (BUS_ADRERR): Likewise.
13731 (BUS_OBJERR): Likewise.
13732 (BUS_MCEERR_AR): Likewise.
13733 (BUS_MCEERR_AO): Likewise.
13734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13735 (TRAP_TRACE): Likewise.
13736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13737 __USE_XOPEN2K8].
13738 (CLD_KILLED): Likewise.
13739 (CLD_DUMPED): Likewise.
13740 (CLD_TRAPPED): Likewise.
13741 (CLD_STOPPED): Likewise.
13742 (CLD_CONTINUED): Likewise.
13743 (POLL_IN): Likewise.
13744 (POLL_OUT): Likewise.
13745 (POLL_MSG): Likewise.
13746 (POLL_ERR): Likewise.
13747 (POLL_PRI): Likewise.
13748 (POLL_HUP): Likewise.
13749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13750 (ILL_ILLOPN): Likewise.
13751 (ILL_ILLADR): Likewise.
13752 (ILL_ILLTRP): Likewise.
13753 (ILL_PRVOPC): Likewise.
13754 (ILL_PRVREG): Likewise.
13755 (ILL_COPROC): Likewise.
13756 (ILL_BADSTK): Likewise.
13757 (FPE_INTDIV): Likewise.
13758 (FPE_INTOVF): Likewise.
13759 (FPE_FLTDIV): Likewise.
13760 (FPE_FLTOVF): Likewise.
13761 (FPE_FLTUND): Likewise.
13762 (FPE_FLTRES): Likewise.
13763 (FPE_FLTINV): Likewise.
13764 (FPE_FLTSUB): Likewise.
13765 (SEGV_MAPERR): Likewise.
13766 (SEGV_ACCERR): Likewise.
13767 (BUS_ADRALN): Likewise.
13768 (BUS_ADRERR): Likewise.
13769 (BUS_OBJERR): Likewise.
13770 (BUS_MCEERR_AR): Likewise.
13771 (BUS_MCEERR_AO): Likewise.
13772 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13773 (TRAP_TRACE): Likewise.
13774 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13775 __USE_XOPEN2K8].
13776 (CLD_KILLED): Likewise.
13777 (CLD_DUMPED): Likewise.
13778 (CLD_TRAPPED): Likewise.
13779 (CLD_STOPPED): Likewise.
13780 (CLD_CONTINUED): Likewise.
13781 (POLL_IN): Likewise.
13782 (POLL_OUT): Likewise.
13783 (POLL_MSG): Likewise.
13784 (POLL_ERR): Likewise.
13785 (POLL_PRI): Likewise.
13786 (POLL_HUP): Likewise.
13787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13788 (ILL_ILLOPN): Likewise.
13789 (ILL_ILLADR): Likewise.
13790 (ILL_ILLTRP): Likewise.
13791 (ILL_PRVOPC): Likewise.
13792 (ILL_PRVREG): Likewise.
13793 (ILL_COPROC): Likewise.
13794 (ILL_BADSTK): Likewise.
13795 (FPE_INTDIV): Likewise.
13796 (FPE_INTOVF): Likewise.
13797 (FPE_FLTDIV): Likewise.
13798 (FPE_FLTOVF): Likewise.
13799 (FPE_FLTUND): Likewise.
13800 (FPE_FLTRES): Likewise.
13801 (FPE_FLTINV): Likewise.
13802 (FPE_FLTSUB): Likewise.
13803 (SEGV_MAPERR): Likewise.
13804 (SEGV_ACCERR): Likewise.
13805 (BUS_ADRALN): Likewise.
13806 (BUS_ADRERR): Likewise.
13807 (BUS_OBJERR): Likewise.
13808 (BUS_MCEERR_AR): Likewise.
13809 (BUS_MCEERR_AO): Likewise.
13810 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13811 (TRAP_TRACE): Likewise.
13812 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13813 __USE_XOPEN2K8].
13814 (CLD_KILLED): Likewise.
13815 (CLD_DUMPED): Likewise.
13816 (CLD_TRAPPED): Likewise.
13817 (CLD_STOPPED): Likewise.
13818 (CLD_CONTINUED): Likewise.
13819 (POLL_IN): Likewise.
13820 (POLL_OUT): Likewise.
13821 (POLL_MSG): Likewise.
13822 (POLL_ERR): Likewise.
13823 (POLL_PRI): Likewise.
13824 (POLL_HUP): Likewise.
13825 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13826 (ILL_ILLOPN): Likewise.
13827 (ILL_ILLADR): Likewise.
13828 (ILL_ILLTRP): Likewise.
13829 (ILL_PRVOPC): Likewise.
13830 (ILL_PRVREG): Likewise.
13831 (ILL_COPROC): Likewise.
13832 (ILL_BADSTK): Likewise.
13833 (ILL_DBLFLT): Likewise.
13834 (ILL_HARDWALL): Likewise.
13835 (FPE_INTDIV): Likewise.
13836 (FPE_INTOVF): Likewise.
13837 (FPE_FLTDIV): Likewise.
13838 (FPE_FLTOVF): Likewise.
13839 (FPE_FLTUND): Likewise.
13840 (FPE_FLTRES): Likewise.
13841 (FPE_FLTINV): Likewise.
13842 (FPE_FLTSUB): Likewise.
13843 (SEGV_MAPERR): Likewise.
13844 (SEGV_ACCERR): Likewise.
13845 (BUS_ADRALN): Likewise.
13846 (BUS_ADRERR): Likewise.
13847 (BUS_OBJERR): Likewise.
13848 (BUS_MCEERR_AR): Likewise.
13849 (BUS_MCEERR_AO): Likewise.
13850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13851 (TRAP_TRACE): Likewise.
13852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13853 __USE_XOPEN2K8].
13854 (CLD_KILLED): Likewise.
13855 (CLD_DUMPED): Likewise.
13856 (CLD_TRAPPED): Likewise.
13857 (CLD_STOPPED): Likewise.
13858 (CLD_CONTINUED): Likewise.
13859 (POLL_IN): Likewise.
13860 (POLL_OUT): Likewise.
13861 (POLL_MSG): Likewise.
13862 (POLL_ERR): Likewise.
13863 (POLL_PRI): Likewise.
13864 (POLL_HUP): Likewise.
13865 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13866 (ILL_ILLOPN): Likewise.
13867 (ILL_ILLADR): Likewise.
13868 (ILL_ILLTRP): Likewise.
13869 (ILL_PRVOPC): Likewise.
13870 (ILL_PRVREG): Likewise.
13871 (ILL_COPROC): Likewise.
13872 (ILL_BADSTK): Likewise.
13873 (FPE_INTDIV): Likewise.
13874 (FPE_INTOVF): Likewise.
13875 (FPE_FLTDIV): Likewise.
13876 (FPE_FLTOVF): Likewise.
13877 (FPE_FLTUND): Likewise.
13878 (FPE_FLTRES): Likewise.
13879 (FPE_FLTINV): Likewise.
13880 (FPE_FLTSUB): Likewise.
13881 (SEGV_MAPERR): Likewise.
13882 (SEGV_ACCERR): Likewise.
13883 (BUS_ADRALN): Likewise.
13884 (BUS_ADRERR): Likewise.
13885 (BUS_OBJERR): Likewise.
13886 (BUS_MCEERR_AR): Likewise.
13887 (BUS_MCEERR_AO): Likewise.
13888 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13889 (TRAP_TRACE): Likewise.
13890 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13891 __USE_XOPEN2K8].
13892 (CLD_KILLED): Likewise.
13893 (CLD_DUMPED): Likewise.
13894 (CLD_TRAPPED): Likewise.
13895 (CLD_STOPPED): Likewise.
13896 (CLD_CONTINUED): Likewise.
13897 (POLL_IN): Likewise.
13898 (POLL_OUT): Likewise.
13899 (POLL_MSG): Likewise.
13900 (POLL_ERR): Likewise.
13901 (POLL_PRI): Likewise.
13902 (POLL_HUP): Likewise.
13903 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13904 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13905
13906 [BZ #16670]
13907 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13908 before #include of <time.h>.
13909 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13910 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13911 (test-xfail-UNIX98/sched.h/conform): Likewise.
13912
139132014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13914
13915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13916 error absence of trapping exception support.
13917 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13918
139192014-03-07 Joseph Myers <joseph@codesourcery.com>
13920
13921 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13922 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13923 * timezone/Makefile (testdata): Move definition above include of
13924 Rules.
13925 (test-zones): New variable.
13926 (tests-special): Add zone files.
13927 (build-testdata): Use $(evaluate-test).
13928
13929 * elf/Makefile (tests-special): Rename tests to end with .out.
13930 ($(objpfx)noload-mem): Likewise.
13931 ($(objpfx)tst-leaks1-mem): Likewise.
13932 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13933 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13934 $(objpfx)test-iconvconfig.out.
13935 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13936 set -e inside subshell and redirect output to file.
13937 * iconvdata/Makefile (generated): Rename tests to end with .out.
13938 Correct type.
13939 (tests-special): Rename tests to end with .out.
13940 ($(objpfx)mtrace-tst-loading): Likewise.
13941 * intl/Makefile (generated): Likewise.
13942 (tests-special): Likewise.
13943 ($(objpfx)mtrace-tst-gettext): Likewise.
13944 * misc/Makefile (generated): Likewise.
13945 (tests-special): Likewise.
13946 ($(objpfx)tst-error1-mem): Likewise.
13947 * nptl/Makefile (tests-special): Likewise.
13948 ($(objpfx)tst-stack3-mem): Likewise.
13949 (generated): Likewise.
13950 * posix/Makefile (generated): Likewise.
13951 (tests-special): Likewise.
13952 (xtests-special): Likewise.
13953 ($(objpfx)tst-fnmatch-mem): Likewise.
13954 ($(objpfx)bug-regex2-mem): Likewise.
13955 ($(objpfx)bug-regex14-mem): Likewise.
13956 ($(objpfx)bug-regex21-mem): Likewise.
13957 ($(objpfx)bug-regex31-mem): Likewise.
13958 ($(objpfx)tst-vfork3-mem): Likewise.
13959 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13960 ($(objpfx)tst-pcre-mem): Likewise.
13961 ($(objpfx)tst-boost-mem): Likewise.
13962 ($(objpfx)bug-ga2-mem): Likewise.
13963 ($(objpfx)bug-glob2-mem): Likewise.
13964 * resolv/Makefile (generate): Likewise.
13965 (tests-special): Likewise.
13966 (xtests-special): Likewise.
13967 (generated): Likewise.
13968 ($(objpfx)mtrace-tst-leaks): Likewise.
13969 ($(objpfx)mtrace-tst-leaks2): Likewise.
13970
13971 * scripts/merge-test-results.sh: New file.
13972 * Makefile (tests-special-notdir): New variable.
13973 (tests): Run merge-test-results.sh.
13974 (xtests): Likewise.
13975 * Rules (tests-special-notdir): New variable.
13976 (xtests-special-notdir): Likewise.
13977 (tests): Run merge-test-results.sh
13978 (xtests): Likewise.
13979
13980 * Makeconfig (test-xfail-name): New variable.
13981 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13982 compute variable name for expected failures.
13983 * conform/Makefile (conformtest-headers-data): New variable.
13984 (conformtest-standards): Likewise.
13985 (conformtest-headers-ISO): Likewise.
13986 (conformtest-headers-ISO99): Likewise.
13987 (conformtest-headers-ISO11): Likewise.
13988 (conformtest-headers-POSIX): Likewise.
13989 (conformtest-headers-XPG3): Likewise.
13990 (conformtest-headers-XPG4): Likewise.
13991 (conformtest-headers-UNIX98): Likewise.
13992 (conformtest-headers-XOPEN2K): Likewise.
13993 (conformtest-headers-POSIX2008): Likewise.
13994 (conformtest-headers-XOPEN2K8): Likewise.
13995 (conformtest-header-list-base): Likewise.
13996 (conformtest-header-list-tests): Likewise.
13997 (conformtest-header-base): Likewise.
13998 (conformtest-header-tests): Likewise.
13999 (tests-special): Add $(conformtest-header-list-tests). If
14000 [$(fast-check) && !$(cross-compiling)], add
14001 $(conformtest-header-tests) instead of
14002 $(objpfx)run-conformtest.out.
14003 (generated): Add $(conformtest-header-list-base). If
14004 [$(fast-check) && !$(cross-compiling)], add
14005 $(conformtest-header-base). Remove previous setting.
14006 ($(conformtest-header-list-tests)): New target.
14007 (test-xfail-run-conformtest): Remove variable.
14008 ($(objpfx)run-conformtest.out): Remove target.
14009 (test-xfail-ISO11/complex.h/conform): New variable.
14010 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14011 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14012 (test-xfail-XPG3/varargs.h/conform): Likewise.
14013 (test-xfail-XPG4/varargs.h/conform): Likewise.
14014 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14015 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14016 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14017 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14018 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14019 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14020 (test-xfail-XPG3/ftw.h/conform): Likewise.
14021 (test-xfail-XPG3/grp.h/conform): Likewise.
14022 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14023 (test-xfail-XPG3/limits.h/conform): Likewise.
14024 (test-xfail-XPG3/pwd.h/conform): Likewise.
14025 (test-xfail-XPG3/search.h/conform): Likewise.
14026 (test-xfail-XPG3/signal.h/conform): Likewise.
14027 (test-xfail-XPG3/stdio.h/conform): Likewise.
14028 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14029 (test-xfail-XPG3/string.h/conform): Likewise.
14030 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14031 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14032 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14033 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14034 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14035 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14036 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14037 (test-xfail-XPG3/termios.h/conform): Likewise.
14038 (test-xfail-XPG3/time.h/conform): Likewise.
14039 (test-xfail-XPG3/unistd.h/conform): Likewise.
14040 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14041 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14042 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14043 (test-xfail-XPG4/netdb.h/conform): Likewise.
14044 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14045 (test-xfail-XPG4/signal.h/conform): Likewise.
14046 (test-xfail-XPG4/stdio.h/conform): Likewise.
14047 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14048 (test-xfail-XPG4/stropts.h/conform): Likewise.
14049 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14050 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14051 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14052 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14053 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14054 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14055 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14056 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14057 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14058 (test-xfail-XPG4/termios.h/conform): Likewise.
14059 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14060 (test-xfail-XPG4/unistd.h/conform): Likewise.
14061 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14062 (test-xfail-POSIX/sched.h/conform): Likewise.
14063 (test-xfail-POSIX/signal.h/conform): Likewise.
14064 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14065 (test-xfail-POSIX/tar.h/conform): Likewise.
14066 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14067 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14068 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14069 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14070 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14071 (test-xfail-UNIX98/sched.h/conform): Likewise.
14072 (test-xfail-UNIX98/signal.h/conform): Likewise.
14073 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14074 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14075 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14076 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14077 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14078 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14079 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14080 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14081 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14082 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14083 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14084 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14085 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14086 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14087 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14088 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14089 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14090 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14091 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14092 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14093 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14094 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14095 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14096 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14097 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14098 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14099 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14100 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14101 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14102 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14103 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14104 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14105 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14106 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14107 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14108 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14109 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14110 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14111 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14112 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14113 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14114 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14115 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14116 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14117 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14118 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14119 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14120 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14121 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14122 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14123 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14124 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14125 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14126 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14127 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14128 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14129 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14130 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14131 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14132 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14133 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14134 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14135 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14136 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14137 (conformtest-cc-flags): Likewise.
14138 ($(conformtest-header-tests): New target.
14139 * conform/check-header-lists.sh: New file.
14140 * conform/run-conformtest.sh: Remove.
14141
14142 * conform/conformtest.pl: Allow ' and \ in values given for
14143 constants.
14144 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14145 inclusion.
14146 [POSIX] (sys/types.h): Likewise.
14147 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14148 inclusion.
14149 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14150 inclusion.
14151 * conform/data/signal.h-data (SIGIO): Remove expectation.
14152 [XPG3] (SIGBUS): Do not expect.
14153 [POSIX || XPG3] (SIGPOLL): Likewise.
14154 [POSIX || XPG3] (SIGPROF): Likewise.
14155 [POSIX || XPG3] (SIGSYS): Likewise.
14156 [XPG3] (SIGTRAP): Likewise.
14157 [POSIX || XPG3] (SIGURG): Likewise.
14158 [POSIX || XPG3] (SIGVTALRM): Likewise.
14159 [POSIX || XPG3] (SIGXCPU): Likewise.
14160 [POSIX || XPG3] (SIGXFSZ): Likewise.
14161 [POSIX] (SA_SIGINFO): Expect.
14162 [XPG3] (siginfo_t): Do not expect type or contents.
14163 [POSIX] (si_pid): Do not expect element.
14164 [POSIX] (si_uid): Likewise.
14165 [POSIX] (si_addr): Likewise.
14166 [POSIX] (si_status): Likewise.
14167 [POSIX] (si_band): Likewise.
14168 [XPG4] (si_value): Likewise.
14169 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14170 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14171 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14172 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14173 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14174 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14175 [POSIX || XPG3] (ILL_COPROC): Likewise.
14176 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14177 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14178 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14179 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14180 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14181 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14182 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14183 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14184 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14185 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14186 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14187 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14188 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14189 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14190 [POSIX || XPG3] (CLD_EXITED): Likewise.
14191 [POSIX || XPG3] (CLD_KILLED): Likewise.
14192 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14193 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14194 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14195 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14196 [POSIX || XPG3] (POLL_IN): Likewise.
14197 [POSIX || XPG3] (POLL_OUT): Likewise.
14198 [POSIX || XPG3] (POLL_MSG): Likewise.
14199 [POSIX || XPG3] (POLL_ERR): Likewise.
14200 [POSIX || XPG3] (POLL_PRI): Likewise.
14201 [POSIX || XPG3] (POLL_HUP): Likewise.
14202 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14203 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14204 (SIG*): Do not allow.
14205 [XPG3] (si_*): Likewise.
14206 [XPG3] (SI_*): Likewise.
14207 [XPG3 || XPG4] (sigev_*): Likewise.
14208 [XPG3 || XPG4] (SIGEV_*): Likewise.
14209 [XPG3 || XPG4] (sival_*): Likewise.
14210 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14211 [POSIX || XPG3] (BUS_*): Likewise.
14212 [POSIX || XPG3] (CLD_*): Likewise.
14213 [POSIX || XPG3] (FPE_*): Likewise.
14214 [POSIX || XPG3] (ILL_*): Likewise.
14215 [POSIX || XPG3] (POLL_*): Likewise.
14216 [POSIX || XPG3] (SEGV_*): Likewise.
14217 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14218 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14219 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14220 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14221 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14222 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14223 Specify type and value.
14224 (TVERSLEN): Likewise.
14225 (REGTYPE): Likewise.
14226 (AREGTYPE): Likewise.
14227 (LNKTYPE): Likewise.
14228 (SYMTYPE): Likewise.
14229 (CHRTYPE): Likewise.
14230 (BLKTYPE): Likewise.
14231 (DIRTYPE): Likewise.
14232 (FIFOTYPE): Likewise.
14233 (CONTTYPE): Likewise.
14234 (TSUID): Likewise.
14235 (TSGID): Likewise.
14236 (TSVTX): Likewise.
14237 (TUREAD): Likewise.
14238 (TUWRITE): Likewise.
14239 (TUEXEC): Likewise.
14240 (TGREAD): Likewise.
14241 (TGWRITE): Likewise.
14242 (TGEXEC): Likewise.
14243 (TOREAD): Likewise.
14244 (TOWRITE): Likewise.
14245 (TOEXEC): Likewise.
14246 [POSIX] (TSVTX): Expect constant.
14247
142482014-03-06 Joseph Myers <joseph@codesourcery.com>
14249
14250 * Makefile (tests): Change dependencies to ....
14251 (tests-special): ... additions to this variable.
14252 (tests): Depend on $(tests-special).
14253 * Makerules (check-abi-list): New variable.
14254 (check-abi): Depend on $(check-abi-list).
14255 [$(subdir) = elf] (tests-special): Add
14256 $(objpfx)check-abi-libc.out.
14257 [$(build-shared) = yes && subdir] (tests-special): Add
14258 $(check-abi-list).
14259 [$(build-shared) = yes && subdir] (tests): Do not depend on
14260 check-abi.
14261 * Rules (tests): Depend on $(tests-special).
14262 (xtests): Depend on $(xtests-special).
14263 * catgets/Makefile (tests): Change dependencies to ....
14264 (tests-special): ... additions to this variable.
14265 * conform/Makefile (tests): Change dependencies to ....
14266 (tests-special): ... additions to this variable.
14267 * elf/Makefile (tests): Change dependencies to ....
14268 (tests-special): ... additions to this variable.
14269 * grp/Makefile (tests): Change dependencies to ....
14270 (tests-special): ... additions to this variable.
14271 * iconv/Makefile (xtests): Change dependencies to ....
14272 (xtests-special): ... additions to this variable.
14273 * iconvdata/Makefile (tests): Change dependencies to ....
14274 (tests-special): ... additions to this variable.
14275 * intl/Makefile (tests): Change dependencies to ....
14276 (tests-special): ... additions to this variable. Also add
14277 $(objpfx)tst-gettext.out.
14278 * io/Makefile (tests): Change dependencies to ....
14279 (tests-special): ... additions to this variable.
14280 * libio/Makefile (tests): Change dependencies to ....
14281 (tests-special): ... additions to this variable.
14282 * malloc/Makefile (tests): Change dependencies to ....
14283 (tests-special): ... additions to this variable.
14284 * misc/Makefile (tests): Change dependencies to ....
14285 (tests-special): ... additions to this variable.
14286 * nptl/Makefile (tests): Change dependencies to ....
14287 (tests-special): ... additions to this variable.
14288 * nptl_db/Makefile (tests): Change dependencies to ....
14289 (tests-special): ... additions to this variable.
14290 * posix/Makefile (tests): Change dependencies to ....
14291 (tests-special): ... additions to this variable.
14292 (xtests): Change dependencies to ....
14293 (xtests-special): ... additions to this variable.
14294 * resolv/Makefile (tests): Change dependencies to ....
14295 (tests-special): ... additions to this variable.
14296 (xtests): Change dependencies to ....
14297 (xtests-special): ... additions to this variable.
14298 * stdio-common/Makefile (tests): Change dependencies to ....
14299 (tests-special): ... additions to this variable.
14300 (do-tst-unbputc): Remove target.
14301 (do-tst-printf): Likewise.
14302 * stdlib/Makefile (tests): Change dependencies to ....
14303 (tests-special): ... additions to this variable.
14304 * string/Makefile (tests): Change dependencies to ....
14305 (tests-special): ... additions to this variable.
14306 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14307 (tests-special): ... additions to this variable.
14308
14309 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14310 whole file.
14311 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14312 whole file.
14313 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14314 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14315
14316 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14317 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14318 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14319 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14320 * conform/data/libgen.h-data [XPG3]: Likewise.
14321 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14322 * conform/data/ndbm.h-data [XPG3]: Likewise.
14323 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14324 * conform/data/netdb.h-data [XPG3]: Likewise.
14325 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14326 * conform/data/poll.h-data [XPG3]: Likewise.
14327 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14328 * conform/data/strings.h-data [XPG3]: Likewise.
14329 * conform/data/stropts.h-data [XPG3]: Likewise.
14330 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14331 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14332 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14333 Likewise.
14334 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14335 * conform/data/sys/time.h-data [XPG3]: Likewise.
14336 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14337 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14338 * conform/data/sys/un.h-data [XPG3]: Likewise.
14339 * conform/data/syslog.h-data [XPG3]: Likewise.
14340 * conform/data/ucontext.h-data [XPG3]: Likewise.
14341 * conform/data/utmpx.h-data [XPG3]: Likewise.
14342 * conform/data/varargs.h-data [UNIX98]: Enable file.
14343
14344 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14345
14346 * math/libm-test.inc (struct test_f_f_data): Move expected results
14347 into structure for each rounding mode.
14348 (struct test_ff_f_data): Likewise.
14349 (struct test_ff_f_data_nexttoward): Likewise.
14350 (struct test_fi_f_data): Likewise.
14351 (struct test_fl_f_data): Likewise.
14352 (struct test_if_f_data): Likewise.
14353 (struct test_fff_f_data): Likewise.
14354 (struct test_c_f_data): Likewise.
14355 (struct test_f_f1_data): Likewise.
14356 (struct test_fF_f1_data): Likewise.
14357 (struct test_ffI_f1_data): Likewise.
14358 (struct test_c_c_data): Likewise.
14359 (struct test_cc_c_data): Likewise.
14360 (struct test_f_i_data): Likewise.
14361 (struct test_ff_i_data): Likewise.
14362 (struct test_f_l_data): Likewise.
14363 (struct test_f_L_data): Likewise.
14364 (struct test_fFF_11_data): Likewise.
14365 (RM_): New macro.
14366 (RM_FE_DOWNWARD): Likewise.
14367 (RM_FE_TONEAREST): Likewise.
14368 (RM_FE_TOWARDZERO): Likewise.
14369 (RM_FE_UPWARD): Likewise.
14370 (RUN_TEST_LOOP_f_f): Update references to expected results.
14371 (RUN_TEST_LOOP_2_f): Likewise.
14372 (RUN_TEST_LOOP_fff_f): Likewise.
14373 (RUN_TEST_LOOP_c_f): Likewise.
14374 (RUN_TEST_LOOP_f_f1): Likewise.
14375 (RUN_TEST_LOOP_fF_f1): Likewise.
14376 (RUN_TEST_LOOP_fI_f1): Likewise.
14377 (RUN_TEST_LOOP_ffI_f1): Likewise.
14378 (RUN_TEST_LOOP_c_c): Likewise.
14379 (RUN_TEST_LOOP_cc_c): Likewise.
14380 (RUN_TEST_LOOP_f_i): Likewise.
14381 (RUN_TEST_LOOP_f_i_tg): Likewise.
14382 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14383 (RUN_TEST_LOOP_f_b): Likewise.
14384 (RUN_TEST_LOOP_f_b_tg): Likewise.
14385 (RUN_TEST_LOOP_f_l): Likewise.
14386 (RUN_TEST_LOOP_f_L): Likewise.
14387 (RUN_TEST_LOOP_fFF_11): Likewise.
14388 * math/gen-libm-test.pl (parse_args): Output four copies of
14389 expected results for each test.
14390
14391 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14392 (__ASSUME_UTIMES): Remove.
14393 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14394 (__ASSUME_UTIMES): Likewise.
14395
14396 * math/gen-auto-libm-tests.c: Update comment on output format.
14397 (output_for_one_input_case): Generate before-rounding and
14398 after-rounding information as conditions on output flags not
14399 floating-point format.
14400 * math/auto-libm-test-out: Regenerated.
14401 * math/gen-libm-test.pl (cond_value): New function.
14402 (or_cond_value): Use cond_value.
14403 (generate_testfile): Handle conditional exceptions.
14404
144052014-03-05 Joseph Myers <joseph@codesourcery.com>
14406
14407 * math/libm-test.inc (max_valid_error): New variable.
14408 (init_max_error): Take new argument specifying whether function
14409 results are exactly determined. Set max_valid_error and bound
14410 other variables for errors based on this argument.
14411 (set_max_error): Do not record results above max_valid_error.
14412 (check_float_internal): Only accept errors of up to 0.5ulps if
14413 also at most max_valid_error.
14414 (START): Take new argument EXACT and pass it to init_max_error.
14415 (acos_test): Update call to START.
14416 (acos_test_tonearest): Likewise.
14417 (acos_test_towardzero): Likewise.
14418 (acos_test_downward): Likewise.
14419 (acos_test_upward): Likewise.
14420 (acosh_test): Likewise.
14421 (asin_test): Likewise.
14422 (asin_test_tonearest): Likewise.
14423 (asin_test_towardzero): Likewise.
14424 (asin_test_downward): Likewise.
14425 (asin_test_upward): Likewise.
14426 (asinh_test): Likewise.
14427 (atan_test): Likewise.
14428 (atanh_test): Likewise.
14429 (atan2_test): Likewise.
14430 (cabs_test): Likewise.
14431 (cacos_test): Likewise.
14432 (cacosh_test): Likewise.
14433 (carg_test): Likewise.
14434 (casin_test): Likewise.
14435 (casinh_test): Likewise.
14436 (catan_test): Likewise.
14437 (catanh_test): Likewise.
14438 (cbrt_test): Likewise.
14439 (ccos_test): Likewise.
14440 (ccosh_test): Likewise.
14441 (ceil_test): Likewise.
14442 (cexp_test): Likewise.
14443 (cimag_test): Likewise.
14444 (clog_test): Likewise.
14445 (clog10_test): Likewise.
14446 (conj_test): Likewise.
14447 (copysign_test): Likewise.
14448 (cos_test): Likewise.
14449 (cos_test_tonearest): Likewise.
14450 (cos_test_towardzero): Likewise.
14451 (cos_test_downward): Likewise.
14452 (cos_test_upward): Likewise.
14453 (cosh_test): Likewise.
14454 (cosh_test_tonearest): Likewise.
14455 (cosh_test_towardzero): Likewise.
14456 (cosh_test_downward): Likewise.
14457 (cosh_test_upward): Likewise.
14458 (cpow_test): Likewise.
14459 (cproj_test): Likewise.
14460 (creal_test): Likewise.
14461 (csin_test): Likewise.
14462 (csinh_test): Likewise.
14463 (csqrt_test): Likewise.
14464 (ctan_test): Likewise.
14465 (ctan_test_tonearest): Likewise.
14466 (ctan_test_towardzero): Likewise.
14467 (ctan_test_downward): Likewise.
14468 (ctan_test_upward): Likewise.
14469 (ctanh_test): Likewise.
14470 (ctanh_test_tonearest): Likewise.
14471 (ctanh_test_towardzero): Likewise.
14472 (ctanh_test_downward): Likewise.
14473 (ctanh_test_upward): Likewise.
14474 (erf_test): Likewise.
14475 (erfc_test): Likewise.
14476 (exp_test): Likewise.
14477 (exp_test_tonearest): Likewise.
14478 (exp_test_towardzero): Likewise.
14479 (exp_test_downward): Likewise.
14480 (exp_test_upward): Likewise.
14481 (exp10_test): Likewise.
14482 (exp10_test_tonearest): Likewise.
14483 (exp10_test_towardzero): Likewise.
14484 (exp10_test_downward): Likewise.
14485 (exp10_test_upward): Likewise.
14486 (pow10_test): Likewise.
14487 (exp2_test): Likewise.
14488 (expm1_test): Likewise.
14489 (expm1_test_tonearest): Likewise.
14490 (expm1_test_towardzero): Likewise.
14491 (expm1_test_downward): Likewise.
14492 (expm1_test_upward): Likewise.
14493 (fabs_test): Likewise.
14494 (fdim_test): Likewise.
14495 (floor_test): Likewise.
14496 (fma_test): Likewise.
14497 (fma_test_towardzero): Likewise.
14498 (fma_test_downward): Likewise.
14499 (fma_test_upward): Likewise.
14500 (fmax_test): Likewise.
14501 (fmin_test): Likewise.
14502 (fmod_test): Likewise.
14503 (fpclassify_test): Likewise.
14504 (frexp_test): Likewise.
14505 (hypot_test): Likewise.
14506 (ilogb_test): Likewise.
14507 (isfinite_test): Likewise.
14508 (finite_test): Likewise.
14509 (isgreater_test): Likewise.
14510 (isgreaterequal_test): Likewise.
14511 (isinf_test): Likewise.
14512 (isless_test): Likewise.
14513 (islessequal_test): Likewise.
14514 (islessgreater_test): Likewise.
14515 (isnan_test): Likewise.
14516 (isnormal_test): Likewise.
14517 (issignaling_test): Likewise.
14518 (isunordered_test): Likewise.
14519 (j0_test): Likewise.
14520 (j1_test): Likewise.
14521 (jn_test): Likewise.
14522 (ldexp_test): Likewise.
14523 (lgamma_test): Likewise.
14524 (gamma_test): Likewise.
14525 (lrint_test): Likewise.
14526 (lrint_test_tonearest): Likewise.
14527 (lrint_test_towardzero): Likewise.
14528 (lrint_test_downward): Likewise.
14529 (lrint_test_upward): Likewise.
14530 (llrint_test): Likewise.
14531 (llrint_test_tonearest): Likewise.
14532 (llrint_test_towardzero): Likewise.
14533 (llrint_test_downward): Likewise.
14534 (llrint_test_upward): Likewise.
14535 (log_test): Likewise.
14536 (log10_test): Likewise.
14537 (log1p_test): Likewise.
14538 (log2_test): Likewise.
14539 (logb_test): Likewise.
14540 (logb_test_downward): Likewise.
14541 (lround_test): Likewise.
14542 (llround_test): Likewise.
14543 (modf_test): Likewise.
14544 (nearbyint_test): Likewise.
14545 (nextafter_test): Likewise.
14546 (nexttoward_test): Likewise.
14547 (pow_test): Likewise.
14548 (pow_test_tonearest): Likewise.
14549 (pow_test_towardzero): Likewise.
14550 (pow_test_downward): Likewise.
14551 (pow_test_upward): Likewise.
14552 (remainder_test): Likewise.
14553 (drem_test): Likewise.
14554 (remainder_test_tonearest): Likewise.
14555 (drem_test_tonearest): Likewise.
14556 (remainder_test_towardzero): Likewise.
14557 (drem_test_towardzero): Likewise.
14558 (remainder_test_downward): Likewise.
14559 (drem_test_downward): Likewise.
14560 (remainder_test_upward): Likewise.
14561 (drem_test_upward): Likewise.
14562 (remquo_test): Likewise.
14563 (rint_test): Likewise.
14564 (rint_test_tonearest): Likewise.
14565 (rint_test_towardzero): Likewise.
14566 (rint_test_downward): Likewise.
14567 (rint_test_upward): Likewise.
14568 (round_test): Likewise.
14569 (scalb_test): Likewise.
14570 (scalbn_test): Likewise.
14571 (scalbln_test): Likewise.
14572 (signbit_test): Likewise.
14573 (sin_test): Likewise.
14574 (sin_test_tonearest): Likewise.
14575 (sin_test_towardzero): Likewise.
14576 (sin_test_downward): Likewise.
14577 (sin_test_upward): Likewise.
14578 (sincos_test): Likewise.
14579 (sinh_test): Likewise.
14580 (sinh_test_tonearest): Likewise.
14581 (sinh_test_towardzero): Likewise.
14582 (sinh_test_downward): Likewise.
14583 (sinh_test_upward): Likewise.
14584 (sqrt_test): Likewise.
14585 (sqrt_test_tonearest): Likewise.
14586 (sqrt_test_towardzero): Likewise.
14587 (sqrt_test_downward): Likewise.
14588 (sqrt_test_upward): Likewise.
14589 (tan_test): Likewise.
14590 (tan_test_tonearest): Likewise.
14591 (tan_test_towardzero): Likewise.
14592 (tan_test_downward): Likewise.
14593 (tan_test_upward): Likewise.
14594 (tanh_test): Likewise.
14595 (tgamma_test): Likewise.
14596 (trunc_test): Likewise.
14597 (y0_test): Likewise.
14598 (y1_test): Likewise.
14599 (yn_test): Likewise.
14600 (significand_test): Likewise.
14601
14602 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14603 individual tests in comment.
14604 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14605 (prev_max_error): New variable.
14606 (prev_real_max_error): Likewise.
14607 (prev_imag_max_error): Likewise.
14608 (compare_ulp_data): Don't refer to test names in comment.
14609 (find_test_ulps): Remove function.
14610 (find_function_ulps): Likewise.
14611 (find_complex_function_ulps): Likewise.
14612 (init_max_error): Take function name as argument. Look up ulps
14613 for that function.
14614 (print_ulps): Remove function.
14615 (print_max_error): Use prev_max_error instead of calling
14616 find_function_ulps.
14617 (print_complex_max_error): Use prev_real_max_error and
14618 prev_imag_max_error instead of calling find_complex_function_ulps.
14619 (check_float_internal): Take max_ulp parameter instead of calling
14620 find_test_ulps. Don't call print_ulps.
14621 (check_float): Update call to check_float_internal.
14622 (check_complex): Update calls to check_float_internal.
14623 (START): Pass argument to init_max_error.
14624 * math/gen-libm-test.pl (%results): Don't include "kind"
14625 information.
14626 (parse_ulps): Don't handle ulps of individual tests.
14627 (print_ulps_file): Likewise.
14628 (output_ulps): Likewise.
14629 * math/README.libm-test: Update.
14630 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14631 individual tests.
14632 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14633 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14634 * sysdeps/arm/libm-test-ulps: Likewise.
14635 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14636 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14637 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14638 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14639 * sysdeps/microblaze/libm-test-ulps: Likewise.
14640 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14641 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14643 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14644 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14645 * sysdeps/sh/libm-test-ulps: Likewise.
14646 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14647 * sysdeps/tile/libm-test-ulps: Likewise.
14648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14649
146502014-03-04 Joseph Myers <joseph@codesourcery.com>
14651
14652 * math/libm-test.inc (print_complex_max_error): Check separately
14653 whether real and imaginary errors are within allowed range and
14654 pass 0 to print_complex_function_ulps instead of value within
14655 allowed range.
14656
146572014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14658
14659 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14660 formatting.
14661 (get_handles_fopen): Likewise.
14662 (do_write_test): Likewise.
14663
14664 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14665
14666 * libio/fileops.c (do_ftell): Use cached offset when
14667 available.
14668 * libio/iofwide.c (do_ftell_wide): Likewise.
14669 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14670 _IO_file_attach.
14671 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14672
14673 [BZ #16532]
14674 * libio/libioP.h (get_file_offset): New function.
14675 * libio/fileops.c (get_file_offset): Likewise.
14676 (do_ftell): Likewise.
14677 (_IO_new_file_seekoff): Split out ftell logic.
14678 * libio/wfileops.c (do_ftell_wide): Likewise.
14679 (_IO_wfile_seekoff): Split out ftell logic.
14680 * libio/tst-ftell-active-handler.c: New test case.
14681 * libio/Makefile (tests): Add it.
14682
146832014-03-03 Roland McGrath <roland@hack.frob.com>
14684
14685 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14686 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14687
146882014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14689
14690 [BZ #16639]
14691 * nscd/connections.c (nscd_init): Call do_exit.
14692 (start_threads): Call do_exit and notify_parent.
14693 (begin_drop_privileges): Call do_exit.
14694 (finish_drop_privileges): Likewise.
14695 * nscd/selinux.c (preserve_capabilities): Likewise.
14696 (install_real_capabilities): Likewise.
14697 (nscd_selinux_enabled): Likewise.
14698 (avc_create_thread): Likewise.
14699 (avc_alloc_lock): Likewise.
14700 (nscd_avc_init): Likewise.
14701 * nscd/nscd.c (parent_fd): New static variable.
14702 (main): Create a pipe between parent and child processes.
14703 Skip closing parent_fd.
14704 (monitor_child): New function.
14705 (do_exit): Likewise.
14706 (notify_parent): Likewise.
14707 * nscd/nscd.h (notify_parent): Likewise.
14708 (do_exit): Likewise.
14709
147102014-03-03 Carlos O'Donell <carlos@redhat.com>
14711
14712 * malloc/malloc.c (__libc_calloc): Revert last change.
14713
147142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14715
14716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14717
147182014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14719
14720 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14722 implementation.
14723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14724 (__libc_ifunc_impl_list): Likewise.
14725 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14726 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14727 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14728 * string/strrchr.c: Define STRRCHR.
14729
147302014-02-28 Ondřej Bílka <neleai@seznam.cz>
14731
14732 * benchtest/bench-strtok.c (simple_strtok): Delete.
14733 (strtok_string): Use as benchmark.
14734 * string/strtok (STRTOK): New macro.
14735
147362014-02-28 Carlos O'Donell <carlos@redhat.com>
14737
14738 * manual/threads.texi: Add header and standard comments to all
14739 functions.
14740
14741 * elf/dl-lookup.c (check_match): New function.
14742 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14743 (do_lookup_x): Remove nested function check_match. Use non-nested
14744 function check_match.
14745
147462014-02-28 Roland McGrath <roland@hack.frob.com>
14747
14748 * csu/Makefile (generated, before-compile): Use += rather than =.
14749 * catgets/Makefile (generated, generated-dirs): Likewise.
14750 * debug/Makefile (generated): Likewise.
14751 * dlfcn/Makefile (generated): Likewise.
14752 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14753 * iconvdata/Makefile (before-compile, generated): Likewise.
14754 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14755 * libio/Makefile (generated): Likewise.
14756 * malloc/Makefile (generated): Likewise.
14757 * manual/Makefile (generated, generated-dirs): Likewise.
14758 * misc/Makefile (generated): Likewise.
14759 * posix/Makefile (generated): Likewise.
14760 * resolv/Makefile (generated): Likewise.
14761 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14762 * timezone/Makefile (generated, generated-dirs): Likewise.
14763
14764 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14765
147662014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14767
14768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14769 power8 implementation.
14770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14771 file: POWER8 llround ifunc implementation.
14772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14773 (__lllround): Add POWER8 implementation.
14774 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14775 POWER8 llround implementation.
14776
14777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14778 power8 implementation.
14779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14780 file: POWER8 llrint ifunc implementation.
14781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14782 Add POWER8 implementation.
14783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14784 POWER8 llrint implementation.
14785
14786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14787 power8 implementation.
14788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14789 file: POWER8 finite ifunc implementation.
14790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14791 Add POWER8 implementation.
14792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14793 Likewise.
14794 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14795 POWER8 finite implementation.
14796 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14797
14798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14799 power8 implementation.
14800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14801 file: POWER8 isinf ifunc implementation.
14802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14803 POWER8 implementation.
14804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14805 Likewise.
14806 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14807 isinf implementation.
14808 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14809
14810 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14811 (INIT_ARCH): Add hwcap2 initialization.
14812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14813 power8 implementation.
14814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14815 file: POWER8 isnan ifunc implementation.
14816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14817 POWER8 implementation.
14818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14819 Likewise.
14820 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14821 isnan implementation.
14822 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14823
148242014-02-27 Joey Ye <joey.ye@arm.com>
14825
14826 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14827 (_FP_NANFRAC_Q): Set to zero.
14828
148292014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14830
14831 [BZ #16623]
14832 * math/auto-libm-test-in: New test inputs.
14833 * math/auto-libm-test-out: Regenerate.
14834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14835 and DA.
14836 (__cos): Likewise.
14837 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14838
148392014-02-27 Joseph Myers <joseph@codesourcery.com>
14840
14841 * scripts/evaluate-test.sh: Take new argument indicating whether
14842 failure is expected.
14843 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14844 indicating whether failure is expected.
14845 * conform/Makefile (test-xfail-run-conformtest): New variable.
14846 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14847 level.
14848 * posix/Makefile (test-xfail-annexc): New variable.
14849 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14850
148512014-02-26 Joseph Myers <joseph@codesourcery.com>
14852
14853 * argp/Makefile: Include Makeconfig immediately after defining
14854 subdir.
14855 * assert/Makefile: Likewise.
14856 * benchtests/Makefile: Likewise.
14857 * catgets/Makefile: Likewise.
14858 * conform/Makefile: Likewise.
14859 * crypt/Makefile: Likewise.
14860 * csu/Makefile: Likewise.
14861 (all): Remove target.
14862 * ctype/Makefile: Include Makeconfig immediately after defining
14863 subdir.
14864 * debug/Makefile: Likewise.
14865 * dirent/Makefile: Likewise.
14866 * dlfcn/Makefile: Likewise.
14867 * gmon/Makefile: Likewise.
14868 * gnulib/Makefile: Likewise.
14869 * grp/Makefile: Likewise.
14870 * gshadow/Makefile: Likewise.
14871 * hesiod/Makefile: Likewise.
14872 * hurd/Makefile: Likewise.
14873 (all): Remove target.
14874 * iconvdata/Makefile: Include Makeconfig immediately after
14875 defining subdir.
14876 * inet/Makefile: Likewise.
14877 * intl/Makefile: Likewise.
14878 * io/Makefile: Likewise.
14879 * libio/Makefile: Likewise.
14880 (all): Remove target.
14881 * locale/Makefile: Include Makeconfig immediately after defining
14882 subdir.
14883 * login/Makefile: Likewise.
14884 * mach/Makefile: Likewise.
14885 (all): Remove target.
14886 * malloc/Makefile: Include Makeconfig immediately after defining
14887 subdir.
14888 (all): Remove target.
14889 * manual/Makefile: Include Makeconfig immediately after defining
14890 subdir.
14891 * math/Makefile: Likewise.
14892 * misc/Makefile: Likewise.
14893 * nis/Makefile: Likewise.
14894 * nss/Makefile: Likewise.
14895 * po/Makefile: Likewise.
14896 (all): Remove target.
14897 * posix/Makefile: Include Makeconfig immediately after defining
14898 subdir.
14899 * pwd/Makefile: Likewise.
14900 * resolv/Makefile: Likewise.
14901 * resource/Makefile: Likewise.
14902 * rt/Makefile: Likewise.
14903 * setjmp/Makefile: Likewise.
14904 * shadow/Makefile: Likewise.
14905 * signal/Makefile: Likewise.
14906 * socket/Makefile: Likewise.
14907 * soft-fp/Makefile: Likewise.
14908 * stdio-common/Makefile: Likewise.
14909 * stdlib/Makefile: Likewise.
14910 * streams/Makefile: Likewise.
14911 * string/Makefile: Likewise.
14912 * sunrpc/Makefile: Likewise.
14913 (all): Remove target.
14914 * sysvipc/Makefile: Include Makeconfig immediately after defining
14915 subdir.
14916 * termios/Makefile: Likewise.
14917 * time/Makefile: Likewise.
14918 * timezone/Makefile: Likewise.
14919 (all): Remove target.
14920 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14921 subdir.
14922 * wctype/Makefile: Likewise.
14923
149242014-02-26 Steve Ellcey <sellcey@mips.com>
14925
14926 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14927 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14928 (libc_feholdexcept_setround_mips): Ditto.
14929 (libc_feholdsetround): New.
14930 (libc_feholdsetroundf): New.
14931 (libc_feholdsetroundl): New.
14932 (libc_feupdateenv_test_mips): New.
14933 (libc_feupdateenv_test): New.
14934 (libc_feupdateenv_testf): New.
14935 (libc_feupdateenv_testl): New.
14936 (libc_feresetround): New.
14937 (libc_feresetroundf): New.
14938 (libc_feresetroundl): New.
14939 (libc_fetestexcept_mips): New.
14940 (libc_fetestexcept): New.
14941 (libc_fetestexceptf): New.
14942 (libc_fetestexceptl): New.
14943 (HAVE_RM_CTX): New.
14944 (libc_feholdexcept_setround_mips_ctx): New.
14945 (libc_feholdexcept_setround_ctx): New.
14946 (libc_feholdexcept_setroundf_ctx): New.
14947 (libc_feholdexcept_setroundl_ctx): New.
14948 (libc_fesetenv_mips_ctx): New.
14949 (libc_fesetenv_ctx): New.
14950 (libc_fesetenv_ctxf): New.
14951 (libc_fesetenv_ctxl): New.
14952 (libc_feupdateenv_mips_ctx): New.
14953 (libc_feupdateenv_ctx): New.
14954 (libc_feupdateenvf_ctx): New.
14955 (libc_feupdateenvl_ctx): New.
14956 (libc_feholdsetround_mips_ctx): New.
14957 (libc_feholdsetround_ctx): New.
14958 (libc_feholdsetroundf_ctx): New.
14959 (libc_feholdsetroundl_ctx): New.
14960 (libc_feresetround_mips_ctx): New.
14961 (libc_feresetround_ctx): New.
14962 (libc_feresetroundf_ctx): New.
14963 (libc_feresetroundl_ctx): New.
14964
149652014-02-26 Carlos O'Donell <carlos@redhat.com>
14966
14967 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14968
14969 * manual/ipc.texi: New file.
14970 * manual/Makefile (chapters): Add ipc.
14971 * manual/job.texi: Add "Inter-Process Communication" to next.
14972 * manual/process.texi: Add "Inter-Process Communication" to prev.
14973
149742014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14975
14976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14977
149782014-02-26 Ondřej Bílka <neleai@seznam.cz>
14979
14980 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14981
14982 * manual/arith.texi: Fix spaces after sentences.
14983 * manual/charset.texi: Likewise.
14984 * manual/errno.texi: Likewise.
14985 * manual/install.texi: Likewise.
14986 * manual/llio.texi: Likewise.
14987 * manual/locale.texi: Likewise.
14988 * manual/maint.texi: Likewise.
14989 * manual/math.texi: Likewise.
14990 * manual/memory.texi: Likewise.
14991 * manual/message.texi: Likewise.
14992 * manual/probes.texi: Likewise.
14993 * manual/resource.texi: Likewise.
14994 * manual/signal.texi: Likewise.
14995 * manual/socket.texi: Likewise.
14996 * manual/stdio.texi: Likewise.
14997 * manual/string.texi: Likewise.
14998 * manual/time.texi: Likewise.
14999 * manual/users.texi: Likewise.
15000
150012014-02-25 Carlos O'Donell <carlos@redhat.com>
15002
15003 [BZ #16632]
15004 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15005 _DEFAULT_SOURCE is defined.
15006
150072014-02-25 Ulrich Drepper <drepper@gmail.com>
15008 Carlos O'Donell <carlos@redhat.com>
15009
15010 [BZ #16613]
15011 * elf/dl-tls.c (_dl_count_modids): New function.
15012 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15013 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15014 audit library and increment generation counter.
15015 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15016 * elf/tst-audit9.c: New file.
15017 * elf/tst-auditmod9a.c: New file.
15018 * elf/tst-auditmod9b.c: New file.
15019 * elf/Makefile: Add rules to build and run tst-audit9.
15020
150212014-02-25 Florian Weimer <fweimer@redhat.com>
15022
15023 [BZ #15347]
15024 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15025
150262014-02-25 Will Newton <will.newton@linaro.org>
15027
15028 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15029 (__longjmp): Restore sp and lr before restoring callee
15030 saved registers. Add longjmp and longjmp_target
15031 SystemTap probe point.
15032 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15033 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15034 Define to zero to match jmpbuf layout.
15035 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15036 (__sigsetjmp): Save sp and lr before saving callee
15037 saved registers. Add setjmp SystemTap probe point.
15038
150392014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15040
15041 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15042
150432014-02-24 Andreas Schwab <schwab@suse.de>
15044
15045 [BZ #15804]
15046 * elf/pldd.c (wait_for_ptrace_stop): New function.
15047 (main): Call it after attaching.
15048
150492014-02-22 Roland McGrath <roland@hack.frob.com>
15050
15051 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15052 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15053 Versions files is now verboten.
15054 * hurd/Versions (libc: GLIBC_2.0):
15055 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15056 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15057 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15058 * mach/Versions: Likewise.
15059
15060 * csu/Versions: Remove unused %include.
15061 * resolv/Versions: Likewise.
15062
150632014-02-21 Joseph Myers <joseph@codesourcery.com>
15064
15065 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15066 ($(objpfx)check-local-headers.out): Likewise.
15067 ($(objpfx)begin-end-check.out): Likewise.
15068 * Makerules (check-abi-%.out): Likewise.
15069 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15070 ($(objpfx)test2.cat): Likewise.
15071 ($(objpfx)de/libc.cat): Likewise.
15072 ($(objpfx)test-gencat.out): Likewise.
15073 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15074 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15075 ($(objpfx)noload-mem): Likewise.
15076 ($(objpfx)tst-pathopt.out): Likewise.
15077 ($(objpfx)tst-rtld-load-self.out): Likewise.
15078 ($(objpfx)tst-array1-cmp.out): Likewise.
15079 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15080 ($(objpfx)tst-array2-cmp.out): Likewise.
15081 ($(objpfx)tst-array3-cmp.out): Likewise.
15082 ($(objpfx)tst-array4-cmp.out): Likewise.
15083 ($(objpfx)tst-array5-cmp.out): Likewise.
15084 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15085 ($(objpfx)check-textrel.out): Likewise.
15086 ($(objpfx)check-execstack.out): Likewise.
15087 ($(objpfx)check-localplt.out): Likewise.
15088 ($(objpfx)order2-cmp.out): Likewise.
15089 ($(objpfx)tst-leaks1-mem): Likewise.
15090 ($(objpfx)tst-leaks1-static-mem): Likewise.
15091 ($(objpfx)tst-initorder-cmp.out): Likewise.
15092 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15093 ($(objpfx)tst-unused-dep.out): Likewise.
15094 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15095 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15096 * iconv/Makefile (test-iconvconfig): Likewise.
15097 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15098 ($(objpfx)iconv-test.out): Likewise.
15099 ($(objpfx)tst-tables.out): Likewise.
15100 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15101 ($(objpfx)tst-gettext.out): Likewise.
15102 ($(objpfx)tst-translit.out): Likewise.
15103 ($(objpfx)tst-gettext2.out): Likewise.
15104 ($(objpfx)tst-gettext4.out): Likewise.
15105 ($(objpfx)tst-gettext6.out): Likewise.
15106 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15107 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15108 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15109 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15110 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15111 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15112 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15113 ($(objpfx)wordexp-tst.out): Likewise.
15114 ($(objpfx)annexc.out): Likewise.
15115 ($(objpfx)tst-fnmatch-mem): Likewise.
15116 ($(objpfx)bug-regex2-mem): Likewise.
15117 ($(objpfx)bug-regex14-mem): Likewise.
15118 ($(objpfx)bug-regex21-mem): Likewise.
15119 ($(objpfx)bug-regex31-mem): Likewise.
15120 ($(objpfx)tst-vfork3-mem): Likewise.
15121 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15122 ($(objpfx)tst-pcre-mem): Likewise.
15123 ($(objpfx)tst-boost-mem): Likewise.
15124 ($(objpfx)tst-getconf.out): Likewise.
15125 ($(objpfx)bug-ga2-mem): Likewise.
15126 ($(objpfx)bug-glob2-mem): Likewise.
15127 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15128 ($(objpfx)mtrace-tst-leaks2): Likewise.
15129 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15130 ($(objpfx)tst-printf.out): Likewise.
15131 ($(objpfx)tst-setvbuf1.out): Likewise.
15132 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15133 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15134 ($(objpfx)tst-fmtmsg.out): Likewise.
15135 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15136 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15137
15138 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15139 * bits/sigaction.h [__USE_MISC]: Likewise.
15140 * bits/waitstatus.h: Update #endif comments.
15141 * ctype/ctype.h: Likewise.
15142 * dirent/dirent.h: Likewise.
15143 [__USE_MISC]: Remove redundant conditionals.
15144 * grp/grp.h: Update #endif comments.
15145 [__USE_GNU]: Remove redundant conditionals.
15146 [__USE_MISC]: Likewise.
15147 * inet/netinet/in.h [__USE_GNU]: Likewise.
15148 * io/sys/stat.h [__USE_MISC]: Likewise.
15149 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15150 * libio/bits/stdio.h: Update #endif comments.
15151 [__USE_MISC]: Remove redundant conditionals.
15152 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15153 * libio/stdio.h: Update #endif comments.
15154 [__USE_MISC]: Remove redundant conditionals.
15155 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15156 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15157 * math/math.h: Update #else and #endif comments.
15158 [__USE_MISC]: Remove redundant conditionals.
15159 * misc/sys/uio.h: Update #endif comments.
15160 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15161 * posix/glob.h [__USE_MISC]: Likewise.
15162 * posix/sys/types.h: Update #endif comments.
15163 [__USE_MISC]: Remove redundant conditionals.
15164 * posix/sys/wait.h: Update #endif comments.
15165 [__USE_MISC]: Remove redundant conditionals.
15166 * posix/unistd.h: Update #endif comments.
15167 [__USE_MISC]: Remove redundant conditionals.
15168 * pwd/pwd.h [__USE_GNU]: Likewise.
15169 [__USE_MISC]: Likewise.
15170 * resolv/netdb.h [__USE_GNU]: Likewise.
15171 * signal/signal.h: Update #endif comments.
15172 [__USE_MISC]: Remove redundant conditionals.
15173 * stdlib/stdlib.h: Update #else and #endif comments.
15174 [__USE_MISC]: Remove redundant conditionals.
15175 [__USE_GNU]: Likewise.
15176 * string/bits/string2.h [__USE_MISC]: Likewise.
15177 * string/string.h: Update #endif comments.
15178 [__USE_MISC]: Remove redundant conditionals.
15179 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15180 Likewise.
15181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15182 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15183 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15184 Likewise.
15185 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15186 Likewise.
15187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15188 comments.
15189 [__USE_MISC]: Remove redundant conditionals.
15190 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15191 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15192 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15193 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15194 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15195 Likewise.
15196 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15197 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15198 Likewise.
15199 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15200 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15201 Likewise.
15202 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15203 Likewise.
15204 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15205 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15206 Likewise.
15207 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15208 Likewise.
15209 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15210 * sysdeps/x86/bits/string.h: Update #endif comments.
15211 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15212 conditionals.
15213 * time/sys/time.h: Update #endif comments.
15214 * time/time.h: Likewise.
15215 [__USE_MISC]: Remove redundant conditionals.
15216
152172014-02-21 Yury Gribov <y.gribov@samsung.com>
15218
15219 [BZ #16600]
15220 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15221
152222014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15223
15224 * Versions.def (librt): Add GLIBC_2.17.
15225
152262014-02-21 Adam Conrad <adconrad@0c3.net>
15227
15228 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15229 synonym for _SYS_AUXV_H to allow direct inclusion.
15230 * sysdeps/sparc/bits/hwcap.h: Likewise.
15231 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15232 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15233 * sysdeps/sparc/sysdep.h: Likewise.
15234
152352014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15236
15237 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15238
152392014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15240
15241 * benchtests/bench-strrchr.c: Print length instead of position.
15242
152432014-02-20 Joseph Myers <joseph@codesourcery.com>
15244
15245 [BZ #16611]
15246 * sysdeps/unix/sysv/linux/kernel-features.h
15247 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15248 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15249 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15250 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15251 Likewise.
15252 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15253 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15254 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15255 (__ASSUME_SENDMMSG): Define instead of using previous
15256 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15257 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15258 (__ASSUME_SENDMMSG_SYSCALL): Define.
15259 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15260 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15261 Likewise.
15262 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15263 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15264 Likewise.
15265 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15266 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15267 Likewise.
15268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15269 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15270 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15271 [__ASSUME_SENDMMSG]: Change conditionals to
15272 [__ASSUME_SENDMMSG_SOCKETCALL].
15273 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15274 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15275 Define.
15276 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15277 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15278 Likewise.
15279 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15280 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15281 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15282 [!__ASSUME_SENDMMSG]: Change conditional to
15283 [!__ASSUME_SENDMMSG_SOCKETCALL].
15284 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15285 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15286 Define.
15287
15288 [BZ #16610]
15289 * sysdeps/unix/sysv/linux/kernel-features.h
15290 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15291 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15292 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15293 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15294 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15295 [__i386__ || __sparc__]
15296 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15297 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15298 (__ASSUME_RECVMMSG): Define instead of using previous
15299 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15300 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15301 (__ASSUME_RECVMMSG_SYSCALL): Define.
15302 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15303 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15304 Likewise.
15305 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15306 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15307 Likewise.
15308 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15309 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15310 Likewise.
15311 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15312 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15313 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15314 [__ASSUME_RECVMMSG]: Change condition to
15315 [__ASSUME_RECVMMSG_SOCKETCALL].
15316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15317 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15318 Define.
15319 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15320 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15321 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15322 Likewise.
15323 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15324 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15325 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15326 [!__ASSUME_RECVMMSG]: Change condition to
15327 [!__ASSUME_RECVMMSG_SOCKETCALL].
15328 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15329 (__ASSUME_RECVMMSG_SYSCALL): Define.
15330
15331 [BZ #16609]
15332 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15333 __powerpc__ || __s390__ || __sh__ || __sparc__]
15334 (__ASSUME_SOCKETCALL): Define.
15335 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15336 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15337 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15338 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15339 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15340 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15341 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15342 (__ASSUME_ACCEPT4): Define instead of using previous
15343 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15344 __powerpc__ || __sparc__ || __s390__)] condition.
15345 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15346 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15347 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15348 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15349 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15350 [!__ASSUME_ACCEPT4]: Change condition to
15351 [!__ASSUME_ACCEPT4_SOCKETCALL].
15352 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15353 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15354 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15355 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15356 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15357 __ASSUME_ACCEPT4_SYSCALL.
15358 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15359 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15360 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15361 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15362 __ASSUME_ACCEPT4_SYSCALL.
15363 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15364 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15365 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15366 [__ASSUME_ACCEPT4]: Change condition to
15367 [__ASSUME_ACCEPT4_SOCKETCALL].
15368 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15369 (__ASSUME_SOCKETCALL): Define.
15370 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15371 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15372 (__ASSUME_SOCKETCALL): Define.
15373 (__ASSUME_ACCEPT4): Remove.
15374 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15375 Define.
15376 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15377 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15378 Likewise.
15379 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15380 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15381
15382 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15383 macro.
15384 (HWCAP_ARM_LPAE): Likewise.
15385 (HWCAP_ARM_EVTSTRM): Likewise.
15386 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15387 Add vpfd32, lpae and evtstrm.
15388 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15389 Increase to 22.
15390
153912014-02-19 Joseph Myers <joseph@codesourcery.com>
15392
15393 * math/auto-libm-test-in: Add tests of clog10.
15394 * math/auto-libm-test-out: Regenerated.
15395 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15396 * sysdeps/i386/fpu/libm-test-ulps: Update.
15397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15398
153992014-02-18 Andreas Schwab <schwab@suse.de>
15400
15401 [BZ #16574]
15402 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15403 Store non-zero if the second buffer was newly allocated.
15404 (send_dg): Likewise.
15405 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15406 to send_vc and send_dg.
15407 (res_nsend): Pass NULL for ansp2_malloced.
15408 * resolv/res_query.c (__libc_res_nquery): Add parameter
15409 answerp2_malloced and pass it down to __libc_res_nsend.
15410 (res_nquery): Pass additional NULL to __libc_res_nquery.
15411 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15412 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15413 second answer buffer if answerp2_malloced was set.
15414 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15415 (__libc_res_nquerydomain): Add parameter
15416 answerp2_malloced and pass it down to __libc_res_nquery.
15417 (res_nquerydomain): Pass additional NULL to
15418 __libc_res_nquerydomain.
15419 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15420 additional NULL to __libc_res_nsend and __libc_res_nquery.
15421 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15422 additional NULL to __libc_res_nsearch.
15423 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15424 parameter of __libc_res_nsearch to check for separately allocated
15425 second buffer.
15426 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15427 __libc_res_nquery.
15428 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15429 additional NULL to __libc_res_nquery.
15430 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15431 __libc_res_nsearch.
15432 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15433 * include/resolv.h: Update prototypes of __libc_res_nquery,
15434 __libc_res_nsearch, __libc_res_nsend.
15435
154362014-02-18 Joseph Myers <joseph@codesourcery.com>
15437
15438 * math/auto-libm-test-in: Add tests of fma.
15439 * math/auto-libm-test-out: Regenerated.
15440 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15441 (fma_towardzero_test_data): Likewise.
15442 (fma_downward_test_data): Likewise.
15443 (fma_upward_test_data): Likewise.
15444 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15445 mpc_mode.
15446 (rounding_modes): Add values for new field.
15447 (func_calc_method): Add value mpfr_fff_f.
15448 (func_calc_desc): Add mpfr_fff_f union field.
15449 (test_function): Add field exact_args.
15450 (FUNC): Add macro argument EXACT_ARGS.
15451 (FUNC_mpfr_f_f): Update call to FUNC.
15452 (FUNC_mpfr_f_f): Likewise.
15453 (FUNC_mpfr_ff_f): Likewise.
15454 (FUNC_mpfr_if_f): Likewise.
15455 (FUNC_mpc_c_f): Likewise.
15456 (FUNC_mpc_c_c): Likewise.
15457 (test_functions): Add fma. Update calls to FUNC.
15458 (handle_input_arg): Add argument exact_args.
15459 (add_test): Update call to handle_input_arg.
15460 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15461 (output_for_one_input_case): Update call to calc_generic_results.
15462 Recalculate exact zero results in each rounding mode.
15463
15464 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15465 non-negative before setting low bit.
15466 * math/auto-libm-test-in: Mark one asin test possibly having
15467 spurious underflow.
15468 * math/auto-libm-test-out: Regenerated.
15469 * sysdeps/i386/fpu/libm-test-ulps: Update.
15470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15471
154722014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15473
15474 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15475 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15476 ports/sysdeps/unix/sysv/linux/microblaze.
15477 * README: Add missing listing for microblaze*-*-linux-gnu.
15478
154792014-02-16 Ondřej Bílka <neleai@seznam.cz>
15480
15481 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15482 duplicate code
15483
154842014-02-16 Mike Frysinger <vapier@gentoo.org>
15485
15486 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15487 * sysdeps/unix/sysv/linux/ia64: Move directory from
15488 ports/sysdeps/unix/sysv/linux/ia64.
15489 * README: Update listing for ia64-*-linux-gnu.
15490
154912014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15492 Joseph Myers <joseph@codesourcery.com>
15493
15494 * Makeconfig (test-name): New variable.
15495 (evaluate-test): Likewise.
15496 * Makerules (do-test-clean): Remove .test-result files.
15497 (common-mostlyclean): Likewise.
15498 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15499 * scripts/evaluate-test.sh: New file.
15500
155012014-02-14 Joseph Myers <joseph@codesourcery.com>
15502
15503 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15504 separate $(objpfx)tst-fopenloc-cmp.out and
15505 $(objpfx)tst-fopenloc-mem.out targets.
15506 (tests): Update dependencies.
15507 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15508 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15509 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15510 (tst-rxspencer-no-utf8-ARGS): New variable.
15511 (tst-rxspencer-no-utf8-ENV): Likewise.
15512 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15513 instead of $(objpfx)tst-rxspencer-mem.
15514 ($(objpfx)tst-rxspencer-mem): Change target to
15515 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15516 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15517 * posix/tst-rxspencer-no-utf8.c: New file.
15518
15519 * elf/Makefile ($(objpfx)order.out): Remove rule.
15520 [$(run-built-tests) = yes] (tests): Depend on
15521 $(objpfx)order-cmp.out.
15522 ($(objpfx)order-cmp.out): New rule.
15523 [$(run-built-tests) = yes] (tests): Depend on
15524 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15525 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15526 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15527 $(objpfx)tst-array5-static-cmp.out.
15528 ($(objpfx)tst-array1.out): Remove rule.
15529 ($(objpfx)tst-array1-cmp.out): New rule.
15530 ($(objpfx)tst-array1-static.out): Remove rule.
15531 ($(objpfx)tst-array1-static-cmp.out): New rule.
15532 ($(objpfx)tst-array2.out): Remove rule.
15533 ($(objpfx)tst-array2-cmp.out): New rule.
15534 ($(objpfx)tst-array3.out): Remove rule.
15535 ($(objpfx)tst-array3-cmp.out): New rule.
15536 ($(objpfx)tst-array4.out): Remove rule.
15537 ($(objpfx)tst-array4-cmp.out): New rule.
15538 ($(objpfx)tst-array5.out): Remove rule.
15539 ($(objpfx)tst-array5-cmp.out): New rule.
15540 ($(objpfx)tst-array5-static.out): Remove rule.
15541 ($(objpfx)tst-array5-static-cmp.out): New rule.
15542 [$(run-built-tests) = yes] (tests): Depend on
15543 $(objpfx)order2-cmp.out.
15544 ($(objpfx)order2.out): Remove rule.
15545 ($(objpfx)order2-cmp.out): New rule.
15546 ($(objpfx)tst-initorder.out): Remove rule.
15547 [$(run-built-tests) = yes] (tests): Depend on
15548 $(objpfx)tst-initorder-cmp.out.
15549 ($(objpfx)tst-initorder-cmp.out): New rule.
15550 ($(objpfx)tst-initorder2.out): Remove rule.
15551 [$(run-built-tests) = yes] (tests): Depend on
15552 $(objpfx)tst-initorder2-cmp.out.
15553 ($(objpfx)tst-initorder2-cmp.out): New rule.
15554 [$(run-built-tests) = yes] (tests): Depend on
15555 $(objpfx)tst-unused-dep-cmp.out.
15556 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15557 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15558 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15559 on $(objpfx)tst-setvbuf1-cmp.out.
15560 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15561 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15562 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15563 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15564 ($(objpfx)tst-svc.out): Remove rule.
15565 ($(objpfx)tst-svc-cmp.out): New rule.
15566
155672014-02-13 Joseph Myers <joseph@codesourcery.com>
15568
15569 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15570 * ctype/ctype.h [__USE_MISC]: Likewise.
15571 * dirent/dirent.h [__USE_MISC]: Likewise.
15572 * grp/grp.h [__USE_MISC]: Likewise.
15573 * io/fcntl.h [__USE_MISC]: Likewise.
15574 * io/sys/stat.h [__USE_MISC]: Likewise.
15575 * libio/stdio.h [__USE_MISC]: Likewise.
15576 * posix/unistd.h [__USE_MISC]: Likewise.
15577 * pwd/pwd.h [__USE_MISC]: Likewise.
15578 * stdlib.h [__USE_MISC]: Likewise.
15579 * string/bits/string2.h [__USE_MISC]: Likewise.
15580 * string/string.h [__USE_MISC]: Likewise.
15581 * time/time.h [__USE_MISC]: Likewise.
15582
155832014-02-13 Andreas Schwab <schwab@suse.de>
15584
15585 [BZ #16574]
15586 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15587 second answer buffer if it was separately allocated.
15588
155892014-02-12 Joseph Myers <joseph@codesourcery.com>
15590
15591 * sysdeps/mips/math-tests.h: Include <features.h>.
15592 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15593 (ROUNDING_TESTS_long_double): Do not define.
15594 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15595 (EXCEPTION_TESTS_long_double): Likewise.
15596 * sysdeps/mips/mips64/libm-test-ulps: Update.
15597
15598 * include/features.h (__USE_BSD): Remove macro definitions.
15599 (__USE_SVID): Likewise.
15600 (_BSD_SOURCE): Likewise.
15601 (_SVID_SOURCE): Likewise.
15602 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15603 from definition of _DEFAULT_SOURCE.
15604 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15605 [_DEFAULT_SOURCE].
15606 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15607 * bits/mman.h [__USE_BSD]: Likewise.
15608 * bits/termios.h [__USE_BSD]: Likewise.
15609 * bits/waitstatus.h [__USE_BSD]: Likewise.
15610 * ctype/ctype.h [__USE_SVID]: Likewise.
15611 * dirent/dirent.h [__USE_BSD]: Likewise.
15612 * grp/grp.h [__USE_SVID]: Likewise.
15613 [__USE_BSD]: Likewise.
15614 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15615 * io/fcntl.h [__USE_BSD]: Likewise.
15616 * io/ftw.h [__USE_BSD]: Likewise.
15617 * io/sys/stat.h [__USE_BSD]: Likewise.
15618 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15619 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15620 * libio/stdio.h [__USE_SVID]: Likewise.
15621 [__USE_BSD]: Likewise.
15622 * math/math.h [__USE_SVID]: Likewise.
15623 [__USE_BSD]: Likewise.
15624 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15625 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15626 * misc/search.h [__USE_SVID]: Likewise.
15627 * misc/sys/mman.h [__USE_BSD]: Likewise.
15628 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15629 * misc/sys/uio.h [__USE_BSD]: Likewise.
15630 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15631 * posix/glob.h [__USE_BSD]: Likewise.
15632 * posix/regex.h [__USE_BSD]: Likewise.
15633 * posix/sys/types.h [__USE_BSD]: Likewise.
15634 [__USE_SVID]: Likewise.
15635 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15636 * posix/sys/wait.h [__USE_BSD]: Likewise.
15637 [__USE_SVID]: Likewise.
15638 * posix/unistd.h [__USE_BSD]: Likewise.
15639 [__USE_SVID]: Likewise.
15640 * pwd/pwd.h [__USE_SVID]: Likewise.
15641 * resolv/netdb.h [__USE_BSD]: Likewise.
15642 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15643 * signal/signal.h [__USE_BSD]: Likewise.
15644 [__USE_SVID]: Likewise.
15645 * socket/sys/socket.h [__USE_BSD]: Likewise.
15646 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15647 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15648 [__USE_SVID]: Likewise.
15649 * string/bits/string2.h [__USE_BSD]: Likewise.
15650 [__USE_SVID]: Likewise.
15651 * string/bits/string3.h [__USE_BSD]: Likewise.
15652 * string/endian.h [__USE_BSD]: Likewise.
15653 * string/string.h [__USE_SVID]: Likewise.
15654 [__USE_BSD]: Likewise.
15655 * string/strings.h [__USE_BSD]: Likewise.
15656 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15657 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15658 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15659 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15660 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15661 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15662 Likewise.
15663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15664 Likewise.
15665 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15666 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15667 Likewise.
15668 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15669 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15670 Likewise.
15671 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15672 Likewise.
15673 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15674 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15676 Likewise.
15677 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15678 Likewise.
15679 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15680 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15681 * termios/termios.h [__USE_BSD]: Likewise.
15682 * time/sys/time.h [__USE_BSD]: Likewise.
15683 * time/time.h [__USE_BSD]: Likewise.
15684 [__USE_SVID]: Likewise.
15685
15686 * Makefile (subdir_targets): Remove subdir_lint.out.
15687
15688 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15689 (do-tst-printf): Likewise.
15690 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15691 $(objpfx)tst-printf.out.
15692
15693 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15694
15695 * Makerules (check-abi-%): Change target to
15696 $(objpfx)check-abi-%.out.
15697 (check-abi target): Update dependencies.
15698 (check-abi-pattern variable): Redirect output of diff to $@.
15699 (check-abi variable): Likewise.
15700 * elf/Makefile (check-abi): Update dependencies.
15701
15702 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15703 unused.
15704 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15705 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15706 subnormal range.
15707 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15708 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15709 value has largest subnormal exponent.
15710 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15711 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15712 * sysdeps/aarch64/soft-fp/sfp-machine.h
15713 (_FP_TININESS_AFTER_ROUNDING): New macro.
15714 * sysdeps/alpha/soft-fp/sfp-machine.h
15715 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15716 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15717 Likewise.
15718 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15719 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15720 * sysdeps/mips/soft-fp/sfp-machine.h
15721 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15722 * sysdeps/powerpc/soft-fp/sfp-machine.h
15723 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15724 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15725 Likewise.
15726 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15727 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15728 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15729 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15730 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15731 Likewise.
15732
157332014-02-12 Dylan Alex Simon <dylan@dylex.net>
15734
15735 [BZ #16545]
15736 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15737 model 1.
15738
157392014-02-12 Richard Henderson <rth@redhat.com>
15740
15741 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15742 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15743 * sysdeps/unix/sysv/linux/alpha: Move directory from
15744 ports/sysdeps/unix/sysv/linux/alpha.
15745 * README: Update listing for alpha-*-linux-gnu.
15746
157472014-02-11 Joseph Myers <joseph@codesourcery.com>
15748
15749 * include/features.h: Update comment documenting feature test
15750 macros.
15751 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15752 _DEFAULT_SOURCE.
15753 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15754 (_SVID_SOURCE): Likewise.
15755 (_DEFAULT_SOURCE): Update description of default features.
15756 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15757 with _GNU_SOURCE.
15758 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15759 (S_ISVTX): Likewise.
15760 * manual/math.texi (Mathematical Constants): Likewise.
15761 * manual/signal.texi (Interrupted Primitives): Likewise.
15762 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15763 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15764 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15765 Don't refer to _SVID_SOURCE in warning text.
15766
15767 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15768
15769 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15770 already defined.
15771 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15772 * sysdeps/mips/dl-lookup.c: Remove.
15773 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15774
157752014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15776
15777 [BZ #16447]
15778 * math/auto-libm-test-in: Add testcase for expl.
15779 * math/auto-libm-test-out: Regenerate.
15780 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15781 calculation of unsafe.
15782 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15783
157842014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15785
15786 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15787 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15788 ports/sysdeps/unix/sysv/linux/aarch64.
15789 * README: Update listing for aarch64*-*-linux-gnu.
15790
157912014-02-11 Will Newton <will.newton@linaro.org>
15792
15793 * manual/probes.texi (Mathematical Function Probes): Use
15794 "triggered" instead of "hit".
15795
15796 * manual/probes.texi (Internal Probes): Add documentation
15797 of setjmp, longjmp and longjmp_target probes.
15798
15799 * include/stap-probe.h: Add comment about probe argument
15800 format.
15801
15802 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15803 definition. (tr_where, tr_freehook, tr_mallochook,
15804 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15805
158062014-02-11 David S. Miller <davem@davemloft.net>
15807
15808 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15809 processing int_tests.
15810
158112014-02-10 Joseph Myers <joseph@codesourcery.com>
15812
15813 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15814 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15815 * sysdeps/unix/sysv/linux/mips: Move directory from
15816 ports/sysdeps/unix/sysv/linux/mips.
15817 * README: Update listing for mips-*-linux-gnu and
15818 mips64-*-linux-gnu.
15819
158202014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15821
15822 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15823 * sysdeps/unix/sysv/linux/m68k: Move directory from
15824 ports/sysdeps/unix/sysv/linux/m68k.
15825 * README: Update listing for m68k-*-linux-gnu.
15826
158272014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15828
15829 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15830 * sysdeps/unix/sysv/linux/generic: Move directory from
15831 ports/sysdeps/unix/sysv/linux/generic.
15832 * sysdeps/unix/sysv/linux/tile: Move directory from
15833 ports/sysdeps/unix/sysv/linux/tile.
15834 * README: Update listing for tile*-*-linux-gnu.
15835
158362014-02-10 Ondřej Bílka <neleai@seznam.cz>
15837
15838 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15839 __builtin_expect.
15840 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15841 * catgets/open_catalog.c (__open_catalog): Likewise.
15842 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15843 * debug/confstr_chk.c: Likewise.
15844 * debug/fread_chk.c (__fread_chk): Likewise.
15845 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15846 * debug/getgroups_chk.c: Likewise.
15847 * debug/mbsnrtowcs_chk.c: Likewise.
15848 * debug/mbsrtowcs_chk.c: Likewise.
15849 * debug/mbstowcs_chk.c: Likewise.
15850 * debug/memcpy_chk.c: Likewise.
15851 * debug/memmove_chk.c: Likewise.
15852 * debug/mempcpy_chk.c: Likewise.
15853 * debug/memset_chk.c: Likewise.
15854 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15855 * debug/strcat_chk.c (__strcat_chk): Likewise.
15856 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15857 * debug/strncat_chk.c (__strncat_chk): Likewise.
15858 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15859 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15860 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15861 * debug/wcpncpy_chk.c: Likewise.
15862 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15863 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15864 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15865 * debug/wcsncpy_chk.c: Likewise.
15866 * debug/wcsnrtombs_chk.c: Likewise.
15867 * debug/wcsrtombs_chk.c: Likewise.
15868 * debug/wcstombs_chk.c: Likewise.
15869 * debug/wmemcpy_chk.c: Likewise.
15870 * debug/wmemmove_chk.c: Likewise.
15871 * debug/wmempcpy_chk.c: Likewise.
15872 * debug/wmemset_chk.c: Likewise.
15873 * dirent/scandirat.c (SCANDIRAT): Likewise.
15874 * dlfcn/dladdr1.c (dladdr1): Likewise.
15875 * dlfcn/dladdr.c (dladdr): Likewise.
15876 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15877 * dlfcn/dlerror.c (__dlerror): Likewise.
15878 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15879 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15880 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15881 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15882 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15883 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15884 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15885 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15886 Likewise.
15887 * elf/dl-conflict.c: Likewise.
15888 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15889 * elf/dl-dst.h: Likewise.
15890 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15891 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15892 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15893 * elf/dl-init.c (call_init, _dl_init): Likewise.
15894 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15895 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15896 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15897 Likewise.
15898 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15899 Likewise.
15900 * elf/dl-minimal.c (__libc_memalign): Likewise.
15901 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15902 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15903 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15904 * elf/dl-sym.c (do_sym): Likewise.
15905 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15906 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15907 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15908 * elf/dl-writev.h (_dl_writev): Likewise.
15909 * elf/ldconfig.c (search_dir): Likewise.
15910 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15911 (dl_main): Likewise.
15912 * elf/setup-vdso.h (setup_vdso): Likewise.
15913 * grp/compat-initgroups.c (compat_call): Likewise.
15914 * grp/fgetgrent.c (fgetgrent): Likewise.
15915 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15916 * grp/putgrent.c (putgrent): Likewise.
15917 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15918 Likewise.
15919 * hurd/hurdinit.c: Likewise.
15920 * iconvdata/8bit-gap.c (struct): Likewise.
15921 * iconvdata/ansi_x3.110.c : Likewise.
15922 * iconvdata/big5.c : Likewise.
15923 * iconvdata/big5hkscs.c : Likewise.
15924 * iconvdata/cp1255.c: Likewise.
15925 * iconvdata/cp1258.c : Likewise.
15926 * iconvdata/cp932.c : Likewise.
15927 * iconvdata/euc-cn.c: Likewise.
15928 * iconvdata/euc-jisx0213.c : Likewise.
15929 * iconvdata/euc-jp.c: Likewise.
15930 * iconvdata/euc-jp-ms.c : Likewise.
15931 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15932 * iconvdata/gb18030.c : Likewise.
15933 * iconvdata/gbbig5.c (const): Likewise.
15934 * iconvdata/gbgbk.c: Likewise.
15935 * iconvdata/gbk.c : Likewise.
15936 * iconvdata/ibm1364.c : Likewise.
15937 * iconvdata/ibm930.c : Likewise.
15938 * iconvdata/ibm932.c: Likewise.
15939 * iconvdata/ibm933.c : Likewise.
15940 * iconvdata/ibm935.c : Likewise.
15941 * iconvdata/ibm937.c : Likewise.
15942 * iconvdata/ibm939.c : Likewise.
15943 * iconvdata/ibm943.c: Likewise.
15944 * iconvdata/iso_11548-1.c: Likewise.
15945 * iconvdata/iso-2022-cn.c : Likewise.
15946 * iconvdata/iso-2022-cn-ext.c : Likewise.
15947 * iconvdata/iso-2022-jp-3.c: Likewise.
15948 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15949 * iconvdata/iso-2022-kr.c : Likewise.
15950 * iconvdata/iso646.c (gconv_end): Likewise.
15951 * iconvdata/iso_6937-2.c : Likewise.
15952 * iconvdata/iso_6937.c : Likewise.
15953 * iconvdata/iso8859-1.c: Likewise.
15954 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15955 * iconvdata/shift_jisx0213.c : Likewise.
15956 * iconvdata/sjis.c : Likewise.
15957 * iconvdata/t.61.c : Likewise.
15958 * iconvdata/tcvn5712-1.c : Likewise.
15959 * iconvdata/tscii.c: Likewise.
15960 * iconvdata/uhc.c : Likewise.
15961 * iconvdata/unicode.c (gconv_end): Likewise.
15962 * iconvdata/utf-16.c (gconv_end): Likewise.
15963 * iconvdata/utf-32.c (gconv_end): Likewise.
15964 * iconvdata/utf-7.c (base64): Likewise.
15965 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15966 * iconv/gconv_close.c (__gconv_close): Likewise.
15967 * iconv/gconv_open.c (__gconv_open): Likewise.
15968 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15969 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15970 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15971 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15972 (ucs4le_internal_loop_single): Likewise.
15973 * iconv/iconv.c (iconv): Likewise.
15974 * iconv/iconv_close.c: Likewise.
15975 * iconv/loop.c (SINGLE): Likewise.
15976 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15977 * include/atomic.h: Likewise.
15978 * inet/inet6_option.c (option_alloc): Likewise.
15979 * intl/bindtextdom.c (set_binding_values): Likewise.
15980 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15981 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15982 * intl/localealias.c (read_alias_file): Likewise.
15983 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15984 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15985 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15986 * libio/fmemopen.c (fmemopen): Likewise.
15987 * libio/iofgets.c (_IO_fgets): Likewise.
15988 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15989 * libio/iofgetws.c (fgetws): Likewise.
15990 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15991 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15992 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15993 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15994 * locale/findlocale.c (_nl_find_locale): Likewise.
15995 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15996 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15997 Likewise.
15998 * locale/setlocale.c (setlocale): Likewise.
15999 * login/programs/pt_chown.c (main): Likewise.
16000 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16001 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16002 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16003 (mmap, mmap64, mremap, munmap): Likewise.
16004 * math/e_exp2l.c: Likewise.
16005 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16006 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16007 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16008 * math/s_catan.c (__catan): Likewise.
16009 * math/s_catanf.c (__catanf): Likewise.
16010 * math/s_catanh.c (__catanh): Likewise.
16011 * math/s_catanhf.c (__catanhf): Likewise.
16012 * math/s_catanhl.c (__catanhl): Likewise.
16013 * math/s_catanl.c (__catanl): Likewise.
16014 * math/s_ccosh.c (__ccosh): Likewise.
16015 * math/s_ccoshf.c (__ccoshf): Likewise.
16016 * math/s_ccoshl.c (__ccoshl): Likewise.
16017 * math/s_cexp.c (__cexp): Likewise.
16018 * math/s_cexpf.c (__cexpf): Likewise.
16019 * math/s_cexpl.c (__cexpl): Likewise.
16020 * math/s_clog10.c (__clog10): Likewise.
16021 * math/s_clog10f.c (__clog10f): Likewise.
16022 * math/s_clog10l.c (__clog10l): Likewise.
16023 * math/s_clog.c (__clog): Likewise.
16024 * math/s_clogf.c (__clogf): Likewise.
16025 * math/s_clogl.c (__clogl): Likewise.
16026 * math/s_csin.c (__csin): Likewise.
16027 * math/s_csinf.c (__csinf): Likewise.
16028 * math/s_csinh.c (__csinh): Likewise.
16029 * math/s_csinhf.c (__csinhf): Likewise.
16030 * math/s_csinhl.c (__csinhl): Likewise.
16031 * math/s_csinl.c (__csinl): Likewise.
16032 * math/s_csqrt.c (__csqrt): Likewise.
16033 * math/s_csqrtf.c (__csqrtf): Likewise.
16034 * math/s_csqrtl.c (__csqrtl): Likewise.
16035 * math/s_ctan.c (__ctan): Likewise.
16036 * math/s_ctanf.c (__ctanf): Likewise.
16037 * math/s_ctanh.c (__ctanh): Likewise.
16038 * math/s_ctanhf.c (__ctanhf): Likewise.
16039 * math/s_ctanhl.c (__ctanhl): Likewise.
16040 * math/s_ctanl.c (__ctanl): Likewise.
16041 * math/w_pow.c: Likewise.
16042 * math/w_powf.c: Likewise.
16043 * math/w_powl.c: Likewise.
16044 * math/w_scalb.c (sysv_scalb): Likewise.
16045 * math/w_scalbf.c (sysv_scalbf): Likewise.
16046 * math/w_scalbl.c (sysv_scalbl): Likewise.
16047 * misc/error.c (error_tail): Likewise.
16048 * misc/pselect.c (__pselect): Likewise.
16049 * nis/nis_callback.c (__nis_create_callback): Likewise.
16050 * nis/nis_call.c (__nisfind_server): Likewise.
16051 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16052 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16053 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16054 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16055 * nis/nis_lookup.c (nis_lookup): Likewise.
16056 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16057 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16058 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16059 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16060 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16061 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16062 * nis/nss_compat/compat-initgroups.c (add_group)
16063 (internal_getgrent_r): Likewise.
16064 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16065 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16066 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16067 (internal_getspnam_r): Likewise.
16068 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16069 (_nss_nis_getaliasbyname_r): Likewise.
16070 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16071 (_nss_nis_getntohost_r): Likewise.
16072 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16073 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16074 (_nss_nis_getgrgid_r): Likewise.
16075 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16076 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16077 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16078 (_nss_nis_gethostbyname4_r): Likewise.
16079 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16080 (initgroups_netid): Likewise.
16081 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16082 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16083 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16084 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16085 (_nss_nis_getprotobynumber_r): Likewise.
16086 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16087 (_nss_nis_getsecretkey): Likewise.
16088 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16089 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16090 (_nss_nis_getpwuid_r): Likewise.
16091 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16092 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16093 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16094 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16095 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16096 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16097 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16098 Likewise.
16099 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16100 (_nss_nisplus_getntohost_r): Likewise.
16101 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16102 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16103 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16104 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16105 Likewise.
16106 * nis/nss_nisplus/nisplus-initgroups.c
16107 (_nss_nisplus_initgroups_dyn): Likewise.
16108 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16109 (_nss_nisplus_getnetbyaddr_r): Likewise.
16110 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16111 (_nss_nisplus_getprotobynumber_r): Likewise.
16112 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16113 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16114 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16115 Likewise.
16116 * nis/nss_nisplus/nisplus-service.c
16117 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16118 (_nss_nisplus_getservbyport_r): Likewise.
16119 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16120 (_nss_nisplus_getspnam_r): Likewise.
16121 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16122 Likewise.
16123 * nscd/aicache.c (addhstaiX): Likewise.
16124 * nscd/cache.c (cache_search, prune_cache): Likewise.
16125 * nscd/connections.c (register_traced_file, send_ro_fd)
16126 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16127 (main_loop_epoll): Likewise.
16128 * nscd/grpcache.c (addgrbyX): Likewise.
16129 * nscd/hstcache.c (addhstbyX): Likewise.
16130 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16131 * nscd/mem.c (gc, mempool_alloc): Likewise.
16132 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16133 (addinnetgrX): Likewise.
16134 * nscd/nscd-client.h (__nscd_acquire_maplock)
16135 (__nscd_drop_map_ref): Likewise.
16136 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16137 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16138 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16139 Likewise.
16140 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16141 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16142 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16143 (__nscd_get_map_ref): Likewise.
16144 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16145 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16146 Likewise.
16147 * nscd/pwdcache.c (addpwbyX): Likewise.
16148 * nscd/selinux.c (preserve_capabilities): Likewise.
16149 * nscd/servicescache.c (addservbyX): Likewise.
16150 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16151 * posix/fnmatch.c (fnmatch): Likewise.
16152 * posix/getopt.c (_getopt_internal_r): Likewise.
16153 * posix/glob.c (glob, glob_in_dir): Likewise.
16154 * posix/wordexp.c (exec_comm_child): Likewise.
16155 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16156 (getanswer_r, gaih_getanswer_slice): Likewise.
16157 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16158 * resolv/res_init.c: Likewise.
16159 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16160 * resolv/res_query.c (__libc_res_nquery): Likewise.
16161 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16162 Likewise.
16163 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16164 * stdio-common/perror.c (perror): Likewise.
16165 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16166 * stdio-common/tmpnam.c (tmpnam): Likewise.
16167 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16168 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16169 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16170 Likewise.
16171 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16172 * stdlib/putenv.c (putenv): Likewise.
16173 * stdlib/setenv.c (__add_to_environ): Likewise.
16174 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16175 * stdlib/strtol_l.c (INTERNAL): Likewise.
16176 * string/memmem.c (memmem): Likewise.
16177 * string/strerror.c (strerror): Likewise.
16178 * string/strnlen.c (__strnlen): Likewise.
16179 * string/test-memmem.c (simple_memmem): Likewise.
16180 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16181 * sunrpc/pm_getport.c (__get_socket): Likewise.
16182 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16183 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16184 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16185 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16186 Likewise.
16187 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16188 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16189 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16190 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16191 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16192 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16193 Likewise.
16194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16195 Likewise.
16196 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16197 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16198 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16199 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16200 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16202 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16204 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16205 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16206 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16207 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16208 Likewise.
16209 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16210 Likewise.
16211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16212 Likewise.
16213 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16214 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16215 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16216 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16217 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16218 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16219 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16222 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16223 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16225 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16226 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16229 Likewise.
16230 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16231 Likewise.
16232 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16233 Likewise.
16234 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16235 Likewise.
16236 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16237 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16238 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16239 Likewise.
16240 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16241 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16242 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16243 * sysdeps/posix/sleep.c: Likewise.
16244 * sysdeps/posix/tempname.c: Likewise.
16245 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16246 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16247 Likewise.
16248 * sysdeps/powerpc/powerpc32/dl-machine.h
16249 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16250 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16252 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16253 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16254 Likewise.
16255 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16256 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16257 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16258 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16259 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16260 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16261 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16262 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16263 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16264 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16265 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16266 (elf_machine_lazy_rel): Likewise.
16267 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16268 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16269 (elf_machine_lazy_rel): Likewise.
16270 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16271 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16272 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16273 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16274 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16275 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16276 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16277 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16278 Likewise.
16279 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16280 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16281 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16282 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16283 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16284 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16285 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16286 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16287 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16288 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16289 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16290 Likewise.
16291 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16292 (__posix_fallocate64_l64): Likewise.
16293 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16294 (posix_fallocate): Likewise.
16295 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16296 Likewise.
16297 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16298 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16299 (getifaddrs_internal): Likewise.
16300 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16301 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16302 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16303 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16304 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16305 (__posix_fallocate64_l64): Likewise.
16306 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16307 Likewise.
16308 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16309 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16310 (__get_clockfreq): Likewise.
16311 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16312 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16313 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16316 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16317 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16318 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16319 Likewise.
16320 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16321 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16322 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16323 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16324 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16325 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16326 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16327 Likewise.
16328 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16329 (posix_fallocate): Likewise.
16330 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16331 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16332 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16333 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16334 (elf_machine_rela, elf_machine_rela_relative)
16335 (elf_machine_lazy_rel): Likewise.
16336 * time/asctime.c (asctime_internal): Likewise.
16337 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16338 * time/tzset.c (__tzset_parse_tz): Likewise.
16339 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16340 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16341 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16342 * wcsmbs/wcsmbsload.h: Likewise.
16343
16344 [BZ #15894]
16345 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16346
16347 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16348 (arena_get2): Remove THREAD_STATS conditionals.
16349 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16350 (__malloc_stats, int): Likewise.
16351
163522014-02-08 Mike Frysinger <vapier@gentoo.org>
16353
16354 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16355 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16356
16357 * manual/setjmp.texi: Fix typos/grammar errors.
16358
16359 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16360 Only return early when n is <= 0. Delete unused return statement.
16361
16362 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16363 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16364 * debug/tst-longjmp_chk3.c: New file.
16365
16366 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16367 (test_main): Replace code with set_fortify_handler call.
16368 * debug/test-strcpy_chk.c: Likewise.
16369 * debug/tst-chk1.c: Likewise.
16370 * debug/tst-longjmp_chk.c: Likewise.
16371 * test-skeleton.c: Include fcntl.h & paths.h
16372 (set_fortify_handler): Define.
16373
16374 * debug/tst-longjmp_chk.c: Add header comment and include
16375 ../test-skeleton.c.
16376 (do_test): Mark static.
16377 (TEST_FUNCTION): Define.
16378
16379 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16380 (IP_PMTUDISC_INTERFACE): Likewise.
16381 (IP_MULTICAST_IF): Likewise.
16382 (IP_MULTICAST_TTL): Likewise.
16383 (IP_MULTICAST_LOOP): Likewise.
16384 (IP_ADD_MEMBERSHIP): Likewise.
16385 (IP_DROP_MEMBERSHIP): Likewise.
16386 (IP_UNBLOCK_SOURCE): Likewise.
16387 (IP_BLOCK_SOURCE): Likewise.
16388 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16389 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16390 (IP_MSFILTER): Likewise.
16391 (MCAST_JOIN_GROUP): Likewise.
16392 (MCAST_BLOCK_SOURCE): Likewise.
16393 (MCAST_UNBLOCK_SOURCE): Likewise.
16394 (MCAST_LEAVE_GROUP): Likewise.
16395 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16396 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16397 (MCAST_MSFILTER): Likewise.
16398 (IP_MULTICAST_ALL): Likewise.
16399 (IP_UNICAST_IF): Likewise.
16400
16401 * timezone/Makefile: Delete $(have-ksh) check.
16402 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16403 * timezone/tzselect.ksh: Add +x mode bits.
16404
16405 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16406 (ANON_INODE_FS_MAGIC): Likewise.
16407 (BDEVFS_MAGIC): Likewise.
16408 (BINFMTFS_MAGIC): Likewise.
16409 (BTRFS_TEST_MAGIC): Likewise.
16410 (CRAMFS_MAGIC_WEND): Likewise.
16411 (DEBUGFS_MAGIC): Likewise.
16412 (ECRYPTFS_SUPER_MAGIC): Likewise.
16413 (EXT3_SUPER_MAGIC): Likewise.
16414 (EXT4_SUPER_MAGIC): Likewise.
16415 (FUTEXFS_SUPER_MAGIC): Likewise.
16416 (HOSTFS_SUPER_MAGIC): Likewise.
16417 (HUGETLBFS_MAGIC): Likewise.
16418 (MINIX3_SUPER_MAGIC): Likewise.
16419 (MTD_INODE_FS_MAGIC): Likewise.
16420 (NILFS_SUPER_MAGIC): Likewise.
16421 (OPENPROM_SUPER_MAGIC): Likewise.
16422 (PIPEFS_MAGIC): Likewise.
16423 (PSTOREFS_MAGIC): Likewise.
16424 (QNX6_SUPER_MAGIC): Likewise.
16425 (RAMFS_MAGIC): Likewise.
16426 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16427 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16428 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16429 (SECURITYFS_MAGIC): Likewise.
16430 (SELINUX_MAGIC): Likewise.
16431 (SMACK_MAGIC): Likewise.
16432 (SOCKFS_MAGIC): Likewise.
16433 (SQUASHFS_MAGIC): Likewise.
16434 (STACK_END_MAGIC): Likewise.
16435 (TMPFS_MAGIC): Likewise.
16436 (USBDEVICE_SUPER_MAGIC): Likewise.
16437 (V9FS_MAGIC): Likewise.
16438 (XENFS_SUPER_MAGIC): Likewise.
16439 (CRAMFS_MAGIC): Fix typo in comment.
16440 (EXT2_SUPER_MAGIC): Update comment.
16441 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16442
164432014-02-08 Joseph Myers <joseph@codesourcery.com>
16444
16445 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16446 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16447 * sysdeps/unix/sysv/linux/arm: Move directory from
16448 ports/sysdeps/unix/sysv/linux/arm.
16449 * README: Update listing for arm-*-linux-gnueabi.
16450
16451 * README: Remove mention of am33.
16452
164532014-02-07 Roland McGrath <roland@hack.frob.com>
16454
16455 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16456 than the comma operator, to avoid "rhs of comma has no effect"
16457 compiler warnings.
16458 (__sigfillset, __sigandset, __sigorset): Likewise.
16459 * include/signal.h (__sigemptyset): Likewise.
16460 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16461
164622014-02-07 Allan McRae <allan@archlinux.org>
16463
16464 * version.h (RELEASE): Set to "development".
16465 (VERSION): Set to "2.19.90"
16466 * NEWS: Add 2.20 section.
16467
164682014-02-06 Carlos O'Donell <carlos@redhat.com>
16469
16470 [BZ #16529]
16471 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16472
164732014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16474
16475 * manual/contrib.texi: Update entry for Carlos O'Donell,
16476 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16477
164782014-02-05 Carlos O'Donell <carlos@rehdat.com>
16479
16480 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16481
16482 * sysdeps/unix/sysv/linux/kernel-features.h
16483 [__LINUX_KERNEL_VERSION >= 0x020621]
16484 (__ASSUME_PROC_PID_TASK_COMM): Define.
16485
164862014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16487
16488 [BZ #16398]
16489 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16490 conversion when destination buffer does not have enough space.
16491 * libio/tst-ftell-partial-wide.c: New test case.
16492 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16493
16494 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16495 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16496 Leonard and Allan McRae.
16497
164982014-02-04 David S. Miller <davem@davemloft.net>
16499
16500 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16501 32-bit.
16502
165032014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16504
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16506 New file
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16508 New file
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16510 New file.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16512 New file.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16514 New file.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16516 New file.
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16518 New file.
16519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16520 New file.
16521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16522 New file.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16524 New file.
16525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16526 New file.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16528 New file.
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16530 New file.
16531
165322014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16533
16534 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16535 * shlib-versions: Likewise.
16536
165372014-02-04 Roland McGrath <roland@hack.frob.com>
16538 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16539
16540 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16541 (abilist-pattern): New variable, set to %-le.abilist.
16542
16543 * Makerules (abilist-pattern): New variable.
16544 (vpath): Use $(abilist-pattern) in place of %.abilist.
16545 (check-abi-% pattern rule): Likewise.
16546 (check-abi, update-abi): Likewise.
16547
165482014-02-04 Eric Wong <normalperson@yhbt.net>
16549
16550 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16551
165522014-02-03 Carlos O'Donell <carlos@redhat.com>
16553
16554 * manual/startup.texi: Add next, previous, and top entries for
16555 the `Program Arguments' and `Environment Variables' nodes.
16556
165572014-02-03 Alexandre Oliva <aoliva@redhat.com>
16558
16559 * manual/macros.texi: Add comments before MTASC-safety macros.
16560
16561 * manual/users.texi: Document MTASC-safety properties.
16562
16563 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16564 (pthread_getspecific, pthread_setspecific): Format with
16565 @deftypefun, and add @safety note.
16566 * manual/signal.texi: Move comments that analyze the above
16567 functions to their home place.
16568
165692014-02-03 Allan McRae <allan@archlinux.org>
16570
16571 * po/sl.po: Update Slovenian translation from translation project.
16572
165732014-02-02 Alexandre Oliva <aoliva@redhat.com>
16574
16575 * manual/time.texi (timegm): Add missing blank after @c.
16576 Reported by Joseph Myers <joseph@codesourcery.com>.
16577
165782014-02-01 Alexandre Oliva <aoliva@redhat.com>
16579
16580 * manual/check-safety.sh: New.
16581 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16582
16583 * manual/terminal.texi: Document MTASC-safety properties.
16584
16585 * manual/filesys.texi: Document MTASC-safety properties.
16586
16587 * manual/errno.texi: Document MTASC-safety properties.
16588
16589 * manual/intro.texi: Document safety identifiers and
16590 conditionals.
16591
16592 * manual/string.texi (wcstok): Fix prototype.
16593 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16594
16595 * manual/time.texi: Document MTASC-safety properties.
16596
16597 * manual/string.texi: Document MTASC-safety properties.
16598
16599 * manual/threads.texi: Document MTASC-safety properties.
16600
16601 * manual/stdio.texi: Document MTASC-safety properties.
16602
16603 * manual/syslog.texi: Document MTASC-safety properties.
16604
16605 * manual/sysinfo.texi: Document MTASC-safety properties.
16606
16607 * manual/startup.texi: Document MTASC-safety properties.
16608
16609 * manual/socket.texi: Document MTASC-safety properties.
16610
16611 * manual/signal.texi: Document MTASC-safety properties.
16612
166132014-01-31 Alexandre Oliva <aoliva@redhat.com>
16614
16615 * manual/setjmp.texi: Document MTASC-safety properties.
16616
16617 * manual/search.texi: Document MTASC-safety properties.
16618
16619 * manual/resource.texi: Document MTASC-safety properties.
16620
16621 * manual/process.texi: Document MTASC-safety properties.
16622
16623 * manual/platform.texi: Document MTASC-safety properties.
16624
16625 * manual/pipe.texi: Document MTASC-safety properties.
16626
16627 * manual/pattern.texi: Document MTASC-safety properties.
16628
16629 * manual/message.texi: Document MTASC-safety properties.
16630
16631 [BZ #12751]
16632 * manual/memory.texi: Document MTASC-safety properties.
16633
16634 * manual/math.texi: Document MTASC-safety properties.
16635
16636 * manual/locale.texi: Document MTASC-safety properties.
16637
16638 * manual/llio.texi: Document MTASC-safety properties.
16639
16640 * manual/libdl.texi: New.
16641
16642 * manual/lang.texi: Document MTASC-safety properties.
16643
16644 * manual/job.texi: Document MTASC-safety properties.
16645
16646 * manual/getopt.texi: Document MTASC-safety properties.
16647
16648 * manual/ctype.texi: Document MTASC-safety properties.
16649
166502014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16651
16652 [BZ #16046]
16653 * csu/libc-tls.c (static_map): Remove variable.
16654 (__libc_setup_tls): Use main executable's link map for TLS data.
16655 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16656 casing for LM_ID_BASE and GL(dl_nns).
16657 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16658 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16659 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16660 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16661 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16662 member.
16663 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16664 l_phnum members.
16665
166662014-01-30 Alexandre Oliva <aoliva@redhat.com>
16667
16668 * manual/debug.texi: Document MTASC-safety properties.
16669
166702014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16671
16672 [BZ #16510]
16673 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16674 of __x86_64__ when disabling x87 inline functions.
16675
166762014-01-29 Alexandre Oliva <aoliva@redhat.com>
16677
16678 * manual/charset.texi: Document MTASC-safety properties.
16679
16680 * manual/crypt.texi: Document MTASC-safety properties.
16681
16682 * manual/conf.texi: Document MTASC-safety properties.
16683
16684 * manual/arith.texi: Document MTASC-safety properties.
16685
16686 * manual/argp.texi: Document MTASC-safety properties.
16687
16688 * manual/macros.texi: Introduce macros to document multi
16689 thread, asynchronous signal and asynchronous cancellation
16690 safety properties.
16691 * manual/intro.texi: Introduce the properties themselves.
16692
166932014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16694
16695 * sysdeps/sh/sh4/Makefile: New file.
16696
166972014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16698
16699 * math/gen-libm-test.pl ($srcdir): New variable.
16700 ($auto_input): Use it.
16701
167022014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16703
16704 [BZ #16506]
16705 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16706 access beyond array bounds when parsing netgroups file.
16707
16708 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16709 the old buffer before realloc.
16710
167112014-01-27 Allan McRae <allan@archlinux.org>
16712
16713 * po/fr.po: Update French translation from translation project.
16714
167152014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16716
16717 * sysdeps/sh/libm-test-ulps: Regenerate.
16718
167192014-01-24 David S. Miller <davem@davemloft.net>
16720
16721 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16722
167232014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16724
16725 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16726 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16727
167282013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16729
16730 [BZ #16474]
16731 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16732 string pointers after reallocation.
16733
167342014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16735
16736 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16737 __SH4A__ instead of __SH_FPU_ANY__.
16738
167392014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16740
16741 * sysdeps/sh/fpu_control.h: New file.
16742 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16743 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16744 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16745 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16746 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16747 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16748 * sysdeps/sh/sys/ucontext.h: Remove.
16749 * sysdeps/sh/sys: Remove directory.
16750
167512014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16752
16753 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16754 s390/sys/ucontext.h.
16755 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16756 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16757
167582014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16759
16760 [BZ #15605]
16761 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16762
167632014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16764
16765 [BZ#16431]
16766 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16767 Adjust the vDSO correctly for internal calls.
16768 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16769
167702014-01-20 Allan McRae <allan@archlinux.org>
16771
16772 * po/ca.po: Update Catalan translation from translation project.
16773
167742014-01-16 Mike Frysinger <vapier@gentoo.org>
16775
16776 * sysdeps/s390/sotruss-lib.c: New file.
16777
167782014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16779
16780 [BZ#16430]
16781 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16782 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16783 local calls issues by not having a PLT stub required for IFUNC calls.
16784 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16785
167862014-01-16 Joseph Myers <joseph@codesourcery.com>
16787
16788 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16789 * math/test-fpucw-static.c: Likewise.
16790
167912013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16792
16793 [BZ #16453]
16794 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16795
167962014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16797
16798 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16799 implementation for powerpc.
16800
168012014-01-15 Ondřej Bílka <neleai@seznam.cz>
16802
16803 [BZ #14782]
16804 * sysdeps/posix/system.c (__libc_system): Do not enable
16805 asynchronous cancellation.
16806
168072014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16808
16809 [BZ #16427]
16810 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16811 handling only for numbers special also in the IEEE case.
16812
168132014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16814
16815 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16816
168172014-01-11 Allan McRae <allan@archlinux.org>
16818
16819 * po/bg.po: Update Bulgarian translation from translation project.
16820
16821 * po/de.po: Update German translation from translation project.
16822
168232014-01-10 Roland McGrath <roland@hack.frob.com>
16824
16825 * sysdeps/generic/gcc-compat.h: New file.
16826
168272014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16828
16829 * benchtests/asin-inputs: Correct slow inputs.
16830 * benchtests/acos-inputs: Likewise.
16831
168322014-01-10 Allan McRae <allan@archlinux.org>
16833
16834 * po:sv.po: Update Swedish translation from translation project.
16835
16836 * po/vi.po: Update Vietnamese translation from translation project.
16837
16838 * po/eo.po: Update Esperanto translation from translation project.
16839
16840 * po/cs.po: Update Czech translation from translation project.
16841
16842 * po/nl.po: Update Dutch translation from translation project.
16843
16844 * po/pl.po: Update Polish translation from translation project.
16845
16846 * po/ru.po: Update Russian translation from translation project.
16847
16848 * po/uk.po: Update Ukrainian translation from translation project.
16849
168502014-01-08 Brooks Moses <bmoses@google.com>
16851
16852 * elf/dl-load.c: Fix comment typo.
16853
168542014-01-08 Carlos O'Donell <carlos@redhat.com>
16855
16856 * po/header.pot: Rename to...
16857 * po/pot.header: ... this.
16858 * po/Makefile: Use pot.header.
16859
168602014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16861 Maxim Kuvyrkov <maxim@kugelworks.com>
16862
16863 [BZ #16394]
16864 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16865 SRC and DEST against LEN.
16866
168672014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16868
16869 [BZ #16414]
16870 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16871 implementation.
16872 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16873
168742014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16875
16876 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16877
168782014-01-08 Joseph Myers <joseph@codesourcery.com>
16879
16880 [BZ #16408]
16881 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16882 for large positive arguments.
16883
168842014-01-07 Joseph Myers <joseph@codesourcery.com>
16885
16886 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16887
16888 * math/auto-libm-test-in: Mark various tests with
16889 xfail-rounding:ldbl-128ibm.
16890 * math/auto-libm-test-out: Regenerated.
16891
16892 [BZ #16407]
16893 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16894 Increase overflow threshold.
16895
168962014-01-07 Ondřej Bílka <neleai@seznam.cz>
16897
16898 [BZ #14286]
16899 * stdio-common/vfprintf.c: Check for integer overflow.
16900
169012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16902
16903 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16904 the first argument and return value of __tls_get_addr_internal.
16905
169062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16907
16908 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16909 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16910
169112014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16912
16913 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16914 * sysdeps/s390/rtld-global-offsets.sym: New file.
16915 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16916 GLIBC_2.19 symbol.
16917 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16918 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16919 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16920 ... this.
16921 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16922 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16923 ... this.
16924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16925 Regenerate.
16926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16927 Regenerate.
16928 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16929 halfs of GPRs for high_gprs contexts.
16930 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16931 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16932 field.
16933 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16934 uc_flags field.
16935 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16936 64 bit versions:
16937 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16938 for high GPRs (uc_high_gprs) and for future extensions
16939 (__reserved).
16940 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16941 for future extensions (__reserved).
16942 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16943 64 bit versions:
16944 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16945 SC_HIGHGPRS offset definition.
16946 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16947 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16948
16949 * Versions.def: Add GLIBC_2.19 for libpthread.
16950 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16951 siglongjmp for libpthread with GLIBC_2.19 symver.
16952 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16953 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16954 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16955 * sysdeps/s390/__longjmp.c: New file.
16956 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16957 * sysdeps/s390/longjmp.c: New file.
16958 * sysdeps/s390/setjmp.S: New file.
16959 * sysdeps/s390/sigjmp.S: New file.
16960 * sysdeps/s390/v1-longjmp.c: New file.
16961 * sysdeps/s390/v1-setjmp.h: New file.
16962 * sysdeps/s390/v1-sigjmp.c: New file.
16963 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16964 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16965 GLIBC_2.19 version.
16966 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16967 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16968 versioned symbols for ____longjmp_chk.
16969 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16970 Likewise.
16971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16972 Regenerate.
16973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16974 Regenerate.
16975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16976 Regenerate.
16977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16978 Regenerate.
16979 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16980 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16981 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16982 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16983 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16984 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16985 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16986 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16987 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16988 * sysdeps/s390/rtld-__longjmp.c: New file.
16989 * sysdeps/s390/rtld-setjmp.S: New file.
16990
169912014-01-06 Joseph Myers <joseph@codesourcery.com>
16992
16993 [BZ #16400]
16994 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16995 Return -__logl (x) for small positive arguments without evaluating
16996 a polynomial.
16997
169982014-01-06 Mike Frysinger <vapier@gentoo.org>
16999
17000 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17001 Rename to ...
17002 (__ptrace_peeksiginfo_args): ... this.
17003 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17004 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17005 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17006
170072014-01-06 Allan McRae <allan@archlinux.org>
17008
17009 * inet/netinet/in.h: Fix typo in comment.
17010
170112014-01-05 Andreas Jaeger <aj@suse.de>
17012
17013 * sysdeps/i386/fpu/libm-test-ulps: Update.
17014
170152014-01-05 Allan McRae <allan@archlinux.org>
17016
17017 * po/libc.pot: Regenerated.
17018
17019 * malloc/memusagestat.c: Fix gettext call formatting.
17020
170212014-01-04 Sami Kerola <kerolasa@iki.fi>
17022
17023 * nscd/nscd.c: Improve usage() output.
17024
170252014-01-04 Mike Frysinger <vapier@gentoo.org>
17026
17027 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17028 * sysdeps/unix/sysv/linux/configure: Regenerated.
17029 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17030 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17031
170322014-01-03 Joseph Myers <joseph@codesourcery.com>
17033
17034 [BZ #16390]
17035 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17036 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17037
170382014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17039
17040 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17041 extra tokens at end of #undef directive.
17042 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17043 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17044 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17045
170462014-01-03 Joseph Myers <joseph@codesourcery.com>
17047
17048 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17049
17050 * math/auto-libm-test-in: Mark various tests with
17051 xfail-rounding:ldbl-128ibm.
17052 * math/auto-libm-test-out: Regenerated.
17053
170542014-01-02 Joseph Myers <joseph@codesourcery.com>
17055
17056 [BZ #16386]
17057 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17058 numbers with subnormal high part when calculating exponent.
17059
17060 [BZ #16385]
17061 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17062 fabs.
17063
17064 [BZ #16384]
17065 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17066 M_LN2l.
17067 (__ieee754_acoshl): Use __log1pl not __log1p.
17068
170692013-01-02 Ondřej Bílka <neleai@seznam.cz>
17070
17071 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17072 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17073 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17074 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17075 (reused_arena, arena_get2): Convert to GNU style.
17076 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17077 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17078 (memalign_check, __malloc_set_state): Likewise.
17079 * malloc/mallocbug.c (main): Likewise.
17080 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17081 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17082 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17083 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17084 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17085 (__posix_memalign, malloc_info): Likewise.
17086 * malloc/malloc.h: Likewise.
17087 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17088 (mallochook, memalignhook, reallochook, mabort): Likewise.
17089 * malloc/mcheck.h: Likewise.
17090 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17091 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17092 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17093 * malloc/morecore.c (__default_morecore): Likewise.
17094 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17095 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17096 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17097 (print_and_abort): Likewise.
17098 * malloc/obstack.h: Likewise.
17099 * malloc/set-freeres.c (__libc_freeres): Likewise.
17100 * malloc/tst-mallocstate.c (main): Likewise.
17101 * malloc/tst-mtrace.c (main): Likewise.
17102 * malloc/tst-realloc.c (do_test): Likewise.
17103
171042013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17105
17106 [BZ #16366]
17107 * nscd/netgroupcache.c (do_notfound): New function.
17108 (addgetnetgrentX): Use it.
17109
17110 [BZ # 16365]
17111 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17112 NSS_STATUS_NOTFOUND.
17113
171142014-01-01 Joseph Myers <joseph@codesourcery.com>
17115
17116 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17118
171192014-01-01 Allan McRae <allan@archlinux.org>
17120
17121 * scripts/update-copyrights: Update configure input file suffix.
17122
17123 * NEWS: Update copyright year.
17124 * catgets/gencat.c: Likewise.
17125 * csu/version.c: Likewise.
17126 * debug/catchsegv.sh: Likewise.
17127 * debug/pcprofiledump.c: Likewise.
17128 * debug/xtrace.sh: Likewise.
17129 * elf/ldconfig.c: Likewise.
17130 * elf/ldd.bash.in: Likewise.
17131 * elf/pldd.c: Likewise.
17132 * elf/sotruss.ksh: Likewise.
17133 * elf/sprof.c: Likewise.
17134 * iconv/iconv_prog.c: Likewise.
17135 * iconv/iconvconfig.c: Likewise.
17136 * locale/programs/locale.c: Likewise.
17137 * locale/programs/localedef.c: Likewise.
17138 * login/programs/pt_chown.c: Likewise.
17139 * malloc/memusage.sh: Likewise.
17140 * malloc/memusagestat.c: Likewise.
17141 * malloc/mtrace.pl: Likewise.
17142 * manual/libc.texinfo: Likewise.
17143 * nscd/nscd.c: Likewise.
17144 * nss/getent.c: Likewise.
17145 * nss/makedb.c: Likewise.
17146 * posix/getconf.c: Likewise.
17147 * scripts/test-installation.pl: Likewise.
17148
17149 * All files with FSF copyright notices: Update copyright dates
17150 using scripts/update-copyrights.
17151 * intl/plural.c: Regenerated.
17152 * locale/programs/charmap-kw.h: Likewise.
17153 * locale/programs/locfile-kw.h: Likewise.
17154
171552013-12-31 Mike Frysinger <vapier@gentoo.org>
17156
17157 * sysdeps/unix/sysv/linux/configure: Regenerated.
17158 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17159 the linux/fanotify.h header.
17160 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17161 HAVE_LINUX_FANOTIFY_H is defined.
17162
171632013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17164
17165 * benchtests/cos-inputs: New inputs.
17166 * benchtests/sin-inputs: Likewise.
17167
17168 * benchtests/atan-inputs: New inputs. Fix name of multiple
17169 precision fallback inputs.
17170
17171 * benchtests/atanh-inputs: New inputs.
17172 * benchtests/tanh-inputs: Likewise.
17173
17174 * benchtests/acosh-inputs: New inputs.
17175 * benchtests/asinh-inputs: Likewise.
17176
17177 * benchtests/cosh-inputs: New inputs.
17178 * benchtests/sinh-inputs: Likewise.
17179
17180 * benchtests/acos-inputs: Add more inputs.
17181 * benchtests/asin-inputs: Likewise.
17182
171832013-12-30 Ville Skytta <ville.skytta@iki.fi>
17184
17185 [BZ #16375]
17186 * manual/arith.texi: Fix spelling.
17187 * manual/charset.texi: Likewise.
17188 * manual/errno.texi: Likewise.
17189 * manual/filesys.texi: Likewise.
17190 * manual/lang.texi: Likewise.
17191 * manual/llio.texi: Likewise.
17192 * manual/locale.texi: Likewise.
17193 * manual/message.texi: Likewise.
17194 * manual/resource.texi: Likewise.
17195 * manual/search.texi: Likewise.
17196 * manual/setjmp.texi: Likewise.
17197 * manual/stdio.texi: Likewise.
17198 * manual/string.texi: Likewise.
17199 * manual/sysinfo.texi: Likewise.
17200 * manual/time.texi: Likewise.
17201
172022013-12-27 Carlos O'Donell <carlos@redhat.com>
17203
17204 * po/sl.po: New file.
17205
172062013-12-27 Mike Frysinger <vapier@gentoo.org>
17207
17208 * .gitignore: Add core/.gdbinit/.gdb_history.
17209
172102013-12-27 Allan McRae <allan@archlinux.org>
17211
17212 [BZ #16369]
17213 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17214 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17215
172162013-12-24 Brooks Moses <bmoses@google.com>
17217
17218 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17219 all compilers that claim C++98 compliance, not just GCC.
17220 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17221 Likewise.
17222
172232013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17224
17225 * NEWS: Restore accidentally deleted bug-fix entries.
17226
172272013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17228 Ondřej Bílka <neleai@seznam.cz>
17229
17230 [BZ #15073]
17231 * malloc/malloc.c (_int_free): Perform sanity check only if we
17232 have_lock.
17233
172342013-12-23 Ondřej Bílka <neleai@seznam.cz>
17235
17236 [BZ #12986]
17237 * manual/stdio.texi (String Input Conversions): Clarify that character
17238 classes are not supported.
17239
172402013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17241
17242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17243
172442013-12-22 Joseph Myers <joseph@codesourcery.com>
17245
17246 [BZ #16337]
17247 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17248 Calculate results for small negative arguments directly rather
17249 than using reflection formula with special underflow handling.
17250
17251 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17252 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17253 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17254 (fchflags): Likewise.
17255 (revoke): Likewise.
17256 (setlogin): Likewise.
17257 (sigaltstack): Likewise.
17258 (wait4): Likewise.
17259 (sigblock): Remove.
17260 (sigsetmask): Likewise.
17261 (wait3): Likewise.
17262 (waitpid): Likewise.
17263 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17264 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17265 file.
17266 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17267 * sysdeps/unix/bsd/Makefile: ... here.
17268 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17269 * sysdeps/unix/bsd/Versions: ... here.
17270 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17271 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17272 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17273 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17274 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17275 * sysdeps/unix/bsd/sigblock.c: ... here.
17276 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17277 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17278 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17279 * sysdeps/unix/bsd/sigvec.c: ... here.
17280 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17281 * sysdeps/unix/bsd/tcdrain.c: ... here.
17282 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17283 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17284 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17285 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17286 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17287 * sysdeps/unix/bsd/wait.c: ... here.
17288 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17289 * sysdeps/unix/bsd/wait3.c: ... here.
17290 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17291 * sysdeps/unix/bsd/waitpid.c: ... here.
17292
172932013-12-21 Joseph Myers <joseph@codesourcery.com>
17294
17295 [BZ #16356]
17296 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17297 round-to-nearest for [!USE_AS_EXPM1L].
17298 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17299 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17300 more tests of exp and exp10. Expect some exp10 tests to miss
17301 exceptions or fail in directed rounding modes.
17302 * math/auto-libm-test-out: Regenerated.
17303 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17304 (exp10_test_tonearest): New function.
17305 (exp10_towardzero_test_data): New array.
17306 (exp10_test_towardzero): New function.
17307 (exp10_downward_test_data): New array.
17308 (exp10_test_downward): New function.
17309 (exp10_upward_test_data): New array.
17310 (exp10_test_upward): New function.
17311 (main): Call the new functions.
17312 * sysdeps/i386/fpu/libm-test-ulps: Update.
17313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17314
173152013-12-20 Joseph Myers <joseph@codesourcery.com>
17316
17317 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17318 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17319 * math/auto-libm-test-out: Regenerated.
17320 * math/libm-test.inc (acosh_test_data): Add more tests.
17321 (atanh_test_data): Likewise.
17322 (ceil_test_data): Likewise.
17323 (copysign_test_data): Likewise.
17324 * sysdeps/i386/fpu/libm-test-ulps: Update.
17325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17326
17327 * timezone/checktab.awk: Update from tzcode 2013i.
17328 * timezone/private.h: Likewise.
17329 * timezone/scheck.c: Likewise.
17330 * timezone/tzfile.h: Likewise.
17331 * timezone/tzselect.ksh: Likewise.
17332 * timezone/zdump.c: Likewise.
17333 * timezone/zic.c: Likewise.
17334
17335 * math/auto-libm-test-in: Add tests of cpow.
17336 * math/auto-libm-test-out: Regenerated.
17337 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17338 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17339 mpc_cc_c.
17340 (func_calc_desc): Add mpc_cc_c union field.
17341 (test_functions): Add cpow.
17342 (special_fill_2pi): New function.
17343 (special_real_inputs): Add 2pi.
17344 (calc_generic_results): Handle mpc_cc_c.
17345 * sysdeps/i386/fpu/libm-test-ulps: Update.
17346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17347
17348 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17349 csqrt, ctan and ctanh.
17350 * math/auto-libm-test-out: Regenerated.
17351 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17352 (TEST_COND_x86): Likewise.
17353 (ccos_test_data): Use AUTO_TESTS_c_c.
17354 (ccosh_test_data): Likewise.
17355 (cexp_test_data): Likewise.
17356 (clog_test_data): Likewise.
17357 (csqrt_test_data): Likewise.
17358 (ctan_test_data): Likewise.
17359 (ctan_tonearest_test_data): Likewise.
17360 (ctan_towardzero_test_data): Likewise.
17361 (ctan_downward_test_data): Likewise.
17362 (ctan_upward_test_data): Likewise.
17363 (ctanh_test_data): Likewise.
17364 (ctanh_tonearest_test_data): Likewise.
17365 (ctanh_towardzero_test_data): Likewise.
17366 (ctanh_downward_test_data): Likewise.
17367 (ctanh_upward_test_data): Likewise.
17368 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17369 mpc_c_c.
17370 (func_calc_desc): Add mpc_c_c union field.
17371 (FUNC_mpc_c_c): New macro.
17372 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17373 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17374 ctanh.
17375 (special_fill_min_subnorm_p120): New function.
17376 (special_real_inputs): Add min_subnorm_p120.
17377 (calc_generic_results): Handle mpc_c_c.
17378 * sysdeps/i386/fpu/libm-test-ulps: Update.
17379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17380
173812013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17382
17383 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17384 (do_sin_slow): New functions.
17385 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17386 (cslow2, csloww1, csloww2): Use the new functions.
17387
17388 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17389 Use M to change sign of result instead of X. Assume X is
17390 positive.
17391 (csloww1): Likewise.
17392 (__sin): Adjust.
17393 (__cos): Adjust.
17394
17395 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17396 arguments A and DA.
17397 (__sin): Adjust.
17398 (__cos): Likewise.
17399
17400 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17401 (__cos): Likewise.
17402 (sloww1): Don't adjust sign of DX.
17403 (csloww1): Likewise.
17404 (sloww2): Use X directly and don't adjust sign of DX.
17405 (csloww2): Likewise.
17406
174072013-12-19 Joseph Myers <joseph@codesourcery.com>
17408
17409 * math/auto-libm-test-in: Add tests of cabs and carg.
17410 * math/auto-libm-test-out: Regenerated.
17411 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17412 (carg_test_data): Likewise.
17413 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17414 mpc_c_f.
17415 (func_calc_desc): Add mpc_c_f union field.
17416 (test_functions): Add cabs and carg.
17417 (calc_generic_results): Handle mpc_c_f.
17418
17419 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17420 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17421 as a macro and a compat symbol.
17422 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17423 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17424 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17425 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17426 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17427 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17428 not use .hidden.
17429 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17430 Likewise.
17431 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17432 Likewise.
17433 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17434 Likewise.
17435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17436 Likewise.
17437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17438 Likewise.
17439 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17440 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17441 from GLIBC_2.3.2.
17442
174432013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17444
17445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17446
174472013-12-19 Joseph Myers <joseph@codesourcery.com>
17448
17449 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17450 trailing whitespace removed.
17451 * scripts/config.guess: Update to version 2013-11-29.
17452 * scripts/config.sub: Update to version 2013-10-01.
17453
17454 * math/auto-libm-test-in: Add tests of sincos.
17455 * math/auto-libm-test-out: Regenerated.
17456 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17457 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17458 mpfr_f_11.
17459 (func_calc_desc): Add mpfr_f_11 union field.
17460 (test_functions): Add sincos.
17461 (calc_generic_results): Handle mpfr_f_11.
17462 * sysdeps/i386/fpu/libm-test-ulps: Update.
17463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17464
174652013-12-19 Andreas Schwab <schwab@suse.de>
17466
17467 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17468 CALL_MCOUNT.
17469 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17470 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17471 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17472
174732013-12-19 Joseph Myers <joseph@codesourcery.com>
17474
17475 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17476 * sysdeps/i386/fpu/libm-test-ulps: Update.
17477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17478
17479 [BZ #16293]
17480 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17481 round-to-nearest mode when using frndint.
17482 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17483 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17484 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17485 Likewise.
17486 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17487 sinh test to fail.
17488 * math/auto-libm-test-out: Regenerated.
17489 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17490 (TEST_COND_x86): Likewise.
17491 (expm1_tonearest_test_data): New array.
17492 (expm1_test_tonearest): New function.
17493 (expm1_towardzero_test_data): New array.
17494 (expm1_test_towardzero): New function.
17495 (expm1_downward_test_data): New array.
17496 (expm1_test_downward): New function.
17497 (expm1_upward_test_data): New array.
17498 (expm1_test_upward): New function.
17499 (main): Run the new test functions.
17500 * sysdeps/i386/fpu/libm-test-ulps: Update.
17501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17502
17503 * include/features.h: Update comment documenting feature test
17504 macros. Mention _DEFAULT_SOURCE in comment.
17505 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17506 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17507 _BSD_SOURCE and _SVID_SOURCE.
17508 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17509 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17510 !_SVID_SOURCE]: Likewise.
17511 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17512 (__USE_POSIX_IMPLICITLY): Define.
17513 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17514 (_POSIX_SOURCE): Undefine and redefine.
17515 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17516 (_POSIX_C_SOURCE): Likewise.
17517 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17518 (Feature Test Macros): Update documentation of default features.
17519
175202013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17521
17522 * benchtests/Makefile: Add bench-strtok.
17523 * benchtests/bench-strtok.c: New file: strtok benchtest.
17524
175252013-12-19 Allan McRae <allan@archlinux.org>
17526
17527 * manual/install.texi: Suppress menu for plain text output.
17528 * INSTALL: Regenerated.
17529
175302013-12-18 Brooks Moses <bmoses@google.com>
17531
17532 [BZ #15846]
17533 * misc/getauxval.c: Include errno.h.
17534 (__getauxval): Set errno to ENOENT if the requested type is not
17535 found.
17536 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17537 don't declare with __attribute_const__.
17538 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17539 * manual/startup.texi: Document that getauxval sets errno.
17540
175412013-12-18 Joseph Myers <joseph@codesourcery.com>
17542
17543 * math/auto-libm-test-in: Add tests of jn and yn.
17544 * math/auto-libm-test-out: Regenerated.
17545 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17546 (yn_test_data): Likewise.
17547 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17548 mpfr_if_f.
17549 (func_calc_desc): Add mpfr_if_f union field.
17550 (FUNC_mpfr_if_f): New macro.
17551 (test_functions): Add jn and yn.
17552 (calc_generic_results): Assert type of second input for
17553 mpfr_ff_f. Handle mpfr_if_f.
17554 (output_for_one_input_case): Disable all checking for arguments
17555 fitting floating-point types in case of an integer argument.
17556 * sysdeps/i386/fpu/libm-test-ulps: Update.
17557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17558
17559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17560 Don't expect fegetround reference in libm.so.
17561
175622013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17563
17564 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17565 $(config-cflags-nofma).
17566
175672013-12-18 Joseph Myers <joseph@codesourcery.com>
17568
17569 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17570 * math/auto-libm-test-out: Regenerated.
17571
17572 [BZ #16338]
17573 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17574 to determine exponent and adjust argument to have exponent of -1.
17575 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17576 log2.
17577 * math/auto-libm-test-out: Regenerated.
17578 * sysdeps/i386/fpu/libm-test-ulps: Update.
17579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17580
175812013-12-18 Ondřej Bílka <neleai@seznam.cz>
17582
17583 * manual/probes.texi: Remove cases when per-thread arenas are
17584 disabled.
17585
175862013-12-18 Andreas Schwab <schwab@suse.de>
17587
17588 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17589 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17590 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17591 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17592 * sysdeps/i386/i686/multiarch/Makefile: Update.
17593 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17594
175952013-12-17 Joseph Myers <joseph@codesourcery.com>
17596
17597 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17598 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17599
176002013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17601
17602 [BZ #15968]
17603 Support TZ transition times < 00:00:00.
17604 This is needed for version-3 tz-format files; it supports time
17605 stamps past 2037 for America/Godthab (the only entry in the tz
17606 database for which this change is relevant).
17607 * manual/time.texi (TZ Variable): Document transition times
17608 from -167:59:59 through -00:00:01.
17609 * time/tzset.c (tz_rule): Time of day is now signed.
17610 (__tzset_parse_tz): Parse negative time of day.
17611
17612 Document TZ transition times >= 25:00:00.
17613 * manual/time.texi (TZ Variable): Document transition times from
17614 25:00:00 through 167:59:59. These are already supported, and this
17615 support will help with version-3 tz-format files.
17616
17617 * manual/time.texi (TZ Variable): Modernize North America example
17618 to reflect current (i.e., 2007-and-later) daylight saving rules.
17619
17620 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17621
176222013-12-17 Joseph Myers <joseph@codesourcery.com>
17623
17624 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17625 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17626 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17627 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17628 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17629 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17630 * sysdeps/unix/bsd/clock.c: Likewise.
17631 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17632 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17633 * sysdeps/unix/bsd/init-posix.c: Likewise.
17634 * sysdeps/unix/bsd/poll.c: Likewise.
17635 * sysdeps/unix/bsd/ptsname.c: Likewise.
17636 * sysdeps/unix/bsd/seekdir.c: Likewise.
17637 * sysdeps/unix/bsd/setegid.c: Likewise.
17638 * sysdeps/unix/bsd/seteuid.c: Likewise.
17639 * sysdeps/unix/bsd/setgid.c: Likewise.
17640 * sysdeps/unix/bsd/setrgid.c: Likewise.
17641 * sysdeps/unix/bsd/setruid.c: Likewise.
17642 * sysdeps/unix/bsd/setsid.c: Likewise.
17643 * sysdeps/unix/bsd/setuid.c: Likewise.
17644 * sysdeps/unix/bsd/sigaction.c: Likewise.
17645 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17646 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17647 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17648 * sysdeps/unix/bsd/telldir.c: Likewise.
17649 * sysdeps/unix/bsd/times.c: Likewise.
17650 * sysdeps/unix/bsd/usleep.c: Likewise.
17651
17652 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17653 ($(objpfx)libbsd-compat.a): Remove rule.
17654
17655 * include/features.h (__FAVOR_BSD): Do not define.
17656 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17657 features conflicting with POSIX.
17658 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17659 (_BSD_SOURCE): Remove description of not being a subset of other
17660 feature test macros.
17661 * manual/job.texi (getpgrp): Do not document BSD version.
17662 (getpgid): Do not document by reference to BSD getpgrp.
17663 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17664 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17665 * signal/signal.h [__FAVOR_BSD]: Likewise.
17666 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17667 instead of making contents conditional on [__FAVOR_BSD].
17668 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17669
176702013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17671
17672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17673
176742013-12-17 Joseph Myers <joseph@codesourcery.com>
17675
17676 [BZ #16314]
17677 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17678 values below 2**-450, not 2**-500.
17679 * math/auto-libm-test-in: Don't allow spurious underflow from
17680 hypot.
17681 * math/auto-libm-test-out: Regenerated.
17682
17683 [BZ #16316]
17684 [BZ #16330]
17685 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17686 values of ha and hb and sort them after adjusting subnormal
17687 arguments.
17688 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17689 Likewise.
17690 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17691 values of ea and eb and sort them after adjusting subnormal
17692 arguments.
17693 * math/auto-libm-test-in: Do not expect some hypot tests of
17694 subnormals to fail. Add more hypot tests.
17695 * math/auto-libm-test-out: Regenerated.
17696
176972013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17698
17699 [BZ #13304]
17700 * sysdeps/sh/s_fma.c: New file.
17701 * sysdeps/sh/s_fmaf.c: New file.
17702 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17703 version.
17704 * sysdeps/sh/Implies: Add sh/soft-fp.
17705
177062013-12-16 Roland McGrath <roland@hack.frob.com>
17707
17708 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17709 level of indirection to members `objname', `errstring', `malloced'.
17710 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17711 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17712 it as the __longjmp argument (just pass 1 instead).
17713 (_dl_catch_error): Initialize C with argument pointers and address of
17714 volatile local ERRCODE rather than copying values out of C at return.
17715
177162013-12-16 Joseph Myers <joseph@codesourcery.com>
17717
17718 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17719 * math/auto-libm-test-out: Regenerated.
17720 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17721 (hypot_test_data): Likewise.
17722 (pow_test_data): Likewise.
17723 (pow_tonearest_test_data): Likewise.
17724 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17725 mpfr_ff_f.
17726 (func_calc_desc): Add mpfr_ff_f union field.
17727 (FUNC_mpfr_ff_f): New macro.
17728 (test_functions): Add atan2, hypot and pow.
17729 (special_fill_min): New function.
17730 (special_fill_minus_min): Likewise.
17731 (special_fill_min_subnorm): Likewise.
17732 (special_fill_minus_min_subnorm): Likewise.
17733 (special_real_inputs): Add min, -min, min_subnorm and
17734 -min_subnorm.
17735 (calc_generic_results): Handle mpfr_ff_f.
17736 * sysdeps/i386/fpu/libm-test-ulps: Update.
17737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17738
177392013-12-16 Will Newton <will.newton@linaro.org>
17740
17741 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17742 (Aligned Memory Blocks): Add documentation for aligned_alloc
17743 and suggest it as an alternative to posix_memalign.
17744 (Hooks for Malloc): Document __memalign_hook is also called
17745 for aligned_alloc. (Summary of Malloc): Add summary for
17746 aligned alloc. Document __memalign_hook is also called
17747 for aligned_alloc.
17748
177492013-12-16 Will Newton <will.newton@linaro.org>
17750
17751 * manual/memory.texi (Malloc Examples): Clarify default
17752 alignment documentation. Suggest posix_memalign rather
17753 than memalign or valloc.
17754 (Aligned Memory Blocks): Remove suggestion to use memalign
17755 or valloc. Remove obsolete comment about BSD.
17756 Document memalign errno values and mark the function obsolete.
17757 Document posix_memalign returned error codes. Mark valloc
17758 as obsolete. (Hooks for Malloc): __memalign_hook is also
17759 called for posix_memalign and valloc.
17760 (Summary of Malloc): Add posix_memalign to function summary.
17761 __memalign_hook is also called for posix_memalign and valloc.
17762
177632013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17764
17765 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17766 TAYLOR_SIN.
17767 (__sin): Adjust.
17768 (__cos): Likewise.
17769 (sloww): Use mynumber union. Expand ternary operator into
17770 if-else statements.
17771 (cslow): use mynumber union.
17772
177732013-12-16 Allan McRae <allan@archlinux.org>
17774
17775 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17776 * configure: Regenerated.
17777
17778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17779
17780 [BZ #14120]
17781 * configure.ac: Added --enable-maintainer-mode. Check for
17782 autoconf when enabled.
17783 * configure: Regenerated.
17784
17785 * nscd/nscd.service: New file.
17786 * nscd/nscd.tmpfiles: New file.
17787
177882013-12-14 Ondřej Bílka <neleai@seznam.cz>
17789
17790 [BZ #12100]
17791 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17792 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17793 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17794 (strstr): Add __strstr_sse2_unaligned ifunc.
17795 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17796 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17797 (strcasestr): Remove __strcasestr_sse42 ifunc.
17798 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17799 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17800 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17801
178022013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17803
17804 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17805 * sysdeps/sh/bits/fenv.h: ... here.
17806 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17807
178082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17809
17810 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17811
17812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17813 hypotf multiarch implementations.
17814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17816 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17817 multiarch hypot for PPC64.
17818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17821 multiarch hypotf for PPC64.
17822
17823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17824 modff multiarch implementations.
17825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17828 multiarch modf for PPC64.
17829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17832 multiarch modff for PPC64.
17833
17834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17835 and logl multiarch implementations.
17836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17839 multiarch logb for PPC64.
17840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17843 multiarch logb for PPC64.
17844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17847 multiarch logb for PPC64.
17848
17849 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17850 isinff multiarch implementation.
17851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17852 file.
17853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17855 multiarch isinf for PPC64.
17856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17857 file.
17858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17859 multiarch isinff for PPC64.
17860
17861 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17862 finitef multiarch implementation.
17863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17864 file.
17865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17867 multiarch finite for PPC64.
17868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17869 file.
17870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17871 multiarch finitef for PPC64.
17872
17873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17874 lrint multiarch implementation.
17875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17876 file.
17877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17879 multiarch llrint for PPC64.
17880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17881 multiarch lrint for PPC64.
17882
17883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17884 copysignf multiarch implementation.
17885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17886 file.
17887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17888 file.
17889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17890 multiarch copysign for PPC64.
17891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17892 multiarch copysignf for PPC64.
17893
17894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17895 multiarch implementation.
17896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17897 file.
17898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17899 file.
17900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17901 file.
17902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17903 file.
17904 multiarch llround for PPC64.
17905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17906 multiarch trunc for PPC64.
17907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17908 multiarch truncf for PPC64.
17909
17910 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17911 multiarch implementation.
17912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17913 file.
17914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17915 file.
17916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17917 file.
17918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17919 file.
17920 multiarch llround for PPC64.
17921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17922 multiarch round for PPC64.
17923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17924 multiarch roundf for PPC64.
17925
17926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17927 multiarch implementation.
17928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17929 file.
17930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17931 file.
17932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17933 file.
17934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17935 file.
17936 multiarch llround for PPC64.
17937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17938 multiarch floor for PPC64.
17939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17940 multiarch floorf for PPC64.
17941
17942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17943 multiarch implementation.
17944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17945 file.
17946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17947 file.
17948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17949 file.
17950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17951 file.
17952 multiarch llround for PPC64.
17953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17954 multiarch ceil for PPC64.
17955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17956 multiarch ceilf for PPC64.
17957
17958 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17959 multiarch implementation.
17960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17961 file.
17962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17963 file.
17964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17965 file.
17966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17967 multiarch llround for PPC64.
17968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17969 multiarch lround for PPC64.
17970
17971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17972 multiarch implementation.
17973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17976 file.
17977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17980 multiarch isnan for PPC64.
17981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17982 multiarch isnanf for PPC64.
17983
17984 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17985 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17986 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17987 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17988 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17990
17991 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17992 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17993 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17994 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17995
17996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17997 multiarch implementations.
17998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17999 (__libc_ifunc_impl_list): Likewise.
18000 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18001 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18002 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18003 multiarch stpcpy for PPC64.
18004
18005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18006 multiarch implementations.
18007 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18008 (__libc_ifunc_impl_list): Likewise.
18009 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18010 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18011 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18012 multiarch strcpy for PPC64.
18013
18014 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18015 redefine function name.
18016 (_wordcopy_fwd_dest_aligned): Likewise.
18017 (_wordcopy_bwd_aligned): Likewise.
18018 (_wordcopy_bwd_dest_aligned): Likewise.
18019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18020 multiarch implementations.
18021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18022 (__libc_ifunc_impl_list): Likewise.
18023 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18024 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18025 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18026 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18027 multiarch wcscpy for PPC64.
18028
18029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18030 multiarch implementations.
18031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18032 (__libc_ifunc_impl_list): Likewise.
18033 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18034 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18035 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18036 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18037 multiarch wcscpy for PPC64.
18038
18039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18040 multiarch implementations.
18041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18042 (__libc_ifunc_impl_list): Likewise.
18043 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18044 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18045 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18046 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18047 multiarch wcsrchr for PPC64.
18048
18049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18050 multiarch implementations.
18051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18052 (__libc_ifunc_impl_list): Likewise.
18053 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18054 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18055 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18056 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18057 multiarch wcschr for PPC64.
18058
18059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18060 multiarch implementations.
18061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18062 (__libc_ifunc_impl_list): Likewise.
18063 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18064 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18065 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18066 multiarch strchrnul for PPC64.
18067
18068 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18069 implementations.
18070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18071 (__libc_ifunc_impl_list): Likewise.
18072 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18073 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18074 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18075 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18076 strchr for PPC64.
18077
18078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18079 implementations.
18080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18081 (__libc_ifunc_impl_list): Likewise.
18082 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18083 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18084 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18085 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18086 strncmp for PPC64.
18087
18088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18089 multiarch implementations.
18090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18091 (__libc_ifunc_impl_list): Likewise.
18092 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18093 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18094 strncasecmp for PPC64.
18095 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18096 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18097 multiarch strncasecmp_l for PPC64.
18098
18099 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18100 multiarch implementations.
18101 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18102 (__libc_ifunc_impl_list): Likewise.
18103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18104 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18105 multiarch strcasecmp for PPC64.
18106 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18107 file.
18108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18109 multiarch strcasecmp_l for PPC64.
18110
18111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18112 implementations.
18113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18114 (__libc_ifunc_impl_list): Likewise.
18115 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18116 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18117 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18118 strnlen for PPC64.
18119
18120 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18121 implementations.
18122 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18123 (__libc_ifunc_impl_list): Likewise.
18124 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18125 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18126 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18127 strlen for PPC64.
18128
18129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18130 implementations.
18131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18132 (__libc_ifunc_impl_list): Likewise.
18133 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18134 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18135 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18136 rawmemrchr for PPC64.
18137
18138 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18139 implementation.
18140 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18141 (__libc_ifunc_impl_list): Likewise.
18142 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18143 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18144 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18145 memrchr for PPC64.
18146
18147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18148 implementation.
18149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18150 (__libc_ifunc_impl_list): Likewise.
18151 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18152 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18153 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18154 memchr for PPC64.
18155
18156 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18157 implementation.
18158 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18159 (__libc_ifunc_impl_list): Likewise.
18160 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18161 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18162 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18163 mempcpy for PPC64.
18164
18165 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18166 avoid cretion of __bzero symbol.
18167 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18168 Likewise.
18169 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18170 Likewise.
18171 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18172 Likewise.
18173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18174 multiarch implementations.
18175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18176 (__libc_ifunc_impl_list): Likewise.
18177 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18178 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18179 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18180 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18181 bzero for PPC32.
18182 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18183 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18184 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18185 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18186 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18187 memset for PPC64.
18188 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18189
18190 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18192 implementations.
18193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18194 (__libc_ifunc_impl_list): Likewise.
18195 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18196 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18197 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18198 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18199 memcmp for PPC64.
18200
18201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18202 multiarch for POWER/PPC64.
18203 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18204 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18205 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18206 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18207 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18208 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18211 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18212 memcpy for PPC64.
18213
18214 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18215 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18216 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18217 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18218 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18219 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18220 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18221 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18222 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18223 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18224 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18225 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18226 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18227 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18228 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18236
182372013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18238
18239 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18240
182412013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18242
18243 * benchtests/Makefile (bench): Add exp2 and log2.
18244 (LDLIBS-bench-exp2): Add -lm.
18245 (LDLIBS-bench-log2): Likewise.
18246 * benchtests/exp2-inputs: New inputs file.
18247 * benchtests/log2-inputs: New inputs file.
18248 * benchtests/log-inputs: Add new inputs.
18249 * benchtests/tan-inputs: Likewise.
18250
182512013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18252
18253 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18254 definition...
18255 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18256 (csloww2): ... from here.
18257
18258 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18259 instead of structures.
18260 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18261 (POLYNOMIAL): Likewise.
18262 (TAYLOR_SLOW): Likewise.
18263 (__sin): Likewise.
18264 (__cos): Likewise.
18265 (slow1): Likewise.
18266 (slow2): Likewise.
18267 (sloww): Likewise.
18268 (sloww1); Likewise.
18269 (sloww2): Likewise.
18270 (bsloww1): Likewise.
18271 (bsloww2): Likewise.
18272 (cslow2): Likewise.
18273 (csloww): Likewise.
18274 (csloww1): Likewise.
18275 (csloww2): Likewise.
18276
182772013-12-10 Ondřej Bílka <neleai@seznam.cz>
18278
18279 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18280 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18281 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18282 * malloc/hooks.c (realloc_check): Likewise.
18283
18284 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18285 * malloc/arena.c: Remove PER_THREAD conditional.
18286 [!PER_THREAD]: Remove code.
18287 (ptmalloc_unlock_all2): Likewise.
18288 (ptmalloc_init): Likewise.
18289 (_int_new_arena): Likewise.
18290 (arena_get2): Likewise.
18291 * malloc/hooks.c (__malloc_get_state): Likewise.
18292 (__malloc_set_state): Likewise.
18293 * malloc/malloc.c: Likewise.
18294 (struct malloc_state): Likewise.
18295 (struct malloc_par): Likewise.
18296 (__libc_realloc): Likewise.
18297 (__libc_mallopt): Likewise.
18298
182992013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18300
18301 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18302
183032013-12-09 Ondřej Bílka <neleai@seznam.cz>
18304
18305 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18306 macro to a function. Check for zero perturb_byte.
18307 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18308
18309 * malloc/malloc.c: (force_reg): Remove.
18310 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18311 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18312 force_reg by atomic_forced_read.
18313 * malloc/arena.c (ptmalloc_init): Likewise.
18314 * malloc/hooks.c (top_check): Likewise.
18315
183162013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18317
18318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18319
183202013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18321
18322 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18323
183242013-12-08 Joseph Myers <joseph@codesourcery.com>
18325
18326 * math/auto-libm-test-in: Add tests of lgamma.
18327 * math/auto-libm-test-out: Regenerated.
18328 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18329 (M_LOG_2_SQRT_PIl): Likewise.
18330 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18331 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18332 mpfr_f_f1.
18333 (func_calc_desc): Add mpfr_f_f1 union field.
18334 (ARGS1): New macro.
18335 (ARGS2): Likewise.
18336 (ARGS3): Likewise.
18337 (ARGS4): Likewise.
18338 (RET1): Likewise.
18339 (RET2): Likewise.
18340 (CALC): Likewise.
18341 (FUNC): Likewise.
18342 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18343 (test_functions): Add lgamma.
18344 (calc_generic_results): Handle mpfr_f_f1.
18345 * sysdeps/i386/fpu/libm-test-ulps: Update.
18346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18347
183482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18349
18350 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18351 __mpn_add_n for PowerPC64/POWER7.
18352 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18353 __mpn_sub_n for PowerPC64/POWER7.
18354
18355 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18356 __mpn_addmul_1 for PowerPC64.
18357 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18358 __mpn_submul_1 for PowerPC64.
18359 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18360 for PowerPC64.
18361 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18362 for PowerPC64.
18363
183642013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18365
18366 [BZ #15089]
18367 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18368
183692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18370
18371 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18372
18373 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18374 add multiarch folders.
18375 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18376 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18377 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18378 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18379 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18380 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18381 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18382 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18383 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18384 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18385 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18392
18393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18394 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18396 New file.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18398 New file.
18399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18400 multiarch __ieee754_hypot for PowerPC32.
18401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18402 New file.
18403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18404 New file.
18405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18406 multiarch __ieee754_hypotf for PowerPC32.
18407
18408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18409 long_double_symbol only if __logbl is defined.
18410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18411 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18413 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18415 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18416 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18417 path for implementation.
18418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18421 logb, and logbl multiarch implementations for PowerPC32.
18422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18423 file.
18424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18425 file.
18426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18427 multiarch logb for PowerPC32.
18428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18429 file.
18430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18431 file.
18432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18433 multiarch logbf for PowerPC32.
18434 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18436 file.
18437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18438 multiarch logbl implementation for PowerPC32.
18439
18440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18441 and modff multiarch implementations.
18442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18443 New file.
18444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18445 New file.
18446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18447 multiarch modf for PowerPC32.
18448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18449 New file.
18450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18451 New file.
18452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18453 multiarch modff for PowerPC32.
18454
18455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18456 and lrintf multiarch implementations.
18457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18458 New file.
18459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18460 New file.
18461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18462 multiarch lrint for PowerPC32.
18463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18464 file: multiarch lrintf for PowerPC32.
18465
18466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18467 and lroundf multiarch implementations.
18468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18469 New file.
18470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18471 New file.
18472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18473 New file.
18474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18475 multiarch lround for PowerPC32.
18476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18477 file: multiarch lroundf for PowerPC32.
18478
18479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18480 copysign and copysignf multiarch implementations.
18481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18482 New file.
18483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18484 New file.
18485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18486 file: multiarch copysign for PowerPC32.
18487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18488 file: multiarch copysignf for PowerPC32.
18489
18490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18491 and truncf multiarch implementations.
18492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18493 New file.
18494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18495 file.
18496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18497 multiarch trunc for PowerPC32.
18498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18499 New file.
18500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18501 New file.
18502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18503 multiarch truncf for PowerPC32.
18504
18505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18506 and roundf multiarch implementations.
18507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18508 New file.
18509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18510 file.
18511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18512 multiarch round for PowerPC32.
18513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18514 New file.
18515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18516 New file.
18517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18518 multiarch roundf for PowerPC32.
18519
18520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18521 and floorf multiarch implementations.
18522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18523 New file.
18524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18525 file.
18526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18527 multiarch floor for PowerPC32.
18528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18529 New file.
18530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18531 New file.
18532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18533 multiarch floorf for PowerPC32.
18534
18535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18536 and ceilf multiarch implementations.
18537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18538 New file.
18539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18540 file.
18541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18542 multiarch ceil for PowerPC32.
18543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18544 New file.
18545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18546 file.
18547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18548 multiarch ceilf for PowerPC32.
18549
18550 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18551 is defined.
18552 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18553 FINITEF is defined.
18554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18555 and finitef multiarch implementations.
18556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18557 New file.
18558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18559 file.
18560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18561 multiarch finite for PowerPC32.
18562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18563 New file.
18564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18565 file: multiarch finitef for PowerPC32.
18566
18567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18568 and isinff multiarch implementations.
18569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18570 file.
18571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18572 file.
18573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18574 multiarch isinf for PowerPC32.
18575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18576 New file.
18577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18578 multiarch isinff for PowerPC32.
18579
18580 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18581 alias when __isnan is defined.
18582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18583 and isnanf multiarch implementations.
18584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18585 file.
18586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18587 file.
18588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18589 file.
18590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18591 file.
18592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18593 multiarch isnan for PowerPC32.
18594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18595 New file.
18596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18597 New file.
18598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18599 multiarch isnanf for PowerPC32.
18600
18601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18602 and sqrtf multiarch implementations.
18603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18604 file.
18605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18606 file.
18607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18608 multiarch sqrt for PowerPC32.
18609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18610 file.
18611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18612 file.
18613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18614 multiarch sqrtf for PowerPC32.
18615
18616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18617 and llroundf multiarch implementations.
18618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18619 New file.
18620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18621 New file.
18622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18623 New file.
18624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18625 file: multiarch llround for PowerPC32.
18626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18627 file: multiarch llroundf for PowerPC32.
18628
18629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18630 multiarch PowerPC32 fpu implementations.
18631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18632 New file.
18633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18634 New file.
18635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18636 multiarch llrint for PowerPC32.
18637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18638 New file.
18639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18640 New file.
18641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18642 file.
18643
18644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18645
18646 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18647 file.
18648 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18649 file.
18650 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18651 file.
18652 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18653 multiarch wordcopy for PPC32.
18654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18655 wordcopy objects.
18656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18657 (__libc_ifunc_impl_list): Likewise.
18658 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18659 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18660 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18661 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18662 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18663 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18664
18665 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18666 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18667 file.
18668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18669 file.
18670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18671 file.
18672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18673 multiarch wcscpy for PPC32.
18674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18675 multiarch objects.
18676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18677 (__libc_ifunc_impl_list): Likewise.
18678 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18679 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18680 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18681 sysdeps/powerpc/power6/wcscpy.c.
18682
18683 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18684 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18685 file.
18686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18687 file.
18688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18689 file.
18690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18691 multiarch wcsrchr for PPC32.
18692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18693 multiarch objects.
18694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18695 (__libc_ifunc_impl_list): Likewise.
18696 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18697 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18698 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18699 sysdeps/powerpc/power6/wcsrchr.c.
18700
18701 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18702 file.
18703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18704 file.
18705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18706 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18707 multiarch wcschr for PPc32.
18708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18709 multiarch objects.
18710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18711 (__libc_ifunc_impl_list): Likewise.
18712 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18713 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18714 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18715 sysdeps/powerpc/power6/wcschr.c.
18716
18717 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18718 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18719 file.
18720 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18721 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18722 file: multiarch strchr for PPC32.
18723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18724 multiarch objects.
18725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18726 (__libc_ifunc_impl_list): Likewise.
18727
18728 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18729 name.
18730 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18731 file.
18732 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18733 file.
18734 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18735 multiarch strchrnul for PPC32.
18736 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18737 multiarch objects.
18738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18739 (__libc_ifunc_impl_list): Likewise.
18740
18741 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18742 file.
18743 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18744 multiarch strncasecmp for PPC32.
18745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18746 file.
18747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18748 multiarch strncasecmp_l for PPC32.
18749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18750 strncasecmp multiarch objects.
18751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18752 (__libc_ifunc_impl_list): Likewise.
18753
18754 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18755 file.
18756 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18757 multiarch strncasecmp for PPC32.
18758 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18759 New file.
18760 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18761 multiarch strcasecmp_l for PPC32.
18762 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18763 multiarch objects.
18764 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18765 (__libc_ifunc_impl_list): Likewise.
18766
18767 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18768 file.
18769 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18770 file.
18771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18772 multiarch strncmp for PPC32.
18773 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18774 multiarch objects.
18775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18776 (__libc_ifunc_impl_list): Likewise.
18777
18778 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18779 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18780 file.
18781 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18782 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18784 multiarch objects.
18785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18786 (__libc_ifunc_impl_list): Likewise.
18787
18788 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18789 file.
18790 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18791 file.
18792 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18794 multiarch objects.
18795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18796 (__libc_ifunc_impl_list): Likewise.
18797
18798 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18799 file.
18800 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18801 file.
18802 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18803 multiarch rawmemchr for PPC32.
18804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18805 multiarch objects.
18806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18807 (__libc_ifunc_impl_list): Likewise.
18808
18809 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18810 file.
18811 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18812 file.
18813 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18814 file: memrchr multiarch for PPC32.
18815 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18816 multiarch objects.
18817 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18818 (__libc_ifunc_impl_list): Likewise.
18819
18820 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18821 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18822 file.
18823 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18824 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18825 multiarch memchr for PPC32.
18826 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18827 multiarch objects.
18828 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18829 (__libc_ifunc_impl_list): Likewise.
18830
18831 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18832 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18833 file.
18834 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18835 file.
18836 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18837 file: multiarch mempcpy for PPC32.
18838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18839 multiarch objects.
18840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18841 (__libc_ifunc_impl_list): Likewise.
18842
18843 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18844 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18845 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18846 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18847 multiarch bzero for PPC32.
18848 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18849 file.
18850 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18851 file.
18852 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18853 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18854 file: multiarch memset for PPC32.
18855 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18857 memset multiarch objects.
18858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18859 (__libc_ifunc_impl_list): Likewise.
18860
18861 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18862 file.
18863 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18864 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18865 memcmp for PPC32.
18866 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18868 multiarch objects.
18869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18870 (__libc_ifunc_impl_list): Likewise.
18871
18872 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18873 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18874 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18875 file.
18876 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18877 file.
18878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18879 file.
18880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18881 multiarch memcpy for PPC32.
18882 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18883 multiarch objects.
18884 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18885 (__libc_ifunc_impl_list): Likewise.
18886
18887 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18888 support multiarch for POWER/PPC32.
18889 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18890 Likewise.
18891 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18893 Implies file to make multiarch folder appers before the fpu and
18894 default folder for power4 configuration.
18895
188962013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18897
18898 * scripts/bench.pl: Append volatile keyword to type.
18899
189002013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18901
18902 * sysdeps/sh/sotruss-lib.c: New file.
18903 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18904
189052013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18906
18907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18908
189092013-12-05 Joseph Myers <joseph@codesourcery.com>
18910
18911 [BZ #6810]
18912 * math/w_tgamma.c: Include <errno.h>.
18913 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18914 * math/w_tgammaf.c: Include <errno.h>.
18915 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18916 * math/w_tgammal.c: Include <errno.h>.
18917 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18918 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18919 underflow. Add more tgamma tests.
18920 * math/auto-libm-test-out: Regenerated.
18921 * sysdeps/i386/fpu/libm-test-ulps: Update.
18922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18923
18924 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18925 sin, sinh, tan, tanh, tgamma, y0 and y1.
18926 * math/auto-libm-test-out: Regenerated.
18927 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18928 (TEST_COND_x86): Likewise.
18929 (M_E2l): Remove macro.
18930 (M_E3l): Likewise.
18931 (M_2_SQRT_PIl): Likewise.
18932 (M_SQRT_PIl): Likewise.
18933 (M_1_DIV_El): Likewise.
18934 (log_test_data): Use AUTO_TESTS_f_f.
18935 (log10_test_data): Likewise.
18936 (log1p_test_data): Likewise.
18937 (log2_test_data): Likewise.
18938 (sin_test_data): Likewise.
18939 (sin_tonearest_test_data): Likewise.
18940 (sin_towardzero_test_data): Likewise.
18941 (sin_downward_test_data): Likewise.
18942 (sin_upward_test_data): Likewise.
18943 (sinh_test_data): Likewise.
18944 (sinh_tonearest_test_data): Likewise.
18945 (sinh_towardzero_test_data): Likewise.
18946 (sinh_downward_test_data): Likewise.
18947 (sinh_upward_test_data): Likewise.
18948 (tan_test_data): Likewise.
18949 (tan_tonearest_test_data): Likewise.
18950 (tan_towardzero_test_data): Likewise.
18951 (tan_downward_test_data): Likewise.
18952 (tan_upward_test_data): Likewise.
18953 (tanh_test_data): Likewise.
18954 (tgamma_test_data): Likewise.
18955 (y0_test_data): Likewise.
18956 (y1_test_data): Likewise.
18957 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18958 (special_real_inputs): Add pi/4.
18959 * sysdeps/i386/fpu/libm-test-ulps: Update.
18960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18961
189622013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18963
18964 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18965 "longjmp_target" static probes.
18966 (__longjmp): Rename to __longjmp_symbol.
18967 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18968 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18969 on which longjmp to generate.
18970 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18971 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18972 probe.
18973 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18974 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18975 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18976 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18977 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18978 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18980 __longjmp_symbol based on which __longjmp to generate.
18981 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18982 probe.
18983 (setjmp): Rename to setjmp_symbol.
18984 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18985 (_setjmp): Rename to _setjmp_symbol.
18986 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18987 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18988 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18989 which setjmp to generate.
18990 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18991 "longjmp_target" static probes.
18992
189932013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18994
18995 * benchtests/README: Add note about output arguments.
18996 * benchtests/bench-sincos.c: Remove file.
18997 * benchtests/sincos-inputs: New file.
18998 * scripts/bench.pl: Identify output arguments and define
18999 static variables for them.
19000
19001 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19002
19003 [BZ #15941]
19004 * Makefile (INSTALL): Add install-plain.texi as the primary
19005 dependency.
19006 * manual/install-plain.texi: New file.
19007 * manual/install.texi: Include node directive only for
19008 non-plaintext output.
19009
190102013-12-04 Joseph Myers <joseph@codesourcery.com>
19011
19012 * stdlib/longlong.h: Update from GCC.
19013
19014 [BZ #6807]
19015 [BZ #15901]
19016 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19017 * math/w_j0f.c (y0f): Likewise.
19018 * math/w_j0l.c (__y0l): Likewise.
19019 * math/w_j1.c (y1): Likewise.
19020 * math/w_j1f.c (y1f): Likewise.
19021 * math/w_j1l.c (__y1l): Likewise
19022 * math/w_jn.c (yn): Likewise.
19023 * math/w_jnf.c (ynf): Likewise.
19024 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19025 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19026 value for Bessel function domain errors outside _SVID_ mode.
19027 Adjust sign of return value for yn (negative integer, 0).
19028 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19029 by zero in return for negative x and set sign appropriately for
19030 negative n.
19031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19032 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19033 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19034 expectations in error cases.
19035 (y1_test_data): Likewise.
19036 (yn_test_data): Likewise.
19037 * sysdeps/i386/fpu/libm-test-ulps: Update.
19038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19039
190402013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19041
19042 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19043 "64" to "64-v1". Add "64-v2".
19044 (abi-64-options): Rename to ...
19045 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19046 (abi-64-condition): Rename to ...
19047 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19048 (abi-64-ld-soname): Rename to ...
19049 (abi-64-v1-ld-soname): ... this.
19050 (abi-64-v2-options): Define.
19051 (abi-64-v2-condition): Likewise.
19052 (abi-64-v2-ld-soname): Likewise.
19053 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19054 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19058
190592013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19060 Alan Modra <amodra@gmail.com>
19061
19062 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19063 New versions for use with the ELFv2 ABI.
19064 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19065 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19066 declaration.
19067 (struct La_ppc64v2_retval): Likewise.
19068 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19069 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19070 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19071 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19072 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19073 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19074 Do not save or restore CR.
19075 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19076 (_dl_profile_resolve): Do no save or restore CR. Support extended
19077 return values for ELFv2 ABI. Fix location of FPR return registers.
19078 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19079 updated values for _CALL_ELF == 2.
19080 (La_regs, La_retval, int_retval): Likewise.
19081
190822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19083
19084 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19085 (FRAME_MIN_SIZE_PARM): Likewise.
19086 (FRAME_BACKCHAIN): Likewise.
19087 (FRAME_CR_SAVE): Likewise.
19088 (FRAME_LR_SAVE): Likewise.
19089 (FRAME_TOC_SAVE): Likewise.
19090 (FRAME_PARM_SAVE): Likewise.
19091 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19092 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19093 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19094 (call_mcount_parm_offset): New macro.
19095 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19096 (PROF): Use symbolic stack frame offsets.
19097 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19098 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19099 Redefine in terms of FRAME_MIN_SIZE.
19100 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19101 (_dl_profile_resolve): Likewise. Update comment.
19102 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19103 symbols stack frame offsets.
19104 (__sigsetjmp): Likewise.
19105 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19106 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19107 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19108 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19109
19110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19111 (FRAME_BACKCHAIN): Remove.
19112 (FRAME_CR_SAVE): Likewise.
19113 (FRAME_LR_SAVE): Likewise.
19114 (FRAME_COMPILER_DW): Likewise.
19115 (FRAME_LINKER_DW): Likewise.
19116 (FRAME_TOC_SAVE): Likewise.
19117 (FRAME_PARM_SAVE): Likewise.
19118 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19119 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19120 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19122 (CHECK_SP): Use symbolic stack frame offsets.
19123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19124 zone" instead of caller's parameter save area for temp storage.
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19126 Likewise. Also, use symbolic stack frame offsets.
19127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19128 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19129 our own stack frame instead of the caller's.
19130 (__socket): Use symbolic stack frame offsets.
19131
191322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19133 Alan Modra <amodra@gmail.com>
19134
19135 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19136 Define.
19137 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19138 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19139 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19140 New function.
19141 (elf_machine_fixup_plt): Call it.
19142 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19143 reloc arguments.
19144 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19145 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19146 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19147 r2 before calling target.
19148
191492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19150 Alan Modra <amodra@gmail.com>
19151
19152 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19153 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19154 versions of macros to support ELFv2 ABI.
19155 (LOCALENTRY): New macro.
19156 (ENTRY, EALIGN): Use it.
19157 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19158 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19159 fall through into ENTRY entry point.
19160 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19161 Only define if _CALL_ELF != 2.
19162
19163 (elf_machine_matches_host): Verify ABI version matches.
19164 (RTLD_START): Use LOCALENTRY.
19165 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19166 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19167 (PLT_ENTRY_WORDS): New macro.
19168 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19169 (elf_machine_runtime_setup): Support ELFv2 ABI.
19170 (elf_machine_fixup_plt): Likewise.
19171 (elf_machine_plt_conflict): Likewise.
19172 (resolve_ifunc): Likewise.
19173 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19174 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19175 Likewise.
19176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19177 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19179 (makecontext): Support ELFv2 ABI.
19180 * elf/elf.h (EF_PPC64_ABI): Define.
19181
191822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19183
19184 * sysdeps/powerpc/powerpc64/sysdep.h
19185 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19186 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19187 (ENTRY) [ASSEMBLER]: ... but instead here ...
19188 (EALIGN) [ASSEMBLER]: ... and here.
19189 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19190 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19191 (ENTRY_2) [!ASSEMBLER]: Use it.
19192 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19193 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19194 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19195 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19196 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19198 Use PPC64_LOAD_FUNCPTR.
19199
19200 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19201
192022013-12-04 Alan Modra <amodra@gmail.com>
19203
19204 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19205 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19206 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19207 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19208
19209 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19210 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19211 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19212 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19213 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19214 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19215
192162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19217
19218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19219 (__makecontext): Fix incorrect CFI when backtracing out of
19220 context created via makecontext.
19221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19222 (__setcontext): Fix incorrect CFI during switch to new context.
19223 (__novec_setcontext): Likewise.
19224
192252013-12-04 Ondřej Bílka <neleai@seznam.cz>
19226
19227 [BZ #4772]
19228 * time/strptime_l.c (__strptime_internal): Allow modifiers
19229 in strptime.
19230 * time/tst-strptime.c (day_tests): Add testcase.
19231
192322013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19233
19234 * scripts/bench.pl: Skip over blank lines.
19235
192362013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19237
19238 [BZ #926]
19239 * manual/time.texi (Calendar Time): Clarify what timezone functions
19240 use.
19241
192422013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19243
19244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19245
192462013-12-04 Ondřej Bílka <neleai@seznam.cz>
19247
19248 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19249 implementation.
19250 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19251 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19252 * debug/memset_chk.c (__memset_chk): Likewise.
19253 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19254 * debug/strncpy_chk.c: Likewise.
19255
192562013-12-03 Joseph Myers <joseph@codesourcery.com>
19257
19258 [BZ #15268]
19259 [BZ #15425]
19260 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19261 (__ieee754_exp): For possibly underflowing results, check size of
19262 result and force underflow exception if required.
19263 * math/auto-libm-test-in: Add more tests of exp.
19264 * math/auto-libm-test-out: Regenerated.
19265 * sysdeps/i386/fpu/libm-test-ulps: Update.
19266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19267
19268 [BZ #16283]
19269 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19270 * math/w_exp2f.c (__exp2f): Likewise.
19271 * math/w_exp2l.c (__exp2l): Likewise.
19272 * math/auto-libm-test-in: Do not allow missing errno on exp2
19273 underflow.
19274 * math/auto-libm-test-out: Regenerated.
19275
192762013-12-03 Ondřej Bílka <neleai@seznam.cz>
19277
19278 [BZ #16274]
19279 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19280 handle filename validation.
19281 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19282 (do_open): Delete.
19283
192842013-12-03 Joseph Myers <joseph@codesourcery.com>
19285
19286 [BZ #6786]
19287 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19288 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19289 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19290 <float.h>.
19291 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19292 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19293 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19294 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19295 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19296 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19297 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19298 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19299 Add more erfc tests.
19300 * math/auto-libm-test-out: Regenerated.
19301 * sysdeps/i386/fpu/libm-test-ulps: Update.
19302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303
19304 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19305 exp2, expm1, j0 and j1.
19306 * math/auto-libm-test-out: Regenerated.
19307 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19308 (erfc_test_data): Likewise.
19309 (exp_test_data): Likewise.
19310 (exp_tonearest_test_data): Likewise.
19311 (exp_towardzero_test_data): Likewise.
19312 (exp_downward_test_data): Likewise.
19313 (exp_upward_test_data): Likewise.
19314 (exp10_test_data): Likewise.
19315 (exp2_test_data): Likewise.
19316 (expm1_test_data): Likewise.
19317 (j0_test_data): Likewise.
19318 (j1_test_data): Likewise.
19319 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19320 (input_flag_type): Add flag_xfail_rounding.
19321 (input_flags): Add xfail-rounding.
19322 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19323 (output_for_one_input_case): Handle flag_xfail_rounding.
19324 * sysdeps/i386/fpu/libm-test-ulps: Update.
19325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19326
193272013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19328
19329 [BZ #16289]
19330 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19331 division by 0.
19332
193332013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19334
19335 [BZ #16195]
19336 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19337 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19338 (STAP_PROBE0): New macro.
19339 (STAP_PROBE1): Likewise.
19340 (STAP_PROBE2): Likewise.
19341 (STAP_PROBE3): Likewise.
19342 (STAP_PROBE4): Likewise.
19343
193442013-12-02 Ondřej Bílka <neleai@seznam.cz>
19345
19346 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19347
193482013-12-02 Steve Ellcey <sellcey@mips.com>
19349
19350 * benchtests/Makefile (bench): Add sqrt.
19351 (LDLIBS-bench-sqrt): New.
19352 * benchtests/sqrt-input: New.
19353
193542013-12-02 Pavel Simerda <psimerda@redhat.com>
19355
19356 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19357 (GAIH_EAI): Likewise.
19358 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19359 (gaih_inet): Likewise.
19360 (getaddrinfo): Don't use GAIH_EAI.
19361
19362 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19363 (struct gaih): Remove definition.
19364
193652013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19366
19367 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19368 Use HERRNOP directly.
19369
193702013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19371
19372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19373
193742013-11-30 Joseph Myers <joseph@codesourcery.com>
19375
19376 * math/gen-auto-libm-tests.c (test_functions): Add more
19377 single-argument functions.
19378 (special_fill_pi_2): New function.
19379 (special_fill_minus_pi_2): Likewise.
19380 (special_fill_pi_6): Likewise.
19381 (special_fill_minus_pi_6): Likewise.
19382 (special_fill_pi_3): Likewise.
19383 (special_fill_2pi_3): Likewise.
19384 (special_fill_e): Likewise.
19385 (special_fill_1_e): Likewise.
19386 (special_fill_e_minus_1): Likewise.
19387 (special_real_inputs): Add more special inputs.
19388 (output_for_one_input_case): Do not require ERANGE on underflow to
19389 zero if round-to-nearest result does not underflow to zero, unless
19390 exact results required.
19391 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19392 atan, atanh, cbrt, cos and cosh.
19393 * math/auto-libm-test-out: Regenerated.
19394 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19395 (acos_tonearest_test_data): Likewise.
19396 (acos_towardzero_test_data): Likewise.
19397 (acos_downward_test_data): Likewise.
19398 (acos_upward_test_data): Likewise.
19399 (acosh_test_data): Likewise.
19400 (asin_test_data): Likewise.
19401 (asin_tonearest_test_data): Likewise.
19402 (asin_towardzero_test_data): Likewise.
19403 (asin_upward_test_data): Likewise.
19404 (asinh_test_data): Likewise.
19405 (atan_test_data): Likewise.
19406 (atanh_test_data): Likewise.
19407 (cbrt_test_data): Likewise.
19408 (cos_test_data): Likewise.
19409 (cos_tonearest_test_data): Likewise.
19410 (cos_towardzero_test_data): Likewise.
19411 (cos_downward_test_data): Likewise.
19412 (cos_upward_test_data): Likewise.
19413 (cosh_test_data): Likewise.
19414 (cosh_tonearest_test_data): Likewise.
19415 (cosh_towardzero_test_data): Likewise.
19416 (cosh_downward_test_data): Likewise.
19417 (cosh_upward_test_data): Likewise.
19418 * sysdeps/i386/fpu/libm-test-ulps: Update.
19419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19420
194212013-11-29 Joseph Myers <joseph@codesourcery.com>
19422
19423 [BZ #6787]
19424 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19425 * math/w_exp10f.c (__exp10f): Likewise.
19426 * math/w_exp10l.c (__exp10l): Likewise.
19427 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19428 errno settings in existing tests.
19429
19430 [BZ #14032]
19431 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19432 precision control set to double precision.
19433 * sysdeps/i386/fpu/w_sqrt.c: New file.
19434 * math/auto-libm-test-in: Add more tests.
19435 * math/auto-libm-test-out: Update.
19436
19437 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19438 (sqrt_test_tonearest): New function.
19439 (sqrt_towardzero_test_data): New variable.
19440 (sqrt_test_towardzero): New function.
19441 (sqrt_downward_test_data): New variable.
19442 (sqrt_test_downward): New function.
19443 (sqrt_upward_test_data): New variable.
19444 (sqrt_test_upward): New function.
19445 (main): Call the new functions.
19446
19447 * math/gen-auto-libm-tests.c: New file.
19448 * math/auto-libm-test-in: Likewise.
19449 * math/auto-libm-test-out: New generated file.
19450 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19451 variables.
19452 (%beautify): Add generated representations of zero.
19453 (top level): Set $auto_input and call parse_auto_input.
19454 (beautify): Remove trailing "f" from hex float constants.
19455 (parse_args): Handle XFAIL_TEST.
19456 (convert_condition): New function.
19457 (or_value): Likewise.
19458 (or_cond_value): Likewise.
19459 (generate_testfile): Handle AUTO_TESTS_* lines.
19460 (parse_auto_input): New function.
19461 * math/libm-test.inc (XFAIL_TEST): New macro.
19462 (ERRNO_UNCHANGED): Update value.
19463 (ERRNO_EDOM): Likewise.
19464 (ERRNO_ERANGE): Likewise.
19465 (IGNORE_RESULT): Likewise.
19466 (TEST_COND_flt_32): New macro.
19467 (TEST_COND_dbl_64): Likewise.
19468 (TEST_COND_ldbl_96_intel): Likewise.
19469 (TEST_COND_ldbl_96_m68k): Likewise.
19470 (TEST_COND_ldbl_128): Likewise.
19471 (TEST_COND_ldbl_128ibm): Likewise.
19472 (TEST_COND_long32): Likewise.
19473 (TEST_COND_long64): Likewise.
19474 (TEST_COND_before_rounding): Likewise.
19475 (TEST_COND_after_rounding): Likewise.
19476 (enable_test): Handle XFAIL_TEST flag.
19477 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19478 with finite results.
19479 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19480 auto-libm-test-out.
19481
194822013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19483 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19484
19485 [BZ #16214]
19486 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19487 __tls_get_addr_internal instead of __tls_get_offset in order to
19488 avoid GOT pointer dependency. Make rtld export
19489 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19490 __tls_get_addr since we are a __tls_get_offset platform.
19491 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19492 GOT pointer being set up before.
19493 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19494
194952013-11-28 Joseph Myers <joseph@codesourcery.com>
19496
19497 * manual/math.texi (Errors in Math Functions): Document accuracy
19498 goals.
19499
19500 [BZ #15004]
19501 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19502 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19505 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19507 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19517
19518 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19519 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19520 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19521 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19522 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19523 Likewise.
19524 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19525 Likewise.
19526 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19527 Likewise.
19528 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19529 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19530 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19531 atomic-feupdateenv and flt-rounds.
19532 * sysdeps/powerpc/nofpu/Versions (libc): Add
19533 __atomic_feholdexcept, __atomic_feclearexcept,
19534 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19535 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19536 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19537 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19538 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19539 here.
19540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19541 Update.
19542
19543 * manual/arith.texi (FP Exceptions): Document that exceptions may
19544 not be raised when matherr is used.
19545 (Math Error Reporting): Document overflow in directed rounding
19546 modes. Document that errno may not be set when finite values are
19547 returned on overflow. Document intent to set errno on underflow
19548 only for underflow to zero.
19549
19550 [BZ #16271]
19551 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19552 round-to-nearest then adjust result for other rounding modes.
19553 * include/fenv.h (fegetround): Use libm_hidden_proto.
19554 * math/fegetround.c (fegetround): Use libm_hidden_def.
19555 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19556 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19557 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19558 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19559 Likewise.
19560 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19561 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19562 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19563 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19564
195652013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19566
19567 [BZ #16077]
19568 * nss/Versions (libnss_files): Add
19569 _nss_files_gethostbyname3_r.
19570 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19571 New function.
19572 (HOST_DB_LOOKUP): Remove macro.
19573 (_nss_files_gethostbyname_r): Implement function without the
19574 HOST_DB_LOOKUP macro.
19575 (_nss_files_gethostbyname2_r): Likewise.
19576
195772013-11-28 Ondřej Bílka <neleai@seznam.cz>
19578
19579 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19580
195812013-11-26 Uros Bizjak <ubizjak@gmail.com>
19582
19583 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19584 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19585 warning.
19586
195872013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19588
19589 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19590 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19591 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19592 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19593 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19594 __fe_nomask_env_priv and attribute_hidden.
19595 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19596 (libc_feupdateenv_test_ppc): Likewise.
19597 (libc_feresetround_ppc): Likewise.
19598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19599 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19600 compat_symbol macro.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19602 (__fe_nomask_env): Likewise.
19603 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19604
196052013-11-26 Ondřej Bílka <neleai@seznam.cz>
19606
19607 * string/Makefile: Remove ifunc tests.
19608 * string/test-string.h: Define TEST_IFUNC.
19609 * string/test-bcopy-ifunc.c: Remove.
19610 * string/test-bzero-ifunc.c: Likewise.
19611 * string/test-memccpy-ifunc.c: Likewise.
19612 * string/test-memchr-ifunc.c: Likewise.
19613 * string/test-memcmp-ifunc.c: Likewise.
19614 * string/test-memcpy-ifunc.c: Likewise.
19615 * string/test-memmem-ifunc.c: Likewise.
19616 * string/test-memmove-ifunc.c: Likewise.
19617 * string/test-mempcpy-ifunc.c: Likewise.
19618 * string/test-memrchr-ifunc.c: Likewise.
19619 * string/test-memset-ifunc.c: Likewise.
19620 * string/test-rawmemchr-ifunc.c: Likewise.
19621 * string/test-stpcpy-ifunc.c: Likewise.
19622 * string/test-stpncpy-ifunc.c: Likewise.
19623 * string/test-strcasecmp-ifunc.c: Likewise.
19624 * string/test-strcasestr-ifunc.c: Likewise.
19625 * string/test-strcat-ifunc.c: Likewise.
19626 * string/test-strchr-ifunc.c: Likewise.
19627 * string/test-strchrnul-ifunc.c: Likewise.
19628 * string/test-strcmp-ifunc.c: Likewise.
19629 * string/test-strcpy-ifunc.c: Likewise.
19630 * string/test-strcspn-ifunc.c: Likewise.
19631 * string/test-strlen-ifunc.c: Likewise.
19632 * string/test-strncasecmp-ifunc.c: Likewise.
19633 * string/test-strncat-ifunc.c: Likewise.
19634 * string/test-strncmp-ifunc.c: Likewise.
19635 * string/test-strncpy-ifunc.c: Likewise.
19636 * string/test-strnlen-ifunc.c: Likewise.
19637 * string/test-strpbrk-ifunc.c: Likewise.
19638 * string/test-strrchr-ifunc.c: Likewise.
19639 * string/test-strspn-ifunc.c: Likewise.
19640 * string/test-strstr-ifunc.c: Likewise.
19641
196422013-11-26 Ondřej Bílka <neleai@seznam.cz>
19643
19644 * benchtests/Makefile: Remove ifunc tests.
19645 * benchtests/bench-string.h: Define TEST_IFUNC.
19646 * benchtests/bench-bcopy-ifunc.c: Remove.
19647 * benchtests/bench-bzero-ifunc.c: Likewise.
19648 * benchtests/bench-memccpy-ifunc.c: Likewise.
19649 * benchtests/bench-memchr-ifunc.c: Likewise.
19650 * benchtests/bench-memcmp-ifunc.c: Likewise.
19651 * benchtests/bench-memcpy-ifunc.c: Likewise.
19652 * benchtests/bench-memmem-ifunc.c: Likewise.
19653 * benchtests/bench-memmove-ifunc.c: Likewise.
19654 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19655 * benchtests/bench-memrchr-ifunc.c: Likewise.
19656 * benchtests/bench-memset-ifunc.c: Likewise.
19657 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19658 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19659 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19660 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19661 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19662 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19663 * benchtests/bench-strcat-ifunc.c: Likewise.
19664 * benchtests/bench-strchr-ifunc.c: Likewise.
19665 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19666 * benchtests/bench-strcmp-ifunc.c: Likewise.
19667 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19668 * benchtests/bench-strcpy-ifunc.c: Likewise.
19669 * benchtests/bench-strcspn-ifunc.c: Likewise.
19670 * benchtests/bench-strlen-ifunc.c: Likewise.
19671 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19672 * benchtests/bench-strncat-ifunc.c: Likewise.
19673 * benchtests/bench-strncmp-ifunc.c: Likewise.
19674 * benchtests/bench-strncpy-ifunc.c: Likewise.
19675 * benchtests/bench-strnlen-ifunc.c: Likewise.
19676 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19677 * benchtests/bench-strrchr-ifunc.c: Likewise.
19678 * benchtests/bench-strsep-ifunc.c: Likewise.
19679 * benchtests/bench-strspn-ifunc.c: Likewise.
19680 * benchtests/bench-strstr-ifunc.c: Likewise.
19681
196822013-11-26 Ondřej Bílka <neleai@seznam.cz>
19683
19684 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19685
196862013-11-26 Ondřej Bílka <neleai@seznam.cz>
19687
19688 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19689 * rt/aio.h: Likewise.
19690 * sysdeps/gnu/bits/utmp.h: Likewise.
19691 * sysdeps/gnu/bits/utmpx.h: Likewise.
19692 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19693 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19694 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19695 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19696 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19697 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19698 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19699 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19700 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19701 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19702 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19703 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19704 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19706 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19707 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19708 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19709 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19710 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19711 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19712 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19713 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19714 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19715 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19716 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19718 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19719 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19720 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19721 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19722 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19723 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19724 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19725 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19726 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19727 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19728 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19729 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19730 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19731 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19732 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19733 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19734
197352013-11-25 Carlos O'Donell <carlos@redhat.com>
19736
19737 [BZ #16245]
19738 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19739 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19740
197412013-11-25 Joseph Myers <joseph@codesourcery.com>
19742
19743 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19744 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19745 Likewise.
19746
197472013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19748
19749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19750 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19751 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19752 (__fesetround): Remove define.
19753 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19754 rounding and exceptions handling.
19755 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19756 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19757 (__fe_nomask_env): Likewise.
19758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19759 __fegetround instead of fegetround.
19760 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19761 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19762
197632013-11-21 Roland McGrath <roland@hack.frob.com>
19764
19765 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19766 it's there.
19767
19768 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19769
197702013-11-21 Meador Inge <meadori@codesourcery.com>
19771
19772 [BZ #11157]
19773 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19774 (encrypt_r): Likewise.
19775 * malloc/obstack.h (obstack_free): Likewise.
19776 * posix/unistd.h (encrypt): Likewise.
19777
197782013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19779
19780 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19781 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19782 DL_CALL_DT_FINI() that call the functions directly.
19783 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19784 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19785 * elf/dl-fini.c: Likewise.
19786
197872013-11-20 Ondřej Bílka <neleai@seznam.cz>
19788
19789 * malloc/hooks.c (memalign_check): Add alignment rounding.
19790 * malloc/malloc.c (_mid_memalign): New function.
19791 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19792 Implement by calling _mid_memalign.
19793 * manual/probes.texi (Memory Allocation Probes): Remove
19794 memory_valloc_retry and memory_pvalloc_retry.
19795
197962013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19797
19798 * locale/programs/locarchive.c (open_archive): Add const
19799 qualifier to ARCHIVEFNAME and copy default fname to
19800 DEFAULT_FNAME.
19801
19802 [BZ #15601]
19803 * libio/tst-widetext.input: Rename Oriya to Odia.
19804 * locale/iso-639.def: Likewise.
19805
19806 * manual/probes.texi (Mathematical Function Probes): Add
19807 documentation for sin, cos, asin and acos probes.
19808 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19809 (__sin32): Add slowasin probe.
19810 (__cos32): Add slowacos probe.
19811 (__mpsin): Add slowsin probe.
19812 (__mpcos): Add slowcos probe.
19813
198142013-11-19 Joseph Myers <joseph@codesourcery.com>
19815
19816 [BZ #15483]
19817 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19818 thread-local __sim_exceptions_thread and global
19819 __sim_exceptions_global.
19820 (__sim_disabled_exceptions): Change to thread-local
19821 __sim_disabled_exceptions_thread and global
19822 __sim_disabled_exceptions_global.
19823 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19824 and global __sim_round_mode_global.
19825 (__simulate_exceptions): Use thread-local floating-point state and
19826 set global state from it as needed.
19827 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19828 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19829 __sim_round_mode_thread.
19830 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19831 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19832 and global __sim_exceptions_global.
19833 (__sim_disabled_exceptions): Change to thread-local
19834 __sim_disabled_exceptions_thread and global
19835 __sim_disabled_exceptions_global.
19836 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19837 and global __sim_round_mode_global.
19838 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19839 (SIM_SET_GLOBAL): Likewise.
19840 * sysdeps/powerpc/soft-fp/sfp-machine.h
19841 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19842 __sim_round_mode_thread.
19843 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19844 __sim_disabled_exceptions_thread.
19845 (__sim_exceptions): Change to __sim_exceptions_thread.
19846 (__sim_disabled_exceptions): Change to
19847 __sim_disabled_exceptions_thread.
19848 (__sim_round_mode): Change to __sim_round_mode_thread.
19849 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19850 thread-local floating-point state and set global state from it as
19851 needed.
19852 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19853 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19854 (__sim_disabled_exceptions): Remove extern declaration.
19855 (feenableexcept): Use thread-local floating-point state and set
19856 global state from it as needed.
19857 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19858 extern declaration.
19859 (__sim_disabled_exceptions): Likewise.
19860 (__sim_round_mode): Likewise.
19861 (__fegetenv): Use thread-local floating-point state.
19862 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19863 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19864 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19865 floating-point state and set global state from it as needed.
19866 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19867 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19868 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19869 Likewise.
19870 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19871 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19872 Likewise.
19873 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19874 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19875 Use __sim_round_mode_thread.
19876 * math/test-fenv-tls.c: New file.
19877 * math/Makefile (tests): Add test-fenv-tls.
19878 ($(objpfx)test-fenv-tls): Depend on
19879 $(common-objpfx)nptl/libpthread.so.
19880
198812013-11-19 Andreas Schwab <schwab@suse.de>
19882
19883 * locale/programs/locale.c (show_info): Decode wordarray elements.
19884 * locale/categories.def (LC_MONETARY): Add element for
19885 _NL_MONETARY_CRNCYSTR.
19886 * locale/C-monetary.c (conversion_rate): New variable.
19887 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19888 element.
19889
198902013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19891
19892 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19893 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19894
198952013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19896
19897 * elf/Makefile (tst-auxv): New test.
19898 * elf/tst-auxv.c: New
19899 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19900
199012013-11-18 Joseph Myers <joseph@codesourcery.com>
19902
19903 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19904 (hidden_proto): Caller changed.
19905 (hidden_tls_proto): New macro.
19906 (libc_hidden_tls_proto): Likewise.
19907 (rtld_hidden_tls_proto): Likewise.
19908 (libm_hidden_tls_proto): Likewise.
19909 (libresolv_hidden_tls_proto): Likewise.
19910 (librt_hidden_tls_proto): Likewise.
19911 (libdl_hidden_tls_proto): Likewise.
19912 (libnss_files_hidden_tls_proto): Likewise.
19913 (libnsl_hidden_tls_proto): Likewise.
19914 (libnss_nisplus_hidden_tls_proto): Likewise.
19915 (libutil_hidden_tls_proto): Likewise.
19916
199172013-11-18 Ondřej Bílka <neleai@seznam.cz>
19918
19919 [BZ #10253]
19920 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19921 (decompose_rpath): Defer expansion to fillin_rpath.
19922 (_dl_init_paths): Pass linkmap to fillin_rpath.
19923
199242013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19925
19926 * benchtests/Makefile: Add strsep.
19927 * benchtests/bench-strsep.c: New file: strsep benchtest.
19928 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19929
199302013-11-18 Andreas Schwab <schwab@suse.de>
19931
19932 * locale/programs/locale.c (show_info) [case byte]: Check for
19933 '\377' instead of '\177'.
19934 * locale/C-monetary.c (not_available): Always use "\377".
19935 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19936 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19937 detect unavailable sign_posn locale elements.
19938 * locale/localeconv.c (__localeconv): For grouping and
19939 mon_grouping handle "\177" and "\377" like no grouping.
19940 (INT_ELEM): New macro. Use it to set all numeric members.
19941 * locale/programs/ld-monetary.c (monetary_read)
19942 <tok_mon_grouping>: Normalize single -1 to the empty string.
19943 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19944 Likewise.
19945
199462013-11-07 Ondřej Bílka <neleai@seznam.cz>
19947
19948 [BZ #16055]
19949 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19950 when we match (nil).
19951 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19952
199532013-11-16 Joseph Myers <joseph@codesourcery.com>
19954
19955 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19956 (NO_TEST_INLINE): Update value.
19957 (ERRNO_UNCHANGED): Likewise.
19958 (ERRNO_EDOM): Likewise.
19959 (ERRNO_ERANGE): Likewise.
19960 (IGNORE_RESULT): Likewise.
19961 (check_float_internal): Check signs of NaN results if
19962 TEST_NAN_SIGN used.
19963 (check_complex): Pass TEST_NAN_SIGN flag through to second
19964 check_float_internal call.
19965 (copysign_test_data): Add tests with quiet NaNs as second
19966 argument. Use TEST_NAN_SIGN.
19967 (fabs_test_data): Add test of negative quiet NaN argument. Use
19968 TEST_NAN_SIGN.
19969 (signbit_test_data): Add tests of quiet NaN argument.
19970 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19971
19972 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19973 $ignore_result.
19974 (parse_args): Handle function results specified as IGNORE.
19975 * math/libm-test.inc (IGNORE_RESULT): New macro.
19976 (check_float_internal): Do not check numerical result if flag
19977 IGNORE_RESULT set.
19978 (check_complex): Pass through IGNORE_RESULT to second
19979 check_float_internal call.
19980 (check_int): Do not check numerical result if flag IGNORE_RESULT
19981 set.
19982 (check_long): Likewise.
19983 (check_bool): Likewise.
19984 (check_longlong): Likewise.
19985 (lrint_test_data): Add tests of infinite and NaN arguments.
19986 (lrint_tonearest_test_data): Likewise.
19987 (lrint_towardzero_test_data): Likewise.
19988 (lrint_downward_test_data): Likewise.
19989 (lrint_upward_test_data): Likewise.
19990 (llrint_test_data): Likewise.
19991 (llrint_tonearest_test_data): Likewise.
19992 (llrint_towardzero_test_data): Likewise.
19993 (llrint_downward_test_data): Likewise.
19994 (llrint_upward_test_data): Likewise.
19995 (lround_test_data): Likewise.
19996 (llround_test_data): Likewise.
19997
19998 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19999 (ERRNO_UNCHANGED): Update value.
20000 (ERRNO_EDOM): Likewise.
20001 (ERRNO_ERANGE): Likewise.
20002 (NO_TEST_INLINE_FLOAT): New macro.
20003 (NO_TEST_INLINE_DOUBLE): Likewise.
20004 (enable_test): New function.
20005 (RUN_TEST_f_f): Check enable_test before running test.
20006 (RUN_TEST_2_f): Likewise.
20007 (RUN_TEST_fff_f): Likewise.
20008 (RUN_TEST_c_f): Likewise.
20009 (RUN_TEST_f_f1): Likewise.
20010 (RUN_TEST_fF_f1): Likewise.
20011 (RUN_TEST_fI_f1): Likewise.
20012 (RUN_TEST_ffI_f1): Likewise.
20013 (RUN_TEST_c_c): Likewise.
20014 (RUN_TEST_cc_c): Likewise.
20015 (RUN_TEST_f_i): Likewise.
20016 (RUN_TEST_f_i_tg): Likewise.
20017 (RUN_TEST_ff_i_tg): Likewise.
20018 (RUN_TEST_f_b): Likewise.
20019 (RUN_TEST_f_b_tg): Likewise.
20020 (RUN_TEST_f_l): Likewise.
20021 (RUN_TEST_f_L): Likewise.
20022 (RUN_TEST_fFF_11): Likewise.
20023 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20024 conditionals.
20025 (cosh_test_data): Likewise.
20026 (exp_test_data): Likewise.
20027 (expm1_test_data): Likewise.
20028 (hypot_test_data): Likewise.
20029 (pow_test_data): Likewise.
20030 (sinh_test_data): Likewise.
20031 (tanh_test_data): Likewise.
20032 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20033 flags argument.
20034
20035 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20036 tests with quiet NaN input and output.
20037 (acosh_test_data): Likewise.
20038 (asin_test_data): Likewise.
20039 (asinh_test_data): Likewise.
20040 (atan_test_data): Likewise.
20041 (atanh_test_data): Likewise.
20042 (atan2_test_data): Likewise.
20043 (cbrt_test_data): Likewise.
20044 (cos_test_data): Likewise.
20045 (cosh_test_data): Likewise.
20046 (erf_test_data): Likewise.
20047 (erfc_test_data): Likewise.
20048 (exp_test_data): Likewise.
20049 (exp10_test_data): Likewise.
20050 (exp2_test_data): Likewise.
20051 (expm1_test_data): Likewise.
20052 (hypot_test_data): Likewise.
20053 (j0_test_data): Likewise.
20054 (j1_test_data): Likewise.
20055 (jn_test_data): Likewise.
20056 (lgamma_test_data): Likewise.
20057 (log_test_data): Likewise.
20058 (log10_test_data): Likewise.
20059 (log1p_test_data): Likewise.
20060 (log2_test_data): Likewise.
20061 (pow_test_data): Likewise.
20062 (scalb_test_data): Likewise.
20063 (sin_test_data): Likewise.
20064 (sincos_test_data): Likewise.
20065 (sinh_test_data): Likewise.
20066 (tan_test_data): Likewise.
20067 (tanh_test_data): Likewise.
20068 (tgamma_test_data): Likewise.
20069 (y0_test_data): Likewise.
20070 (y1_test_data): Likewise.
20071 (yn_test_data): Likewise.
20072
20073 [BZ #16167]
20074 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20075 argument being NaN and avoid computations with second argument in
20076 that case.
20077 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20078 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20079 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20080
200812013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20082
20083 * locale/iso-639.def: Add Chitwani Tharu (the).
20084
200852013-11-14 Andreas Schwab <schwab@suse.de>
20086
20087 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20088 word instead of empty string.
20089
200902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20091
20092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20093 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20095 (__fe_nomask_env): Likewise.
20096
200972013-11-13 Steve Ellcey <sellcey@mips.com>
20098
20099 * benchtests/bench-timing.h: Include time.h.
20100
201012013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20102
20103 [BZ #15997]
20104 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20105 to 3.4.0 for x32.
20106 * sysdeps/unix/sysv/linux/configure: Regenerated.
20107
201082013-11-13 Joseph Myers <joseph@codesourcery.com>
20109
20110 [BZ #16151]
20111 * stdlib/strtod_l.c (round_and_return): Do not consider
20112 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20113 exponent one less than half the least subnormal exponent.
20114 * stdlib/test-strtod-round-data: Add more tests.
20115 * stdlib/tst-strtod-round.c (tests): Regenerated.
20116
201172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20118
20119 [BZ #14143]
20120 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20121 (__fe_mask_env): Likewise.
20122 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20123 libm_hidden_proto and add function prototype.
20124 (__fe_mask_env): Add function prototype.
20125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20126 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20128 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20130 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20131
201322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20133
20134 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20135 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20136
201372013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20138
20139 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20140 of htab_find_slot().
20141
201422013-11-11 David S. Miller <davem@davemloft.net>
20143
20144 [BZ #16150]
20145 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20146 symbol in the non-vis3 case in static builds.
20147 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20148 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20149 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20150 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20151
201522013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20153
20154 [BZ #387]
20155 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20156 it is empty.
20157
201582013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20159
20160 * benchtests/Makefile: Add bench-strtod.
20161 * benchtests/bench-strtod.c: New file: strtod benchtest
20162
201632013-11-11 Andreas Schwab <schwab@suse.de>
20164
20165 [BZ #16153]
20166 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20167 terminating NUL in key length.
20168
201692013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20170
20171 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20172 Add artificial ODP entry for vDSO symbol for PPC64.
20173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20174 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20175
201762013-11-07 Ondřej Bílka <neleai@seznam.cz>
20177
20178 [BZ #15374]
20179 * nss/getent.c (services_keys): Recognize services starting with digit.
20180
201812013-11-06 David S. Miller <davem@davemloft.net>
20182
20183 [BZ #15985]
20184 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20185 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20186
201872013-11-06 Will Newton <will.newton@linaro.org>
20188
20189 * manual/memory.texi (Malloc Examples): Remove register
20190 keyword from examples.
20191
201922013-11-04 Chris Leonard <cjl@sugarlabs.org>
20193
20194 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20195
201962013-11-04 Joseph Myers <joseph@codesourcery.com>
20197
20198 [BZ #6981]
20199 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20200 depending on [__GCC_IEC_559 > 0].
20201 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20202 depending on [__GCC_IEC_559_COMPLEX > 0].
20203
202042013-11-03 Chris Leonard <cjl@sugarlabs.org>
20205
20206 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20207 to iso-639.def.
20208
202092013-11-03 Ondřej Bílka <neleai@seznam.cz>
20210
20211 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20212
202132013-11-01 Ondřej Bílka <neleai@seznam.cz>
20214
20215 [BZ #16112]
20216 * malloc/malloc (malloc_info): Do not handle first bin as
20217 special case.
20218
202192013-11-01 Chris Leonard <cjl@sugarlabs.org>
20220
20221 * locale/iso-639.def: Add Central Nahuatl (nhn).
20222
202232013-11-01 Bruno Haible <bruno@clisp.org>
20224
20225 [BZ #7003]
20226 * manual/math.texi (BSD Random): Specify range upper bound as
20227 in POSIX.
20228
202292013-10-31 Chris Leonard <cjl@sugarlabs.org>
20230
20231 * locale/iso-639.def: Add Meadow Mari (mhr).
20232
202332013-10-31 Ondřej Bílka <neleai@seznam.cz>
20234
20235 [BZ #14752], [BZ #15763]
20236 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20237 Validate name.
20238 * rt/tst_shm.c: Add test for escaping directory.
20239
202402013-10-31 Andreas Schwab <schwab@suse.de>
20241
20242 [BZ #15917]
20243 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20244 followed by 'x' as part of digit sequence.
20245 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20246
202472013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20248
20249 [BZ #16037]
20250 * configure.ac: allow GNU Make 4.0 and greater.
20251 * configure: Regenerated.
20252
202532013-10-30 Will Newton <will.newton@linaro.org>
20254
20255 [BZ #16038]
20256 * malloc/hooks.c (memalign_check): Limit alignment to the
20257 maximum representable power of two.
20258 * malloc/malloc.c (__libc_memalign): Likewise.
20259 * malloc/tst-memalign.c (do_test): Add test for very
20260 large alignment values.
20261 * malloc/tst-posix_memalign.c (do_test): Likewise.
20262
202632013-10-30 Ondřej Bílka <neleai@seznam.cz>
20264
20265 [BZ #11087]
20266 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20267 (munmap_chunk): Likewise.
20268 (mremap_chunk): Likewise.
20269
202702013-10-30 Ondřej Bílka <neleai@seznam.cz>
20271
20272 [BZ #15799]
20273 * stdlib/div.c (div): Remove obsolete code.
20274 * stdlib/ldiv.c (ldiv): Likewise.
20275 * stdlib/lldiv.c (lldiv): Likewise.
20276
202772013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20278
20279 [BZ #16071]
20280 * nss/nss_files/files-XXX.c (get_contents_ret): New
20281 enumerator.
20282 (get_contents): New function.
20283 (internal_getent): Use it. Expand size of LINEBUFLEN.
20284
202852013-10-30 Mike Frysinger <vapier@gentoo.org>
20286
20287 * configure.in: Moved to ...
20288 * configure.ac: ... here. Change reference to configure.in
20289 to configure.ac.
20290 * sysdeps/arm/preconfigure.ac: ... here.
20291 configure.in to configure.ac.
20292 * sysdeps/gnu/configure.in: Moved to ...
20293 * sysdeps/gnu/configure.ac: ... here.
20294 * sysdeps/i386/configure.in: Moved to ...
20295 * sysdeps/i386/configure.ac: ... here.
20296 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20297 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20298 * sysdeps/mach/configure.in: Moved to ...
20299 * sysdeps/mach/configure.ac: ... here.
20300 * sysdeps/mach/hurd/configure.in: Moved to ...
20301 * sysdeps/mach/hurd/configure.ac: ... here.
20302 * sysdeps/powerpc/configure.in: Moved to ...
20303 * sysdeps/powerpc/configure.ac: ... here.
20304 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20305 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20306 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20307 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20308 * sysdeps/s390/s390-32/configure.in: Moved to ...
20309 * sysdeps/s390/s390-32/configure.ac: ... here.
20310 * sysdeps/s390/s390-64/configure.in: Moved to ...
20311 * sysdeps/s390/s390-64/configure.ac: ... here.
20312 * sysdeps/sh/configure.in: Moved to ...
20313 * sysdeps/sh/configure.ac: ... here.
20314 * sysdeps/sparc/configure.in: Moved to ...
20315 * sysdeps/sparc/configure.ac: ... here.
20316 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20317 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20318 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20319 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20320 * sysdeps/x86_64/configure.in: Moved to ...
20321 * sysdeps/x86_64/configure.ac: ... here.
20322 * sysdeps/x86_64/preconfigure.in: Moved to ...
20323 * sysdeps/x86_64/preconfigure.ac: ... here.
20324 * aclocal.m4: Change reference to configure.in to configure.ac.
20325 * config.h.in: Likewise.
20326 * manual/install.texi: Likewise.
20327 * manual/maint.texi: Likewise.
20328 * Makefile: Likewise.
20329 * malloc/Makefile: Likewise.
20330 * nscd/Makefile: Likewise.
20331 * Makeconfig: Change reference to configure.in and
20332 preconfigure.in to configure.ac and preconfigure.ac
20333 respectively.
20334 * INSTALL: Regenerated.
20335 * configure: Likewise.
20336 * sysdeps/gnu/configure: Likewise.
20337 * sysdeps/i386/configure: Likewise.
20338 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20339 * sysdeps/mach/configure: Likewise.
20340 * sysdeps/mach/hurd/configure: Likewise.
20341 * sysdeps/powerpc/configure: Likewise.
20342 * sysdeps/powerpc/powerpc32/configure: Likewise.
20343 * sysdeps/powerpc/powerpc64/configure: Likewise.
20344 * sysdeps/s390/s390-32/configure: Likewise.
20345 * sysdeps/s390/s390-64/configure: Likewise.
20346 * sysdeps/sh/configure: Likewise.
20347 * sysdeps/sparc/configure: Likewise.
20348 * sysdeps/unix/sysv/linux/configure: Likewise.
20349 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20350 * sysdeps/x86_64/configure: Likewise.
20351 * sysdeps/x86_64/preconfigure: Likewise.
20352
203532013-10-29 Andreas Schwab <schwab@suse.de>
20354
20355 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20356
203572013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20358
20359 * benchtests/pow-inputs: Add new inputs.
20360
20361 * benchtests/exp-inputs: Add new inputs.
20362
20363 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20364 conditional check for return value.
20365 (__cos32): Likewise.
20366
203672013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20368
20369 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20370 to provide a boost for large inputs with word alignment.
20371 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20372 implementation based on optimized PPC64 strcpy.
20373 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20374 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20375 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20376 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20377
203782013-10-25 Ondřej Bílka <neleai@seznam.cz>
20379
20380 [BZ #2801]
20381 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20382
203832013-10-25 Ondřej Bílka <neleai@seznam.cz>
20384
20385 [BZ #14876]
20386 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20387 * time/tst-strptime.c (day_tests): Add testcase.
20388
203892013-10-25 Ondřej Bílka <neleai@seznam.cz>
20390
20391 [BZ #14029]
20392 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20393
203942013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20395
20396 [BZ #16074]
20397 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20398 MAP_FAILED on error.
20399
204002013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20401
20402 [BZ #16072]
20403 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20404 heap for large requests.
20405
204062013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20407
20408 [BZ #9954]
20409 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20410 result if the result has no associated interface.
20411 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20412 interface for all 127.X.Y.Z addresses.
20413
204142013-10-24 Chris Leonard <cjl@sugarlabs.org>
20415
20416 * locale/iso-639.def: Add Ligurian (lij)
20417
204182013-10-21 Ondřej Bílka <neleai@seznam.cz>
20419
20420 [BZ #15825]
20421 * sunrpc/rpc_main.c: Document rpcgen -5.
20422
204232013-10-19 Michael Stahl <mstahl@redhat.com>
20424
20425 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20426
204272013-10-19 Ondřej Bílka <neleai@seznam.cz>
20428
20429 [BZ #10278]
20430 * posix/glob.c: Match only directories when trailing slash is present.
20431 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20432 (main): Add testcase.
20433
204342013-10-19 Ondřej Bílka <neleai@seznam.cz>
20435
20436 [BZ #15670]
20437 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20438
204392013-10-18 Carlos O'Donell <carlos@redhat.com>
20440
20441 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20442 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20443 AUTH_DES and cindex for FIPS 140-2.
20444 (DES Encryption): Add cindex FIPS 46-3.
20445
20446 * locale/locarchive.h (struct locarhandle): Add fname.
20447 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20448 if an optional argument was specified to --list-archive,
20449 otherwise NULL.
20450 * locale/programs/locarchive.c (show_archive_content): Take new
20451 argument fname and pass it via ah.fname to open_archive.
20452 * locale/programs/localedef.h: Update decl.
20453 (open_archive): If AH->fname is non-null, open that file
20454 rather than the default file name, and don't ignore ENOENT.
20455 (create_archive): Set AH.fname to NULL.
20456 (delete_locales_from_archive): Likewise.
20457 (add_locales_to_archive): Likewise.
20458 * locale/programs/locfile.c (write_all_categories): Likewise.
20459
204602013-10-18 Joseph Myers <joseph@codesourcery.com>
20461 Aldy Hernandez <aldyh@redhat.com>
20462
20463 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20464 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20465 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20466 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20467 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20468 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20469 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20470 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20471 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20472 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20473 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20474 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20475 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20476 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20477 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20478 Likewise.
20479 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20480 Likewise.
20481 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20482 Likewise.
20483 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20484 Likewise.
20485 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20486 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20487 Likewise.
20488 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20489 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20490 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20491 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20492 Likewise.
20493 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20494 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20495 * sysdeps/powerpc/preconfigure: Likewise.
20496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20497 Likewise.
20498 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20499 Replace contents of file by #include of <fenv_libc.h>.
20500 * sysdeps/powerpc/soft-fp/sfp-machine.h
20501 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20502 and <sys/prctl.h>.
20503 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20504 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20505 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20506 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20507 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20509 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20511 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20513 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20516 Allow copysignl PLT reference to be missing.
20517
205182013-10-18 Richard Sandiford <richard@codesourcery.com>
20519 Joseph Myers <joseph@codesourcery.com
20520
20521 [BZ #15948]
20522 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20523 single character.
20524 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20525
205262013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20527
20528 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20529 * elf/tst-tls1.c: Likewise.
20530 * elf/tst-tls10.h: Likewise.
20531 * elf/tst-tls14.c: Likewise.
20532 * elf/tst-tls2.c: Likewise.
20533 * elf/tst-tls3.c: Likewise.
20534 * elf/tst-tls4.c: Likewise.
20535 * elf/tst-tls5.c: Likewise.
20536 * elf/tst-tls6.c: Likewise.
20537 * elf/tst-tls7.c: Likewise.
20538 * elf/tst-tls8.c: Likewise.
20539 * elf/tst-tls9.c: Likewise.
20540 * elf/tst-tlsmod1.c: Likewise.
20541 * elf/tst-tlsmod13.c: Likewise.
20542 * elf/tst-tlsmod13a.c: Likewise.
20543 * elf/tst-tlsmod14a.c: Likewise.
20544 * elf/tst-tlsmod16a.c: Likewise.
20545 * elf/tst-tlsmod16b.c: Likewise.
20546 * elf/tst-tlsmod2.c: Likewise.
20547 * elf/tst-tlsmod3.c: Likewise.
20548 * elf/tst-tlsmod4.c: Likewise.
20549 * elf/tst-tlsmod5.c: Likewise.
20550 * elf/tst-tlsmod6.c: Likewise.
20551
205522013-10-18 Ondřej Bílka <neleai@seznam.cz>
20553
20554 [BZ #12486]
20555 * malloc/malloc.c: remove checks for statistics.
20556
205572013-10-17 Ondřej Bílka <neleai@seznam.cz>
20558
20559 [BZ #15277]
20560 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20561 * inet/tst-network.c: Add testcase.
20562
205632013-10-17 Andreas Schwab <schwab@suse.de>
20564
20565 [BZ #15218]
20566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20567 to determine canonical name.
20568
205692013-10-17 Ondřej Bílka <neleai@seznam.cz>
20570
20571 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20572 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20573 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20574 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20576 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20577 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20578 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20579 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20580 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20581 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20582 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20583 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20584 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20585 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20586 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20588 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20590 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20594 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20595 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20596 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20597 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20598 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20599 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20600 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20601 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20602 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20603 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20604 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20605 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20606 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20607 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20608 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20609 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20610 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20611 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20612 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20613 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20614 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20615 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20616 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20617 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20618 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20619 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20620 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20621 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20622 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20623 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20624 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20626 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20627 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20628 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20629
206302013-10-17 Joseph Myers <joseph@codesourcery.com>
20631
20632 [BZ #16041]
20633 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20634 make result into a quiet NaN.
20635
206362013-10-16 Joseph Myers <joseph@codesourcery.com>
20637
20638 * soft-fp/adddf3.c: Fix horizontal whitespace.
20639 * soft-fp/addsf3.c: Likewise.
20640 * soft-fp/addtf3.c: Likewise.
20641 * soft-fp/divdf3.c: Likewise.
20642 * soft-fp/divsf3.c: Likewise.
20643 * soft-fp/divtf3.c: Likewise.
20644 * soft-fp/double.h: Likewise.
20645 * soft-fp/eqdf2.c: Likewise.
20646 * soft-fp/eqsf2.c: Likewise.
20647 * soft-fp/eqtf2.c: Likewise.
20648 * soft-fp/extenddftf2.c: Likewise.
20649 * soft-fp/extended.h: Likewise.
20650 * soft-fp/extendsfdf2.c: Likewise.
20651 * soft-fp/extendsftf2.c: Likewise.
20652 * soft-fp/extendxftf2.c: Likewise.
20653 * soft-fp/fixdfdi.c: Likewise.
20654 * soft-fp/fixdfsi.c: Likewise.
20655 * soft-fp/fixdfti.c: Likewise.
20656 * soft-fp/fixsfdi.c: Likewise.
20657 * soft-fp/fixsfsi.c: Likewise.
20658 * soft-fp/fixsfti.c: Likewise.
20659 * soft-fp/fixtfdi.c: Likewise.
20660 * soft-fp/fixtfsi.c: Likewise.
20661 * soft-fp/fixtfti.c: Likewise.
20662 * soft-fp/fixunsdfdi.c: Likewise.
20663 * soft-fp/fixunsdfsi.c: Likewise.
20664 * soft-fp/fixunsdfti.c: Likewise.
20665 * soft-fp/fixunssfdi.c: Likewise.
20666 * soft-fp/fixunssfsi.c: Likewise.
20667 * soft-fp/fixunssfti.c: Likewise.
20668 * soft-fp/fixunstfdi.c: Likewise.
20669 * soft-fp/fixunstfsi.c: Likewise.
20670 * soft-fp/fixunstfti.c: Likewise.
20671 * soft-fp/floatdidf.c: Likewise.
20672 * soft-fp/floatdisf.c: Likewise.
20673 * soft-fp/floatditf.c: Likewise.
20674 * soft-fp/floatsidf.c: Likewise.
20675 * soft-fp/floatsisf.c: Likewise.
20676 * soft-fp/floatsitf.c: Likewise.
20677 * soft-fp/floattidf.c: Likewise.
20678 * soft-fp/floattisf.c: Likewise.
20679 * soft-fp/floattitf.c: Likewise.
20680 * soft-fp/floatundidf.c: Likewise.
20681 * soft-fp/floatundisf.c: Likewise.
20682 * soft-fp/floatunditf.c: Likewise.
20683 * soft-fp/floatunsidf.c: Likewise.
20684 * soft-fp/floatunsisf.c: Likewise.
20685 * soft-fp/floatunsitf.c: Likewise.
20686 * soft-fp/floatuntidf.c: Likewise.
20687 * soft-fp/floatuntisf.c: Likewise.
20688 * soft-fp/floatuntitf.c: Likewise.
20689 * soft-fp/fmadf4.c: Likewise.
20690 * soft-fp/fmasf4.c: Likewise.
20691 * soft-fp/fmatf4.c: Likewise.
20692 * soft-fp/gedf2.c: Likewise.
20693 * soft-fp/gesf2.c: Likewise.
20694 * soft-fp/getf2.c: Likewise.
20695 * soft-fp/ledf2.c: Likewise.
20696 * soft-fp/lesf2.c: Likewise.
20697 * soft-fp/letf2.c: Likewise.
20698 * soft-fp/muldf3.c: Likewise.
20699 * soft-fp/mulsf3.c: Likewise.
20700 * soft-fp/multf3.c: Likewise.
20701 * soft-fp/negdf2.c: Likewise.
20702 * soft-fp/negsf2.c: Likewise.
20703 * soft-fp/negtf2.c: Likewise.
20704 * soft-fp/op-1.h: Likewise.
20705 * soft-fp/op-2.h: Likewise.
20706 * soft-fp/op-4.h: Likewise.
20707 * soft-fp/op-8.h: Likewise.
20708 * soft-fp/op-common.h: Likewise.
20709 * soft-fp/quad.h: Likewise.
20710 * soft-fp/single.h: Likewise.
20711 * soft-fp/soft-fp.h: Likewise.
20712 * soft-fp/sqrtdf2.c: Likewise.
20713 * soft-fp/sqrtsf2.c: Likewise.
20714 * soft-fp/sqrttf2.c: Likewise.
20715 * soft-fp/subdf3.c: Likewise.
20716 * soft-fp/subsf3.c: Likewise.
20717 * soft-fp/subtf3.c: Likewise.
20718 * soft-fp/truncdfsf2.c: Likewise.
20719 * soft-fp/trunctfdf2.c: Likewise.
20720 * soft-fp/trunctfsf2.c: Likewise.
20721 * soft-fp/trunctfxf2.c: Likewise.
20722 * soft-fp/unorddf2.c: Likewise.
20723 * soft-fp/unordsf2.c: Likewise.
20724 * soft-fp/unordtf2.c: Likewise.
20725
207262013-10-15 Joseph Myers <joseph@codesourcery.com>
20727
20728 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20729 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20730
207312013-10-15 Ondřej Bílka <neleai@seznam.cz>
20732
20733 * elf/dl-libc.c: Clear initfini list after freeing.
20734
207352013-10-14 Joseph Myers <joseph@codesourcery.com>
20736
20737 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20738 * soft-fp/addsf3.c: Likewise.
20739 * soft-fp/addtf3.c: Likewise.
20740 * soft-fp/divdf3.c: Likewise.
20741 * soft-fp/divsf3.c: Likewise.
20742 * soft-fp/divtf3.c: Likewise.
20743 * soft-fp/double.h: Likewise.
20744 * soft-fp/eqdf2.c: Likewise.
20745 * soft-fp/eqsf2.c: Likewise.
20746 * soft-fp/eqtf2.c: Likewise.
20747 * soft-fp/extenddftf2.c: Likewise.
20748 * soft-fp/extended.h: Likewise.
20749 * soft-fp/extendsfdf2.c: Likewise.
20750 * soft-fp/extendsftf2.c: Likewise.
20751 * soft-fp/extendxftf2.c: Likewise.
20752 * soft-fp/fixdfdi.c: Likewise.
20753 * soft-fp/fixdfsi.c: Likewise.
20754 * soft-fp/fixdfti.c: Likewise.
20755 * soft-fp/fixsfdi.c: Likewise.
20756 * soft-fp/fixsfsi.c: Likewise.
20757 * soft-fp/fixsfti.c: Likewise.
20758 * soft-fp/fixtfdi.c: Likewise.
20759 * soft-fp/fixtfsi.c: Likewise.
20760 * soft-fp/fixtfti.c: Likewise.
20761 * soft-fp/fixunsdfdi.c: Likewise.
20762 * soft-fp/fixunsdfsi.c: Likewise.
20763 * soft-fp/fixunsdfti.c: Likewise.
20764 * soft-fp/fixunssfdi.c: Likewise.
20765 * soft-fp/fixunssfsi.c: Likewise.
20766 * soft-fp/fixunssfti.c: Likewise.
20767 * soft-fp/fixunstfdi.c: Likewise.
20768 * soft-fp/fixunstfsi.c: Likewise.
20769 * soft-fp/fixunstfti.c: Likewise.
20770 * soft-fp/floatdidf.c: Likewise.
20771 * soft-fp/floatdisf.c: Likewise.
20772 * soft-fp/floatditf.c: Likewise.
20773 * soft-fp/floatsidf.c: Likewise.
20774 * soft-fp/floatsisf.c: Likewise.
20775 * soft-fp/floatsitf.c: Likewise.
20776 * soft-fp/floattidf.c: Likewise.
20777 * soft-fp/floattisf.c: Likewise.
20778 * soft-fp/floattitf.c: Likewise.
20779 * soft-fp/floatundidf.c: Likewise.
20780 * soft-fp/floatundisf.c: Likewise.
20781 * soft-fp/floatunsidf.c: Likewise.
20782 * soft-fp/floatunsisf.c: Likewise.
20783 * soft-fp/floatuntidf.c: Likewise.
20784 * soft-fp/floatuntisf.c: Likewise.
20785 * soft-fp/floatuntitf.c: Likewise.
20786 * soft-fp/fmadf4.c: Likewise.
20787 * soft-fp/fmasf4.c: Likewise.
20788 * soft-fp/fmatf4.c: Likewise.
20789 * soft-fp/gedf2.c: Likewise.
20790 * soft-fp/gesf2.c: Likewise.
20791 * soft-fp/getf2.c: Likewise.
20792 * soft-fp/ledf2.c: Likewise.
20793 * soft-fp/lesf2.c: Likewise.
20794 * soft-fp/letf2.c: Likewise.
20795 * soft-fp/muldf3.c: Likewise.
20796 * soft-fp/mulsf3.c: Likewise.
20797 * soft-fp/multf3.c: Likewise.
20798 * soft-fp/negdf2.c: Likewise.
20799 * soft-fp/negsf2.c: Likewise.
20800 * soft-fp/negtf2.c: Likewise.
20801 * soft-fp/op-1.h: Likewise.
20802 * soft-fp/op-2.h: Likewise.
20803 * soft-fp/op-4.h: Likewise.
20804 * soft-fp/op-8.h: Likewise.
20805 * soft-fp/op-common.h: Likewise.
20806 * soft-fp/quad.h: Likewise.
20807 * soft-fp/single.h: Likewise.
20808 * soft-fp/soft-fp.h: Likewise.
20809 * soft-fp/sqrtdf2.c: Likewise.
20810 * soft-fp/sqrtsf2.c: Likewise.
20811 * soft-fp/sqrttf2.c: Likewise.
20812 * soft-fp/subdf3.c: Likewise.
20813 * soft-fp/subsf3.c: Likewise.
20814 * soft-fp/subtf3.c: Likewise.
20815 * soft-fp/truncdfsf2.c: Likewise.
20816 * soft-fp/trunctfdf2.c: Likewise.
20817 * soft-fp/trunctfsf2.c: Likewise.
20818 * soft-fp/trunctfxf2.c: Likewise.
20819 * soft-fp/unorddf2.c: Likewise.
20820 * soft-fp/unordsf2.c: Likewise.
20821 * soft-fp/unordtf2.c: Likewise.
20822
208232013-10-14 Ondřej Bílka <neleai@seznam.cz>
20824
20825 [BZ #15672]
20826 * misc/error.c (error_tail): Fix possible buffer overflow.
20827
208282013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20829
20830 [BZ #13028]
20831 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20832 address.
20833
208342013-10-14 P. J. McDermott <pj@pehjota.net>
20835
20836 [BZ #832]
20837 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20838 testing pipefail option.
20839
208402013-10-12 Joseph Myers <joseph@codesourcery.com>
20841
20842 * soft-fp/double.h: Indent preprocessor directives inside #if.
20843 * soft-fp/extended.h: Likewise.
20844 * soft-fp/op-2.h: Likewise.
20845 * soft-fp/op-4.h: Likewise.
20846 * soft-fp/op-common.h: Likewise.
20847 * soft-fp/quad.h: Likewise.
20848 * soft-fp/single.h: Likewise.
20849 * soft-fp/soft-fp.h: Likewise.
20850
208512013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20852
20853 * iconv/iconv_prog.c: Fix typos.
20854 * stdio-common/psiginfo-data.h: Likewise.
20855
208562013-10-12 Reuben Thomas <rrt@sc3d.org>
20857
20858 [BZ #15764]
20859 * locale/setlocale.c: Fix typo.
20860
208612013-10-12 Joseph Myers <joseph@codesourcery.com>
20862
20863 [BZ #16036]
20864 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20865 signaling NaN arguments.
20866 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20867 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20868
20869 [BZ #14910]
20870 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20871 unordered operands.
20872 * soft-fp/gesf2.c (__gesf2): Likewise.
20873 * soft-fp/getf2.c (__getf2): Likewise.
20874 * soft-fp/ledf2.c (__ledf2): Likewise.
20875 * soft-fp/lesf2.c (__lesf2): Likewise.
20876 * soft-fp/letf2.c (__letf2): Likewise.
20877
20878 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20879 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20880 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20881 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20882 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20883 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20884 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20885 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20886 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20887 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20888 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20889 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20890 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20891 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20892 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20893 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20894 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20895 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20896 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20897 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20898 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20899 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20900 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20901 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20902 * soft-fp/floattidf.c (__floattidf): Likewise.
20903 * soft-fp/floattisf.c (__floattisf): Likewise.
20904 * soft-fp/floattitf.c (__floattitf): Likewise.
20905 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20906 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20907 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20908 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20909 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20910 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20911 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20912 * soft-fp/gesf2.c (__gesf2): Likewise.
20913 * soft-fp/getf2.c (__getf2): Likewise.
20914 * soft-fp/ledf2.c (__ledf2): Likewise.
20915 * soft-fp/lesf2.c (__lesf2): Likewise.
20916 * soft-fp/letf2.c (__letf2): Likewise.
20917
20918 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20919 Undefine and redefine.
20920 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20921 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20922 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20923 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20924 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20925 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20926 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20927 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20928 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20929 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20930 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20931 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20932 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20933 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20934 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20935
20936 [BZ #16032]
20937 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20938 without decrementing exponent if mantissa >= that for the
20939 denominator, not >.
20940 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20941 denominator, not >. Decrement exponent in < case instead of
20942 incrementing in >= case.
20943 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20944 without decrementing exponent if mantissa >= that for the
20945 denominator, not >.
20946
20947 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20948 computing saturated result for unsigned overflow.
20949
209502013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20951 Jeff Law <law@redhat.com>
20952
20953 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20954 (atan2Mp): Add systemtap probe marker.
20955 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20956 (__ieee754_log): Add systemtap probe marker.
20957 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20958 (atanMp): Add systemtap probe marker.
20959 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20960 (tanMp): Add systemtap probe marker.
20961 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20962 (__slowexp): Add systemtap probe marker.
20963 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20964 (__slowpow): Add systemtap probe marker.
20965 * manual/probes.texi: Document probes.
20966
209672013-10-11 Eric Biggers <ebiggers3@gmail.com>
20968
20969 [BZ #15362]
20970 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20971 written.
20972 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20973 written.
20974 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20975 written to buffer but not flushed.
20976 * libio/iofwrite_u.c: Likewise.
20977 * libio/iopadn.c: Return bytes returned even if EOF was
20978 encountered.
20979 * libio/iowpadn.c: Likewise.
20980 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20981 if _IO_padn does not write the whole buffer.
20982 [!COMPILE_WPRINTF] (PAD): Likewise.
20983
209842013-10-10 David S. Miller <davem@davemloft.net>
20985
20986 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20987 directory block.
20988
209892013-10-10 Joseph Myers <joseph@codesourcery.com>
20990
20991 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20992 instead of FSF address.
20993 * soft-fp/fixdfti.c: Likewise.
20994 * soft-fp/fixsfti.c: Likewise.
20995 * soft-fp/fixtfti.c: Likewise.
20996 * soft-fp/fixunsdfti.c: Likewise.
20997 * soft-fp/fixunssfti.c: Likewise.
20998 * soft-fp/fixunstfti.c: Likewise.
20999 * soft-fp/floattidf.c: Likewise.
21000 * soft-fp/floattisf.c: Likewise.
21001 * soft-fp/floattitf.c: Likewise.
21002 * soft-fp/floatuntidf.c: Likewise.
21003 * soft-fp/floatuntisf.c: Likewise.
21004 * soft-fp/floatuntitf.c: Likewise.
21005 * soft-fp/trunctfxf2.c: Likewise.
21006
21007 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21008 * soft-fp/fixdfti.c: Likewise.
21009 * soft-fp/fixsfti.c: Likewise.
21010 * soft-fp/fixtfti.c: Likewise.
21011 * soft-fp/fixunsdfti.c: Likewise.
21012 * soft-fp/fixunssfti.c: Likewise.
21013 * soft-fp/fixunstfti.c: Likewise.
21014 * soft-fp/floattidf.c: Likewise.
21015 * soft-fp/floattisf.c: Likewise.
21016 * soft-fp/floattitf.c: Likewise.
21017 * soft-fp/floatuntidf.c: Likewise.
21018 * soft-fp/floatuntisf.c: Likewise.
21019 * soft-fp/floatuntitf.c: Likewise.
21020 * soft-fp/trunctfxf2.c: Likewise.
21021
210222013-10-10 David S. Miller <davem@davemloft.net>
21023
21024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21025
210262013-10-10 Joseph Myers <joseph@codsourcery.com>
21027
21028 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21029 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21030 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21031 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21032 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21033 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21034 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21035
21036 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21037 for NaNs before doing comparisons on argument.
21038 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21039 Likewise.
21040
210412013-10-10 Will Newton <will.newton@linaro.org>
21042
21043 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21044 passed to _int_memalign does not overflow.
21045
210462013-10-10 Torvald Riegel <triegel@redhat.com>
21047
21048 * scripts/bench.pl: Add include-sources directive.
21049 * benchtests/README: Update documentation.
21050
210512013-10-10 Joseph Myers <joseph@codesourcery.com>
21052
21053 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21054 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21055 instead of FP_INIT_ROUNDMODE.
21056 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21057 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21058
21059 [BZ #16034]
21060 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21061 copy class of input value.
21062 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21063 not handle exceptions.
21064 * soft-fp/negsf2.c (__negsf2): Likewise.
21065 * soft-fp/negtf2.c (__negtf2): Likewise.
21066 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21067
210682013-10-09 Joseph Myers <joseph@codesourcery.com>
21069
21070 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21071 semicolon. From Linux kernel.
21072
210732013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21074
21075 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21076
210772013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21078
21079 [BZ #156]
21080 * manual/socket.texi: Added statement about buffer
21081 for gethostbyname2_r.
21082
210832013-10-08 Ondřej Bílka <neleai@seznam.cz>
21084
21085 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21086 Use .p2align directive instead, throughout.
21087 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21088 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21089 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21090 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21091 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21092 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21093 * sysdeps/x86_64/strchr.S: Likewise.
21094 * sysdeps/x86_64/strrchr.S: Likewise.
21095
210962013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21097
21098 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21099
21100 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21101
21102 * sysdeps/generic/math_private.h (__mpsin1): Remove
21103 declaration.
21104 (__mpcos1): Likewise.
21105 (__mpsin): New argument __range_reduce.
21106 (__mpcos): Likewise.
21107 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21108 (slow): Use __mpsin and __mpcos.
21109 (slow1): Likewise.
21110 (slow2): Likewise.
21111 (sloww): Likewise.
21112 (sloww1): Likewise.
21113 (sloww2): Likewise.
21114 (bsloww): Likewise.
21115 (bsloww1): Likewise.
21116 (bsloww2): Likewise.
21117 (cslow2): Likewise.
21118 (csloww): Likewise.
21119 (csloww1): Likewise.
21120 (csloww2): Likewise.
21121 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21122 range_reduce. Merge in __mpsin1.
21123 (__mpcos): Likewise.
21124 (__mpsin1): Remove.
21125 (__mpcos1): Likewise.
21126
211272013-10-07 Joseph Myers <joseph@codesourcery.com>
21128
21129 * locale/loadlocale.c (_nl_intern_locale_data): Use
21130 LOCFILE_ALIGNED_P.
21131 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21132 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21133 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21134 obstack data is appropriately aligned.
21135 (obstack_int32_grow_fast): Likewise.
21136 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21137 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21138 (add_locale_uint32_array): Likewise.
21139
211402013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21141
21142 * benchtests/Makefile: Remove ARGLIST and RET variables.
21143 ($(objpfx)bench-%.c): Pass only function name to the script.
21144 * benchtests/README: Update documentation.
21145 * benchtests/acos-inputs: Add new directives.
21146 * benchtests/acosh-inputs: Likewise.
21147 * benchtests/asin-inputs: Likewise.
21148 * benchtests/asinh-inputs: Likewise.
21149 * benchtests/atan-inputs: Likewise.
21150 * benchtests/atanh-inputs: Likewise.
21151 * benchtests/cos-inputs: Likewise.
21152 * benchtests/cosh-inputs: Likewise.
21153 * benchtests/exp-inputs: Likewise.
21154 * benchtests/log-inputs: Likewise.
21155 * benchtests/pow-inputs: Likewise.
21156 * benchtests/rint-inputs: Likewise.
21157 * benchtests/sin-inputs: Likewise.
21158 * benchtests/sinh-inputs: Likewise.
21159 * benchtests/tan-inputs: Likewise.
21160 * benchtests/tanh-inputs: Likewise.
21161 * scripts/bench.pl: Add support for new directives.
21162
211632013-10-07 Alan Modra <amodra@gmail.com>
21164
21165 * README: Fix careless merge.
21166
211672013-10-05 Alan Modra <amodra@gmail.com>
21168
21169 * NEWS: Mention powerpc64le support and bugs fixed.
21170 * README: Both big-endian and little-endian powerpc64 supported.
21171
211722013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21173
21174 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21175 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21176 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21177 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21178
211792013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21180
21181 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21182 match prototype.
21183
211842013-10-04 Joseph Myers <joseph@codesourcery.com>
21185
21186 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21187 Move -mhard-float appending from
21188 ports/sysdeps/powerpc/powerpc32/Makefile.
21189 [$(with-fp) = yes] (ASFLAGS): Likewise.
21190 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21191 * sysdeps/powerpc/nofpu: Move directory from
21192 ports/sysdeps/powerpc/nofpu.
21193 * sysdeps/powerpc/soft-fp: Move directory from
21194 ports/sysdeps/powerpc/soft-fp.
21195 * sysdeps/powerpc/powerpc32/405: Move directory from
21196 ports/sysdeps/powerpc/powerpc32/405.
21197 * sysdeps/powerpc/powerpc32/440: Move directory from
21198 ports/sysdeps/powerpc/powerpc32/440.
21199 * sysdeps/powerpc/powerpc32/464: Move directory from
21200 ports/sysdeps/powerpc/powerpc32/464.
21201 * sysdeps/powerpc/powerpc32/476: Move directory from
21202 ports/sysdeps/powerpc/powerpc32/476.
21203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21204 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21206 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21208 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21210 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21212 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21213 * README: Update for powerpc-*-linux-gnu software floating point
21214 support in libc.
21215
21216 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21217 case to powerpc/powerpc32*.
21218 * sysdeps/unix/sysv/linux/configure: Regenerated.
21219
21220 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21221 (_FPU_MASK_OM): Define as 0x04.
21222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21224 0x00c10080.
21225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21226 0x0000003c.
21227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21228
21229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21230 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21231 getcontext_e500.
21232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21233 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21234 setcontext_e500.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21236 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21237 and setcontext_e500.
21238
212392013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21240
21241 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21242
212432013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21244
21245 * manual/threads.texi (Default Thread Attributes): Fix typo.
21246
212472013-10-04 Will Newton <will.newton@linaro.org>
21248
21249 * malloc/Makefile: Add tst-memalign.
21250 * malloc/tst-memalign.c: New file.
21251
21252 * malloc/tst-posix_memalign.c: Add comments.
21253 (do_test): Add comments and call free on all potentially
21254 allocated pointers. Add space after cast.
21255
21256 * malloc/tst-pvalloc.c: Add comments.
21257 (do_test): Add comments and call free on all potentially
21258 allocated pointers. Remove duplicate check for NULL pointer.
21259 Add space after cast.
21260
21261 * malloc/tst-valloc.c: Add comments.
21262 (do_test): Add comments and call free on all potentially
21263 allocated pointers. Remove duplicate check for NULL pointer.
21264 Add space after cast.
21265
212662013-10-04 Alan Modra <amodra@gmail.com>
21267
21268 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21269 Use stdint types in rather than __attribute__((mode())).
21270 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21271
212722013-10-04 Alan Modra <amodra@gmail.com>
21273
21274 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21275 Correct handling of unaligned relocs for little-endian.
21276 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21277
212782013-10-04 Alan Modra <amodra@gmail.com>
21279
21280 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21281 * configure: Regenerate.
21282 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21283 * shlib-versions: Likewise.
21284
212852013-10-04 Alan Modra <amodra@gmail.com>
21286
21287 * string/tester.c (test_memrchr): Increment reported test cycle.
21288
212892013-10-04 Alan Modra <amodra@gmail.com>
21290
21291 * string/test-memcpy.c (do_one_test): When reporting errors, print
21292 string address and don't overrun end of string.
21293
212942013-10-04 Alan Modra <amodra@gmail.com>
21295
21296 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21297 insrdi. Make better use of reg selection to speed exit slightly.
21298 Schedule entry path a little better. Remove useless "are we done"
21299 checks on entry to main loop. Handle wrapping around zero address.
21300 Correct main loop count. Handle single left-over word from main
21301 loop inline rather than by using loop_small. Remove extra word
21302 case in loop_small caused by wrong loop count. Add little-endian
21303 support.
21304 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21305 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21306 cache hint.
21307 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21308 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21309 support. Avoid rlwimi.
21310 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21311
213122013-10-04 Alan Modra <amodra@gmail.com>
21313
21314 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21315 insrdi. Formatting.
21316 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21317 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21318 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21319 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21320 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21321 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21322
213232013-10-04 Alan Modra <amodra@gmail.com>
21324
21325 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21326 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21327 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21329 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21330 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21331 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21333 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21334 use of regs. Use power7 mtocrf. Tidy function tails.
21335
213362013-10-04 Alan Modra <amodra@gmail.com>
21337
21338 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21339 Formatting. Consistently use rXXX register defines or rN defines.
21340 Use early exit labels that avoid restoring unused non-volatile regs.
21341 Make cr field use more consistent with rWORDn compares. Rename
21342 regs used as shift registers for unaligned loop, using rN defines
21343 for short lifetime/multiple use regs.
21344 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21345 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21346 addi 1,1,64 to pop stack frame. Simplify return value code.
21347 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21348
213492013-10-04 Alan Modra <amodra@gmail.com>
21350
21351 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21352 support. Correct typos, formatting. Optimize tail. Use insrdi
21353 rather than rlwimi.
21354 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21355 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21356 little-endian support. Correct typos.
21357 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21358 rather than rlwimi.
21359 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21360 in loop and entry code to keep "and." results.
21361 (strchr): Add little-endian support. Comment. Move cntlzd
21362 earlier in tail.
21363 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21364
213652013-10-04 Alan Modra <amodra@gmail.com>
21366
21367 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21368 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21369 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21370 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21371
213722013-10-04 Alan Modra <amodra@gmail.com>
21373
21374 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21375 (rTMP): Define as r11.
21376 (strcmp): Add little-endian support. Optimise tail.
21377 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21378 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21379 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21380 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21381 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21382 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21384
213852013-10-04 Alan Modra <amodra@gmail.com>
21386
21387 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21388 little-endian support. Remove unnecessary "are we done" tests.
21389 Handle "s" wrapping around zero and extremely large "size".
21390 Correct main loop count. Handle single left-over word from main
21391 loop inline rather than by using small_loop. Correct comments.
21392 Delete "zero" tail, use "end_max" instead.
21393 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21394
213952013-10-04 Alan Modra <amodra@gmail.com>
21396
21397 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21398 support. Don't branch over align.
21399 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21400 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21401 support. Rearrange tmp reg use to suit. Comment.
21402 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21403
214042013-10-04 Alan Modra <amodra@gmail.com>
21405
21406 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21407
214082013-10-04 Alan Modra <amodra@gmail.com>
21409
21410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21411 conditional form of branch and link when obtaining pc.
21412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21413
214142013-10-04 Alan Modra <amodra@gmail.com>
21415
21416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21417 HIWORD/LOWORD.
21418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21420
214212013-10-04 Alan Modra <amodra@gmail.com>
21422
21423 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21424 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21425 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21426 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21427 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21428 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21429 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21430 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21431 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21432 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21433
214342013-10-04 Anton Blanchard <anton@au1.ibm.com>
21435 Alistair Popple <alistair@ozlabs.au.ibm.com>
21436 Alan Modra <amodra@gmail.com>
21437
21438 [BZ #15723]
21439 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21440 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21441 _dl_hwcap access for little-endian.
21442 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21443 destroy vmx regs when saving unaligned.
21444 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21445 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21446 destroy vmx regs when saving unaligned.
21447
214482013-10-04 Alan Modra <amodra@gmail.com>
21449
21450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21451 Don't use a union to pack hi/low value.
21452
214532013-10-04 Anton Blanchard <anton@au1.ibm.com>
21454
21455 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21456 for little-endian.
21457 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21458 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21459 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21460 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21461 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21462
214632013-10-04 Alan Modra <amodra@gmail.com>
21464
21465 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21466 constants to usual value for .cst8 section, and remove redundant
21467 high address load.
21468 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21469 constant for 0x1p52. Load little-endian words of double from
21470 correct stack offsets.
21471
214722013-10-04 Alan Modra <amodra@gmail.com>
21473
21474 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21475 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21476 words of double from correct stack offsets.
21477 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21478 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21479 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21481 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21482 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21483 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21484 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21485 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21487 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21488 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21489 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21490 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21491 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21492 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21493 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21494
214952013-10-04 Alan Modra <amodra@gmail.com>
21496
21497 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21498 64-bit int/double union.
21499 (_FPU_SETCW): Likewise.
21500 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21501 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21502
215032013-10-04 Alan Modra <amodra@gmail.com>
21504
21505 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21506 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21507
215082013-10-04 Alan Modra <amodra@gmail.com>
21509
21510 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21511 use vector int constants.
21512 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21513
215142013-10-04 Anton Blanchard <anton@au1.ibm.com>
21515
21516 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21517 array with long long.
21518 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21519 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21520 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21521 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21522 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21523 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21524 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21525 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21526 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21527 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21528 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21529 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21530 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21531
215322013-10-04 Anton Blanchard <anton@au1.ibm.com>
21533
21534 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21535 (__signbit): Likewise. Correct for little-endian.
21536 (__signbitl): Call __signbit.
21537 (lrint): Correct for little-endian.
21538 (lrintf): Call lrint.
21539
215402013-10-04 Alan Modra <amodra@gmail.com>
21541
21542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21543 union 32-bit int array member with 64-bit int array.
21544 (t515, tm256): Double rather than long double.
21545 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21546
215472013-10-04 Alan Modra <amodra@gmail.com>
21548
21549 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21550 Delete.
21551 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21553 version of math_ldbl.h.
21554
215552013-10-04 Alan Modra <amodra@gmail.com>
21556
21557 [BZ #15734], [BZ #15735]
21558 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21559 all uses of ieee875 long double macros and unions. Simplify test
21560 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21561 ldbl_extract_mantissa value for ix,iy exponents. Properly
21562 normalize after ldbl_extract_mantissa, and don't add hidden bit
21563 already handled. Don't treat low word of ieee854 mantissa like
21564 low word of IBM long double and mask off bit when testing for
21565 zero.
21566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21567 all uses of ieee875 long double macros and unions. Simplify tests
21568 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21569 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21570 two1022, instead use their values. Recognise that tests for large
21571 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21572 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21573 Rewrite all uses of ieee875 long double macros and unions. Simplify
21574 test for 0.0L and nan. Correct negation.
21575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21576 ieee875 long double macros and unions. Correct output for large
21577 magnitude x. Correct absolute value calculation.
21578 (__erfcl): Likewise.
21579 * math/libm-test.inc: Add tests for errors discovered in IBM long
21580 double versions of fmodl, remainderl, erfl and erfcl.
21581
215822013-10-04 Alan Modra <amodra@gmail.com>
21583
21584 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21585 all uses of ieee854 long double macros and unions. Simplify tests
21586 for long doubles that are fully specified by the high double.
21587 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21588 Likewise.
21589 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21590 Remove dead code too.
21591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21592 (__ieee754_ynl): Likewise.
21593 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21594 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21595 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21596 Remove dead code too.
21597 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21601 Simplify.
21602 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21603 Simplify.
21604 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21607 Comment on variable precision.
21608 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21610 Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21615 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21616
216172013-10-04 Alan Modra <amodra@gmail.com>
21618
21619 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21621 all uses of ieee854 long double macros and unions.
21622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21626 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21627 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21628 Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21632 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21633 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21634 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21635 Simplify sign and nan test too.
21636 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21638 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21639 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21640 Likewise.
21641 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21642 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21643 Likewise.
21644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21645 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21646 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21647 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21648 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21650
216512013-10-04 Alan Modra <amodra@gmail.com>
21652
21653 * stdio-common/printf_size.c (__printf_size): Don't use
21654 union ieee854_long_double in fpnum union.
21655 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21656 signbit macro to retrieve sign from long double.
21657 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21658 retrieve sign from long double.
21659 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21660 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21661 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21662 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21663 * math/test-misc.c (main): Don't use union ieee854_long_double.
21664
216652013-10-04 Alan Modra <amodra@gmail.com>
21666
21667 [BZ #15680]
21668 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21669 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21670 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21671 calculation. Remove unnecessary test for denormal exponent.
21672 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21673 Correct handling of denormals. Avoid undefined shift behaviour.
21674 Correct normalisation of low mantissa when low double is denormal.
21675 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21676 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21677 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21678 Correct normalisation of low mantissa. Test for overflow of high
21679 mantissa and normalise.
21680 (ldbl_nearbyint): Use more readable constant for two52.
21681 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21682 (__mpn_construct_long_double): Fix test for overflow of high
21683 mantissa and correct normalisation. Avoid undefined shift.
21684
216852013-10-04 Alan Modra <amodra@gmail.com>
21686
21687 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21688 (union ibm_extended_long_double): Define as an array of ieee754_double.
21689 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21690 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21691 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21692 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21695 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21696 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21697 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21699 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21700
217012013-10-03 Joseph Myers <joseph@codesourcery.com>
21702
21703 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21704 page size instead of calling getpagesize.
21705
21706 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21707 (LOCFILE_ALIGN_MASK): Likewise.
21708 (LOCFILE_ALIGN_UP): Likewise.
21709 (LOCFILE_ALIGNED_P): Likewise.
21710 * locale/programs/ld-collate.c (collate_output): Use the new
21711 macros instead of __alignof__ (int32_t).
21712 * locale/weight.h (findidx): Likewise.
21713
217142013-10-03 Ondřej Bílka <neleai@seznam.cz>
21715
21716 [BZ #431]
21717 * manual/string.texi: Fix strncat and wcsncat.
21718
217192013-10-03 Brooks Moses <bmoses@google.com>
21720
21721 [BZ #15915]
21722 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21723 * Makerules: ...here, and adjust associated comments.
21724
217252013-10-02 Will Newton <will.newton@linaro.org>
21726
21727 * malloc/Makefile: Add tst-pvalloc.
21728 * malloc/tst-pvalloc.c: New file.
21729
217302013-10-02 Will Newton <will.newton@linaro.org>
21731
21732 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21733 improve test coverage.
21734
217352013-10-02 Will Newton <will.newton@linaro.org>
21736
21737 * malloc/Makefile: Add tst-posix_memalign.
21738 * malloc/tst-posix_memalign.c: New file.
21739
217402013-10-01 Eric Blake <eblake@redhat.com>
21741
21742 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21743 Use __THROWNL rather than __THROW on static functions.
21744
217452013-09-30 Petr Machata <pmachata@redhat.com>
21746
21747 * elf/elf.h (R_AARCH64_ABS16): New macro.
21748 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21749 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21750 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21751 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21752 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21753 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21754 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21755 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21756 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21757 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21758 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21759 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21760 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21761 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21762 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21763 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21764 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21765 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21766 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21767 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21768 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21769 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21770 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21771 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21772 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21773 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21774 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21775 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21776 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21777 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21778 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21779 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21780 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21781 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21782 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21783 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21784 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21785 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21786 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21787 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21788 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21789 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21790 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21791 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21792 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21793 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21794 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21795 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21796 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21797 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21798 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21799 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21800 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21801 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21802 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21803 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21804 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21805 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21806 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21807 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21808 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21809 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21810 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21811 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21812 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21813 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21814 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21815 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21816 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21817 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21818 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21819 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21820 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21821 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21822 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21823 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21824 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21825 (R_AARCH64_TLSDESC_LDR): Likewise.
21826 (R_AARCH64_TLSDESC_ADD): Likewise.
21827 (R_AARCH64_TLSDESC_CALL): Likewise.
21828
218292013-09-30 Andreas Schwab <schwab@suse.de>
21830
21831 [BZ #15048]
21832 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21833 the nss database lookup.
21834 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21836
218372013-09-28 Mike Frysinger <vapier@gentoo.org>
21838
21839 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21840
218412013-09-28 P. J. McDermott <pj@pehjota.net>
21842
21843 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21844 ${Bash-specific parameter/pattern/string} parameter expansion.
21845 * sysdeps/unix/make-syscalls.sh: Likewise.
21846
218472013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21848
21849 * sysdeps/sh/stackguard-macros.h: New file.
21850
218512013-09-26 Ondřej Bílka <neleai@seznam.cz>
21852
21853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21854 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21855 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21856 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21857 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21858 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21859
218602013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21861
21862 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21863 Fix thread ID register.
21864
218652013-09-25 Joseph Myers <joseph@codesourcery.com>
21866
21867 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21868 [POSIX || UNIX98]: Require rather than permitting all symbols from
21869 <time.h>.
21870 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21871 element of struct sched_param.
21872 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21873 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21874 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21875 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21876 constant.
21877
218782013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21879
21880 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21881 argument calculation.
21882
218832013-09-24 Joseph Myers <joseph@codesourcery.com>
21884
21885 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21886 Expect macro.
21887 [POSIX] (pthread_attr_t): Do not require type.
21888 [POSIX] (pthread_cond_t): Likewise.
21889 [POSIX] (pthread_condattr_t): Likewise.
21890 [POSIX] (pthread_key_t): Likewise.
21891 [POSIX] (pthread_mutex_t): Likewise.
21892 [POSIX] (pthread_mutexattr_t): Likewise.
21893 [POSIX] (pthread_once_t): Likewise.
21894 [POSIX] (pthread_t): Likewise.
21895 [POSIX-based standards] (pthread_atfork): Expect function.
21896
218972013-09-24 Joseph Myers <joseph@codesourcery.com>
21898 Richard Sandiford <richard@codesourcery.com>
21899
21900 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21901 (swap_endianness_p): New extern variable.
21902 (set_big_endian): New inline function.
21903 (maybe_swap_uint32): Likewise.
21904 (maybe_swap_uint32_array): Likewise.
21905 (maybe_swap_uint32_obstack): Likewise.
21906 * locale/programs/locfile.c: Include <stdbool.h>.
21907 (swap_endianness_p): New variable.
21908 (add_locale_uint32): Call maybe_swap_uint32.
21909 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21910 (write_locale_data): Call maybe_swap_uint32_array.
21911 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21912 maybe_swap_uint32.
21913 (obstack_int32_grow_fast): Likewise.
21914 (output_weightwc): Call maybe_swap_uint32_obstack.
21915 (collate_output): Likewise.
21916 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21917 (OPT_LITTLE_ENDIAN): Likewise.
21918 (options): Add --little-endian and --big-endian options.
21919 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21920 * locale/programs/locarchive.c: Include "locfile.h".
21921 (GET): New macro.
21922 (SET): Likewise.
21923 (INC): Likewise.
21924 (create_archive): Use the new macros to access fields of
21925 structures directly mapped from or written to locale archives.
21926 (oldlocrecentcmp): Likewise.
21927 (enlarge_archive): Likewise.
21928 (insert_name): Likewise.
21929 (add_alias): Likewise.
21930 (add_locale): Likewise.
21931 (delete_locales_from_archive): Likewise.
21932 (show_archive_content): Likewise.
21933 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21934 locale data.
21935
219362013-09-24 Roland McGrath <roland@hack.frob.com>
21937
21938 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21939 http://www.gnu.org/doc/freemanuals.texi.
21940 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21941
219422013-09-24 Will Newton <will.newton@linaro.org>
21943
21944 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21945 macro.
21946
219472013-09-23 Joseph Myers <joseph@codesourcery.com>
21948
21949 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21950 unsigned char.
21951
219522013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21953
21954 * manual/threads.texi (POSIX Threads): Fix a typo.
21955
219562013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21957
21958 [BZ #14547]
21959 * string/tst-strcoll-overflow.c: New test case.
21960 * string/Makefile (xtests): Add tst-strcoll-overflow.
21961 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21962 cache if string sizes may cause integer overflow.
21963
21964 [BZ #14547]
21965 * string/strcoll_l.c (coll_seq): New members rule, idx,
21966 save_idx and back_us.
21967 (get_next_seq_nocache): New function.
21968 (do_compare_nocache): New function.
21969 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21970 when malloc fails.
21971
219722013-09-23 Carlos O'Donell <carlos@redhat.com>
21973
21974 [BZ #15754]
21975 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21976 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21977 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21978
21979 [BZ #15754]
21980 * elf/Makefile (tests): Add tst-ptrguard1.
21981 (tests-static): Add tst-ptrguard1-static.
21982 (tst-ptrguard1-ARGS): Define.
21983 (tst-ptrguard1-static-ARGS): Define.
21984 * elf/tst-ptrguard1.c: New file.
21985 * elf/tst-ptrguard1-static.c: New file.
21986 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21987 * sysdeps/i386/stackguard-macros.h: Likewise.
21988 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21989 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21990 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21991 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21992 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21993 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21994
219952013-09-23 Hector Marco <hecmargi@upv.es>
21996 Ismael Ripoll <iripoll@disca.upv.es>
21997 Carlos O'Donell <carlos@redhat.com>
21998
21999 [BZ #15754]
22000 * sysdeps/generic/stackguard-macros.h: Define
22001 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22002 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22003 Define __pointer_chk_guard_local.
22004 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22005 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22006
220072013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22008
22009 [BZ #15859]
22010 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22011
220122013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22013
22014 * include/string.h (__ffs): Declare as hidden.
22015 * string/ffs.c (__ffs): Define as hidden.
22016 * sysdeps/i386/ffs.c (__ffs): Likewise.
22017 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22018 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22019 * sysdeps/s390/ffs.c (__ffs): Likewise.
22020 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22021
220222013-09-20 Alexandre Oliva <aoliva@redhat.com>
22023
22024 * NEWS: Mention malloc probes.
22025
22026 * malloc/arena.c (new_heap): New memory_heap_new probe.
22027 (grow_heap): New memory_heap_more probe.
22028 (shrink_heap): New memory_heap_less probe.
22029 (heap_trim): New memory_heap_free probe.
22030 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22031 (systrim): New memory_sbrk_less probe.
22032 * manual/probes.texi: Document them.
22033
22034 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22035 * manual/probes.texi: Document it.
22036
22037 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22038 (__libc_realloc): Add memory_realloc_retry probe.
22039 (__libc_memalign): Add memory_memalign_retry probe.
22040 (__libc_valloc): Add memory_valloc_retry probe.
22041 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22042 (__libc_calloc): Add memory_calloc_retry probe.
22043 * manual/probes.texi: Document them.
22044
22045 * malloc/arena.c (get_free_list): Add probe
22046 memory_arena_reuse_free_list.
22047 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22048 and memory_arena_reuse.
22049 (arena_get2) [!PER_THREAD]: Likewise.
22050 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22051 memory_arena_reuse_realloc.
22052 * manual/probes.texi: Document them.
22053
22054 * malloc/malloc.c (__libc_free): Add
22055 memory_mallopt_free_dyn_thresholds probe.
22056 (__libc_mallopt): Add multiple memory_mallopt probes.
22057 * manual/probes.texi: Document them.
22058
22059 * malloc/malloc.c: Include stap-probe.h.
22060 (__libc_mallopt): Add memory_mallopt probe.
22061 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22062 * manual/probes.texi: New.
22063 * manual/Makefile (chapters): Add probes.
22064 * manual/threads.texi: Set next node.
22065
220662013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22067
22068 [BZ #15963, #13985]
22069 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22070 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22071 Add `Chinese' to `nan' entry name.
22072
220732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22074
22075 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22076 (POLYNOMIAL): Likewise.
22077 (TAYLOR_SINCOS): Likewise.
22078 (TAYLOR_SLOW): Likewise.
22079 (__sin): Use TAYLOR_SINCOS.
22080 (__cos): Likewise.
22081 (slow): Use TAYLOR_SLOW.
22082 (sloww): Likewise.
22083 (bsloww): Likewise.
22084 (csloww): Likewise.
22085
220862013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22087
22088 * stdlib/strtod_l.c: Fix buffer overrun.
22089
220902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22091
22092 * benchtests/Makefile (bench): Add sincos.
22093 * benchtests/bench-sincos.c: New file.
22094
22095 * math/libm-test.inc (cos_test_data): New test inputs.
22096 (sin_test_data): Likewise.
22097
22098 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22099 macro.
22100 (__sin): Use it.
22101 (__cos): Likewise.
22102 (slow1): Likewise.
22103 (slow2): Likewise.
22104 (sloww1): Likewise.
22105 (sloww2): Likewise.
22106 (bsloww1): Likewise.
22107 (bsloww2): Likewise.
22108 (cslow2): Likewise.
22109 (csloww1): Likewise.
22110 (csloww2): Likewise.
22111
22112 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22113 function.
22114 (__sin): Use it.
22115 (__cos): Likewise.
22116
22117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22118 gotos.
22119 (__cos): Likewise.
22120
221212013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22122
22123 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22124 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22125 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22126 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22127 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22128 * elf/cache.c (print_entry): Handle the new cache flags.
22129
221302013-09-18 Joseph Myers <joseph@codesourcery.com>
22131 Aldy Hernandez <aldyh@redhat.com>
22132
22133 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22134 Change condition to [_SOFT_FLOAT].
22135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22136 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22138 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22147 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22150 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22151 declaration.
22152
221532013-09-18 Joseph Myers <joseph@codesourcery.com>
22154
22155 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22156 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22157 (__longjmp): Use LOAD_GP to load saved GPRs.
22158 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22159 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22160 (__sigsetjmp): Use SAVE_GP to save GPRs.
22161
22162 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22163 Do not append -msoft-float.
22164 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22165
221662013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22167
22168 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22169
221702013-09-17 Joseph Myers <joseph@codesourcery.com>
22171
22172 [BZ #15966]
22173 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22174 (_FPU_GETCW): Use initial "__" on variable and field names but not
22175 on macro parameter name.
22176 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22177 parentheses around reference to macro parameter.
22178
221792013-09-13 Richard Sandiford <richard@codesourcery.com>
22180
22181 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22182 prototype.
22183 (ctype_startup): Use uint32_t in cast and sizeof for
22184 ctype->charnames.
22185
221862013-09-11 Jia Liu <proljc@gmail.com>
22187
22188 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22189 __daddr_t_defined.
22190 [__FreeBSD__]: Likewise.
22191
221922013-09-11 Ondřej Bílka <neleai@seznam.cz>
22193
22194 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22195 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22196 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22197 (strchr): Remove __strchr_sse42 ifunc selection.
22198 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22199 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22200
222012013-09-11 Will Newton <will.newton@linaro.org>
22202
22203 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22204 parameter to RES. Remove hardcoded 1000 value.
22205 * benchtests/bench-skeleton.c (main): Pass RES parameter
22206 to TIMING_INIT and multiply result by 1000.
22207
222082013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22209
22210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22211
222122013-09-11 Andreas Schwab <schwab@suse.de>
22213
22214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22215 if not defined.
22216 (O_TMPFILE) [__USE_GNU]: Define.
22217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22218 Define.
22219
222202013-09-11 Will Newton <will.newton@linaro.org>
22221
22222 [BZ #15857]
22223 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22224 does not overflow.
22225
222262013-09-11 Will Newton <will.newton@linaro.org>
22227
22228 [BZ #15856]
22229 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22230 does not overflow.
22231
222322013-09-11 Will Newton <will.newton@linaro.org>
22233
22234 [BZ #15855]
22235 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22236 does not overflow.
22237
222382013-09-10 Ondřej Bílka <neleai@seznam.cz>
22239
22240 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22241 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22242 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22243 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22244 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22245
222462013-09-10 Allan McRae <allan@archlinux.org>
22247
22248 [BZ #15748]
22249 * manual/arith.texi (Parsing of Floats): Clarify
22250 cross-reference.
22251
22252 [BZ #15849]
22253 * manual/install.texi (Running make install): Mention
22254 --enable-pt-chown.
22255 * INSTALL: Regenerated.
22256
222572013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22258
22259 * csu/init-first.c (_init): Remove the !SHARED condition around
22260 FPU control word initialization.
22261 * elf/dl-support.c (_dl_fpu_control): New variable.
22262 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22263 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22264 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22265 * math/test-fpucw-static.c: New file.
22266 * math/test-fpucw-ieee.c: New file.
22267 * math/test-fpucw-ieee-static.c: New file.
22268 * math/Makefile (tests): Add `test-fpucw-ieee' and
22269 `$(tests-static)'.
22270 (tests-static): New variable.
22271 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22272 dependency to...
22273 [($(build-shared),yes)]
22274 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22275 ... this.
22276 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22277 New dependency.
22278
222792013-09-09 Allan McRae <allan@archlinux.org>
22280
22281 [BZ #15939]
22282 * manual/string.texi (Collation Functions): Fix typo in
22283 strcoll example.
22284 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22285
22286 [BZ #15893]
22287 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22288
22289 [BZ #15892]
22290 * libio/memstream.c (open_memstream): Fix memory leak.
22291 * libio/wmemstream.c (open_wmemstream): Likewise.
22292
22293 [BZ #15895]
22294 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22295
222962013-09-09 Will Newton <will.newton@linaro.org>
22297
22298 * malloc/Makefile: Add tst-realloc to tests.
22299 * malloc/tst-realloc.c: New file.
22300
223012013-09-09 Allan McRae <allan@archlinux.org>
22302
22303 [BZ #15844]
22304 * COPYING: Update from GNU website to fix FSF address.
22305 * COPYING.LIB: Likewise.
22306
223072013-09-06 David S. Miller <davem@davemloft.net>
22308
22309 * po/zh_TW.po: Update Chinese (traditional) translation from
22310 translation project.
22311
223122013-09-06 Richard Sandiford <richard@codesourcery.com>
22313 Joseph Myers <joseph@codesourcery.com>
22314
22315 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22316 "localeinfo.h".
22317 (obstack_chunk_alloc): New macro.
22318 (obstack_chunk_free): Likewise.
22319 (record_offset): New function.
22320 (init_locale_data): Likewise.
22321 (align_locale_data): Likewise.
22322 (add_locale_empty): Likewise.
22323 (add_locale_raw_data): Likewise.
22324 (add_locale_raw_obstack): Likewise.
22325 (add_locale_string): Likewise.
22326 (add_locale_wstring): Likewise.
22327 (add_locale_uint32): Likewise.
22328 (add_locale_uint32_array): Likewise.
22329 (add_locale_char): Likewise.
22330 (start_locale_structure): Likewise.
22331 (end_locale_structure): Likewise.
22332 (start_locale_prelude): Likewise.
22333 (end_locale_prelude): Likewise.
22334 (write_locale_data): Take locale_file structure rather than an
22335 iovec.
22336 * locale/programs/locfile.h: Include "obstack.h".
22337 (struct locale_file): Change to store locale file contents instead
22338 of header.
22339 (init_locale_data): New prototype.
22340 (align_locale_data): Likewise.
22341 (add_locale_empty): Likewise.
22342 (add_locale_raw_data): Likewise.
22343 (add_locale_raw_obstack): Likewise.
22344 (add_locale_string): Likewise.
22345 (add_locale_wstring): Likewise.
22346 (add_locale_uint32): Likewise.
22347 (add_locale_uint32_array): Likewise.
22348 (add_locale_char): Likewise.
22349 (start_locale_structure): Likewise.
22350 (end_locale_structure): Likewise.
22351 (start_locale_prelude): Likewise.
22352 (end_locale_prelude): Likewise.
22353 (write_locale_data): Update prototype.
22354 * locale/programs/3level.h (struct TABLE): Remove result field.
22355 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22356 Use new locale_file interface.
22357 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22358 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22359 * locale/programs/ld-address.c (address_output): Use new
22360 locale_file interface.
22361 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22362 NO_ADD_LOCALE.
22363 (collate_finish): Don't call collseq_table_finalize.
22364 (collate_output): Use new locale_file interface.
22365 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22366 in file.
22367 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22368 (TABLE): Move defines earlier in file.
22369 (ELEMENT): Likewise.
22370 (DEFAULT): Likewise.
22371 (wctrans_table_add): Move macro and inline function earlier in
22372 file.
22373 (struct wctype_table): Move type earlier in file.
22374 (add_locale_wctype_table): New static prototype.
22375 (struct locale_ctype_t): Use logical types instead of struct iovec
22376 pointers for members.
22377 (ctype_output): Use new locale_file interface.
22378 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22379 new locale_file interface.
22380 (allocate_arrays): Update for use of new locale_file interface.
22381 * locale/programs/ld-identification.c (identification_output): Use
22382 new locale_file interface.
22383 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22384 * locale/programs/ld-messages.c (messages_output): Likewise.
22385 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22386 * locale/programs/ld-name.c (name_output): Likewise.
22387 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22388 * locale/programs/ld-paper.c (paper_output): Likewise.
22389 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22390 * locale/programs/ld-time.c (time_output): Likewise.
22391
223922013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22393
22394 * benchtests/Makefile: Add memrchr benchmark.
22395 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22396 benchmark as memrchr.
22397 * benchtests/bench-memrchr-ifunc.c: New file.
22398 * benchtests/bench-memrchr.c: New file.
22399
224002013-09-06 Will Newton <will.newton@linaro.org>
22401
22402 * benchtests/Makefile (string-bench): Add memcpy.
22403
224042013-09-05 Carlos O'Donell <carlos@redhat.com>
22405 Cong Wang <amwang@redhat.com>
22406
22407 [BZ #15850]
22408 * sysdeps/unix/sysv/linux/bits/in.h
22409 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22410 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22411 before __USE_KERNEL_IPV6_DEFS uses.
22412 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22413 IPPROTO_BEETPH.
22414 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22415 sockaddr_in6, or ipv6_mreq.
22416
224172013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22418
22419 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22420 memory access for final bytes in some large inputs.
22421 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22422
224232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22424
22425 * string/test-memrchr.c: New file.
22426 * string/test-memrchr-ifunc.c: New file.
22427 * string/Makefile: Add new memrchr testcase.
22428
224292013-09-05 Mike Frysinger <vapier@gentoo.org>
22430
22431 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22432 fanotify_init returns EPERM.
22433
224342013-09-04 Joseph Myers <joseph@codesourcery.com>
22435
22436 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22437 errors.
22438 (top level): Treat second token from macro or constant entries for
22439 allowed headers as allowed.
22440 * include/complex.h: Condition internal declarations on
22441 [!_ISOMAC].
22442 * include/fenv.h: Condition include of <stdbool.h> and internal
22443 declarations on [!_ISOMAC].
22444
224452013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22446
22447 [BZ #15923]
22448 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22449
224502013-09-04 Joseph Myers <joseph@codesourcery.com>
22451
22452 * configure.in (--enable-versioning): Remove configure option.
22453 (libc_cv_asm_symver_directive): Remove configure test.
22454 (libc_cv_ld_version_script_option): Likewise.
22455 (VERSIONING): Remove variable and AC_SUBST.
22456 (DO_VERSIONING): Remove AC_DEFINE.
22457 * configure: Regenerated.
22458 * config.h.in (DO_VERSIONING): Remove macro.
22459 * Makerules [$(versioning) = yes]: Change conditionals to
22460 [$(build-shared) = yes].
22461 * config.make.in (versioning): Remove variable.
22462 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22463 [$(build-shared) = yes].
22464 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22465 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22466 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22467 [$(build-shared) = yes].
22468 * extra-lib.mk [$(versioning) = yes]: Likewise.
22469 * hurd/Makefile [$(versioning) = yes]: Likewise.
22470 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22471 [SHARED].
22472 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22473 [SHARED].
22474 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22475 [SHARED && !NO_HIDDEN].
22476 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22477 [SHARED].
22478 [SHARED && DO_VERSIONING]: Likewise..
22479 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22480 [$(build-shared) = yes].
22481 * manual/install.texi (--disable-versioning): Remove
22482 documentation.
22483 * INSTALL: Regenerated.
22484 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22485 to [SHARED].
22486 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22487 [$(build-shared) = yes].
22488 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22489 * sysdeps/i386/i686/multiarch/strstr-c.c
22490 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22491 [SHARED && !NO_HIDDEN].
22492 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22493 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22494 * sysdeps/powerpc/powerpc32/dl-machine.c
22495 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22496 * sysdeps/powerpc/powerpc32/sysdep.h
22497 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22498 to [SHARED && PIC && !NO_HIDDEN].
22499 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22500 conditional to [SHARED].
22501
225022013-09-04 Will Newton <will.newton@linaro.org>
22503
22504 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22505 * benchtests/bench-string.h: Include bench-timing.h instead
22506 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22507 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22508 call to HP_TIMING_DIFF_INIT.
22509 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22510 instead of hp-timing.h macros.
22511 * benchtests/bench-memchr.c: Likewise.
22512 * benchtests/bench-memcmp.c: Likewise.
22513 * benchtests/bench-memcpy.c: Likewise.
22514 * benchtests/bench-memmem.c: Likewise.
22515 * benchtests/bench-memmove.c: Likewise.
22516 * benchtests/bench-memset.c: Likewise.
22517 * benchtests/bench-rawmemchr.c: Likewise.
22518 * benchtests/bench-strcasecmp.c: Likewise.
22519 * benchtests/bench-strcasestr.c: Likewise.
22520 * benchtests/bench-strcat.c: Likewise.
22521 * benchtests/bench-strchr.c: Likewise.
22522 * benchtests/bench-strcmp.c: Likewise.
22523 * benchtests/bench-strcpy.c: Likewise.
22524 * benchtests/bench-strcpy_chk.c: Likewise.
22525 * benchtests/bench-strlen.c: Likewise.
22526 * benchtests/bench-strncasecmp.c: Likewise.
22527 * benchtests/bench-strncat.c: Likewise.
22528 * benchtests/bench-strncmp.c: Likewise.
22529 * benchtests/bench-strncpy.c: Likewise.
22530 * benchtests/bench-strnlen.c: Likewise.
22531 * benchtests/bench-strpbrk.c: Likewise.
22532 * benchtests/bench-strrchr.c: Likewise.
22533 * benchtests/bench-strspn.c: Likewise.
22534 * benchtests/bench-strstr.c: Likewise.
22535
225362013-09-04 Will Newton <will.newton@linaro.org>
22537
22538 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22539
225402013-09-03 Joseph Myers <joseph@codesourcery.com>
22541
22542 [BZ #15427]
22543 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22544 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22545 * math/libm-test.inc (lgamma_test_data): Add more tests.
22546 * sysdeps/i386/fpu/libm-test-ulps: Update.
22547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22548
225492013-09-03 Ondřej Bílka <neleai@seznam.cz>
22550
22551 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22553 Add ifunc.
22554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22555 Add strcmp-sse2-unaligned
22556 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22557
225582013-09-02 Mike Frysinger <vapier@gentoo.org>
22559
22560 * Versions.def (libc): Add GLIBC_2.19.
22561
225622013-09-02 Mike Frysinger <vapier@gentoo.org>
22563
22564 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22565 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22566
225672013-09-02 Joseph Myers <joseph@codesourcery.com>
22568
22569 [BZ #14155]
22570 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22571 intermediate calculations in recurrence.
22572 (__ieee754_ynf): Likewise.
22573 * math/libm-test.inc (jn_test_data): Do not allow spurious
22574 underflow exception. Add more tests.
22575 (yn_test_data): Add more tests.
22576 * sysdeps/i386/fpu/libm-test-ulps: Update.
22577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22578
225792013-09-02 Ondřej Bílka <neleai@seznam.cz>
22580
22581 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22582
225832013-08-30 Ondřej Bílka <neleai@seznam.cz>
22584
22585 * csu/init-first.c: Fix then/than typos.
22586 * locale/programs/ld-collate.c: Likewise.
22587 * locale/programs/linereader.h: Likewise.
22588 * manual/charset.texi: Likewise.
22589 * manual/filesys.texi: Likewise.
22590 * manual/stdio.texi: Likewise.
22591 * manual/string.texi: Likewise.
22592 * stdlib/fmtmsg.c: Likewise.
22593 * sysdeps/i386/stpncpy.S: Likewise.
22594 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22595 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22596 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22597 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22598
225992013-08-30 Ondřej Bílka <neleai@seznam.cz>
22600
22601 * elf/dl-open.c: Fix typos.
22602 * iconvdata/gbbig5.c: Likewise.
22603 * iconvdata/iso-2022-jp.c: Likewise.
22604 * iconv/gconv_int.h: Likewise.
22605 * iconv/loop.c: Likewise.
22606 * nis/rpcsvc/nis.h: Likewise.
22607 * resolv/ns_name.c: Likewise.
22608 * stdio-common/vfscanf.c: Likewise.
22609 * streams/stropts.h: Likewise.
22610 * sunrpc/rpc_thread.c: Likewise.
22611 * sysdeps/i386/strpbrk.S: Likewise.
22612 * sysdeps/ieee754/k_standard.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22615 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22616 * sysdeps/mach/hurd/profil.c: Likewise.
22617 * sysdeps/s390/dl-procinfo.h: Likewise.
22618 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22619 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22620 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22621 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22623
226242013-08-30 Ondřej Bílka <neleai@seznam.cz>
22625
22626 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22628
226292013-08-29 Ondřej Bílka <neleai@seznam.cz>
22630
22631 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22632 aix specific files.
22633 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22634 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22635 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22636 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22637 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22638 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22639 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22640 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22641
226422013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22643 Roland McGrath <roland@hack.frob.com>
22644
22645 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22646 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22647
226482013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22649
22650 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22651 __executable_start symbol instead of _start.
22652
226532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22654
22655 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22656 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22657 Move macros to...
22658 * sysdeps/gnu/ldsodefs.h: ... this new file.
22659
22660 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22661 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22662 instead of ELFOSABI_LINUX.
22663
22664 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22665 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22666 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22667 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22668 Likewise.
22669 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22670 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22671 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22672 Likewise.
22673 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22674 (ibm_extended_long_double): Add ieee_nan member.
22675 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22676 (do_test): New function.
22677
22678 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22679 TEST_TRUNC.
22680 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22681 functions, renamed from truncdfsf_test, trunctfsf_test,
22682 trunctfdf_test.
22683 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22684 functions.
22685 (do_test): Run all these.
22686
226872013-08-29 Ondřej Bílka <neleai@seznam.cz>
22688
22689 * argp/argp-help.c: Fix typos.
22690 * argp/argp-parse.c: Likewise.
22691 * debug/backtracesyms.c: Likewise.
22692 * elf/elf.h: Likewise.
22693 * malloc/malloc.c: Likewise.
22694 * nis/nis_print.c: Likewise.
22695 * resolv/res_comp.c: Likewise.
22696 * stdlib/stdlib.h: Likewise.
22697 * sunrpc/clnt_tcp.c: Likewise.
22698 * sunrpc/clnt_udp.c: Likewise.
22699 * sunrpc/clnt_unix.c: Likewise.
22700 * sysdeps/unix/bsd/ptsname.c: Likewise.
22701 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22702 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22704 Likewise.
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22706 Likewise.
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22708 Likewise.
22709 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22710
227112013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22712
22713 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22715
227162013-08-27 Mike Frysinger <vapier@gentoo.org>
22717
22718 [BZ #15897]
22719 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22720 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22721 ($(objpfx)bug-dl-leaf): New rule.
22722 ($(objpfx)bug-dl-leaf.so): Likewise.
22723 ($(objpfx)bug-dl-leaf.out): Likewise.
22724 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22725 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22726 * dlfcn/bug-dl-leaf.c: New test.
22727 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22728 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22729 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22730 (dlclose): Likewise.
22731 (dlmopen): Likewise.
22732
227332013-08-27 Roland McGrath <roland@hack.frob.com>
22734
22735 * include/netdb.h [!_ISOMAC]:
22736 Don't include <tls.h>.
22737 (h_errno, __libc_h_errno): Move declaration and macros out of
22738 [_LIBC_REENTRANT].
22739
22740 * include/resolv.h [_RESOLV_H_]:
22741 Don't include <tls.h>.
22742 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22743 * resolv/res_libc.c: Don't include <tls.h>.
22744 (_res): Use __attribute__ ((nocommon)) in place of
22745 __attribute__ ((section (".bss"))).
22746
22747 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22748 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22749
22750 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22751
22752 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22753 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22754
22755 * resolv/res_mkquery.c: Include <sys/time.h>.
22756
22757 * inet/ifreq.c: Moved to ...
22758 * sysdeps/unix/ifreq.c: ... here.
22759 * inet/ifreq.c: New file, true stub version.
22760
22761 * socket/sa_len.c: New file.
22762 * socket/Makefile (aux): Add it.
22763 * sysdeps/unix/sysv/linux/Makefile
22764 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22765 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22766 and #include <socket/sa_len.c>.
22767 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22768 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22769
22770 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22771 * bits/socket.h: ... here.
22772
22773 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22774 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22775 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22776
227772013-08-27 Andreas Schwab <schwab@suse.de>
22778
22779 [BZ #15736]
22780 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22781 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22782 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22783 * string/test-strcasecmp.c (test_main): Run tests in several
22784 locales.
22785 * string/test-strncasecmp.c (test_main): Likewise.
22786
22787 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22788 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22789 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22790 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22791 (__strncasecmp_ssse3) [PIC]: Likewise.
22792
227932013-08-26 Roland McGrath <roland@hack.frob.com>
22794
22795 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22796
22797 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22798 instead of explicitly declaring xdecrypt.
22799 * nis/nss_nis/nis-publickey.c: Likewise.
22800
228012013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22802
22803 [BZ #15890]
22804 * nscd/aicache.c: Include res_hconf.h.
22805 (addhstaiX): Initialize res_hconf.
22806
228072013-08-26 Andreas Schwab <schwab@suse.de>
22808
22809 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22810 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22811
228122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22813
22814 * nscd/aicache.c (addhstaiX): Fix indentation.
22815
228162013-08-25 Mike Frysinger <vapier@gentoo.org>
22817
22818 * configure.ac: Quote $build_pt_chown test.
22819 * configure: Regenerated.
22820
228212013-08-23 Joseph Myers <joseph@codesourcery.com>
22822
22823 [BZ #15532]
22824 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22825 * math/s_cexpf.c (__cexpf): Likewise.
22826 * math/s_cexpl.c (__cexpl): Likewise.
22827 * math/libm-test.inc (cexp_test_data): Correct expected return
22828 value for NaN + i0. Add another test.
22829
228302013-08-22 David S. Miller <davem@davemloft.net>
22831
22832 * po/ca.po: Update Catalan translation from translation project.
22833 * po/uk.po: Add Ukrainian translations from translation project.
22834
228352013-08-21 Joseph Myers <joseph@codesourcery.com>
22836
22837 [BZ #15797]
22838 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22839 is infinite, not alongside NaN test.
22840 * math/s_fdimf.c (__fdimf): Likewise.
22841 * math/s_fdiml.c (__fdiml): Likewise.
22842 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22843 errno is unchanged.
22844
228452013-08-21 Ondřej Bílka <neleai@seznam.cz>
22846
22847 * argp/argp-help.c: Fix typos.
22848 * crypt/speeds.c: Likewise.
22849 * csu/check_fds.c: Likewise.
22850 * elf/dl-load.c: Likewise.
22851 * elf/dl-open.c: Likewise.
22852 * elf/reldep3.c: Likewise.
22853 * elf/reldep.c: Likewise.
22854 * elf/sprof.c: Likewise.
22855 * iconv/iconv_charmap.c: Likewise.
22856 * iconv/skeleton.c: Likewise.
22857 * iconv/strtab.c: Likewise.
22858 * io/lockf64.c: Likewise.
22859 * libio/libioP.h: Likewise.
22860 * resolv/gai_notify.c: Likewise.
22861 * resolv/ns_name.c: Likewise.
22862 * resolv/ns_samedomain.c: Likewise.
22863 * resolv/res_send.c: Likewise.
22864 * stdlib/random.c: Likewise.
22865 * sunrpc/rpc/xdr.h: Likewise.
22866 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22867 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22868 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22869 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22870 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22874 * sysdeps/mach/hurd/check_fds.c: Likewise.
22875 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22876 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22878 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22879 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22880 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22881 * sysdeps/pthread/aio_notify.c: Likewise.
22882 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22883 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22884 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22885 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22886 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22887
228882013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22889
22890 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22891 version if bit_Slow_SSE4_2 is set.
22892 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22893 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22894
228952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22896
22897 [BZ #15867]
22898 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22899 trampoline stack frame information.
22900 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22901 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22902 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22903 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22904 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22905 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22906 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22907 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22908 sa_flags value.
22909 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22910 interrupting a syscall and set with option SA_SIGINFO.
22911
229122013-08-20 Joseph Myers <joseph@codesourcery.com>
22913
22914 [BZ #15531]
22915 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22916 argument is infinite.
22917 * math/s_cprojf.c (__cprojf): Likewise.
22918 * math/s_cprojl.c (__cprojl): Likewise.
22919 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22920 * math/libm-test.inc (cproj_test_data): Add more tests.
22921
22922 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22923
22924 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22925 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22926 size. Use __ffs to determine corresponding shift.
22927
229282013-08-20 Joseph Myers <joseph@codesourcery.com>
22929 Roland McGrath <roland@hack.frob.com>
22930
22931 * Makefile (INSTALL): Remove trailing blank lines from output of
22932 makeinfo.
22933
229342013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22935
22936 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22937 Align 32 bit compat elf_greg to 8 bytes.
22938
229392013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22940
22941 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22942
229432013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22944
22945 * string/strcoll_l.c (coll_seq): New structure.
22946 (get_next_seq_cached): New function.
22947 (get_next_seq): New function.
22948 (do_compare): New function.
22949 (STRCOLL): Use GNU style definition. Simplify implementation
22950 by using get_next_seq, get_next_seq_cached and do_compare.
22951
229522013-08-16 Florian Weimer <fweimer@redhat.com>
22953
22954 [BZ #14699]
22955 CVE-2013-4237
22956 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22957 member.
22958 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22959 member.
22960 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22961 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22962 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22963 conditional.
22964 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22965 GETDENTS_64BIT_ALIGNED.
22966 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22967 * manual/filesys.texi (Reading/Closing Directory): Document
22968 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22969 strongly.
22970 * manual/conf.texi (Limits for Files): Add portability note to
22971 NAME_MAX, PATH_MAX.
22972 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22973
229742013-08-13 Andreas Schwab <schwab@suse.de>
22975
22976 [BZ #15749]
22977 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22978 of fabs.
22979 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22980 LDBL_MAX_EXP >= 16384]: Add tests for it.
22981
229822013-08-12 David S. Miller <davem@davemloft.net>
22983
22984 * version.h (RELEASE): Set to "development".
22985 (VERSION): Set to "2.18.90".
22986 * NEWS: Add 2.19 section.
22987
229882013-08-03 David S. Miller <davem@davemloft.net>
22989
22990 * po/ko.po: Update Korean translation from translation project.
22991
229922013-08-01 David S. Miller <davem@davemloft.net>
22993
22994 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22995 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22996 Bilka.
22997
229982013-07-30 David S. Miller <davem@davemloft.net>
22999
23000 * po/fr.po: Update French translation from translation project.
23001
230022013-07-28 David S. Miller <davem@davemloft.net>
23003
23004 * po/cs.po: Update Czech translation from translation project.
23005
23006 * po/sv.po: Update Swedish translation from translation project.
23007
230082013-07-27 David S. Miller <davem@davemloft.net>
23009
23010 * po/eo.po: Update Esperanto translation from translation project.
23011
23012 * po/vi.po: Update Vietnamese translation from translation project.
23013
23014 * po/de.po: Update German translation from translation project.
23015
230162013-07-26 David S. Miller <davem@davemloft.net>
23017
23018 * po/bg.po: Update Bulgarian translation from translation project.
23019
23020 * po/nl.po: Update Dutch translation from translation project.
23021 * po/pl.po: Update Polish translation from translation project.
23022 * po/ru.po: Update Russian translation from translation project.
23023
230242013-07-24 David S. Miller <davem@davemloft.net>
23025
23026 * po/libc.pot: Update.
23027
230282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23029
23030 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23031 variable page size.
23032 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23033 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23034 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23035
230362013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23037
23038 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23039
230402013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23041 Andreas Schwab <schwab@suse.de>
23042 Roland McGrath <roland@hack.frob.com>
23043 Joseph Myers <joseph@codesourcery.com>
23044 Carlos O'Donell <carlos@redhat.com>
23045
23046 [BZ #15755]
23047 * config.h.in: Define HAVE_PT_CHOWN.
23048 * config.make.in (build-pt-chown): New variable.
23049 * configure.in (--enable-pt_chown): New configure option.
23050 * configure: Regenerate.
23051 * login/Makefile: Include Makeconfig. Build pt_chown only if
23052 build-pt-chown is enabled.
23053 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23054 pt_chown to fix pty ownership.
23055 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23056 CLOSE_ALL_FDS.
23057 * manual/install.texi (Configuring and compiling): Mention
23058 --enable-pt_chown. Add @findex for grantpt.
23059 * INSTALL: Regenerate.
23060
230612013-07-20 David S. Miller <davem@davemloft.net>
23062
23063 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23064 difference between 32-bit and 64-bit.
23065
230662013-07-15 Carlos O'Donell <carlos@redhat.com>
23067
23068 [BZ #15711]
23069 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23070 Avoid system header dependency with -ffreestanding.
23071 ($(objpfx)bits/syscall%d): Likewise.
23072
230732013-07-13 David S. Miller <davem@davemloft.net>
23074
23075 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23076 underflows from atanl/atan2l due to bug 15319.
23077 (casinh_test_data): Likewise.
23078
230792013-07-07 David S. Miller <davem@davemloft.net>
23080
23081 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23082
230832013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23084
23085 * sysdeps/i386/fpu/libm-test-ulps: Update.
23086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23087
230882013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23089
23090 * configure.in (--enable-lock-elision): Fix message text.
23091 * INSTALL: Regenerate.
23092 * configure: Regenerate.
23093
230942013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23095
23096 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23097
230982013-07-03 Andreas Jaeger <aj@suse.de>
23099
23100 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23101 define.
23102 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23103 (ptrace_peeksiginfo_args): Add.
23104 (__ptrace_peeksiginfo_flags): Add.
23105 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23107 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23108
231092013-07-03 Allan McRae <allan@archlinux.org>
23110
23111 * sysdeps/i386/fpu/libm-test-ulps: Update.
23112
231132013-07-02 David S. Miller <davem@davemloft.net>
23114
23115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23116
231172013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23118
23119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23120
231212013-07-02 Joseph Myers <joseph@codesourcery.com>
23122
23123 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23125
231262013-07-02 Andi Kleen <ak@linux.intel.com>
23127
23128 * config.h.in (ENABLE_LOCK_ELISION): Add.
23129 * configure.in (--enable-lock-elision): Add option.
23130 * manual/install.texi: Document --enable lock elision.
23131 * configure: Regenerate
23132 * INSTALL: Regenerate.
23133
231342013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23135
23136 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23137 SSE4.2 strcasecmp for libc.a.
23138 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23139
231402013-07-02 Joseph Myers <joseph@codesourcery.com>
23141
23142 [BZ #13304]
23143 * soft-fp/op-common.h (_FP_FMA): New macro.
23144 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23145 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23146 (_FP_MUL_MEAT_1_imm): ... here.
23147 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23148 (_FP_MUL_MEAT_1_wide): ... here.
23149 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23150 (_FP_MUL_MEAT_1_hard): ... here.
23151 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23152 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23153 (_FP_MUL_MEAT_2_wide): ... here.
23154 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23155 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23156 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23157 (_FP_MUL_MEAT_2_gmp): ... here.
23158 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23159 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23160 (_FP_MUL_MEAT_4_wide): ... here.
23161 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23162 (_FP_MUL_MEAT_4_gmp): ... here.
23163 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23164 (_FP_WFRACBITS_DW_S): Likewise.
23165 (_FP_WFRACXBITS_DW_S): Likewise.
23166 (_FP_HIGHBIT_DW_S): Likewise.
23167 (FP_FMA_S): Likewise.
23168 (_FP_FRAC_HIGH_DW_S): Likewise.
23169 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23170 (_FP_WFRACBITS_DW_D): Likewise.
23171 (_FP_WFRACXBITS_DW_D): Likewise.
23172 (_FP_HIGHBIT_DW_D): Likewise.
23173 (FP_FMA_D): Likewise.
23174 (_FP_FRAC_HIGH_DW_D): Likewise.
23175 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23176 (_FP_WFRACBITS_DW_E): Likewise.
23177 (_FP_WFRACXBITS_DW_E): Likewise.
23178 (_FP_HIGHBIT_DW_E): Likewise.
23179 (FP_FMA_E): Likewise.
23180 (_FP_FRAC_HIGH_DW_E): Likewise.
23181 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23182 (_FP_WFRACBITS_DW_Q): Likewise.
23183 (_FP_WFRACXBITS_DW_Q): Likewise.
23184 (_FP_HIGHBIT_DW_Q): Likewise.
23185 (FP_FMA_Q): Likewise.
23186 (_FP_FRAC_HIGH_DW_Q): Likewise.
23187 * soft-fp/fmasf4.c: New file.
23188 * soft-fp/fmadf4.c: Likewise.
23189 * soft-fp/fmatf4.c: Likewise.
23190
231912013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23192
23193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23194 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23195 Silvermont.
23196 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23197 macro.
23198 (index_Slow_SSE4_2): Likewise.
23199 (index_Prefer_PMINUB_for_stringop): Likewise.
23200 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23201 bit_Slow_SSE4_2 is set.
23202 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23203 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23204
232052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23206
23207 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23208 rtld_global._dl_hwcap2.
23209 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23210 POWER8.
23211 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23212 POWER8 feature descriptions defined in _dl_hwcap2.
23213 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23214 string handling for POWER8 feature bits.
23215 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23216 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23217 _dl_powerpc_cap_flags.
23218 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23219 * sysdeps/powerpc/rtld-global-offsets.sym
23220 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23221 _dl_hwcap2 in the rtld_global_ro structure.
23222
232232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23224
23225 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23226 hardware capabilities in support of AT_HWCAP2.
23227 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23228 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23229 GLRO(dl_hwcap2).
23230 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23231 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23232 explicitly the unknown a_type display mechanism is used.
23233 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23234 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23235 struct member.
23236 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23237 to macro prototype for AT_HWCAP2 support.
23238 * sysdeps/i386/dl-procinfo.h: Likewise.
23239 * sysdeps/s390/dl-procinfo.h: Likewise.
23240 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23241 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23242 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23243 return -1 for unknown a_type display fallback.
23244 * sysdeps/sparc/dl-procinfo.h: Likewise.
23245 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23246 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23247
232482013-06-28 Joseph Myers <joseph@codesourcery.com>
23249
23250 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23251 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23252
232532013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23254
23255 [BZ #12492]
23256 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23257 mprotect making __stack_prot writable.
23258
232592013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23260 Joseph Myers <joseph@codesourcery.com>
23261
23262 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23263 as being properly aligned.
23264
232652013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23266
23267 * dlfcn/modstatic5.c: New file.
23268 * dlfcn/tststatic5.c: New file.
23269 * dlfcn/Makefile (tests): Add tststatic5.
23270 (tests-static): Likewise.
23271 (modules-names): Add modstatic5.
23272 (tststatic5-ENV): New variable.
23273 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23274
23275 [BZ #15022]
23276 * elf/dl-support.c (_dl_main_map): New variable.
23277 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23278 (_dl_nns, _dl_load_adds): Set to 1.
23279 (_dl_initial_searchlist): Refer to _dl_main_map.
23280 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23281 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23282 call to _dl_get_origin.
23283 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23284 around call_map.
23285 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23286 * dlfcn/modstatic3.c: New file.
23287 * dlfcn/tststatic3.c: New file.
23288 * dlfcn/tststatic4.c: New file.
23289 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23290 (tests-static): Likewise.
23291 (modules-names): Add modstatic3.
23292 (tststatic3-ENV, tststatic4-ENV): New variables.
23293 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23294 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23295
232962013-06-26 Joseph Myers <joseph@codesourcery.com>
23297
23298 * configure.in (CC): Require GCC version 4.4 or later.
23299 * configure: Regenerated.
23300 * manual/install.texi (Tools for Compilation): Update GCC version
23301 requirement.
23302 * INSTALL: Regenerated.
23303
233042013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23305
23306 [BZ #15674]
23307 * string/test-memcmp.c (check2): New.
23308 (main): Call check2.
23309
23310 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23311
233122013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23313
23314 [BZ #15022]
23315 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23316 over to...
23317 (dl_open_worker) [!SHARED]: ... here.
23318
233192013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23320
23321 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23322
233232013-06-25 Richard Henderson <rth@redhat.com>
23324
23325 * locale/programs/locarchive.c: Include <libc-internal.h>
23326
233272013-06-25 Joseph Myers <joseph@codesourcery.com>
23328
23329 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23330 trailing whitespace removed.
23331
233322013-06-24 Mike Frysinger <vapier@gentoo.org>
23333
23334 [BZ #10283]
23335 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23336 * locale/programs/locarchive.c: Include libc-mmap.h.
23337 (prepare_address_space): Take two new outputs (the mmap base and len).
23338 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23339 values.
23340 (create_archive): Declare new mmap base and len values for
23341 prepare_address_space, and store the result in ah.
23342 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23343 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23344 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23345 Declare new mmap base and len values for
23346 prepare_address_space, and store the result in new_ah.
23347 (open_archive): Declare new mmap base and len values for
23348 prepare_address_space, and store the result in ah.
23349 (close_archive): If ah->mmap_base is not NULL, use that and
23350 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23351 * sysdeps/generic/libc-mmap.h: New file.
23352
233532013-06-24 Mike Frysinger <vapier@gentoo.org>
23354
23355 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23356 (ALIGN_UP): Likewise.
23357 (PTR_ALIGN_DOWN): Likewise.
23358 (PTR_ALIGN_UP): Likewise.
23359
233602013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23361
23362 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23363 entry mapped to PPC_PLATFORM_POWER8.
23364 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23365 POWER8.
23366 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23367 (_dl_string_platform): Add case for exporting platform position for
23368 POWER8.
23369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23370 search path to sysdeps/powerpc/powerpc32/power8 directory.
23371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23372 search path to sysdeps/powerpc/powerpc64/power8 directory.
23373 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23374 power7 directories.
23375 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23376 power7 directories.
23377
233782013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23379
23380 * INSTALL: Regenerate.
23381
23382 * nscd/connections.c (nscd_init): Fix comment.
23383
233842013-06-22 Joseph Myers <joseph@codesourcery.com>
23385
23386 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23387
23388 [BZ #15667]
23389 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23390 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23391
233922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23393
23394 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23395 DL_DST_REQ_STATIC.
23396 (DL_DST_REQ_STATIC): Remove macro.
23397
233982013-06-21 Joseph Myers <joseph@codesourcery.com>
23399
23400 [BZ #7006]
23401 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23402 with a shift of 0 bits.
23403
234042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23405
23406 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23407 $(tststatic-ENV).
23408
234092013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23410
23411 [BZ #15655]
23412 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23413
234142013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23415
23416 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23417 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23418 accepts -fno-tree-loop-distribute-patterns.
23419 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23420 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23421 recursive call.
23422 * string/memset.c (memset): Likewise.
23423 * string/test-memmove.c (simple_memmove): Disable loop transformation
23424 to library calls.
23425 * string/test-memset.c (simple_memset): Likewise.
23426 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23427 * benchtests/bench-memset.c (simple_memset): Likewise.
23428 * configure: Regenerated.
23429
234302013-06-20 Joseph Myers <joseph@codesourcery.com>
23431
23432 * math/test-misc.c (main): Ignore fesetround failure when failures
23433 of subsequent rounding tests would be ignored.
23434
23435 [BZ #15654]
23436 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23437 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23438 * math/fegetenv.c (__fegetenv): Return 0.
23439 * math/fegetexcept.c (fegetexcept): Return 0.
23440 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23441 FE_TONEAREST.
23442 * math/feholdexcpt.c (feholdexcept): Return 0.
23443 * math/fesetenv.c (__fesetenv): Return 0.
23444 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23445 argument FE_TONEAREST.
23446 * math/feupdateenv.c (__feupdateenv): Return 0.
23447 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23448
234492013-06-18 Roland McGrath <roland@hack.frob.com>
23450
23451 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23452 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23453 ($(objpfx)rtld-%.os rules): Use them.
23454
234552013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23456
23457 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23458 fields.
23459
234602013-06-17 Roland McGrath <roland@hack.frob.com>
23461
23462 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23463 length of target pattern, then descending length of dependency pattern.
23464 * configure.in (AWK): Require gawk 3.1.2 or newer.
23465 * manual/install.texi (Tools for Compilation): Say that we do.
23466 * configure: Regenerated.
23467
23468 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23469 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23470 * scripts/sysd-rules.awk: ... this new script.
23471 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23472 than a glob-style pattern.
23473
234742013-06-17 Joseph Myers <joseph@codesourcery.com>
23475
23476 * math/test-misc.c (main): Do not treat incorrectly rounded
23477 conversions as failure unless ROUNDING_TESTS passes.
23478
234792013-06-15 Joseph Myers <joseph@codesourcery.com>
23480
23481 [BZ #15631]
23482 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23483 restore exception state around main square root computation, then
23484 check for inexactness explicitly.
23485
23486 * math/libm-test.inc (fma_test_data): Add another test.
23487
234882013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23489
23490 * manual/threads.texi (Non-POSIX Extensions): New document
23491 node. Document pthread_getattr_default_np and
23492 pthread_setattr_default_np.
23493
23494 * Versions.def (libpthread): Add GLIBC_2.18.
23495 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23497 Likewise.
23498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23499 Likewise.
23500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23501 Likewise.
23502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23503 Likewise.
23504 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23505 Likewise.
23506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23507 Likewise.
23508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23509 Likewise.
23510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23511 Likewise.
23512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23513 Likewise.
23514
235152013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23516
23517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23518 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23519
235202013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23521 H.J. Lu <hjl.tools@gmail.com>
23522
23523 [BZ #15627]
23524 * sysdeps/x86_64/rtld-memset.c: Remove file.
23525 * sysdeps/x86_64/rtld-memset.S: New file.
23526
235272013-06-14 Joseph Myers <joseph@codesourcery.com>
23528
23529 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23530 (test_in_one_mode): Take arguments for whether the rounding mode
23531 is supported for each floating-point type.
23532 (do_test): Pass new arguments to test_in_one_mode using
23533 ROUNDING_TESTS.
23534
235352013-06-13 Roland McGrath <roland@hack.frob.com>
23536
23537 * posix/tst-waitid.c (do_test): Distinguish different instances of
23538 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23539 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23540 before entering the kernel for waitpid.
23541
235422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23543
23544 * NEWS: Fix note on clock function precision. Text by Roland
23545 McGrath.
23546
235472013-06-13 Roland McGrath <roland@hack.frob.com>
23548
23549 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23550 it into place only when and if the sanity check passes.
23551
235522013-06-13 Joseph Myers <joseph@codesourcery.com>
23553
23554 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23555 output for whether conversion result is exact. Take argument
23556 indicating whether type is IBM long double.
23557 (round_for_all): Change need_exact field to ibm_ld.
23558 * stdlib/tst-strtod-round.c (struct exactness): New type.
23559 (struct test): Change bool ld_ok field to struct exactness exact.
23560 (TEST): Update all definitions for change to field.
23561 (tests): Regenerate array contents.
23562 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23563 field value. Check for IBM long double here.
23564 (do_test): Update calls to test_in_one_mode.
23565
235662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23567
23568 [BZ #12515]
23569 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23570 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23571
235722013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23573
23574 [BZ #15605]
23575 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23576 generated by the compiler on loop optimizations.
23577 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23578 general definitions.
23579
235802013-06-12 Joseph Myers <joseph@codesourcery.com>
23581
23582 * math/bug-nextafter.c: Include <math-tests.h>.
23583 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23584 the relevant type.
23585 * math/bug-nexttoward.c: Include <math-tests.h>.
23586 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23587 the relevant type.
23588 * math/test-misc.c: Include <math-tests.h>.
23589 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23590 the relevant type.
23591
235922013-06-12 Andreas Jaeger <aj@suse.de>
23593
23594 * po/ia.po: Update Interlingua translation from translation
23595 project.
23596
235972013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23598
23599 * include/fenv.h: Include stdbool.h.
23600 (struct rm_ctx): New structure.
23601 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23602 Define macro.
23603 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23604 (SET_RESTORE_ROUNDF): Likewise.
23605 (SET_RESTORE_ROUNDL): Likewise.
23606 (SET_RESTORE_ROUND_NOEX): Likewise.
23607 (SET_RESTORE_ROUND_NOEXF): Likewise.
23608 (SET_RESTORE_ROUND_NOEXL): Likewise.
23609 (SET_RESTORE_ROUND_53BIT): Likewise.
23610 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23611 (libc_feresetround_noexf_ctx): Likewise.
23612 (libc_feresetround_noexl_ctx): Likewise.
23613 (libc_feholdsetround_53bit_ctx): Likewise.
23614 (libc_feresetround_53bit_ctx): Likewise.
23615 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23616 (libc_feholdexcept_setround_sse_ctx): New function.
23617 (libc_fesetenv_sse_ctx): Likewise.
23618 (libc_feupdateenv_sse_ctx): Likewise.
23619 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23620 (libc_feholdexcept_setround_387_ctx): Likewise.
23621 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23622 (libc_feholdsetround_387_prec_ctx): Likewise.
23623 (libc_feholdsetround_387_ctx): Likewise.
23624 (libc_feholdsetround_387_53bit_ctx): Likewise.
23625 (libc_feholdsetround_sse_ctx): Likewise.
23626 (libc_feresetround_sse_ctx): Likewise.
23627 (libc_feresetround_387_ctx): Likewise.
23628 (libc_feupdateenv_387_ctx): Likewise.
23629 (libc_feholdexcept_setroundf_ctx): Define macro.
23630 (libc_fesetenvf_ctx): Likewise.
23631 (libc_feupdateenvf_ctx): Likewise.
23632 (libc_feholdsetroundf_ctx): Likewise.
23633 (libc_feresetroundf_ctx): Likewise.
23634 (libc_feholdexcept_setround_ctx): Likewise.
23635 (libc_fesetenv_ctx): Likewise.
23636 (libc_feupdateenv_ctx): Likewise.
23637 (libc_feholdsetround_ctx): Likewise.
23638 (libc_feresetround_ctx): Likewise.
23639 (libc_feholdexcept_setroundl_ctx): Likewise.
23640 (libc_feupdateenvl_ctx): Likewise.
23641 (libc_feholdsetroundl_ctx): Likewise.
23642 (libc_feresetroundl_ctx): Likewise.
23643 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23644 (libc_feresetround_53bit_ctx): Likewise.
23645
236462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23647
23648 * locale/iso-639.def: Convert to UTF-8.
23649
236502013-06-11 Joseph Myers <joseph@codesourcery.com>
23651
23652 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23653 (EXCEPTION_TESTS_double): Likewise.
23654 (EXCEPTION_TESTS_long_double): Likewise.
23655 (EXCEPTION_TESTS): Likewise.
23656 * math/libm-test.inc (test_exceptions): Only test exceptions if
23657 EXCEPTION_TESTS (FLOAT).
23658
236592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23660
23661 * benchtests/Makefile (string-bench): Add strcpy_chk and
23662 stpcpy_chk.
23663 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23664 * benchtests/bench-stpcpy_chk.c: New file.
23665 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23666 * benchtests/bench-strcpy_chk.c: New file.
23667 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23668 code.
23669 (do_test): Likewise.
23670
236712013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23672
23673 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23674 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23675 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23676 with tabs where appropriate.
23677 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23678 dl-procinfo.h.
23679 [PPC_PLATFORM_PPC440]: Likewise.
23680 [PPC_PLATFORM_PPC464]: Likewise.
23681 [PPC_PLATFORM_PPC476]: Likewise.
23682 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23683 ppc464, and ppc476 platform strings merging from ports/
23684 dl-procinfo.h.
23685
236862013-06-11 Andreas Schwab <schwab@suse.de>
23687
23688 [BZ #14991]
23689 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23690 (from_ucs4_idx): Regenerate.
23691 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23692 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23693 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23694 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23695 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23696 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23697 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23698 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23699 from FROM_LOOP and TO_LOOP specific macros.
23700 (BODY): Handle combining characters.
23701 * iconvdata/BIG5HKSCS.irreversible: Update.
23702 * iconvdata/BIG5HKSCS.precomposed: New file.
23703 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23704 characters.
23705 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23706
237072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23708
23709 * include/sys/time.h: Fix indentation and add copyright header.
23710
23711 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23712 (do_test): Likewise.
23713 * string/test-memchr.c (do_one_test): Likewise.
23714 (do_test): Likewise.
23715 * string/test-memcmp.c (do_one_test): Likewise.
23716 (do_test): Likewise.
23717 * string/test-memcpy.c (do_one_test): Likewise.
23718 (do_test): Likewise.
23719 * string/test-memmem.c (do_one_test): Likewise.
23720 (do_test): Likewise.
23721 (do_random_tests): Likewise.
23722 * string/test-memmove.c (do_one_test): Likewise.
23723 (do_test): Likewise.
23724 * string/test-memset.c (do_one_test): Likewise.
23725 (do_test): Likewise.
23726 * string/test-rawmemchr.c (do_one_test): Likewise.
23727 (do_test): Likewise.
23728 * string/test-strcasecmp.c (do_one_test): Likewise.
23729 (do_test): Likewise.
23730 * string/test-strcasestr.c (do_one_test): Likewise.
23731 (do_test): Likewise.
23732 * string/test-strcat.c (do_one_test): Likewise.
23733 (do_test): Likewise.
23734 * string/test-strchr.c (do_one_test): Likewise.
23735 (do_test): Likewise.
23736 * string/test-strcmp.c (do_one_test): Likewise.
23737 (do_test): Likewise.
23738 * string/test-strcpy.c (do_one_test): Likewise.
23739 (do_test): Likewise.
23740 * string/test-string.h: Likewise.
23741 (test_init): Likewise.
23742 * string/test-strlen.c (do_one_test): Likewise.
23743 (do_test): Likewise.
23744 * string/test-strncasecmp.c (do_one_test): Likewise.
23745 (do_test): Likewise.
23746 * string/test-strncat.c (do_one_test): Likewise.
23747 (do_test): Likewise.
23748 * string/test-strncmp.c (do_one_test): Likewise.
23749 (do_test_limit): Likewise.
23750 (do_test): Likewise.
23751 * string/test-strncpy.c (do_one_test): Likewise.
23752 (do_test): Likewise.
23753 * string/test-strnlen.c (do_one_test): Likewise.
23754 (do_test): Likewise.
23755 * string/test-strpbrk.c (do_one_test): Likewise.
23756 (do_test): Likewise.
23757 * string/test-strrchr.c (do_one_test): Likewise.
23758 (do_test): Likewise.
23759 * string/test-strspn.c (do_one_test): Likewise.
23760 (do_test): Likewise.
23761 * string/test-strstr.c (do_one_test): Likewise.
23762 (do_test): Likewise.
23763
23764 * benchtests/Makefile (string-bench): Add string benchmarks.
23765 * benchtests/bench-bcopy-ifunc.c: New file.
23766 * benchtests/bench-bcopy.c: New file.
23767 * benchtests/bench-bzero-ifunc.c: New file.
23768 * benchtests/bench-bzero.c: New file.
23769 * benchtests/bench-memccpy-ifunc.c: New file.
23770 * benchtests/bench-memccpy.c: New file.
23771 * benchtests/bench-memchr-ifunc.c: New file.
23772 * benchtests/bench-memchr.c: New file.
23773 * benchtests/bench-memcmp-ifunc.c: New file.
23774 * benchtests/bench-memcmp.c: New file.
23775 * benchtests/bench-memmem-ifunc.c: New file.
23776 * benchtests/bench-memmem.c: New file.
23777 * benchtests/bench-memmove-ifunc.c: New file.
23778 * benchtests/bench-memmove.c: New file.
23779 * benchtests/bench-mempcpy-ifunc.c: New file.
23780 * benchtests/bench-mempcpy.c: New file.
23781 * benchtests/bench-memset-ifunc.c: New file.
23782 * benchtests/bench-memset.c: New file.
23783 * benchtests/bench-rawmemchr-ifunc.c: New file.
23784 * benchtests/bench-rawmemchr.c: New file.
23785 * benchtests/bench-stpcpy-ifunc.c: New file.
23786 * benchtests/bench-stpcpy.c: New file.
23787 * benchtests/bench-stpncpy-ifunc.c: New file.
23788 * benchtests/bench-stpncpy.c: New file.
23789 * benchtests/bench-strcasecmp-ifunc.c: New file.
23790 * benchtests/bench-strcasecmp.c: New file.
23791 * benchtests/bench-strcasestr-ifunc.c: New file.
23792 * benchtests/bench-strcasestr.c: New file.
23793 * benchtests/bench-strcat-ifunc.c: New file.
23794 * benchtests/bench-strcat.c: New file.
23795 * benchtests/bench-strchr-ifunc.c: New file.
23796 * benchtests/bench-strchr.c: New file.
23797 * benchtests/bench-strchrnul-ifunc.c: New file.
23798 * benchtests/bench-strchrnul.c: New file.
23799 * benchtests/bench-strcmp-ifunc.c: New file.
23800 * benchtests/bench-strcmp.c: New file.
23801 * benchtests/bench-strcpy-ifunc.c: New file.
23802 * benchtests/bench-strcpy.c: New file.
23803 * benchtests/bench-strcspn-ifunc.c: New file.
23804 * benchtests/bench-strcspn.c: New file.
23805 * benchtests/bench-strlen-ifunc.c: New file.
23806 * benchtests/bench-strlen.c: New file.
23807 * benchtests/bench-strncasecmp-ifunc.c: New file.
23808 * benchtests/bench-strncasecmp.c: New file.
23809 * benchtests/bench-strncat-ifunc.c: New file.
23810 * benchtests/bench-strncat.c: New file.
23811 * benchtests/bench-strncmp-ifunc.c: New file.
23812 * benchtests/bench-strncmp.c: New file.
23813 * benchtests/bench-strncpy-ifunc.c: New file.
23814 * benchtests/bench-strncpy.c: New file.
23815 * benchtests/bench-strnlen-ifunc.c: New file.
23816 * benchtests/bench-strnlen.c: New file.
23817 * benchtests/bench-strpbrk-ifunc.c: New file.
23818 * benchtests/bench-strpbrk.c: New file.
23819 * benchtests/bench-strrchr-ifunc.c: New file.
23820 * benchtests/bench-strrchr.c: New file.
23821 * benchtests/bench-strspn-ifunc.c: New file.
23822 * benchtests/bench-strspn.c: New file.
23823 * benchtests/bench-strstr-ifunc.c: New file.
23824 * benchtests/bench-strstr.c: New file.
23825
23826 * benchtests/Makefile: Disable parallel execution of targets.
23827 (string-bench): Add memcpy.
23828 (benchset): New variable to store a list of benchmark sets.
23829 (bench-func): Renamed from bench.
23830 (bench-set): New target.
23831 (bench): Depend on bench-func and bench-set.
23832 * benchtests/README: Add section on benchmark sets.
23833 * benchtests/bench-memcpy-ifunc.c: New file.
23834 * benchtests/bench-memcpy.c: New file.
23835 * benchtests/bench-string.h: New file.
23836
238372013-06-11 Andreas Schwab <schwab@suse.de>
23838
23839 [BZ #15577]
23840 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23841 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23842 values in the triple.
23843 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23844 terminator in the group key.
23845
238462013-06-11 Andreas Jaeger <aj@suse.de>
23847
23848 * po/zh_TW.po: Update Chinese (traditional) translation from
23849 translation project.
23850
238512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23852
23853 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23854 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23855 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23856 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23857 (clock_getcpuclockid): Likewise.
23858 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23859 Add weak_alias and libc_hidden_def.
23860 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23861 * rt/clock_gettime.c (clock_gettime): Rename to
23862 __clock_gettime. Add weak_alias and libc_hidden_def.
23863 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23864 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23865 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23866 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23867 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23868 Likewise.
23869 * rt/clock_settime.c (clock_settime): Rename to
23870 __clock_settime. Add weak_alias and libc_hidden_def.
23871 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23872
238732013-06-10 Joseph Myers <joseph@codesourcery.com>
23874
23875 * mach/err_boot.sub: Remove trailing whitespace.
23876 * mach/err_ipc.sub: Likewise.
23877 * mach/err_mach.sub: Likewise.
23878
23879 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23880 (ROUNDING_TESTS_double): Likewise.
23881 (ROUNDING_TESTS_long_double): Likewise.
23882 (ROUNDING_TESTS): Likewise.
23883 * math/libm-test.inc: Include <math-tests.h>.
23884 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23885 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23886 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23887 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23888
238892013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23890
23891 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23892 of assigning.
23893
238942013-06-08 Joseph Myers <joseph@codesourcery.com>
23895
23896 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23897 otherwise empty TRANS lines.
23898 * sysdeps/gnu/errlist.c: Regenerated.
23899
23900 * catgets/gencat.c (error_print): Use (void) in function
23901 definition.
23902 * crypt/crypt_util.c (__init_des): Likewise.
23903 * crypt/speeds.c (Stop): Likewise.
23904 (main): Likewise.
23905 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23906 * inet/ruserpass.c (token): Likewise.
23907 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23908 * intl/localealias.c (extend_alias_table): Likewise.
23909 * intl/plural-exp.c (init_germanic_plural): Likewise.
23910 * libio/fcloseall.c (__fcloseall): Likewise.
23911 * libio/genops.c (_IO_flush_all): Likewise.
23912 (_IO_flush_all_linebuffered): Likewise.
23913 (_IO_cleanup): Likewise.
23914 (_IO_iter_begin): Likewise.
23915 (_IO_iter_end): Likewise.
23916 (_IO_list_lock): Likewise.
23917 (_IO_list_unlock): Likewise.
23918 (_IO_list_resetlock): Likewise.
23919 * libio/getchar.c (getchar): Likewise.
23920 * libio/getchar_u.c (getchar_unlocked): Likewise.
23921 * libio/getwchar.c (getwchar): Likewise.
23922 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23923 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23924 * login/getpt.c (__getpt): Likewise.
23925 * login/tst-utmp.c (main): Likewise.
23926 * malloc/hooks.c (__malloc_check_init): Likewise.
23927 * malloc/malloc.c (__malloc_stats): Likewise.
23928 * malloc/mtrace.c (tr_break): Likewise.
23929 (mtrace): Likewise.
23930 (muntrace): Likewise.
23931 * misc/fstab.c (endfsent): Likewise.
23932 * misc/getclktck.c (__getclktck): Likewise.
23933 * misc/getdtsz.c (__getdtablesize): Likewise.
23934 * misc/gethostid.c (gethostid): Likewise.
23935 * misc/getpagesize.c (__getpagesize): Likewise.
23936 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23937 (__get_nprocs): Likewise.
23938 (__get_phys_pages): Likewise.
23939 (__get_avphys_pages): Likewise.
23940 * misc/getttyent.c (getttyent): Likewise.
23941 (setttyent): Likewise.
23942 (endttyent): Likewise.
23943 * misc/getusershell.c (getusershell): Likewise.
23944 (endusershell): Likewise.
23945 (setusershell): Likewise.
23946 (initshells): Likewise.
23947 * misc/hsearch.c (__hdestroy): Likewise.
23948 * misc/sync.c (sync): Likewise.
23949 * misc/syslog.c (closelog_internal): Likewise.
23950 (closelog): Likewise.
23951 * misc/ttyslot.c (ttyslot): Likewise.
23952 * misc/vhangup.c (vhangup): Likewise.
23953 * posix/fork.c (__fork): Likewise.
23954 * posix/getegid.c (__getegid): Likewise.
23955 * posix/geteuid.c (__geteuid): Likewise.
23956 * posix/getgid.c (__getgid): Likewise.
23957 * posix/getpid.c (__getpid): Likewise.
23958 * posix/getppid.c (__getppid): Likewise.
23959 * posix/getuid.c (__getuid): Likewise.
23960 * posix/pause.c (pause): Likewise.
23961 * posix/setpgrp.c (setpgrp): Likewise.
23962 * posix/setsid.c (__setsid): Likewise.
23963 * posix/test-vfork.c (noop): Likewise.
23964 * resolv/gethnamaddr.c (_endhtent): Likewise.
23965 (_gethtent): Likewise.
23966 (ht_endhostent): Likewise.
23967 (gethostent): Likewise.
23968 (dns_service): Likewise.
23969 * stdlib/drand48.c (drand48): Likewise.
23970 * stdlib/lrand48.c (lrand48): Likewise.
23971 * stdlib/mrand48.c (mrand48): Likewise.
23972 * stdlib/rand.c (rand): Likewise.
23973 * stdlib/random.c (__random): Likewise.
23974 * stdlib/setenv.c (clearenv): Likewise.
23975 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23976 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23977 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23978 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23979 (__get_nprocs): Likewise.
23980 (__get_phys_pages): Likewise.
23981 (__get_avphys_pages): Likewise.
23982 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23983 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23984 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23985 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23986 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23987 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23988 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23989 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23990 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23991 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23992 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23993 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23994 * sysdeps/posix/clock.c (clock): Likewise.
23995 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23996 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23997 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23998 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23999 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24001 (__get_nprocs_conf): Likewise.
24002 (__get_phys_pages): Likewise.
24003 (__get_avphys_pages): Likewise.
24004 * time/clock.c (clock): Likewise.
24005 * time/tzset.c (__tzname_max): Likewise.
24006
240072013-06-07 Joseph Myers <joseph@codesourcery.com>
24008
24009 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24010 (__bswap_32): Do not use "register".
24011 * crypt/crypt.c (_ufc_doit_r): Likewise.
24012 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24013 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24014 * gmon/gmon.c (__monstartup): Likewise.
24015 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24016 * hurd/hurdmalloc.c (more_memory): Likewise.
24017 (malloc): Likewise.
24018 (free): Likewise.
24019 (realloc): Likewise.
24020 (malloc_fork_prepare): Likewise.
24021 (malloc_fork_parent): Likewise.
24022 (malloc_fork_child): Likewise.
24023 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24024 (_svcauth_des): Likewise.
24025 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24026 * inet/inet_net.c (inet_network): Likewise.
24027 * inet/inet_netof.c (inet_netof): Likewise.
24028 * inet/rcmd.c (__validuser2_sa): Likewise.
24029 * io/fts.c (fts_open): Likewise.
24030 (fts_load): Likewise.
24031 (fts_close): Likewise.
24032 (fts_read): Likewise.
24033 (fts_children): Likewise.
24034 (fts_build): Likewise.
24035 (fts_stat): Likewise.
24036 (fts_sort): Likewise.
24037 (fts_alloc): Likewise.
24038 (fts_lfree): Likewise.
24039 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24040 (_IO_file_xsgetn): Likewise.
24041 (_IO_file_xsgetn_mmap): Likewise.
24042 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24043 (_IO_cookie_write): Likewise.
24044 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24045 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24046 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24047 * malloc/obstack.c (_obstack_begin): Likewise.
24048 (_obstack_begin_1): Likewise.
24049 (_obstack_newchunk): Likewise.
24050 (_obstack_allocated_p): Likewise.
24051 (obstack_free): Likewise.
24052 (_obstack_memory_used): Likewise.
24053 * misc/getttyent.c (getttynam): Likewise.
24054 (getttyent): Likewise.
24055 (skip): Likewise.
24056 (value): Likewise.
24057 * misc/getusershell.c (initshells): Likewise.
24058 * misc/syslog.c (__vsyslog_chk): Likewise.
24059 * misc/ttyslot.c (ttyslot): Likewise.
24060 * nis/nis_hash.c (__nis_hash): Likewise.
24061 * posix/fnmatch_loop.c (FCT): Likewise.
24062 * posix/getconf.c (print_all): Likewise.
24063 (main): Likewise.
24064 * posix/getopt.c (exchange): Likewise.
24065 * posix/glob.c (globfree): Likewise.
24066 (prefix_array): Likewise.
24067 (__glob_pattern_type): Likewise.
24068 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24069 (NS_GET32): Likewise.
24070 (NS_PUT16): Likewise.
24071 (NS_PUT32): Likewise.
24072 * resolv/gethnamaddr.c (getanswer): Likewise.
24073 (gethostbyname2): Likewise.
24074 (gethostbyaddr): Likewise.
24075 (_gethtent): Likewise.
24076 (_gethtbyname2): Likewise.
24077 (_gethtbyaddr): Likewise.
24078 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24079 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24080 * resolv/res_init.c (__res_vinit): Likewise.
24081 (net_mask): Likewise.
24082 * resolv/res_mkquery.c (outchar): Likewise.
24083 (PRINT): Likewise.
24084 * stdio-common/printf_fp.c (outchar): Likewise.
24085 (PRINT): Likewise.
24086 * stdio-common/printf_fphex.c (outchar): Likewise.
24087 (PRINT): Likewise.
24088 * stdio-common/printf_size.c (outchar): Likewise.
24089 (PRINT): Likewise.
24090 * stdio-common/test_rdwr.c (main): Likewise.
24091 * stdio-common/tfformat.c (matches): Likewise.
24092 * stdio-common/vfprintf.c (outchar): Likewise.
24093 (printf_unknown): Likewise.
24094 (buffered_vfprintf): Likewise.
24095 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24096 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24097 (ReadFile): Likewise.
24098 * stdlib/qsort.c (SWAP): Likewise.
24099 (_quicksort): Likewise.
24100 * stdlib/setenv.c (__add_to_environ): Likewise.
24101 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24102 * stdlib/strtol_l.c (__strtol_l): Likewise.
24103 * stdlib/tst-strtod.c (main): Likewise.
24104 * stdlib/tst-strtol.c (main): Likewise.
24105 * stdlib/tst-strtoll.c (main): Likewise.
24106 * string/bits/string2.h (__strcmp_cc): Likewise.
24107 (__strcmp_cg): Likewise.
24108 (__strcspn_c1): Likewise.
24109 (__strcspn_c2): Likewise.
24110 (__strcspn_c3): Likewise.
24111 (__strspn_c1): Likewise.
24112 (__strspn_c2): Likewise.
24113 (__strspn_c3): Likewise.
24114 (__strsep_1c): Likewise.
24115 (__strsep_2c): Likewise.
24116 (__strsep_3c): Likewise.
24117 * string/memccpy.c (__memccpy): Likewise.
24118 * string/stpcpy.c (__stpcpy): Likewise.
24119 * string/strcmp.c (strcmp): Likewise.
24120 * string/strrchr.c (strrchr): Likewise.
24121 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24122 Likewise.
24123 * sysdeps/mach/hurd/getcwd.c
24124 (_hurd_canonicalize_directory_name_internal): Likewise.
24125 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24126 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24127 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24128 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24129 Likewise, in both definitions.
24130 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24131 definitions.
24132 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24133 64] (__bswap_64): Likewise.
24134 * time/test_time.c (main): Likewise.
24135 * time/tzfile.c (__tzfile_read): Likewise.
24136 (__tzfile_compute): Likewise.
24137 * time/tzset.c (__tzset_parse_tz): Likewise.
24138 (tzset_internal): Likewise.
24139 (compute_change): Likewise.
24140 * wcsmbs/wcscat.c (__wcscat): Likewise.
24141 * wcsmbs/wcschr.c (wcschr): Likewise.
24142 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24143 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24144 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24145 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24146 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24147 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24148 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24149 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24150 * wcsmbs/wmemset.c (wmemset): Likewise.
24151
241522013-06-06 Joseph Myers <joseph@codesourcery.com>
24153
24154 * scripts/config.guess: Update to version 2013-05-16.
24155 * scripts/config.sub: Update to version 2013-04-24.
24156 * scripts/install-sh: Update to version 2011-11-20.07.
24157 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24158 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24159
241602013-06-06 Ondřej Bílka <neleai@seznam.cz>
24161
24162 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24163 * elf/sln.c: Likewise.
24164 * hurd/hurd/ioctl.h: Likewise.
24165 * hurd/hurdmalloc.c: Likewise.
24166 * hurd/xattr.c: Likewise.
24167 * include/shlib-compat.h: Likewise.
24168 * inet/ruserpass.c: Likewise.
24169 * libio/iofgets_u.c: Likewise.
24170 * libio/iofgetws_u.c: Likewise.
24171 * locale/programs/ld-identification.c: Likewise.
24172 * locale/programs/ld-time.c: Likewise.
24173 * mach/msg-destroy.c: Likewise.
24174 * nss/nss_files/files-netgrp.c: Likewise.
24175 * resolv/res_data.c: Likewise.
24176 * soft-fp/op-1.h: Likewise.
24177 * soft-fp/op-2.h: Likewise.
24178 * soft-fp/op-4.h: Likewise.
24179 * soft-fp/op-common.h: Likewise.
24180 * stdio-common/printf_fphex.c: Likewise.
24181 * stdlib/strtod_l.c: Likewise.
24182 * sunrpc/rpc/clnt.h: Likewise.
24183 * sysdeps/generic/framestate.c: Likewise.
24184 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24185 * sysdeps/i386/bsd-setjmp.S: Likewise.
24186 * sysdeps/i386/__longjmp.S: Likewise.
24187 * sysdeps/i386/setjmp.S: Likewise.
24188 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24189 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24190 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24206 * sysdeps/ieee754/support.c: Likewise.
24207 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24208 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24209 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24210 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24211 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24212 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24213 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24214 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24215 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24216 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24217 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24218 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24219 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24220 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24221 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24222 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24223 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24225
242262013-06-05 Ondřej Bílka <neleai@seznam.cz>
24227
24228 * posix/transbug.c: Remove executable mode.
24229
242302013-06-05 Joseph Myers <joseph@codesourcery.com>
24231
24232 * crypt/speeds.c: Remove trailing whitespace.
24233 * dlfcn/default.c: Likewise.
24234 * elf/ifuncdep2.c: Likewise.
24235 * elf/ifuncmain1.c: Likewise.
24236 * elf/ifuncmain1vis.c: Likewise.
24237 * elf/testobj.h: Likewise.
24238 * elf/tst-stackguard1.c: Likewise.
24239 * gmon/sys/gmon.h: Likewise.
24240 * hurd/hurdmsg.c: Likewise.
24241 * hurd/new-fd.c: Likewise.
24242 * hurd/ports-get.c: Likewise.
24243 * iconvdata/ibm1008_420.c: Likewise.
24244 * inet/tst-getni1.c: Likewise.
24245 * inet/tst-getni2.c: Likewise.
24246 * libio/ioungetc.c: Likewise.
24247 * libio/wfiledoalloc.c: Likewise.
24248 * manual/libm-err-tab.pl: Likewise.
24249 * math/w_dremf.c: Likewise.
24250 * misc/ftruncate.c: Likewise.
24251 * posix/bug-glob2.c: Likewise.
24252 * posix/tst-pcre.c: Likewise.
24253 * posix/wait4.c: Likewise.
24254 * resolv/README: Likewise.
24255 * resolv/res_debug.h: Likewise.
24256 * resolv/tst-inet_ntop.c: Likewise.
24257 * setjmp/bug269-setjmp.c: Likewise.
24258 * soft-fp/extended.h: Likewise.
24259 * soft-fp/op-1.h: Likewise.
24260 * soft-fp/op-2.h: Likewise.
24261 * soft-fp/op-4.h: Likewise.
24262 * soft-fp/op-8.h: Likewise.
24263 * soft-fp/testit.c: Likewise.
24264 * stdio-common/bug16.c: Likewise.
24265 * stdlib/random.c: Likewise.
24266 * sunrpc/rpcsvc/rquota.x: Likewise.
24267 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24268 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24270 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24271 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24272 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24273 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24274 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24275 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24276 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24277 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24294 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24296 * sysdeps/ieee754/s_lib_version.c: Likewise.
24297 * sysdeps/mach/hurd/check_fds.c: Likewise.
24298 * sysdeps/mach/hurd/getsockname.c: Likewise.
24299 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24300 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24301 * sysdeps/powerpc/bits/link.h: Likewise.
24302 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24303 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24304 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24305 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24306 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24307 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24308 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24309 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24310 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24311 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24312 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24313 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24314 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24315 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24316 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24317 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24318 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24319 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24320 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24321 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24323 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24324 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24325 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24326 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24327 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24328 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24329 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24330 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24331 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24332 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24333 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24334 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24336 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24337 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24338 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24339 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24340 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24341 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24342 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24343 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24344 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24345 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24346 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24347 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24348 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24349 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24350 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24351 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24352 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24353 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24354 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24355 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24356 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24357 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24358 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24359 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24360 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24361 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24362 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24363 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24364 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24365 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24366 * sysdeps/powerpc/sysdep.h: Likewise.
24367 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24368 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24369 * sysdeps/sh/dl-trampoline.S: Likewise.
24370 * sysdeps/sh/memset.S: Likewise.
24371 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24372 * sysdeps/sh/strlen.S: Likewise.
24373 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24374 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24375 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24376 * sysdeps/sparc/sparc32/rem.S: Likewise.
24377 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24378 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24379 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24380 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24381 * sysdeps/sparc/sparc32/urem.S: Likewise.
24382 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24383 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24384 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24385 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24386 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24387 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24388 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24389 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24390 * sysdeps/unix/bsd/times.c: Likewise.
24391 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24392 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24396 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24397 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24398 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24399 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24400 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24401 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24402 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24403 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24404 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24405 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24406 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24407 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24408 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24409 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24410 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24411 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24412 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24413 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24414 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24415 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24416 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24417 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24418 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24419 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24420 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24421 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24422 * sysdeps/x86_64/strcspn.S: Likewise.
24423
244242013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24425
24426 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24427 generated file. Regenerate properly from gen-translit.pl.
24428 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24429 locale/C-translit.h.
24430
244312013-06-05 Andreas Schwab <schwab@suse.de>
24432
24433 [BZ #15100]
24434 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24435 week as 6 instead of -1.
24436 * time/tst-strptime.c (day_tests): Add test case.
24437
244382013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24439
24440 * sysdeps/generic/math_private.h
24441 (libc_feholdexcept_setround_53bit): Replace with
24442 libc_feholdsetround_53bit.
24443 (libc_feupdateenv_53bit): Replace with
24444 libc_feresetround_53bit.
24445 (SET_RESTORE_ROUND_53BIT): Adjust.
24446
244472013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24448
24449 * string/test-strchrnul.c: Add copyright header.
24450
24451 * posix/tst-getaddrinfo4.c: Increase test timeout.
24452
244532013-06-03 Carlos O'Donell <carlos@redhat.com>
24454
24455 [BZ #15536]
24456 * math/libm-test.inc (MAX_EXP): Remove
24457 (MIN_EXP): Define.
24458 (ulp): Use MIN_EXP - MANT_DIG.
24459 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24460
244612013-05-31 Carlos O'Donell <carlos@redhat.com>
24462
24463 * po/be.po: Revert last change.
24464 * po/zh_CN.po: Likewise.
24465 * po/header.pot: Likewise.
24466
244672013-05-31 Joseph Myers <joseph@codesourcery.com>
24468
24469 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24470 link-libc-deps to empty as target-specific variable.
24471 * Makerules (link-libc-args): New variable.
24472 (libc-for-link): Likewise.
24473 (link-libc-deps): Likewise.
24474 (lib%.so): Depend on $(link-libc-deps). Link with
24475 $(link-libc-args).
24476 (build-module): Link with $(link-libc-args).
24477 (build-module-asneeded): Likewise.
24478 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24479 list of objects.
24480 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24481 target-specific variable.
24482 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24483 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24484 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24485 libc.
24486 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24487 libc and ld.so.
24488 ($(objpfx)libpcprofile.so): Likewise.
24489 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24490 libc_nonshared.a.
24491 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24492 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24493 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24494 $(link-libc-deps).
24495 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24496 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24497 * login/Makefile ($(objpfx)libutil.so): Likewise.
24498 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24499 * math/Makefile ($(objpfx)libm.so): Likewise.
24500 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24501 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24502 variable instead of depending directly on libc.
24503 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24504 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24505 $(link-libc-deps).
24506 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24507 libc.
24508 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24509 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24510 ($(objpfx)libanl.so): Likewise.
24511 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24512 ld.so.
24513 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24514 $(link-libc-deps).
24515 * sysdeps/i386/fpu/Makefile: Remove file.
24516 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24517 ($(objpfx)libm.so): Remove dependency on ld.so.
24518
245192013-05-30 Patsy Franklin <pfrankli@redhat.com>
24520
24521 [BZ # 15553]
24522 * nis/yp_xdr.c (XDRMAXNAME): Define.
24523 (XDRMAXRECORD): Define.
24524 (xdr_domainname): Use XDRMAXNAME.
24525 (xdr_mapname): Likewise.
24526 (xdr_peername): Likewise.
24527 (xdr_keydat): Use XDRMAXRECORD.
24528 (xdr_valdat): Likewise.
24529
245302013-05-30 Jeff Law <law@redhat.com>
24531
24532 [BZ #14256]
24533 * manual/errno.texi (ESTALE): Update to account for more than
24534 just NFS file systems.
24535 * sysdeps/gnu/errlist.c: Regenerated.
24536
245372013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24538
24539 [BZ #15465]
24540 * elf/Makefile (tests): Add tst-null-argv.
24541 (modules-names): Add tst-null-argv-lib.
24542 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24543 (tst-null-argv-ENV): Set environment for tst-null-argv.
24544 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24545 (RTLD_PROGNAME): New macro.
24546 * elf/tst-null-argv.c: New test case.
24547 * elf/tst-null-argv-lib.c: Library for test case.
24548 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24549 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24550 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24551 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24552 * elf/dl-init.c (call_init): Likewise.
24553 (_dl_init): Likewise.
24554 * elf/dl-load.c (print_search_path): Likewise.
24555 (_dl_map_object): Likewise.
24556 * elf/dl-lookup.c (do_lookup_x): Likewise.
24557 (add_dependency): Likewise.
24558 (_dl_lookup_symbol_x): Likewise.
24559 (_dl_debug_bindings): Likewise.
24560 * elf/dl-open.c (_dl_show_scope): Likewise.
24561 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24562 * elf/dl-version.c (match_symbol): Likewise.
24563 (_dl_check_map_versions): Likewise.
24564 * elf/rtld.c (dl_main): Likewise.
24565 (print_unresolved): Use RTLD_PROGNAME.
24566 (print_missing_version): Likewise.
24567 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24568 (elf_machine_rela): Likewise.
24569 * sysdeps/powerpc/powerpc32/dl-machine.c
24570 (__process_machine_rela): Likewise.
24571 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24572 Likewise.
24573 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24574 Likewise.
24575 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24576 Likewise.
24577 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24578 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24579 Likewise.
24580 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24581 Likewise.
24582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24583
245842013-05-28 Carlos O'Donell <carlos@redhat.com>
24585
24586 * po/be.po: Add descriptive title.
24587 * po/zh_CN.po: Likewise.
24588 * po/header.pot: Likewise.
24589
245902013-05-28 Mike Frysinger <vapier@gentoo.org>
24591
24592 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24593 error message.
24594 (enlarge_archive): Likewise.
24595
245962013-05-28 Ben North <ben@redfrontdoor.org>
24597
24598 * manual/arith.texi (frexp): It is the magnitude of the return
24599 value which lies in [0.5, 1), not the return value itself.
24600
246012013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24602
24603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24604
246052013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24606
24607 * stdio-common/bug26.c (main): Correct fscanf template.
24608
24609 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24610 declare _dl_skip_args.
24611
24612 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24613 Don't declare.
24614
24615 * manual/platform.texi: Add missing @end deftypefun.
24616
246172013-05-24 Joseph Myers <joseph@codesourcery.com>
24618
24619 [BZ #15529]
24620 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24621 bit of mantissa of 2^16382.
24622 * math/libm-test.inc (hypot_test_data): Add more tests.
24623
24624 * math/libm-test.inc: Add drem and pow10 to list of tested
24625 functions.
24626 (pow10_test): New function.
24627 (drem_test): Likewise.
24628 (drem_test_tonearest): Likewise.
24629 (drem_test_towardzero): Likewise.
24630 (drem_test_downward): Likewise.
24631 (drem_test_upward): Likewise.
24632 (main): Call the new functions.
24633
24634 * math/libm-test.inc (finite_test_data): Remove.
24635 (finite_test): Run tests from isfinite_test_data.
24636 (gamma_test_data): Remove.
24637 (gamma_test): Run tests from lgamma_test_data.
24638 * sysdeps/i386/fpu/libm-test-ulps: Update.
24639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24640
246412013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24642
24643 * manual/platform.texi: Add PowerPC PPR function set documentation.
24644 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24645 implementation.
24646
246472013-05-24 Carlos O'Donell <carlos@redhat.com>
24648
24649 * math/libm-test.inc (MAX_EXP): Define.
24650 (ULPDIFF): Define.
24651 (ulp): New function.
24652 (check_float_internal): Use ULPDIFF.
24653 (cpow_test): Disable failing test.
24654 (check_ulp): Test ulp() implemetnation.
24655 (main): Call check_ulp before starting tests.
24656
246572013-05-24 Joseph Myers <joseph@codesourcery.com>
24658
24659 * math/gen-libm-test.pl (generate_testfile): Do not handle
24660 START_DATA and END_DATA.
24661 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24662 END_DATA.
24663 (acos_tonearest_test_data): Likewise.
24664 (acos_towardzero_test_data): Likewise.
24665 (acos_downward_test_data): Likewise.
24666 (acos_upward_test_data): Likewise.
24667 (acosh_test_data): Likewise.
24668 (asin_test_data): Likewise.
24669 (asin_tonearest_test_data): Likewise.
24670 (asin_towardzero_test_data): Likewise.
24671 (asin_downward_test_data): Likewise.
24672 (asin_upward_test_data): Likewise.
24673 (asinh_test_data): Likewise.
24674 (atan_test_data): Likewise.
24675 (atanh_test_data): Likewise.
24676 (atan2_test_data): Likewise.
24677 (cabs_test_data): Likewise.
24678 (cacos_test_data): Likewise.
24679 (cacosh_test_data): Likewise.
24680 (carg_test_data): Likewise.
24681 (casin_test_data): Likewise.
24682 (casinh_test_data): Likewise.
24683 (catan_test_data): Likewise.
24684 (catanh_test_data): Likewise.
24685 (cbrt_test_data): Likewise.
24686 (ccos_test_data): Likewise.
24687 (ccosh_test_data): Likewise.
24688 (ceil_test_data): Likewise.
24689 (cexp_test_data): Likewise.
24690 (cimag_test_data): Likewise.
24691 (clog_test_data): Likewise.
24692 (clog10_test_data): Likewise.
24693 (conj_test_data): Likewise.
24694 (copysign_test_data): Likewise.
24695 (cos_test_data): Likewise.
24696 (cos_tonearest_test_data): Likewise.
24697 (cos_towardzero_test_data): Likewise.
24698 (cos_downward_test_data): Likewise.
24699 (cos_upward_test_data): Likewise.
24700 (cosh_test_data): Likewise.
24701 (cosh_tonearest_test_data): Likewise.
24702 (cosh_towardzero_test_data): Likewise.
24703 (cosh_downward_test_data): Likewise.
24704 (cosh_upward_test_data): Likewise.
24705 (cpow_test_data): Likewise.
24706 (cproj_test_data): Likewise.
24707 (creal_test_data): Likewise.
24708 (csin_test_data): Likewise.
24709 (csinh_test_data): Likewise.
24710 (csqrt_test_data): Likewise.
24711 (ctan_test_data): Likewise.
24712 (ctan_tonearest_test_data): Likewise.
24713 (ctan_towardzero_test_data): Likewise.
24714 (ctan_downward_test_data): Likewise.
24715 (ctan_upward_test_data): Likewise.
24716 (ctanh_test_data): Likewise.
24717 (ctanh_tonearest_test_data): Likewise.
24718 (ctanh_towardzero_test_data): Likewise.
24719 (ctanh_downward_test_data): Likewise.
24720 (ctanh_upward_test_data): Likewise.
24721 (erf_test_data): Likewise.
24722 (erfc_test_data): Likewise.
24723 (exp_test_data): Likewise.
24724 (exp_tonearest_test_data): Likewise.
24725 (exp_towardzero_test_data): Likewise.
24726 (exp_downward_test_data): Likewise.
24727 (exp_upward_test_data): Likewise.
24728 (exp10_test_data): Likewise.
24729 (exp2_test_data): Likewise.
24730 (expm1_test_data): Likewise.
24731 (fabs_test_data): Likewise.
24732 (fdim_test_data): Likewise.
24733 (finite_test_data): Likewise.
24734 (floor_test_data): Likewise.
24735 (fma_test_data): Likewise.
24736 (fma_towardzero_test_data): Likewise.
24737 (fma_downward_test_data): Likewise.
24738 (fma_upward_test_data): Likewise.
24739 (fmax_test_data): Likewise.
24740 (fmin_test_data): Likewise.
24741 (fmod_test_data): Likewise.
24742 (fpclassify_test_data): Likewise.
24743 (frexp_test_data): Likewise.
24744 (gamma_test_data): Likewise.
24745 (hypot_test_data): Likewise.
24746 (ilogb_test_data): Likewise.
24747 (isfinite_test_data): Likewise.
24748 (isgreater_test_data): Likewise.
24749 (isgreaterequal_test_data): Likewise.
24750 (isinf_test_data): Likewise.
24751 (isless_test_data): Likewise.
24752 (islessequal_test_data): Likewise.
24753 (islessgreater_test_data): Likewise.
24754 (isnan_test_data): Likewise.
24755 (isnormal_test_data): Likewise.
24756 (issignaling_test_data): Likewise.
24757 (isunordered_test_data): Likewise.
24758 (j0_test_data): Likewise.
24759 (j1_test_data): Likewise.
24760 (jn_test_data): Likewise.
24761 (ldexp_test_data): Likewise.
24762 (lgamma_test_data): Likewise.
24763 (lrint_test_data): Likewise.
24764 (lrint_tonearest_test_data): Likewise.
24765 (lrint_towardzero_test_data): Likewise.
24766 (lrint_downward_test_data): Likewise.
24767 (lrint_upward_test_data): Likewise.
24768 (llrint_test_data): Likewise.
24769 (llrint_tonearest_test_data): Likewise.
24770 (llrint_towardzero_test_data): Likewise.
24771 (llrint_downward_test_data): Likewise.
24772 (llrint_upward_test_data): Likewise.
24773 (log_test_data): Likewise.
24774 (log10_test_data): Likewise.
24775 (log1p_test_data): Likewise.
24776 (log2_test_data): Likewise.
24777 (logb_test_data): Likewise.
24778 (logb_downward_test_data): Likewise.
24779 (lround_test_data): Likewise.
24780 (llround_test_data): Likewise.
24781 (modf_test_data): Likewise.
24782 (nearbyint_test_data): Likewise.
24783 (nextafter_test_data): Likewise.
24784 (nexttoward_test_data): Likewise.
24785 (pow_test_data): Likewise.
24786 (pow_tonearest_test_data): Likewise.
24787 (pow_towardzero_test_data): Likewise.
24788 (pow_downward_test_data): Likewise.
24789 (pow_upward_test_data): Likewise.
24790 (remainder_test_data): Likewise.
24791 (remainder_tonearest_test_data): Likewise.
24792 (remainder_towardzero_test_data): Likewise.
24793 (remainder_downward_test_data): Likewise.
24794 (remainder_upward_test_data): Likewise.
24795 (remquo_test_data): Likewise.
24796 (rint_test_data): Likewise.
24797 (rint_tonearest_test_data): Likewise.
24798 (rint_towardzero_test_data): Likewise.
24799 (rint_downward_test_data): Likewise.
24800 (rint_upward_test_data): Likewise.
24801 (round_test_data): Likewise.
24802 (scalb_test_data): Likewise.
24803 (scalbn_test_data): Likewise.
24804 (scalbln_test_data): Likewise.
24805 (signbit_test_data): Likewise.
24806 (sin_test_data): Likewise.
24807 (sin_tonearest_test_data): Likewise.
24808 (sin_towardzero_test_data): Likewise.
24809 (sin_downward_test_data): Likewise.
24810 (sin_upward_test_data): Likewise.
24811 (sincos_test_data): Likewise.
24812 (sinh_test_data): Likewise.
24813 (sinh_tonearest_test_data): Likewise.
24814 (sinh_towardzero_test_data): Likewise.
24815 (sinh_downward_test_data): Likewise.
24816 (sinh_upward_test_data): Likewise.
24817 (sqrt_test_data): Likewise.
24818 (tan_test_data): Likewise.
24819 (tan_tonearest_test_data): Likewise.
24820 (tan_towardzero_test_data): Likewise.
24821 (tan_downward_test_data): Likewise.
24822 (tan_upward_test_data): Likewise.
24823 (tanh_test_data): Likewise.
24824 (tgamma_test_data): Likewise.
24825 (trunc_test_data): Likewise.
24826 (y0_test_data): Likewise.
24827 (y1_test_data): Likewise.
24828 (yn_test_data): Likewise.
24829 (significand_test_data): Likewise.
24830
24831 * math/gen-libm-test.pl (@functions): Remove variable.
24832 (generate_testfile): Don't handle START and END lines.
24833 * math/libm-test.inc (START): New macro.
24834 (END): Likewise.
24835 (END_COMPLEX): Likewise.
24836 (acos_test): Use END macro without arguments.
24837 (acos_test_tonearest): Likewise.
24838 (acos_test_towardzero): Likewise.
24839 (acos_test_downward): Likewise.
24840 (acos_test_upward): Likewise.
24841 (acosh_test): Likewise.
24842 (asin_test): Likewise.
24843 (asin_test_tonearest): Likewise.
24844 (asin_test_towardzero): Likewise.
24845 (asin_test_downward): Likewise.
24846 (asin_test_upward): Likewise.
24847 (asinh_test): Likewise.
24848 (atan_test): Likewise.
24849 (atanh_test): Likewise.
24850 (atan2_test): Likewise.
24851 (cabs_test): Likewise.
24852 (cacos_test): Use END_COMPLEX macro without arguments.
24853 (cacosh_test): Likewise.
24854 (carg_test): Use END macro without arguments.
24855 (casin_test): Use END_COMPLEX macro without arguments.
24856 (casinh_test): Likewise.
24857 (catan_test): Likewise.
24858 (catanh_test): Likewise.
24859 (cbrt_test): Use END macro without arguments.
24860 (ccos_test): Use END_COMPLEX macro without arguments.
24861 (ccosh_test): Likewise.
24862 (ceil_test): Use END macro without arguments.
24863 (cexp_test): Use END_COMPLEX macro without arguments.
24864 (cimag_test): Use END macro without arguments.
24865 (clog_test): Use END_COMPLEX macro without arguments.
24866 (clog10_test): Likewise.
24867 (conj_test): Likewise.
24868 (copysign_test): Use END macro without arguments.
24869 (cos_test): Likewise.
24870 (cos_test_tonearest): Likewise.
24871 (cos_test_towardzero): Likewise.
24872 (cos_test_downward): Likewise.
24873 (cos_test_upward): Likewise.
24874 (cosh_test): Likewise.
24875 (cosh_test_tonearest): Likewise.
24876 (cosh_test_towardzero): Likewise.
24877 (cosh_test_downward): Likewise.
24878 (cosh_test_upward): Likewise.
24879 (cpow_test): Use END_COMPLEX macro without arguments.
24880 (cproj_test): Likewise.
24881 (creal_test): Use END macro without arguments.
24882 (csin_test): Use END_COMPLEX macro without arguments.
24883 (csinh_test): Likewise.
24884 (csqrt_test): Likewise.
24885 (ctan_test): Likewise.
24886 (ctan_test_tonearest): Likewise.
24887 (ctan_test_towardzero): Likewise.
24888 (ctan_test_downward): Likewise.
24889 (ctan_test_upward): Likewise.
24890 (ctanh_test): Likewise.
24891 (ctanh_test_tonearest): Likewise.
24892 (ctanh_test_towardzero): Likewise.
24893 (ctanh_test_downward): Likewise.
24894 (ctanh_test_upward): Likewise.
24895 (erf_test): Use END macro without arguments.
24896 (erfc_test): Likewise.
24897 (exp_test): Likewise.
24898 (exp_test_tonearest): Likewise.
24899 (exp_test_towardzero): Likewise.
24900 (exp_test_downward): Likewise.
24901 (exp_test_upward): Likewise.
24902 (exp10_test): Likewise.
24903 (exp2_test): Likewise.
24904 (expm1_test): Likewise.
24905 (fabs_test): Likewise.
24906 (fdim_test): Likewise.
24907 (finite_test): Likewise.
24908 (floor_test): Likewise.
24909 (fma_test): Likewise.
24910 (fma_test_towardzero): Likewise.
24911 (fma_test_downward): Likewise.
24912 (fma_test_upward): Likewise.
24913 (fmax_test): Likewise.
24914 (fmin_test): Likewise.
24915 (fmod_test): Likewise.
24916 (fpclassify_test): Likewise.
24917 (frexp_test): Likewise.
24918 (gamma_test): Likewise.
24919 (hypot_test): Likewise.
24920 (ilogb_test): Likewise.
24921 (isfinite_test): Likewise.
24922 (isgreater_test): Likewise.
24923 (isgreaterequal_test): Likewise.
24924 (isinf_test): Likewise.
24925 (isless_test): Likewise.
24926 (islessequal_test): Likewise.
24927 (islessgreater_test): Likewise.
24928 (isnan_test): Likewise.
24929 (isnormal_test): Likewise.
24930 (issignaling_test): Likewise.
24931 (isunordered_test): Likewise.
24932 (j0_test): Likewise.
24933 (j1_test): Likewise.
24934 (jn_test): Likewise.
24935 (ldexp_test): Likewise.
24936 (lgamma_test): Likewise.
24937 (lrint_test): Likewise.
24938 (lrint_test_tonearest): Likewise.
24939 (lrint_test_towardzero): Likewise.
24940 (lrint_test_downward): Likewise.
24941 (lrint_test_upward): Likewise.
24942 (llrint_test): Likewise.
24943 (llrint_test_tonearest): Likewise.
24944 (llrint_test_towardzero): Likewise.
24945 (llrint_test_downward): Likewise.
24946 (llrint_test_upward): Likewise.
24947 (log_test): Likewise.
24948 (log10_test): Likewise.
24949 (log1p_test): Likewise.
24950 (log2_test): Likewise.
24951 (logb_test): Likewise.
24952 (logb_test_downward): Likewise.
24953 (lround_test): Likewise.
24954 (llround_test): Likewise.
24955 (modf_test): Likewise.
24956 (nearbyint_test): Likewise.
24957 (nextafter_test): Likewise.
24958 (nexttoward_test): Likewise.
24959 (pow_test): Likewise.
24960 (pow_test_tonearest): Likewise.
24961 (pow_test_towardzero): Likewise.
24962 (pow_test_downward): Likewise.
24963 (pow_test_upward): Likewise.
24964 (remainder_test): Likewise.
24965 (remainder_test_tonearest): Likewise.
24966 (remainder_test_towardzero): Likewise.
24967 (remainder_test_downward): Likewise.
24968 (remainder_test_upward): Likewise.
24969 (remquo_test): Likewise.
24970 (rint_test): Likewise.
24971 (rint_test_tonearest): Likewise.
24972 (rint_test_towardzero): Likewise.
24973 (rint_test_downward): Likewise.
24974 (rint_test_upward): Likewise.
24975 (round_test): Likewise.
24976 (scalb_test): Likewise.
24977 (scalbn_test): Likewise.
24978 (scalbln_test): Likewise.
24979 (signbit_test): Likewise.
24980 (sin_test): Likewise.
24981 (sin_test_tonearest): Likewise.
24982 (sin_test_towardzero): Likewise.
24983 (sin_test_downward): Likewise.
24984 (sin_test_upward): Likewise.
24985 (sincos_test): Likewise.
24986 (sinh_test): Likewise.
24987 (sinh_test_tonearest): Likewise.
24988 (sinh_test_towardzero): Likewise.
24989 (sinh_test_downward): Likewise.
24990 (sinh_test_upward): Likewise.
24991 (sqrt_test): Likewise.
24992 (tan_test): Likewise.
24993 (tan_test_tonearest): Likewise.
24994 (tan_test_towardzero): Likewise.
24995 (tan_test_downward): Likewise.
24996 (tan_test_upward): Likewise.
24997 (tanh_test): Likewise.
24998 (tgamma_test): Likewise.
24999 (trunc_test): Likewise.
25000 (y0_test): Likewise.
25001 (y1_test): Likewise.
25002 (yn_test): Likewise.
25003 (significand_test): Likewise.
25004
250052013-05-24 Ondřej Bílka <neleai@seznam.cz>
25006
25007 [BZ #15381]
25008 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25009
250102013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25011
25012 [BZ #14894]
25013 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25014 __ppc_mdoio and __ppc_mdoom.
25015 * manual/platform.texi: Document new functions __ppc_yield,
25016 __ppc_mdoio and __ppc_mdoom.
25017
250182013-05-22 Carlos O'Donell <carlos@redhat.com>
25019
25020 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25021 (main): Mention "tls" pseudo-hwcap is legacy.
25022 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25023
250242013-05-22 Joseph Myers <joseph@codesourcery.com>
25025
25026 * math/gen-libm-test.pl (parse_args): Output only string of
25027 arguments as text for test name, not full call or descriptions of
25028 tests for extra outputs.
25029 (generate_testfile): Do not pass function name to parse_args.
25030 Generate this_func variable from START.
25031 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25032 field to arg_str.
25033 (struct test_ff_f_data): Likewise.
25034 (test_ff_f_data_nexttoward): Likewise.
25035 (struct test_fi_f_data): Likewise.
25036 (struct test_fl_f_data): Likewise.
25037 (struct test_if_f_data): Likewise.
25038 (struct test_fff_f_data): Likewise.
25039 (struct test_c_f_data): Likewise.
25040 (struct test_f_f1_data): Likewise. Remove field extra_name.
25041 (struct test_fF_f1_data): Likewise.
25042 (struct test_ffI_f1_data): Likewise.
25043 (struct test_c_c_data): Rename test_name field to arg_str.
25044 (struct test_cc_c_data): Likewise.
25045 (struct test_f_i_data): Likewise.
25046 (struct test_ff_i_data): Likewise.
25047 (struct test_f_l_data): Likewise.
25048 (struct test_f_L_data): Likewise.
25049 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25050 and extra2_name.
25051 (COMMON_TEST_SETUP): New macro.
25052 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25053 (COMMON_TEST_CLEANUP): Likewise.
25054 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25055 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25056 macros.
25057 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25058 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25059 macros.
25060 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25061 (RUN_TEST_fff_f): Take argument string. Call new setup and
25062 cleanup macros.
25063 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25064 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25065 macros.
25066 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25067 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25068 macros.
25069 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25070 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25071 cleanup macros.
25072 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25073 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25074 cleanup macros.
25075 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25076 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25077 cleanup macros.
25078 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25079 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25080 macros.
25081 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25082 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25083 macros.
25084 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25085 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25086 macros.
25087 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25088 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25089 cleanup macros.
25090 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25091 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25092 cleanup macros.
25093 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25094 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25095 macros.
25096 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25097 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25098 cleanup macros.
25099 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25100 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25101 macros.
25102 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25103 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25104 macros.
25105 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25106 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25107 cleanup macros.
25108 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25109
251102013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25111
25112 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25113 to _sifields.sigfault.
25114 (si_addr_lsb): Define new macro.
25115 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25117 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25118
251192013-05-03 Carlos O'Donell <carlos at redhat.com>
25120
25121 [BZ #15441]
25122 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25123 returns -1.
25124 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25125 null return -1.
25126 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25127 loading the domain.
25128
251292013-05-22 Joseph Myers <joseph@codesourcery.com>
25130
25131 * math/gen-libm-test.pl (parse_args): Do not include expected
25132 result in test name.
25133 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25134 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25135 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25136 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25137 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25139
251402013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25141
25142 * benchtests/Makefile: Sort function entries.
25143
25144 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25145 tanh, asinh, acosh, atanh.
25146 * benchtests/acos-inputs: New file.
25147 * benchtests/acosh-inputs: New file.
25148 * benchtests/asin-inputs: New file.
25149 * benchtests/asinh-inputs: New file.
25150 * benchtests/atanh-inputs: New file.
25151 * benchtests/cosh-inputs: New file.
25152 * benchtests/log-inputs: New file.
25153 * benchtests/sinh-inputs: New file.
25154 * benchtests/tanh-inputs: New file.
25155
251562013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25157
25158 [BZ #15339]
25159 * posix/tst-getaddrinfo4.c: New test.
25160 * posix/Makefile (tests): Add it.
25161
251622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25163
25164 [BZ #15339]
25165 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25166 when no services were used.
25167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25168 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25169
251702013-05-21 Andreas Schwab <schwab@suse.de>
25171
25172 [BZ #15014]
25173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25174 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25175 successful.
25176 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25177 redundant variable declarations and reallocation of buffer when
25178 parsing as IPv6 address. Always set NSS status when called from
25179 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25180 buffer too small. Correct computation of needed size.
25181 * nss/Makefile (tests): Add test-digits-dots.
25182 * nss/test-digits-dots.c: New test.
25183
251842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25185
25186 * benchtests/Makefile: Remove instructions for adding
25187 benchmark tests.
25188 * benchtests/README: New file to explain how to execute and
25189 enhance the benchmark tests.
25190
251912013-05-21 Andreas Schwab <schwab@suse.de>
25192
25193 [BZ #15493]
25194 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25195 * setjmp/tst-sigsetjmp.c: New test.
25196
251972013-05-20 Ondřej Bílka <neleai@seznam.cz>
25198
25199 * sysdeps/x86_64/memset.S (memset): New implementation.
25200 (__bzero): Likewise.
25201 (__memset_tail): New function.
25202
252032013-05-20 Ondřej Bílka <neleai@seznam.cz>
25204
25205 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25206 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25207 __memcpy_sse2_unaligned ifunc selection.
25208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25209 Add memcpy-sse2-unaligned.S.
25210 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25211 Add: __memcpy_sse2_unaligned.
25212
252132013-05-19 Joseph Myers <joseph@codesourcery.com>
25214
25215 [BZ #15490]
25216 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25217 math_force_eval before restoring floating-point envrionment.
25218 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25220 Likewise.
25221 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25222 <math_private.h>.
25223 (__nearbyintl): Use math_force_eval before restoring
25224 floating-point environment.
25225 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25226
25227 * math/gen-libm-test.pl (special_functions): Remove.
25228 (parse_args): Don't handle TEST_extra. Handle functions with no
25229 return value.
25230 * math/libm-test.inc (struct test_sincos_data): Replace with
25231 struct test_fFF_11_data.
25232 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25233 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25234 (sincos_test_data): Change element type to struct
25235 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25236 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25237 RUN_TEST_LOOP_sincos.
25238 * math/README.libm-test: Don't mention special handling of
25239 individual functions.
25240 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25241 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25242 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25243 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25246
25247 * math/gen-libm-test.pl (get_variable): Remove function.
25248 (parse_args): Don't show pointer parameters to call in test
25249 names. Use "extra output N" in test names for extra outputs
25250 rather than naming variables.
25251
252522013-05-18 Joseph Myers <joseph@codesourcery.com>
25253
25254 [BZ #15488]
25255 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25256 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25257 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25258 double tests.
25259 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25260 disable.
25261 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25262 check_long_double.
25263
25264 * math/gen-libm-test.pl (@tests): Remove variable.
25265 ($count): Likewise.
25266 (new_test): Remove function.
25267 (show_exceptions): New function.
25268 (special_functions): Use show_exceptions instead of new_test.
25269 (parse_args): Likewise.
25270 (generate_testfile): Pass only function name in generated call to
25271 print_max_error or print_complex_max_error.
25272 (get_ulps): Do not handle complex tests specially.
25273 (output_test): Rename to ...
25274 (get_all_ulps_for_test): ... this. Return a string rather than
25275 printing to a file. Require ulps to be present.
25276 (output_ulps): Generate arrays rather than #defines.
25277 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25278 (struct ulp_data): New type.
25279 (BUILD_COMPLEX_ULP): Remove macro.
25280 (compare_ulp_data): New function.
25281 (find_ulps): Likewise.
25282 (find_test_ulps): Likewise.
25283 (find_function_ulps): Likewise.
25284 (find_complex_function_ulps): Likewise.
25285 (print_max_error): Determine allowed ulps using
25286 find_function_ulps.
25287 (print_complex_max_error): Determine allowed ulps using
25288 find_complex_function_ulps.
25289 (check_float_internal): Determine max ulps using find_test_ulps.
25290 (check_float): Do not take max_ulp parameter. Update call to
25291 check_float_internal.
25292 (check_complex): Likewise.
25293 (check_int): Do not take max_ulp parameter.
25294 (check_long): Likewise.
25295 (check_bool): Likewise.
25296 (check_longlong): Likewise.
25297 (struct test_f_f_data): Remove max_ulp field.
25298 (struct test_ff_f_data): Likewise.
25299 (struct test_ff_f_data_nexttoward): Likewise.
25300 (struct test_fi_f_data): Likewise.
25301 (struct test_fl_f_data): Likewise.
25302 (struct test_if_f_data): Likewise.
25303 (struct test_fff_f_data): Likewise.
25304 (struct test_c_f_data): Likewise.
25305 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25306 (struct test_fF_f1_data): Likewise.
25307 (struct test_ffI_f1_data): Likewise.
25308 (struct test_c_c_data): Remove max_ulp field.
25309 (struct test_cc_c_data): Likewise.
25310 (struct test_f_i_data): Likewise.
25311 (struct test_ff_i_data): Likewise.
25312 (struct test_f_l_data): Likewise.
25313 (struct test_f_L_data): Likewise.
25314 (struct test_sincos_data): Likewise.
25315 (RUN_TEST_f_f): Do not handle ulps.
25316 (RUN_TEST_LOOP_f_f): Likewise.
25317 (RUN_TEST_2_f): Likewise.
25318 (RUN_TEST_LOOP_2_f): Likewise.
25319 (RUN_TEST_fff_f): Likewise.
25320 (RUN_TEST_LOOP_fff_f): Likewise.
25321 (RUN_TEST_c_f): Likewise.
25322 (RUN_TEST_LOOP_c_f): Likewise.
25323 (RUN_TEST_f_f1): Likewise.
25324 (RUN_TEST_LOOP_f_f1): Likewise.
25325 (RUN_TEST_fF_f1): Likewise.
25326 (RUN_TEST_LOOP_fF_f1): Likewise.
25327 (RUN_TEST_fI_f1): Likewise.
25328 (RUN_TEST_LOOP_fI_f1): Likewise.
25329 (RUN_TEST_ffI_f1): Likewise.
25330 (RUN_TEST_LOOP_ffI_f1): Likewise.
25331 (RUN_TEST_c_c): Likewise.
25332 (RUN_TEST_LOOP_c_c): Likewise.
25333 (RUN_TEST_cc_c): Likewise.
25334 (RUN_TEST_LOOP_cc_c): Likewise.
25335 (RUN_TEST_f_i): Likewise.
25336 (RUN_TEST_LOOP_f_i): Likewise.
25337 (RUN_TEST_f_i_tg): Likewise.
25338 (RUN_TEST_LOOP_f_i_tg): Likewise.
25339 (RUN_TEST_ff_i_tg): Likewise.
25340 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25341 (RUN_TEST_f_b): Likewise.
25342 (RUN_TEST_LOOP_f_b): Likewise.
25343 (RUN_TEST_f_b_tg): Likewise.
25344 (RUN_TEST_LOOP_f_b_tg): Likewise.
25345 (RUN_TEST_f_l): Likewise.
25346 (RUN_TEST_LOOP_f_l): Likewise.
25347 (RUN_TEST_f_L): Likewise.
25348 (RUN_TEST_LOOP_f_L): Likewise.
25349 (RUN_TEST_sincos): Likewise.
25350 (RUN_TEST_LOOP_sincos): Likewise.
25351
253522013-05-17 Joseph Myers <joseph@codesourcery.com>
25353
25354 [BZ #15480]
25355 [BZ #15485]
25356 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25357 main case of finite arguments, set rounding mode to FE_TONEAREST
25358 and discard exceptions.
25359 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25360 exceptions.
25361 (remainder_tonearest_test_data): New variable.
25362 (remainder_test_tonearest): New function.
25363 (remainder_towardzero_test_data): New variable.
25364 (remainder_test_towardzero): New function.
25365 (remainder_downward_test_data): New variable.
25366 (remainder_test_downward): New function.
25367 (remainder_upward_test_data): New variable.
25368 (remainder_test_upward): New function.
25369 (main): Call the new test functions.
25370
25371 * math/libm-test.inc (struct test_f_f1_data): Remove field
25372 extra_init.
25373 (struct test_fF_f1_data): Likewise.
25374 (struct test_ffI_f1_data): Likewise.
25375 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25376 based on value of EXTRA_EXPECTED.
25377 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25378 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25379 EXTRA_VAR based on value of EXTRA_EXPECTED.
25380 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25381 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25382 EXTRA_VAR based on value of EXTRA_EXPECTED.
25383 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25384 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25385 EXTRA_VAR based on value of EXTRA_EXPECTED.
25386 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25387 * math/gen-libm-test.pl (parse_args): Don't output initializers
25388 for extra output values.
25389
25390 * math/libm-test.inc (check_int): Expect result to be exactly
25391 equal to expected value and do not handle ulps.
25392 (check_long): Likewise.
25393 (check_longlong): Likewise.
25394
25395 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25396 exceptions.
25397 (cimag_test_data): Likewise.
25398 (conj_test_data): Likewise.
25399 (copysign_test_data): Likewise.
25400 (cproj_test_data): Likewise.
25401 (creal_test_data): Likewise.
25402 (fabs_test_data): Likewise.
25403 (fdim_test_data): Likewise.
25404 (finite_test_data): Likewise.
25405 (floor_test_data): Likewise.
25406 (fmax_test_data): Likewise.
25407 (fmin_test_data): Likewise.
25408 (fmod_test_data): Likewise.
25409 (fpclassify_test_data): Likewise.
25410 (frexp_test_data): Likewise.
25411 (ilogb_test_data): Likewise.
25412 (isfinite_test_data): Likewise.
25413 (isgreater_test_data): Likewise.
25414 (isgreaterequal_test_data): Likewise.
25415 (isinf_test_data): Likewise.
25416 (isless_test_data): Likewise.
25417 (islessequal_test_data): Likewise.
25418 (islessgreater_test_data): Likewise.
25419 (isnan_test_data): Likewise.
25420 (isnormal_test_data): Likewise.
25421 (issignaling_test_data): Likewise.
25422 (isunordered_test_data): Likewise.
25423 (ldexp_test_data): Likewise.
25424 (lrint_test_data): Likewise.
25425 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25426 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25427 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25428 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25429 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25430 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25431 test input.
25432 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25433 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25434 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25435 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25436 that test input.
25437 (lrint_downward_test_data): Test for "inexact" exceptions.
25438 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25439 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25440 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25441 test input.
25442 (lrint_upward_test_data): Test for "inexact" exceptions.
25443 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25444 test input.
25445 (llrint_test_data): Test for "inexact" exceptions.
25446 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25447 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25448 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25449 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25450 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25451 (llrint_downward_test_data): Test for "inexact" exceptions.
25452 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25453 (llrint_upward_test_data): Test for "inexact" exceptions.
25454 (logb_test_data): Likewise.
25455 (logb_downward_test_data): Likewise.
25456 (nextafter_test_data): Likewise.
25457 (nexttoward_test_data): Likewise.
25458 (remainder_test_data): Likewise.
25459 (remquo_test_data): Likewise.
25460 (scalbn_test_data): Likewise.
25461 (scalbln_test_data): Likewise.
25462 (signbit_test_data): Likewise.
25463 (sqrt_test_data): Likewise.
25464 (significand_test_data): Likewise.
25465
254662013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25467
25468 [BZ #15424]
25469 * benchtests/bench-modf.c (struct args): Mark arg0 as
25470 volatile.
25471 * scripts/bench.pl: Mark members of struct args as volatile.
25472
254732013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25474
25475 [BZ # 15497]
25476 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25477 negative infinity on POWER6 or lower.
25478 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25479
254802013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25481
25482 [BZ #15442]
25483 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25484 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25485 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25486 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25487 (_FP_SETQNAN): New macro.
25488 (_FP_SETQNAN_SEMIRAW): Likewise.
25489 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25490 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25491 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25492 (FP_EXTEND): Use _FP_FRAC_SNANP.
25493 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25494 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25495 into account.
25496 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25497 New macro.
25498 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25499 Likewise.
25500
255012013-05-16 Joseph Myers <joseph@codesourcery.com>
25502
25503 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25504 with DIVIDE_BY_ZERO_EXCEPTION.
25505 (gamma_test_data): Likewise.
25506 (lgamma_test_data): Likewise.
25507 (log_test_data): Likewise.
25508 (log10_test_data): Likewise.
25509 (log2_test_data): Likewise.
25510 (tgamma_test_data): Likewise.
25511
25512 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25513 (acos_test_tonearest): Likewise.
25514 (acos_test_towardzero): Likewise.
25515 (acos_test_downward): Likewise.
25516 (acos_test_upward): Likewise.
25517 (acosh_test): Likewise.
25518 (asin_test): Likewise.
25519 (asin_test_tonearest): Likewise.
25520 (asin_test_towardzero): Likewise.
25521 (asin_test_downward): Likewise.
25522 (asin_test_upward): Likewise.
25523 (asinh_test): Likewise.
25524 (atan_test): Likewise.
25525 (atanh_test): Likewise.
25526 (atan2_test): Likewise.
25527 (cabs_test): Likewise.
25528 (cacos_test): Likewise.
25529 (cacosh_test): Likewise.
25530 (casin_test): Likewise.
25531 (casinh_test): Likewise.
25532 (catan_test): Likewise.
25533 (catanh_test): Likewise.
25534 (cbrt_test): Likewise.
25535 (ccos_test): Likewise.
25536 (ccosh_test): Likewise.
25537 (cexp_test): Likewise.
25538 (clog_test): Likewise.
25539 (clog10_test): Likewise.
25540 (cos_test): Likewise.
25541 (cos_test_tonearest): Likewise.
25542 (cos_test_towardzero): Likewise.
25543 (cos_test_downward): Likewise.
25544 (cos_test_upward): Likewise.
25545 (cosh_test): Likewise.
25546 (cosh_test_tonearest): Likewise.
25547 (cosh_test_towardzero): Likewise.
25548 (cosh_test_downward): Likewise.
25549 (cosh_test_upward): Likewise.
25550 (cpow_test): Likewise.
25551 (csin_test): Likewise.
25552 (csinh_test): Likewise.
25553 (csqrt_test): Likewise.
25554 (ctan_test): Likewise.
25555 (ctan_test_tonearest): Likewise.
25556 (ctan_test_towardzero): Likewise.
25557 (ctan_test_downward): Likewise.
25558 (ctan_test_upward): Likewise.
25559 (ctanh_test): Likewise.
25560 (ctanh_test_tonearest): Likewise.
25561 (ctanh_test_towardzero): Likewise.
25562 (ctanh_test_downward): Likewise.
25563 (ctanh_test_upward): Likewise.
25564 (erf_test): Likewise.
25565 (erfc_test): Likewise.
25566 (exp_test): Likewise.
25567 (exp_test_tonearest): Likewise.
25568 (exp_test_towardzero): Likewise.
25569 (exp_test_downward): Likewise.
25570 (exp_test_upward): Likewise.
25571 (exp10_test): Likewise.
25572 (exp2_test): Likewise.
25573 (expm1_test): Likewise.
25574 (fmod_test): Likewise.
25575 (gamma_test): Likewise.
25576 (hypot_test): Likewise.
25577 (j0_test): Likewise.
25578 (j1_test): Likewise.
25579 (jn_test): Likewise.
25580 (lgamma_test): Likewise.
25581 (log_test): Likewise.
25582 (log10_test): Likewise.
25583 (log1p_test): Likewise.
25584 (log2_test): Likewise.
25585 (logb_test_downward): Likewise.
25586 (pow_test): Likewise.
25587 (pow_test_tonearest): Likewise.
25588 (pow_test_towardzero): Likewise.
25589 (pow_test_downward): Likewise.
25590 (pow_test_upward): Likewise.
25591 (remainder_test): Likewise.
25592 (remquo_test): Likewise.
25593 (sin_test): Likewise.
25594 (sin_test_tonearest): Likewise.
25595 (sin_test_towardzero): Likewise.
25596 (sin_test_downward): Likewise.
25597 (sin_test_upward): Likewise.
25598 (sincos_test): Likewise.
25599 (sinh_test): Likewise.
25600 (sinh_test_tonearest): Likewise.
25601 (sinh_test_towardzero): Likewise.
25602 (sinh_test_downward): Likewise.
25603 (sinh_test_upward): Likewise.
25604 (sqrt_test): Likewise.
25605 (tan_test): Likewise.
25606 (tan_test_tonearest): Likewise.
25607 (tan_test_towardzero): Likewise.
25608 (tan_test_downward): Likewise.
25609 (tan_test_upward): Likewise.
25610 (tanh_test): Likewise.
25611 (tgamma_test): Likewise.
25612 (y0_test): Likewise.
25613 (y1_test): Likewise.
25614 (yn_test): Likewise.
25615
25616 * math/gen-libm-test.pl (adjust_arg): Remove function.
25617 (special_function): Remove argument $in_func. Only handle
25618 generating output for tables of tests, not inside functions.
25619 (parse_args): Likewise.
25620 (generate_testfile): Remove variable $in_func. Update call to
25621 parse_args.
25622 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25623 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25624 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25625 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25626 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25627 (MAX_VALUE_INIT): Rename macro to max_value.
25628 (MIN_VALUE_INIT): Rename macro to min_value.
25629 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25630 (plus_zero): Remove variable.
25631 (minus_zero): Likewise.
25632 (plus_infty): Likewise.
25633 (minus_infty): Likewise.
25634 (qnan_value): Likewise.
25635 (max_value): Likewise.
25636 (min_value): Likewise.
25637 (min_subnorm_value): Likewise.
25638
256392013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25640
25641 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25642 uint64_t or uint32_t usage.
25643 * crypt/sha256-block.c: Likewise.
25644 * crypt/sha256-crypt.c: Likewise.
25645 * crypt/sha256.c: Likewise.
25646 * crypt/sha512-block.c: Likewise.
25647 * crypt/sha512-crypt.c: Likewise.
25648 * crypt/sha512.c: Likewise.
25649 * debug/backtrace-tst.c: Likewise.
25650 * debug/pcprofiledump.c: Likewise.
25651 * elf/cache.c: Likewise.
25652 * elf/dl-cache.c: Likewise.
25653 * elf/dl-misc.c: Likewise.
25654 * elf/dl-profile.c: Likewise.
25655 * elf/dl-support.c: Likewise.
25656 * elf/ldconfig.c: Likewise.
25657 * elf/sprof.c: Likewise.
25658 * iconv/dummy-repertoire.c: Likewise.
25659 * iconv/iconv_charmap.c: Likewise.
25660 * iconv/skeleton.c: Likewise.
25661 * iconvdata/8bit-generic.c: Likewise.
25662 * iconvdata/cp737.h: Likewise.
25663 * iconvdata/cp775.h: Likewise.
25664 * iconvdata/ibm1008.h: Likewise.
25665 * iconvdata/ibm1025.h: Likewise.
25666 * iconvdata/ibm1046.h: Likewise.
25667 * iconvdata/ibm1097.h: Likewise.
25668 * iconvdata/ibm1112.h: Likewise.
25669 * iconvdata/ibm1122.h: Likewise.
25670 * iconvdata/ibm1123.h: Likewise.
25671 * iconvdata/ibm1124.h: Likewise.
25672 * iconvdata/ibm1129.h: Likewise.
25673 * iconvdata/ibm1130.h: Likewise.
25674 * iconvdata/ibm1132.h: Likewise.
25675 * iconvdata/ibm1133.h: Likewise.
25676 * iconvdata/ibm1137.h: Likewise.
25677 * iconvdata/ibm1140.h: Likewise.
25678 * iconvdata/ibm1141.h: Likewise.
25679 * iconvdata/ibm1142.h: Likewise.
25680 * iconvdata/ibm1143.h: Likewise.
25681 * iconvdata/ibm1144.h: Likewise.
25682 * iconvdata/ibm1145.h: Likewise.
25683 * iconvdata/ibm1146.h: Likewise.
25684 * iconvdata/ibm1147.h: Likewise.
25685 * iconvdata/ibm1148.h: Likewise.
25686 * iconvdata/ibm1149.h: Likewise.
25687 * iconvdata/ibm1153.h: Likewise.
25688 * iconvdata/ibm1154.h: Likewise.
25689 * iconvdata/ibm1155.h: Likewise.
25690 * iconvdata/ibm1156.h: Likewise.
25691 * iconvdata/ibm1157.h: Likewise.
25692 * iconvdata/ibm1158.h: Likewise.
25693 * iconvdata/ibm1160.h: Likewise.
25694 * iconvdata/ibm1161.h: Likewise.
25695 * iconvdata/ibm1162.h: Likewise.
25696 * iconvdata/ibm1163.h: Likewise.
25697 * iconvdata/ibm1164.h: Likewise.
25698 * iconvdata/ibm1166.h: Likewise.
25699 * iconvdata/ibm1167.h: Likewise.
25700 * iconvdata/ibm12712.h: Likewise.
25701 * iconvdata/ibm1390.h: Likewise.
25702 * iconvdata/ibm1399.h: Likewise.
25703 * iconvdata/ibm16804.h: Likewise.
25704 * iconvdata/ibm4517.h: Likewise.
25705 * iconvdata/ibm4899.h: Likewise.
25706 * iconvdata/ibm4909.h: Likewise.
25707 * iconvdata/ibm4971.h: Likewise.
25708 * iconvdata/ibm5347.h: Likewise.
25709 * iconvdata/ibm803.h: Likewise.
25710 * iconvdata/ibm856.h: Likewise.
25711 * iconvdata/ibm901.h: Likewise.
25712 * iconvdata/ibm902.h: Likewise.
25713 * iconvdata/ibm9030.h: Likewise.
25714 * iconvdata/ibm9066.h: Likewise.
25715 * iconvdata/ibm921.h: Likewise.
25716 * iconvdata/ibm922.h: Likewise.
25717 * iconvdata/ibm9448.h: Likewise.
25718 * iconvdata/isiri-3342.h: Likewise.
25719 * iconvdata/jis0201.h: Likewise.
25720 * include/link.h: Likewise.
25721 * include/netdb.h: Likewise.
25722 * inet/check_native.c: Likewise.
25723 * inet/check_pf.c: Likewise.
25724 * inet/getipv4sourcefilter.c: Likewise.
25725 * inet/getnameinfo.c: Likewise.
25726 * inet/getsourcefilter.c: Likewise.
25727 * inet/htonl.c: Likewise.
25728 * inet/setipv4sourcefilter.c: Likewise.
25729 * inet/setsourcefilter.c: Likewise.
25730 * inet/test-inet6_opt.c: Likewise.
25731 * inet/tst-network.c: Likewise.
25732 * locale/C-collate.c: Likewise.
25733 * locale/C-ctype.c: Likewise.
25734 * locale/C-time.c: Likewise.
25735 * locale/C-translit.h: Likewise.
25736 * locale/loadarchive.c: Likewise.
25737 * locale/programs/3level.h: Likewise.
25738 * locale/programs/charmap.c: Likewise.
25739 * locale/programs/charmap.h: Likewise.
25740 * locale/programs/ld-address.c: Likewise.
25741 * locale/programs/ld-collate.c: Likewise.
25742 * locale/programs/ld-ctype.c: Likewise.
25743 * locale/programs/ld-identification.c: Likewise.
25744 * locale/programs/ld-measurement.c: Likewise.
25745 * locale/programs/ld-messages.c: Likewise.
25746 * locale/programs/ld-monetary.c: Likewise.
25747 * locale/programs/ld-name.c: Likewise.
25748 * locale/programs/ld-numeric.c: Likewise.
25749 * locale/programs/ld-paper.c: Likewise.
25750 * locale/programs/ld-telephone.c: Likewise.
25751 * locale/programs/ld-time.c: Likewise.
25752 * locale/programs/linereader.c: Likewise.
25753 * locale/programs/locale.c: Likewise.
25754 * locale/programs/locarchive.c: Likewise.
25755 * locale/programs/locfile.h: Likewise.
25756 * locale/programs/repertoire.c: Likewise.
25757 * locale/programs/simple-hash.c: Likewise.
25758 * locale/programs/simple-hash.h: Likewise.
25759 * malloc/memusage.c: Likewise.
25760 * malloc/memusagestat.c: Likewise.
25761 * nis/nis_defaults.c: Likewise.
25762 * nis/nis_hash.c: Likewise.
25763 * nis/nis_print.c: Likewise.
25764 * nis/nis_xdr.c: Likewise.
25765 * nscd/connections.c: Likewise.
25766 * nscd/hstcache.c: Likewise.
25767 * nscd/nscd_gethst_r.c: Likewise.
25768 * nscd/nscd_getserv_r.c: Likewise.
25769 * nscd/nscd_helper.c: Likewise.
25770 * nscd/servicescache.c: Likewise.
25771 * nss/makedb.c: Likewise.
25772 * nss/nss_db/db-XXX.c: Likewise.
25773 * nss/nss_db/db-initgroups.c: Likewise.
25774 * nss/nss_db/db-netgrp.c: Likewise.
25775 * nss/nss_files/files-network.c: Likewise.
25776 * nss/nss_files/files-parse.c: Likewise.
25777 * posix/bug-regex5.c: Likewise.
25778 * posix/fnmatch_loop.c: Likewise.
25779 * posix/regcomp.c: Likewise.
25780 * posix/regexec.c: Likewise.
25781 * posix/tst-rfc3484-2.c: Likewise.
25782 * posix/tst-rfc3484-3.c: Likewise.
25783 * posix/tst-rfc3484.c: Likewise.
25784 * resolv/nss_dns/dns-canon.c: Likewise.
25785 * resolv/nss_dns/dns-network.c: Likewise.
25786 * resolv/res_init.c: Likewise.
25787 * resolv/res_mkquery.c: Likewise.
25788 * resolv/tst-aton.c: Likewise.
25789 * stdlib/cxa_atexit.c: Likewise.
25790 * stdlib/cxa_finalize.c: Likewise.
25791 * stdlib/gen-fpioconst.c: Likewise.
25792 * stdlib/strtol_l.c: Likewise.
25793 * string/tst-endian.c: Likewise.
25794 * sunrpc/auth_des.c: Likewise.
25795 * sunrpc/clnt_udp.c: Likewise.
25796 * sunrpc/rtime.c: Likewise.
25797 * sunrpc/svcauth_des.c: Likewise.
25798 * sunrpc/xdr.c: Likewise.
25799 * sunrpc/xdr_intXX_t.c: Likewise.
25800 * sunrpc/xdr_rec.c: Likewise.
25801 * sysdeps/generic/ldconfig.h: Likewise.
25802 * sysdeps/generic/ldsodefs.h: Likewise.
25803 * sysdeps/generic/memusage.h: Likewise.
25804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25805 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25806 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25807 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25814 * sysdeps/posix/getaddrinfo.c: Likewise.
25815 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25816 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25817 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25818 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25819 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25820 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25821 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25822 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25823 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25824 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25825 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25826 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25827 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25828 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25829 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25830 * sysdeps/x86_64/dl-tls.h: Likewise.
25831 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25832 * time/alt_digit.c: Likewise.
25833 * time/era.c: Likewise.
25834 * wcsmbs/tst-c16c32-1.c: Likewise.
25835
258362013-05-16 Joseph Myers <joseph@codesourcery.com>
25837
25838 * math/libm-test.inc (struct test_sincos_data): New type.
25839 (RUN_TEST_LOOP_sincos): New macro.
25840 (sincos_test_data): New variable.
25841 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25842
258432013-05-16 Richard Henderson <rth@redhat.com>
25844
25845 * math/atest-exp2.c (LIMB64): New macro.
25846 (CONSTSZ): New macro.
25847 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25848 (hexdig): Move ...
25849 (print_mpn_fp): ... to function scope.
25850 (read_mpn_hex): Remove.
25851 (get_log2): Remove.
25852 (exp2_mpn): Use mp_log2.
25853 (main): Use mp_exp1.
25854
258552013-05-16 Joseph Myers <joseph@codesourcery.com>
25856
25857 * math/libm-test.inc: Remove comment about not testing "inexact"
25858 exceptions.
25859 (INEXACT_EXCEPTION): New macro.
25860 (NO_INEXACT_EXCEPTION): Likewise.
25861 (INVALID_EXCEPTION_OK): Update value.
25862 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25863 (OVERFLOW_EXCEPTION_OK): Likewise.
25864 (UNDERFLOW_EXCEPTION_OK): Likewise.
25865 (IGNORE_ZERO_INF_SIGN): Likewise.
25866 (ERRNO_UNCHANGED): Likewise.
25867 (ERRNO_EDOM): Likewise.
25868 (ERRNO_ERANGE): Likewise.
25869 (test_exceptions): Handle testing "inexact" exceptions.
25870 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25871 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25872 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25873 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25874 INEXACT_EXCEPTION.
25875 (rint_towardzero_test_data): Likewise.
25876 (rint_downward_test_data): Likewise.
25877 (rint_upward_test_data): Likewise.
25878
25879 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25880 with OVERFLOW_EXCEPTION.
25881 (exp10_test_data): Likewise.
25882 (exp2_test_data): Likewise.
25883 (expm1_test_data): Likewise.
25884 (lgamma_test_data): Likewise.
25885 (pow_test_data): Likewise.
25886 (tgamma_test_data): Likewise.
25887 (yn_test_data): Remove duplicate test of overflow.
25888
25889 * math/libm-test.inc (struct test_cc_c_data): New type.
25890 (RUN_TEST_LOOP_cc_c): New macro.
25891 (cpow_test_data): New variable.
25892 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25893
25894 * math/libm-test.inc (struct test_f_L_data): New type.
25895 (RUN_TEST_LOOP_f_L): New macro.
25896 (llrint_test_data): New variable.
25897 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25898 (llrint_tonearest_test_data): New variable.
25899 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25900 (llrint_towardzero_test_data): New variable.
25901 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25902 (llrint_downward_test_data): New variable.
25903 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25904 (llrint_upward_test_data): New variable.
25905 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25906 (llround_test_data): New variable.
25907 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25908
259092013-05-13 Peter Collingbourne <pcc@google.com>
25910
25911 * math/atest-exp2.c (get_log2): Remove const attribute.
25912
259132013-05-15 Joseph Myers <joseph@codesourcery.com>
25914
25915 * math/libm-test.inc (struct test_f_l_data): New type.
25916 (RUN_TEST_LOOP_f_l): New macro.
25917 (lrint_test_data): New variable.
25918 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25919 (lrint_tonearest_test_data): New variable.
25920 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25921 (lrint_towardzero_test_data): New variable.
25922 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25923 (lrint_downward_test_data): New variable.
25924 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25925 (lrint_upward_test_data): New variable.
25926 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25927 (lround_test_data): New variable.
25928 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25929
259302013-05-15 Peter Collingbourne <pcc@google.com>
25931
25932 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25933 (EXTRACT_WORDS64) Use where appropriate.
25934 (INSERT_WORDS64) Likewise.
25935
25936 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25937 constraints with x constraints.
25938 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25939
25940 * malloc/obstack.c (_obstack_compat): Add initializer.
25941
259422013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25943
25944 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25945 si_trapno and add si_addr_lsb to _sifields.sigfault.
25946 (si_trapno): Remove macro.
25947 (si_addr_lsb): Define new macro.
25948 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25949
259502013-05-15 Joseph Myers <joseph@codesourcery.com>
25951
25952 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25953 instead of TEST_f_l.
25954 (llrint_test_tonearest): Likewise.
25955 (llrint_test_towardzero): Likewise.
25956 (llrint_test_downward): Likewise.
25957 (llrint_test_upward): Likewise.
25958 (llround_test): Likewise.
25959
25960 * math/libm-test.inc (struct test_f_i_data): Add comment.
25961 (RUN_TEST_LOOP_f_b): New macro.
25962 (RUN_TEST_LOOP_f_b_tg): Likewise.
25963 (finite_test_data): New variable.
25964 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25965 (isfinite_test_data): New variable.
25966 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25967 (isinf_test_data): New variable.
25968 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25969 (isnan_test_data): New variable.
25970 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25971 (isnormal_test_data): New variable.
25972 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25973 (issignaling_test_data): New variable.
25974 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25975 (signbit_test_data): New variable.
25976 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25977
25978 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25979 with INVALID_EXCEPTION.
25980 (acosh_test_data): Likewise.
25981 (asin_test_data): Likewise.
25982 (atanh_test_data): Likewise.
25983 (fmod_test_data): Likewise.
25984 (log_test_data): Likewise.
25985 (log10_test_data): Likewise.
25986 (log2_test_data): Likewise.
25987 (pow_test_data): Likewise.
25988 (sqrt_test_data): Likewise.
25989 (y0_test_data): Likewise.
25990 (y1_test_data): Likewise.
25991 (yn_test_data): Likewise.
25992
25993 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25994 function contents.
25995
25996 * math/libm-test.inc (struct test_ff_i_data): New type.
25997 (RUN_TEST_LOOP_ff_i_tg): New macro.
25998 (isgreater_test_data): New variable.
25999 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26000 (isgreaterequal_test_data): New variable.
26001 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26002 (isless_test_data): New variable.
26003 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26004 (islessequal_test_data): New variable.
26005 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26006 (islessgreater_test_data): New variable.
26007 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26008 (isunordered_test_data): New variable.
26009 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26010
260112013-05-14 David S. Miller <davem@davemloft.net>
26012
26013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26014
260152013-05-14 Joseph Myers <joseph@codesourcery.com>
26016
26017 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26018
26019 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26020 extra_test to int.
26021 (struct test_f_i_data): Change type of max_ulp to int.
26022
26023 * math/libm-test.inc (test_ffI_f1_data): New type.
26024 (RUN_TEST_LOOP_ffI_f1): New macro.
26025 (remquo_test_data): New variable.
26026 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26027
26028 * setjmp/tst-setjmp-fp.c: New file.
26029 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26030 (link-libm): New variable.
26031 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26032
26033 * math/libm-test.inc (struct test_f_i_data): New type.
26034 (RUN_TEST_LOOP_f_i): New macro.
26035 (RUN_TEST_LOOP_f_i_tg): Likewise.
26036 (fpclassify_test_data): New variable.
26037 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26038 (ilogb_test_data): New variable.
26039 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26040
26041 * math/libm-test.inc (scalbln_test): Correct function name in END
26042 call.
26043
26044 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26045 (RUN_TEST_LOOP_fI_f1): New macro.
26046 (frexp_test_data): New variable.
26047 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26048
26049 * math/libm-test.inc (struct test_fF_f1_data): New type.
26050 (RUN_TEST_LOOP_fF_f1): New macro.
26051 (modf_test_data): New variable.
26052 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26053
26054 * math/libm-test.inc (struct test_f_f1_data): New type.
26055 (RUN_TEST_LOOP_f_f1): New macro.
26056 (gamma_test_data): New variable.
26057 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26058 (lgamma_test_data): New variable.
26059 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26060
260612013-05-13 Carlos O'Donell <carlos@redhat.com>
26062
26063 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26064 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26065 (main): Comment "tls" pseudo-hwcap.
26066
260672013-05-13 Joseph Myers <joseph@codesourcery.com>
26068
26069 * math/libm-test.inc (struct test_fl_f_data): New type.
26070 (RUN_TEST_LOOP_fl_f): New variable.
26071 (scalbln_test_data): New variable.
26072 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26073
26074 * math/libm-test.inc (struct test_fi_f_data): New type.
26075 (RUN_TEST_LOOP_fi_f): New macro.
26076 (ldexp_test_data): New variable.
26077 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26078 (scalbn_test_data): New variable.
26079 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26080
26081 * math/libm-test.inc (struct test_c_f_data): New type.
26082 (RUN_TEST_LOOP_c_f): New macro.
26083 (cabs_test_data): New variable.
26084 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26085 (carg_test_data): New variable.
26086 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26087 (cimag_test_data): New variable.
26088 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26089 (creal_test_data): New variable.
26090 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26091
26092 * math/libm-test.inc (struct test_if_f_data): New type.
26093 (RUN_TEST_LOOP_if_f): New macro.
26094 (jn_test_data): New variable.
26095 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26096 (yn_test_data): New variable.
26097 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26098
26099 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26100
261012013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26102
26103 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26104 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26105
261062013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26107
26108 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26109 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26110 (bench-deps): Add bench-timing.h.
26111 * benchtests-bench-skeleton.c: Include bench-timing.h.
26112 (main): Use TIMING_* macros instead of clock_gettime.
26113 * benchtests/bench-timing.h: New file.
26114
26115 [BZ #14582]
26116 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26117 Renamed from _LIB_VERSION.
26118 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26119
261202013-05-12 Joseph Myers <joseph@codesourcery.com>
26121
26122 * math/libm-test.inc (struct test_fff_f_data): New type.
26123 (RUN_TEST_LOOP_fff_f): New macro.
26124 (fma_test_data): New variable.
26125 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26126 (fma_towardzero_test_data): New variable.
26127 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26128 (fma_downward_test_data): New variable.
26129 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26130 (fma_upward_test_data): New variable.
26131 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26132
26133 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26134 (struct test_c_c_data): New type.
26135 (RUN_TEST_LOOP_c_c): New macro.
26136 (cacos_test_data): New variable.
26137 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26138 (cacosh_test_data): New variable.
26139 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26140 (casin_test_data): New variable.
26141 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26142 (casinh_test_data): New variable.
26143 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26144 (catan_test_data): New variable.
26145 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26146 (catanh_test_data): New variable.
26147 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26148 (ccos_test_data): New variable.
26149 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26150 (ccosh_test_data): New variable.
26151 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26152 (cexp_test_data): New variable.
26153 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26154 (clog_test_data): New variable.
26155 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26156 (clog10_test_data): New variable.
26157 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26158 (conj_test_data): New variable.
26159 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26160 (cproj_test_data): New variable.
26161 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26162 (csin_test_data): New variable.
26163 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26164 (csinh_test_data): New variable.
26165 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26166 (csqrt_test_data): New variable.
26167 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26168 (ctan_test_data): New variable.
26169 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26170 (ctan_tonearest_test_data): New variable.
26171 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26172 (ctan_towardzero_test_data): New variable.
26173 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26174 (ctan_downward_test_data): New variable.
26175 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26176 (ctan_upward_test_data): New variable.
26177 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26178 (ctanh_test_data): New variable.
26179 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26180 (ctanh_tonearest_test_data): New variable.
26181 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26182 (ctanh_towardzero_test_data): New variable.
26183 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26184 (ctanh_downward_test_data): New variable.
26185 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26186 (ctanh_upward_test_data): New variable.
26187 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26188 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26189 of BUILD_COMPLEX.
26190
26191 * math/libm-test.inc (struct test_ff_f_data): New type.
26192 (struct test_ff_f_data_nexttoward): Likewise.
26193 (RUN_TEST_LOOP_2_f): New macro.
26194 (RUN_TEST_LOOP_ff_f): Likewise.
26195 (atan2_test_data): New variable.
26196 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26197 (copysign_test_data): New variable.
26198 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26199 (fdim_test_data): New variable.
26200 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26201 (fmax_test_data): New variable.
26202 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26203 (fmin_test_data): New variable.
26204 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26205 (fmod_test_data): New variable.
26206 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26207 (hypot_test_data): New variable.
26208 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26209 (nextafter_test_data): New variable.
26210 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26211 (nexttoward_test_data): New variable.
26212 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26213 (pow_test_data): New variable.
26214 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26215 (pow_tonearest_test_data): New variable.
26216 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26217 (pow_towardzero_test_data): New variable.
26218 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26219 (pow_downward_test_data): New variable.
26220 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26221 (pow_upward_test_data): New variable.
26222 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26223 (remainder_test_data): New variable.
26224 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26225 (scalb_test_data): New variable.
26226 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26227 * sysdeps/i386/fpu/libm-test-ulps: Update.
26228
262292013-05-11 Joseph Myers <joseph@codesourcery.com>
26230
26231 * math/libm-test.inc (fma_test): Use max_value instead of local
26232 variable fltmax.
26233 (nextafter_test): Likewise.
26234
26235 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26236 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26237 (acos_downward_test_data): New variable.
26238 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26239 (acos_upward_test_data): New variable.
26240 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26241 (acosh_test_data): New variable.
26242 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26243 (asin_test_data): New variable.
26244 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26245 (asin_tonearest_test_data): New variable.
26246 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26247 (asin_towardzero_test_data): New variable.
26248 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26249 (asin_downward_test_data): New variable.
26250 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26251 (asin_upward_test_data): New variable.
26252 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26253 (asinh_test_data): New variable.
26254 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26255 (atan_test_data): New variable.
26256 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26257 (atanh_test_data): New variable.
26258 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26259 (cbrt_test_data): New variable.
26260 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26261 (ceil_test_data): New variable.
26262 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26263 (cos_test_data): New variable.
26264 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26265 (cos_tonearest_test_data): New variable.
26266 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26267 (cos_towardzero_test_data): New variable.
26268 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26269 (cos_downward_test_data): New variable.
26270 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26271 (cos_upward_test_data): New variable.
26272 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26273 (cosh_test_data): New variable.
26274 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26275 (cosh_tonearest_test_data): New variable.
26276 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26277 (cosh_towardzero_test_data): New variable.
26278 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26279 (cosh_downward_test_data): New variable.
26280 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26281 (cosh_upward_test_data): New variable.
26282 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26283 (erf_test_data): New variable.
26284 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26285 (erfc_test_data): New variable.
26286 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26287 (exp_test_data): New variable.
26288 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26289 (exp_tonearest_test_data): New variable.
26290 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26291 (exp_towardzero_test_data): New variable.
26292 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26293 (exp_downward_test_data): New variable.
26294 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26295 (exp_upward_test_data): New variable.
26296 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26297 (exp10_test_data): New variable.
26298 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26299 (exp2_test_data): New variable.
26300 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26301 (expm1_test_data): New variable.
26302 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26303 (fabs_test_data): New variable.
26304 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26305 (floor_test_data): New variable.
26306 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26307 (j0_test_data): New variable.
26308 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26309 (j1_test_data): New variable.
26310 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26311 (log_test_data): New variable.
26312 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26313 (log10_test_data): New variable.
26314 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26315 (log1p_test_data): New variable.
26316 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26317 (log2_test_data): New variable.
26318 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26319 (logb_test_data): New variable.
26320 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26321 (logb_downward_test_data): New variable.
26322 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26323 (nearbyint_test_data): New variable.
26324 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26325 (rint_test_data): New variable.
26326 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26327 (rint_tonearest_test_data): New variable.
26328 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26329 (rint_towardzero_test_data): New variable.
26330 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26331 (rint_downward_test_data): New variable.
26332 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26333 (rint_upward_test_data): New variable.
26334 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26335 (round_test_data): New variable.
26336 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26337 (sin_test_data): New variable.
26338 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26339 (sin_tonearest_test_data): New variable.
26340 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26341 (sin_towardzero_test_data): New variable.
26342 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26343 (sin_downward_test_data): New variable.
26344 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26345 (sin_upward_test_data): New variable.
26346 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26347 (sinh_test_data): New variable.
26348 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26349 (sinh_tonearest_test_data): New variable.
26350 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26351 (sinh_towardzero_test_data): New variable.
26352 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26353 (sinh_downward_test_data): New variable.
26354 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26355 (sinh_upward_test_data): New variable.
26356 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26357 (sqrt_test_data): New variable.
26358 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26359 (tan_test_data): New variable.
26360 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26361 (tan_tonearest_test_data): New variable.
26362 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26363 (tan_towardzero_test_data): New variable.
26364 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26365 (tan_downward_test_data): New variable.
26366 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26367 (tan_upward_test_data): New variable.
26368 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26369 (tanh_test_data): New variable.
26370 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26371 (tgamma_test_data): New variable.
26372 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26373 (trunc_test_data): New variable.
26374 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26375 (y0_test_data): New variable.
26376 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26377 (y1_test_data): New variable.
26378 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26379 (significand_test_data): New variable.
26380 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26381
263822013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26383
26384 [BZ #12387]
26385 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26386
263872013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26388
26389 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26390
263912013-05-10 Andreas Jaeger <aj@suse.de>
26392
26393 [BZ #15448]
26394 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26395 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26396
263972013-05-10 Joseph Myers <joseph@codesourcery.com>
26398
26399 * math/gen-libm-test.pl (adjust_arg): New function.
26400 (special_functions): Handle generating output in both functions
26401 and arrays.
26402 (parse_args): Likewise.
26403 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26404 $in_func argument to parse_args.
26405 * math/libm-test.inc (struct test_f_f_data): New type.
26406 (IF_ROUND_INIT_): New macro.
26407 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26408 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26409 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26410 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26411 (ROUND_RESTORE_): Likewise.
26412 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26413 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26414 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26415 (ROUND_RESTORE_FE_UPWARD): Likewise.
26416 (RUN_TEST_LOOP_f_f): New macro.
26417 (acos_test_data): New variable.
26418 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26419 (acos_tonearest_test_data): New variable.
26420 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26421
264222013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26423
26424 * benchtests/bench-skeleton.c (startup): Fix coding style.
26425
264262013-05-10 Joseph Myers <joseph@codesourcery.com>
26427
26428 [BZ #6809]
26429 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26430 negative infinity argument.
26431 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26432 negative infinity argument.
26433 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26434 negative infinity argument.
26435 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26436 domain errors.
26437
264382013-05-10 Florian Weimer <fweimer@redhat.com>
26439
26440 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26441 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26442 * iconv/iconv_prog.c (main): Likewise.
26443 * locale/programs/charmap-dir.c (charmap_readdir)
26444 (fopen_uncompressed): Likewise.
26445 * locale/programs/locfile.c (siblings_uncached)
26446 (write_locale_data): Use lstat64 instead of lstat.
26447 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26448 stat.
26449
264502013-05-10 Andreas Jaeger <aj@suse.de>
26451
26452 [BZ #15395]
26453 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26454 localization.
26455 Include <locale.h>.
26456
264572013-05-09 Carlos O'Donell <carlos@redhat.com>
26458
26459 * elf/dl-close.c (_dl_close_worker): Add comments.
26460
264612013-05-09 Joseph Myers <joseph@codesourcery.com>
26462
26463 [BZ #15359]
26464 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26465 high part of pi/2.
26466 (__ieee754_rem_pio2l): Update comments.
26467
26468 [BZ #15429]
26469 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26470 high part of pi/2.
26471 (__ieee754_rem_pio2l): Update comments.
26472
26473 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26474 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26475
26476 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26477 M_PI_4l.
26478
26479 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26480 (M_PI_34_LOG10El): Likewise.
26481 (M_PI2_LOG10El): Likewise.
26482 (M_PI4_LOG10El): Likewise.
26483 (M_PI_LOG10El): Likewise.
26484
264852013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26486
26487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26488
264892013-05-08 Joseph Myers <joseph@codesourcery.com>
26490
26491 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26492 (MINUS_ZERO_INIT): Likewise.
26493 (PLUS_INFTY_INIT): Likewise.
26494 (MINUS_INFTY_INIT): Likewise.
26495 (QNAN_VALUE_INIT): Likewise.
26496 (MAX_VALUE_INIT): Likewise.
26497 (MIN_VALUE_INIT): Likewise.
26498 (MIN_SUBNORM_VALUE_INIT): Likewise.
26499 (plus_zero): Initialize with PLUS_ZERO_INIT.
26500 (minus_zero): Initialize with MINUS_ZERO_INIT.
26501 (plus_infty): Initialize with PLUS_INFTY_INIT.
26502 (minus_infty): Initialize with MINUS_INFTY_INIT.
26503 (qnan_value): Initialize with QNAN_VALUE_INIT.
26504 (max_value): Initialize with MAX_VALUE_INIT.
26505 (min_value): Initialize with MIN_VALUE_INIT.
26506 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26507
26508 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26509 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26510 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26511 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26512
26513 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26514 (RUN_TEST_2_f): Likewise.
26515 (RUN_TEST_ff_f): Likewise.
26516 (RUN_TEST_fi_f): Likewise.
26517 (RUN_TEST_fl_f): Likewise.
26518 (RUN_TEST_fff_f): Likewise.
26519 (RUN_TEST_c_f): Likewise.
26520 (RUN_TEST_f_f1): Likewise.
26521 (RUN_TEST_fF_f1): Likewise.
26522 (RUN_TEST_fI_f1): Likewise.
26523 (RUN_TEST_ffI_f1): Likewise.
26524 (RUN_TEST_c_c): Likewise.
26525 (RUN_TEST_cc_c): Likewise.
26526 (RUN_TEST_f_i): Likewise.
26527 (RUN_TEST_f_i_tg): Likewise.
26528 (RUN_TEST_ff_i_tg): Likewise.
26529 (RUN_TEST_f_b): Likewise.
26530 (RUN_TEST_f_b_tg): Likewise.
26531 (RUN_TEST_f_l): Likewise.
26532 (RUN_TEST_f_L): Likewise.
26533 (RUN_TEST_sincos): Likewise.
26534 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26535 whether to show exceptions. Do not include ");\n" in return
26536 value.
26537 (special_functions): Output call to RUN_TEST_sincos instead of
26538 check_float calls. Update calls to new_test.
26539 (parse_args): Output call to single RUN_TEST_* macro instead of
26540 check_* calls and other assignments. Update calls to new_test.
26541
26542 [BZ #2546]
26543 [BZ #2560]
26544 [BZ #5159]
26545 [BZ #15426]
26546 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26547 input to result for tgamma overflow.
26548 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26549 (gamma_coeff): New variable.
26550 (NCOEFF): New macro.
26551 (gamma_positive): New function.
26552 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26553 underflow here. Use gamma_positive instead of exp (lgamma) for
26554 other arguments.
26555 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26556 (gamma_coeff): New variable.
26557 (NCOEFF): New macro.
26558 (gammaf_positive): New function.
26559 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26560 underflow here. Use gamma_positive instead of exp (lgamma) for
26561 other arguments.
26562 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26563 (gamma_coeff): New variable.
26564 (NCOEFF): New macro.
26565 (gammal_positive): New function.
26566 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26567 underflow here. Use gamma_positive instead of exp (lgamma) for
26568 other arguments.
26569 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26570 (gamma_coeff): New variable.
26571 (NCOEFF): New macro.
26572 (gammal_positive): New function.
26573 (__ieee754_gammal_r): Handle positive infinity, overflow and
26574 underflow here. Handle NaN the same as positive infinity. Remove
26575 check x < 0xffffffff for negative integers. Use gamma_positive
26576 instead of exp (lgamma) for other arguments.
26577 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26578 (gamma_coeff): New variable.
26579 (NCOEFF): New macro.
26580 (gammal_positive): New function.
26581 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26582 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26585 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26586 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26587 * sysdeps/generic/math_private.h (__gamma_productf): New
26588 prototype.
26589 (__gamma_product): Likewise.
26590 (__gamma_productl): Likewise.
26591 * math/Makefile (libm-calls): Add gamma_product.
26592 * math/libm-test.inc (tgamma_test): Add more tests.
26593 * sysdeps/i386/fpu/libm-test-ulps: Update.
26594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26595
265962013-05-08 Ondřej Bílka <neleai@seznam.cz>
26597
26598 * benchtests/bench-skeleton.c (main): Preheat CPU.
26599
266002013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26601
26602 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26603
266042013-05-07 Roland McGrath <roland@hack.frob.com>
26605
26606 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26607 and _dl_skip_args_internal.
26608
266092013-05-07 Carlos O'Donell <carlos@redhat.com>
26610
26611 * manual/message.texi (Message Translation): Talk about users.
26612 Message to key mapping impacts design.
26613
266142013-05-06 Roland McGrath <roland@hack.frob.com>
26615
26616 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26617
26618 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26619
26620 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26621 * sysdeps/wordsize-64/glob64.c: ... here.
26622
26623 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26624 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26625 New macros.
26626
26627 * debug/getlogin_r_chk.c: Moved to ...
26628 * login/getlogin_r_chk.c: ... here.
26629 * debug/Makefile (routines): Move getlogin_r_chk to ...
26630 * login/Makefile (routines): ... here.
26631 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26632 * login/Versions (libc: GLIBC_2.4): ... here.
26633
26634 * io/poll.c (__poll): Renamed from poll.
26635 Add libc_hidden_def.
26636 (poll): Define as weak alias.
26637
26638 * debug/ptsname_r_chk.c: Moved to ...
26639 * login/ptsname_r_chk.c: ... here.
26640 * debug/Makefile (routines): Move ptsname_r_chk to ...
26641 * login/Makefile (routines): ... here.
26642 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26643 * login/Versions (libc: GLIBC_2.4): ... here.
26644
26645 * posix/getlogin.c: Moved to ...
26646 * login/getlogin.c: ... here.
26647 * posix/getlogin_r.c: Moved to ...
26648 * login/getlogin_r.c: ... here.
26649 * posix/getlogin_r.c: Moved to ...
26650 * login/getlogin_r.c: ... here.
26651 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26652 * login/Makefile (routines): ... here.
26653 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26654 * login/Versions (libc: GLIBC_2.0): ... here.
26655
26656 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26657 (setrlimit): Define as weak alias.
26658
26659 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26660 Call __ names for open, ftruncate, and close.
26661 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26662 (truncate): Define as weak alias.
26663
266642013-05-06 Joseph Myers <joseph@codesourcery.com>
26665
26666 * math/gen-libm-test.pl (parse_args): Initialize x before each
26667 test of frexp, modf and remquo.
26668
26669 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26670 test signgam value.
26671
266722013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26673
26674 [BZ #15418]
26675 [BZ #15419]
26676 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26677 internal tests.
26678 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26679
266802013-05-06 Roland McGrath <roland@hack.frob.com>
26681
26682 * elf/dl-writev.h: New file.
26683 * elf/dl-misc.c: Include it.
26684 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26685 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26686
266872013-05-04 Joseph Myers <joseph@codesourcery.com>
26688
26689 * math/libm-test.inc (noXFails): Remove variable.
26690 (noXPasses): Likewise.
26691 (BUILD_COMPLEX_INT): Remove macro.
26692 (print_screen): Remove xfail argument.
26693 (print_screen_max_error): Likewise.
26694 (update_stats): Likewise.
26695 (print_max_error): Likewise. Update calls to other affected
26696 functions.
26697 (print_complex_max_error): Likewise.
26698 (test_single_exception): Update calls to print_screen.
26699 (test_single_errno): Likewise.
26700 (check_float_internal): Remove xfail argument. Update calls to
26701 other affected functions.
26702 (check_float): Likewise.
26703 (check_complex): Likewise.
26704 (check_int): Likewise.
26705 (check_long): Likewise.
26706 (check_bool): Likewise.
26707 (check_longlong): Likewise.
26708 (main): Don't print noXFails and noXPasses.
26709 * math/gen-libm-test.pl (top level): Don't mention expected
26710 failure handling in comment.
26711 (new_test): Don't handle expected failures.
26712 (parse_args): Don't mention expected failure handling in comment.
26713 (generate_testfile): Don't handle expected failures.
26714 (parse_ulps): Likewise.
26715 (print_ulps_file): Likewise.
26716 (get_failure): Remove function.
26717 (output_test): Don't handle expected failures.
26718 * make/README.libm-test: Don't mention expected failure handling.
26719
26720 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26721 (minus_zero): Likewise.
26722 (plus_infty): Likewise.
26723 (minus_infty): Likewise.
26724 (qnan_value): Likewise.
26725 (max_value): Likewise.
26726 (min_value): Likewise.
26727 (min_subnorm_value): Likewise.
26728 (initialize): Do not initialize those variables dynamically.
26729
267302013-05-03 Roland McGrath <roland@hack.frob.com>
26731
26732 * io/open.c (__open_2): Moved to ...
26733 * io/open_2.c: ... this new file.
26734 * io/open64.c (__open64_2): Moved to ...
26735 * io/open64_2.c: ... this new file.
26736 * io/openat.c (__openat_2): Moved to ...
26737 * io/openat_2.c: ... this new file.
26738 * io/openat64.c (__openat64_2): Moved to ...
26739 * io/openat64_2.c: ... this new file.
26740 * io/Makefile (routines): Add them.
26741 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26742 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26743 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26744 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26745 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26746 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26747 (__openat64): Add hidden_ver.
26748 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26749 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26750
26751 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26752 Separately conditionalize setting of GLRO(dl_sysinfo) so
26753 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26754 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26755
267562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26757
26758 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26759 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26760 definition.
26761 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26762 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26763 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26764 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26765 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26766
267672013-05-03 Joseph Myers <joseph@codesourcery.com>
26768
26769 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26770 test signgam value.
26771
26772 * math/libm-test.inc (hypot_test): Do not use
26773 IGNORE_ZERO_INF_SIGN.
26774
267752013-05-03 Andreas Jaeger <aj@suse.de>
26776
26777 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26778 Linux 3.9.
26779 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26780 (PF_MAX): Adjust for VSOCK change.
26781
267822013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26783
26784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26785
267862013-05-02 Carlos O'Donell <carlos@redhat.com>
26787
26788 [BZ #15264]
26789 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26790 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26791 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26792
267932013-05-02 David S. Miller <davem@davemloft.net>
26794
26795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26796
267972013-05-01 Ondřej Bílka <neleai@seznam.cz>
26798
26799 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26800
268012013-05-01 Roland McGrath <roland@hack.frob.com>
26802
26803 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26804
268052013-05-01 Richard Smith <richard@metafoo.co.uk>
26806
26807 [BZ #14952]
26808 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26809 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26810 Use __attribute__ ((__gnu_inline__)).
26811 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26812 Don't use __attribute__ ((__gnu_inline__)).
26813
268142013-05-01 Joseph Myers <joseph@codesourcery.com>
26815
26816 [BZ #15423]
26817 * math/s_catan.c (__catan): Handle small real or imaginary part of
26818 input specially to avoid spurious underflow.
26819 * math/s_catanf.c (__catanf): Likewise.
26820 * math/s_catanh.c (__catanh): Likewise.
26821 * math/s_catanhf.c (__catanhf): Likewise.
26822 * math/s_catanhl.c (__catanhl): Likewise.
26823 * math/s_catanl.c (__catanl): Likewise.
26824 * math/libm-test.inc (catan_test): Add more tests.
26825 (catanh_test): Likewise.
26826 * sysdeps/i386/fpu/libm-test-ulps: Update.
26827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26828
268292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26830
26831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26832
268332013-04-30 Joseph Myers <joseph@codesourcery.com>
26834
26835 [BZ #15416]
26836 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26837 accurately for denominator in atan2.
26838 * math/s_catanf.c (__catanf): Likewise.
26839 * math/s_catanh.c (__catanh): Likewise.
26840 * math/s_catanhf.c (__catanhf): Likewise.
26841 * math/s_catanhl.c (__catanhl): Likewise.
26842 * math/s_catanl.c (__catanl): Likewise.
26843 * math/libm-test.inc (catan_test): Add more tests.
26844 (catanh_test): Likewise.
26845 * sysdeps/i386/fpu/libm-test-ulps: Update.
26846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26847
268482013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26849
26850 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26851
26852 * benchtests/Makefile (bench): Remove slow benchmarks.
26853 * benchtests/atan-inputs: Add slow benchmark inputs.
26854 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26855 (BENCH_FUNC): Accept variant offset.
26856 (VARIANT): Define.
26857 * benchtests/bench-skeleton.c (main): Run benchmark for each
26858 variant.
26859 * benchtests/cos-inputs: Add slow benchmark inputs.
26860 * benchtests/exp-inputs: Likewise.
26861 * benchtests/pow-inputs: Likewise.
26862 * benchtests/sin-inputs: Likewise.
26863 * benchtests/slowatan-inputs: Remove.
26864 * benchtests/slowatan.c: Remove.
26865 * benchtests/slowcos-inputs: Remove.
26866 * benchtests/slowcos.c: Remove.
26867 * benchtests/slowexp-inputs: Remove.
26868 * benchtests/slowexp.c: Remove.
26869 * benchtests/slowpow-inputs: Remove.
26870 * benchtests/slowpow.c: Remove.
26871 * benchtests/slowsin-inputs: Remove.
26872 * benchtests/slowsin.c: Remove.
26873 * benchtests/slowtan-inputs: Remove.
26874 * benchtests/slowtan.c: Remove.
26875 * benchtests/tan-inputs: Add slow benchmark inputs.
26876 * scripts/bench.pl: Parse comments and directives.
26877
26878 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26879 in CPPFLAGS.
26880 ($(objpfx)bench-%.c): Remove *-ITER.
26881 * benchtests/bench-modf.c: Remove definition of ITER.
26882 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26883 (main): Loop for DURATION seconds instead of fixed number of
26884 iterations.
26885 * scripts/bench.pl: Don't expect iterations in parameters.
26886
268872013-04-29 Roland McGrath <roland@hack.frob.com>
26888
26889 * io/fchdir.c (__fchdir): Renamed from fchdir.
26890 (fchdir): Define as weak alias.
26891
268922013-04-29 Joseph Myers <joseph@codesourcery.com>
26893
26894 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26895 (ERRNO_EDOM): Likewise.
26896 (ERRNO_ERANGE): Likewise.
26897 (noErrnoTests): New variable.
26898 (init_max_error): Set errno to 0.
26899 (test_single_errno): New function.
26900 (test_errno): Likewise.
26901 (check_float_internal): Call test_errno. Set errno to 0.
26902 (check_complex): Refer to errno tests in comment.
26903 (check_int): Call test_errno. Set errno to 0.
26904 (check_long): Likewise.
26905 (check_bool): Likewise.
26906 (check_longlong): Likewise.
26907 (cos_test): Use ERRNO_* flags for errno tests instead of
26908 check_int.
26909 (expm1_test): Likewise.
26910 (fmod_test): Likewise.
26911 (ilogb_test): Likewise.
26912 (lgamma_test): Likewise.
26913 (pow_test): Likewise.
26914 (remainder_test): Likewise.
26915 (sin_test): Likewise.
26916 (tan_test): Likewise.
26917 (yn_test): Likewise.
26918 (initialize): Set errno to 0.
26919 (main): Print number of errno tests.
26920 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26921
269222013-04-29 Andreas Jaeger <aj@suse.de>
26923
26924 [BZ #15084]
26925 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26926 and RES_USEVC.
26927
26928 [BZ #15085]
26929 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26930 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26931 unimplemented.
26932
26933 [BZ #15380]
26934 * stdlib/random.c (__initstate): Return NULL if
26935 __initstate fails.
26936
26937 [BZ #15086]
26938 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26939 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26940 RES_SNGLKUPREOP.
26941
269422013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26943
26944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26945
269462013-04-29 Joseph Myers <joseph@codesourcery.com>
26947
26948 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26949 of individual tests.
26950 (casin_test): Likewise.
26951 (casinh_test): Likewise.
26952
269532013-04-27 Joseph Myers <joseph@codesourcery.com>
26954
26955 [BZ #15409]
26956 * math/s_catan.c (__catan): Handle arguments with large real or
26957 imaginary part separately without squaring.
26958 * math/s_catanf.c (__catanf): Likewise.
26959 * math/s_catanh.c (__catanh): Likewise.
26960 * math/s_catanhf.c (__catanhf): Likewise.
26961 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26962 and redefine.
26963 (__catanhl): Handle arguments with large real or imaginary part
26964 separately without squaring.
26965 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26966 and redefine.
26967 (__catanl): Handle arguments with large real or imaginary part
26968 separately without squaring.
26969 * math/libm-test.inc (catan_test): Add more tests.
26970 (catanh_test): Likewise.
26971 * sysdeps/i386/fpu/libm-test-ulps: Update.
26972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26973
269742013-04-27 Andreas Jaeger <aj@suse.de>
26975
26976 [BZ #15007]
26977 * stdlib/stdlib.h: Update guards for qecvt.
26978 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26979 <stdlib.h>.
26980
269812013-04-27 Allan McRae <allan@archlinux.org>
26982
26983 * sysdeps/i386/fpu/libm-test-ulps: Update.
26984
269852013-04-26 Joseph Myers <joseph@codesourcery.com>
26986
26987 [BZ #15406]
26988 * math/s_catan.c: Include <float.h>.
26989 (__catan): Ensure underflow exception occurs for underflowed
26990 result.
26991 * math/s_catanf.c: Include <float.h>.
26992 (__catanf): Ensure underflow exception occurs for underflowed
26993 result.
26994 * math/s_catanh.c: Include <float.h>.
26995 (__catanh): Ensure underflow exception occurs for underflowed
26996 result.
26997 * math/s_catanhf.c: Include <float.h>.
26998 (__catanhf): Ensure underflow exception occurs for underflowed
26999 result.
27000 * math/s_catanhl.c: Include <float.h>.
27001 (__catanhl): Ensure underflow exception occurs for underflowed
27002 result.
27003 * math/s_catanl.c: Include <float.h>.
27004 (__catanl): Ensure underflow exception occurs for underflowed
27005 result.
27006 * math/libm-test.inc (catan_test): Add more tests.
27007 (catanh_test): Likewise.
27008
27009 [BZ #15405]
27010 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27011 underflowed result.
27012 * math/s_ccoshf.c (__ccoshf): Likewise.
27013 * math/s_ccoshl.c (__ccoshl): Likewise.
27014 * math/s_csin.c (__csin): Likewise.
27015 * math/s_csinf.c (__csinf): Likewise.
27016 * math/s_csinh.c (__csinh): Likewise.
27017 * math/s_csinhf.c (__csinhf): Likewise.
27018 * math/s_csinhl.c (__csinhl): Likewise.
27019 * math/s_csinl.c (__csinl): Likewise.
27020 * math/libm-test.inc (ccos_test): Add more tests.
27021 (ccosh_test): Likewise.
27022 (csin_test): Likewise.
27023 (csinh_test): Likewise.
27024
270252013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27026
27027 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27028 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27029 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27030 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27031 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27032 powerpc/power5+/fpu folders.
27033 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27034
27035
270362013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27037
27038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27039
270402013-04-25 Joseph Myers <joseph@codesourcery.com>
27041
27042 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27043 additions to variable.
27044 [$(config-machine) = x86_64] (modules-names): Likewise.
27045 ($(objpfx)tst-audit3): Remove dependency.
27046 ($(objpfx)tst-audit3.out): Likewise.
27047 ($(objpfx)tst-audit4): Likewise.
27048 ($(objpfx)tst-audit4.out): Likewise.
27049 ($(objpfx)tst-audit5): Likewise.
27050 ($(objpfx)tst-audit5.out): Likewise.
27051 ($(objpfx)tst-audit6): Likewise.
27052 ($(objpfx)tst-audit6.out): Likewise.
27053 ($(objpfx)tst-audit7): Likewise.
27054 ($(objpfx)tst-audit7.out): Likewise.
27055 (tst-audit3-ENV): Remove variable.
27056 (tst-audit4-ENV): Likewise.
27057 (tst-audit5-ENV): Likewise.
27058 (tst-audit6-ENV): Likewise.
27059 (tst-audit7-ENV): Likewise.
27060 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27061 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27062 addition to variable.
27063 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27064 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27065 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27066 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27067 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27068 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27069 tst-audit3, tst-audit4 and tst-audit5.
27070 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27071 tst-audit6 and tst-audit7.
27072 [$(subdir) = elf] (modules-names): Add audit modules for those
27073 tests.
27074 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27075 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27076 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27077 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27078 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27079 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27080 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27081 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27082 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27083 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27084 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27085 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27086 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27087 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27088 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27089 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27090 Likewise.
27091 [$(subdir) = elf && $(config-cflags-avx) = yes]
27092 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27093 [$(subdir) = elf && $(config-cflags-avx) = yes]
27094 (CFLAGS-tst-auditmod4a.c): Likewise.
27095 [$(subdir) = elf && $(config-cflags-avx) = yes]
27096 (CFLAGS-tst-auditmod4b.c): Likewise.
27097 [$(subdir) = elf && $(config-cflags-avx) = yes]
27098 (CFLAGS-tst-auditmod6b.c): Likewise.
27099 [$(subdir) = elf && $(config-cflags-avx) = yes]
27100 (CFLAGS-tst-auditmod6c.c): Likewise.
27101 [$(subdir) = elf && $(config-cflags-avx) = yes]
27102 (CFLAGS-tst-auditmod7b.c): Likewise.
27103 * elf/tst-audit3.c: Move to ...
27104 * sysdeps/x86_64/tst-audit3.c: ... here.
27105 * elf/tst-audit4.c: Move to ...
27106 * sysdeps/x86_64/tst-audit4.c: ... here.
27107 * elf/tst-audit5.c: Move to ...
27108 * sysdeps/x86_64/tst-audit5.c: ... here.
27109 * elf/tst-audit6.c: Move to ...
27110 * sysdeps/x86_64/tst-audit6.c: ... here.
27111 * elf/tst-audit7.c: Move to ...
27112 * sysdeps/x86_64/tst-audit7.c: ... here.
27113 * elf/tst-auditmod3a.c: Move to ...
27114 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27115 * elf/tst-auditmod3b.c: Move to ...
27116 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27117 * elf/tst-auditmod4a.c: Move to ...
27118 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27119 * elf/tst-auditmod4b.c: Move to ...
27120 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27121 * elf/tst-auditmod5a.c: Move to ...
27122 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27123 * elf/tst-auditmod5b.c: Move to ...
27124 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27125 * elf/tst-auditmod6a.c: Move to ...
27126 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27127 * elf/tst-auditmod6b.c: Move to ...
27128 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27129 * elf/tst-auditmod6c.c: Move to ...
27130 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27131 * elf/tst-auditmod7a.c: Move to ...
27132 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27133 * elf/tst-auditmod7b.c: Move to ...
27134 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27135
271362013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27137
27138 [BZ #15366]
27139 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27140 define unconditionally.
27141 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27142 define unconditionally.
27143 (INT8_C, INT16_C, etc.): Likewise.
27144
271452013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27146
27147 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27148 __ehdr_start with hidden visibility.
27149
27150 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27151
271522013-04-24 Carlos O'Donell <carlos@redhat.com>
27153
27154 * math/libm-test.inc (cos_test): Use accurate hex constants.
27155 (sincost_test): Likewise.
27156
271572013-04-24 Joseph Myers <joseph@codesourcery.com>
27158
27159 * math/libm-test.inc (catan_test): Add more tests.
27160 (catanh_test): Likewise.
27161
27162 * math/s_catanf.c (__catanf): Use suffixed floating-point
27163 constants.
27164 * math/s_catanhf.c (__catanhf): Likewise.
27165 * math/s_catanhl.c (__catanhl): Likewise.
27166 * math/s_catanl.c (__catanl): Likewise.
27167
27168 [BZ #15394]
27169 * math/s_catan.c (__catan): Calculate imaginary part of result
27170 with log1p not log unless computing log of number close to 0.
27171 * math/s_catanf.c (__catanf): Likewise.
27172 * math/s_catanl.c (__catanl): Likewise.
27173 * math/s_catanh.c (__catanh): Calculate real part of result with
27174 log1p not log unless computing log of number close to 0.
27175 * math/s_catanhf.c (__catanhf): Likewise.
27176 * math/s_catanhl.c (__catanhl): Likewise.
27177 * math/libm-test.inc (catan_test): Add more tests.
27178 (catanh_test): Likewise.
27179 * sysdeps/i386/fpu/libm-test-ulps: Update.
27180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27181
271822013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27183
27184 * benchtests/Makefile: Mention files in which fast and slow
27185 paths of math functions are implemented.
27186
271872013-04-23 Roland McGrath <roland@hack.frob.com>
27188
27189 * sysdeps/posix/timespec_get.c: New file.
27190
271912013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27192
27193 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27194 POWER.
27195 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27196 for POWER.
27197 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27198 powerpc/power5/fpu folders.
27199 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27200 * benchtests/Makefile: Add modf testcase.
27201 * benchtests/bench-modf.c: New file: Benchmark test for mo
27202
272032013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27204
27205 [BZ #14888]
27206 * time/Makefile (tests): Add tst-strptime-whitespace.
27207 * time/strptime_l.c (get_number): Use ISSPACE.
27208 (__strptime_internal): Likewise.
27209 * time/tst-strptime-whitespace.c: New test case.
27210
272112013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27212
27213 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27214 member.
27215 (_nss_files_init): Set it here.
27216
272172013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27218
27219 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27220 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27221 unsigned.
27222
272232013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27224
27225 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27226
272272013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27228
27229 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27230 size just once.
27231
272322013-04-21 David S. Miller <davem@davemloft.net>
27233
27234 * po/ru.po: Update Russion translation from translation project.
27235
272362013-04-17 Adam Conrad <adconrad@0c3.net>
27237
27238 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27239 and setfsgid.
27240
272412013-04-17 Carlos O'Donell <carlos@redhat.com>
27242
27243 * configure.in: Remove i386 configure warning. Remove i386 case.
27244 * configure: Regenerate.
27245 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27246 Add example to error message.
27247 * sysdeps/i386/configure: Regenerate.
27248
272492013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27250
27251 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27252 slowtan.
27253 * benchtests/cos-inputs: New file.
27254 * benchtests/slowcos-inputs: New file.
27255 * benchtests/slowcos.c: New file.
27256 * benchtests/slowtan-inputs: New file.
27257 * benchtests/slowtan.c: New file.
27258 * benchtests/tan-inputs: New file.
27259
272602013-04-16 Roland McGrath <roland@hack.frob.com>
27261
27262 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27263 considered kosher.
27264
272652013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27266
27267 * benchtests/Makefile: Include cppflags-iterator.mk to add
27268 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27269
27270 * Makefile.in (bench-clean): New target.
27271 * benchtests/Makefile (bench-clean): Likewise.
27272
272732013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27274
27275 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27276
272772013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27278
27279 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27280
272812013-04-15 Andreas Schwab <schwab@suse.de>
27282
27283 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27284 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27285 * nscd/pwdcache.c (cache_addpw): Likewise.
27286 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27287 more than recsize.
27288
272892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27290
27291 * benchtests/Makefile (bench): Write all output to
27292 bench-out.tmp together.
27293
272942013-04-15 Andreas Schwab <schwab@suse.de>
27295
27296 * nscd/nscd.c (main): Don't fork again after closing files.
27297
272982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27299
27300 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27301
27302 * benchtests/Rules (bench-deps): Collect dependencies into a
27303 single variable. Add Makefile to dependencies.
27304 ($(objpfx)bench-%.c): Depend on bench-deps.
27305
273062013-04-12 Roland McGrath <roland@hack.frob.com>
27307 Xavier Roche <roche+kml2@exalead.com>
27308
27309 [BZ #15361]
27310 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27311 just that it's a file descriptor.
27312 * manual/llio.texi (Synchronizing AIO Operations): Update description
27313 for EBADF error from aio_fsync.
27314
273152013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27316
27317 * Rules (bench): Move target definition...
27318 * benchtests/Makefile: ... here.
27319
273202013-04-11 Carlos O'Donell <carlos@redhat.com>
27321
27322 * math/libm-test.inc (cos_test): Fix PI/2 test.
27323 (sincos_test): Likewise.
27324 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27325 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27326
273272013-04-11 Andreas Schwab <schwab@suse.de>
27328
27329 [BZ #13988]
27330 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27331 accept exponent character only when digits were seen.
27332 * stdio-common/Makefile (tests): Add bug26.
27333 * stdio-common/bug26.c: New file.
27334
27335 [BZ #14293]
27336 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27337 non-freeable.
27338
273392013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27340
27341 * Makeconfig (rtld-prefix): Define built linker prefix.
27342 * Rules (run-bench): Use it.
27343 * math/Makefile (run-regen-ulps): Likewise.
27344
27345 * Rules (bench): Remove eval.
27346
273472013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27348 Roland McGrath <roland@hack.frob.com>
27349 Ondrej Bilka <neleai@seznam.cz>
27350
27351 [BZ #15346]
27352 * time/getdate.c: Include ctype.h and alloca.h.
27353 (__getdate_r): Trim leading and trailing spaces of input.
27354 * time/tst-getdate.c (tests): Add tests with leading and
27355 trailing spaces.
27356
273572013-04-08 Roland McGrath <roland@hack.frob.com>
27358
27359 [BZ #14280]
27360 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27361 when computing value.
27362
273632013-04-06 Carlos O'Donell <carlos@redhat.com>
27364
27365 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27366 Use testrun.sh to run libm tests.
27367
27368 [BZ #15309]
27369 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27370
273712013-04-06 Marko Myllynen <myllynen@redhat.com>
27372
27373 [BZ #15264]
27374 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27375
273762013-04-06 Carlos O'Donell <carlos@redhat.com>
27377
27378 * Makefile.in (regen-ulps): New target.
27379 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27380 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27381 [ifneq (no,$(PERL)] (regen-ulps): New target.
27382 [ifeq (no,$(PERL)] (regen-ulps): New target.
27383 * math/libm-test.inc (ulps_file_name): Define.
27384 (output_dir): New variable.
27385 (options): Add "output-dir" option.
27386 (parse_opt): Handle 'o' case.
27387 (main): If output_dir is non-NULL use it as a prefix
27388 otherwise use "".
27389 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27390
273912013-04-06 Carlos O'Donell <carlos@redhat.com>
27392
27393 [BZ #10060, #10062]
27394 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27395 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27396 fail configure if __sync_val_compare_and_swap is not inlined.
27397 * sysdeps/i386/configure: Regenerate.
27398 * configure.in: Build for i686 when configured for i386.
27399 * configure: Regenerate.
27400 * README: Remove i386 reference.
27401
274022013-04-06 Carlos O'Donell <carlos@redhat.com>
27403
27404 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27405 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27406
274072013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27408
27409 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27410 (lmsnanval): New variables.
27411 (F): Add conversion tests.
27412 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27413 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27414
27415 * stdio-common/tstdiomisc.c (F): Properly collect individual
27416 tests' results.
27417
27418 [BZ #14686, #15336]
27419 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27420 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27421 Instead, use input NaN values or generate a qNaN by arithmetic
27422 operation. Also fix bugs to comply with the standard.
27423 * math/libm-test.inc (remainder_test): Add more tests.
27424
27425 [BZ #15335, #15342]
27426 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27427 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27428 input NaN values or generate a qNaN by arithmetic operation.
27429
27430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27431 unreachable code.
27432
27433 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27434 definitions.
27435
274362013-04-03 Joseph Myers <joseph@codesourcery.com>
27437
27438 [BZ #14478]
27439 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27440 underflowed result.
27441 * math/s_cexpf.c (__cexpf): Likewise.
27442 * math/s_cexpl.c (__cexpl): Likewise.
27443 * math/libm-test.inc (cexp_test): Add more tests.
27444
274452013-04-03 Andreas Schwab <schwab@suse.de>
27446
27447 [BZ #15330]
27448 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27449 order arrays from heap if bigger than alloca cutoff.
27450
274512013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27452
27453 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27454 (SNAN_TESTS_double): Refer to GCC PR56831.
27455 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27456 GCC PR56828.
27457
274582013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27459
27460 * Rules (bench): Move bench.out after the run is complete.
27461
27462 * Rules (bench): Echo currently running benchmark.
27463
27464 * benchtests/Makefile (bench): Add atan and slowatan.
27465 * benchtests/atan-inputs: New file.
27466 * benchtests/slowatan-inputs: New file.
27467 * benchtests/slowatan.c: New file.
27468
27469 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27471 its value.
27472
27473 [BZ #15305]
27474 * sysdeps/unix/sysv/linux/kernel-features.h
27475 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27476 __ASSUME_XFS_RESTRICTED_CHOWN.
27477 * sysdeps/unix/sysv/linux/pathconf.c
27478 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27479 Save and restore errno.
27480
274812013-04-02 Joseph Myers <joseph@codesourcery.com>
27482
27483 [BZ #15327]
27484 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27485 arguments using __kernel_casinh.
27486 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27487 arguments using __kernel_casinhf.
27488 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27489 arguments using __kernel_casinhl.
27490 * math/libm-test.inc (cacosh_test): Add more tests.
27491 * sysdeps/i386/fpu/libm-test-ulps: Update.
27492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27493
274942013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27495
27496 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27498
27499 * bench/Makefile (bench): Add sin and slowsin.
27500 * benchtests/sin-inputs: New file.
27501 * benchtests/slowsin-inputs: New file.
27502 * benchtests/slowsin.c: New file.
27503
27504 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27505 (bench): Add slowexp and slowpow.
27506 (exp-ITER): Increase iterations.
27507 (pow-ITER): Likewise.
27508 * benchtests/exp-inputs: Change input.
27509 * benchtests/pow-inputs: Likewise.
27510 * benchtests/slowexp-inputs: New file.
27511 * benchtests/slowexp.c: New file.
27512 * benchtests/slowpow-inputs: New file.
27513 * benchtests/slowpow.c: New file.
27514
275152013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27516
27517 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27518 instructions.
27519 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27520 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27521 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27522 * benchtests/Makefile: Add rint benchtest.
27523 * benchtests/rint-inputs: Input for rint benchtest.
27524
275252013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27526
27527 * Versions.def (libm): Add GLIBC_2.18.
27528 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27529 hidden libm prototypes.
27530 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27531 * math/Makefile (libm-calls): Add s_issignaling.
27532 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27533 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27534 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27535 declaration.
27536 * math/math.h [__USE_GNU] (issignaling): New macro.
27537 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27538 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27539 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27540 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27543 * manual/arith.texi (issignaling): New section.
27544 * manual/libm-err-tab.pl (@all_functions): Update comment.
27545 * math/gen-libm-test.pl (parse_args): Apply special handling for
27546 issignaling.
27547 * math/libm-test.inc (print_float, issignaling_test): New
27548 functions.
27549 (check_float_internal): Add issignaling checks.
27550 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27551 default definition.
27552 * sysdeps/powerpc/math-tests.h: New file.
27553 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27554 tests.
27555 * math/test-snan.c (TEST_FUNC): Likewise.
27556
275572013-03-30 David S. Miller <davem@davemloft.net>
27558
27559 * po/de.po: Update from translation team.
27560
275612013-03-30 Joseph Myers <joseph@codesourcery.com>
27562
27563 [BZ #10357]
27564 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27565 imaginary part less than 1.0 and real part less than 0.5
27566 specially.
27567 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27568 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27569 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27570 (cacos_test): Add more tests.
27571 (casin_test): Likewise.
27572 (casinh_test): Likewise.
27573 * sysdeps/i386/fpu/libm-test-ulps: Update.
27574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27575
275762013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27577
27578 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27579 ONE with its value.
27580
27581 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27582 (__pow_mp): Replace ONE and MONE with their values.
27583 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27584 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27585 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27586 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27587 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27588 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27589
27590 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27591
27592 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27593 (__pow_mp): Replace ZERO and MZERO with their values.
27594 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27595 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27596 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27598 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27599 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27600 (__sqr): Likewise.
27601
27602 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27603
27604 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27605
276062013-03-28 Roland McGrath <roland@hack.frob.com>
27607
27608 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27609 Declare with __attribute__ ((weak)).
27610 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27611 Call __call_tls_dtors only if it's not NULL.
27612
276132013-03-28 Roland McGrath <roland@hack.frob.com>
27614
27615 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27616 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27617 magic __ehdr_start linker symbol if it's defined.
27618 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27619 them up here if it was already done.
27620
27621 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27622 (_dl_aux_init): Use const in cast when setting it.
27623 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27624 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27625 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27626
27627 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27628 Declare them here.
27629 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27630 * csu/libc-tls.c: Nor here.
27631 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27632
27633 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27634 (__libc_message): Never call vsyslog.
27635
276362013-03-28 Alan Modra <amodra@gmail.com>
27637
27638 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27639 Define as empty.
27640 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27641 Likewise.
27642
276432013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27644
27645 [BZ #15214]
27646 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27647 underflow.
27648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27649
276502013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27651
27652 [BZ #15304]
27653 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27654 Don't add gid passed as argument.
27655
27656 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27657
276582013-03-27 Joseph Myers <joseph@codesourcery.com>
27659
27660 [BZ #15307]
27661 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27662 imaginary part between 1.0 and 1.5 and real part less than 0.5
27663 specially.
27664 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27665 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27666 * math/libm-test.inc (cacos_test): Add more tests.
27667 (casin_test): Likewise.
27668 (casinh_test): Likewise.
27669 * sysdeps/i386/fpu/libm-test-ulps: Update.
27670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27671
276722013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27673
27674 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27675 constants.
27676 (norm): Likewise.
27677 (denorm): Likewise.
27678 (__dbl_mp): Likewise.
27679 (add_magnitudes): Likewise.
27680 (sub_magnitudes): Likewise.
27681 (__add): Likewise.
27682 (__sub): Likewise.
27683 (__mul): Likewise.
27684 (__sqr): Likewise.
27685 (__inv): Likewise.
27686 (__dvd): Likewise.
27687
27688 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27689 commented code.
27690 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27691 (__dubcos): Likewise.
27692 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27693 (__ieee754_acos): Likewise.
27694 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27695 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27696 (__exp1): Likewise.
27697 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27698 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27699 (log1): Likewise.
27700 (my_log2): Likewise.
27701 (checkint): Likewise.
27702 * sysdeps/ieee754/dbl-64/e_remainder.c
27703 (__ieee754_remainder): Likewise.
27704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27705 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27706 (bsloww): Likewise.
27707 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27708
27709 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27710 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27711 MANTISSA_STORE_T to store computations on mantissa. Use
27712 macros for rounding and division.
27713 (denorm): Likewise.
27714 (__dbl_mp): Likewise.
27715 (add_magnitudes): Likewise.
27716 (sub_magnitudes): Likewise.
27717 (__mul): Likewise.
27718 (__sqr): Likewise.
27719 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27720 powers of two in terms of TWOPOW macro.
27721 (mp_no): Make type of mantissa as MANTISSA_T.
27722 [!RADIXI]: Define RADIXI.
27723 [!TWO52]: Define TWO52.
27724 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27725
277262013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27727
27728 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27729 llroundl symbol when building for PPC32.
27730
277312013-03-24 Mark H Weaver <mhw@netris.org>
27732
27733 * manual/arith.texi (Normalization Functions): Fix prototypes for
27734 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27735
277362013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27737
27738 [BZ #13889]
27739 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27740 high value to check if expl overflow.
27741 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27742 to check for underflow and overflow.
27743 * math/libm-test.inc: Add exp test.
27744
277452013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27746
27747 [BZ #11120]
27748 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27749 with NOT_IN_libc.
27750
277512013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27752
27753 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27754 symbol.
27755
277562013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27757
27758 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27759 wrap blocks consisting of several statements.
27760
27761 * sysdeps/generic/math-tests.h: New file.
27762 * sysdeps/i386/fpu/math-tests.h: Likewise.
27763 * math/test-snan.c: Include it.
27764 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27765
277662013-03-21 Joseph Myers <joseph@codesourcery.com>
27767
27768 [BZ #15285]
27769 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27770 (__ieee754_j0l): Do not improve calculations using cos of twice
27771 input for inputs above LDBL_MAX / 2.0L.
27772 (__ieee754_y0l): Likewise.
27773 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27774 (__ieee754_j1l): Do not improve calculations using cos of twice
27775 input for inputs above LDBL_MAX / 2.0L.
27776 (__ieee754_y1l): Likewise.
27777 * math/libm-test.inc (j0_test): Add another test.
27778 (j1_test): Likewise.
27779 (y0_test): Likewise.
27780 (y1_test): Likewise.
27781 * sysdeps/i386/fpu/libm-test-ulps: Update.
27782
277832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27784
27785 * Rules ($(objpfx)bench-%.c): Include code from a C source
27786 file.
27787
277882013-03-21 Joseph Myers <joseph@codesourcery.com>
27789
27790 [BZ #15287]
27791 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27792 imaginary part 1.0 and real part less than 0.5 specially.
27793 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27794 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27795 * math/libm-test.inc (cacos_test): Add more tests.
27796 (casin_test): Likewise.
27797 (casinh_test): Likewise.
27798 * sysdeps/i386/fpu/libm-test-ulps: Update.
27799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27800
278012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27802
27803 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27804 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27805
278062013-03-20 Joseph Myers <joseph@codesourcery.com>
27807
27808 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27809 * config.make.in (config-cflags-sse4): Remove variable.
27810 (config-cflags-avx): Likewise.
27811 (config-cflags-sse2avx): Likewise.
27812 (config-cflags-novzeroupper): Likewise.
27813 (config-asflags-i686): Likewise.
27814 (have-mfma4): Likewise.
27815 (have-as-vis3): Likewise.
27816 (MIG): Likewise.
27817 * configure.in (MIG): Do not AC_SUBST.
27818 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27819 (libc_cv_cc_sse4): Do not AC_SUBST.
27820 (libc_cv_cc_avx): Likewise.
27821 (libc_cv_cc_sse2avx): Likewise.
27822 (libc_cv_cc_novzeroupper): Likewise.
27823 (libc_cv_cc_fma4): Likewise.
27824 (libc_cv_as_i686): Likewise.
27825 (libc_cv_sparc_as_vis3): Likewise.
27826 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27827 LIBC_CONFIG_VAR.
27828 (config-asflags-i686): Likewise.
27829 (config-cflags-avx): Likewise.
27830 (config-cflags-sse2avx): Likewise.
27831 (have-mfma4): Likewise.
27832 (config-cflags-novzeroupper): Likewise.
27833 * sysdeps/mach/configure.in (MIG): Likewise.
27834 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27835 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27836 LIBC_CONFIG_VAR.
27837 (config-cflags-avx): Likewise.
27838 (config-cflags-sse2avx): Likewise.
27839 (have-mfma4): Likewise.
27840 (config-cflags-novzeroupper): Likewise.
27841 * configure: Regenerated.
27842 * sysdeps/i386/configure: Likewise.
27843 * sysdeps/mach/configure: Likewise.
27844 * sysdeps/sparc/configure: Likewise.
27845 * sysdeps/x86_64/configure: Likewise.
27846
278472013-03-20 Roland McGrath <roland@hack.frob.com>
27848
27849 [BZ #14812]
27850 * locale/programs/localedef.c (options): Put N_ translation marker
27851 on argument names, not just descriptions.
27852
278532013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27854
27855 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27856
278572013-03-20 Ondřej Bílka <neleai@seznam.cz>
27858
27859 [BZ #14176]
27860 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27861
278622013-03-19 Roland McGrath <roland@hack.frob.com>
27863
27864 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27865 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27866 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27867 [!BEFORE_ABORT] (before_abort): New function.
27868 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27869 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27870 (writev_for_fatal): New function.
27871 (WRITEV_FOR_FATAL): New macro; call that.
27872 (backtrace_and_maps): New function.
27873 (BEFORE_ABORT): New macro; call that.
27874 (struct str_list): Type removed.
27875 (__libc_message, __libc_fatal): Functions removed.
27876 Include <sysdeps/posix/libc_fatal.c> instead.
27877
278782013-03-19 Joseph Myers <joseph@codesourcery.com>
27879
27880 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27881 constants.
27882 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27883 double constants.
27884
278852013-03-19 Andreas Schwab <schwab@suse.de>
27886
27887 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27888 * sysdeps/gnu/configure: Regenerate.
27889
27890 * configure.in: Substitute libc_cv_rtlddir.
27891 * configure: Regenerate.
27892 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27893 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27894 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27895 * elf/Makefile (install-others, CFLAGS-interp.c)
27896 (ldso_install, common-ldd-rewrite): Likewise.
27897 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27898 $(inst_slibdir)/$(rtld-installed-name).
27899 * scripts/rellns-sh: Add -p option.
27900 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27901 for source.
27902
279032013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27904
27905 * manual/nptl.texi: Renamed to ...
27906 * manual/threads.texi: ... this.
27907 * manual/Makefile (chapters): Update.
27908
279092013-03-18 Roland McGrath <roland@hack.frob.com>
27910
27911 [BZ #14812]
27912 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27913 on argument names, not just descriptions.
27914 * malloc/memusagestat.c (options): Likewise.
27915 * nss/getent.c (options): Likewise.
27916
279172013-03-18 Benno Schulenberg <bensberg@justemail.net>
27918
27919 [BZ #14812]
27920 * iconv/iconv_prog.c (options): Put N_ translation marker
27921 on argument names, not just descriptions.
27922 * iconv/iconvconfig.c (options): Likewise.
27923
279242013-03-18 Ondrej Bilka <neleai@seznam.cz>
27925
27926 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27927 implementation which is faster on all x86_64 architectures.
27928 Tested on AMD, Intel Nehalem, SNB, IVB.
27929 * sysdeps/x86_64/strnlen.S: Likewise.
27930
27931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27932 Remove all multiarch strlen and strnlen versions.
27933 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27934 Remove strlen and strnlen related parts.
27935
27936 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27937 Inline strlen part.
27938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27939
27940 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27941 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27942 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27943 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27944 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27945 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27946
279472013-03-17 Carlos O'Donell <carlos@redhat.com>
27948
27949 * manual/memory.texi (Malloc Tunable Parameters):
27950 Sort parameters alphabetically. Add comments for missing entries.
27951
279522013-03-17 David S. Miller <davem@davemloft.net>
27953
27954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27955
279562013-03-16 Joseph Myers <joseph@codesourcery.com>
27957
27958 [BZ #15283]
27959 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27960 for arguments at most half maximum finite value.
27961 * math/libm-test.inc (j0_test): Add more tests.
27962 (j1_test): Likewise.
27963 (y0_test): Likewise.
27964 (y1_test): Likewise.
27965 * sysdeps/i386/fpu/libm-test-ulps: Update.
27966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27967
27968 [BZ #14155]
27969 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27970 1 / x and functions P and Q for arguments above 0x1p256L.
27971 (__ieee754_y0l): Likewise.
27972 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27973 (__ieee754_y1l): Likewise.
27974 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27975 (j1_test): Likewise.
27976 (y0_test): Likewise.
27977 (y1_test): Likewise.
27978
279792013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27980
27981 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27982 variable.
27983
279842013-03-15 Roland McGrath <roland@hack.frob.com>
27985
27986 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27987 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27988 zero since it's initialized to EXEC_PAGESIZE.
27989
27990 * sysdeps/unix/sysv/linux/ldsodefs.h
27991 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27992 * sysdeps/generic/ldsodefs.h: ... here.
27993
279942013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27995
27996 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27997
27998 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27999 math/test-snan.c.
28000 * math/test-snan.c: Renamed from
28001 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28002 * math/Makefile (tests): Add test-snan.
28003 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28004 test-powerpc-snan.
28005
28006 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28007 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28008 functions.
28009 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28010 __builtin_nan family of functions.
28011 * math/libm-test.inc (initialize): Initialize qnan_value with
28012 __builtin_nan family of functions.
28013 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28014 Remove variables.
28015 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28016 Remove functions.
28017 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28018 storage class. Initialize qNaN_var and sNaN_var with
28019 __builtin_nan and __builtin_nans families of functions,
28020 respectively.
28021
28022 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28023 (sqrt_test): Remove duplicate test with qNaN input.
28024 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28025 (round_test, signbit_test, significand_test): Note missing +/-Inf
28026 as well as qNaN tests.
28027
28028 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28029 qNaN_var. Fix a few strings, too.
28030 * math/libm-test.inc (nan_value): Rename to qnan_value.
28031 * math/gen-libm-test.pl (%beautify): Adjust to that.
28032 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28033 * math/test-misc.c (main): Likewise.
28034 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28035 to __qnan_bytes, and __qnan_union, respectively.
28036 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28037 Likewise.
28038 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28039 and lqnanval, respectively.
28040 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28041 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28042 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28043 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28044
28045 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28046 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28047 doubles.
28048
28049 * math/test-misc.c (main): Fix copy'n'pastos.
28050 * misc/tst-efgcvt.c (special): Likewise.
28051
28052 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28053 Remove declarations.
28054
280552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28056
28057 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28058 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28059 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28060 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28061
280622013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28063
28064 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28065 macro to return vdso values correctly in IFUNC implementations.
28066 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28067 Optimization by using IFUNC.
28068
280692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28070 Richard Henderson <rth@redhat.com>
28071 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28072
28073 * Makefile.in (bench): New target.
28074 * NEWS: Mention the benchmark framework.
28075 * Rules (bench): Likewise.
28076 (binaries-bench): Generate binaries for functions to
28077 benchmark.
28078 * benchtests/Makefile: New makefile for benchmark tests.
28079 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28080 programs.
28081 * benchtests/exp-inputs: New input file for EXP function.
28082 * benchtests/pow-inputs: New input file for POW function.
28083 * scripts/bench.pl: New script to generate source files for
28084 benchmark programs.
28085
280862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28087
28088 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28089 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28090 computations on mantissa. Use macros for rounding and
28091 division.
28092 (denorm): Likewise.
28093 (__dbl_mp): Likewise.
28094 (add_magnitudes): Likewise.
28095 (sub_magnitudes): Likewise.
28096 (__mul): Likewise.
28097 (__sqr): Likewise.
28098 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28099 powers of two in terms of TWOPOW macro.
28100 (mp_no): Make type of mantissa as MANTISSA_T.
28101 [!RADIXI]: Define RADIXI.
28102 [!TWO52]: Define TWO52.
28103 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28104
28105 * manual/nptl.texi (cindex): Modify threads to pthreads.
28106
281072013-03-15 Joseph Myers <joseph@codesourcery.com>
28108
28109 * sysdeps/x86_64/preconfigure: Regenerated.
28110
281112013-03-14 Joseph Myers <joseph@codesourcery.com>
28112
28113 [BZ #14155]
28114 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28115 0x1p28 and above.
28116 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28117 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28118 0x1p28 and above.
28119 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28120 * math/libm-test.inc (j0_test): Do not allow one spurious
28121 underflow exception.
28122 (y1_test): Likewise.
28123
281242013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28125
28126 * manual/Makefile (chapters): Add nptl.
28127 * manual/debug.texi (Debugging Support): Add link to Threads
28128 chapter.
28129 * manual/nptl.texi: New file.
28130
28131 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28132
281332013-03-14 Petr Baudis <pasky@ucw.cz>
28134
28135 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28136 for non-NULL pointer before the memory validity test. Pointed
28137 out by Holger Brunck <holger.brunck@keymile.com>.
28138
281392013-03-13 Andreas Schwab <schwab@suse.de>
28140
28141 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28142 instead of .os.
28143
281442013-03-13 Joseph Myers <joseph@codesourcery.com>
28145
28146 * timezone/zic.c: Update from tzcode 2013b.
28147
281482013-03-12 Carlos O'Donell <carlos@redhat.com>
28149
28150 * manual/install.texi (Configuring and compiling):
28151 Mention i686 and i586.
28152 * INSTALL: Regenerate.
28153
281542013-03-12 Roland McGrath <roland@hack.frob.com>
28155
28156 * sysdeps/init_array/elf-init.c: New file.
28157 * csu/elf-init.c
28158 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28159 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28160
28161 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28162 __gmon_start__ as global, but as static with a .preinit_array pointer.
28163 * sysdeps/init_array/gmon-start.c: New file. Use that.
28164 * sysdeps/init_array/crti.S: New file, empty except for comments.
28165 * sysdeps/init_array/crtn.S: Likewise.
28166
281672013-03-11 Ondřej Bílka <neleai@seznam.cz>
28168
28169 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28170 definining bcopy.
28171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28172 Remove Prefer_SSE_for_memop.
28173 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28174 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28175 HAS_PREFER_SSE_FOR_MEMOP.
28176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28177 memset-x86-64.
28178 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28179 Remove bzero, memset ifunc support.
28180 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28181 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28182 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28183 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28184
281852013-03-11 Andreas Schwab <schwab@suse.de>
28186
28187 [BZ #15234]
28188 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28189 by SHLIB_COMPAT.
28190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28191 (GLIBC_2.16): Remove pthread_atfork.
28192
281932013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28194
28195 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28196 (ptestcases.h): Likewise.
28197
281982013-03-08 Roland McGrath <roland@hack.frob.com>
28199
28200 * Makeconfig ($(common-objpfx)config.status): Depend on
28201 sysdeps/*/preconfigure{,.in} too.
28202
282032013-03-08 Joseph Myers <joseph@codesourcery.com>
28204
28205 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28206 (__free_hook): Use void * instead of __malloc_ptr_t.
28207 (__malloc_hook): Likewise.
28208 (__realloc_hook): Likewise.
28209 (__memalign_hook): Likewise.
28210 (__after_morecore_hook): Likewise.
28211 * malloc/arena.c (save_malloc_hook): Likewise.
28212 (save_free_hook): Likewise.
28213 * malloc/hooks.c (malloc_hook_ini): Likewise.
28214 (realloc_hook_ini): Likewise.
28215 (memalign_hook_ini): Likewise.
28216 * malloc/malloc.c (malloc_hook_ini): Likewise.
28217 (realloc_hook_ini): Likewise.
28218 (memalign_hook_ini): Likewise.
28219 (__free_hook): Likewise.
28220 (__malloc_hook): Likewise.
28221 (__realloc_hook): Likewise.
28222 (__memalign_hook): Likewise.
28223 (__libc_malloc): Likewise.
28224 (__libc_free): Likewise.
28225 (__libc_realloc): Likewise.
28226 (__libc_memalign): Likewise.
28227 (__libc_valloc): Likewise.
28228 (__libc_pvalloc): Likewise.
28229 (__libc_calloc): Likewise.
28230 (__posix_memalign): Likewise.
28231 * malloc/morecore.c (__sbrk): Likewise.
28232 (__default_morecore): Likewise.
28233
28234 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28235
28236 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28237 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28238 __malloc_ptrdiff_t.
28239
28240 * malloc/malloc.h (__malloc_size_t): Remove macro.
28241 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28242 __malloc_size_t.
28243 (old_memalign_hook): Likewise.
28244 (old_realloc_hook): Likewise.
28245 (struct hdr): Likewise.
28246 (flood): Likewise.
28247 (mallochook): Likewise.
28248 (memalignhook): Likewise.
28249 (reallochook): Likewise.
28250 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28251 (tr_old_realloc_hook): Likewise.
28252 (tr_old_memalign_hook): Likewise.
28253 (tr_mallochook): Likewise.
28254 (tr_reallochook): Likewise.
28255 (tr_memalignhook): Likewise.
28256
282572013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28258
28259 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28260 default_ldbl_pack and using as default implementation.
28261 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28262 implementation.
28263 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28264 redundant definition.
28265 (ldbl_insert_mantissa): Likewise.
28266 (ldbl_canonicalize): Likewise.
28267 (ldbl_nearbyint): Likewise.
28268 (ldbl_pack): Rename to ldbl_pack_ppc.
28269 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28270 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28271 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28272
282732013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28274
28275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28276 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28277 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28278 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28280 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28281 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28282 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28283
282842013-03-07 Andreas Jaeger <aj@suse.de>
28285
28286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28287 bits/mman-linux.h.
28288
282892013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28290
28291 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28292 Include mpa.h and declare __MPEXP.
28293 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28294 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28295 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28296 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28297 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28298 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28299 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28300
28301 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28302 (__slowpow): Use long double EXPL and LOGL functions to
28303 compute POW.
28304 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28305 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28306 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28307 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28308 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28309 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28310
28311 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28312 intermediate variable to calculate exponent.
28313 (__sqr): Likewise.
28314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28315 Likewise.
28316 (__sqr): Likewise.
28317
28318 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28319 [!NO__SQR]: Define __sqr.
28320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28321 and NO__SQR. Remove all code except __mul and __sqr. Include
28322 sysdeps/ieee754/dbl-64/mpa.c.
28323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28324
28325 [BZ #12723]
28326 * posix/Makefile (tests): Add tst-pathconf.
28327 * posix/tst-pathconf.c: New test case.
28328 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28329 _PC_PIPE_BUF.
28330 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28331
283322013-03-06 Patsy Franklin <pfrankli@redhat.com>
28333
28334 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28335
283362013-03-06 Andreas Jaeger <aj@suse.de>
28337
28338 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28339 definition via __MAP_ANONYMOUS.
28340
28341 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28342 it's not part of Linux headers.
28343
28344 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28345 (MAP_HUGE_MASK): Define.
28346
28347 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28348 Define.
28349 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28350 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28351 Define.
28352 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28353 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28354 Define.
28355 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28356 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28357 Define.
28358 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28359
28360 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28361 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28362 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28363 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28364 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28365 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28366
28367 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28368 Handle f2fs.
28369
28370 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28371 Handle f2fs and efivarfs.
28372
28373 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28374 f2fs.
28375
28376 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28377 (EFIVARFS_MAGIC): Add.
28378 (F2FS_LINK_MAX): Add.
28379
283802013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28381
28382 * stdio-common/vfprintf.c: Replace __builtin_expect with
28383 __glibc_unlikely.
28384
283852013-03-06 Joseph Myers <joseph@codesourcery.com>
28386
28387 [BZ #13550]
28388 * sysdeps/generic/bp-sym.h: Remove file.
28389 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28390 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28391 <bp-sym.h> and <bp-asm.h>.
28392 (__longjmp): Don't use BP_SYM.
28393 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28394 and <bp-asm.h>.
28395 (memcpy): Don't use BP_SYM.
28396 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28397 <bp-sym.h> and <bp-asm.h>.
28398 (memcpy): Don't use BP_SYM.
28399 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28400 <bp-asm.h>.
28401 (memcpy): Don't use BP_SYM.
28402 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28403 <bp-asm.h>.
28404 (memset): Don't use BP_SYM.
28405 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28406 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28407 (__bzero): Don't use BP_SYM.
28408 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28409 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28410 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28411 <bp-sym.h> and <bp-asm.h>.
28412 (memcmp): Don't use BP_SYM. Remove comment about bounded
28413 pointers.
28414 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28415 <bp-sym.h> and <bp-asm.h>.
28416 (memcpy): Don't use BP_SYM.
28417 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28418 <bp-sym.h> and <bp-asm.h>.
28419 (memset): Don't use BP_SYM.
28420 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28421 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28422 (__bzero): Don't use BP_SYM.
28423 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28424 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28425 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28426 <bp-sym.h> and <bp-asm.h>.
28427 (strncmp): Don't use BP_SYM. Remove comment about bounded
28428 pointers.
28429 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28430 <bp-sym.h> and <bp-asm.h>.
28431 (memcpy): Don't use BP_SYM.
28432 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28433 <bp-sym.h> and <bp-asm.h>.
28434 (memset): Don't use BP_SYM.
28435 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28436 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28437 (__bzero): Don't use BP_SYM.
28438 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28439 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28441 <bp-sym.h> and <bp-asm.h>.
28442 (__memchr): Don't use BP_SYM.
28443 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28444 <bp-sym.h> and <bp-asm.h>.
28445 (memcmp): Don't use BP_SYM. Remove comment about bounded
28446 pointers.
28447 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28448 <bp-sym.h> and <bp-asm.h>.
28449 (memcpy): Don't use BP_SYM.
28450 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28451 <bp-sym.h> and <bp-asm.h>.
28452 (__mempcpy): Don't use BP_SYM.
28453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28454 <bp-sym.h> and <bp-asm.h>.
28455 (__memrchr): Don't use BP_SYM.
28456 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28457 <bp-sym.h> and <bp-asm.h>.
28458 (memset): Don't use BP_SYM.
28459 (__bzero): Likewise.
28460 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28461 <bp-sym.h> and <bp-asm.h>.
28462 (__rawmemchr): Don't use BP_SYM.
28463 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28464 <bp-sym.h> and <bp-asm.h>.
28465 (__STRCMP): Don't use BP_SYM.
28466 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28467 <bp-sym.h> and <bp-asm.h>.
28468 (strchr): Don't use BP_SYM.
28469 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28470 <bp-sym.h> and <bp-asm.h>.
28471 (__strchrnul): Don't use BP_SYM.
28472 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28473 <bp-sym.h> and <bp-asm.h>.
28474 (strlen): Don't use BP_SYM.
28475 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28476 <bp-sym.h> and <bp-asm.h>.
28477 (strncmp): Don't use BP_SYM. Remove comment about bounded
28478 pointers.
28479 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28480 <bp-sym.h> and <bp-asm.h>.
28481 (__strnlen): Don't use BP_SYM.
28482 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28483 <bp-sym.h> and <bp-asm.h>.
28484 (__GI__setjmp): Don't use BP_SYM.
28485 (_setjmp): Likewise.
28486 (__sigsetjmp): Likewise.
28487 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28488 (L(start_addresses)): Don't use BP_SYM.
28489 (_start): Likewise.
28490 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28491 <bp-asm.h>.
28492 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28493 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28494 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28495 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28496 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28497 <bp-asm.h>.
28498 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28499 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28500 about bounded pointers.
28501 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28502 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28503 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28504 <bp-asm.h>.
28505 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28506 about bounded pointers. Remove GKM FIXME comments.
28507 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28508 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28509 <bp-asm.h>.
28510 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28511 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28512 Remove GKM FIXME comments.
28513 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28514 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28515 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28516 <bp-asm.h>.
28517 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28518 about bounded pointers. Remove GKM FIXME comment.
28519 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28520 and <bp-asm.h>.
28521 (strncmp): Don't use BP_SYM. Remove comment about bounded
28522 pointers.
28523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28524 <bp-sym.h> and <bp-asm.h>.
28525 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28527 <bp-sym.h> and <bp-asm.h>.
28528 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28529 comment.
28530
285312013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28532
28533 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28534 call free(NULL).
28535
285362013-03-05 David S. Miller <davem@davemloft.net>
28537
28538 * po/es.po: Update from translation team.
28539
285402013-03-05 Andreas Jaeger <aj@suse.de>
28541
28542 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28543 <bits/mman-linux.h>.
28544 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28545 is fine.
28546 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28547 <bits/mman-linux.h> to end of file.
28548 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28549 is fine.
28550 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28551 <bits/mman-linux.h> to end of file.
28552 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28553 is fine.
28554 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28555 <bits/mman-linux.h> to end of file.
28556
28557 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28558 (MCL_CURRENT, MCL_FUTURE): Define here.
28559
285602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28561
28562 [BZ #15232]
28563 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28564 attribute_hidden.
28565 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28566
285672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28568
28569 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28570 fourth parameter needed for rt_sigprocmask syscall.
28571 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28572 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28573 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28574 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28575 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28576 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28577
285782013-03-04 Joseph Myers <joseph@codesourcery.com>
28579
28580 [BZ #13550]
28581 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28582 comment about bounded pointers.
28583 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28584 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28585
285862013-03-04 Andreas Jaeger <aj@suse.de>
28587
28588 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28589 common definitions.
28590
28591 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28592 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28593 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28594 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28596 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28597
285982013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28599
28600 [BZ #15055]
28601 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28602 __ieee754_sqrl instead of __sqrl.
28603
286042013-03-01 Joseph Myers <joseph@codesourcery.com>
28605
28606 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28607 * sysdeps/powerpc/fpu_control.h: ... here.
28608 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28609 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28610 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28611 * sysdeps/powerpc/bits/mathinline.h: ... here.
28612
286132013-03-01 Roland McGrath <roland@hack.frob.com>
28614
28615 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28616 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28617 to just [NEED_DL_SYSINFO_DSO].
28618 * elf/dl-support.c: Likewise.
28619 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28620 * elf/rtld.c (dl_main): Likewise.
28621 * elf/setup-vdso.h (setup_vdso): Likewise.
28622 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28623 * sysdeps/unix/sysv/linux/dl-sysdep.c
28624 (_dl_discover_osversion): Likewise.
28625
286262013-03-01 Carlos O'Donell <carlos@redhat.com>
28627
28628 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28629 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28630
286312013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28632
28633 * NEWS: Mention libm performance improvements and non-x86 PI
28634 futex support.
28635
28636 * csu/libc-start.c (__pthread_initialize_minimal): Change
28637 function arguments.
28638 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28639
286402013-02-28 Joseph Myers <joseph@codesourcery.com>
28641
28642 [BZ #13550]
28643 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28644 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28645 <bp-sym.h> and <bp-asm.h>.
28646 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28647 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28648 and <bp-asm.h>.
28649 (memcpy): Don't use BP_SYM.
28650 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28651 <bp-asm.h>.
28652 (__mpn_add_n): Don't use BP_SYM.
28653 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28654 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28655 and <bp-asm.h>.
28656 (__mpn_addmul_1): Don't use BP_SYM.
28657 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28658 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28659 <bp-sym.h>.
28660 (_setjmp): Don't use BP_SYM.
28661 (__novmx_setjmp): Likewise.
28662 (__GI__setjmp): Likewise.
28663 (__vmx_setjmp): Likewise.
28664 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28665 <bp-sym.h>.
28666 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28667 (__bzero): Don't use BP_SYM.
28668 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28669 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28670 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28671 <bp-sym.h> and <bp-asm.h>.
28672 (memcpy): Don't use BP_SYM.
28673 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28674 <bp-sym.h> and <bp-asm.h>.
28675 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28676 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28677 <bp-sym.h> and <bp-asm.h>.
28678 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28679 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28680 <bp-asm.h>.
28681 (__mpn_lshift): Don't use BP_SYM.
28682 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28683 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28684 <bp-asm.h>.
28685 (memset): Don't use BP_SYM.
28686 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28687 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28688 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28689 <bp-asm.h>.
28690 (__mpn_mul_1): Don't use BP_SYM.
28691 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28692 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28693 <bp-sym.h> and <bp-asm.h>.
28694 (memcmp): Don't use BP_SYM.
28695 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28696 <bp-sym.h> and <bp-asm.h>.
28697 (memcpy): Don't use BP_SYM.
28698 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28699 <bp-sym.h> and <bp-asm.h>.
28700 (memset): Don't use BP_SYM.
28701 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28702 <bp-sym.h> and <bp-asm.h>.
28703 (strncmp): Don't use BP_SYM.
28704 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28705 <bp-sym.h> and <bp-asm.h>.
28706 (memcpy): Don't use BP_SYM.
28707 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28708 <bp-sym.h> and <bp-asm.h>.
28709 (memset): Don't use BP_SYM.
28710 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28711 <bp-sym.h> and <bp-asm.h>.
28712 (__memchr): Don't use BP_SYM.
28713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28714 <bp-sym.h> and <bp-asm.h>.
28715 (memcmp): Don't use BP_SYM.
28716 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28717 <bp-sym.h> and <bp-asm.h>.
28718 (memcpy): Don't use BP_SYM.
28719 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28720 <bp-sym.h> and <bp-asm.h>.
28721 (__mempcpy): Don't use BP_SYM.
28722 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28723 <bp-sym.h> and <bp-asm.h>.
28724 (__memrchr): Don't use BP_SYM.
28725 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28726 <bp-sym.h> and <bp-asm.h>.
28727 (memset): Don't use BP_SYM.
28728 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28729 <bp-sym.h> and <bp-asm.h>.
28730 (__rawmemchr): Don't use BP_SYM.
28731 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28732 <bp-sym.h> and <bp-asm.h>.
28733 (__STRCMP): Don't use BP_SYM.
28734 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28735 <bp-sym.h> and <bp-asm.h>.
28736 (strchr): Don't use BP_SYM.
28737 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28738 <bp-sym.h> and <bp-asm.h>.
28739 (__strchrnul): Don't use BP_SYM.
28740 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28741 <bp-sym.h> and <bp-asm.h>.
28742 (strlen): Don't use BP_SYM.
28743 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28744 <bp-sym.h> and <bp-asm.h>.
28745 (strncmp): Don't use BP_SYM.
28746 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28747 <bp-sym.h> and <bp-asm.h>.
28748 (__strnlen): Don't use BP_SYM.
28749 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28750 <bp-asm.h>.
28751 (__mpn_rshift): Don't use BP_SYM.
28752 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28753 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28754 <bp-sym.h> and <bp-asm.h>.
28755 (__sigsetjmp): Don't use BP_SYM.
28756 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28757 (L(start_addresses)): Don't use BP_SYM.
28758 (_start): Likewise.
28759 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28760 <bp-asm.h>.
28761 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28762 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28763 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28764 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28765 <bp-asm.h>.
28766 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28767 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28768 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28769 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28770 <bp-asm.h>.
28771 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28772 comments.
28773 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28774 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28775 <bp-asm.h>.
28776 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28777 FIXME comments.
28778 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28779 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28780 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28781 <bp-asm.h>.
28782 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28783 comment.
28784 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28785 and <bp-asm.h>.
28786 (strncmp): Don't use BP_SYM,
28787 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28788 <bp-asm.h>.
28789 (__mpn_sub_n): Don't use BP_SYM.
28790 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28791 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28792 and <bp-asm.h>.
28793 (__mpn_submul_1): Don't use BP_SYM.
28794 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28796 <bp-sym.h> and <bp-asm.h>.
28797 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28799 <bp-sym.h> and <bp-asm.h>.
28800 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28801 comment.
28802
288032013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28804
28805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28806 Use ZK to minimize writes to Z.
28807 (sub_magnitudes): Simplify code a bit.
28808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28809 Use ZK to minimize writes to Z.
28810 (sub_magnitudes): Simplify code a bit.
28811
288122013-02-27 Roland McGrath <roland@hack.frob.com>
28813
28814 * csu/gmon-start.c: Add special exception to license text.
28815
288162013-02-27 Richard Henderson <rth@redhat.com>
28817
28818 * scripts/config.guess: Update from config.git.
28819 * scripts/config.sub: Likewise.
28820
288212013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28822
28823 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28824
28825 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28826
28827 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28828
28829 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28830
28831 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28832
288332013-02-26 Roland McGrath <roland@hack.frob.com>
28834
28835 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28836 [$(build-shared = yes].
28837
288382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28839
28840 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28841 (__mul): Reduce iterations for calculating mantissa.
28842
28843 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28844 MPTWO.
28845 (__mpranred): Likewise.
28846
28847 [BZ #15160]
28848 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28849 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28850
288512013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28852
28853 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28854 Define __attribute__.
28855
288562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28857
28858 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28859 unused.
28860 * posix/regex_internal.h (__attribute): Remove.
28861 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28862 (re_string_context_at): Likewise.
28863 (bitset_not): Use __attribute__ and mark function as possibly
28864 unused.
28865 (bitset_merge): Likewise.
28866 (bitset_mask): Likewise.
28867 (re_string_char_size_at): Likewise.
28868 (re_string_wchar_at): Likewise.
28869 (re_string_elem_size_at): Likewise.
28870
288712013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28872
28873 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28874 code.
28875 (cc32): Likewise.
28876
28877 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28878 (__acr): Likewise.
28879 (__cpy): Likewise.
28880 (norm): Likewise.
28881 (denorm): Likewise.
28882 (__dbl_mp): Likewise.
28883 (add_magnitudes): Likewise.
28884 (sub_magnitudes): Likewise.
28885 (__mul): Likewise.
28886 (__inv): Likewise.
28887
28888 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28889 style.
28890
28891 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28892 style.
28893
28894 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28895 code.
28896
28897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28898 up changes with default code.
28899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28900 Likewise.
28901
289022013-02-24 Allan McRae <allan@archlinux.org>
28903
28904 * manual/socket.texi (The Internet Namespace): Order menu items
28905 to match that in the file.
28906
28907 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28908 node listing of the info page menu.
28909
289102013-02-21 Joseph Myers <joseph@codesourcery.com>
28911
28912 [BZ #13550]
28913 * sysdeps/i386/bp-asm.h: Remove file.
28914 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28915 (PARMS): Do not use macros from bp-asm.h.
28916 (S1): Likewise.
28917 (S2): Likewise.
28918 (SIZE): Likewise.
28919 (__mpn_add_n): Do not use BP_SYM
28920 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28921 "bp-asm.h".
28922 (PARMS): Do not use macros from bp-asm.h.
28923 (S1): Likewise.
28924 (SIZE): Likewise.
28925 (__mpn_addmul_1): Do not use BP_SYM
28926 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28927 "bp-asm.h".
28928 (PARMS): Do not use macros from bp-asm.h.
28929 (SIGMSK): Likewise.
28930 (_setjmp): Likewise. Do not use BP_SYM.
28931 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28932 "bp-asm.h".
28933 (PARMS): Do not use macros from bp-asm.h.
28934 (SIGMSK): Likewise.
28935 (setjmp): Likewise. Do not use BP_SYM.
28936 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28937 "bp-asm.h".
28938 (PARMS): Do not use macros from bp-asm.h.
28939 (__frexp): Do not use BP_SYM.
28940 (frexp): Likewise.
28941 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28942 "bp-asm.h".
28943 (PARMS): Do not use macros from bp-asm.h.
28944 (__frexpf): Do not use BP_SYM.
28945 (frexpf): Likewise.
28946 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28947 "bp-asm.h".
28948 (PARMS): Do not use macros from bp-asm.h.
28949 (__frexpl): Do not use BP_SYM.
28950 (frexpl): Likewise.
28951 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28952 "bp-asm.h".
28953 (PARMS): Do not use macros from bp-asm.h.
28954 (__remquo): Do not use BP_SYM.
28955 (remquo): Likewise.
28956 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28957 "bp-asm.h".
28958 (PARMS): Do not use macros from bp-asm.h.
28959 (__remquof): Do not use BP_SYM.
28960 (remquof): Likewise.
28961 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28962 "bp-asm.h".
28963 (PARMS): Do not use macros from bp-asm.h.
28964 (__remquol): Do not use BP_SYM.
28965 (remquol): Likewise.
28966 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28967 "bp-asm.h".
28968 (PARMS): Do not use macros from bp-asm.h.
28969 (DEST): Likewise.
28970 (SRC): Likewise.
28971 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28972 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28973 "bp-asm.h".
28974 (PARMS): Do not use macros from bp-asm.h.
28975 (strlen): Do not use BP_SYM.
28976 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28977 "bp-asm.h".
28978 (PARMS): Do not use macros from bp-asm.h.
28979 (S1): Likewise.
28980 (S2): Likewise.
28981 (SIZE): Likewise.
28982 (__mpn_add_n): Do not use BP_SYM.
28983 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28984 "bp-asm.h".
28985 (PARMS): Do not use macros from bp-asm.h.
28986 (S1): Likewise.
28987 (SIZE): Likewise.
28988 (__mpn_addmul_1): Do not use BP_SYM.
28989 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28990 weak_alias.
28991 (bzero): Likewise.
28992 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28993 "bp-asm.h".
28994 (PARMS): Do not use macros from bp-asm.h.
28995 (S): Likewise.
28996 (SIZE): Likewise.
28997 (__mpn_lshift): Do not use BP_SYM.
28998 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28999 "bp-asm.h".
29000 (PARMS): Do not use macros from bp-asm.h.
29001 (DEST): Likewise.
29002 (SRC): Likewise.
29003 (LEN): Likewise.
29004 (memcpy): Likewise. Do not use BP_SYM.
29005 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29006 libc_hidden_def and weak_alias.
29007 (mempcpy): Do not use BP_SYM in weak_alias.
29008 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29009 "bp-asm.h".
29010 (PARMS): Do not use macros from bp-asm.h.
29011 (DEST): Likewise.
29012 (LEN): Likewise.
29013 [!BZERO_P] (CHR): Likewise.
29014 (memset): Likewise. Do not use BP_SYM.
29015 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29016 "bp-asm.h".
29017 (PARMS): Do not use macros from bp-asm.h.
29018 (S1): Likewise.
29019 (SIZE): Likewise.
29020 (__mpn_mul_1): Do not use BP_SYM.
29021 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29022 "bp-asm.h".
29023 (PARMS): Do not use macros from bp-asm.h.
29024 (S): Likewise.
29025 (SIZE): Likewise.
29026 (__mpn_rshift): Do not use BP_SYM.
29027 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29028 "bp-asm.h".
29029 (PARMS): Do not use macros from bp-asm.h.
29030 (STR): Likewise.
29031 (CHR): Likewise.
29032 (strchr): Likewise. Do not use BP_SYM.
29033 (index): Do not use BP_SYM in weak_alias.
29034 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29035 "bp-asm.h".
29036 (PARMS): Do not use macros from bp-asm.h.
29037 (DEST): Likewise.
29038 (SRC): Likewise.
29039 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29040 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29041 "bp-asm.h".
29042 (PARMS): Do not use macros from bp-asm.h.
29043 (strlen): Do not use BP_SYM.
29044 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29045 "bp-asm.h".
29046 (PARMS): Do not use macros from bp-asm.h.
29047 (S1): Likewise.
29048 (S2): Likewise.
29049 (SIZE): Likewise.
29050 (__mpn_sub_n): Do not use BP_SYM.
29051 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29052 "bp-asm.h".
29053 (PARMS): Do not use macros from bp-asm.h.
29054 (S1): Likewise.
29055 (SIZE): Likewise.
29056 (__mpn_submul_1): Do not use BP_SYM.
29057 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29058 "bp-asm.h".
29059 (PARMS): Do not use macros from bp-asm.h.
29060 (S1): Likewise.
29061 (S2): Likewise.
29062 (SIZE): Likewise.
29063 (__mpn_add_n): Do not use BP_SYM.
29064 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29065 weak_alias.
29066 (bzero): Likewise.
29067 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29068 "bp-asm.h".
29069 (PARMS): Do not use macros from bp-asm.h.
29070 (BLK2): Likewise.
29071 (LEN): Likewise.
29072 (memcmp): Do not use BP_SYM.
29073 (bcmp): Do not use BP_SYM in weak_alias.
29074 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29075 "bp-asm.h".
29076 (PARMS): Do not use macros from bp-asm.h.
29077 (DEST): Likewise.
29078 (SRC): Likewise.
29079 (LEN): Likewise.
29080 (memcpy): Likewise. Do not use BP_SYM.
29081 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29082 "bp-asm.h".
29083 (PARMS): Do not use macros from bp-asm.h.
29084 (DEST): Likewise.
29085 (SRC): Likewise.
29086 (LEN): Likewise.
29087 (memmove): Likewise. Do not use BP_SYM.
29088 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29089 "bp-asm.h".
29090 (PARMS): Do not use macros from bp-asm.h.
29091 (DEST): Likewise.
29092 (SRC): Likewise.
29093 (LEN): Likewise.
29094 (__mempcpy): Likewise. Do not use BP_SYM.
29095 (mempcpy): Do not use BP_SYM in weak_alias.
29096 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29097 "bp-asm.h".
29098 (PARMS): Do not use macros from bp-asm.h.
29099 (DEST): Likewise.
29100 (LEN): Likewise.
29101 [!BZERO_P] (CHR): Likewise.
29102 (memset): Likewise. Do not use BP_SYM.
29103 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29104 "bp-asm.h".
29105 (PARMS): Do not use macros from bp-asm.h.
29106 (STR2): Likewise.
29107 (strcmp): Do not use BP_SYM.
29108 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29109 "bp-asm.h".
29110 (PARMS): Do not use macros from bp-asm.h.
29111 (STR): Likewise.
29112 (DELIM): Likewise.
29113 [USE_AS_STRTOK_R] (SAVE): Likewise.
29114 (FUNCTION): Likewise. Do not use BP_SYM.
29115 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29116 aliases.
29117 (strtok_r): Likewise.
29118 (__GI___strtok_r): Likewise.
29119 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29120 (PARMS): Do not use macros from bp-asm.h.
29121 (S): Likewise.
29122 (SIZE): Likewise.
29123 (__mpn_lshift): Do not use BP_SYM.
29124 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29125 (PARMS): Do not use macros from bp-asm.h.
29126 (STR): Likewise.
29127 (CHR): Likewise.
29128 (__memchr): Do not use BP_SYM.
29129 (memchr): Do not use BP_SYM in weak_alias.
29130 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29131 (PARMS): Do not use macros from bp-asm.h.
29132 (BLK2): Likewise.
29133 (LEN): Likewise.
29134 (memcmp): Do not use BP_SYM.
29135 (bcmp): Do not use BP_SYM in weak_alias.
29136 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29137 (PARMS): Do not use macros from bp-asm.h.
29138 (S1): Likewise.
29139 (SIZE): Likewise.
29140 (__mpn_mul_1): Do not use BP_SYM.
29141 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
29147 (rawmemchr): Do not use BP_SYM in weak_alias.
29148 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29149 (PARMS): Do not use macros from bp-asm.h.
29150 (S): Likewise.
29151 (SIZE): Likewise.
29152 (__mpn_rshift): Do not use BP_SYM.
29153 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29154 (PARMS): Do not use macros from bp-asm.h.
29155 (SIGMSK): Likewise.
29156 (__sigsetjmp): Likewise. Do not use BP_SYM.
29157 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29158 (_start): Do not use BP_SYM.
29159 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29160 (PARMS): Do not use macros from bp-asm.h.
29161 (DEST): Likewise.
29162 (SRC): Likewise.
29163 (__stpcpy): Likewise. Do not use BP_SYM.
29164 (stpcpy): Do not use BP_SYM in weak_alias.
29165 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29166 "bp-asm.h".
29167 (PARMS): Do not use macros from bp-asm.h.
29168 (DEST): Likewise.
29169 (SRC): Likewise.
29170 (LEN): Likewise.
29171 (__stpncpy): Likewise. Do not use BP_SYM.
29172 (stpncpy): Do not use BP_SYM in weak_alias.
29173 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29174 (PARMS): Do not use macros from bp-asm.h.
29175 (STR): Likewise.
29176 (CHR): Likewise.
29177 (strchr): Likewise. Do not use BP_SYM.
29178 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29179 "bp-asm.h".
29180 (PARMS): Do not use macros from bp-asm.h.
29181 (STR): Likewise.
29182 (CHR): Likewise.
29183 (__strchrnul): Likewise. Do not use BP_SYM.
29184 (strchrnul): Do not use BP_SYM in weak_alias.
29185 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29186 "bp-asm.h".
29187 (PARMS): Do not use macros from bp-asm.h.
29188 (STOP): Likewise.
29189 (strcspn): Do not use BP_SYM.
29190 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29191 "bp-asm.h".
29192 (PARMS): Do not use macros from bp-asm.h.
29193 (STR): Likewise.
29194 (STOP): Likewise.
29195 (strpbrk): Likewise. Do not use BP_SYM.
29196 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29197 "bp-asm.h".
29198 (PARMS): Do not use macros from bp-asm.h.
29199 (STR): Likewise.
29200 (CHR): Likewise.
29201 (strrchr): Likewise. Do not use BP_SYM.
29202 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29203 (PARMS): Do not use macros from bp-asm.h.
29204 (SKIP): Likewise.
29205 (strspn): Do not use BP_SYM.
29206 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29207 (PARMS): Do not use macros from bp-asm.h.
29208 (STR): Likewise.
29209 (DELIM): Likewise.
29210 (SAVE): Likewise.
29211 (FUNCTION): Likewise. Do not use BP_SYM.
29212 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29213 aliases.
29214 (strtok_r): Likewise.
29215 (__GI___strtok_r): Likewise.
29216 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29217 (PARMS): Do not use macros from bp-asm.h.
29218 (S1): Likewise.
29219 (S2): Likewise.
29220 (SIZE): Likewise.
29221 (__mpn_sub_n): Do not use BP_SYM.
29222 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29223 "bp-asm.h".
29224 (PARMS): Do not use macros from bp-asm.h.
29225 (S1): Likewise.
29226 (SIZE): Likewise.
29227 (__mpn_submul_1): Do not use BP_SYM.
29228 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29229 <bp-sym.h>.
29230 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29231 and <bp-asm.h>.
29232 (PARMS): Do not use macros from bp-asm.h.
29233 (FLAGS): Likewise.
29234 (PTID): Likewise.
29235 (TLS): Likewise.
29236 (CTID): Likewise.
29237 (__clone): Do not use BP_SYM.
29238 (clone): Do not use BP_SYM in weak_alias.
29239 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29240 and <bp-asm.h>.
29241 (PARMS): Do not use macros from bp-asm.h.
29242 (LEN): Likewise.
29243 (__mmap64): Do not use BP_SYM.
29244 (mmap64): Do not use BP_SYM in weak_alias.
29245 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29246 <bp-sym.h> and <bp-asm.h>.
29247 (PARMS): Do not use macros from bp-asm.h.
29248 (__posix_fadvise64_l64): Do not use BP_SYM.
29249 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29250 (PARMS): Do not use macros from bp-asm.h.
29251 (NSOPS): Likewise.
29252 (semtimedop): Do not use BP_SYM.
29253 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29254 and <bp-asm.h>.
29255
292562013-02-21 Allan McRae <allan@archlinux.org>
29257
29258 * manual/message.texi (Charset conversion in gettext):
29259 Move @end statement to beginning of line.
29260
292612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29262
29263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29264 static.
29265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29266 Likewise.
29267
29268 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29269 (denorm): Likewise.
29270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29272
292732013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29274
29275 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29276 tail-call to the resolved function if pltexit isn't needed.
29277
292782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29279
29280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29281 or Y being zero as being unlikely.
29282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29283 Likewise.
29284
292852013-02-20 Carlos O'Donell <carlos@redhat.com>
29286
29287 * manual/nss.texi (System Databases and Name Service Switch):
29288 Remove frobnicate @pxref.
29289
292902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29291
29292 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29293 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29294
292952013-02-20 Petr Machata <pmachata@redhat.com>
29296
29297 * elf/elf.h (R_ARM_TARGET1): New macro.
29298 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29299 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29300 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29301 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29302 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29303 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29304 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29305 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29306 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29307 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29308 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29309 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29310 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29311 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29312 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29313 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29314 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29315 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29316 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29317 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29318 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29319 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29320 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29321 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29322 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29323 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29324 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29325 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29326 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29327 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29328 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29329 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29330 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29331 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29332 (R_ARM_THM_GOT_BREL12): Likewise.
29333 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29334 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29335 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29336 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29337 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29338 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29339 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29340 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29341 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29342
293432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29344
29345 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29346 __attribute_used__ to __attribute__ ((unused)).
29347
293482013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29349
29350 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29351 powerpc mpa.c.
29352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29353 comment formatting.
29354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29355
293562013-02-19 Joseph Myers <joseph@codesourcery.com>
29357
29358 [BZ #13550]
29359 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29360 Remove macro.
29361 (ENTER): Remove both macro definitions.
29362 (LEAVE): Likewise.
29363 (CHECK_BOUNDS_LOW): Likewise.
29364 (CHECK_BOUNDS_HIGH): Likewise.
29365 (CHECK_BOUNDS_BOTH): Likewise.
29366 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29367 (RETURN_BOUNDED_POINTER): Likewise.
29368 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29369 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29370 (POP_ERRNO_LOCATION_RETURN): Likewise.
29371 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29372 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29373 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29374 macros.
29375 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29376 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29377 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29378 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29379 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29380 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29381 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29382 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29383 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29384 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29385 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29386 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29387 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29388 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29389 removed macros.
29390 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29391 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29392 macros.
29393 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29394 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29395 * sysdeps/i386/i586/memset.S (memset): Likewise.
29396 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29397 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29398 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29399 macros.
29400 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29401 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29402 Change uses of L(2) to L(out).
29403 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29404 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29405 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29406 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29407 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29408 removed macros.
29409 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29410 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29411 macros.
29412 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29413 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29414 (RETURN): Do not use macro LEAVE.
29415 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29416 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29417 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29418 * sysdeps/i386/i686/memset.S (memset): Likewise.
29419 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29420 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29421 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29422 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29423 Likewise.
29424 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29425 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29426 L(1_2) and L(1_3) into L(1).
29427 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29428 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29429 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29430 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29431 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29432 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29433 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29434 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29435 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29436 macros.
29437 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29438 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29439 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29440 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29441 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29442 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29443 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29444 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29445 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29446 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29447 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29448 * sysdeps/i386/strspn.S (strspn): Likewise.
29449 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29450 conditional code.
29451 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29452 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29453 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29454 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29455 L(1_3) into L(1_1).
29456 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29457 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29458 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29459 macros.
29460 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29461
294622013-02-19 Jakub Jelinek <jakub@redhat.com>
29463
29464 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29465 macro.
29466
294672013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29468
29469 * math/atest-exp.c (exp_mpn): Remove ROUND.
29470 * math/atest-exp2.c (exp_mpn): Likewise.
29471 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29472
29473 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29474 * stdlib/tst-tls-atexit-lib.c: Likewise.
29475 * stdlib/tst-tls-atexit.c: Likewise.
29476
294772013-02-18 Mike Frysinger <vapier@gentoo.org>
29478
29479 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29480 and __attribute_alloc_size__.
29481
294822013-02-18 Mike Frysinger <vapier@gentoo.org>
29483
29484 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29485 __attribute_alloc_size__.
29486 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29487 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29488
294892013-02-18 Mike Frysinger <vapier@gentoo.org>
29490
29491 * include/programs/xmalloc.h: New file.
29492 * catgets/gencat.c: Include it.
29493 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29494 * elf/pldd.c: Likewise.
29495 * iconv/iconv_charmap.c: Likewise.
29496 * iconv/iconvconfig.c: Likewise.
29497 * iconv/strtab.c: Likewise.
29498 * locale/programs/locale.c: Likewise.
29499 * locale/programs/localedef.h: Likewise.
29500 * locale/programs/simple-hash.c: Likewise.
29501 * nscd/nscd.h: Likewise.
29502 * nss/makedb.c: Likewise.
29503 * sysdeps/generic/ldconfig.h: Likewise.
29504
295052013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29506
29507 * Versions.def: Add GLIBC_2.18.
29508 * include/link.h (struct link_map): New member l_tls_dtor_count.
29509 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29510 (__call_tls_dtors): Likewise.
29511 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29512 __cxa_thread_atexit_impl.
29513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29514 Likewise.
29515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29516 Likewise.
29517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29518 Likewise.
29519 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29520 Likewise.
29521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29523 Likewise.
29524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29525 Likewise.
29526 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29528 Likewise.
29529 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29530 (tests): Add test case tst-tls-atexit.
29531 (modules-names): Add shared library for tst-tls-atexit.
29532 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29533 (GLIBC_PRIVATE): Add __call_tls_dtors.
29534 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29535 for libstdc++.
29536 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29537 * stdlib/tst-tls-atexit.c: New test case.
29538 * stdlib/tst-tls-atexit-lib.c: New test case.
29539
29540 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29541
29542 * elf/Versions (ld): Add _dl_find_dso_for_object.
29543 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29544 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29545 (dl_open_worker): Use _dl_find_dso_for_object.
29546 * elf/dl-sym.c (do_sym): Likewise.
29547 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29548
295492013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29550
29551 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29552 Syntactic changes only.
29553 (_dl_runtime_profile): Do a tail-call to the resolved function.
29554
295552013-02-17 Joseph Myers <joseph@codesourcery.com>
29556
29557 [BZ #13550]
29558 * sysdeps/x86_64/bp-asm.h: Remove file.
29559 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29560 <bp-sym.h> and <bp-asm.h>.
29561 (__clone): Do not use BP_SYM.
29562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29563 <bp-sym.h> and <bp-asm.h>.
29564 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29565 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29566 "bp-asm.h".
29567 (_setjmp): Do not use BP_SYM.
29568 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29569 "bp-asm.h".
29570 (setjmp): Do not use BP_SYM.
29571 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29572 libc_hidden_def.
29573 (mempcpy): Do not use BP_SYM in weak_alias.
29574 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29575 "bp-asm.h".
29576 (strchr): Do not use BP_SYM.
29577 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29578 "bp-asm.h".
29579 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29580 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29581 (_start): Do not use BP_SYM.
29582 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29583 "bp-asm.h".
29584 (strcat): Do not use BP_SYM.
29585 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29586 "bp-asm.h".
29587 (STRCMP): Do not use BP_SYM.
29588 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29589 "bp-asm.h".
29590 (STRCPY): Do not use BP_SYM.
29591 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29592 "bp-asm.h".
29593 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29594 "bp-asm.h".
29595 (FUNCTION): Do not use BP_SYM.
29596 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29597 weak_alias.
29598 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29599
296002013-02-17 Andreas Jaeger <aj@suse.de>
29601
29602 * time/Versions: Sort entries.
29603 * string/Versions: Likewise.
29604 * resolv/Versions: Likewise.
29605 * posix/Versions: Likewise.
29606 * iconv/Versions: Likewise.
29607 * elf/Versions: Likewise.
29608 * wcsmbs/Versions: Likewise.
29609
296102013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29611
29612 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29613 loop termination condition.
29614
29615 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29616 variable to calculate EZ.
29617 (__sqr): Likewise.
29618
29619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29620 the lower precision input.
29621
296222013-02-15 Joseph Myers <joseph@codesourcery.com>
29623
29624 [BZ #13550]
29625 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29626 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29627 (run-via-rtld-prefix): Do not handle %-bp tests.
29628 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29629 (all-object-suffixes): Remove .ob.
29630 (bppfx): Remove variable.
29631 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29632 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29633 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29634 [$(build-bounded) = yes] (libtype.ob): Likewise.
29635 * Makerules (elide-routines.ob): Remove variable.
29636 (do-tests-clean): Do not handle *-bp.out.
29637 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29638 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29639 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29640 (tests): Do not include $(tests-bp.out).
29641 (xtests): Do not include $(xtests-bp.out).
29642 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29643 [$(build-bounded) = yes] ($(addprefix
29644 $(objpfx),$(binaries-bounded))): Remove rule.
29645 ($(objpfx)%-bp.out): Remove rule.
29646 * config.make.in (build-bounded): Remove variable.
29647 * crypt/Makefile [$(build-bounded) = yes]
29648 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29649 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29650 append to variable.
29651 [$(build-bounded) = yes] (install-lib): Likewise.
29652 [$(build-bounded) = yes] (generated): Likewise.
29653 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29654 Remove rule.
29655 * intl/Makefile [$(build-bounded) = yes]
29656 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29657 * math/Makefile [$(build-bounded) = yes]
29658 ($(tests:%=$(objpfx)%-bp): Likewise.
29659 * misc/Makefile [$(build-bounded) = yes]
29660 ($(objpfx)tst-tsearch-bp): Likewise.
29661 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29662 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29663 Remove dependency.
29664 * string/Makefile (o-objects.ob): Remove variable.
29665 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29666 (CFLAGS-.ob): Remove variable.
29667 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29668 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29669 both definitions of variable.
29670 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29671 (ASFLAGS-.ob): Remove variable.
29672
296732013-02-14 Joseph Myers <joseph@codesourcery.com>
29674
29675 [BZ #13550]
29676 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29677 Remove __BOUNDED_POINTERS__ from condition.
29678 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29679 * string/bits/string2.h [!__NO_STRING_INLINES &&
29680 !__BOUNDED_POINTERS__]: Likewise.
29681 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29682 Likewise.
29683 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29684 Remove conditional code.
29685 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29686 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29687 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29688 condition.
29689
29690 [BZ #13550]
29691 * csu/libc-start.c: Do not include <bp-sym.h>.
29692 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29693 * elf/dl-open.c: Do not include <bp-sym.h>.
29694 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29695 * math/fegetenv.c: Do not include <bp-sym.h>.
29696 (fegetenv): Do not use BP_SYM in versioned symbols.
29697 * nptl/sysdeps/pthread/bits/libc-lockP.h
29698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29699 <bp-sym.h>.
29700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29701 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29703 (__pthread_mutex_destroy): Likewise.
29704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29705 (__pthread_mutex_lock): Likewise.
29706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29707 (__pthread_mutex_trylock): Likewise.
29708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29709 (__pthread_mutex_unlock): Likewise.
29710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29711 (__pthread_mutexattr_init): Likewise.
29712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29713 (__pthread_mutexattr_destroy): Likewise.
29714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29715 (__pthread_mutexattr_settype): Likewise.
29716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29717 (__pthread_rwlock_init): Likewise.
29718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29719 (__pthread_rwlock_destroy): Likewise.
29720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29721 (__pthread_rwlock_rdlock): Likewise.
29722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29723 (__pthread_rwlock_tryrdlock): Likewise.
29724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29725 (__pthread_rwlock_wrlock): Likewise.
29726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29727 (__pthread_rwlock_trywrlock): Likewise.
29728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29729 (__pthread_rwlock_unlock): Likewise.
29730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29731 (__pthread_key_create): Likewise.
29732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29733 (__pthread_setspecific): Likewise.
29734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29735 (__pthread_getspecific): Likewise.
29736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29737 Likewise.
29738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29739 (_pthread_cleanup_push_defer): Likewise.
29740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29741 (_pthread_cleanup_pop_restore): Likewise.
29742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29743 (pthread_setcancelstate): Likewise.
29744 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29745 <bp-sym.h>.
29746 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29747 (memchr): Do not use BP_SYM in weak_alias.
29748 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29749 (fegetenv): Do not use BP_SYM in versioned symbols.
29750 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29751 (fesetenv): Do not use BP_SYM in versioned symbols.
29752 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29753 (feupdateenv): Do not use BP_SYM in versioned symbols.
29754 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29755 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29756 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29757 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29758 (open64): Do not use BP_SYM in weak_alias.
29759 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29760 (fegetenv): Do not use BP_SYM in versioned symbols.
29761 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29762 (fesetenv): Do not use BP_SYM in versioned symbols.
29763 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29764 (feupdateenv): Do not use BP_SYM in versioned symbols.
29765 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29766 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29767 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29768 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29769 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29770 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29771 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29772 <bp-sym.h>.
29773 (__libc_start_main): Do not use BP_SYM.
29774
297752013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29776
29777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29778 redundant return line.
29779 (norm): Likewise.
29780 (denorm): Likewise.
29781 (dbl_mp): Likewise.
29782 (sub_magnitudes): Likewise.
29783 (__add): Likewise.
29784 (__sub): Likewise.
29785 (__mul): Likewise.
29786 (__inv): Likewise.
29787 (__dvd): Likewise.
29788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29789 (norm): Likewise.
29790 (denorm): Likewise.
29791 (dbl_mp): Likewise.
29792 (sub_magnitudes): Likewise.
29793 (__add): Likewise.
29794 (__sub): Likewise.
29795 (__mul): Likewise.
29796 (__inv): Likewise.
29797 (__dvd): Likewise.
29798
29799 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29800 instead of __mul.
29801 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29802 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29803 (cc32): Likewise.
29804
29805 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29806 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29808 of __mul for squares.
29809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29810 function
29811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29812 Likewise.
29813 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29814 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29815
298162013-02-13 Joseph Myers <joseph@codesourcery.com>
29817
29818 [BZ #13550]
29819 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29820 code.
29821 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29822 prototype or function definition. Rename ubp_* variables and
29823 parameters. Remove argv definitions conditional on
29824 [__BOUNDED_POINTERS__].
29825 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29826 * elf/dl-runtime.c (_dl_fixup): Likewise.
29827 * include/set-hooks.h (RUN_HOOK): Likewise.
29828 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29829 definition.
29830 * string/strcpy.c (strcpy): Do not use __unbounded.
29831 * sysdeps/generic/frame.h (struct layout): Likewise.
29832 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29833 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29834 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29835 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29836 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29837 (__backtrace): Likewise.
29838 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29839 use __ptrvalue.
29840 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29841 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29842 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29843 Likewise.
29844 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29845 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29846 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29847 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29848 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29849 Do not use __unbounded.
29850 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29851 Rename __unboundedrlimits parameter to rlimits in prototype.
29852 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29853 Do not use __unbounded.
29854 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29855 not use __ptrvalue.
29856 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29857 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29858 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29859 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29860 __ptrvalue or __unbounded.
29861 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29862 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29863 use __unbounded.
29864 (__new_msgctl): Do not use __ptrvalue.
29865 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29866 __unbounded.
29867 (__libc_msgrcv): Do not use __ptrvalue.
29868 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29869 startup_info): Do not use __unbounded.
29870 (__libc_start_main): Likewise. Rename ubp_* variables and
29871 parameters. Remove argv definitions conditional on
29872 [__BOUNDED_POINTERS__].
29873 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29874 __ptrvalue.
29875 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29876 use __unbounded.
29877 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29878 or __ptrvalue.
29879 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29880 use __unbounded.
29881 (__new_shmctl): Do not use __ptrvalue.
29882 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29883 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29884 Likewise.
29885 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29887 (__libc_sigaction): Likewise.
29888 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29889 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29890 Likewise.
29891 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29892
298932013-02-13 Ondřej Bílka <neleai@seznam.cz>
29894
29895 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29896
29897 * string/mempcpy.c: Implement by calling memcpy.
29898
298992013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29900
29901 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29902
29903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29904 evaluation.
29905
29906 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29907 values in the mantissa.
29908
29909 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29910 minimize writes to Z.
29911 (sub_magnitudes): Simplify code a bit.
29912
299132013-02-12 Roland McGrath <roland@hack.frob.com>
29914
29915 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29916 from the message. The linker prefixes all warnings with that already.
29917
299182013-02-12 Andreas Schwab <schwab@suse.de>
29919
29920 [BZ #15078]
29921 * posix/regexec.c (extend_buffers): Add parameter min_len.
29922 (check_matching): Pass minimum needed length.
29923 (clean_state_log_if_needed): Likewise.
29924 (get_subexp): Likewise.
29925 * posix/Makefile (tests): Add bug-regex34.
29926 (bug-regex34-ENV): Define.
29927 * posix/bug-regex34.c: New file.
29928
29929 [BZ #11561]
29930 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29931 elements compare against the byte sequence of it, not its name.
29932 * posix/Makefile (tests): Add bug-regex35.
29933 (bug-regex35-ENV): Define.
29934 * posix/bug-regex35.c: New file.
29935
299362013-02-11 Tom de Vries <tom@codesourcery.com>
29937
29938 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29939 comment.
29940 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29941 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29942 (CHECK_EOL): Add undef.
29943
299442013-02-11 Ondřej Bílka <neleai@seznam.cz>
29945
29946 * bits/stdlib-bsearch.h: New file.
29947 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29948 * stdlib/stdlib.h: Likewise.
29949
299502013-02-11 Roland McGrath <roland@hack.frob.com>
29951
29952 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29953 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29954 declaration.
29955 * manual/search.texi (Array Search Function): Add missing const in
29956 lfind prototype.
29957 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29958 declaration to use rlim_t.
29959 (Basic Scheduling Functions): Remove erroneous const from
29960 sched_getparam prototype. Remove erroneous * from
29961 sched_get_priority_max and sched_get_priority_min prototypes.
29962 (Resource Usage): Fix summary @comment on vtimes to refer to
29963 sys/vtimes.h rather than vtimes.h.
29964 Add missing *s in vtimes prototype.
29965 (Limits on Resources): Fix ulimit prototype to return long int.
29966 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29967 prototypes to use long int rather than double.
29968 (BSD Random): Fix initstate and setstate to use char *, not void *.
29969 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29970 prototype to make second argument 'struct aiocb64 *const[]'.
29971 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29972 (Status of AIO Operations): Remove erroneous const in aio_return and
29973 aio_return64 prototypes.
29974 (Synchronizing I/O): Fix sync prototype to return void.
29975 * manual/startup.texi (Suboptions): Remove an erroneous const in
29976 getsubopt prototype.
29977 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29978 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29979 use size_t rather than int.
29980 (Scanning All Users): Likewise for getpwent_r.
29981 (Setting Groups): Add missing const to setgroups prototype.
29982 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29983 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29984 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29985 'const void *' rather than 'const char *'.
29986 (Host Address Functions): Likewise for inet_ntop.
29987 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29988 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29989 ssize_t for return value.
29990 (Sending Data): Likewise for send, sendto, sendmsg.
29991 (Socket Option Functions): Add a missing const in setsockopt prototype.
29992 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29993 use wchar_t for the argument.
29994 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29995 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29996 take no arguments.
29997 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29998 double/float/long double for second argument.
29999 Fix return types of significand, significandf, significandl.
30000 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30001 argument in fchmod prototype.
30002 (File Owner): Use uid_t and gid_t in fchown prototype.
30003 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30004 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30005 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30006 use 'const struct dirent **' as argument types to CMP function pointer
30007 argument.
30008 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30009 (File Times): Fix summary magic @comment for struct utimbuf and utime
30010 to refer to utime.h, not time.h.
30011 * manual/string.texi (Argz Functions): Add missing const in
30012 argz_extract and argz_next prototypes.
30013 (Finding Tokens in a String): Likewise for basename.
30014 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30015 (Copying and Concatenation): Fix typo in wmemmove prototype.
30016 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30017 (Signal Stack): Remove erroneous const in sigstack prototype.
30018 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30019 prototype.
30020 (Simple Calendar Time): Likewise for stime.
30021 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30022 prototype.
30023 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30024 say sys/sysctl.h instead.
30025 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30026 and vsyslog prototypes.
30027
300282013-02-11 Tom de Vries <tom@codesourcery.com>
30029
30030 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30031 Remove.
30032
300332013-02-11 Roland McGrath <roland@hack.frob.com>
30034
30035 * misc/sys/mman.h: Fix typo in mremap comment.
30036
300372013-02-08 Roland McGrath <roland@hack.frob.com>
30038
30039 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30040 the '\0' terminator.
30041
300422013-02-08 Joseph Myers <joseph@codesourcery.com>
30043
30044 [BZ #13550]
30045 * debug/segfault.c: Don't include <bp-checks.h>.
30046 * sysdeps/generic/bp-checks.h: Remove file.
30047 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30048 (__GETDENTS): Don't use CHECK_N.
30049 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30050 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30051 (__getgroups): Don't use CHECK_N.
30052 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30053 (setgroups): Don't use CHECK_N.
30054 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30055 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30056 (__libc_msgrcv): Don't use CHECK_N.
30057 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30058 (__libc_msgsnd): Don't use CHECK_N.
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30060 <bp-checks.h>.
30061 (__libc_pread): Don't use CHECK_N.
30062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30063 include <bp-checks.h>.
30064 (__libc_pread64): Don't use CHECK_N.
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30066 include <bp-checks.h>.
30067 (__libc_pwrite): Don't use CHECK_N.
30068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30069 include <bp-checks.h>.
30070 (__libc_pwrite64): Don't use CHECK_N.
30071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30072 <bp-checks.h>.
30073 (__libc_pread): Don't use CHECK_N.
30074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30075 include <bp-checks.h>.
30076 (__libc_pread64): Don't use CHECK_N.
30077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30078 include <bp-checks.h>.
30079 (__libc_pwrite): Don't use CHECK_N.
30080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30081 include <bp-checks.h>.
30082 (__libc_pwrite64): Don't use CHECK_N.
30083 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30084 (do_pread): Don't use CHECK_N.
30085 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30086 (do_pread64): Don't use CHECK_N.
30087 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30088 (do_pwrite): Don't use CHECK_N.
30089 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30090 (do_pwrite64): Don't use CHECK_N.
30091 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30092 (__libc_readv): Don't use CHECK_N.
30093 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30094 (semop): Don't use CHECK_N.
30095 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30096 <bp-checks.h>.
30097 (semtimedop): Don't use CHECK_N.
30098 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30099 (__libc_pread): Don't use CHECK_N.
30100 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30101 <bp-checks.h>.
30102 (__libc_pread64): Don't use CHECK_N.
30103 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30104 <bp-checks.h>.
30105 (__libc_pwrite): Don't use CHECK_N.
30106 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30107 <bp-checks.h>.
30108 (__libc_pwrite64): Don't use CHECK_N.
30109 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30110 <bp-checks.h>.
30111 (__libc_msgrcv): Don't use CHECK_N.
30112 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30113 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30114 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30115 (__libc_writev): Don't use CHECK_N.
30116
301172013-02-08 Roland McGrath <roland@hack.frob.com>
30118
30119 * string/strcpy.c: Removed unused variable.
30120
30121 * Makeconfig (+sysdep-includes): Define with := rather than =.
30122 Use an existing include/ subdir of each sysdeps dir before it.
30123
301242013-02-08 Carlos O'Donell <carlos@redhat.com>
30125
30126 * nscd/connection.c (register_traced_file): Comment function.
30127 [HAVE_INOTIFY] (union __inev): Define.
30128 [HAVE_INOTIFY] (inotify_check_files): New function.
30129 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30130 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30131 clear_db_cache.
30132 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30133
301342013-02-08 Carlos O'Donell <carlos@redhat.com>
30135
30136 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30137 loaded if not already and that a failure is permanent.
30138
301392013-02-08 Carlos O'Donell <carlos@redhat.com>
30140
30141 [BZ #15006]
30142 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30143 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30144
301452013-02-08 Joseph Myers <joseph@codesourcery.com>
30146
30147 [BZ #13550]
30148 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30149 (CHECK_1_NULL_OK): Likewise.
30150 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30151 (__fxstat): Do not use CHECK_1.
30152 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30153 <bp-checks.h>.
30154 (___fxstat64): Do not use CHECK_1.
30155 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30156 <bp-checks.h>.
30157 (__fxstatat): Do not use CHECK_1.
30158 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30159 <bp-checks.h>.
30160 (__fxstatat64): Do not use CHECK_1.
30161 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30162 <bp-checks.h>.
30163 (__fxstat): Do not use CHECK_1.
30164 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30165 <bp-checks.h>.
30166 (__fxstatat): Do not use CHECK_1.
30167 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30168 <bp-checks.h>.
30169 (__getresgid): Do not use CHECK_1.
30170 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30171 <bp-checks.h>.
30172 (__getresuid): Do not use CHECK_1.
30173 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30174 <bp-checks.h>.
30175 (__lxstat): Do not use CHECK_1.
30176 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30177 <bp-checks.h>.
30178 (__old_msgctl): Do not use CHECK_1.
30179 (__new_msgctl): Likewise.
30180 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30181 <bp-checks.h>.
30182 (__new_setrlimit): Do not use CHECK_1.
30183 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30184 <bp-checks.h>.
30185 (__old_shmctl): Do not use CHECK_1.
30186 (__new_shmctl): Likewise.
30187 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30188 <bp-checks.h>.
30189 (__xstat): Do not use CHECK_1.
30190 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30191 (__lxstat): Do not use CHECK_1.
30192 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30193 <bp-checks.h>.
30194 (___lxstat64): Do not use CHECK_1.
30195 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30196 (__old_msgctl): Do not use CHECK_1.
30197 (__new_msgctl): Likewise.
30198 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30199 <bp-checks.h>.
30200 (__gettimeofday): Do not use CHECK_1.
30201 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30202 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30203 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30204 <bp-checks.h>.
30205 (__gettimeofday): Do not use CHECK_1.
30206 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30207 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30208 (__new_shmctl): Do not use CHECK_1.
30209 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30210 <bp-checks.h>.
30211 (do_sigtimedwait): Do not use CHECK_1.
30212 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30213 <bp-checks.h>.
30214 (do_sigwaitinfo): Do not use CHECK_1.
30215 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30216 <bp-checks.h>.
30217 (msgctl): Do not use CHECK_1.
30218 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30219 <bp-checks.h>.
30220 (shmctl): Do not use CHECK_1.
30221 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30222 (ustat): Do not use CHECK_1.
30223 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30224 <bp-checks.h>.
30225 (__fxstat): Do not use CHECK_1.
30226 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30227 <bp-checks.h>.
30228 (__fxstatat): Do not use CHECK_1.
30229 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30230 <bp-checks.h>.
30231 (__lxstat): Do not use CHECK_1.
30232 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30233 <bp-checks.h>.
30234 (__xstat): Do not use CHECK_1.
30235 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30236 (__xstat): Do not use CHECK_1.
30237 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30238 (___xstat64): Do not use CHECK_1.
30239
30240 [BZ #13550]
30241 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30242 definitions.
30243 (CHECK_BOUNDS_HIGH): Likewise.
30244 * string/strcpy.c: Do not include <bp-checks.h>.
30245 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30246
302472013-02-07 Roland McGrath <roland@hack.frob.com>
30248
30249 * nscd/nscd-client.h (__nscd_drop_map_ref):
30250 Add __attribute__ ((unused)).
30251 * nis/nss-nisplus.h (niserr2nss): Likewise.
30252
30253 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30254 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30255
30256 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30257 Remove inline keyword.
30258 * include/rounding-mode.h (round_away): Likewise.
30259 * libio/wfileops.c (adjust_wide_data): Likewise.
30260 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30261 (__m128i_strloadu_tolower): Likewise.
30262 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30263 (__m128i_strloadu_tolower): Likewise.
30264 * time/mktime.c (ydhms_diff): Likewise.
30265 * locale/elem-hash.h (elem_hash): Likewise.
30266 * locale/setlocale.c (setdata): Likewise.
30267 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30268 (re_string_wchar_at): Likewise.
30269 (bitset_not, bitset_merge, bitset_mask): Likewise.
30270 [!(__GNUC__ > 3)] (inline): Remove macro.
30271 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30272 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30273 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30274 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30275 * string/memcmp.c (memcmp_bytes): Likewise.
30276 * locale/programs/locarchive.c (compute_hashval): Likewise.
30277 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30278 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30279 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30280 * nss/getent.c (print_rpc, print_protocols): Likewise.
30281 (print_passwd, print_group, print_aliases): Likewise.
30282 * nis/nss-nisplus.h (niserr2nss): Likewise.
30283 * nscd/connections.c (restart_p): Likewise.
30284 Change return type to bool.
30285
302862013-02-05 Roland McGrath <roland@hack.frob.com>
30287
30288 * Makeconfig (all-Depend-files): Add existing
30289 $(sorted-subdirs:=/Depend) files.
30290 (all-subdirs): Remove nss.
30291 * sysdeps/unix/inet/Subdirs: Add it here instead.
30292 * hesiod/Depend: New file.
30293
30294 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30295 instead of calling alloca.
30296
30297 * io/lseek.c (__lseek): Rename to __libc_lseek.
30298 Define __lseek as an alias.
30299
30300 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30301
303022013-02-04 Carlos O'Donell <carlos@redhat.com>
30303
30304 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30305 else clause and remove check for non-standard endianness.
30306
303072013-02-04 David S. Miller <davem@davemloft.net>
30308
30309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30310
303112013-02-04 Joseph Myers <joseph@codesourcery.com>
30312
30313 [BZ #13550]
30314 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30315 (__ubp_memchr): Remove prototype.
30316 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30317 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30318 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30319 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30320 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30321 Remove alias.
30322 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30323 (__ubp_memchr): Likewise.
30324 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30325 (__ubp_memchr): Likewise.
30326 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30327 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30328 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30329 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30330 CHECK_STRING.
30331 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30332 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30333 (__getcwd): Do not use CHECK_STRING.
30334 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30335 <bp-checks.h>.
30336 (__real_chown): Do not use CHECK_STRING.
30337 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30338 <bp-checks.h>.
30339 (fchownat): Do not use CHECK_STRING.
30340 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30341 CHECK_STRING.
30342 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30343 <bp-checks.h>.
30344 (__lchown): Do not use CHECK_STRING.
30345 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30346 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30347 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30348 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30350 include <bp-checks.h>.
30351 (truncate64): Do not use CHECK_STRING.
30352 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30353 <bp-checks.h>.
30354 (__real_chown): Do not use CHECK_STRING.
30355 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30356 <bp-checks.h>.
30357 (__lchown): Do not use CHECK_STRING.
30358 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30359 <bp-checks.h>.
30360 (__chown): Do not use CHECK_STRING.
30361 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30362 <bp-checks.h>.
30363 (truncate64): Do not use CHECK_STRING.
30364 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30365 Likewise.
30366 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30367 (__xmknod): Do not use CHECK_STRING.
30368 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30369 <bp-checks.h>.
30370 (__xmknodat): Do not use CHECK_STRING.
30371 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30372 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30373
303742013-02-04 Andreas Schwab <schwab@suse.de>
30375
30376 [BZ #14142]
30377 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30378 * include/netdb.h: Likewise for h_errno.
30379 * elf/tst-stackguard1.c: Include <tls.h>.
30380
303812013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30382
30383 * elf/link.h (struct link_map): Extend the l_addr comment.
30384 * include/link.h (struct link_map): Likewise.
30385
303862013-02-01 Joseph Myers <joseph@codesourcery.com>
30387
30388 [BZ #13550]
30389 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30390 (BOUNDED_1): Remove macro.
30391 * debug/backtrace.c: Don't include <bp-checks.h>.
30392 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30393 (__backtrace): Likewise.
30394 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30395 <bp-checks.h>.
30396 (__backtrace): Don't use BOUNDED_1.
30397 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30398 <bp-checks.h>.
30399 (__backtrace): Don't use BOUNDED_1.
30400 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30401 (__backtrace): Don't use BOUNDED_1.
30402 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30403 (shmat): Don't use BOUNDED_N.
30404
304052013-01-31 Joseph Myers <joseph@codesourcery.com>
30406
30407 [BZ #13550]
30408 * sysdeps/generic/bp-start.h: Remove file.
30409 * csu/libc-start.c: Don't include <bp-start.h>.
30410 (LIBC_START_MAIN): Set up __environ directly instead of using
30411 INIT_ARGV_and_ENVIRON.
30412 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30413 <bp-start.h>.
30414
30415 [BZ #13550]
30416 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30417 definitions.
30418 (CHECK_FCNTL): Likewise.
30419 (CHECK_N_PAGES): Likewise.
30420
30421 [BZ #13550]
30422 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30423 definitions.
30424 (CHECK_SIGSET_NULL_OK): Likewise.
30425 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30426 <bp-checks.h>.
30427 (sigpending): Don't use CHECK_SIGSET.
30428 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30429 <bp-checks.h>.
30430 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30431 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30432 <bp-checks.h>.
30433 (do_sigsuspend): Don't use CHECK_SIGSET.
30434 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30435 use CHECK_SIGSET.
30436 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30437 (do_sigwait): Don't use CHECK_SIGSET.
30438 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30439 use CHECK_SIGSET.
30440 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30441 include <bp-checks.h>.
30442 (sigpending): Don't use CHECK_SIGSET.
30443 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30444 include <bp-checks.h>.
30445 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30446 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30447 <bp-checks.h>.
30448 (sigpending): Don't use CHECK_SIGSET.
30449 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30450 <bp-checks.h>.
30451 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30452
30453 [BZ #13550]
30454 * sysdeps/generic/bp-semctl.h: Remove file.
30455 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30456 <bp-checks.h> and <bp-semctl.h>.
30457 (__old_semctl): Don't use CHECK_SEMCTL.
30458 (__new_semctl): Likewise.
30459 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30460 and <bp-semctl.h>.
30461 (__old_semctl): Don't use CHECK_SEMCTL.
30462 (__new_semctl): Likewise.
30463 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30464 <bp-checks.h> and <bp-semctl.h>.
30465 (__old_semctl): Don't use CHECK_SEMCTL.
30466 (__new_semctl): Likewise.
30467 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30468 <bp-checks.h> and <bp-semctl.h>.
30469 (semctl): Don't use CHECK_SEMCTL.
30470
30471 [BZ #13550]
30472 * Makerules (elide-bp-thunks): Remove variable.
30473 (elide-routines.oS): Don't use $(elide-bp-thunks).
30474 (elide-routines.os): Likewise.
30475 (elide-routines.o): Likewise.
30476 (elide-routines.op): Likewise.
30477 (elide-routines.og): Likewise.
30478 (objects): Don't use $(bp-thunks).
30479 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30480 include.
30481 (common-generated): Do not add s-proto-bp.d.
30482 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30483 (int): Likewise.
30484 (typ): Likewise.
30485 Do not generate makefile rules for bounded-pointer thunks.
30486 * sysdeps/generic/bp-thunks.h: Remove file.
30487 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30488 * sysdeps/unix/s-proto-bp.S: Likewise.
30489
30490 [BZ #15062]
30491 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30492 parts of result separately when argument is not close to line from
30493 -i to i and one part of argument is small.
30494 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30495 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30496 * math/libm-test.inc (cacos_test): Add more tests.
30497 (casin_test): Likewise.
30498 (casinh_test): Likewise.
30499 * sysdeps/i386/fpu/libm-test-ulps: Update.
30500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30501
305022013-01-31 David S. Miller <davem@davemloft.net>
30503
30504 * po/de.po: Update from translation team.
30505
305062013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30507
30508 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30509
305102013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30511
30512 * configure.in (_AC_PROG_CC_C89): New definition.
30513 * configure: Regenerate.
30514
30515 * configure.in (AC_PROG_CPP): New definition.
30516 * configure: Regenerate.
30517
305182013-01-23 Joseph Myers <joseph@codesourcery.com>
30519
30520 * debug/tst-backtrace.h: New file.
30521 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30522 (ret): Remove variable.
30523 (x): Likewise.
30524 (FAIL): Remove macro.
30525 (NO_INLINE): Likewise.
30526 (fn1): Use match function instead of strstr.
30527 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30528 (ret): Remove variable.
30529 (x): Likewise.
30530 (FAIL): Remove macro.
30531 (NO_INLINE): Likewise.
30532 (fn): Use match function instead of strstr.
30533 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30534 (ret): Remove variable.
30535 (x): Likewise.
30536 (FAIL): Remove macro.
30537 (NO_INLINE): Likewise.
30538 (handle_signal): Use match function instead of strstr.
30539 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30540 (ret): Remove variable.
30541 (x): Likewise.
30542 (FAIL): Remove macro.
30543 (NO_INLINE): Likewise.
30544 (handle_signal): Use match function instead of strstr.
30545
305462013-01-23 Roland McGrath <roland@hack.frob.com>
30547
30548 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30549
305502013-01-23 David S. Miller <davem@davemloft.net>
30551
30552 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30553 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30554 argument of CAS if possible.
30555 * sysdeps/sparc/sparc64/bits/atomic.h
30556 (__arch_compare_and_exchange_val_32_acq): Likewise.
30557 (__arch_compare_and_exchange_val_64_acq): Likewise.
30558
305592013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30560
30561 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30562 * sysdeps/posix/ulimit.c: ... this.
30563 Include <limits.h>.
30564 * sysdeps/unix/bsd/ulimit.c: Remove file.
30565
305662013-01-23 Adam Conrad <adconrad@0c3.net>
30567
30568 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30569 (LDFLAGS-tst-array5): Likewise.
30570
305712013-01-23 Joseph Myers <joseph@codesourcery.com>
30572
30573 [BZ #15036]
30574 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30575 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30576 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30577 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30578
305792013-01-21 David S. Miller <davem@davemloft.net>
30580
30581 * sysdeps/sparc/backtrace.c: New file.
30582 * sysdeps/sparc/sparc32/backtrace.h: New file.
30583 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30584 * sysdeps/sparc/sparc64/backtrace.h: New file.
30585 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30586 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30587 -funwind-tables.
30588
305892013-01-21 Andreas Schwab <schwab@suse.de>
30590
30591 [BZ #15020]
30592 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30593 closed its stdout.
30594
305952013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30596
30597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30598 "mpa2.h".
30599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30600
306012013-01-18 Joseph Myers <joseph@codesourcery.com>
30602 Mark Mitchell <mark@codesourcery.com>
30603 Tom de Vries <tom@codesourcery.com>
30604 Paul Pluzhnikov <ppluzhnikov@google.com>
30605
30606 * debug/tst-backtrace2.c: New file.
30607 * debug/tst-backtrace3.c: Likewise.
30608 * debug/tst-backtrace4.c: Likewise.
30609 * debug/tst-backtrace5.c: Likewise.
30610 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30611 (CFLAGS-tst-backtrace3.c): Likewise.
30612 (CFLAGS-tst-backtrace4.c): Likewise.
30613 (CFLAGS-tst-backtrace5.c): Likewise.
30614 (LDFLAGS-tst-backtrace2): Likewise.
30615 (LDFLAGS-tst-backtrace3): Likewise.
30616 (LDFLAGS-tst-backtrace4): Likewise.
30617 (LDFLAGS-tst-backtrace5): Likewise.
30618 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30619 tst-backtrace4 and tst-backtrace5.
30620
306212013-01-18 Anton Blanchard <anton@samba.org>
30622 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30623
30624 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30625 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30626 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30627 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30629 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30630 "+r" and remove output regs list as redundant. Add explicit inline
30631 asm to specify register of return val to work around compiler codegen
30632 bug. Remove (int) cast on return value. Add return type parameter to
30633 use in macro so that this macro does not truncate return value for
30634 64-bit values.
30635 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30636 pass to INTERNAL_VSYSCALL_NCS.
30637 (INLINE_VSYSCALL): Add 'long int' as return type to
30638 INTERNAL_VSYSCALL_NCS macro invocation.
30639 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30640 INTERNAL_VSYSCALL_NCS macro invocation.
30641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30642
306432013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30644
30645 [BZ #14496]
30646 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30647 Fix application of SIMD FP exception mask.
30648
30649 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30650 mp_no from a power of two.
30651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30652 __mpexp_twomm1. Use __pow_mp.
30653
30654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30655 multiplication.
30656
306572013-01-17 David S. Miller <davem@davemloft.net>
30658
30659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30660
306612013-01-17 Joseph Myers <joseph@codesourcery.com>
30662
30663 [BZ #15023]
30664 * include/complex.h: Condition contents on [!_COMPLEX_H].
30665 (__kernel_casinhf): New prototype.
30666 (__kernel_casinh): Likewise.
30667 (__kernel_casinhl): Likewise.
30668 * math/Makefile (libm_calls): Add k_casinh.
30669 * math/k_casinh.c: New file.
30670 * math/k_casinhf.c: Likewise.
30671 * math/k_casinhl.c: Likewise.
30672 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30673 finite nonzero arguments.
30674 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30675 finite nonzero arguments.
30676 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30677 finite nonzero arguments.
30678 * math/s_casinh.c: Do not include <float.h>.
30679 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30680 * math/s_casinhf.c: Do not include <float.h>.
30681 (__casinhf): Move code for finite nonzero arguments to
30682 k_casinhf.c.
30683 * math/s_casinhl.c: Do not include <float.h>.
30684 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30685 redefine.
30686 (__casinhl): Move code for finite nonzero arguments to
30687 k_casinhl.c.
30688 * math/libm-test.inc (cacos_test): Add more tests.
30689 * sysdeps/i386/fpu/libm-test-ulps: Update.
30690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30691
306922013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30693
30694 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30695 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30696 [!HAVE_MREMAP]: Remove [defined linux] case.
30697 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30698
306992013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30700
30701 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30702
307032013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30704
30705 * elf/elf.h (R_386_SIZE32): New relocation.
30706 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30707 R_386_SIZE32.
30708 (elf_machine_rela): Likewise.
30709 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30710 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30711
307122013-01-17 Joseph Myers <joseph@codesourcery.com>
30713
30714 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30715 (FP_FAST_FMA): Do not define.
30716 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30717 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30718 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30719 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30720 !_SOFT_FLOAT]: Likewise.
30721 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30722 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30723 value.
30724 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30725 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30726 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30727 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30728 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30729 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30730 file.
30731
307322013-01-16 Andreas Schwab <schwab@suse.de>
30733
30734 [BZ #14327]
30735 * include/stdlib.h (__mktemp): Add declaration.
30736 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30737 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30738
307392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30740
30741 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30742 definitions.
30743 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30744 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30745 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30746 definitions here.
30747 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30748 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30749 definitions.
30750 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30751 and ONE.
30752 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30753 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30754 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30755 definitions.
30756 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30757 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30758 definitions.
30759 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30760
30761 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30762
307632013-01-15 David S. Miller <davem@davemloft.net>
30764
30765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30766 trunc{,f} to libm-sysdep_routes.
30767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30769 file.
30770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30772 file.
30773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30774 file.
30775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30777 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30778 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30779 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30780 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30781 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30782 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30783
30784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30785 nearbyint{,f} to libm-sysdep_routes.
30786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30788 New file.
30789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30790 file.
30791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30792 New file.
30793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30794 file.
30795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30797 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30798 file.
30799 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30800 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30801 file.
30802 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30803 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30804 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30805
30806 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30807 libc_feholdexcept and libc_fesetenv.
30808
308092013-01-15 Mike Frysinger <vapier@gentoo.org>
30810
30811 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30812
308132013-01-14 David S. Miller <davem@davemloft.net>
30814
30815 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30816 (SPARC_ASM_VIS2_IFUNC): Likewise.
30817 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30819 use of 'siam' instruction.
30820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30821 Likewise.
30822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30823 Likewise.
30824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30825 Likewise.
30826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30828 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30831 file.
30832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30833 file.
30834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30835 file.
30836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30837 file.
30838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30839 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30840 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30843 new VIS2 routines.
30844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30847 Likewise.
30848 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30849 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30850 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30851 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30853 routines to libm-sysdep_routines.
30854 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30855
30856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30857 fdim/fdimf to libm-sysdep_routines.
30858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30859 file.
30860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30862 file.
30863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30866 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30867 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30868 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30869 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30870
308712013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30872
30873 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30874 to optimize copies.
30875
30876 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30879
30880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30881 local variable MPTWO.
30882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30883 Likewise.
30884
308852013-01-13 Mike Frysinger <vapier@gentoo.org>
30886
30887 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30888 GLOB_NOESCAPE.
30889
308902013-01-13 Mike Frysinger <vapier@gentoo.org>
30891
30892 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30893
308942013-01-13 Mike Frysinger <vapier@gentoo.org>
30895
30896 * manual/pattern.texi (glob_t): Document gl_flags.
30897 (glob64_t): Likewise.
30898
308992013-01-11 David S. Miller <davem@davemloft.net>
30900
30901 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30902 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30903 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30904 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30905 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30906 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30907 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30908 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30909 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30910 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30911 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30912 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30913 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30914
30915 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30916 sparc V9 rather than using V8 code.
30917 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30918 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30919
30920 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30921 Move to...
30922 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30923 Here.
30924
309252013-01-11 Roland McGrath <roland@hack.frob.com>
30926
30927 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30928 not in the main loop.
30929 * configure: Regenerated.
30930
309312013-01-11 Joseph Myers <joseph@codesourcery.com>
30932
30933 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30934 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30935 to just #else.
30936 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30937 [!__GLIBC_HAVE_LONG_LONG] case.
30938 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30939 condition to just #else.
30940 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30941 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30942 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30943 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30944 unconditional.
30945 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30946 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30947 #elif condition to just #else.
30948 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30949 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30950 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30951 #elif condition to just #else.
30952
309532013-01-11 Steve Ellcey <sellcey@mips.com>
30954
30955 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30956 (EF_MIPS_ARCH_64): Fix value.
30957 (EF_MIPS_ARCH_32R2): New.
30958 (EF_MIPS_ARCH_64R2): New.
30959
309602013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30961
30962 * Makeconfig (+link-pie-before-libc): New.
30963 (+link-pie-after-libc): Likewise.
30964 (+link-pie-tests): Likewise.
30965 (+link-pie): Rewritten.
30966 (link-before-libc): Remove $(config-LDFLAGS).
30967 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30968 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30969 (config-LDFLAGS): Renamed to ...
30970 (rtld-LDFLAGS): This.
30971 (rtld-tests-LDFLAGS): New macro.
30972 (link-libc-rpath-link): Likewise.
30973 (link-libc-tests-rpath-link): Likewise.
30974 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30975 (link-libc): Prepand $(link-libc-rpath-link).
30976 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30977 (test-program-prefix): New macro.
30978 (test-via-rtld-prefix): Likewise.
30979 (test-program-cmd): Likewise.
30980 (host-test-program-cmd): Likewise.
30981 * Makefile ($(common-objpfx)testrun.sh): Replace
30982 $(run-program-prefix) with $(test-program-prefix).
30983 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30984 $(rtld-LDFLAGS).
30985 ($(common-objpfx)shlib.lds): Likewise.
30986 (build-module-helper): Likewise.
30987 ($(common-objpfx)format.lds): Likewise.
30988 * Rules (binaries-pie-tests): New.
30989 (binaries-pie-notests): Likewise.
30990 (binaries-pie): Rewritten.
30991 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30992 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30993 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30994 (make-test-out): Replace $(host-built-program-cmd) with
30995 $(host-test-program-cmd).
30996 * config.make.in (build-hardcoded-path-in-tests): New variable.
30997 * configure.in (--enable-hardcoded-path-in-tests): New configure
30998 option.
30999 (hardcoded_path_in_tests): New AC_SUBST.
31000 * configure: Regenerated.
31001 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31002 $(built-program-cmd) with $(test-program-cmd).
31003 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31004 (test_program_cmd): This.
31005 * elf/Makefile ($(objpfx)order.out): Run test with
31006 $(test-program-prefix).
31007 ($(objpfx)order2.out): Likewise.
31008 ($(objpfx)tst-initorder.out): Likewise.
31009 ($(objpfx)tst-initorder2.out): Likewise.
31010 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31011 $(test-program-cmd).
31012 ($(objpfx)tst-array1-static.out): Likewise.
31013 ($(objpfx)tst-array2.out): Likewise.
31014 ($(objpfx)tst-array3.out): Likewise.
31015 ($(objpfx)tst-array4.out): Likewise.
31016 ($(objpfx)tst-array5.out): Likewise.
31017 ($(objpfx)tst-array5-static.out): Likewise.
31018 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31019 $(test-program-cmd).
31020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31021 $(run-program-prefix) with $(test-program-prefix).
31022 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31023 (test_program_prefix): This.
31024 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31025 $(run-program-prefix) with $(test-program-prefix).
31026 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31027 (test_program_prefix): This.
31028 * iconvdata/tst-tables.sh: Likewise.
31029 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31030 $(run-program-prefix) with $(test-program-prefix).
31031 ($(objpfx)tst-translit.out): Likewise.
31032 ($(objpfx)tst-gettext2.out): Likewise.
31033 ($(objpfx)tst-gettext4.out): Likewise.
31034 ($(objpfx)tst-gettext6.out): Likewise.
31035 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31036 (test_program_prefix): This.
31037 * intl/tst-gettext2.sh: Likewise.
31038 * intl/tst-gettext4.sh Likewise.
31039 * intl/tst-gettext6.sh: Likewise.
31040 * intl/tst-translit.sh: Likewise.
31041 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31042 with $(test-program-cmd).
31043 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31044 $(run-program-prefix) with $(test-program-prefix).
31045 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31046 (test_program_prefix): This.
31047 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31048 $(run-program-prefix) with $(test-program-prefix).
31049 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31050 (test_program_prefix): This.
31051 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31052 * posix/Makefile ($(objpfx)globtest.out): Replace
31053 $(run-via-rtld-prefix) and $(test-wrapper) with
31054 $(test-program-prefix) and $(test-via-rtld-prefix).
31055 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31056 $(test-program-prefix).
31057 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31058 $(host-test-program-cmd).
31059 (tst-spawn-ARGS): Likewise.
31060 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31061 $(test-program-prefix).
31062 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31063 (test_via_rtld_prefix): This.
31064 (test_wrapper): Renamed to ...
31065 (test_program_prefix): This.
31066 (run_program_prefix): Replaced by test_program_prefix.
31067 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31068 (test_program_prefix): This.
31069 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31070 with $(host-test-program-cmd).
31071 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31072 $(run-program-prefix) with $(test-program-prefix).
31073 ($(objpfx)tst-printf.out): Likewise.
31074 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31075 $(test-program-cmd).
31076 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31077 (test_program_prefix): This.
31078 * stdio-common/tst-unbputc.sh: Likewise.
31079 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31080 $(run-program-prefix) with $(test-program-prefix).
31081 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31082 (test_program_prefix): This.
31083 * string/Makefile ($(objpfx)tst-svc.out): Replace
31084 $(built-program-cmd) with $(test-program-cmd).
31085
310862013-01-11 Andreas Jaeger <aj@suse.de>
31087
31088 [BZ #15003]
31089 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31090 value. Sync with Linux 3.7.
31091
310922013-01-10 David S. Miller <davem@davemloft.net>
31093
31094 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31095 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31096 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31097
310982013-01-10 Roland McGrath <roland@hack.frob.com>
31099
31100 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31101 never set.
31102 * configure: Regenerated.
31103
311042013-01-10 David S. Miller <davem@davemloft.net>
31105
31106 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31107 sparc V9 rather than using V8 code.
31108 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31109 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31110
311112013-01-10 Roland McGrath <roland@hack.frob.com>
31112
31113 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31114 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31115 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31116 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31117 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31118 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31119 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31120 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31121 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31122 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31123 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31124 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31125 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31126 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31127 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31128 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31129 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31130 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31131 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31132 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31133 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31134 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31135 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31136 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31137 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31138 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31139 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31140
311412013-01-10 David S. Miller <davem@davemloft.net>
31142
31143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31144
311452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31146
31147 * posix/Makefile (tests-static): New variable.
31148 (tests): Add $(tests-static).
31149 (tst-exec-static-ARGS): New variable.
31150 (tst-spawn-static-ARGS): Likewise.
31151 * posix/tst-exec-static.c: New file.
31152 * posix/tst-spawn-static.c: Likewise.
31153 * posix/tst-exec.c: Support run directly.
31154 * posix/tst-spawn.c: Likewise.
31155
311562013-01-10 Joseph Myers <joseph@codesourcery.com>
31157
31158 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31159 long.
31160 * math/bits/mathcalls.h (llrint): Likewise.
31161 (llround): Likewise.
31162 * stdlib/stdlib.h (struct drand48_data): Likewise.
31163 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31164 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31165 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31166 Likewise.
31167 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31168 Likewise.
31169 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31170 (elf_greg_t): Likewise.
31171 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31172 (__jmp_buf): Likewise.
31173 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31174 definitions.
31175 (llrint): Likewise, for all definitions.
31176 (llrintl): Likewise.
31177
31178 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31179 Remove [__GNUC__] condition.
31180 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31181 condition to just [__USE_ISOC99].
31182 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31183
311842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31185
31186 [BZ #14200]
31187 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31188 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31189 defined.
31190 (_POSIX_V6_ILP32_OFF32): Likewise.
31191 (_XBS5_ILP32_OFF32): Likewise.
31192 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31193 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31194
311952013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31196
31197 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31198
31199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31200 doubles __mpexp_twomm1. Adjust usage.
31201 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31202 Remove.
31203
312042013-01-10 Andreas Schwab <schwab@suse.de>
31205
31206 [BZ #14964]
31207 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31208 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31209
312102013-01-09 David S. Miller <davem@davemloft.net>
31211
31212 [BZ #15003]
31213 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31214 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31215 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31216 (TCP_FASTOPEN): Define.
31217 (tcp_repair_opt): New structure.
31218 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31219 enum values.
31220 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31221 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31222 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31223 (tcp_cookie_transactions): New structure.
31224
312252013-01-09 Anton Blanchard <anton@samba.org>
31226
31227 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31228 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31230 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31231
312322013-01-09 Joseph Myers <joseph@codesourcery.com>
31233
31234 * include/features.h (__USE_ANSI): Remove.
31235
312362013-01-09 Roland McGrath <roland@hack.frob.com>
31237
31238 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31239
31240 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31241
312422013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31243
31244 * sysdeps/s390/fpu/libm-test-ulps: Update.
31245
31246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31247
31248 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31249 (__acr): Likewise.
31250 (__cpy): Likewise.
31251 (norm): Likewise.
31252 (denorm): Likewise.
31253 (__mp_dbl): Likewise.
31254 (__dbl_mp): Likewise.
31255 (add_magnitudes): Likewise.
31256 (sub_magnitudes): Likewise.
31257 (__add): Likewise.
31258 (__sub): Likewise.
31259 (__mul): Likewise.
31260 (__inv): Likewise.
31261 (__dvd): Likewise.
31262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31263 (__acr): Likewise.
31264 (__cpy): Likewise.
31265 (norm): Likewise.
31266 (denorm): Likewise.
31267 (__mp_dbl): Likewise.
31268 (__dbl_mp): Likewise.
31269 (add_magnitudes): Likewise.
31270 (sub_magnitudes): Likewise.
31271 (__add): Likewise.
31272 (__sub): Likewise.
31273 (__mul): Likewise.
31274 (__inv): Likewise.
31275 (__dvd): Likewise.
31276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31277 (__acr): Likewise.
31278 (__cpy): Likewise.
31279 (norm): Likewise.
31280 (denorm): Likewise.
31281 (__mp_dbl): Likewise.
31282 (__dbl_mp): Likewise.
31283 (add_magnitudes): Likewise.
31284 (sub_magnitudes): Likewise.
31285 (__add): Likewise.
31286 (__sub): Likewise.
31287 (__mul): Likewise.
31288 (__inv): Likewise.
31289 (__dvd): Likewise.
31290
312912013-01-08 Joseph Myers <joseph@codesourcery.com>
31292
31293 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31294 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31295 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31296 2 && __USE_EXTERN_INLINES]: Likewise.
31297
312982013-01-08 Andreas Jaeger <aj@suse.de>
31299
31300 [BZ# 14985]
31301 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31302 Remove.
31303 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31304 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31305
313062013-01-07 Anton Blanchard <anton@samba.org>
31307
31308 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31309 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31310 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31311 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31312 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31313 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31314 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31315 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31317 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31318 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31319 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31320 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31321 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31322 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31323 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31324 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31325 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31326 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31328 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31329 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31330 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31331 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31332 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31333 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31334 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31335 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31337 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31338 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31340 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31341 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31342 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31343 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31344 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31345 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31346 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31347 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31348 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31349 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31350 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31351
313522013-01-07 Joseph Myers <joseph@codesourcery.com>
31353
31354 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31355 (__MALLOC_PMT): Likewise.
31356 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31357 [__GNUC__], only on [_LIBC].
31358 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31359 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31360 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31361 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31362 forward declaration.
31363 (realloc_hook_ini): Likewise.
31364 (memalign_hook_ini): Likewise.
31365 (__libc_memalign): Do not use __MALLOC_PMT in variable
31366 declaration.
31367 (__libc_valloc): Likewise.
31368 (__libc_pvalloc): Likewise.
31369 (__libc_calloc): Likewise.
31370 (__posix_memalign): Likewise.
31371
31372 [BZ #14996]
31373 * math/s_casinh.c: Include <float.h>.
31374 (__casinh): Do not do computation with squaring and square root
31375 for large arguments.
31376 * math/s_casinhf.c: Include <float.h>.
31377 (__casinhf): Do not do computation with squaring and square root
31378 for large arguments.
31379 * math/s_casinhl.c: Include <float.h>.
31380 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31381 (__casinhl): Do not do computation with squaring and square root
31382 for large arguments.
31383 * math/libm-test.inc (casin_test): Add more tests.
31384 (casinh_test): Likewise.
31385 * sysdeps/i386/fpu/libm-test-ulps: Update.
31386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31387
313882013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31389
31390 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31391 (__x86_64_raw_data_cache_size): Likewise.
31392 (__x86_64_data_cache_size_half): Likewise.
31393 (__x86_64_raw_data_cache_size_half): Likewise.
31394 (__x86_64_shared_cache_size): Likewise.
31395 (__x86_64_raw_shared_cache_size): Likewise.
31396 (__x86_64_shared_cache_size_half): Likewise.
31397 (__x86_64_raw_shared_cache_size_half): Likewise.
31398 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31399 to ...
31400 (__x86_data_cache_size): This.
31401 (__x86_64_raw_data_cache_size): Renamed to ...
31402 (__x86_raw_data_cache_size): This.
31403 (__x86_64_data_cache_size_half): Renamed to ...
31404 (__x86_data_cache_size_half): This.
31405 (__x86_64_raw_data_cache_size_half): Renamed to ...
31406 (__x86_raw_data_cache_size_half): This.
31407 (__x86_64_shared_cache_size): Renamed to ...
31408 (__x86_shared_cache_size): This.
31409 (__x86_64_raw_shared_cache_size): Renamed to ...
31410 (__x86_raw_shared_cache_size): This.
31411 (__x86_64_shared_cache_size_half): Renamed to ...
31412 (__x86_shared_cache_size_half): This.
31413 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31414 (__x86_raw_shared_cache_size_half): This.
31415 * sysdeps/x86_64/memcpy.S: Updated.
31416 * sysdeps/x86_64/memset.S: Likewise.
31417 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31418 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31419 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31420
314212013-01-04 David S. Miller <davem@davemloft.net>
31422
31423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31424
314252013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31426
31427 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31428 1 to avoid redefinition warning.
31429 (__USE_GNU): Don't define.
31430 (init_signaling_nan): Protoize.
31431
31432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31433
314342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31435
31436 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31437 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31438 (__cpymn): Likewise.
31439 (norm): Remove commented code.
31440 (denorm): Likewise.
31441 (__mp_dbl): Likewise.
31442 (__inv): Likewise.
31443 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31444 (__cpymn): Likewise.
31445 (norm): Remove commented code.
31446 (denorm): Likewise.
31447 (__mp_dbl): Likewise.
31448 (__inv): Likewise.
31449
31450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31451 mp_no value for 1.0 and 2.0.
31452 (norm): Use RADIXI instead of radixi.d.
31453 (denorm): Likewise.
31454 (__mul): Use 0.0 instead of zero.d.
31455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31456 mp_no value for 1.0 and 2.0.
31457 (norm): Use RADIXI instead of radixi.d.
31458 (denorm): Likewise.
31459 (__mul): Use 0.0 instead of zero.d.
31460
314612013-01-04 Joseph Myers <joseph@codesourcery.com>
31462
31463 [BZ #14994]
31464 * math/s_casinh.c (__casinh): Reduce finite argument to first
31465 quadrant then set signs of results at the end.
31466 * math/s_casinhf.c (__casinhf): Likewise.
31467 * math/s_casinhl.c (__casinhl): Likewise.
31468 * math/libm-test.inc (casin_test): Add more tests.
31469 (casinh_test): Likewise.
31470 * sysdeps/i386/fpu/libm-test-ulps: Update.
31471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31472
314732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31474
31475 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31476
31477 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31478
31479 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31480 declarations.
31481 (denorm): Likewise.
31482 (__mp_dbl): Likewise.
31483 (__inv): Likewise.
31484
31485 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31486 and adjust the header comment.
31487
31488 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31489 variable name from declaration.
31490
314912013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31492
31493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31494 Initialize COMMON_CPUID_INDEX_7 element.
31495 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31496 (CPUID_RTM): Likewise.
31497 (HAS_RTM): Likewise.
31498 (COMMON_CPUID_INDEX_7): New enum.
31499
315002013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31501
31502 [BZ #14981]
31503 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31504 size is zero, record memory as freed.
31505
315062013-01-03 Andreas Jaeger <aj@suse.de>
31507
31508 * po/ia.po: Add new Interlingua translation.
31509
315102012-01-03 Allan McRae <allan@archlinux.org>
31511
31512 * locale/programs/localedef.c: Fix description of '--posix' flag.
31513
315142013-01-02 Joseph Myers <joseph@codesourcery.com>
31515
31516 * NEWS: Update dates in second copyright notice.
31517 * README: Update copyright dates in example.
31518 * manual/libc.texinfo: Update copyright dates.
31519 * scripts/test-installation.pl: Update copyright date in --version
31520 output.
31521
31522 * hurd/ctty-input.c: Fix copyright notice formatting.
31523 * hurd/ctty-output.c: Likewise.
31524 * hurd/dtable.c: Likewise.
31525 * hurd/hurd-raise.c: Likewise.
31526 * hurd/hurdprio.c: Likewise.
31527 * hurd/msgportdemux.c: Likewise.
31528 * misc/sys/file.h: Likewise.
31529 * misc/sys/ioctl.h: Likewise.
31530 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31531 * sysdeps/mach/hurd/chdir.c: Likewise.
31532 * sysdeps/mach/hurd/fchdir.c: Likewise.
31533 * sysdeps/mach/hurd/rename.c: Likewise.
31534 * sysdeps/mach/hurd/rmdir.c: Likewise.
31535 * sysdeps/mach/hurd/seekdir.c: Likewise.
31536 * sysdeps/mach/hurd/setsid.c: Likewise.
31537 * sysdeps/posix/wait3.c: Likewise.
31538
31539 * All files with FSF copyright notices: Update copyright dates
31540 using scripts/update-copyrights.
31541 * intl/plural.c: Regenerated.
31542 * locale/programs/charmap-kw.h: Likewise.
31543 * locale/programs/locfile-kw.h: Likewise.
31544
315452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31546
31547 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31548 four values.
31549
31550 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31551 calculation loop and add branch prediction.
31552
31553 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31554 check access beyond bounds of m1np.
31555
31556 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31557 MPTWO.
31558 (__inv): Remove local variable MPTWO to use the global
31559 constant.
31560 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31562 variable MPTWO.
31563 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31564 MP3HALFS static const.
31565
315662013-01-01 David S. Miller <davem@davemloft.net>
31567
31568 * po/ca.po: Update from translation team.
31569
315702013-01-01 Joseph Myers <joseph@codesourcery.com>
31571
31572 * scripts/update-copyrights: New file.
31573 * Makeconfig: Reformat copyright notice.
31574 * ctype/ctype.h: Likewise.
31575 * debug/swprintf_chk.c: Likewise.
31576 * elf/dl-cache.c: Likewise.
31577 * elf/dl-debug.c: Likewise.
31578 * elf/dl-object.c: Likewise.
31579 * grp/initgroups.c: Likewise.
31580 * hurd/Makefile: Likewise.
31581 * hurd/hurd/signal.h: Likewise.
31582 * hurd/hurdfault.c: Likewise.
31583 * hurd/hurdioctl.c: Likewise.
31584 * hurd/hurdlookup.c: Likewise.
31585 * hurd/intr-msg.c: Likewise.
31586 * iconv/gconv_open.c: Likewise.
31587 * libio/swprintf.c: Likewise.
31588 * locale/lc-ctype.c: Likewise.
31589 * locale/nl_langinfo.c: Likewise.
31590 * mach/Machrules: Likewise.
31591 * mach/Makefile: Likewise.
31592 * malloc/obstack.h: Likewise.
31593 * manual/Makefile: Likewise.
31594 * manual/tsort.awk: Likewise.
31595 * misc/bits/stab.def: Likewise.
31596 * nis/nis_print_group_entry.c: Likewise.
31597 * nis/nis_table.c: Likewise.
31598 * nis/nss_compat/compat-pwd.c: Likewise.
31599 * nis/nss_compat/compat-spwd.c: Likewise.
31600 * po/Makefile: Likewise.
31601 * posix/fnmatch.c: Likewise.
31602 * posix/regex.h: Likewise.
31603 * resolv/Makefile: Likewise.
31604 * resolv/nss_dns/dns-network.c: Likewise.
31605 * resolv/res_hconf.c: Likewise.
31606 * scripts/gen-sorted.awk: Likewise.
31607 * soft-fp/soft-fp.h: Likewise.
31608 * stdio-common/printf.h: Likewise.
31609 * stdlib/monetary.h: Likewise.
31610 * stdlib/random.c: Likewise.
31611 * stdlib/random_r.c: Likewise.
31612 * sysdeps/generic/Makefile: Likewise.
31613 * sysdeps/gnu/Makefile: Likewise.
31614 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31616 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31618 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31620 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31621 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31624 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31625 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31626 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31627 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31628 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31629 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31630 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31632 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31634 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31635 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31636 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31637 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31638 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31639 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31640 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31641 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31642 * sysdeps/mach/hurd/errnos.awk: Likewise.
31643 * sysdeps/mach/hurd/fork.c: Likewise.
31644 * sysdeps/mach/hurd/getcwd.c: Likewise.
31645 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31646 * sysdeps/mach/hurd/mmap.c: Likewise.
31647 * sysdeps/mach/hurd/utimes.c: Likewise.
31648 * sysdeps/mach/hurd/xmknod.c: Likewise.
31649 * sysdeps/posix/profil.c: Likewise.
31650 * sysdeps/posix/readdir_r.c: Likewise.
31651 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31652 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31653 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31654 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31656 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31657 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31658 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31659 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31660 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31661 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31662 * sysdeps/pthread/lio_listio.c: Likewise.
31663 * sysdeps/sparc/dl-procinfo.h: Likewise.
31664 * sysdeps/unix/i386/sysdep.S: Likewise.
31665 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31666 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31667 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31668 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31670 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31671 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31672 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31673 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31674 * sysdeps/wordsize-32/divdi3.c: Likewise.
31675 * time/sys/time.h: Likewise.
31676 * wcsmbs/Makefile: Likewise.
31677
316782013-01-01 David S. Miller <davem@davemloft.net>
31679
31680 * po/fr.po: Update from translation team.
31681
31682 * catgets/gencat.c: Update copyright year.
31683 * csu/version.c: Likewise.
31684 * debug/catchsegv.sh: Likewise.
31685 * debug/pcprofiledump.c: Likewise.
31686 * debug/xtrace.sh: Likewise.
31687 * elf/ldconfig.c: Likewise.
31688 * elf/ldd.bash.in: Likewise.
31689 * elf/pldd.c: Likewise.
31690 * elf/sotruss.ksh: Likewise.
31691 * elf/sprof.c: Likewise.
31692 * iconv/iconv_prog.c: Likewise.
31693 * iconv/iconvconfig.c: Likewise.
31694 * locale/programs/locale.c: Likewise.
31695 * locale/programs/localedef.c: Likewise.
31696 * login/programs/pt_chown.c: Likewise.
31697 * malloc/memusage.sh: Likewise.
31698 * malloc/memusagestat.c: Likewise.
31699 * malloc/mtrace.pl: Likewise.
31700 * nscd/nscd.c: Likewise.
31701 * nss/getent.c: Likewise.
31702 * nss/makedb.c: Likewise.
31703 * posix/getconf.c: Likewise.
31704
317052012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31706
31707 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31708 numbers.
31709
317102012-12-30 Mike Frysinger <vapier@gentoo.org>
31711
31712 * math/bits/mathcalls.h (modf): Use __nonnull.
31713
317142012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31715
31716 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31717 (split): Use macro CN instead of the bare value.
31718 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31719 could be used.
31720 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31721 instead of the bare value.
31722 (power1): Likewise.
31723
317242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31725
31726 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31727 __ATAN_TWOM.
31728 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31729
31730 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31731 their values.
31732 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31733 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31734 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31735 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31736
317372012-12-28 Andreas Jaeger <aj@suse.de>
31738
31739 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31740 values are from Linux 3.7.
31741
31742 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31743 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31744
317452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31746
31747 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31748 TRUE case.
31749
31750 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31751 (norm): Likewise.
31752 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31753 variables with preprocessor constants.
31754 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31755 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31756 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31757
317582012-12-27 Bruno Haible <bruno@clisp.org>
31759
31760 [BZ #14317]
31761 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31762 only if needed.
31763
317642012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31765
31766 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31767 and use variable directly.
31768 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31769
31770 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31771 MPONE.
31772 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31773 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31774 variable MPONE.
31775 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31776 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31777 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31778 include directive. Remove local variable MPONE.
31779 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31780 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31781 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31782
317832012-12-25 David S. Miller <davem@davemloft.net>
31784
31785 * version.h (RELEASE): Set to "development".
31786 (VERSION): Set to "2.17.90".
31787 * NEWS: Add 2.18 section.
31788
317892012-12-21 David S. Miller <davem@davemloft.net>
31790
31791 * po/hr.po: Update from translation team.
31792
317932012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31794
31795 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31796
317972012-12-19 Steve Ellcey <sellcey@mips.com>
31798
31799 * NEWS: Mention new memcpy for MIPS.
31800
318012012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31802
31803 * manual/contrib.texi (Contributors): Spelling correction.
31804
318052012-12-15 David S. Miller <davem@davemloft.net>
31806
31807 * po/ru.po: Update from translation team.
31808
318092012-12-13 David S. Miller <davem@davemloft.net>
31810
31811 * NEWS: Mention IFUNC testsuite enhancements.
31812
31813 * po/pl.po: Update from translation team.
31814 * po/bg.po: Likewise.
31815
31816 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31817 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31818
318192012-12-11 David S. Miller <davem@davemloft.net>
31820
31821 * po/sv.po: Update from translation team.
31822
31823 * po/vi.po: Update from translation team.
31824
31825 * po/cs.po: Update from translation team.
31826
31827 * po/de.po: Update from translation team.
31828 * po/eo.po: Likewise.
31829 * po/nl.po: Likewise.
31830
318312012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31832
31833 [BZ #14246]
31834 * manual/argp.texi (Argp Helper Functions): Move node to follow
31835 Argp Parsing State.
31836
31837 [BZ #14872]
31838 * manual/conf.texi (Limits on File System Capacity): Mention if
31839 terminating null is included in the max size.
31840
318412012-12-10 Andreas Jaeger <aj@suse.de>
31842
31843 * po/cs.po: Update from translation team.
31844
318452012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31846
31847 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31848 void pointer and cast to uintptr_t.
31849 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31850 path.
31851 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31852 * sysdeps/s390/s390-64/memset.S: Likewise.
31853
318542012-12-08 Benno Schulenberg <bensberg@justemail.net>
31855
31856 [BZ #14833]
31857 * menual/message.texi (Message Translation): Fix typos.
31858 (Helper programs for gettext): Likewise.
31859
318602012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31861
31862 [BZ #14898]
31863 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31864 Change to -1.
31865
318662012-12-07 David S. Miller <davem@davemloft.net>
31867
31868 * po/libc.pot: Update.
31869
318702012-12-07 Richard Henderson <rth@redhat.com>
31871
31872 [BZ #10114]
31873 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31874 normal/normal case to before the switch.
31875 (_FP_DIV): Likewise.
31876
318772012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31878 Mike Frysinger <vapier@gentoo.org>
31879
31880 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31881 check for __NR_fadvise64_64.
31882
318832012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31884
31885 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31886 0, not just to plain "0" as a statement.
31887 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31888 with cw.
31889
318902012-12-06 Joseph Myers <joseph@codesourcery.com>
31891
31892 * NEWS: Use sourceware.org in Bugzilla URL.
31893
318942012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31895
31896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31897 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31898
31899 * stdio-common/tst-put-error.c (do_test): Add newline to the
31900 padded test to ensure flush.
31901
319022012-12-05 Jeff Law <law@redhat.com>
31903
31904 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31905
319062012-12-05 Joseph Myers <joseph@codesourcery.com>
31907
31908 * README: Don't refer to ports add-on as distributed separately.
31909 Mention AArch64 in list of systems supported in the ports add-on.
31910
31911 * LICENSES: Add more non-FSF copyright and license notices.
31912
31913 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31914 ((unused)).
31915
31916 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31917
31918 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31919 10000 as width of padded output.
31920
319212012-12-04 Joseph Myers <joseph@codesourcery.com>
31922
31923 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31924
31925 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31926 variable LX with __attribute__ ((unused)).
31927 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31928 Likewise.
31929 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31930 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31931 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31932 with __attribute__ ((unused)).
31933
319342012-12-04 David S. Miller <davem@abraco.davemloft.net>
31935
31936 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31937
319382012-12-04 Joseph Myers <joseph@codesourcery.com>
31939
31940 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31941 (CFLAGS-nldbl-acos.c): New variable.
31942 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31943 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31944 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31945 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31946 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31947 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31948 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31949 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31950 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31951 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31952 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31953 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31954 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31955 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31956 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31957 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31958 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31959 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31960 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31961 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31962 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31963 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31964 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31965 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31966 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31967 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31968 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31969 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31970 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31971 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31972 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31973 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31974 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31975 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31976 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31977 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31978 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31979 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31980 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31981 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31982 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31983 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31984 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31985 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31986 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31987 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31988 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31989 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31990 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31991 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31992 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31993 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31994 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31995 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31996 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31997 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31998 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31999 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32000 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32001 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32002 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32003 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32004 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32005 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32006 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32007 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32008 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32009 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32010 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32011 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32012 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32013 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32014 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32015 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32016 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32017 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32018 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32019 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32020 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32021 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32022 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32023 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32024 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32025 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32026 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32027 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32028 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32029 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32030 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32031 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32032 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32033 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32034 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32035 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32036 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32037 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32038 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32039
32040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32041 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32042
32043 [BZ #14914]
32044 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32045 whole low double instead of just low 47 bits when splitting values
32046 into two parts.
32047
320482012-12-03 Allan McRae <allan@archlinux.org>
32049
32050 * manual/stdio.texi (Predefined Printf Handlers): Remove
32051 @hsep and @vsep usage.
32052
320532012-12-03 Mike Frysinger <vapier@gentoo.org>
32054
32055 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32056 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32057
320582012-12-03 Jeff Law <law@redhat.com>
32059
32060 * time/sys/time.h (settimeofday): Do not mark TV argument
32061 as __nonnull.
32062
320632012-12-01 Mike Frysinger <vapier@gentoo.org>
32064
32065 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32066 when currently writing and seek to current position when not.
32067 * libio/Makefile (tests): Remove bug-fclose1.
32068 * libio/bug-fclose1.c: Delete.
32069
320702012-12-01 Joseph Myers <joseph@codesourcery.com>
32071
32072 * manual/arith.texi (feenableexcept): Fix typo.
32073 (fedisableexcept): Likewise.
32074
320752012-11-30 Roland McGrath <roland@hack.frob.com>
32076
32077 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32078 second, differently-typed declaration, rather than a cast.
32079
320802012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32081
32082 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32083 * include/rpc/svc.h: ... here.
32084
320852012-11-30 Aurelien Jarno <aurel32@debian.org>
32086
32087 [BZ #13013]
32088 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32089 depending n and resplen2 to catch cases where answer
32090 equals answerp2.
32091
320922012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32093
32094 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32095 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32096
320972012-11-29 Mike Frysinger <vapier@gentoo.org>
32098
32099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32100
321012012-11-29 Roland McGrath <roland@hack.frob.com>
32102
32103 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32104
321052012-11-28 Jeff Law <law@redhat.com>
32106
32107 [BZ #13761]
32108 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32109 dataset_temporary. Track alloca usage into alloca_used.
32110 If dataset is large allocate and release it via malloc/free.
32111
321122012-06-04 Florian Weimer <fweimer@redhat.com>
32113
32114 [BZ #14197]
32115 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32116
321172012-11-28 David S. Miller <davem@davemloft.net>
32118
32119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32120
321212012-11-28 Joseph Myers <joseph@codesourcery.com>
32122
32123 [BZ #14803]
32124 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32125 of pi/2 rounded to nearest to 64 bits.
32126 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32127 nearest to 64 bits.
32128 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32129 bits.
32130
321312012-11-28 Jeff Law <law@redhat.com>
32132 Martin Osvald <mosvald@redhat.com>
32133
32134 [BZ #14889]
32135 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32136 * sunrpc/svc.c: Include time.h.
32137 (__svc_accept_failed): New function.
32138 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32139 any reason other than EINTR, call __svc_accept_failed.
32140 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32141 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32142
321432012-11-28 Andreas Schwab <schwab@suse.de>
32144
32145 * scripts/abilist.awk: Also handle indirect functions in .opd
32146 section.
32147
321482012-11-28 Joseph Myers <joseph@codesourcery.com>
32149
32150 [BZ #13881]
32151 * sysdeps/x86/fpu/powl_helper.c: New file.
32152 * sysdeps/x86/fpu/Makefile: Likewise.
32153 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32154 (p3): New object.
32155 (__ieee754_powl): Use __powl_helper for finite arguments except
32156 integer exponents below 8.
32157 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32158 (p3): New object.
32159 (__ieee754_powl): Use __powl_helper for finite arguments except
32160 integer exponents below 8.
32161 * math/libm-test.inc (pow_test): Add more tests and enable some
32162 previously disabled tests.
32163 * sysdeps/i386/fpu/libm-test-ulps: Update.
32164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32165
321662012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32167 Carlos O'Donell <carlos_odonell@mentor.com>
32168
32169 * nss/makedb.c (is_prime): Assert that input is odd and greater
32170 than 4. Note that fact in a comment too.
32171 (next_prime): Add 4 to input.
32172
321732012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32174
32175 [BZ #11741]
32176 * libio/Makefile (tests): Add test case tst-fwrite-error.
32177 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32178 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32179 * libio/tst-fwrite-error.c: New test case.
32180
321812012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32182
32183 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32184 before casting to void *.
32185 * include/libc-internal.h (__pointer_type): New macro.
32186 (__integer_if_pointer_type_sub): Likewise.
32187 (__integer_if_pointer_type): Likewise.
32188 (cast_to_integer): Likewise.
32189 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32190 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32191 before casting to atomic64_t.
32192 (atomic_exchange_acq): Likewise.
32193 (__arch_exchange_and_add_body): Likewise.
32194 (__arch_add_body): Likewise.
32195 (atomic_add_negative): Likewise.
32196 (atomic_add_zero): Likewise.
32197
321982012-11-26 Joseph Myers <joseph@codesourcery.com>
32199
32200 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32201 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32202 (add_fdes): Likewise.
32203 (linear_search_fdes): Likewise.
32204 (binary_search_unencoded_fdes): Likewise.
32205
322062012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32207
32208 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32209
322102012-11-24 Adam Conrad <adconrad@0c3.net>
32211
32212 * configure.in: Autodetect C++ header directories.
32213 * configure: Regenerated.
32214
322152012-11-23 Mike Frysinger <vapier@gentoo.org>
32216
32217 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32218
322192012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32220
32221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32222
322232012-11-22 Joseph Myers <joseph@codesourcery.com>
32224
32225 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32226 LDBL_MANT_DIG == 106]: Disable some tests.
32227 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32228 Likewise.
32229 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32230 Likewise.
32231
32232 [BZ #14871]
32233 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32234 input for small inputs. Return +/- pi/2 for large inputs.
32235 * math/libm-test.inc (atan_test): Add more tests.
32236
32237 * sysdeps/generic/unwind-dw2-fde-glibc.c
32238 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32239 __attribute__ ((unused)).
32240
32241 [BZ #14645]
32242 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32243 x * y if x and y are nonzero and z is zero.
32244
32245 [BZ #14811]
32246 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32247 nonzero exponents with absolute value below 0x1p-117 to +/-
32248 0x1p-117.
32249
32250 [BZ #14869]
32251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32252 up arguments below 2**-450, not just those below 2**-500.
32253 * math/libm-test.inc (hypot_test): Add another test.
32254
32255 [BZ #14868]
32256 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32257 Return a+b for ratio over 2**120, not 2**60.
32258 * math/libm-test.inc (hypot_test): Add another test.
32259
32260 * math/libm-test.inc (clog_test): Use
32261 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32262 (clog10_test): Likewise.
32263
32264 [BZ #6778]
32265 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32266
322672012-11-22 Andreas Schwab <schwab@suse.de>
32268
32269 * sysdeps/i386/fpu/libm-test-ulps: Update.
32270
322712012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32272
32273 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32274 printf output with newline.
32275
322762012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32277
32278 [BZ #14865]
32279 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32280 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32281 -z nodlopen, -z initfirst and -z execstack support.
32282 * configure: Regenerated.
32283
32284 * elf/elf.h (DF_1_NODIRECT): New macro.
32285 (DF_1_IGNMULDEF): Likewise.
32286 (DF_1_NOKSYMS): Likewise.
32287 (DF_1_NOHDR): Likewise.
32288 (DF_1_EDITED): Likewise.
32289 (DF_1_NORELOC): Likewise.
32290 (DF_1_SYMINTPOSE): Likewise.
32291 (DF_1_GLOBAUDIT): Likewise.
32292 (DF_1_SINGLETON): Likewise.
32293 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32294 DT_1_SUPPORTED_MASK bits.
32295 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32296
322972012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32298
32299 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32300
323012012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32302
32303 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32304 macro.
32305
32306 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32307 (sendmmsg): Move declarations...
32308 * socket/sys/socket.h: ... here.
32309 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32310 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32311 include it from...
32312 * socket/recvmmsg.c: ... this new file.
32313 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32314 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32315 definition of __sendmmsg hidden.
32316 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32317 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32318 Move ENOSYS stub into and include it from...
32319 * socket/sendmmsg.c: ... this new file.
32320 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32321 (sysdep_routines): Move recvmmsg and sendmmsg...
32322 * socket/Makefile (routines): ... here.
32323 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32324 (GLIBC_PRIVATE): Add __sendmmsg.
32325 * include/sys/socket.h (__sendmmsg): Add declarations.
32326 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32327 sendmmsg.
32328
323292012-11-20 Joseph Myers <joseph@codesourcery.com>
32330
32331 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32332 variable I1 with __attribute__ ((unused)).
32333 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32334
323352012-11-19 Joseph Myers <joseph@codesourcery.com>
32336
32337 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32338 DUMMY variables with __attribute__ ((unused)).
32339
32340 * bits/byteswap.h: Include <bits/types.h>.
32341 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32342
323432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32344
32345 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32346 string_t. Do not manually set errno.
32347 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32348 length with __strnlen. Make sure to both set errno and return it on
32349 failure.
32350
323512012-11-19 David S. Miller <davem@davemloft.net>
32352
32353 With help from Joseph Myers.
32354 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32355 very large arguments properly.
32356 * math/libm-test.inc (atan_test): New tests.
32357 (atan2_test): New tests.
32358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32360
323612012-11-19 Joseph Myers <joseph@codesourcery.com>
32362
32363 [BZ #14856]
32364 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32365 Define to 3.
32366
32367 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32368 [POSIX] (EADDRNOTAVAIL): Likewise.
32369 [POSIX] (EAFNOSUPPORT): Likewise.
32370 [POSIX] (EALREADY): Likewise.
32371 [POSIX] (ECONNABORTED): Likewise.
32372 [POSIX] (ECONNREFUSED): Likewise.
32373 [POSIX] (ECONNRESET): Likewise.
32374 [POSIX] (EDESTADDRREQ): Likewise.
32375 [POSIX] (EDQUOT): Likewise.
32376 [POSIX] (EHOSTUNREACH): Likewise.
32377 [POSIX] (EIDRM): Likewise.
32378 [POSIX] (EISCONN): Likewise.
32379 [POSIX] (ELOOP): Likewise.
32380 [POSIX] (EMULTIHOP): Likewise.
32381 [POSIX] (ENETDOWN): Likewise.
32382 [POSIX] (ENETUNREACH): Likewise.
32383 [POSIX] (ENOBUFS): Likewise.
32384 [POSIX] (ENODATA): Likewise.
32385 [POSIX] (ENOLINK): Likewise.
32386 [POSIX] (ENOMSG): Likewise.
32387 [POSIX] (ENOPROTOOPT): Likewise.
32388 [POSIX] (ENOSR): Likewise.
32389 [POSIX] (ENOSTR): Likewise.
32390 [POSIX] (ENOTCONN): Likewise.
32391 [POSIX] (ENOTSOCK): Likewise.
32392 [POSIX] (EOPNOTSUPP): Likewise.
32393 [POSIX] (EOVERFLOW): Likewise.
32394 [POSIX] (EPROTO): Likewise.
32395 [POSIX] (EPROTONOSUPPORT): Likewise.
32396 [POSIX] (EPROTOTYPE): Likewise.
32397 [POSIX] (ESTALE): Likewise.
32398 [POSIX] (ETIME): Likewise.
32399 [POSIX] (ETXTBSY): Likewise.
32400 [POSIX] (EWOULDBLOCK): Likewise.
32401 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32402 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32403 [POSIX] (SEEK_CUR): Likewise.
32404 [POSIX] (SEEK_END): Likewise.
32405 [POSIX || UNIX98] (mode_t): Do not require.
32406 [POSIX] (off_t): Likewise.
32407 [POSIX] (pid_t): Likewise.
32408 [POSIX] (sys/stat.h): Do not allow header.
32409 [POSIX] (unistd.h): Likewise.
32410 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32411 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32412 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32413 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32414 require.
32415 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32416 sigevent): Specify elements.
32417 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32418 entry.
32419 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32420 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32421
32422 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32423 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32424 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32425 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32426 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32427 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32428 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32429 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32430 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32431 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32432 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32433 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32434 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32435 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32436 Likewise.
32437 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32438 Likewise.
32439 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32440 Likewise.
32441 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32442 Likewise.
32443 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32444 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32445 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32446 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32447 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32448 Specify lower bound on value.
32449 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32450 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32451 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32452 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32453 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32454 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32455 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32456 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32457 value.
32458 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32459 as optional.
32460 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32461 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32462 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32463 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32464 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32465 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32466 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32467 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32468 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32469 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32470 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32471 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32472 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32473 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32474 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32475 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32476 entry.
32477 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32478 optional.
32479 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32480 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32481 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32482 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32483 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32484 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32485 Likewise.
32486 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32487 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32488 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32489 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32490 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32491 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32492 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32493 as optional.
32494 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32495 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32496 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32497 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32498 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32499 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32500 specify as optional.
32501 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32502 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32503 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32504 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32505 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32506 [XPG3] (NL_LANGMAX): Likewise.
32507 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32508 [POSIX || XPG3] (NL_NMAX): Likewise.
32509 [POSIX || XPG3] (NL_SETMAX): Likewise.
32510 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32511 [XPG3] (NZERO): Likewise.
32512 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32513 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32514 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32515 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32516 (REG_ERANGE): Expect.
32517 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32518 optional-constant.
32519 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32520 Use (void) in prototype.
32521 [POSIX] (*_t): Allow.
32522 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32523 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32524 (WRDE_BADVAL): Expect.
32525
32526 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32527 expect.
32528 [XPG3 || XPG4] (O_RSYNC): Likewise.
32529 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32530 Likewise.
32531 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32532 [XPG3 || XPG4] (sigqueue): Likewise.
32533 [XPG3 || XPG4] (sigtimedwait): Likewise.
32534 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32535 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32536 [XPG3 || XPG4] (vsnprintf): Likewise.
32537 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32538 Likewise.
32539 [XPG3 || XPG4] (blksize_t): Likewise.
32540 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32541 Likewise.
32542 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32543 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32544 [XPG3 || XPG4] (struct itimerspec): Likewise.
32545 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32546 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32547 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32548 [XPG3 || XPG4] (clockid_t): Likewise.
32549 [XPG3 || XPG4] (timer_t): Likewise.
32550 [XPG3 || XPG4] (clock_getres): Likewise.
32551 [XPG3 || XPG4] (clock_gettime): Likewise.
32552 [XPG3 || XPG4] (clock_settime): Likewise.
32553 [XPG3 || XPG4] (nanosleep): Likewise.
32554 [XPG3 || XPG4] (timer_create): Likewise.
32555 [XPG3 || XPG4] (timer_delete): Likewise.
32556 [XPG3 || XPG4] (timer_gettime): Likewise.
32557 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32558 [XPG3 || XPG4] (timer_settime): Likewise.
32559 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32560 [XPG3 || XPG4] (getlogin_r): Likewise.
32561 [XPG3 || XPG4] (pread): Likewise.
32562 [XPG3 || XPG4] (pthread_atfork): Likewise.
32563 [XPG3 || XPG4] (pwrite): Likewise.
32564
32565 [BZ #14835]
32566 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32567 <bits/siginfo.h>.
32568
325692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32570
32571 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32572 finalizing MALLSTREAM.
32573
32574 * sysdeps/mach/hurd/syncfs.c: New file.
32575
325762012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32577
32578 [BZ #14719]
32579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32580 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32581 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32582 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32583 (_nss_dns_gethostbyname4_r): Likewise.
32584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32585 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32586
325872012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32588
32589 [BZ #13763]
32590 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32591
325922012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32593
32594 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32595 * elf/cache.c (print_entry): Print ",AArch64" for
32596 FLAG_AARCH64_LIB64
32597
32598 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32599 * elf/cache.c (print_entry): Print ",hard-float" for
32600 FLAG_ARM_LIBHF.
32601
326022012-11-18 David S. Miller <davem@davemloft.net>
32603
32604 With help from Joseph Myers.
32605 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32606 cutoff to 2**-13.
32607 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32608 cutoff to 2**-25.
32609 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32610 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32611 small.
32612 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32613 * math/libm-test.inc (y0_test): New tests.
32614 (y1_test): New tests.
32615 * sysdeps/i386/fpu/libm-test-ulps: Update.
32616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32618
326192012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32620
32621 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32622 64-bit targets.
32623 * configure: Regenerated.
32624
326252012-11-17 David S. Miller <davem@davemloft.net>
32626
32627 [BZ #14811]
32628 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32629 nonzero exponents with absolute value below 0x1p-128 to +/-
32630 0x1p-128.
32631
326322012-11-17 Joseph Myers <joseph@codesourcery.com>
32633
32634 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32635
32636 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32637
32638 * posix/getconf-speclist.c: New file.
32639 * posix/posix-envs.def: Likewise.
32640 * posix/confstr.c (START_ENV_GROUP): New macro.
32641 (END_ENV_GROUP): Likewise.
32642 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32643 (KNOWN_PRESENT_ENV_STRING): Likewise.
32644 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32645 (UNKNOWN_ENVIRONMENT): Likewise.
32646 (confstr): Include posix-envs.def instead of handling
32647 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32648 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32649 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32650 (END_ENV_GROUP): Likewise.
32651 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32652 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32653 (UNKNOWN_ENVIRONMENT): Likewise.
32654 (__sysconf): Include posix-envs.def instead of handling associated
32655 cases directly here.
32656 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32657 preprocessing getconf-speclist.c rather than running getconf or
32658 generating empty file.
32659
326602012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32661
32662 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32663
326642012-11-16 Andrej Lajovic <natrij@gmail.com>
32665
32666 [BZ #14672]
32667 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32668
326692012-11-16 David S. Miller <davem@davemloft.net>
32670
32671 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32672 smaller than LDBL_EPSILON/2.0L, just return xm1.
32673
326742012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32675
32676 * elf/tst-array1.c (init): Set constructor priority to 1000.
32677 (fini): Set destructor priority to 1000.
32678 * elf/tst-array2dep.c: Likewise.
32679
326802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32681
32682 [BZ #11741]
32683 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32684 (_IO_new_file_xsputn): Also return EOF if none of the input
32685 data was written when overflow failed.
32686 * libio/iopadn.c (_IO_padn): Likewise.
32687 * libio/iowpadn.c (_IO_wpadn): Likewise.
32688 * stdio-common/tst-put-error.c: Add copyright notice.
32689 (do_test): Add case for printing padded string.
32690 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32691 _IO_padn returned error.
32692 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32693 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32694 return EOF.
32695
326962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32697
32698 * libio/libioP.h: Add comment note that the references to C++
32699 bits are now obsolete.
32700
327012012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32702
32703 * math/libm-test.inc (check_complex): Use asprintf.
32704
327052012-11-14 Joseph Myers <joseph@codesourcery.com>
32706
32707 * debug/pcprofiledump.c (print_version): Update copyright year.
32708 * malloc/memusagestat.c (print_version): Likewise.
32709
327102012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32711
32712 [BZ #14831]
32713 * elf/Makefile (tests): Add tst-audit8.
32714 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32715 ($(objpfx)tst-audit8.out): New target.
32716 (tst-audit8-ENV): New variable.
32717 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32718 audit if l_reloc_result is NULL.
32719 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32720 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32721 * elf/tst-audit8.c: New file.
32722
327232012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32724
32725 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32726 * misc/Makefile (CFLAGS-select.c): Define.
32727 * posix/Makefile (CFLAGS-pause.c): Define.
32728
327292012-11-13 David S. Miller <davem@davemloft.net>
32730
32731 * crypt/Makefile: Move test targets after toplevel Rules
32732 inclusion. Grab any necessary sysdep routines when linking.
32733 * crypt/md5.c (md5_process_block): Remove define, we will always
32734 name it __md5_process_block.
32735 (md5_finish_ctx): Update md5_process_block call.
32736 (md5_stream): Likewise.
32737 (md5_process_bytes): Likewise.
32738 (md5_process_block): Rename to __md5_process_block and move to ...
32739 * crypt/md5-block.c: ... here.
32740 * crypt/sha256.c (sha256_process_block): Move to ...
32741 * crypt/sha256-block.c: ... here.
32742 * crypt/sha512.c (sha512_process_block): Move to ...
32743 * crypt/sha512-block.c: ... here.
32744 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32745 path.
32746 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32747 * sysdeps/sparc/sparc64/multiarch/Makefile
32748 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32749 crypt subdir.
32750 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32751 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32752 multiarch changes.
32753 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32754 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32755 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32756 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32757 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32758 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32759 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32760 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32761 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32762 file.
32763 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32764 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32765 file.
32766 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32767
327682012-11-13 Joseph Myers <joseph@codesourcery.com>
32769
32770 * timezone/tzselect.ksh: Update from tzcode git revision
32771 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32772 * timezone/zdump.c: Likewise.
32773 * timezone/zic.c: Likewise.
32774 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32775 in TZVERSION setting, not $(PKGVERSION).
32776 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32777 REPORT_BUGS_TO settings.
32778
32779 [BZ #14838]
32780 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32781 macro.
32782
327832012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32784
32785 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32786 detection to immediately after _FP_ROUND().
32787 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32788 bits are 0.
32789
327902012-11-11 David S. Miller <davem@davemloft.net>
32791
32792 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32793 inttypes.h
32794 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32795 __close rather than their public counterparts.
32796
327972012-11-10 Joseph Myers <joseph@codesourcery.com>
32798
32799 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32800 file.
32801 [UNIX98] (sem_timedwait): Do not expect.
32802 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32803 [XPG4 || UNIX98] (sockatmark): Do not expect.
32804 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32805 (clock_getcpuclockid): Do not expect.
32806 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32807 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32808 Do not expect.
32809 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32810 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32811 [UNIX98] (vwscanf): Likewise.
32812 [UNIX98] (vswscanf): Likewise.
32813
328142012-11-09 Joseph Myers <joseph@codesourcery.com>
32815
32816 * timezone/version.h: Remove file.
32817 * timezone/README: Do not refer to version.h.
32818 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32819 $(objpfx)version.h.
32820 ($(objpfx)zdump.o): Likewise.
32821 ($(objpfx)version.h): New target.
32822
32823 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32824 2012i.
32825 * timezone/README: Don't mention modification to tzselect.ksh.
32826 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32827 work on unmodified tzselect.ksh. Substitute version numbers in
32828 tzselect.ksh.
32829
32830 * Makefile (format-me): Remove.
32831 (INSTALL): Adjust indentation. Use commands directly instead of
32832 using $(format-me).
32833
32834 * aclocal.m4 (ACX_PKGVERSION): New macro.
32835 (ACX_BUGURL): Likewise.
32836 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32837 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32838 (REPORT_BUGS_TO): Likewise.
32839 * configure: Regenerated.
32840 * config.h.in (PKGVERSION): New macro.
32841 (REPORT_BUGS_TO): Likewise.
32842 * config.make.in (PKGVERSION): New variable.
32843 (PKGVERSION_TEXI): Likewise.
32844 (REPORT_BUGS_TO): Likewise.
32845 (REPORT_BUGS_TEXI): Likewise.
32846 * Makefile (format-me): Use -I$(common-objpfx)manual.
32847 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32848 ($(common-objpfx)manual/%): New target.
32849 (manual/%): Remove target.
32850 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32851 (print_version): Use PKGVERSION.
32852 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32853 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32854 and REPORT_BUGS_TO.
32855 ($(objpfx)xtrace): Likewise.
32856 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32857 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32858 (print_version): Use PKGVERSION.
32859 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32860 (do_version): Use PKGVERSION.
32861 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32862 REPORT_BUGS_TO.
32863 (common-ldd-rewrite): Likewise.
32864 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32865 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32866 (print_version): Use PKGVERSION.
32867 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32868 * elf/pldd.c (argp_program_bug_address): Remove variable.
32869 (more_help): New function.
32870 (argp): Use more_help.
32871 (print_version): Use PKGVERSION.
32872 * elf/sln.c (main): Use PKGVERSION.
32873 (usage): Use REPORT_BUGS_TO.
32874 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32875 (top level): Use PKGVERSION.
32876 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32877 (print_version): Use PKGVERSION.
32878 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32879 (print_version): Use PKGVERSION.
32880 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32881 (print_version): Use PKGVERSION.
32882 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32883 (print_version): Use PKGVERSION.
32884 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32885 (print_version): Use PKGVERSION.
32886 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32887 (print_version): Use PKGVERSION.
32888 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32889 and BUGURL.
32890 ($(objpfx)memusage): Likewise.
32891 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32892 (do_version): Use PKGVERSION.
32893 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32894 (print_version): Use PKGVERSION.
32895 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32896 ($PKGVERSION): New variable.
32897 ($REPORT_BUGS_TO): Likewise.
32898 (usage): Use $REPORT_BUGS_TO.
32899 (top level): Use $PKGVERSION.
32900 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32901 ($(objpfx)pkgvers.texi): New rule.
32902 ($(objpfx)stamp-pkgvers): Likewise.
32903 * manual/install.texi: Include pkgvers.texi.
32904 (--with-pkgversion): Document new configure option.
32905 (--with-bugurl): Likewise.
32906 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32907 than necessarily for this particular distribution. Use
32908 REPORT_BUGS_TO for where to report bugs.
32909 * INSTALL: Regenerated.
32910 * manual/libc.texinfo: Include pkgvers.texi.
32911 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32912 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32913 (print_version): Use PKGVERSION.
32914 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32915 (print_version): Use PKGVERSION.
32916 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32917 (print_version): Use PKGVERSION.
32918 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32919 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32920 macro.
32921 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32922 (print_version): Use PKGVERSION.
32923 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32924 (print_version): Use PKGVERSION.
32925 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32926 and PKGVERSION.
32927
32928 * timezone/checktab.awk: Update from tzcode 2012i.
32929 * timezone/ialloc.c: Likewise.
32930 * timezone/private.h: Likewise.
32931 * timezone/scheck.c: Likewise.
32932 * timezone/tzfile.h: Likewise.
32933 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32934 (TZVERSION): Hardcode tzcode version number.
32935 * timezone/zdump.c: Update from tzcode 2012i.
32936 * timezone/zic.c: Likewise.
32937 * timezone/version.h: New file.
32938 * timezone/README: Describe version.h. Update upstream location.
32939
32940 [BZ #14824]
32941 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32942 (mktemp): Enable declaration.
32943 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32944 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32945 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32946 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32947 Likewise.
32948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32949 Likewise.
32950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32951 Likewise.
32952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32953 Likewise.
32954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32955 Likewise.
32956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32957 Likewise.
32958
32959 [BZ #14821]
32960 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32961 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32962 for copies of such integer values.
32963 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32964 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32965
329662012-11-09 Andreas Jaeger <aj@suse.de>
32967
32968 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32969 definitions and declarations that are provided by
32970 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32971
329722012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32973
32974 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32975 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32976 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32977 definition.
32978
329792012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32980
32981 * elf/elf.h: Update comment before AArch64 relocations.
32982
329832012-11-07 David S. Miller <davem@davemloft.net>
32984
32985 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32986 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32987 (__start_context): Declare.
32988 (__makecontext_ret): Delete.
32989 (__makecontext): Hook up __start_context instead of
32990 __makecontext_ret.
32991 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32992 (sysdep_routines): Add __start_context when in stdlib.
32993
329942012-11-07 Joseph Myers <joseph@codesourcery.com>
32995
32996 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32997 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32998 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32999 hardcoded "nm".
33000 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33001 (READELF): New variable. Use it instead of hardcoded "readelf".
33002
330032012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33004
33005 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33006 * sysdeps/x86/Makefile: Here.
33007 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33008 * sysdeps/x86/tst-xmmymm.sh: This.
33009
330102012-11-07 Joseph Myers <joseph@codesourcery.com>
33011
33012 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33013 expectations.
33014 [UNIX98] (pthread_barrier_t): Do not expect.
33015 [UNIX98] (pthread_barrierattr_t): Likewise.
33016 [UNIX98] (pthread_spinlock_t): Likewise.
33017 [UNIX98] (pthread_barrier_destroy): Likewise.
33018 [UNIX98] (pthread_barrier_init): Likewise.
33019 [UNIX98] (pthread_barrier_wait): Likewise.
33020 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33021 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33022 [UNIX98] (pthread_barrierattr_init): Likewise.
33023 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33024 [UNIX98] (pthread_getcpuclockid): Likewise.
33025 [UNIX98] (pthread_mutex_timedlock): Likewise.
33026 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33027 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33028 [UNIX98] (pthread_sigmask): Likewise.
33029 [UNIX98] (pthread_spin_destroy): Likewise.
33030 [UNIX98] (pthread_spin_init): Likewise.
33031 [UNIX98] (pthread_spin_lock): Likewise.
33032 [UNIX98] (pthread_spin_trylock): Likewise.
33033 [UNIX98] (pthread_spin_unlock): Likewise.
33034 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33035 Do not expect.
33036 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33037 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33038 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33039 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33040 [XPG3 || XPG4] (pthread_key_t): Likewise.
33041 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33042 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33043 [XPG3 || XPG4] (pthread_once_t): Likewise.
33044 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33045 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33046 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33047 [XPG3 || XPG4] (pthread_t): Likewise.
33048
33049 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33050 not expect.
33051 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33052
33053 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33054 Change function return type to int.
33055
33056 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33057 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33058 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33059 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33060 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33061 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33062 [!POSIX] (posix_madvise): Likewise.
33063 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33064 && !UNIX98].
33065 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33066 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33067 (mode_t): Likewise.
33068 (posix_mem_offset): Likewise.
33069 (posix_typed_mem_get_info): Likewise.
33070 (posix_typed_mem_open): Likewise.
33071
33072 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33073 Change condition to [XOPEN2K8].
33074
33075 * conform/conformtest.pl: Preprocess allow-header data with -x c
33076 instead of from stdin.
33077 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33078 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33079 [C99-based standards] (cerfc): Likewise.
33080 [C99-based standards] (cexp2): Likewise.
33081 [C99-based standards] (cexpm1): Likewise.
33082 [C99-based standards] (clog10): Likewise.
33083 [C99-based standards] (clog1p): Likewise.
33084 [C99-based standards] (clog2): Likewise.
33085 [C99-based standards] (clgamma): Likewise.
33086 [C99-based standards] (ctgamma): Likewise.
33087 [C99-based standards] (cerff): Likewise.
33088 [C99-based standards] (cerfcf): Likewise.
33089 [C99-based standards] (cexp2f): Likewise.
33090 [C99-based standards] (cexpm1f): Likewise.
33091 [C99-based standards] (clog10f): Likewise.
33092 [C99-based standards] (clog1pf): Likewise.
33093 [C99-based standards] (clog2f): Likewise.
33094 [C99-based standards] (clgammaf): Likewise.
33095 [C99-based standards] (ctgammaf): Likewise.
33096 [C99-based standards] (cerfl): Likewise.
33097 [C99-based standards] (cerfcl): Likewise.
33098 [C99-based standards] (cexp2l): Likewise.
33099 [C99-based standards] (cexpm1l): Likewise.
33100 [C99-based standards] (clog10l): Likewise.
33101 [C99-based standards] (clog1pl): Likewise.
33102 [C99-based standards] (clog2l): Likewise.
33103 [C99-based standards] (clgammal): Likewise.
33104 [C99-based standards] (ctgammal): Likewise.
33105 * conform/data/inttypes.h-data [C99-based standards]: Include
33106 stdint.h-data. Remove all expectations for stdint.h contents.
33107 [C99-based standards] (PRI*): Do not allow.
33108 [C99-based standards] (SCN*): Likewise.
33109 [C99-based standards] (*_t): Likewise.
33110 [C99-based-standards] (PRId8): Expect macro.
33111 [C99-based-standards] (PRIi8): Likewise.
33112 [C99-based-standards] (PRIo8): Likewise.
33113 [C99-based-standards] (PRIu8): Likewise.
33114 [C99-based-standards] (PRIx8): Likewise.
33115 [C99-based-standards] (PRIX8): Likewise.
33116 [C99-based-standards] (SCNd8): Likewise.
33117 [C99-based-standards] (SCNi8): Likewise.
33118 [C99-based-standards] (SCNo8): Likewise.
33119 [C99-based-standards] (SCNu8): Likewise.
33120 [C99-based-standards] (SCNx8): Likewise.
33121 [C99-based-standards] (PRIdLEAST8): Likewise.
33122 [C99-based-standards] (PRIiLEAST8): Likewise.
33123 [C99-based-standards] (PRIoLEAST8): Likewise.
33124 [C99-based-standards] (PRIuLEAST8): Likewise.
33125 [C99-based-standards] (PRIxLEAST8): Likewise.
33126 [C99-based-standards] (PRIXLEAST8): Likewise.
33127 [C99-based-standards] (SCNdLEAST8): Likewise.
33128 [C99-based-standards] (SCNiLEAST8): Likewise.
33129 [C99-based-standards] (SCNoLEAST8): Likewise.
33130 [C99-based-standards] (SCNuLEAST8): Likewise.
33131 [C99-based-standards] (SCNxLEAST8): Likewise.
33132 [C99-based-standards] (PRIdFAST8): Likewise.
33133 [C99-based-standards] (PRIiFAST8): Likewise.
33134 [C99-based-standards] (PRIoFAST8): Likewise.
33135 [C99-based-standards] (PRIuFAST8): Likewise.
33136 [C99-based-standards] (PRIxFAST8): Likewise.
33137 [C99-based-standards] (PRIXFAST8): Likewise.
33138 [C99-based-standards] (SCNdFAST8): Likewise.
33139 [C99-based-standards] (SCNiFAST8): Likewise.
33140 [C99-based-standards] (SCNoFAST8): Likewise.
33141 [C99-based-standards] (SCNuFAST8): Likewise.
33142 [C99-based-standards] (SCNxFAST8): Likewise.
33143 [C99-based-standards] (PRId16): Likewise.
33144 [C99-based-standards] (PRIi16): Likewise.
33145 [C99-based-standards] (PRIo16): Likewise.
33146 [C99-based-standards] (PRIu16): Likewise.
33147 [C99-based-standards] (PRIx16): Likewise.
33148 [C99-based-standards] (PRIX16): Likewise.
33149 [C99-based-standards] (SCNd16): Likewise.
33150 [C99-based-standards] (SCNi16): Likewise.
33151 [C99-based-standards] (SCNo16): Likewise.
33152 [C99-based-standards] (SCNu16): Likewise.
33153 [C99-based-standards] (SCNx16): Likewise.
33154 [C99-based-standards] (PRIdLEAST16): Likewise.
33155 [C99-based-standards] (PRIiLEAST16): Likewise.
33156 [C99-based-standards] (PRIoLEAST16): Likewise.
33157 [C99-based-standards] (PRIuLEAST16): Likewise.
33158 [C99-based-standards] (PRIxLEAST16): Likewise.
33159 [C99-based-standards] (PRIXLEAST16): Likewise.
33160 [C99-based-standards] (SCNdLEAST16): Likewise.
33161 [C99-based-standards] (SCNiLEAST16): Likewise.
33162 [C99-based-standards] (SCNoLEAST16): Likewise.
33163 [C99-based-standards] (SCNuLEAST16): Likewise.
33164 [C99-based-standards] (SCNxLEAST16): Likewise.
33165 [C99-based-standards] (PRIdFAST16): Likewise.
33166 [C99-based-standards] (PRIiFAST16): Likewise.
33167 [C99-based-standards] (PRIoFAST16): Likewise.
33168 [C99-based-standards] (PRIuFAST16): Likewise.
33169 [C99-based-standards] (PRIxFAST16): Likewise.
33170 [C99-based-standards] (PRIXFAST16): Likewise.
33171 [C99-based-standards] (SCNdFAST16): Likewise.
33172 [C99-based-standards] (SCNiFAST16): Likewise.
33173 [C99-based-standards] (SCNoFAST16): Likewise.
33174 [C99-based-standards] (SCNuFAST16): Likewise.
33175 [C99-based-standards] (SCNxFAST16): Likewise.
33176 [C99-based-standards] (PRId32): Likewise.
33177 [C99-based-standards] (PRIi32): Likewise.
33178 [C99-based-standards] (PRIo32): Likewise.
33179 [C99-based-standards] (PRIu32): Likewise.
33180 [C99-based-standards] (PRIx32): Likewise.
33181 [C99-based-standards] (PRIX32): Likewise.
33182 [C99-based-standards] (SCNd32): Likewise.
33183 [C99-based-standards] (SCNi32): Likewise.
33184 [C99-based-standards] (SCNo32): Likewise.
33185 [C99-based-standards] (SCNu32): Likewise.
33186 [C99-based-standards] (SCNx32): Likewise.
33187 [C99-based-standards] (PRIdLEAST32): Likewise.
33188 [C99-based-standards] (PRIiLEAST32): Likewise.
33189 [C99-based-standards] (PRIoLEAST32): Likewise.
33190 [C99-based-standards] (PRIuLEAST32): Likewise.
33191 [C99-based-standards] (PRIxLEAST32): Likewise.
33192 [C99-based-standards] (PRIXLEAST32): Likewise.
33193 [C99-based-standards] (SCNdLEAST32): Likewise.
33194 [C99-based-standards] (SCNiLEAST32): Likewise.
33195 [C99-based-standards] (SCNoLEAST32): Likewise.
33196 [C99-based-standards] (SCNuLEAST32): Likewise.
33197 [C99-based-standards] (SCNxLEAST32): Likewise.
33198 [C99-based-standards] (PRIdFAST32): Likewise.
33199 [C99-based-standards] (PRIiFAST32): Likewise.
33200 [C99-based-standards] (PRIoFAST32): Likewise.
33201 [C99-based-standards] (PRIuFAST32): Likewise.
33202 [C99-based-standards] (PRIxFAST32): Likewise.
33203 [C99-based-standards] (PRIXFAST32): Likewise.
33204 [C99-based-standards] (SCNdFAST32): Likewise.
33205 [C99-based-standards] (SCNiFAST32): Likewise.
33206 [C99-based-standards] (SCNoFAST32): Likewise.
33207 [C99-based-standards] (SCNuFAST32): Likewise.
33208 [C99-based-standards] (SCNxFAST32): Likewise.
33209 [C99-based-standards] (PRId64): Likewise.
33210 [C99-based-standards] (PRIi64): Likewise.
33211 [C99-based-standards] (PRIo64): Likewise.
33212 [C99-based-standards] (PRIu64): Likewise.
33213 [C99-based-standards] (PRIx64): Likewise.
33214 [C99-based-standards] (PRIX64): Likewise.
33215 [C99-based-standards] (SCNd64): Likewise.
33216 [C99-based-standards] (SCNi64): Likewise.
33217 [C99-based-standards] (SCNo64): Likewise.
33218 [C99-based-standards] (SCNu64): Likewise.
33219 [C99-based-standards] (SCNx64): Likewise.
33220 [C99-based-standards] (PRIdLEAST64): Likewise.
33221 [C99-based-standards] (PRIiLEAST64): Likewise.
33222 [C99-based-standards] (PRIoLEAST64): Likewise.
33223 [C99-based-standards] (PRIuLEAST64): Likewise.
33224 [C99-based-standards] (PRIxLEAST64): Likewise.
33225 [C99-based-standards] (PRIXLEAST64): Likewise.
33226 [C99-based-standards] (SCNdLEAST64): Likewise.
33227 [C99-based-standards] (SCNiLEAST64): Likewise.
33228 [C99-based-standards] (SCNoLEAST64): Likewise.
33229 [C99-based-standards] (SCNuLEAST64): Likewise.
33230 [C99-based-standards] (SCNxLEAST64): Likewise.
33231 [C99-based-standards] (PRIdFAST64): Likewise.
33232 [C99-based-standards] (PRIiFAST64): Likewise.
33233 [C99-based-standards] (PRIoFAST64): Likewise.
33234 [C99-based-standards] (PRIuFAST64): Likewise.
33235 [C99-based-standards] (PRIxFAST64): Likewise.
33236 [C99-based-standards] (PRIXFAST64): Likewise.
33237 [C99-based-standards] (SCNdFAST64): Likewise.
33238 [C99-based-standards] (SCNiFAST64): Likewise.
33239 [C99-based-standards] (SCNoFAST64): Likewise.
33240 [C99-based-standards] (SCNuFAST64): Likewise.
33241 [C99-based-standards] (SCNxFAST64): Likewise.
33242 [C99-based-standards] (PRIdMAX): Likewise.
33243 [C99-based-standards] (PRIiMAX): Likewise.
33244 [C99-based-standards] (PRIoMAX): Likewise.
33245 [C99-based-standards] (PRIuMAX): Likewise.
33246 [C99-based-standards] (PRIxMAX): Likewise.
33247 [C99-based-standards] (PRIXMAX): Likewise.
33248 [C99-based-standards] (SCNdMAX): Likewise.
33249 [C99-based-standards] (SCNiMAX): Likewise.
33250 [C99-based-standards] (SCNoMAX): Likewise.
33251 [C99-based-standards] (SCNuMAX): Likewise.
33252 [C99-based-standards] (SCNxMAX): Likewise.
33253 [C99-based-standards] (PRIdPTR): Likewise.
33254 [C99-based-standards] (PRIiPTR): Likewise.
33255 [C99-based-standards] (PRIoPTR): Likewise.
33256 [C99-based-standards] (PRIuPTR): Likewise.
33257 [C99-based-standards] (PRIxPTR): Likewise.
33258 [C99-based-standards] (PRIXPTR): Likewise.
33259 [C99-based-standards] (SCNdPTR): Likewise.
33260 [C99-based-standards] (SCNiPTR): Likewise.
33261 [C99-based-standards] (SCNoPTR): Likewise.
33262 [C99-based-standards] (SCNuPTR): Likewise.
33263 [C99-based-standards] (SCNxPTR): Likewise.
33264 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33265 allow.
33266 * conform/data/stdint.h-data: Update comments to clarify
33267 requirements.
33268 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33269 type.
33270 [C99-based standards] (INT8_MAX): Likewise.
33271 [C99-based standards] (INT16_MIN): Likewise.
33272 [C99-based standards] (INT16_MAX): Likewise.
33273 [C99-based standards] (INT32_MIN): Likewise.
33274 [C99-based standards] (INT32_MAX): Likewise.
33275 [C99-based standards] (INT64_MIN): Likewise.
33276 [C99-based standards] (INT64_MAX): Likewise.
33277 [C99-based standards] (UINT8_MAX): Likewise.
33278 [C99-based standards] (UINT16_MAX): Likewise.
33279 [C99-based standards] (UINT32_MAX): Likewise.
33280 [C99-based standards] (UINT64_MAX): Likewise.
33281 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33282 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33283 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33284 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33285 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33286 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33287 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33288 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33289 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33290 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33291 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33292 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33293 [C99-based standards] (INT_FAST8_MIN): Likewise.
33294 [C99-based standards] (INT_FAST8_MAX): Likewise.
33295 [C99-based standards] (INT_FAST16_MIN): Likewise.
33296 [C99-based standards] (INT_FAST16_MAX): Likewise.
33297 [C99-based standards] (INT_FAST32_MIN): Likewise.
33298 [C99-based standards] (INT_FAST32_MAX): Likewise.
33299 [C99-based standards] (INT_FAST64_MIN): Likewise.
33300 [C99-based standards] (INT_FAST64_MAX): Likewise.
33301 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33302 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33303 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33304 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33305 [C99-based standards] (INTPTR_MIN): Likewise.
33306 [C99-based standards] (INTPTR_MAX): Likewise.
33307 [C99-based standards] (UINTPTR_MAX): Likewise.
33308 [C99-based standards] (INTMAX_MIN): Likewise.
33309 [C99-based standards] (INTMAX_MAX): Likewise.
33310 [C99-based standards] (UINTMAX_MAX): Likewise.
33311 [C99-based standards] (PTRDIFF_MIN): Likewise.
33312 [C99-based standards] (PTRDIFF_MAX): Likewise.
33313 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33314 [C99-based standards] (SIZE_MAX): Likewise.
33315 [C99-based standards] (WCHAR_MAX): Likewise.
33316 [C99-based standards] (WINT_MAX): Likewise.
33317 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33318 constraint on value.
33319 [C99-based standards] (WCHAR_MIN): Likewise.
33320 [C99-based standards] (WINT_MIN): Likewise.
33321 [C99-based standards] (*_t): Allow.
33322 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33323 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33324 Include math.h-data and complex.h-data. Remove all expectations
33325 of math.h and complex.h contents.
33326 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33327 at end of line.
33328 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33329 (struct tm): Expect tag.
33330 [C99-based-standards] (wcstof): Expect function.
33331 [C99-based-standards] (wcstold): Likewise.
33332 [C99-based-standards] (wcstoll): Likewise.
33333 [C99-based-standards] (wcstoull): Likewise.
33334 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33335 macro-int-constant. Specify type.
33336 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33337 constraint on value.
33338 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33339 Specify type.
33340 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33341 Specify value.
33342 [ISO C standards]: Do not allow headers.
33343 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33344 wcs[abcdefghijklmnopqrstuvwxyz]*.
33345 [ISO C standards] (*_t): Do not allow.
33346 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33347 Expect function.
33348 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33349 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33350 Specify type.
33351 [ISO C standards]: Do not allow headers.
33352 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33353 is[abcdefghijklmnopqrstuvwxyz]*.
33354 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33355 to[abcdefghijklmnopqrstuvwxyz]*.
33356 [ISO C standards] (*_t): Do not allow.
33357 * conform/data/stdalign.h-data: New file.
33358 * conform/data/stdbool.h-data: Likewise.
33359 * conform/data/stdnoreturn.h-data: Likewise.
33360
333612012-11-07 Roland McGrath <roland@hack.frob.com>
33362
33363 [BZ #14815]
33364 * manual/filesys.texi (Directory Entries): Typo fix.
33365 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33366
333672012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33368
33369 * elf/elf.h (EM_AARCH64): New macro.
33370 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33371 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33372 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33373 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33374 (R_AARCH64_TLSDESC): Likewise.
33375 (NT_ARM_TLS): Likewise.
33376 (NT_ARM_HW_BREAK): Likewise.
33377 (NT_ARM_HW_WATCH): Likewise.
33378
333792012-11-07 Joseph Myers <joseph@codesourcery.com>
33380
33381 [BZ #14811]
33382 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33383 (__ieee754_powl): Saturate nonzero exponents with absolute value
33384 below 0x1p-79 to +/- 0x1p-79.
33385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33386 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33387 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33388 nonzero exponents with absolute value below 0x1p-32 to +/-
33389 0x1p-32.
33390 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33391 (__ieee754_powl): Saturate nonzero exponents with absolute value
33392 below 0x1p-79 to +/- 0x1p-79.
33393 * math/libm-test.inc (pow_test): Add more tests.
33394
333952012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33396
33397 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33398 _dl_s390_cap_flags with kernel. Increase string length.
33399 (_dl_s390_platforms): Add z196 and zEC12.
33400
334012012-11-07 Joseph Myers <joseph@codesourcery.com>
33402
33403 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33404 Change XOPEN21K to XOPEN2K.
33405
334062012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33407
33408 * string/memmove.c: Use memcpy when possible.
33409
334102012-11-06 Andreas Jaeger <aj@suse.de>
33411
33412 * po/eo.po: Update from translation team.
33413
334142012-11-06 Joseph Myers <joseph@codesourcery.com>
33415
33416 [BZ #14793]
33417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33418 exponent and small x and y exponents, scale x or y up. Increase
33419 by 2 the exponent used in scaling up.
33420 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33421 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33422 * math/libm-test.inc (fma_test): Add more tests.
33423 (fma_test_towardzero): Likewise.
33424 (fma_test_downward): Likewise.
33425 (fma_test_upward): Likewise.
33426
334272012-11-05 Joseph Myers <joseph@codesourcery.com>
33428
33429 [BZ #14805]
33430 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33431 fenv_t *.
33432
33433 [BZ #14801]
33434 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33435 namespace for names of struct fields.
33436 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33437 fenv_t fields.
33438 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33439 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33440
334412012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33442
33443 [BZ #3665]
33444 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33445
334462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33447
33448 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33449 PTR_DEMANGLE.
33450
33451 [BZ #5246]
33452 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33453 PTR_DEMANGLE.
33454
334552012-11-04 Joseph Myers <joseph@codesourcery.com>
33456
33457 [BZ #14797]
33458 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33459 definitely overflow as x * y not x * y + z.
33460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33461 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33462 * math/libm-test.inc (fma_test): Add more tests.
33463 (fma_test_towardzero): Likewise.
33464 (fma_test_downward): Likewise.
33465 (fma_test_upward): Likewise.
33466
334672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33468
33469 [BZ #157]
33470
33471 * include/stub-tag.h: Remove file.
33472 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33473 '#include' of it.
33474 * manual/maint.texi (Porting): Don't reference it.
33475 * Makerules ($(objpfx)stubs): Likewise.
33476 * dirent/closedir.c: Don't include <stub-tag.h>.
33477 * dirent/dirfd.c: Likewise.
33478 * dirent/fdopendir.c: Likewise.
33479 * dirent/getdents.c: Likewise.
33480 * dirent/getdents64.c: Likewise.
33481 * dirent/opendir.c: Likewise.
33482 * dirent/readdir.c: Likewise.
33483 * dirent/readdir64.c: Likewise.
33484 * dirent/readdir64_r.c: Likewise.
33485 * dirent/readdir_r.c: Likewise.
33486 * dirent/rewinddir.c: Likewise.
33487 * dirent/seekdir.c: Likewise.
33488 * dirent/telldir.c: Likewise.
33489 * gmon/profil.c: Likewise.
33490 * grp/setgroups.c: Likewise.
33491 * inet/if_index.c: Likewise.
33492 * io/access.c: Likewise.
33493 * io/chdir.c: Likewise.
33494 * io/chmod.c: Likewise.
33495 * io/chown.c: Likewise.
33496 * io/close.c: Likewise.
33497 * io/dup.c: Likewise.
33498 * io/dup2.c: Likewise.
33499 * io/dup3.c: Likewise.
33500 * io/euidaccess.c: Likewise.
33501 * io/faccessat.c: Likewise.
33502 * io/fchdir.c: Likewise.
33503 * io/fchmod.c: Likewise.
33504 * io/fchmodat.c: Likewise.
33505 * io/fchown.c: Likewise.
33506 * io/fchownat.c: Likewise.
33507 * io/fcntl.c: Likewise.
33508 * io/flock.c: Likewise.
33509 * io/fstatfs.c: Likewise.
33510 * io/fstatfs64.c: Likewise.
33511 * io/fstatvfs.c: Likewise.
33512 * io/fstatvfs64.c: Likewise.
33513 * io/futimens.c: Likewise.
33514 * io/fxstat.c: Likewise.
33515 * io/fxstat64.c: Likewise.
33516 * io/fxstatat.c: Likewise.
33517 * io/fxstatat64.c: Likewise.
33518 * io/getcwd.c: Likewise.
33519 * io/isatty.c: Likewise.
33520 * io/lchmod.c: Likewise.
33521 * io/lchown.c: Likewise.
33522 * io/link.c: Likewise.
33523 * io/linkat.c: Likewise.
33524 * io/lseek.c: Likewise.
33525 * io/lseek64.c: Likewise.
33526 * io/lxstat64.c: Likewise.
33527 * io/mkdir.c: Likewise.
33528 * io/mkdirat.c: Likewise.
33529 * io/mkfifo.c: Likewise.
33530 * io/mkfifoat.c: Likewise.
33531 * io/open.c: Likewise.
33532 * io/open64.c: Likewise.
33533 * io/openat.c: Likewise.
33534 * io/openat64.c: Likewise.
33535 * io/pipe.c: Likewise.
33536 * io/pipe2.c: Likewise.
33537 * io/poll.c: Likewise.
33538 * io/posix_fadvise.c: Likewise.
33539 * io/posix_fadvise64.c: Likewise.
33540 * io/posix_fallocate.c: Likewise.
33541 * io/posix_fallocate64.c: Likewise.
33542 * io/read.c: Likewise.
33543 * io/readlink.c: Likewise.
33544 * io/readlinkat.c: Likewise.
33545 * io/rmdir.c: Likewise.
33546 * io/sendfile.c: Likewise.
33547 * io/sendfile64.c: Likewise.
33548 * io/statfs.c: Likewise.
33549 * io/statfs64.c: Likewise.
33550 * io/statvfs.c: Likewise.
33551 * io/statvfs64.c: Likewise.
33552 * io/symlink.c: Likewise.
33553 * io/symlinkat.c: Likewise.
33554 * io/ttyname.c: Likewise.
33555 * io/ttyname_r.c: Likewise.
33556 * io/umask.c: Likewise.
33557 * io/unlink.c: Likewise.
33558 * io/unlinkat.c: Likewise.
33559 * io/utime.c: Likewise.
33560 * io/utimensat.c: Likewise.
33561 * io/write.c: Likewise.
33562 * io/xmknod.c: Likewise.
33563 * io/xmknodat.c: Likewise.
33564 * io/xstat.c: Likewise.
33565 * io/xstat64.c: Likewise.
33566 * login/getpt.c: Likewise.
33567 * login/grantpt.c: Likewise.
33568 * login/unlockpt.c: Likewise.
33569 * math/e_acoshl.c: Likewise.
33570 * math/e_acosl.c: Likewise.
33571 * math/e_asinl.c: Likewise.
33572 * math/e_atan2l.c: Likewise.
33573 * math/e_atanhl.c: Likewise.
33574 * math/e_coshl.c: Likewise.
33575 * math/e_expl.c: Likewise.
33576 * math/e_fmodl.c: Likewise.
33577 * math/e_gammal_r.c: Likewise.
33578 * math/e_hypotl.c: Likewise.
33579 * math/e_j0l.c: Likewise.
33580 * math/e_j1l.c: Likewise.
33581 * math/e_jnl.c: Likewise.
33582 * math/e_lgammal_r.c: Likewise.
33583 * math/e_log10l.c: Likewise.
33584 * math/e_log2l.c: Likewise.
33585 * math/e_logl.c: Likewise.
33586 * math/e_powl.c: Likewise.
33587 * math/e_rem_pio2l.c: Likewise.
33588 * math/e_sinhl.c: Likewise.
33589 * math/e_sqrtl.c: Likewise.
33590 * math/fclrexcpt.c: Likewise.
33591 * math/fedisblxcpt.c: Likewise.
33592 * math/feenablxcpt.c: Likewise.
33593 * math/fegetenv.c: Likewise.
33594 * math/fegetexcept.c: Likewise.
33595 * math/fegetround.c: Likewise.
33596 * math/feholdexcpt.c: Likewise.
33597 * math/fesetenv.c: Likewise.
33598 * math/fesetround.c: Likewise.
33599 * math/feupdateenv.c: Likewise.
33600 * math/fgetexcptflg.c: Likewise.
33601 * math/fraiseexcpt.c: Likewise.
33602 * math/fsetexcptflg.c: Likewise.
33603 * math/ftestexcept.c: Likewise.
33604 * math/k_cosl.c: Likewise.
33605 * math/k_rem_pio2l.c: Likewise.
33606 * math/k_sinl.c: Likewise.
33607 * math/k_tanl.c: Likewise.
33608 * math/s_asinhl.c: Likewise.
33609 * math/s_atanl.c: Likewise.
33610 * math/s_cbrtl.c: Likewise.
33611 * math/s_erfl.c: Likewise.
33612 * math/s_expm1l.c: Likewise.
33613 * math/s_log1pl.c: Likewise.
33614 * math/s_tanhl.c: Likewise.
33615 * misc/acct.c: Likewise.
33616 * misc/brk.c: Likewise.
33617 * misc/chflags.c: Likewise.
33618 * misc/chroot.c: Likewise.
33619 * misc/fchflags.c: Likewise.
33620 * misc/fgetxattr.c: Likewise.
33621 * misc/flistxattr.c: Likewise.
33622 * misc/fremovexattr.c: Likewise.
33623 * misc/fsetxattr.c: Likewise.
33624 * misc/fsync.c: Likewise.
33625 * misc/ftruncate.c: Likewise.
33626 * misc/futimes.c: Likewise.
33627 * misc/futimesat.c: Likewise.
33628 * misc/getdomain.c: Likewise.
33629 * misc/getdtsz.c: Likewise.
33630 * misc/gethostid.c: Likewise.
33631 * misc/gethostname.c: Likewise.
33632 * misc/getloadavg.c: Likewise.
33633 * misc/getpagesize.c: Likewise.
33634 * misc/getsysstats.c: Likewise.
33635 * misc/getxattr.c: Likewise.
33636 * misc/gtty.c: Likewise.
33637 * misc/ioctl.c: Likewise.
33638 * misc/lgetxattr.c: Likewise.
33639 * misc/listxattr.c: Likewise.
33640 * misc/llistxattr.c: Likewise.
33641 * misc/lremovexattr.c: Likewise.
33642 * misc/lsetxattr.c: Likewise.
33643 * misc/lutimes.c: Likewise.
33644 * misc/madvise.c: Likewise.
33645 * misc/mincore.c: Likewise.
33646 * misc/mlock.c: Likewise.
33647 * misc/mlockall.c: Likewise.
33648 * misc/mmap.c: Likewise.
33649 * misc/mprotect.c: Likewise.
33650 * misc/msync.c: Likewise.
33651 * misc/munlock.c: Likewise.
33652 * misc/munlockall.c: Likewise.
33653 * misc/munmap.c: Likewise.
33654 * misc/preadv.c: Likewise.
33655 * misc/preadv64.c: Likewise.
33656 * misc/ptrace.c: Likewise.
33657 * misc/pwritev.c: Likewise.
33658 * misc/pwritev64.c: Likewise.
33659 * misc/readv.c: Likewise.
33660 * misc/reboot.c: Likewise.
33661 * misc/remap_file_pages.c: Likewise.
33662 * misc/removexattr.c: Likewise.
33663 * misc/revoke.c: Likewise.
33664 * misc/select.c: Likewise.
33665 * misc/setdomain.c: Likewise.
33666 * misc/setegid.c: Likewise.
33667 * misc/seteuid.c: Likewise.
33668 * misc/sethostid.c: Likewise.
33669 * misc/sethostname.c: Likewise.
33670 * misc/setregid.c: Likewise.
33671 * misc/setreuid.c: Likewise.
33672 * misc/setxattr.c: Likewise.
33673 * misc/sstk.c: Likewise.
33674 * misc/stty.c: Likewise.
33675 * misc/swapoff.c: Likewise.
33676 * misc/swapon.c: Likewise.
33677 * misc/sync.c: Likewise.
33678 * misc/syncfs.c: Likewise.
33679 * misc/syscall.c: Likewise.
33680 * misc/truncate.c: Likewise.
33681 * misc/ualarm.c: Likewise.
33682 * misc/usleep.c: Likewise.
33683 * misc/ustat.c: Likewise.
33684 * misc/utimes.c: Likewise.
33685 * misc/vhangup.c: Likewise.
33686 * misc/writev.c: Likewise.
33687 * posix/_exit.c: Likewise.
33688 * posix/alarm.c: Likewise.
33689 * posix/execve.c: Likewise.
33690 * posix/fexecve.c: Likewise.
33691 * posix/fork.c: Likewise.
33692 * posix/fpathconf.c: Likewise.
33693 * posix/getaddrinfo.c: Likewise.
33694 * posix/getegid.c: Likewise.
33695 * posix/geteuid.c: Likewise.
33696 * posix/getgid.c: Likewise.
33697 * posix/getgroups.c: Likewise.
33698 * posix/getlogin.c: Likewise.
33699 * posix/getlogin_r.c: Likewise.
33700 * posix/getpgid.c: Likewise.
33701 * posix/getpid.c: Likewise.
33702 * posix/getppid.c: Likewise.
33703 * posix/getresgid.c: Likewise.
33704 * posix/getresuid.c: Likewise.
33705 * posix/getsid.c: Likewise.
33706 * posix/getuid.c: Likewise.
33707 * posix/glob64.c: Likewise.
33708 * posix/nanosleep.c: Likewise.
33709 * posix/pathconf.c: Likewise.
33710 * posix/pause.c: Likewise.
33711 * posix/posix_madvise.c: Likewise.
33712 * posix/pread.c: Likewise.
33713 * posix/pread64.c: Likewise.
33714 * posix/pwrite.c: Likewise.
33715 * posix/pwrite64.c: Likewise.
33716 * posix/sched_getaffinity.c: Likewise.
33717 * posix/sched_getp.c: Likewise.
33718 * posix/sched_gets.c: Likewise.
33719 * posix/sched_primax.c: Likewise.
33720 * posix/sched_primin.c: Likewise.
33721 * posix/sched_rr_gi.c: Likewise.
33722 * posix/sched_setaffinity.c: Likewise.
33723 * posix/sched_setp.c: Likewise.
33724 * posix/sched_sets.c: Likewise.
33725 * posix/sched_yield.c: Likewise.
33726 * posix/setgid.c: Likewise.
33727 * posix/setlogin.c: Likewise.
33728 * posix/setpgid.c: Likewise.
33729 * posix/setresgid.c: Likewise.
33730 * posix/setresuid.c: Likewise.
33731 * posix/setsid.c: Likewise.
33732 * posix/setuid.c: Likewise.
33733 * posix/sleep.c: Likewise.
33734 * posix/spawni.c: Likewise.
33735 * posix/sysconf.c: Likewise.
33736 * posix/times.c: Likewise.
33737 * posix/wait.c: Likewise.
33738 * posix/wait3.c: Likewise.
33739 * posix/wait4.c: Likewise.
33740 * posix/waitpid.c: Likewise.
33741 * resolv/gai_sigqueue.c: Likewise.
33742 * resource/getpriority.c: Likewise.
33743 * resource/getrlimit.c: Likewise.
33744 * resource/getrusage.c: Likewise.
33745 * resource/nice.c: Likewise.
33746 * resource/setpriority.c: Likewise.
33747 * resource/setrlimit.c: Likewise.
33748 * resource/ulimit.c: Likewise.
33749 * rt/aio_cancel.c: Likewise.
33750 * rt/aio_fsync.c: Likewise.
33751 * rt/aio_read.c: Likewise.
33752 * rt/aio_sigqueue.c: Likewise.
33753 * rt/aio_suspend.c: Likewise.
33754 * rt/aio_write.c: Likewise.
33755 * rt/clock_getres.c: Likewise.
33756 * rt/clock_gettime.c: Likewise.
33757 * rt/clock_nanosleep.c: Likewise.
33758 * rt/clock_settime.c: Likewise.
33759 * rt/lio_listio.c: Likewise.
33760 * rt/mq_close.c: Likewise.
33761 * rt/mq_getattr.c: Likewise.
33762 * rt/mq_notify.c: Likewise.
33763 * rt/mq_open.c: Likewise.
33764 * rt/mq_receive.c: Likewise.
33765 * rt/mq_send.c: Likewise.
33766 * rt/mq_setattr.c: Likewise.
33767 * rt/mq_timedreceive.c: Likewise.
33768 * rt/mq_timedsend.c: Likewise.
33769 * rt/mq_unlink.c: Likewise.
33770 * rt/shm_open.c: Likewise.
33771 * rt/shm_unlink.c: Likewise.
33772 * rt/timer_create.c: Likewise.
33773 * rt/timer_delete.c: Likewise.
33774 * rt/timer_getoverr.c: Likewise.
33775 * rt/timer_gettime.c: Likewise.
33776 * rt/timer_settime.c: Likewise.
33777 * setjmp/__longjmp.c: Likewise.
33778 * setjmp/setjmp.c: Likewise.
33779 * signal/kill.c: Likewise.
33780 * signal/killpg.c: Likewise.
33781 * signal/raise.c: Likewise.
33782 * signal/sigaction.c: Likewise.
33783 * signal/sigaltstack.c: Likewise.
33784 * signal/sigblock.c: Likewise.
33785 * signal/sigignore.c: Likewise.
33786 * signal/sigintr.c: Likewise.
33787 * signal/signal.c: Likewise.
33788 * signal/sigpause.c: Likewise.
33789 * signal/sigpending.c: Likewise.
33790 * signal/sigqueue.c: Likewise.
33791 * signal/sigreturn.c: Likewise.
33792 * signal/sigset.c: Likewise.
33793 * signal/sigsetmask.c: Likewise.
33794 * signal/sigstack.c: Likewise.
33795 * signal/sigsuspend.c: Likewise.
33796 * signal/sigtimedwait.c: Likewise.
33797 * signal/sigvec.c: Likewise.
33798 * signal/sigwait.c: Likewise.
33799 * signal/sigwaitinfo.c: Likewise.
33800 * signal/sysv_signal.c: Likewise.
33801 * socket/accept.c: Likewise.
33802 * socket/accept4.c: Likewise.
33803 * socket/bind.c: Likewise.
33804 * socket/connect.c: Likewise.
33805 * socket/getpeername.c: Likewise.
33806 * socket/getsockname.c: Likewise.
33807 * socket/getsockopt.c: Likewise.
33808 * socket/isfdtype.c: Likewise.
33809 * socket/listen.c: Likewise.
33810 * socket/recv.c: Likewise.
33811 * socket/recvfrom.c: Likewise.
33812 * socket/recvmsg.c: Likewise.
33813 * socket/send.c: Likewise.
33814 * socket/sendmsg.c: Likewise.
33815 * socket/sendto.c: Likewise.
33816 * socket/setsockopt.c: Likewise.
33817 * socket/shutdown.c: Likewise.
33818 * socket/sockatmark.c: Likewise.
33819 * socket/socket.c: Likewise.
33820 * socket/socketpair.c: Likewise.
33821 * stdio-common/ctermid.c: Likewise.
33822 * stdio-common/cuserid.c: Likewise.
33823 * stdio-common/remove.c: Likewise.
33824 * stdio-common/rename.c: Likewise.
33825 * stdio-common/renameat.c: Likewise.
33826 * stdio-common/tempname.c: Likewise.
33827 * stdlib/getcontext.c: Likewise.
33828 * stdlib/makecontext.c: Likewise.
33829 * stdlib/setcontext.c: Likewise.
33830 * stdlib/swapcontext.c: Likewise.
33831 * stdlib/system.c: Likewise.
33832 * streams/fattach.c: Likewise.
33833 * streams/fdetach.c: Likewise.
33834 * streams/getmsg.c: Likewise.
33835 * streams/getpmsg.c: Likewise.
33836 * streams/putmsg.c: Likewise.
33837 * streams/putpmsg.c: Likewise.
33838 * sysdeps/unix/bsd/getpt.c: Likewise.
33839 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33840 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33841 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33843 Likewise.
33844 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33845 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33846 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33847 * sysvipc/msgctl.c: Likewise.
33848 * sysvipc/msgget.c: Likewise.
33849 * sysvipc/msgrcv.c: Likewise.
33850 * sysvipc/msgsnd.c: Likewise.
33851 * sysvipc/semctl.c: Likewise.
33852 * sysvipc/semget.c: Likewise.
33853 * sysvipc/semop.c: Likewise.
33854 * sysvipc/semtimedop.c: Likewise.
33855 * sysvipc/shmat.c: Likewise.
33856 * sysvipc/shmctl.c: Likewise.
33857 * sysvipc/shmdt.c: Likewise.
33858 * sysvipc/shmget.c: Likewise.
33859 * termios/tcdrain.c: Likewise.
33860 * termios/tcflow.c: Likewise.
33861 * termios/tcflush.c: Likewise.
33862 * termios/tcgetattr.c: Likewise.
33863 * termios/tcgetpgrp.c: Likewise.
33864 * termios/tcsendbrk.c: Likewise.
33865 * termios/tcsetattr.c: Likewise.
33866 * termios/tcsetpgrp.c: Likewise.
33867 * time/adjtime.c: Likewise.
33868 * time/clock.c: Likewise.
33869 * time/getitimer.c: Likewise.
33870 * time/gettimeofday.c: Likewise.
33871 * time/setitimer.c: Likewise.
33872 * time/settimeofday.c: Likewise.
33873 * time/stime.c: Likewise.
33874 * time/time.c: Likewise.
33875
338762012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33877
33878 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33879 /usr/old/bin.
33880
33881 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33882 instead of spaces.
33883 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33884
338852012-11-03 Joseph Myers <joseph@codesourcery.com>
33886
33887 [BZ #14796]
33888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33889 FE_TONEAREST before applying Dekker multiplication and Knuth
33890 addition. Clear inexact exceptions and check for exact zero
33891 results afterwards.
33892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33893 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33895 * math/libm-test.inc (fma_test): Add more tests.
33896 (fma_test_towardzero): Likewise.
33897 (fma_test_downward): Likewise.
33898 (fma_test_upward): Likewise.
33899 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33900 function.
33901 (libc_fesetround): New macro.
33902 (libc_fesetroundf): Likewise.
33903 (libc_fesetroundl): Likewise.
33904 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33905 function.
33906 (libc_fesetround_387): Likewise.
33907 (libc_fesetroundf): New macro.
33908 (libc_fesetround): Likewise.
33909 (libc_fesetroundl): Likewise.
33910 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33911 function.
33912 (libc_fesetroundf): New macro.
33913 (libc_fesetround): Likewise.
33914 (libc_fesetroundl): Likewise.
33915 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33916 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33917 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33918 libm_hidden_ver.
33919 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33920 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33921 libm_hidden_def.
33922 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33923 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33924 libm_hidden_ver.
33925 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33926 libm_hidden_def.
33927
33928 [BZ #3439]
33929 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33930 integer constant usable in #if and use that to give value to enum
33931 constant.
33932 (FE_DIVBYZERO): Likewise.
33933 (FE_UNDERFLOW): Likewise.
33934 (FE_OVERFLOW): Likewise.
33935 (FE_INVALID): Likewise.
33936 (FE_INVALID_SNAN): Likewise.
33937 (FE_INVALID_ISI): Likewise.
33938 (FE_INVALID_IDI): Likewise.
33939 (FE_INVALID_ZDZ): Likewise.
33940 (FE_INVALID_IMZ): Likewise.
33941 (FE_INVALID_COMPARE): Likewise.
33942 (FE_INVALID_SOFTWARE): Likewise.
33943 (FE_INVALID_SQRT): Likewise.
33944 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33945 (FE_TONEAREST): Likewise.
33946 (FE_TOWARDZERO): Likewise.
33947 (FE_UPWARD): Likewise.
33948 (FE_DOWNWARD): Likewise.
33949 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33950 (FE_DIVBYZERO): Likewise.
33951 (FE_OVERFLOW): Likewise.
33952 (FE_UNDERFLOW): Likewise.
33953 (FE_INEXACT): Likewise.
33954 (FE_TONEAREST): Likewise.
33955 (FE_DOWNWARD): Likewise.
33956 (FE_UPWARD): Likewise.
33957 (FE_TOWARDZERO): Likewise.
33958 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33959 (FE_UNDERFLOW): Likewise.
33960 (FE_OVERFLOW): Likewise.
33961 (FE_DIVBYZERO): Likewise.
33962 (FE_INVALID): Likewise.
33963 (FE_TONEAREST): Likewise.
33964 (FE_TOWARDZERO): Likewise.
33965 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33966 (FE_OVERFLOW): Likewise.
33967 (FE_UNDERFLOW): Likewise.
33968 (FE_DIVBYZERO): Likewise.
33969 (FE_INEXACT): Likewise.
33970 (FE_TONEAREST): Likewise.
33971 (FE_TOWARDZERO): Likewise.
33972 (FE_UPWARD): Likewise.
33973 (FE_DOWNWARD): Likewise.
33974 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33975 (FE_DIVBYZERO): Likewise.
33976 (FE_OVERFLOW): Likewise.
33977 (FE_UNDERFLOW): Likewise.
33978 (FE_INEXACT): Likewise.
33979 (FE_TONEAREST): Likewise.
33980 (FE_DOWNWARD): Likewise.
33981 (FE_UPWARD): Likewise.
33982 (FE_TOWARDZERO): Likewise.
33983
339842012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33985
33986 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33987
339882012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33989
33990 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33991 commands. Quote $PWD.
33992 (blacklist_exports): Don't use remove_newlines. Replace "declare
33993 -x" by "export".
33994 (remove_newlines): Remove.
33995
339962012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33997
33998 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33999 * stdlib/stdlib.h (atof): Moved to ...
34000 * include/bits/stdlib-float.h: Here. New file.
34001 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34002 * stdlib/bits/stdlib-float.h: New file.
34003 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34004 -mno-sse -mno-mmx.
34005 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34006 <xmmintrin.h>.
34007
340082012-11-02 Joseph Myers <joseph@codesourcery.com>
34009
34010 * conform/conformtest.pl (@headers): Add fenv.h.
34011 * conform/data/fenv.h-data: New file.
34012 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34013 include of <math/fenv.h>.
34014
34015 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34016 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34017 && !UNIX98]. Enables tests for XOPEN2K8.
34018 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34019 POSIX2008]: Likewise.
34020
34021 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34022 (struct rusage): Do not expect type or its members.
34023
34024 [BZ #3439]
34025 * math/math.h (FP_NAN): Define macro to integer constant usable in
34026 #if and use that to give value to enum constant.
34027 (FP_INFINITE): Likewise.
34028 (FP_ZERO): Likewise.
34029 (FP_SUBNORMAL): Likewise.
34030 (FP_NORMAL): Likewise.
34031
340322012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34033
34034 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34035 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34036 arguments.
34037
340382012-11-02 Roland McGrath <roland@hack.frob.com>
34039
34040 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34041 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34042 autoconf-time if not.
34043 * configure.in: Remove AC_PREREQ.
34044
340452012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34046
34047 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34048 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34049 of the internal implementation.
34050
340512012-11-02 Joseph Myers <joseph@codesourcery.com>
34052
34053 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34054 except include of <misc/sys/syslog.h>.
34055
340562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34057
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34059 function returns with a NULL context exit with zero.
34060
340612012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34062
34063 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34064
340652012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34066
34067 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34068 (run_program_cmd): This.
34069 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34070 (tst_langinfo): New variable. Use it.
34071
340722012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34073
34074 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34075 floating point opcodes.
34076
340772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34078
34079 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34080 variable.
34081
34082 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34083
34084 * sysdeps/mach/hurd/powerpc: Remove directory.
34085 * sysdeps/mach/powerpc: Likewise.
34086
340872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34088
34089 * scripts/check-local-headers.sh: Ignore c++ headers.
34090
340912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34092
34093 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34094 __libc_cleanup_region_start argument.
34095
340962012-11-01 Joseph Myers <joseph@codesourcery.com>
34097
34098 [BZ #14784]
34099 [BZ #14785]
34100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34101 x * y using scaling, not as x * y + z.
34102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34103 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34104 * math/libm-test.inc (fma_test): Add more tests.
34105 (fma_test_towardzero): Likewise.
34106 (fma_test_downward): Likewise.
34107 (fma_test_upward): Likewise.
34108
341092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34110
34111 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34112
341132012-10-31 Joseph Myers <joseph@codesourcery.com>
34114
34115 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34116 New variable.
34117
341182012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34119
34120 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34121
341222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34123
34124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34125 Fix sort order.
34126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34127 Likewise.
34128
341292012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34130
34131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34132 Fix the order of the list for glibc 2.17.
34133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34134 Likewise.
34135
341362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34137
34138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34139
341402012-10-31 Joseph Myers <joseph@codesourcery.com>
34141
34142 [BZ #14610]
34143 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34144 for low part of x being zero before using __atanl (y).
34145 * math/libm-test.inc (atan2_test): Add another test.
34146
34147 * manual/install.texi (Configuring and compiling): Document
34148 general use of test-wrapper and test-wrapper-env.
34149 * INSTALL: Regenerated.
34150
34151 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34152 (__fma): Do not extract and scale down low bits on after-rounding
34153 systems when result rounded to normal precision would have normal
34154 exponent.
34155 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34156 (__fmal): Do not extract and scale down low bits on after-rounding
34157 systems when result rounded to normal precision would have normal
34158 exponent.
34159 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34160 (__fmal): Do not extract and scale down low bits on after-rounding
34161 systems when result rounded to normal precision would have normal
34162 exponent.
34163 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34164 macro.
34165 (fma_test): Add more tests.
34166 (fma_test_towardzero): Likewise.
34167 (fma_test_downward): Likewise.
34168 (fma_test_upward): Likewise.
34169
341702012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34171
34172 * sysdeps/i386/tininess.h: Renamed to ...
34173 * sysdeps/x86/tininess.h: This.
34174 * sysdeps/x86_64/tininess.h: Removed.
34175
341762012-10-30 Joseph Myers <joseph@codesourcery.com>
34177
34178 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34179 input. Use $(build-program-cmd).
34180 ($(objpfx)tst-array1-static.out): Likewise.
34181 ($(objpfx)tst-array2.out): Likewise.
34182 ($(objpfx)tst-array3.out): Likewise.
34183 ($(objpfx)tst-array4.out): Likewise.
34184 ($(objpfx)tst-array5.out): Likewise.
34185 ($(objpfx)tst-array5-static.out): Likewise.
34186
341872012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34188
34189 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34190 if defined.
34191
34192 * nss/nsswitch.h (nss_interface_function): Provide new
34193 macro for use with NSS functions.
34194 * grp/initgroups.c: Use new macro.
34195 * nss/getXXbyYY.c: Likewise.
34196 * nss/getXXbyYY_r.c: Likewise.
34197 * nss/getXXent.c: Likewise.
34198 * nss/getXXent_r.c: Likewise.
34199 * sysdeps/posix/getaddrinfo.c: Likewise.
34200
342012012-10-30 Andreas Jaeger <aj@suse.de>
34202
34203 * po/ru.po: Update Russion translation from translation project.
34204
342052012-10-30 Joseph Myers <joseph@codesourcery.com>
34206
34207 [BZ #14152]
34208 [BZ #14783]
34209 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34210 result and shift together with sticky bit instead of replicating
34211 round-to-nearest rounding.
34212 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34213 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34214 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34215 missing underflow exceptions.
34216 (fma_test_towardzero): Add more tests.
34217 (fma_test_downward): Likewise.
34218 (fma_test_upward): Likewise.
34219
34220 [BZ #14047]
34221 * sysdeps/generic/tininess.h: New file.
34222 * sysdeps/i386/tininess.h: Likewise.
34223 * sysdeps/sh/tininess.h: Likewise.
34224 * sysdeps/x86_64/tininess.h: Likewise.
34225 * stdlib/tst-strtod-underflow.c: Likewise.
34226 * stdlib/tst-tininess.c: Likewise.
34227 * stdlib/strtod_l.c: Include <tininess.h>.
34228 (round_and_return): Do not set errno for exact underflow cases.
34229 Force an underflow exception when setting errno for underflow.
34230 Determine underflow based on rounding to normal precision if
34231 TININESS_AFTER_ROUNDING.
34232 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34233 ERANGE for exact underflow cases.
34234 * stdlib/Makefile (tests): Add tst-tininess and
34235 tst-strtod-underflow.
34236 ($(objpfx)tst-tininess): Use $(link-libm).
34237 ($(objpfx)tst-strtod-underflow): Likewise.
34238
342392012-10-30 Andreas Jaeger <aj@suse.de>
34240
34241 [BZ#14767]
34242 * elf/Makefile (tests): Remove conditional for have-initfini-array
34243 since this is now always required and the variable does not exist
34244 anymore.
34245 (tests-static): Likewise.
34246 (modules-names): Likewise.
34247
34248 * po/eo.po: Add Esperanto translation from translation project.
34249
34250 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34251 merged with constructor/destructor.
34252 (init_array): Likewise.
34253 * elf/tst-array2dep.c (fini_array): Likewise.
34254 (init_array): Likewise.
34255
342562012-10-29 Mike Frysinger <vapier@gentoo.org>
34257
34258 * manual/message.texi: Delete @cartouche tags.
34259
342602012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34261
34262 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34263 EOPNOTSUPP.
34264 * sysdeps/mach/hurd/fsync.c: Likewise.
34265
34266 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34267 [_POSIX_REALTIME_SIGNALS]: Change condition to
34268 [_POSIX_REALTIME_SIGNALS > 0].
34269
342702012-10-27 Andreas Jaeger <aj@suse.de>
34271
34272 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34273 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34275 [__WORDSIZE != 64]: Likewise.
34276
342772012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34278
34279 * iconvdata/tst-table.sh: Remove ${SHELL}.
34280 * iconvdata/tst-tables.sh: Likewise.
34281
342822012-10-25 David S. Miller <davem@davemloft.net>
34283
34284 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34285 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34286 of strtoull.
34287
34288 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34289 ifunc-impl-list.c
34290 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34291 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34292 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34293 file.
34294
342952012-10-25 Roland McGrath <roland@hack.frob.com>
34296
34297 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34298 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34299 __getdirentries.
34300
343012012-10-25 Joseph Myers <joseph@codesourcery.com>
34302 Jim Blandy <jimb@codesourcery.com>
34303
34304 * scripts/cross-test-ssh.sh: New file.
34305 * manual/install.texi (Configuring and compiling): Document use of
34306 cross-test-ssh.sh.
34307 * INSTALL: Regenerated.
34308
343092012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34310
34311 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34312 EOPNOTSUPP.
34313
343142012-10-25 Joseph Myers <joseph@codesourcery.com>
34315
34316 * Makeconfig (run-program-prefix): Fix comment.
34317
343182012-10-24 Joseph Myers <joseph@codesourcery.com>
34319 Jim Blandy <jimb@codesourcery.com>
34320
34321 * Makeconfig (test-wrapper): New variable,
34322 (test-wrapper-env): Likewise.
34323 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34324 (run-built-tests): Define to yes.
34325 (run-program-prefix): Use $(test-wrapper).
34326 (built-program-cmd): Likewise.
34327 * Rules (make-test-out): Use $(test-wrapper-env) and
34328 $(host-built-program-cmd).
34329 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34330 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34331 tst-pathopt.sh.
34332 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34333 $(test-wrapper-env) to tst-rtld-load-self.sh.
34334 ($(objpfx)order2.out): Use $(test-wrapper).
34335 ($(objpfx)tst-initorder.out): Likewise.
34336 ($(objpfx)tst-initorder2.out): Likewise.
34337 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34338 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34339 (test_wrapper_env): New variable. Use it to run ld.so.
34340 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34341 Use it to run ld.so.
34342 (test_wrapper_env): Likewise.
34343 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34344 $(test-wrapper) to run-iconv-test.sh.
34345 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34346 (ICONV): Use $test_wrapper.
34347 * posix/Makefile ($(objpfx)globtest.out): Pass
34348 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34349 globtest.sh, not $(run-program-prefix).
34350 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34351 (test_wrapper): Likewise.
34352 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34353 set together with run_via_rtld_prefix.
34354 (run_program_prefix): Define in terms of test_wrapper and
34355 run_via_rtld_prefix.
34356
343572012-10-24 Roland McGrath <roland@hack.frob.com>
34358
34359 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34360 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34361 Targets removed.
34362
34363 [BZ #14743]
34364 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34365 Declare __clock_getres, __clock_gettime, __clock_settime,
34366 __clock_nanosleep, and __clock_getcpuclockid.
34367 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34368 Remove librt_hidden_def (clock_gettime).
34369 * sysdeps/unix/clock_gettime.c: Likewise.
34370 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34371 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34372 * rt/clock_getres.c: Define __clock_getres as an alias.
34373 * sysdeps/posix/clock_getres.c: Likewise.
34374 * rt/clock_settime.c: Define __clock_settime as an alias.
34375 * sysdeps/unix/clock_settime.c: Likewise.
34376 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34377 * sysdeps/unix/clock_nanosleep.c: Likewise.
34378 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34379 * rt/clock-compat.c: New file.
34380 * rt/Makefile (librt-routines): Add clock-compat and move
34381 $(clock-routines) to ...
34382 (routines): ... here, new variable.
34383 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34384 Don't add get_clockfreq here.
34385 * rt/Versions (libc: GLIBC_2.17): New version set.
34386 Add clock_* symbols here.
34387 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34388 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34389 (GLIBC_2.17): Add clock_* symbols.
34390 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34394 Likewise.
34395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34396 Likewise.
34397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34401 * NEWS: Mention the move.
34402
34403 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34404 Use __open, __read, __close rather than their public counterparts.
34405 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34406 (__get_clockfreq_via_cpuinfo): Likewise.
34407 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34408 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34409
34410 * config.h.in (HAVE_IFUNC): New #undef.
34411 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34412 was successful.
34413 * configure: Regenerated.
34414
344152012-10-24 Mike Frysinger <vapier@gentoo.org>
34416
34417 * configure.in: Move READELF check to start of file.
34418 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34419 libc_cv_asm_gnu_indirect_function in the process.
34420 * configure: Regenerated.
34421
344222012-10-24 Mike Frysinger <vapier@gentoo.org>
34423
34424 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34425 send the output to /dev/null.
34426 (libc_cv_cc_with_libunwind): Likewise.
34427 (libc_cv_as_noexecstack): Likewise.
34428 * configure: Regenerate.
34429
344302012-10-24 Joseph Myers <joseph@codesourcery.com>
34431
34432 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34433
34434 * posix/globtest.sh (TMPDIR): Do not set.
34435 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34436 (testout): Likewise.
34437
344382012-10-24 Andreas Jaeger <aj@suse.de>
34439
34440 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34441 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34442 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34443 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34444 posix_fadvise64, posix_fallocate64.
34445
34446 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34447 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34448 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34449 Likewise.
34450 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34451 Likewise.
34452 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34453
34454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34455 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34456 <bits/fcntl-linux.h>.
34457 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34458
34459 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34460 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34461 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34462 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34463 [__WORDSIZE != 64]: Likewise.
34464
344652012-10-23 Joseph Myers <joseph@codesourcery.com>
34466
34467 * Makeconfig (run-built-tests): New variable.
34468 * Rules [$(cross-compiling) = yes]: Change condition to
34469 [$(run-built-tests) = no].
34470 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34471 to [$(run-built-tests) = yes].
34472 * elf/Makefile [$(cross-compiling) = no]: Likewise
34473 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34474 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34475 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34476 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34477 * io/Makefile [$(cross-compiling) = no]: Likewise.
34478 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34479 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34480 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34481 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34482 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34483 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34484 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34485 * string/Makefile [$(cross-compiling) = no]: Likewise.
34486
34487 * posix/Makefile ($(objpfx)globtest.out): Pass
34488 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34489 $(rtld-installed-name).
34490 * posix/globtest.sh (elf_objpfx): Remove variable.
34491 (rtld_installed_name): Likewise.
34492 (library_path): Likewise.
34493 (run_program_prefix): New variable. Use for running globtest
34494 binary.
34495
344962012-10-23 Jim Blandy <jimb@codesourcery.com>
34497 Joseph Myers <joseph@codesourcery.com>
34498
34499 * Makeconfig (host-built-program-cmd): New variable.
34500 * elf/Makefile (tst-stackguard1-ARGS): Use
34501 $(host-built-program-cmd).
34502 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34503 (tst-spawn-ARGS): Likewise.
34504 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34505
345062012-10-23 Joseph Myers <joseph@codesourcery.com>
34507 Jim Blandy <jimb@codesourcery.com>
34508
34509 * Makeconfig (run-via-rtld-prefix): New variable.
34510 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34511 (built-program-cmd): Likewise.
34512
345132012-10-22 Andreas Jaeger <aj@suse.de>
34514
34515 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34516 __O_RSYNC if it exists, otherwise to O_SYNC.
34517
345182012-10-22 Jim Blandy <jimb@codesourcery.com>
34519 Joseph Myers <joseph@codesourcery.com>
34520
34521 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34522 /dev/null.
34523 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34524 from /dev/null
34525 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34526 /dev/null.
34527
345282012-10-22 Andreas Jaeger <aj@suse.de>
34529
34530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34531 Define always.
34532 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34533
34534 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34535 bits/fcntl-linux.h.
34536
34537 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34538 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34539
34540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34541 to __O_LARGEFILE.
34542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34543 to __O_LARGEFILE.
34544
345452012-10-21 Jim Blandy <jimb@codesourcery.com>
34546 Joseph Myers <joseph@codesourcery.com>
34547
34548 * config.make.in (NM): New variable.
34549
345502012-10-21 Andreas Jaeger <aj@suse.de>
34551
34552 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34553 definitions and declarations that are provided by
34554 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34555
345562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34557
34558 [BZ #14683]
34559 * elf/Makefile (tests-static): Add tst-leaks1-static.
34560 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34561 ($(objpfx)tst-leaks1-static): New rule.
34562 ($(objpfx)tst-leaks1-static-mem): Likewise.
34563 (tst-leaks1-static-ENV): New macro.
34564 * elf/dl-open.c (dl_open_worker): Check the main application
34565 only if SHARED is defined.
34566 * elf/tst-leaks1-static.c: New file.
34567
345682012-10-20 Andreas Jaeger <aj@suse.de>
34569
34570 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34571 generic values for Linux.
34572 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34573 and declarations that are provided by <bits/fcntl-linux.h> and
34574 include <bits/fcntl-linux.h>.
34575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34576 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34577
345782012-10-20 Roland McGrath <roland@hack.frob.com>
34579
34580 * io/fcntl.h: Move include of <bits/types.h> to the top and
34581 include it unconditionally.
34582
345832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34584
34585 * wcsmbs/Makefile (tests-ifunc): New variable.
34586 (tests): Add $(tests-ifunc).
34587 * wcsmbs/test-wcschr-ifunc.c: New file.
34588 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34589 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34590 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34591 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34592 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34593
34594 * string/Makefile (tests-ifunc): New variable.
34595 (tests): Add $(tests-ifunc).
34596 * string/test-memccpy.c (TEST_NAME): New macro.
34597 * string/test-memchr.c (TEST_NAME): Likewise.
34598 * string/test-memcmp.c (TEST_NAME): Likewise.
34599 * string/test-memcpy.c (TEST_NAME): Likewise.
34600 * string/test-memmem.c (TEST_NAME): Likewise.
34601 * string/test-memmove.c (TEST_NAME): Likewise.
34602 * string/test-memset.c (TEST_NAME): Likewise.
34603 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34604 * string/test-stpcpy.c (TEST_NAME): Likewise.
34605 * string/test-stpncpy.c (TEST_NAME): Likewise.
34606 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34607 * string/test-strcasestr.c (TEST_NAME): Likewise.
34608 * string/test-strcat.c (TEST_NAME): Likewise.
34609 * string/test-strchr.c (TEST_NAME): Likewise.
34610 * string/test-strcmp.c(TEST_NAME): Likewise.
34611 * string/test-strcpy.c (TEST_NAME): Likewise.
34612 * string/test-strcspn.c (TEST_NAME): Likewise.
34613 * string/test-strlen.c (TEST_NAME): Likewise.
34614 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34615 * string/test-strncmp.c (TEST_NAME): Likewise.
34616 * string/test-strncpy.c (TEST_NAME): Likewise.
34617 * string/test-strnlen.c (TEST_NAME): Likewise.
34618 * string/test-strpbrk.c (TEST_NAME): Likewise.
34619 * string/test-strrchr.c (TEST_NAME): Likewise.
34620 * string/test-strspn.c (TEST_NAME): Likewise.
34621 * string/test-strstr.c (TEST_NAME): Likewise.
34622 * string/test-bcopy-ifunc.c: New file.
34623 * string/test-bzero-ifunc.c: Likewise.
34624 * string/test-memccpy-ifunc.c: Likewise.
34625 * string/test-memchr-ifunc.c: Likewise.
34626 * string/test-memcmp-ifunc.c: Likewise.
34627 * string/test-memcpy-ifunc.c: Likewise.
34628 * string/test-memmem-ifunc.c: Likewise.
34629 * string/test-memmove-ifunc.c: Likewise.
34630 * string/test-mempcpy-ifunc.c: Likewise.
34631 * string/test-memset-ifunc.c: Likewise.
34632 * string/test-rawmemchr-ifunc.c: Likewise.
34633 * string/test-stpcpy-ifunc.c: Likewise.
34634 * string/test-stpncpy-ifunc.c: Likewise.
34635 * string/test-strcasecmp-ifunc.c: Likewise.
34636 * string/test-strcasestr-ifunc.c: Likewise.
34637 * string/test-strcat-ifunc.c: Likewise.
34638 * string/test-strchr-ifunc.c: Likewise.
34639 * string/test-strchrnul-ifunc.c: Likewise.
34640 * string/test-strcmp-ifunc.c: Likewise.
34641 * string/test-strcpy-ifunc.c: Likewise.
34642 * string/test-strcspn-ifunc.c: Likewise.
34643 * string/test-strlen-ifunc.c: Likewise.
34644 * string/test-strncasecmp-ifunc.c: Likewise.
34645 * string/test-strncat-ifunc.c: Likewise.
34646 * string/test-strncmp-ifunc.c: Likewise.
34647 * string/test-strncpy-ifunc.c: Likewise.
34648 * string/test-strnlen-ifunc.c: Likewise.
34649 * string/test-strpbrk-ifunc.c: Likewise.
34650 * string/test-strrchr-ifunc.c: Likewise.
34651 * string/test-strspn-ifunc.c: Likewise.
34652 * string/test-strstr-ifunc.c: Likewise.
34653
34654 * debug/Makefile (tests-ifunc): New variable.
34655 (tests): Add $(tests-ifunc).
34656 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34657 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34658 * debug/test-stpcpy_chk-ifunc.c: New file.
34659 * debug/test-strcpy_chk-ifunc.c: Likewise.
34660
346612012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34662
34663 [BZ #13601]
34664 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34665 header is not read in.
34666
346672012-10-19 Joseph Myers <joseph@codesourcery.com>
34668
34669 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34670 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34671 directly. Pass built executable to script as
34672 $(built-program-cmd).
34673 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34674 $testprogram without using LD_LIBRARY_PATH and $ldso.
34675
34676 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34677 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34678 $(rtld-installed-name).
34679 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34680 (rtld_installed_name): Likewise.
34681 (library_path): Likewise.
34682 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34683 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34684 $(run-program-prefix) to tst-tables.sh.
34685 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34686 it to run tst-table-from and tst-table-to.
34687 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34688 Pass it to tst-table.sh.
34689 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34690 $(run-program-prefix) to tst-gettext.sh.
34691 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34692 tst-translit.sh.
34693 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34694 tst-gettext2.sh.
34695 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34696 to run tst-gettext.
34697 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34698 to run tst-gettext2.
34699 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34700 to run tst-translit.
34701 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34702 $(run-program-prefix) to tst-mtrace.sh.
34703 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34704 to run tst-mtrace.
34705 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34706 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34707 $(rtld-installed-name).
34708 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34709 (rtld_installed_name): Likewise.
34710 (run_program_prefix): New variable. Use it to run wordexp-test.
34711
34712 * Makeconfig (ARCH): Remove all definitions.
34713 (machine): Likewise.
34714 [ARCH]: Remove conditional code.
34715 [!objdir]: Give error.
34716 [!objdir] (objpfx): Remove.
34717 [!objdir] (common-objpfx): Likewise.
34718 [!objdir] (common-objdir): Likewise.
34719 * configure.in (config_makefile): Remove. Hardcode Makefile in
34720 AC_CONFIG_FILES call.
34721 * configure: Regenerated.
34722
34723 [BZ #13888]
34724 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34725 or TMPDIR.
34726 (testout): Likewise.
34727
34728 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34729 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34730 $(rtld-installed-name).
34731 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34732 (rtld_installed_name): Likwise.
34733 (runit): Remove function.
34734 (run_getconf): New variable, Use it for running getconf binary.
34735
347362012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34737
34738 [BZ #14716]
34739 * string/test-memmem.c (check_result): New function.
34740 (do_one_test): Use it.
34741 (check1): New function.
34742 (test_main): Use it.
34743
347442012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34745
34746 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34747
347482012-10-18 Joseph Myers <joseph@codesourcery.com>
34749
34750 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34751 (_G_LSEEK64): Likewise.
34752 (_G_MMAP64): Likewise.
34753 (_G_FSTAT64): Likewise.
34754 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34755 (_G_LSEEK64): Likewise.
34756 (_G_MMAP64): Likewise.
34757 (_G_FSTAT64): Likewise.
34758 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34759 unconditional. Call __mmap64 directly.
34760 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34761 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34762 __lseek64 directly.
34763 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34764 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34765 __mmap64 directly.
34766 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34767 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34768 __lseek64 directly.
34769 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34770 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34771 __lseek64 directly.
34772 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34773 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34774 __lseek64 directly.
34775 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34776 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34777 __fxstat64 directly.
34778 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34779 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34780 unconditional.
34781 (freopen64) [!_G_OPEN64]: Remove conditional code.
34782 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34783 unconditional.
34784 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34785 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34786 unconditional.
34787 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34788 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34789 unconditional.
34790 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34791 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34792 unconditional.
34793 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34794 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34795 unconditional.
34796 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34797 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34798 unconditional.
34799 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34800 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34801 unconditional.
34802 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34803
348042012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34805
34806 [BZ #12140]
34807 * manual/memory.texi (Malloc Tunable Parameters): Add note
34808 about free list pointers overwriting some perturb bytes.
34809 Wording suggested by Roland McGrath.
34810
348112012-10-17 Joseph Myers <joseph@codesourcery.com>
34812
34813 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34814 (lgamma_test): Likewise.
34815 (tgamma_test): Likewise.
34816
348172012-10-16 Florian Weimer <fweimer@redhat.com>
34818
34819 [BZ #14700]
34820 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34821 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34822
348232012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34824
34825 * NEWS: Mention BZ #14716.
34826 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34827 when removing AVAILABLE1_USES_J macro.
34828
348292012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34832 (__bswap_64): __uint64_t for unsigned 64-bit int.
34833
348342012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34835
34836 * include/string.h (memmem): Declare libc hidden alias.
34837 * string/memmem.c (memmem): Define libc hidden alias.
34838 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34839 __read, __close instead of open, read, close.
34840
348412012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34842
34843 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34844 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34845 global and hidden.
34846 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34847 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34848 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34849 Likewise.
34850 (__rawmemchr_sse2): Likewise.
34851 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34852 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34853 (__strchr_sse2): Likewise.
34854 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34855 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34856 (__strcasecmp_sse2): Likewise.
34857 (__strncasecmp_sse2): Likewise.
34858 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34859 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34860 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34861 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34862 (__strrchr_sse2): Likewise.
34863 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34864 ifunc-impl-list.c.
34865 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34866 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34867 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34868 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34869 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34870 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34871 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34872 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34873 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34874 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34875 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34876 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34877 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34878 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34879 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34880 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34881 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34882 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34883 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34884 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34885 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34886 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34887 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34888 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34889 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34890 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34891 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34892 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34893 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34894 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34895
34896 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34897 global and hidden.
34898 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34899 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34900 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34901 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34902 Likewise.
34903 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34904 Likewise.
34905 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34906 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34907 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34908 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34909 ifunc-impl-list.c.
34910 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34911 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34912 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34913 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34914 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34915 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34916 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34917 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34918 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34919 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34920 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34921 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34922 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34923 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34924 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34925 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34926 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34927 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34928 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34929 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34930 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34931 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34932 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34933 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34935 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34936 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34937 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34938 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34939 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34940 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34941 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34942 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34943 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34944 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34945 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34946 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34947 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34948 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34949 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34950 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34951
34952 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34953 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34954 * include/ifunc-impl-list.h: New file.
34955 * misc/ifunc-impl-list.c: Likewise.
34956 * misc/Makefile (routines): Add ifunc-impl-list.
34957 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34958 * string/test-string.h: Include <ifunc-impl-list.h>.
34959 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34960 TEST_NAME]: New variables.
34961 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34962 are defined.
34963 (test_init): Call __libc_ifunc_impl_list to initialize
34964 func_list if TEST_IFUNC and TEST_NAME are defined.
34965
34966 * string/Makefile (strop-tests): Add bcopy and bzero.
34967 * string/test-bcopy.c: New file.
34968 * string/test-bzero.c: Likewise.
34969 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34970 defined.
34971 * string/test-memset.c: Support bzero test if TEST_BZERO is
34972 defined.
34973 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34974 __libc_memmove.
34975 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34976 __libc_memset.
34977 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34978 of memset.
34979
349802012-10-10 Joseph Myers <joseph@codesourcery.com>
34981
34982 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34983 * configure: Regenerated.
34984
34985 * Makeconfig (+link-static-before-libc): Don't include
34986 $(link-static-libc).
34987
34988 * libio/libio.h (_IO_pos_t): Remove.
34989
349902012-10-10 Alexandre Oliva <aoliva@redhat.com>
34991
34992 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34993 McGrath.
34994
349952012-10-10 Alexandre Oliva <aoliva@redhat.com>
34996
34997 * crypt/crypt-entry.c: Include fips-private.h.
34998 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34999 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35000 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35001 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35002
350032012-10-10 Alexandre Oliva <aoliva@redhat.com>
35004
35005 * crypt/crypt-private.h: Include stdbool.h.
35006 (_ufc_setup_salt_r): Return bool.
35007 * crypt/crypt-entry.c: Include errno.h.
35008 (__crypt_r): Return NULL with EINVAL for bad salt.
35009 * crypt/crypt_util.c (bad_for_salt): New.
35010 (_ufc_setup_salt_r): Check that salt is long enough and within
35011 the specified alphabet.
35012 * crypt/badsalttest.c: New file.
35013 * crypt/Makefile (tests): Add it.
35014 ($(objpfx)badsalttest): New.
35015
350162012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35017
35018 * NEWS: Add entry for BZ #14602.
35019
350202012-10-09 Joseph Myers <joseph@codesourcery.com>
35021
35022 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35023 type-generic.
35024 * math/libm-test.inc: Update comment listing what functions and
35025 macros are tested.
35026 (isgreater_test): New function.
35027 (isgreaterequal_test): Likewise.
35028 (isless_test): Likewise.
35029 (islessequal_test): Likewise.
35030 (islessgreater_test): Likewise.
35031 (isunordered_test): Likewise.
35032 (main): Call the new functions.
35033
350342012-10-09 Roland McGrath <roland@hack.frob.com>
35035
35036 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35037 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35038 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35039 * sysdeps/i386/configure: Regenerated.
35040 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35041 * sysdeps/mach/configure: Regenerated.
35042 * sysdeps/mach/hurd/configure: Regenerated.
35043 * sysdeps/powerpc/configure: Regenerated.
35044 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35045 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35046 * sysdeps/s390/s390-32/configure: Regenerated.
35047 * sysdeps/s390/s390-64/configure: Regenerated.
35048 * sysdeps/sh/configure: Regenerated.
35049 * sysdeps/sparc/configure: Regenerated.
35050 * sysdeps/unix/sysv/linux/configure: Regenerated.
35051 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35052 * sysdeps/x86_64/configure: Regenerated.
35053
35054 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35055 defined. Don't check if MAP is NULL.
35056
350572012-10-09 Joseph Myers <joseph@codesourcery.com>
35058
35059 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35060 (_G_stat64): Likewise.
35061 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35062 (_G_stat64): Likewise.
35063 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35064 instead of struct _G_stat64.
35065 * libio/fileops.c (mmap_remap_check): Likewise.
35066 (decide_maybe_mmap): Likewise.
35067 (_IO_new_file_seekoff): Likewise.
35068 (_IO_file_stat): Likewise.
35069 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35070 _G_off64_t.
35071 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35072 instead of struct _G_stat64.
35073 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35074
350752012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35076
35077 [BZ #14602]
35078 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35079 Replace with ...
35080 (CHECK_EOL): New macro.
35081 (two_way_short_needle): Check beginning of haystack for EOL. Use
35082 CHECK_EOL.
35083 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35084 Replace with CHECK_EOL.
35085 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35086 Replace with CHECK_EOL.
35087
350882012-10-08 Joseph Myers <joseph@codesourcery.com>
35089
35090 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35091 type-generic.
35092 * math/libm-test.inc: Update comment listing what functions and
35093 macros are tested.
35094 (finite_test): New function.
35095 (isinf_test): Likewise.
35096 (isnan_test): Likewise.
35097 (fpclassify_test): Test subnormal input.
35098 (isfinite_test): Likewise.
35099 (isnormal_test): Likewise.
35100 (main): Call the new functions.
35101
351022012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35103
35104 [BZ #14660]
35105 * Makerules (%.dynsym): Force C locale when running
35106 $(OBJDUMP) --dynamic-syms.
35107
351082012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35109
35110 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35111 <stdint.h>.
35112
351132012-10-06 David S. Miller <davem@davemloft.net>
35114
35115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35116 upper 32-bits of the length value in %o2 since we use branch-on-register
35117 tests which consider the entire 64-bit register.
35118
351192012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35120
35121 * string/test-strstr.c (check2): Add a test for page boundary.
35122
351232012-10-05 David S. Miller <davem@davemloft.net>
35124
35125 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35126 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35127 file.
35128 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35129 sysdep_routines.
35130 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35131 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35132 and bzero when HWCAP_SPARC_CRYPTO is present.
35133
351342012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35135
35136 [BZ #14602]
35137 * string/test-strstr.c (check2): New function.
35138 (test_main): Call check2.
35139
35140 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35141 and bug-strchr1.
35142 * string/bug-strcasestr1.c (do_test): Moved to ...
35143 * string/test-strcasestr.c (check1): Here. New function.
35144 (do_one_test): Break out result checking code into ...
35145 (check_result): This. New function.
35146 (do_one_test): Call check_result.
35147 (test_main): Call check1.
35148 * string/bug-strchr1.c (do_test): Moved to ...
35149 * string/test-strchr.c (check1): Here. New function.
35150 (do_one_test): Break out result checking code into ...
35151 (check_result): This. New function.
35152 (do_one_test): Call check_result.
35153 (test_main): Call check1.
35154 * string/bug-strstr1.c (main): Moved to ...
35155 * string/test-strstr.c (check1): Here. New function.
35156 (do_one_test): Break out result checking code into ...
35157 (check_result): This. New function.
35158 (do_one_test): Call check_result.
35159 (test_main): Call check1.
35160 * string/bug-strcasestr1.c: Removed.
35161 * string/bug-strchr1.c: Likewise.
35162 * string/bug-strstr1.c: Likewise.
35163
35164 * elf/Makefile (dl-routines): Add hwcaps.
35165 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35166 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35167 (_dl_important_hwcaps): Moved to ...
35168 * elf/dl-hwcaps.c: Here. New file.
35169 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35170
35171 [BZ #14557]
35172 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35173 if IS_IN_rtld isn't defined.
35174
35175 * elf/dl-support.c (_dl_sysinfo_map): New.
35176 Include "get-dynamic-info.h" and "setup-vdso.h".
35177 (_dl_non_dynamic_init): Call setup_vdso.
35178 * elf/dynamic-link.h: Don't include <assert.h>.
35179 (elf_get_dynamic_info): Moved to ...
35180 * elf/get-dynamic-info.h: Here. New file.
35181 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35182 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35183 * elf/setup-vdso.h: Here. New file.
35184 * elf/rtld.c: Include "setup-vdso.h".
35185 (dl_main): Call setup_vdso.
35186
351872012-10-05 Joseph Myers <joseph@codesourcery.com>
35188
35189 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35190 creal in comment listing functions tested. List finite, isinf,
35191 isnan, isless, islessequal, isgreater, isgreaterequal,
35192 islessgreater, isunordered, lgamma_r and pow10 as functions and
35193 macros not tested. Mention which functions not tested are aliases
35194 for other functions. Fix typo. Note that signs of NaNs are not
35195 tested.
35196
35197 * scripts/config.guess: Update from config.git.
35198 * scripts/config.sub: Likewise.
35199
352002012-10-04 Roland McGrath <roland@hack.frob.com>
35201
35202 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35203 * misc/madvise.c (madvise): Renamed to __madvise.
35204 Make madvise a weak alias.
35205 * include/sys/mman.h: Declare __madvise.
35206 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35207 * sysdeps/unix/syscalls.list
35208 (madvise): Make __madvise the strong name, and madvise a weak alias.
35209 * sysdeps/unix/sysv/linux/syscalls.list
35210 (madvise, mmap): Remove redundant entries.
35211 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35212 * malloc/malloc.c (mtrim): Likewise.
35213 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35214
352152012-10-03 Roland McGrath <roland@hack.frob.com>
35216
35217 * sysdeps/mach/hurd/dl-cache.c: File removed.
35218 * config.h.in (USE_LDCONFIG): New #undef.
35219 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35220 * configure: Regenerated.
35221 * elf/Makefile (dl-routines): Add dl-cache only under
35222 [$(use-ldconfig) = yes].
35223 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35224 cache on [USE_LDCONFIG].
35225 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35226 [USE_LDCONFIG].
35227 * elf/rtld.c (dl_main): Likewise.
35228
352292012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35230
35231 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35232 _SC_LEVEL4_CACHE_LINESIZE.
35233
352342012-10-03 Roland McGrath <roland@hack.frob.com>
35235
35236 * sysdeps/unix/bsd/confstr.h: File removed.
35237
352382012-10-02 Alexandre Oliva <aoliva@redhat.com>
35239
35240 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35241 sys/sdt-config.h.
35242
352432012-10-02 Roland McGrath <roland@hack.frob.com>
35244
35245 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35246 Make 'mapoff' field ElfW(Off) rather than off_t.
35247
352482012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35249
35250 * nscd/Makefile: Remove nscd-cflags and all its users.
35251 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35252 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35253
35254 [BZ #10631]
35255 * malloc.c (malloc_printerr): Clarify error message.
35256
352572012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35258
35259 [BZ #14648]
35260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35261 Set bit_FMA_Usable if FMA is supported.
35262 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35263 macro.
35264 (bit_FMA4_Usable): Updated.
35265 (index_FMA_Usable): New macro.
35266 (CPUID_FMA): Likewise
35267 (HAS_FMA): Defined with bit_FMA_Usable.
35268
352692012-10-01 Roland McGrath <roland@hack.frob.com>
35270
35271 * bits/types.h (__swblk_t): Type removed.
35272 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35273 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35275 (__SWBLK_T_TYPE): Likewise.
35276 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35277 (__SWBLK_T_TYPE): Likewise.
35278 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35279 (__SWBLK_T_TYPE): Likewise.
35280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35281 (__SWBLK_T_TYPE): Likewise.
35282
352832012-10-01 Patsy Franklin <pfrankli@redhat.com>
35284 Honza Horak <hhorak@redhat.com>
35285
35286 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35287 (xdr_mapname): Use YPMAXMAP as maxsize.
35288 (xdr_peername): Use YPMAXPEER as maxsize.
35289 (xdr_keydat): Use YPAXRECORD as maxsize.
35290 (xdr_valdat): Use YPMAXRECORD as maxsize.
35291
352922012-10-01 Roland McGrath <roland@hack.frob.com>
35293
35294 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35295
35296 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35297 * csu/init-first.c: ... here.
35298 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35299 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35300 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35301 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35302 * sysdeps/i386/init-first.c: File removed.
35303 * sysdeps/sh/init-first.c: File removed.
35304
353052012-10-01 Joseph Myers <joseph@codesourcery.com>
35306
35307 [BZ #14645]
35308 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35309 if x * y might underflow to zero and z is zero.
35310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35312 * math/libm-test.inc (min_subnorm_value): New variable.
35313 (fma_test): Add more tests.
35314 (fma_test_towardzero): Likewise.
35315 (fma_test_downward): Likewise
35316 (fma_test_upward): Likewise.
35317 (initialize): Set min_subnorm_value.
35318
353192012-09-29 Joseph Myers <joseph@codesourcery.com>
35320
35321 [BZ #14638]
35322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35323 0 + 0.
35324 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35325 mode for addition resulting in exact zero.
35326 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35328 exact 0 + 0.
35329 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35331 * math/libm-test.inc (fma_test): Add more tests.
35332 (fma_test_towardzero): New function.
35333 (fma_test_downward): Likewise.
35334 (fma_test_upward): Likewise.
35335 (main): Call the new functions.
35336
353372012-09-28 David S. Miller <davem@davemloft.net>
35338
35339 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35340
353412012-09-28 Roland McGrath <roland@hack.frob.com>
35342
35343 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35344 instead of SIGALRM.
35345
35346 * sysdeps/gnu/_G_config.h: Moved to ...
35347 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35348 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35349 * sysdeps/generic/_G_config.h: ... here.
35350
35351 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35352
35353 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35354
35355 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35356 Conditionalize target on [libnss_test1.so-version].
35357
35358 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35359
35360 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35361 (elfobjdir): Move out of conditionals.
35362
35363 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35364 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35365 (__nss_lookup_function): Conditionalize label remove_from_tree on
35366 [!DO_STATIC_NSS || SHARED], matching its only use.
35367
353682012-09-28 David S. Miller <davem@davemloft.net>
35369
35370 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35371 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35372 file.
35373 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35374 sysdep_routines.
35375 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35377 when HWCAP_SPARC_CRYPTO is present.
35378
353792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35380
35381 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35382
353832012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35384
35385 [BZ #6530]
35386 * stdio-common/vfprintf.c (process_string_arg): Revert
35387 2000-07-22 change.
35388
353892011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35390
35391 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35392 for testcase.
35393 * stdio-common/tst-sprintf.c: Include <locale.h>
35394 (main): Test sprintf's handling of incomplete multibyte
35395 characters.
35396
353972012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35398
35399 * elf/dl-runtime.c (VERSYMIDX): Removed.
35400 * elf/dl-version.c (VERSYMIDX): Likewise.
35401 * elf/do-rel.h (VERSYMIDX): Likewise.
35402 (VALIDX): Likewise.
35403 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35404 * elf/rtld.c (VALIDX): Likewise.
35405 (ADDRIDX): Likewise.
35406 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35407 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35408 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35409 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35410 (VALIDX): Likewise.
35411 (ADDRIDX): Likewise.
35412
354132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35414
35415 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35416
354172012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35418
35419 [BZ #11438]
35420 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35421 to global scope.
35422 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35423 addresses are in the same scope as 192.0.2/24.
35424 * posix/gai.conf: Document new scope table defaults.
35425
354262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35427
35428 [BZ #5298]
35429 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35430 for ftell. Compute offsets from write pointers instead.
35431 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35432
354332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35434
35435 [BZ #14543]
35436 * libio/Makefile (tests): New test case tst-fseek.
35437 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35438 combination works in wide mode.
35439 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35440 state when the external buffer state changes.
35441
354422012-09-27 David S. Miller <davem@davemloft.net>
35443
35444 [BZ #14376]
35445 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35446 pass reloc->r_addend in as the 'high' argument to
35447 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35448
35449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35450
354512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35452
35453 * rt/tst-aio2.c: Include <pthread.h>.
35454 * rt/tst-aio3.c: Likewise.
35455
354562012-09-27 Steve Ellcey <sellcey@mips.com>
35457
35458 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35459
354602012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35461
35462 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35463 contents on [SHARED].
35464
354652012-09-26 Marek Polacek <polacek@redhat.com>
35466
35467 [BZ #14530]
35468 [BZ #13741]
35469 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35470 for C++ and GCC <4.3 as well as for non GCC compilers.
35471
354722012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35473
35474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35475
354762012-09-25 Roland McGrath <roland@hack.frob.com>
35477
35478 * Makefile.in (all, install): Declare with .PHONY.
35479 Reported by Michael Hope <michael.hope@linaro.org>.
35480
354812012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35482
35483 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35484 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35485 system header.
35486 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35487 Likewise.
35488 (sydep_routines): Add the new and the internal functions.
35489 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35490 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35492 (GLIBC_2.17): Add the new function.
35493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35494 (GLIBC_2.17): Likewise.
35495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35496 (GLIBC_2.17): Likewise.
35497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35498 (GLIBC_2.17): Likewise.
35499 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35500
355012012-09-25 Alan Modra <amodra@gmail.com>
35502
35503 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35504 Add release barrier before setting once_control to say
35505 initialisation is done. Add hints on lwarx. Use macro in
35506 place of isync.
35507 (clear_once_control): Add release barrier.
35508
355092012-09-25 Joseph Myers <joseph@codesourcery.com>
35510
35511 [BZ #13629]
35512 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35513 specially.
35514 * math/s_clog10.c (__clog10): Likewise.
35515 * math/s_clog10f.c (__clog10f): Likewise.
35516 * math/s_clog10l.c (__clog10l): Likewise.
35517 * math/s_clogf.c (__clogf): Likewise.
35518 * math/s_clogl.c (__clogl): Likewise.
35519 * math/Makefile (libm-calls): Add x2y2m1.
35520 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35521 (__x2y2m1): Likewise.
35522 (__x2y2m1l): Likewise.
35523 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35524 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35525 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35526 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35527 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35528 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35529 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35530 * sysdeps/i386/fpu/libm-test-ulps: Update.
35531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35532
35533 [BZ #14621]
35534 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35535 int as type of variable DEPTH.
35536 (glob): Use size_t instead of int as type of variables NEWCOUNT
35537 and OLD_PATHC.
35538
355392012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35540
35541 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35542 Add s_sincosf-sse2.
35543 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35544 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35545 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35546 macros for using routine as __sincosf_ia32.
35547 Use macro for function declaration and weak_alias.
35548 * sysdeps/i386/fpu/libm-test-ulps: Update.
35549
35550 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35551 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35552
35553 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35554 subnormal argument.
35555 * math/s_cexpf.c (__cexpf): Likewise.
35556 * math/s_csinf.c (__csinf): Likewise.
35557 * math/s_csinhf.c (__csinhf): Likewise.
35558 * math/s_ctanf.c (__ctanf): Likewise.
35559 * math/s_ctanhf.c (__ctanhf): Likewise.
35560 * math/s_ccosh.c (__ccoshf): Likewise.
35561 * math/s_cexp.c (__cexpl): Likewise.
35562 * math/s_csin.c (__csin): Likewise.
35563 * math/s_csinh.c (__csinh): Likewise.
35564 * math/s_ctan.c (__ctan): Likewise.
35565 * math/s_ctanh.c (ctanh): Likewise.
35566 * math/s_ccoshl.c (__ccoshl): Likewise.
35567 * math/s_cexpl.c (__cexpl): Likewise.
35568 * math/s_csinl.c (__csinl): Likewise.
35569 * math/s_csinhl.c (__csinhl): Likewise.
35570 * math/s_ctanl.c (__ctanl): Likewise.
35571 * math/s_ctanhl.c (__ctanhl): Likewise.
35572
355732012-09-25 Joseph Myers <joseph@codesourcery.com>
35574
35575 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35576 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35577 (_IO_off_t): Define to __off_t, not _G_off_t.
35578 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35579 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35580 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35581 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35582 type of __dummy and __dummy2 fields.
35583 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35584 (_G_ssize_t): Likewise.
35585 (_G_off_t): Likewise.
35586 (_G_pid_t): Likewise.
35587 (_G_uid_t): Likewise.
35588 (_G_wchar_t): Likewise.
35589 (_G_wint_t): Likewise.
35590 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35591 (_G_ssize_t): Likewise.
35592 (_G_off_t): Likewise.
35593 (_G_pid_t): Likewise.
35594 (_G_uid_t): Likewise.
35595 (_G_wchar_t): Likewise.
35596 (_G_wint_t): Likewise.
35597 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35598 (_G_ssize_t): Likewise.
35599 (_G_off_t): Likewise.
35600 (_G_pid_t): Likewise.
35601 (_G_uid_t): Likewise.
35602 (_G_wchar_t): Likewise.
35603 (_G_wint_t): Likewise.
35604
356052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35606
35607 * malloc/arena.c: Include malloc-sysdep.h.
35608 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35609 is sufficient to shrink the heap or an unmap is needed.
35610 * sysdeps/generic/malloc-sysdep.h: New file. Define
35611 new function check_may_shrink_heap.
35612 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35613 new function check_may_shrink_heap.
35614
356152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35616
35617 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35618 comments.
35619
356202012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35621
35622 * catgets/test-gencat.sh: Add "set -e".
35623 * elf/tst-pathopt.sh: Likewise.
35624 * grp/tst_fgetgrent.sh: Likewise.
35625 * iconvdata/run-iconv-test.sh: Likewise.
35626 * intl/tst-gettext.sh: Likewise.
35627 * intl/tst-gettext2.sh: Likewise.
35628 * intl/tst-gettext4.sh: Likewise.
35629 * intl/tst-gettext6.sh: Likewise.
35630 * intl/tst-translit.sh: Likewise.
35631 * io/ftwtest-sh: Likewise.
35632 * libio/test-freopen.sh: Likewise.
35633 * malloc/tst-mtrace.sh: Likewise.
35634 * posix/globtest.sh: Likewise.
35635 * posix/tst-getconf.sh: Likewise.
35636 * posix/wordexp-tst.sh: Likewise.
35637 * stdio-common/tst-printf.sh: Likewise.
35638 * stdio-common/tst-unbputc.sh: Likewise.
35639 * stdlib/tst-fmtmsg.sh: Likewise.
35640 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35641 * catgets/Makefile: Do not specify -e option when running
35642 testsuite shell scripts.
35643 * elf/Makefile: Likewise.
35644 * grp/Makefile: Likewise.
35645 * iconvdata/Makefile: Likewise.
35646 * intl/Makefile: Likewise.
35647 * io/Makefile: Likewise.
35648 * libio/Makefile: Likewise.
35649 * malloc/Makefile: Likewise.
35650 * posix/Makefile: Likewise.
35651 * stdio-common/Makefile: Likewise.
35652 * stdlib/Makefile: Likewise.
35653 * sysdeps/x86_64/Makefile: Likewise.
35654
35655 * io/ftwtest-sh: Add copyright header.
35656 * posix/globtest.sh: Likewise.
35657 * posix/tst-getconf.sh: Likewise.
35658 * posix/wordexp-tst.sh: Likewise.
35659 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35660
356612012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35662
35663 [BZ #13679]
35664 * Makeconfig (+link): Defined as $(+link-static) if
35665 $(build-shared) isn't yes.
35666 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35667 isn't yes.
35668 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35669
35670 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35671
35672 [BZ #14562]
35673 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35674 new chunk size with MALLOC_ALIGN_MASK.
35675
356762012-09-24 Joseph Myers <joseph@codesourcery.com>
35677
35678 [BZ #5044]
35679 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35680 <rounding-mode.h>.
35681 (__printf_fphex): Determine rounding using get_rounding_mode and
35682 round_away.
35683 * stdio-common/tst-printf-round.c (struct hex_test): New
35684 structure.
35685 (hex_tests): New variable.
35686 (test_hex_in_one_mode): New function.
35687 (do_test): Also run tests for hex float output.
35688
356892012-09-21 Joseph Myers <joseph@codesourcery.com>
35690
35691 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35692 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35693 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35694 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35695 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35696 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35697 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35698 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35699
357002012-09-20 Joseph Myers <joseph@codesourcery.com>
35701
35702 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35703 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35704 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35705 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35706
357072012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35708
35709 [BZ #14579]
35710 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35711 mode only.
35712 * elf/tst-rtld-load-self.sh: New test.
35713 * elf/Makefile: Run it.
35714
357152012-09-18 Joseph Myers <joseph@codesourcery.com>
35716
35717 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35718 (tst-writev-ENV): Remove.
35719 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35720
357212012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35722
35723 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35724
357252012-09-17 Joseph Myers <joseph@codesourcery.com>
35726
35727 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35728 unconditional.
35729 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35730 Likewise.
35731 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35732 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35733 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35734 Likewise.
35735
357362012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35737
35738 [BZ #14587]
35739 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35740 * config.make.in (have-cpp-asm-debuginfo): Removed.
35741 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35742 * configure: Regenerated.
35743
357442012-09-14 Joseph Myers <joseph@codesourcery.com>
35745
35746 [BZ #5044]
35747 * stdio-common/printf_fp.c: Include <stdbool.h> and
35748 <rounding-mode.h>.
35749 (___printf_fp): Determine rounding using get_rounding_mode and
35750 round_away.
35751 * stdio-common/tst-printf-round.c: New file.
35752 * stdio-common/Makefile (tests): Add tst-printf-round.
35753 (link-libm): New variable.
35754 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35755
357562012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35757
35758 [BZ #14576]
35759 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35760 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35761 Likewise.
35762 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35763 Likewise.
35764
357652012-09-13 Joseph Myers <joseph@codesourcery.com>
35766
35767 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35768 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35769 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35770 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35771
357722012-09-12 Joseph Myers <joseph@codesourcery.com>
35773
35774 [BZ #14518]
35775 * include/rounding-mode.h: New file.
35776 * sysdeps/generic/get-rounding-mode.h: Likewise.
35777 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35778 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35779 (MAX_VALUE): New macro.
35780 (MIN_VALUE): Likewise.
35781 (overflow_value): New function.
35782 (underflow_value): Likewise.
35783 (round_and_return): Use overflow_value and underflow_value to
35784 determine return values in overflow and underflow cases. Use
35785 round_away to determine rounding depending on rounding mode.
35786 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35787 determine return values in overflow and underflow cases.
35788 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35789 (struct test_results): New structure.
35790 (struct test): Use struct test_results to store expected results
35791 for all rounding modes.
35792 (TEST): Include expected results for all rounding modes.
35793 (test_in_one_mode): New function.
35794 (do_test): Use test_in_one_mode to compute and check results.
35795 Check results for all rounding modes.
35796 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35797 $(link-libm).
35798
357992012-12-09 Allan McRae <allan@archlinux.org>
35800
35801 * sysdeps/i386/fpu/libm-test-ulps: Update
35802
358032012-09-11 Joseph Myers <joseph@codesourcery.com>
35804
35805 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35806 (_G_int32_t): Likewise.
35807 (_G_uint16_t): Likewise.
35808 (_G_uint32_t): Likewise.
35809 (_G_HAVE_BOOL): Likewise.
35810 (_G_HAVE_ATEXIT): Likewise.
35811 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35812 (_G_HAVE_IO_FILE_OPEN): Likewise.
35813 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35814 (_G_int32_t): Likewise.
35815 (_G_uint16_t): Likewise.
35816 (_G_uint32_t): Likewise.
35817 (_G_HAVE_BOOL): Likewise.
35818 (_G_HAVE_ATEXIT): Likewise.
35819 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35820 (_G_HAVE_IO_FILE_OPEN): Likewise.
35821 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35822 (_G_int32_t): Likewise.
35823 (_G_uint16_t): Likewise.
35824 (_G_uint32_t): Likewise.
35825 (_G_HAVE_BOOL): Likewise.
35826 (_G_HAVE_ATEXIT): Likewise.
35827 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35828 (_G_HAVE_IO_FILE_OPEN): Likewise.
35829
358302012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35831
35832 * csu/libc-tls.c: Update copyright years.
35833
358342012-09-10 Joseph Myers <joseph@codesourcery.com>
35835
35836 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35837 [!_G_USING_THUNKS]: Remove conditional code.
35838 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35839 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35840
35841 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35842 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35843 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35844 (_G_VTABLE_LABEL_PREFIX): Likewise.
35845 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35846 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35847 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35848 (_G_VTABLE_LABEL_PREFIX): Likewise.
35849 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35850 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35851 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35852 (_G_VTABLE_LABEL_PREFIX): Likewise.
35853 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35854
358552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35856
35857 * libio/Makefile: Include ../Makeconfig before tests.
35858 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35859 only if $(build-shared) is yes.
35860
35861 * iconv/gconv_db.c: Update copyright years.
35862
358632012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35864
35865 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35866 unwind info if defined PIC. Fix special cases description.
35867 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35868
35869 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35870 DP_HI_MASK entry.
35871 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35872
358732012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35874
35875 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35876
35877 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35878 is NULL.
35879
35880 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35881 (LDLIBS-tst-chk4): This.
35882 (LDFLAGS-tst-chk5): Renamed to ...
35883 (LDLIBS-tst-chk5): This.
35884 (LDFLAGS-tst-chk6): Renamed to ...
35885 (LDLIBS-tst-chk6): This.
35886 (LDFLAGS-tst-lfschk4): Renamed to ...
35887 (LDLIBS-tst-lfschk4): This.
35888 (LDFLAGS-tst-lfschk5): Renamed to ...
35889 (LDLIBS-tst-lfschk5): This.
35890 (LDFLAGS-tst-lfschk6): Renamed to ...
35891 (LDLIBS-tst-lfschk6): This.
35892
35893 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35894 on $(common-objpfx)soversions.mk.
35895
358962012-09-07 Joseph Myers <joseph@codesourcery.com>
35897
35898 [BZ #10014]
35899 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35900 example host name.
35901
359022012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35903
35904 * malloc/arena.c (arena_get_retry): New function that gets
35905 another arena for the caller to try its request on.
35906 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35907 current arena cannot fulfill the request.
35908 (__libc_memalign): Likewise.
35909 (__libc_memalign): Likewise.
35910 (__libc_pvalloc): Likewise.
35911 (__libc_calloc): Likewise.
35912
359132012-09-05 John Tobey <john.tobey@gmail.com>
35914
35915 [BZ #13542]
35916 * manual/arith.texi (Operations on Complex): Fix description
35917 of carg branch cut.
35918
359192012-09-06 Joseph Myers <joseph@codesourcery.com>
35920
35921 [BZ #10014]
35922 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35923 host name.
35924
35925 [BZ #10038]
35926 * manual/memory.texi (Memory): Make order of menu items match
35927 order of sections.
35928
359292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35930
35931 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35932 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35933 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35934
359352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35936
35937 * csu/libc-tls.c (static_dtv): Renamed to ...
35938 (_dl_static_dtv): This. Make it global.
35939 (_dl_initial_dtv): Removed.
35940 (__libc_setup_tls): Updated.
35941 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35942 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35943 DL_INITIAL_DTV.
35944
359452012-09-06 Petr Machata <pmachata@redhat.com>
35946
35947 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35948 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35949 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35950 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35951
359522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35953
35954 [BZ #14545]
35955 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35956 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35957 freeing dtv[-1].
35958
359592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35960
35961 [BZ #14544]
35962 * Makeconfig (link-static-before-libc): Replace $(+prector)
35963 with $(+prectorT).
35964 (link-static-after-libc): Replace $(+postctor) with
35965 $(+postctorT).
35966 (link-bounded): Replace $(+prector)/$(+postctor) with
35967 $(+prectorT)/$(+postctorT).
35968 (+prectorT): New macro.
35969 (+postctorT): Likewise.
35970
359712012-09-06 Joseph Myers <joseph@codesourcery.com>
35972
35973 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35974 (round_str): Handle values above the maximum for IBM long double
35975 as inexact.
35976 * stdlib/tst-strtod-round.c (tests): Regenerated.
35977
359782012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35979
35980 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35981 assembler flag.
35982 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35983 zarch_nohighgprs around the zarch optimized routines.
35984 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35985 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35987 for zarch.
35988
359892012-09-05 David S. Miller <davem@davemloft.net>
35990
35991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35992
35993 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35994 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35995 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35996 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35997 entries.
35998
359992012-09-05 Alexandre Oliva <aoliva@redhat.com>
36000
36001 * malloc/arena.c: Fold copyright years.
36002 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36003
360042012-09-05 Alexandre Oliva <aoliva@redhat.com>
36005
36006 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36007
360082012-09-05 Alexandre Oliva <aoliva@redhat.com>
36009
36010 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36011
360122012-09-05 Alexandre Oliva <aoliva@redhat.com>
36013
36014 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36015 change internal state upon failure.
36016
360172012-09-05 Alexandre Oliva <aoliva@redhat.com>
36018
36019 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36020 * malloc/memusage.c (mmap): Likewise.
36021 (mmap64, mremap): Likewise. Adjust name in comment.
36022
360232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36024
36025 * libio/fileops.c: Fix typos in comments.
36026 * libio/oldfileops.c: Likewise.
36027 * libio/wfileops.c: Likewise.
36028
360292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36030
36031 [BZ #1349]
36032 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36033 (tst-malloc-usable-ENV): Set environment for test case.
36034 * malloc/hooks.c (malloc_check_get_size): New function to get
36035 requested size.
36036 * malloc/malloc.c (musable): Use malloc_check_get_size.
36037 * malloc/tst-malloc-usable.c: New test case.
36038
360392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36040
36041 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36042
360432012-09-05 Allan McRae <allan@archlinux.org>
36044
36045 [BZ #13966]
36046 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36047 determine header location.
36048 * configure: Regenerated.
36049
360502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36051
36052 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36053 float format.
36054 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36055 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36056 format.
36057 (test): Regenerate.
36058
360592012-09-04 David S. Miller <davem@davemloft.net>
36060
36061 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36062 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36063 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36064
360652012-09-04 Florian Weimer <fweimer@redhat.com>
36066
36067 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36068 failures.
36069
36070 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36071
360722012-09-04 Joseph Myers <joseph@codesourcery.com>
36073
36074 [BZ #9914]
36075 * libio/iogetdelim.c: Include <limits.h>.
36076 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36077 + len + 1 would overflow.
36078
360792012-09-03 Andreas Jaeger <aj@suse.de>
36080
36081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36082 * sysdeps/i386/fpu/libm-test-ulps: Update.
36083
360842012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36085
36086 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36087 Add s_sinf-sse2, s_conf-sse2.
36088
36089 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36090 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36091 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36092 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36093
36094 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36095 for using routine as __sinf_ia32.
36096 Use macro for function declaration and weak_alias.
36097 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36098 for using routine as __cosf_ia32.
36099 Use macro for function declaration and weak_alias.
36100
36101 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36102 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36103
36104 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36105 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36107
36108 * math/libm-test.inc (cos_test): Add more test cases.
36109 (sin_test): Likewise.
36110 (sincos_test): Likewise.
36111
361122012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36113
36114 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36115 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36116 hidden.
36117 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36118
361192012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36120
36121 [BZ #14538]
36122 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36123 first element of the GOT.
36124 (elf_machine_load_address): Return the difference between
36125 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36126
361272012-09-01 Allan McRae <allan@archlinux.org>
36128
36129 [BZ #13412]
36130 * configure.in (AWK): Require gawk version 3.0 or later.
36131 * configure: Regenerated.
36132
361332012-09-01 Joseph Myers <joseph@codesourcery.com>
36134
36135 * sysdeps/unix/sysv/linux/kernel-features.h
36136 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36137 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36138 [__NR_clock_getres]: Make code unconditional.
36139 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36140 (clock_getcpuclockid): Remove code left unreachable by removal of
36141 conditionals.
36142 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36143 code unconditional.
36144 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36145 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36146 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36147 Make code unconditional.
36148 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36150 * sysdeps/unix/sysv/linux/clock_settime.c
36151 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36152 conditional code.
36153 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36154 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36155
361562012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36157
36158 [BZ #14476]
36159 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36160 scripts/test-installation.pl.
36161
36162 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36163 and $ld_so_version if it is set.
36164
361652012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36166
36167 [BZ #14516]
36168 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36169 failure if reading from procfs failed.
36170 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36171
361722012-08-27 Joseph Myers <joseph@codesourcery.com>
36173
36174 * sysdeps/unix/sysv/linux/kernel-features.h
36175 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36176 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36177 Remove conditional code.
36178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36179 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36180 Remove conditional code.
36181 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36182 * sysdeps/unix/sysv/linux/i386/fxstat.c
36183 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36185 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36186 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36187 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36188 * sysdeps/unix/sysv/linux/i386/lxstat.c
36189 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36190 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36191 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36192 Remove conditional code.
36193 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36194 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36195 Remove conditional code.
36196 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36197 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36198 <kernel-features.h>.
36199 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36200 Remove.
36201 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36202 Remove conditional code.
36203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36204 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36205 Remove conditional.
36206
362072012-08-27 Mike Frysinger <vapier@gentoo.org>
36208
36209 [BZ #5400]
36210 * NEWS: Add fixed bug number.
36211
362122012-08-27 Joseph Myers <joseph@codesourcery.com>
36213
36214 [BZ #14519]
36215 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36216 underflowing exponent in case of negative sign.
36217 * stdlib/tst-strtod-round-data: Add more tests.
36218 * stdlib/tst-strtod-round.c (tests): Regenerated.
36219
36220 [BZ #3479]
36221 * stdlib/strtod_l.c (NDIG): Remove.
36222 (HEXNDIG): Likewise.
36223 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36224 smallest representable value.
36225 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36226 lie within an exact representation of 1/2 ulp of the result.
36227 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36228 unconditionally.
36229 (TENS_P9_IDX): Define unconditionally.
36230 (TENS_P9_SIZE): Likewise.
36231 (TENS_P10_IDX): Likewise.
36232 (TENS_P10_SIZE): Likewise.
36233 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36234 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36235 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36236 entries for 10^2^13 and 10^2^14.
36237 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36238 (TENS_P13_IDX): Define.
36239 (TENS_P13_SIZE): Likewise.
36240 (TENS_P14_IDX): Likewise.
36241 (TENS_P14_SIZE): Likewise.
36242 (_fpioconst_pow10): Change array size to
36243 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36244 unconditional.
36245 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36246 1024]: Add entries for 10^2^13 and 10^2^14.
36247 [LAST_POW10 > _LAST_POW10]: Remove #error.
36248 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36249 (_fpioconst_pow10): Change array size to
36250 FPIOCONST_POW10_ARRAY_SIZE.
36251 * stdlib/gen-fpioconst.c: New file.
36252 * stdlib/gen-tst-strtod-round.c: Likewise.
36253 * stdlib/tst-strtod-round-data: Likewise.
36254 * stdlib/tst-strtod-round.c: Likewise.
36255 * stdlib/Makefile (tests): Add tst-strtod-round.
36256
36257 [BZ #14459]
36258 * stdlib/strtod_l.c: Include <stdint.h>.
36259 (NDEBUG): Do not define.
36260 (round_and_return): Change EXPONENT parameter to type intmax_t.
36261 Rearrange calculations to avoid internal overflow possibilities.
36262 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36263 Rearrange calculations to avoid internal overflow possibilities.
36264 Assert that number fits inside MPNSIZE limbs.
36265 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36266 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36267 calculations and add assertions to avoid internal overflow
36268 possibilities. Add casts to avoid signed/unsigned operations.
36269 * stdlib/tst-strtod-overflow.c: New file.
36270 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36271
362722012-08-25 Marek Polacek <polacek@redhat.com>
36273
36274 * time/time.h: Fix some typos in comments.
36275
362762012-08-23 Roland McGrath <roland@hack.frob.com>
36277
36278 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36279 * posix/tst-rfc3484-2.c: Likewise.
36280 * posix/tst-rfc3484-3.c: Likewise.
36281
362822012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36283
36284 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36285 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36286
362872012-08-23 Joseph Myers <joseph@codesourcery.com>
36288
36289 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36290 #include of fxstatat64.c.
36291
362922012-08-22 Roland McGrath <roland@hack.frob.com>
36293
36294 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36295 * shadow/getspent_r.c: Likewise.
36296 * shadow/getspnam.c: Likewise.
36297 * shadow/getspnam_r.c: Likewise.
36298 * gshadow/getsgent.c: Likewise.
36299 * gshadow/getsgent_r.c: Likewise.
36300 * gshadow/getsgnam.c: Likewise.
36301 * gshadow/getsgnam_r.c: Likewise.
36302 * inet/getnetbyad.c: Likewise.
36303 * inet/getnetbyad_r.c: Likewise.
36304 * inet/getnetbynm.c: Likewise.
36305 * inet/getnetbynm_r.c: Likewise.
36306 * inet/getnetent.c: Likewise.
36307 * inet/getnetent_r.c: Likewise.
36308 * inet/getproto.c: Likewise.
36309 * inet/getproto_r.c: Likewise.
36310 * inet/getprtent.c: Likewise.
36311 * inet/getprtent_r.c: Likewise.
36312 * inet/getprtname.c: Likewise.
36313 * inet/getprtname_r.c: Likewise.
36314 * inet/getrpcbyname.c: Likewise.
36315 * inet/getrpcbyname_r.c: Likewise.
36316 * inet/getrpcbynumber.c: Likewise.
36317 * inet/getrpcbynumber_r.c: Likewise.
36318 * inet/getrpcent.c: Likewise.
36319 * inet/getrpcent_r.c: Likewise.
36320 * inet/getaliasent.c: Likewise.
36321 * inet/getaliasent_r.c: Likewise.
36322 * inet/getaliasname.c: Likewise.
36323 * inet/getaliasname_r.c: Likewise.
36324 * nscd/getgrgid_r.c: Likewise.
36325 * nscd/getgrnam_r.c: Likewise.
36326 * nscd/gethstbyad_r.c: Likewise.
36327 * nscd/gethstbynm3_r.c: Likewise.
36328 * nscd/getpwnam_r.c: Likewise.
36329 * nscd/getpwuid_r.c: Likewise.
36330 * nscd/getsrvbynm_r.c: Likewise.
36331 * nscd/getsrvbypt_r.c: Likewise.
36332 * nscd/gai.c: Likewise.
36333
36334 * configure.in (build_nscd): New substituted variable, set
36335 by --disable-build-nscd and defaults to $use_nscd.
36336 * configure: Regenerated.
36337 * config.make.in (build-nscd): New substituted variable.
36338 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36339 Change conditional to require [$(build-nscd) = yes] as well.
36340 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36341
36342 [BZ# 13696]
36343 * configure.in (use_nscd): New substituted variable, set by
36344 --disable-nscd. If enabled, define USE_NSCD.
36345 * configure: Regenerated.
36346 * config.h.in: Add USE_NSCD.
36347 * config.make.in (use-nscd): New substituted variable.
36348 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36349 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36350 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36351 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36352 (CFLAGS-getgrnam_r.c): Likewise.
36353 (CFLAGS-initgroups.c): Likewise.
36354 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36355 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36356 Variables removed.
36357 * inet/getnetgrent_r.c
36358 (nscd_setnetgrent): New function, broken out of ...
36359 (setnetgrent): ... here. Call it.
36360 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36361 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36362 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36363 * nscd/Makefile (routines, aux): Move definitions after include of
36364 Makeconfig. Conditionalize on [$(use-nscd) != no].
36365 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36366 Conditionalize on [USE_NSCD].
36367 (is_nscd, nscd_init_cb): Likewise.
36368 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36369 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36370 * nss/nss_db/db-init.c: Likewise.
36371 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36372 [USE_NSCD].
36373 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36374 (make_request): Use it.
36375 (cache_valid_p): New function.
36376 (__check_pf): Use it.
36377 * NEWS: Add item for --disable-nscd.
36378
363792012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36380
36381 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36382 to support sed >= 4.2.1-20-ga9bf076.
36383 * configure: Regenerated.
36384
363852012-08-22 Roland McGrath <roland@hack.frob.com>
36386
36387 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36388 Conditionalize whole body on [IREL].
36389
363902012-08-22 Jeff Law <law@redhat.com>
36391
36392 [BZ #14505]
36393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36394 if the family is PF_UNSPEC.
36395
363962012-08-22 Mike Frysinger <vapier@gentoo.org>
36397
36398 * Makerules (lib-version): Rename from V.
36399 (install-lib-nosubdir): Change V to lib-version.
36400
364012012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36402
36403 [BZ #14252]
36404 * powerpc32/power6/wcschr.c: New file.
36405 * powerpc32/power6/wcscpy.c: New file.
36406 * powerpc32/power6/wcsrchr.c: New file.
36407 * powerpc64/power6/wcschr.c: New file.
36408 * powerpc64/power6/wcscpy.c: New file.
36409 * powerpc64/power6/wcsrchr.c: New file.
36410
364112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36412
36413 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36414 (two_way_short_needle): Use it.
36415 * string/strstr.c (AVAILABLE1_USES_J): Define.
36416 * string/strcasestr.c: Likewise.
36417
36418 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36419 array references.
36420 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36421
36422 [BZ #11607]
36423 * NEWS: Add an entry.
36424 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36425 define their defaults.
36426 (two_way_short_needle): Detect end-of-string on-the-fly.
36427 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36428 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36429 * string/bug-strcasestr1.c: New test.
36430 * string/Makefile: Run it.
36431
364322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36433
36434 [BZ #11607]
36435 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36436 the first character.
36437
364382012-08-21 Roland McGrath <roland@hack.frob.com>
36439
36440 * csu/elf-init.c (__libc_csu_irel): Function removed.
36441 * csu/libc-start.c (apply_irel): New function.
36442 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36443
364442012-08-21 Joseph Myers <joseph@codesourcery.com>
36445
36446 * sysdeps/unix/sysv/linux/kernel-features.h
36447 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36448 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36449 <kernel-features.h>.
36450 [__NR_fadvise64_64]: Make code unconditional.
36451 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36452 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36453 !__NR_fadvise64_64)]: Likewise.
36454 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36455 !__NR_fadvise64_64))]: Likewise.
36456 [__NR_fadvise64]: Make code unconditional.
36457 [!__NR_fadvise64]: Remove conditional code.
36458 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36459 <kernel-features.h>.
36460 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36461 unconditional.
36462 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36463 conditional code.
36464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36465 not include <kernel-features.h>.
36466 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36467 unconditional.
36468 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36469 conditional code.
36470 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36471 include <kernel-features.h>.
36472 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36473 unconditional.
36474 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36475 conditional code.
36476
364772012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36478
36479 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36480 slight instruction rearrangements per scrollpipe analysis.
36481 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36482
364832012-08-20 Roland McGrath <roland@hack.frob.com>
36484
36485 * manual/syslog.texi (syslog; vsyslog, closelog):
36486 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36487 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36488
36489 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36490 DSOCAPS to match condition on defining it.
36491
364922012-08-20 Joseph Myers <joseph@codesourcery.com>
36493
36494 * sysdeps/unix/sysv/linux/kernel-features.h
36495 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36497 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36498 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36500 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36501 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36503 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36504 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36505
36506 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36507 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36508
36509 * sysdeps/unix/sysv/linux/kernel-features.h
36510 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36511 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36512 unconditional.
36513 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36514 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36515 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36516 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36517 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36518 Make code unconditional.
36519 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36520 (__mmap64) [!__NR_mmap2]: Likewise.
36521 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36522 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36523 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36524 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36525 [__NR_mmap2]: Make code unconditional.
36526 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36527 (__mmap64) [!__NR_mmap2]: Likewise.
36528
365292012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36530
36531 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36532
365332012-08-18 Andreas Jaeger <aj@suse.de>
36534
36535 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36536
365372012-08-18 Mike Frysinger <vapier@gentoo.org>
36538
36539 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36540 * include/unistd.h (__have_sock_cloexec): Likewise.
36541 (__have_pipe2): Likewise.
36542 (__have_dup3): Likewise.
36543
365442012-08-18 Mike Frysinger <vapier@gentoo.org>
36545
36546 [BZ #9685]
36547 * include/unistd.h (__have_pipe2): Change define into an extern int.
36548 (__have_dup3): Likewise.
36549 * socket/have_sock_cloexec.c: Include fcntl.h.
36550 (__have_pipe2): New variable.
36551 (__have_dup3): Likewise.
36552
365532012-08-17 Mike Frysinger <vapier@gentoo.org>
36554
36555 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36556
365572012-08-17 Marek Polacek <polacek@redhat.com>
36558
36559 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36560 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36561
365622012-08-17 Roland McGrath <roland@hack.frob.com>
36563
36564 * configure.in: Add AC_SUBST for sysheaders.
36565 * configure: Regenerated.
36566 * config.make.in (sysheaders): New substituted variable.
36567
36568 * sysdeps/unix/mkfifo.c: Moved ...
36569 * sysdeps/posix/mkfifo.c: ... here.
36570 * sysdeps/unix/mkfifoat.c: Moved ...
36571 * sysdeps/posix/mkfifoat.c: ... here.
36572
36573 * sysdeps/unix/utime.c: Moved ...
36574 * sysdeps/posix/utime.c: ... here.
36575
36576 * sysdeps/unix/time.c: Moved ...
36577 * sysdeps/posix/time.c: ... here.
36578 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36579 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36580
36581 * sysdeps/unix/nice.c: Moved ...
36582 * sysdeps/posix/nice.c: ... here.
36583
36584 * sysdeps/unix/alarm.c: Moved ...
36585 * sysdeps/posix/alarm.c: ... here.
36586
36587 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36588
365892012-08-17 Jeff Law <law@redhat.com>
36590
36591 * intl/Makefile (codeset_mo): New variable.
36592 ($(codeset_mo)): New target.
36593 (tst-codeset.out): Depend on that. Remove explicit rule.
36594 (tst-gettext3.out, tst-gettext5.out): Likewise.
36595 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36596 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36597 * intl/tst-codeset.sh: Remove.
36598 * intl/tst-gettext3.sh: Likewise.
36599 * intl/tst-gettext5.sh: Likewise.
36600
366012012-08-17 Roland McGrath <roland@hack.frob.com>
36602
36603 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36604 * sysdeps/unix/syscalls.list: ... here.
36605
36606 * sysdeps/posix/getaddrinfo.c
36607 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36608 (gaiconf_init, gaiconf_reload): Use them.
36609 [!_STATBUF_ST_NSEC]
36610 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36611 Define using time_t rather than struct timespec.
36612
36613 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36614 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36615 Macros removed.
36616 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36617 [!NO_THREADS].
36618 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36619 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36620 Likewise.
36621
36622 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36623 __libc_cleanup_push argument.
36624
36625 * bits/param.h: New file.
36626 * misc/sys/param.h: New file.
36627 * include/sys/param.h: New file.
36628 * misc/Makefile (headers): Add bits/param.h.
36629 * sysdeps/generic/sys/param.h: File removed.
36630 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36631 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36632 * sysdeps/mach/hurd/bits/param.h: New file.
36633 * sysdeps/mach/hurd/sys/param.h: File removed.
36634
36635 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36636 last change.
36637
36638 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36639 [_IO_MTSAFE_IO].
36640 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36641 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36642 New macros.
36643
36644 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36645 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36646 rather than -D_IO_MTSAFE_IO conditionally.
36647 * stdio-common/Makefile (CPPFLAGS): Likewise.
36648 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36649 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36650 Use $(libio-mtsafe).
36651 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36652 of -D_IO_MTSAFE_IO.
36653 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36654 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36655 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36656 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36657 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36658 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36659 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36660 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36661 (CFLAGS-fread_u_chk.c): Likewise.
36662 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36663 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36664 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36665 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36666 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36667 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36668 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36669 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36670 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36671
36672 * libio/Makefile: Test [$(libc-reentrant) = yes]
36673 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36674
36675 * Makeconfig
36676 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36677 * sysdeps/pthread/configure: File removed.
36678 * sysdeps/pthread/Makeconfig: New file.
36679 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36680 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36681
366822012-08-16 Gary Benson <gbenson@redhat.com>
36683
36684 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36685 unmapping the first object in a namespace.
36686
366872012-08-16 Roland McGrath <roland@hack.frob.com>
36688
36689 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36690 (__internal_setnetgrent): ... this. Add internal_function to
36691 definition. Add libc_hidden_def.
36692 (setnetgrent): Update caller.
36693 (internal_endnetgrent): Renamed to ...
36694 (__internal_endnetgrent): ... this. Add internal_function to
36695 definition. Add libc_hidden_def.
36696 (endnetgrent): Update caller.
36697 (internal_getnetgrent_r): Renamed to ...
36698 (__internal_getnetgrent_r): ... this. Add internal_function to
36699 definition. Add libc_hidden_def.
36700 (__getnetgrent_r): Update caller.
36701 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36702
367032012-08-16 Joseph Myers <joseph@codesourcery.com>
36704
36705 * stdlib/longlong.h: Update from GCC.
36706
367072012-08-16 Roland McGrath <roland@hack.frob.com>
36708
36709 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36710 on _QL, which is set by umul_ppmm but never used.
36711 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36712 variables, which are set by GMP macros but never used.
36713 * stdio-common/_itowa.c (_itowa): Likewise.
36714 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36715 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36716
367172012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36718
36719 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36720 struct La_sh_regs is not constant.
36721 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36722 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36723 and struct La_sparc64_regs are not constant.
36724
367252012-08-16 Joseph Myers <joseph@codesourcery.com>
36726
36727 * sysdeps/unix/sysv/linux/kernel-features.h
36728 (__ASSUME_POSIX_TIMERS): Remove.
36729 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36730 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36731 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36732 Make code unconditional.
36733 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36734 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36735 Make code unconditional.
36736 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36737 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36738 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36739 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36740 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36741 Make code unconditional.
36742 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36743 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36744 (__libc_missing_posix_timers): Remove.
36745
367462012-08-15 Roland McGrath <roland@hack.frob.com>
36747
36748 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36749 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36750
36751 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36752
36753 * elf/dl-sym.c: Include <stdlib.h>.
36754
36755 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36756 constants, which avoids warnings in 32-bit builds.
36757
36758 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36759 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36760
36761 * misc/lseek.c: File moved to ...
36762 * io/lseek.c: ... here.
36763
36764 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36765
36766 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36767 shifting LEN more than 31 bits at once.
36768
367692012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36770
36771 [BZ #14195]
36772 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36773 segmentation fault for a case of two empty input strings.
36774 * string/test-strncasecmp.c (check1): Renamed to...
36775 (bz12205): ...this.
36776 (bz14195): Add new testcase for two empty input strings and N > 0.
36777 (test_main): Call new testcase, adapt for renamed function.
36778
367792012-08-15 Andreas Jaeger <aj@suse.de>
36780
36781 [BZ #14090]
36782 * crypt/md5test2.c: New test, based on test supplied by Serge
36783 Belyshev <belyshev@depni.sinp.msu.ru>.
36784 * crypt/Makefile (xtests): Add md5test-giant..
36785 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36786
367872012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36788
36789 [BZ #14090]
36790 * crypt/md5.c (md5_process_block): Don't assume the buffer
36791 length is less than 2**32.
36792 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36793 length is less than 2**64.
36794
367952012-08-15 Roland McGrath <roland@hack.frob.com>
36796
36797 * string/str-two-way.h: Include <sys/param.h>.
36798 (MAX): Macro removed.
36799
36800 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36801 Move #define and #undef of memmove to just before and after
36802 including <string.h>.
36803
36804 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36805 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36806 and after including <string.h>. Move declarations of
36807 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36808 to before #include "string/memmove.c".
36809
36810 * include/dirent.h: Declare __getdirentries.
36811
36812 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36813 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36814
368152012-08-14 Mike Frysinger <vapier@gentoo.org>
36816
36817 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36818 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36819 * sysdeps/i386/configure: Regenerated.
36820 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36821 STABS_CURRENT_FILE, and STABS_FUN.
36822 (END): Remove call to STABS_FUN_END.
36823 (STABS_CURRENT_FILE1): Delete.
36824 (STABS_CURRENT_FILE): Likewise.
36825 (STABS_FUN): Likewise.
36826 (STABS_FUN_END): Likewise.
36827 (STABS_FUN2): Likewise.
36828 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36829 * sysdeps/x86_64/configure: Regenerated.
36830
368312012-08-14 Roland McGrath <roland@hack.frob.com>
36832
36833 * elf/dl-open.c: Include <atomic.h>.
36834 * elf/dl-lookup.c: Likewise.
36835
368362012-08-14 Joseph Myers <joseph@codesourcery.com>
36837
36838 * sysdeps/unix/sysv/linux/kernel-features.h
36839 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36840 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36841 unconditionally.
36842 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36843 unconditionally.
36844 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36845 condition on __ASSUME_CLONE_THREAD_FLAGS.
36846
368472012-08-14 Andreas Jaeger <aj@suse.de>
36848
36849 * sysdeps/i386/fpu/libm-test-ulps: Update.
36850
368512012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36852
36853 * include/atomic.h (atomic_exchange_and_add): Split into ...
36854 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36855 New atomic macros.
36856
368572012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36858
36859 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36860
368612012-08-13 Jeff Law <law@redhat.com>
36862
36863 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36864 null byte in the output string.
36865
368662012-08-10 Joseph Myers <joseph@codesourcery.com>
36867
36868 * sysdeps/unix/sysv/linux/kernel-features.h
36869 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36870 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36871 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36872 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36873 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36874 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36875 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36876
368772012-08-09 Jeff Law <law@redhat.com>
36878
36879 [BZ #13939]
36880 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36881 When avoid_arena is set, don't retry in the that arena. Pick the
36882 next one, whatever it might be.
36883 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36884 (arena_lock): Pass in new parameter to arena_get2.
36885 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36886 arena_get2.
36887 (__libc_malloc): Unify retrying after main arena failure with
36888 __libc_memalign version.
36889 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36890
368912012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36892
36893 [BZ #14166]
36894 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36895 to __redirect_strstr.
36896 (__strstr_sse42): Use typeof __redirect_strstr.
36897 (__strstr_ia32): Likewise.
36898 (__libc_strstr): New prototype.
36899 (strstr): Renamed to ...
36900 (__libc_strstr): This.
36901 (strstr): New strong alias of __libc_strstr.
36902 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36903 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36904 __redirect_time.
36905 Include <time.h>.
36906 (__libc_time): New prototype.
36907 (time_ifunc): Replace time with __libc_time.
36908 (time): New strong alias and hidden definition of __libc_time.
36909 (__GI_time): Remove strong alias.
36910 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36911 Include <stddef.h>.
36912 (memmove): Redefined to __redirect_memmove.
36913 (__memmove_sse2): Use typeof __redirect_memmove.
36914 (__memmove_ssse3): Likewise.
36915 (__memmove_ssse3_back): Likewise.
36916 (__libc_memmove): New prototype.
36917 (memmove): Renamed to ...
36918 (__libc_memmove): This.
36919 (memmove): New strong alias of __libc_memmove.
36920
369212012-08-08 Mark Salter <msalter@redhat.com>
36922
36923 * elf/elf.h
36924 (R_MN10300_TLS_GD): Define.
36925 (R_MN10300_TLS_LD): Likewise.
36926 (R_MN10300_TLS_LDO): Likewise.
36927 (R_MN10300_TLS_GOTIE): Likewise.
36928 (R_MN10300_TLS_IE): Likewise.
36929 (R_MN10300_TLS_LE): Likewise.
36930 (R_MN10300_TLS_DTPMOD): Likewise.
36931 (R_MN10300_TLS_DTPOFF): Likewise.
36932 (R_MN10300_TLS_TPOFF): Likewise.
36933 (R_MN10300_SYM_DIFF): Likewise.
36934 (R_MN10300_ALIGN): Likewise.
36935 (R_MN10300_NUM): Update.
36936
369372012-08-08 Joseph Myers <joseph@codesourcery.com>
36938
36939 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36940 Remove.
36941
369422012-08-08 Roland McGrath <roland@hack.frob.com>
36943
36944 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36945
36946 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36947 sysdeps/unix -> sysdeps/posix move.
36948 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36949
369502012-08-07 Allan McRae <allan@archlinux.org>
36951
36952 [BZ #14303]
36953 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36954 (SUNOS_CPP): Likewise.
36955 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36956 not found.
36957 (open_input): Call CPP using execvp.
36958
369592012-08-07 Joseph Myers <joseph@codesourcery.com>
36960
36961 * sysdeps/unix/sysv/linux/kernel-features.h
36962 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36963 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36964 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36965 (__ASSUME_WAITID_SYSCALL): Likewise.
36966 * sysdeps/unix/sysv/linux/dl-execstack.c
36967 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36968 code unconditional.
36969 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36970 conditional code.
36971 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36972 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36973 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36974 code.
36975 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36976 unconditional.
36977 [__ASSUME_WAITID_SYSCALL]: Likewise.
36978 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36979
369802012-08-07 Roland McGrath <roland@hack.frob.com>
36981
36982 * sysdeps/unix/closedir.c: Renamed to ...
36983 * sysdeps/posix/closedir.c: ... here.
36984 * sysdeps/unix/dirfd.c: Renamed to ...
36985 * sysdeps/posix/dirfd.c: ... here.
36986 * sysdeps/unix/dirstream.h: Renamed to ...
36987 * sysdeps/posix/dirstream.h: ... here.
36988 * sysdeps/unix/fdopendir.c: Renamed to ...
36989 * sysdeps/posix/fdopendir.c: ... here.
36990 * sysdeps/unix/opendir.c: Renamed to ...
36991 * sysdeps/posix/opendir.c: ... here.
36992 * sysdeps/unix/readdir.c: Renamed to ...
36993 * sysdeps/posix/readdir.c: ... here.
36994 * sysdeps/unix/readdir_r.c: Renamed to ...
36995 * sysdeps/posix/readdir_r.c: ... here.
36996 * sysdeps/unix/rewinddir.c: Renamed to ...
36997 * sysdeps/posix/rewinddir.c: ... here.
36998 * sysdeps/unix/seekdir.c: Renamed to ...
36999 * sysdeps/posix/seekdir.c: ... here.
37000 * sysdeps/unix/telldir.c: Renamed to ...
37001 * sysdeps/posix/telldir.c: ... here.
37002 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37003 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37004 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37005 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37006
37007 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37008 * bits/fcntl.h: ... here.
37009
37010 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37011 not 0.
37012 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37013 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37014 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37015 (struct flock): Move l_start, l_len to the beginning.
37016 Use __pid_t for l_pid.
37017 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37018 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37019 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37020 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37021 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37022 [__USE_LARGEFILE64] (struct flock64): New type.
37023 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37024
37025 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37026 * bits/dirent.h: ... here.
37027
37028 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37029 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37030
370312012-08-07 Joseph Myers <joseph@codesourcery.com>
37032
37033 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37034 Change from 2.6.0 to 2.6.16.
37035 * sysdeps/unix/sysv/linux/configure: Regenerated.
37036 * sysdeps/unix/sysv/linux/kernel-features.h
37037 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37038 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37039 version.
37040 (__ASSUME_UTIMES): Likewise.
37041 (__ASSUME_CLONE_STOPPED): Remove.
37042 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37043 architectures, not kernel version.
37044 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37045 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37046 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37047 (__ASSUME_WAITID_SYSCALL): Likewise.
37048 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37049 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37050 * README: State 2.6.16 as minimum Linux kernel version. Do not
37051 refer to older versions.
37052
370532012-08-06 Roland McGrath <roland@hack.frob.com>
37054
37055 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37056 Define alphasort64 as an alias.
37057 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37058 Define versionsort64 as an alias.
37059 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37060 Define scandir64 as an alias.
37061 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37062 Define scandirat64 as an alias.
37063 * dirent/alphasort64.c (alphasort64):
37064 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37065 * dirent/versionsort64.c: Likewise.
37066 * dirent/scandir64.c: Likewise.
37067 * dirent/scandirat64.c: Likewise.
37068 * sysdeps/wordsize-64/alphasort.c: File removed.
37069 * sysdeps/wordsize-64/alphasort64.c: File removed.
37070 * sysdeps/wordsize-64/scandir.c: File removed.
37071 * sysdeps/wordsize-64/scandir64.c: File removed.
37072 * sysdeps/wordsize-64/scandirat.c: File removed.
37073 * sysdeps/wordsize-64/scandirat64.c: File removed.
37074 * sysdeps/wordsize-64/versionsort.c: File removed.
37075 * sysdeps/wordsize-64/versionsort64.c: File removed.
37076 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37077 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37078 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37079 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37080 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37081 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37082 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37083 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37084
37085 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37087 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37088 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37089 [defined __arch64__ || defined __sparcv9]
37090 (__INO_T_MATCHES_INO64_T): New macro.
37091 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37092 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37093 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37094 * sysdeps/unix/sysv/linux/bits/dirent.h
37095 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37096 (_DIRENT_MATCHES_DIRENT64): New macro.
37097
37098 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37099 Define lockf64 as an alias.
37100 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37101 Define fseeko64 as an alias.
37102 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37103 Define ftello64 as an alias.
37104 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37105 Define _IO_fgetpos64 and fgetpos64 as aliases.
37106 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37107 Define _IO_fsetpos64 and fsetpos64 as aliases.
37108 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37109 Conditionalize body on this.
37110 * libio/fseeko64.c: Likewise.
37111 * libio/ftello64.c: Likewise.
37112 * libio/iofgetpos64.c: Likewise.
37113 * libio/iofsetpos64.c: Likewise.
37114 * sysdeps/wordsize-64/lockf.c: File removed.
37115 * sysdeps/wordsize-64/lockf64.c: File removed.
37116 * sysdeps/wordsize-64/fseeko.c: File removed.
37117 * sysdeps/wordsize-64/fseeko64.c: File removed.
37118 * sysdeps/wordsize-64/ftello.c: File removed.
37119 * sysdeps/wordsize-64/ftello64.c: File removed.
37120 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37121 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37122 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37123 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37124 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37125 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37126 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37127 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37128 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37129 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37130 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37131 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37132 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37133 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37134
37135 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37137 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37139 [defined __arch64__ || defined __sparcv9]
37140 (__OFF_T_MATCHES_OFF64_T): New macro.
37141 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37142 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37144 (__OFF_T_MATCHES_OFF64_T): New macro.
37145
371462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37147
37148 * stdlib/secure-getenv.c (__secure_getenv): Replace
37149 GLIBC_2_16 with GLIBC_2_17.
37150
371512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37152
37153 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37154 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37155
371562012-08-03 David S. Miller <davem@davemloft.net>
37157
37158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37159
371602012-08-03 Joseph Myers <joseph@codesourcery.com>
37161
37162 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37163 Remove.
37164 (__ASSUME_CORRECT_SI_PID): Likewise.
37165 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37166 (__ASSUME_TMPFS_NAME): Likewise.
37167 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37168 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37169 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37170 (HAVE_AUX_SECURE): Make definition unconditional.
37171 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37172 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37173
371742012-08-03 Roland McGrath <roland@hack.frob.com>
37175
37176 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37177 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37178 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37179 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37180 __eloop_threshold instead of SYMLOOP_MAX.
37181
37182 * sysdeps/generic/eloop-threshold.h: New file.
37183 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37184 of MAXSYMLINKS.
37185 * elf/chroot_canon.c (chroot_canon): Likewise.
37186
371872012-08-03 Joseph Myers <joseph@codesourcery.com>
37188
37189 [BZ #13717]
37190 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37191 Change to 2.6.0 everywhere.
37192 * sysdeps/unix/sysv/linux/configure: Regenerated.
37193 * sysdeps/unix/sysv/linux/kernel-features.h
37194 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37195 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37196 kernel versions.
37197 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37198 (__ASSUME_FUTEX_REQUEUE): Remove.
37199 (__ASSUME_STATFS64): Define unconditionally.
37200 (__ASSUME_AT_SECURE): Likewise.
37201 (__ASSUME_CORRECT_SI_PID): Likewise.
37202 (__ASSUME_TGKILL): Define without depending on kernel version for
37203 i386.
37204 (__ASSUME_UTIMES): Likewise.
37205 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37206 kernel version.
37207 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37208 (__ASSUME_TMPFS_NAME): Likewise.
37209 * README: Update reference to Linux kernel versions.
37210
372112012-08-02 Marek Polacek <polacek@redhat.com>
37212
37213 [BZ# 14150]
37214 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37215 libc_cv_asm_type_prefix with %.
37216 * configure: Regenerated.
37217 * include/libc-symbols.h: Remove comment about
37218 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37219 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37220 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37221 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37222 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37223 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37224 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37225 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37226 * elf/tst-unique2mod1.c: Likewise.
37227 * elf/tst-unique1mod2.c: Likewise.
37228 * elf/tst-unique1mod1.c: Likewise.
37229 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37230 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37231 Replace ASM_TYPE_DIRECTIVE with .type.
37232 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37233 * sysdeps/i386/sysdep.h: Likewise.
37234 * sysdeps/x86_64/sysdep.h: Likewise.
37235 * sysdeps/sh/sysdep.h: Likewise.
37236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37237 Do not define ASM_TYPE_DIRECTIVE.
37238 * sysdeps/powerpc/sysdep.h: Likewise.
37239 * sysdeps/powerpc/powerpc32/sysdep.h:
37240 Replace ASM_TYPE_DIRECTIVE with .type.
37241 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37242 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37243 * sysdeps/i386/fpu/e_powf.S: Likewise.
37244 * sysdeps/i386/fpu/e_expl.S: Likewise.
37245 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37246 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37247 * sysdeps/i386/fpu/e_pow.S: Likewise.
37248 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37249 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37250 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37251 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37252 * sysdeps/i386/fpu/e_log2.S: Likewise.
37253 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37254 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37255 * sysdeps/i386/fpu/e_powl.S: Likewise.
37256 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37257 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37258 * sysdeps/i386/fpu/e_logl.S: Likewise.
37259 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37260 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37261 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37262 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37263 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37264 * sysdeps/i386/fpu/e_log.S: Likewise.
37265 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37266 * sysdeps/i386/fpu/e_logf.S: Likewise.
37267 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37268 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37269 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37270 * sysdeps/i386/fpu/e_log10.S: Likewise.
37271 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37272 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37273 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37274 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37275 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37276 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37277 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37278 * sysdeps/i386/i686/strtok.S: Likewise.
37279 * sysdeps/i386/i386-mcount.S: Likewise.
37280 * sysdeps/i386/strtok.S: Likewise.
37281 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37282 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37283 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37284 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37285 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37286 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37287 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37288 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37289 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37290 * sysdeps/x86_64/_mcount.S: Likewise.
37291 * sysdeps/x86_64/strtok.S: Likewise.
37292 * sysdeps/sh/_mcount.S: Likewise.
37293
372942012-08-01 Roland McGrath <roland@hack.frob.com>
37295
37296 * libio/iofopen.c: Include <fcntl.h>.
37297 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37298 (_IO_fopen64, fopen64): Define as aliases.
37299 * libio/iofopen64.c: Include <fcntl.h>.
37300 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37301 Conditionalize body on this.
37302 * sysdeps/wordsize-64/iofopen.c: File removed.
37303 * sysdeps/wordsize-64/iofopen64.c: File removed.
37304
373052012-08-01 Marek Polacek <polacek@redhat.com>
37306
37307 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37308 Use dlfcn directly instead of a variable.
37309 (binfmt-subdir): Do not define.
37310 (dlfcn): Likewise.
37311
373122012-08-01 Joseph Myers <joseph@codesourcery.com>
37313
37314 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37315 Remove all definitions.
37316 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37317 <kernel-features.h>.
37318 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37319 (miss_F_GETOWN_EX): Remove all definitions.
37320 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37321 macro definition.
37322 [!__ASSUME_FCNTL64]: Remove conditional code.
37323 [__ASSUME_FCNTL64]: Make code unconditional.
37324 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37325 <kernel-features.h>.
37326 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37327 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37328 (lockf64) [__NR_fcntl64]: Make code unconditional.
37329 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37330
37331 * sysdeps/unix/sysv/linux/kernel-features.h
37332 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37333 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37334 Make code unconditional.
37335 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37336 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37338 [__NR_vfork]: Make code unconditional.
37339 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37340 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37342 [__NR_vfork]: Make code unconditional.
37343 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37344 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37345
373462012-08-01 Roland McGrath <roland@hack.frob.com>
37347
37348 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37349 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37350
37351 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37352 Define mkstemp64 as an alias.
37353 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37354 Define mkstemps64 as an alias.
37355 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37356 Define mkostemp64 as an alias.
37357 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37358 Define mkostemps64 as an alias.
37359 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37360 Conditionalize body on this.
37361 * misc/mkostemp64.c: Likewise.
37362 * misc/mkostemps64.c: Likewise.
37363 * misc/mkstemps64.c: Likewise.
37364 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37365 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37366 * sysdeps/wordsize-64/mkostemp.c: File removed.
37367 * sysdeps/wordsize-64/mkstemp.c: File removed.
37368 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37369 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37370 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37371 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37372
37373 [BZ #14138]
37374 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37375 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37376 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37377 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37378
37379 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37380 compat_symbol macros from <shlib-compat.h> rather than the underlying
37381 default_symbol_version and symbol_version macros, so that DEFAULT
37382 lines in shlib-versions are respected.
37383 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37384
373852012-08-01 Florian Weimer <fweimer@redhat.com>
37386
37387 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37388 Declare with warn_unused_result.
37389 (setgid, setregid, setegid, setresgid): Likewise.
37390 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37391 Likewise.
37392 * WUR-REPORT: Remove set*id functions.
37393
373942012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37395
37396 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37397
373982012-07-31 Roland McGrath <roland@hack.frob.com>
37399
37400 [BZ #10191]
37401 * include/sys/socket.h (__libc_accept, __libc_accept4):
37402 Add attribute_hidden.
37403 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37404
37405 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37406 use of PTR_MANGLE.
37407 * inet/getnetgrent_r.c (setup): Likewise.
37408
37409 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37410
374112012-07-31 David S. Miller <davem@davemloft.net>
37412
37413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37414
374152012-07-31 Joseph Myers <joseph@codesourcery.com>
37416
37417 [BZ #13629]
37418 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37419 value between 1.0 and 2.0 and smaller part has absolute value less
37420 than 1.0.
37421 * math/s_clog10.c (__clog10): Likewise.
37422 * math/s_clog10f.c (__clog10f): Likewise.
37423 * math/s_clog10l.c (__clog10l): Likewise.
37424 * math/s_clogf.c (__clogf): Likewise.
37425 * math/s_clogl.c (__clogl): Likewise.
37426 * math/libm-test.inc (clog_test): Add more tests.
37427 (clog10_test): Likewise.
37428 * sysdeps/i386/fpu/libm-test-ulps: Update.
37429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37430
374312012-07-31 Florian Weimer <fweimer@redhat.com>
37432
37433 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37434 Exit with zero in case no suitable GID is found, and write a
37435 message to standard error.
37436
374372012-07-30 Roland McGrath <roland@hack.frob.com>
37438
37439 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37440 rather than to 1.
37441 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37442 (MAXPATHLEN): Removed.
37443 (NOGROUP, NODEV): New macros.
37444 (setbit, clrbit, isset, isclr): New macros.
37445 (howmany, roundup, powerof2): New macros.
37446 (DEV_BSIZE): New macro.
37447
37448 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37449 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37450
37451 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37452 definition on [!__NO_LONG_DOUBLE_MATH].
37453
37454 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37455 PTR_MANGLE and PTR_DEMANGLE.
37456
37457 * socket/accept4.c (accept4): Rename to __libc_accept4.
37458 Define accept4 as a weak alias.
37459
37460 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37461 on [_DIRENT_HAVE_D_TYPE].
37462 * io/ftw.c (ftw_dir): Likewise.
37463
37464 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37465
37466 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37467
37468 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37469 Use the BSD numbers rather than the arbitrary ones we had.
37470 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37471 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37472 (SIGXCPU, SIGXFSZ): New macros.
37473 (_NSIG): Now 32.
37474
37475 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37476 initializer on [_LIBC_REENTRANT].
37477
37478 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37479 definitions inside [_POSIX_MAPPED_FILES].
37480
37481 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37482
37483 * dirent/opendir.c: Include <fcntl.h>.
37484
37485 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37486 (__libc_getspecific): Likewise.
37487 (__libc_key_create): Likewise.
37488
37489 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37490 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37491 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37492 (tmpfile64): Define as alias.
37493 * sysdeps/wordsize-64/tmpfile.c: File removed.
37494 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37495 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37496 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37497
37498 * stdio-common/vfscanf.c: Include <stdbool.h>.
37499 * nss/makedb.c: Likewise.
37500 * stdio-common/_i18n_number.h: Likewise.
37501 * argp/argp-help.c: Likewise.
37502 * posix/wordexp.c: Likewise.
37503 * sysdeps/posix/spawni.c: Likewise.
37504 * nss/nss_files/files-initgroups.c: Likewise.
37505 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37506 * nss/nss_files/files-initgroups.c: Likewise.
37507 * nss/nss_db/db-netgrp.c: Likewise.
37508 * nss/nss_db/db-initgroups.c: Likewise.
37509 * io/fchmodat.c: Include <sys/stat.h>.
37510
37511 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37512 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37513
37514 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37515 [HAVE_MMAP].
37516
37517 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37518 Add multiple inclusion protection.
37519
375202012-07-27 David S. Miller <davem@davemloft.net>
37521
37522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37523
375242012-07-27 Gary Benson <gbenson@redhat.com>
37525
37526 [BZ #14298]
37527 * elf/rtld.c: Include <stap-probe.h>.
37528 (dl_main): Added static probes "init_start" and "init_complete".
37529 * elf/dl-load.c: Include <stap-probe.h>.
37530 (lose): Take new parameter "nsid".
37531 Added static probe "map_failed".
37532 (_dl_map_object_from_fd): Pass namespace id to lose.
37533 Added static probe "map_start".
37534 (open_verify): Pass namespace id to lose.
37535 * elf/dl-open.c: Include <stap-probe.h>.
37536 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37537 and "reloc_complete".
37538 * elf/dl-close.c: Include <stap-probe.h>.
37539 (_dl_close_worker): Added static probes "unmap_start" and
37540 "unmap_complete".
37541 * elf/rtld-debugger-interface.txt: New file documenting the above.
37542
375432012-07-26 Roland McGrath <roland@hack.frob.com>
37544
37545 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37546 rather than a string variable.
37547 * sunrpc/rpc_main.c (h_output): Likewise.
37548 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37549
375502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37551
37552 * inet/check_native.c: New file.
37553
375542012-07-26 Joseph Myers <joseph@codesourcery.com>
37555
37556 [BZ #13629]
37557 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37558 if larger part has absolute value 1.0.
37559 * math/s_clog10.c (__clog10): Likewise.
37560 * math/s_clog10f.c (__clog10f): Likewise.
37561 * math/s_clog10l.c (__clog10l): Likewise.
37562 * math/s_clogf.c (__clogf): Likewise.
37563 * math/s_clogl.c (__clogl): Likewise.
37564 * math/libm-test.inc (clog_test): Add more tests.
37565 (clog10_test): Likewise.
37566 * sysdeps/i386/fpu/libm-test-ulps: Update.
37567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37568
37569 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37570 (pltexit): Likewise.
37571 (La_regs): Likewise.
37572 (La_retval): Likewise.
37573 (int_retval): Likewise.
37574 Update #error for removed macros to refer only to definitions in
37575 tst-audit.h.
37576 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37577 macro.
37578 (pltexit): Likewise.
37579 (La_regs): Likewise.
37580 (La_retval): Likewise.
37581 (int_retval): Likewise.
37582 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37583 macro.
37584 (pltexit): Likewise.
37585 (La_regs): Likewise.
37586 (La_retval): Likewise.
37587 (int_retval): Likewise.
37588 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37589 macro.
37590 (pltexit): Likewise.
37591 (La_regs): Likewise.
37592 (La_retval): Likewise.
37593 (int_retval): Likewise.
37594 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37595 macro.
37596 (pltexit): Likewise.
37597 (La_regs): Likewise.
37598 (La_retval): Likewise.
37599 (int_retval): Likewise.
37600 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37601 macro.
37602 (pltexit): Likewise.
37603 (La_regs): Likewise.
37604 (La_retval): Likewise.
37605 (int_retval): Likewise.
37606 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37607 macro.
37608 (pltexit): Likewise.
37609 (La_regs): Likewise.
37610 (La_retval): Likewise.
37611 (int_retval): Likewise.
37612 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37613 macro definitions in tst-audit.h.
37614 * sysdeps/i386/tst-audit.h: New file.
37615 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37616 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37617 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37618 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37619 * sysdeps/sh/tst-audit.h: Likewise.
37620 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37621 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37622 * sysdeps/x86_64/tst-audit.h: Likewise.
37623
376242012-07-26 Andreas Jaeger <aj@suse.de>
37625
37626 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37627 ptrace.
37628
37629 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37630 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37631 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37632 PTRACE_O_MASK.
37633 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37634 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37635 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37636
37637 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37638 value.
37639
37640 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37641 _sigsys.
37642 (si_call_addr, si_syscall, si_arch): Define new macro.
37643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37644 _sigsys.
37645 (si_call_addr, si_syscall, si_arch): Define new marcro.
37646 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37647 _sigsys.
37648 (si_call_addr, si_syscall, si_arch): Define new macro.
37649 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37650 _sigsys.
37651 (si_call_addr, si_syscall, si_arch): Define new macro.
37652
376532012-07-25 Joseph Myers <joseph@codesourcery.com>
37654
37655 [BZ #13717]
37656 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37657 Change to 2.4.21 where previously 2.4.1.
37658 * sysdeps/unix/sysv/linux/configure: Regenerated.
37659 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37660 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37661 Linux kernel version.
37662 (__ASSUME_STD_AUXV): Remove.
37663 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37664 kernel version.
37665 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37666 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37667 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37668 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37669 (__ASSUME_NETLINK_SUPPORT): Likewise.
37670 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37671 (__no_netlink_support): Remove conditional definition.
37672 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37673 Remove.
37674 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37675 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37676 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37677 (if_nameindex_ioctl): Remove.
37678 (if_nameindex_netlink): Do not handle __no_netlink_support.
37679 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37680 code.
37681 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37682 Remove conditional code.
37683 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37684 code.
37685 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37686 unconditional.
37687 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37688 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37689 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37690 Remove.
37691 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37692 [!__ASSUME_STD_AUXV]: Remove conditional code.
37693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37694 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37695 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37697 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37698 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37699 code.
37700 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37702 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37703 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37704 conditional code.
37705 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37707 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37708 code.
37709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37710 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37711 conditional code.
37712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37713 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37714 code unconditional.
37715 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37716 conditional code.
37717 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37718 unconditional.
37719 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37720 conditional code.
37721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37722 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37723 unconditional.
37724 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37725 conditional code.
37726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37727 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37728 code unconditional.
37729 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37730 conditional code.
37731 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37732 unconditional.
37733 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37734 conditional code.
37735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37736 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37737 code unconditional.
37738 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37739 conditional code.
37740 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37741 unconditional.
37742 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37743 conditional code.
37744
377452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37746
37747 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37748 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37749 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37750 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37751 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37752 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37753 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37754 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37755 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37756 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37757 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37758 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37759 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37760 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37761 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37762 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37763 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37764 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37765 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37767 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37768 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37770
377712012-07-25 Florian Weimer <fweimer@redhat.com>
37772
37773 * Versions.def: Add GLIBC_2.17.
37774 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37775 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37776 Introduce __libc_secure_getenv.
37777 * stdlib/Versions (2.17): Add secure_getenv
37778 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37779 * stdlib/secure-getenv.c: Rename __secure_getenv to
37780 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37781 symbol __secure_getenv for GLIBC_2.0.
37782 * stdlib/tst-secure-getenv.c: New.
37783 * stdlib/Makefile (tests): Add testcase.
37784 * manual/startup.texi (Environment Access): Document
37785 secure_getenv.
37786 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37787 __libc_secure_getenv.
37788 * inet/ruserpass.c (ruserpass): Likewise.
37789 * malloc/mtrace.c (mtrace): Likewise.
37790 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37791 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37792 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37793 * sysdeps/posix/tempname.c: Likewise. Evaluate
37794 HAVE_SECURE_GETENV.
37795 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37796 __secure_getenv to __libc_secure_getenv.
37797 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37799 Likewise.
37800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37801 Likewise.
37802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37804 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37809
378102012-07-25 Joseph Myers <joseph@codesourcery.com>
37811
37812 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37813 (struct La_i86_retval): Likewise.
37814 (struct La_x86_64_regs): Likewise.
37815 (struct La_x86_64_retval): Likewise.
37816 (struct La_x32_regs): Likewise.
37817 (struct La_x32_retval): Likewise.
37818 (struct La_ppc32_regs): Likewise.
37819 (struct La_ppc32_retval): Likewise.
37820 (struct La_ppc64_regs): Likewise.
37821 (struct La_ppc64_retval): Likewise.
37822 (struct La_sh_regs): Likewise.
37823 (struct La_sh_retval): Likewise.
37824 (struct La_s390_32_regs): Likewise.
37825 (struct La_s390_32_retval): Likewise.
37826 (struct La_s390_64_regs): Likewise.
37827 (struct La_s390_64_retval): Likewise.
37828 (struct La_sparc32_regs): Likewise.
37829 (struct La_sparc32_retval): Likewise.
37830 (struct La_sparc64_regs): Likewise.
37831 (struct La_sparc64_retval): Likewise.
37832 (struct audit_ifaces): Remove architecture-specific pltenter and
37833 pltexit members.
37834 * sysdeps/i386/ldsodefs.h: New file.
37835 * sysdeps/powerpc/ldsodefs.h: Likewise.
37836 * sysdeps/s390/ldsodefs.h: Likewise.
37837 * sysdeps/sh/ldsodefs.h: Likewise.
37838 * sysdeps/sparc/ldsodefs.h: Likewise.
37839 * sysdeps/x86_64/ldsodefs.h: Likewise.
37840
378412012-07-25 Marek Polacek <polacek@redhat.com>
37842
37843 [BZ #6808]
37844 * math/libm-test.inc (yn_test): Add another test.
37845 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37846 to ERANGE when the result is +-Inf.
37847 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37848 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37849 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37850 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37851
378522012-07-24 Joseph Myers <joseph@codesourcery.com>
37853
37854 * conform/data/time.h-data (NULL): Use macro-constant. Require
37855 equal to 0.
37856 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37857 clock_t.
37858 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37859
378602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37861
37862 * configure.in <sysdeps resolving>: Correct printing
37863 Implies_before.
37864 * configure: Regenerate.
37865
378662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37867
37868 * math/w_ilogb.c: Include <limits.h>.
37869 * math/w_ilogbl.c: Likewise.
37870
378712012-07-20 Joseph Myers <joseph@codesourcery.com>
37872
37873 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37874 va_copy. Document allowing for unavailable va_copy only as
37875 pre-C99 compatibility.
37876 * manual/string.texi (Copying and Concatenation): Use va_copy
37877 instead of __va_copy in concat example.
37878
378792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37880
37881 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37882 (__sendto): Use create_address_port. Initialize APORT and deallocate
37883 it if not null.
37884
37885 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37886 with O_NOLINK passed to __file_name_lookup.
37887
37888 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37889 with O_NOLINK passed to __file_name_lookup.
37890
37891 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37892 negative N or less than NGIDS.
37893
37894 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37895 type to string_t. Set ERANGE as errno and return it if NAME is not big
37896 enough. Use memcpy instead of strncpy.
37897
378982012-07-20 Joseph Myers <joseph@codesourcery.com>
37899
37900 * elf/Makefile (check-data): Remove.
37901 (localplt.data): New vpath directive.
37902 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37903 instead of $(check-data).
37904 * scripts/data/localplt-generic.data: Move to ...
37905 * sysdeps/generic/localplt.data: ... here.
37906 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37907 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37908 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37910 ... here.
37911 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37913 ... here.
37914 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37916 ... here.
37917 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37919 ... here.
37920 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37922 ... here.
37923 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37925 ... here.
37926
379272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37928
37929 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37930 PPC32 and PPC64 files.
37931 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37932 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37933
379342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37935
37936 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37937 __makecontext_ret to ...
37938 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37939 ... here and call exit if uc_link is NULL. New file.
37940 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37941 __makecontext_ret.S.
37942 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37943 __makecontext_ret to ...
37944 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37945 ... here and call exit if uc_link is NULL. New file.
37946 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37947 __makecontext_ret.S.
37948
379492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37950
37951 * elf/elf.h (R_390_IRELATIVE): New definition.
37952 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37953 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37954 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37955 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37956 (elf_machine_lazy_rel): Likewise.
37957 * sysdeps/s390/dl-irel.h: New file.
37958 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37959 * sysdeps/s390/s390-64/memset.S: New asm code.
37960 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37961 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37962 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37963 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37964 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37965 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37966 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37967 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37968 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37969 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37970 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37971 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37972 * sysdeps/s390/s390-32/memset.S: New asm code.
37973 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37974
379752012-07-17 Marek Polacek <polacek@redhat.com>
37976
37977 [BZ #14349]
37978 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37979 * sysdeps/s390/s390-64/configure.in: Likewise.
37980 * sysdeps/sparc/configure.in: Likewise.
37981 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37982 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37983 * sysdeps/i386/configure.in: Likewise.
37984 * sysdeps/x86_64/configure.in: Likewise.
37985 * sysdeps/sh/configure.in: Likewise.
37986 * sysdeps/s390/s390-32/configure: Regenerated.
37987 * sysdeps/s390/s390-64/configure: Likewise.
37988 * sysdeps/x86_64/configure: Likewise.
37989 * sysdeps/sh/configure: Likewise.
37990 * sysdeps/powerpc/powerpc64/configure: Likewise.
37991 * sysdeps/powerpc/powerpc32/configure: Likewise.
37992 * sysdeps/sparc/configure: Likwise.
37993 * sysdeps/i386/configure: Likewise.
37994
37995 * elf/dl-open.c: Comment fixes.
37996
379972012-07-17 Joseph Myers <joseph@codesourcery.com>
37998
37999 * Makefile [CXX] (check-data): Remove.
38000 [CXX] (c++-types.data): New vpath directive.
38001 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38002 vpath. Do not allow for C++ type data being missing.
38003 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38004 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38005 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38006 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38007 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38008 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38009 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38011 ... here.
38012 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38014 ... here.
38015 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38017 ... here.
38018 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38020 ... here.
38021 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38023 ... here.
38024 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38026 ... here.
38027 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38029 ... here.
38030 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38032
38033 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38034 definitions to architecture-specific files.
38035 (TLS_IE): Likewise.
38036 (TLS_LD): Likewise.
38037 (TLS_GD): Likewise.
38038 * sysdeps/i386/tls-macros.h: New file.
38039 * sysdeps/powerpc/tls-macros.h: Likewise.
38040 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38041 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38042 * sysdeps/sh/tls-macros.h: Likewise.
38043 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38044 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38045 * sysdeps/x86_64/tls-macros.h: Likewise.
38046
380472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38048
38049 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38050 zero value for regular exit case.
38051
38052 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38053 (__start_context): Preserve zero value for regular exit case.
38054
380552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38056 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38057
38058 * manual/setjmp.texi (setcontext): Clarify normal process
38059 termination when uc_link is the null pointer.
38060 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38061 exit call.
38062
380632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38064
38065 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38066 preprocessor. Test for each exception mask separately.
38067
380682012-07-16 Andreas Jaeger <aj@suse.de>
38069
38070 * po/ru.po: Update from translation team.
38071
380722012-07-15 Joseph Myers <joseph@codesourcery.com>
38073
38074 * conform/data/string.h-data (NULL): Use macro-constant. Require
38075 equal to 0.
38076 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38077 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38078 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38079 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38081
380822012-07-13 Andreas Jaeger <aj@suse.de>
38083
38084 * po/fr.po: Update from translation team.
38085
380862012-07-12 Marek Polacek <polacek@redhat.com>
38087
38088 [BZ #14173]
38089 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38090 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38091 loop condition.
38092
380932012-07-12 Joseph Myers <joseph@codesourcery.com>
38094
38095 [BZ #13717]
38096 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38097 Change to 2.4.1 where previously 2.4.0.
38098 * sysdeps/unix/sysv/linux/configure: Regenerated.
38099 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38100 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38101 version.
38102 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38103 (__ASSUME_AT_CLKTCK): Remove.
38104 (__ASSUME_AT_PAGESIZE): Likewise.
38105 (__ASSUME_AT_XID): Likewise.
38106 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38107 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38108 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38109 unconditionally.
38110 (HAVE_AUX_PAGESIZE): Likewise.
38111 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38112 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38113 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38114
381152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38116
38117 [BZ #14307]
38118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38119 the temporary buffer used to invoke __gethostbyname2_r,
38120 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38121 host_data / struct gaih_addrtuple.
38122 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38123 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38124 header file nss/nsswitch.h.
38125 * nss/nsswitch.h (global scope): Add definition of implementation
38126 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38127 resolv/nss_dns/dns-host.c).
38128
381292012-07-11 Andreas Jaeger <aj@suse.de>
38130
38131 * po/fr.po: Update from translation team.
38132
38133 * po/sv.po: Update from translation team
38134 * po/fr.po: Another update from translation team.
38135
381362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38137
38138 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38139 for subnormals or multiply small sinh result by itself.
38140 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38142
381432012-07-11 David S. Miller <davem@davemloft.net>
38144
38145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38146
381472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38148
38149 [BZ #14347]
38150 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38151 (INTERNAL_MARK): Shift it here.
38152
381532012-07-10 Marek Polacek <polacek@redhat.com>
38154
38155 [BZ #14151]
38156 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38157 libc_cv_asm_global_directive with .globl.
38158 * configure: Regenerated.
38159 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38160 with .globl.
38161 * sysdeps/i386/configure: Regenerated.
38162 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38163 with .globl.
38164 * sysdeps/x86_64/configure: Regenerated.
38165 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38166 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38167 * elf/tst-unique2mod2.c: Likewise.
38168 * elf/tst-unique2mod1.c: Likewise.
38169 * elf/tst-unique1mod2.c: Likewise.
38170 * elf/tst-unique1mod1.c: Likewise.
38171 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38172 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38173 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38174 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38175 * sysdeps/mach/sysdep.h: Likewise.
38176 * sysdeps/i386/sysdep.h: Likewise.
38177 * sysdeps/i386/i386-mcount.S: Likewise.
38178 * sysdeps/x86_64/_mcount.S: Likewise.
38179 * sysdeps/x86_64/sysdep.h: Likewise.
38180 * sysdeps/sh/_mcount.S: Likewise.
38181 * sysdeps/sh/sysdep.h: Likewise.
38182 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38183 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38184 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38185 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38186 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38187 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38188 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38189 * locale/localeinfo.h: Likewise.
38190 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38191 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38192
381932012-07-09 Roland McGrath <roland@hack.frob.com>
38194
38195 [BZ #14336]
38196 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38197 system".
38198 * manual/message.texi (The Uniforum approach): Likewise.
38199 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38200 (glibc iconv Implementation): Likewise.
38201
382022012-07-09 Joseph Myers <joseph@codesourcery.com>
38203
38204 [BZ #14337]
38205 * math/s_clog.c (__clog): Avoid scaling a value down where that
38206 could result in underflow.
38207 * math/s_clog10.c (__clog10): Likewise.
38208 * math/s_clog10f.c (__clog10f): Likewise.
38209 * math/s_clog10l.c (__clog10l): Likewise.
38210 * math/s_clogf.c (__clogf): Likewise.
38211 * math/s_clogl.c (__clogl): Likewise.
38212 * math/libm-test.inc (clog_test): Add more tests.
38213 (clog10_test): Likewise.
38214 * sysdeps/i386/fpu/libm-test-ulps: Update.
38215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38216
382172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38218
38219 [BZ #14283]
38220 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38221 by 7 not 8 to examine high bit of fractional part.
38222
38223 [BZ #14042]
38224 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38225 for call to __mcount_internal.
38226 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38227 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38228 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38229
382302012-07-06 Joseph Myers <joseph@codesourcery.com>
38231
38232 [BZ #14154]
38233 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38234 approximation for values within 0x1p-13f of an odd multiple of
38235 pi/4.
38236 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38237 exception. Add more tests.
38238 * sysdeps/i386/fpu/libm-test-ulps: Update.
38239
38240 [BZ #6778]
38241 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38242 inputs and return -1 for them. Do not check for +Inf in case not
38243 reachable for +Inf.
38244 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38245 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38246 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38247 and return -1 for them. Do not check for +Inf in case not
38248 reachable for +Inf.
38249 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38250 define.
38251 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38252 and return -1 for them. Do not check for +Inf in case not
38253 reachable for +Inf.
38254 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38255 spurious underflow.
38256 * sysdeps/i386/fpu/libm-test-ulps: Update.
38257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38258
382592012-07-06 Mike Frysinger <vapier@gentoo.org>
38260
38261 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38262
382632012-07-05 Joseph Myers <joseph@codesourcery.com>
38264
38265 [BZ #14157]
38266 [BZ #14331]
38267 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38268 could result in spurious underflow. Scale down values above
38269 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38270 * math/s_csqrtf.c (__csqrtf): Likewise.
38271 * math/s_csqrtl.c (__csqrtl): Likewise.
38272 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38273 spurious underflow.
38274 * sysdeps/i386/fpu/libm-test-ulps: Update.
38275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38276
382772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38278
38279 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38280 xopen-msg.sed.
38281 * catgets/xopen-msg.awk: New file.
38282 * catgets/xopen-msg.sed: Removed.
38283
38284 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38285 po2text.sed.
38286 * intl/po2test.awk: New file.
38287 * intl/po2test.sed: Removed.
38288
382892012-07-04 Joseph Myers <joseph@codesourcery.com>
38290
38291 [BZ #14328]
38292 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38293 or multiply small sinh result by itself.
38294 * math/s_ctanf.c (__ctanf): Likewise.
38295 * math/s_ctanh.c (__ctanh): Likewise.
38296 * math/s_ctanhf.c (__ctanhf): Likewise.
38297 * math/s_ctanhl.c (__ctanhl): Likewise.
38298 * math/s_ctanl.c (__ctanl): Likewise.
38299 * math/libm-test.inc (ctan_test_tonearest): New function.
38300 (ctan_test_towardzero): Likewise.
38301 (ctan_test_downward): Likewise.
38302 (ctan_test_upward): Likewise.
38303 (ctanh_test_tonearest): Likewise.
38304 (ctanh_test_towardzero): Likewise.
38305 (ctanh_test_downward): Likewise.
38306 (ctanh_test_upward): Likewise.
38307 (main): Call these new functions.
38308 * sysdeps/i386/fpu/libm-test-ulps: Update.
38309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38310
383112012-07-03 Mike Frysinger <vapier@gentoo.org>
38312
38313 * .gitignore: Delete /ports entry.
38314
383152012-07-03 Andreas Jaeger <aj@suse.de>
38316
38317 * po/bg.po: Update from translation team.
38318 * po/cs.po: Likewise.
38319 * po/de.po: Likewise.
38320 * po/hr.po: Likewise.
38321 * po/nl.pl: Likewise.
38322 * po/pl.po: Likewise.
38323 * po/vi.po: Likewise.
38324
383252012-07-03 Joseph Myers <joseph@codesourcery.com>
38326
38327 * Makeconfig [!+link] (+link-before-libc): New variable.
38328 [!+link] (+link-after-libc): Likewise.
38329 [!+link] (+link-tests): Likewise.
38330 [!+link] (+link): Define in terms of $(+link-before-libc) and
38331 $(+link-after-libc).
38332 [!+link-static] (+link-static-before-libc): New variable.
38333 [!+link-static] (+link-static-after-libc): Likewise.
38334 [!+link-static] (+link-static-tests): Likewise.
38335 [!+link-static] (+link-static): Define in terms of
38336 $(+link-static-before-libc) and $(+link-static-after-libc).
38337 [build-shared] (link-libc-before-gnulib): New variable.
38338 [build-shared] (link-libc-tests): Likewise.
38339 [build-shared] (link-libc): Define in terms of
38340 $(link-libc-before-gnulib).
38341 [!build-shared] (link-libc-tests): New variable.
38342 (link-libc-static-tests): New variable.
38343 [!gnulib] (gnulib-arch): New variable.
38344 [!gnulib] (gnulib-tests): Likewise.
38345 [!gnulib] (static-gnulib-arch): Likewise.
38346 [!gnulib] (static-gnulib-tests): Likewise.
38347 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38348 Define with "=" instead of ":=".
38349 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38350 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38351 * Rules (binaries-all-notests): New variable.
38352 (binaries-all-tests): Likewise.
38353 (binaries-static-notests): Likewise.
38354 (binaries-static-tests): Likewise.
38355 (binaries-all): Define using $(binaries-all-notests) and
38356 $(binaries-all-tests).
38357 (binaries-static): Define using $(binaries-static-notests) and
38358 $(binaries-static-tests).
38359 (binaries-shared-tests): New variable.
38360 (binaries-shared-notests): Likewise.
38361 (binaries-shared): Remove variable.
38362 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38363 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38364 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38365 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38366 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38367 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38368 * elf/Makefile (sln-modules): New variable.
38369 (extra-objs): Add $(sln-modules:=.o).
38370 (ldconfig-modules): Add static-stubs.
38371 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38372 * elf/static-stubs.c: New file.
38373
38374 [BZ #14283]
38375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38376 by 7 not 8 to examine high bit of fractional part. Use volatile
38377 variables when splitting into final array of floats if
38378 __FLT_EVAL_METHOD__ != 0.
38379 * math/libm-test.inc (cos_test): Add another test.
38380 (sin_test): Likewise.
38381 * sysdeps/i386/fpu/libm-test-ulps: Update.
38382
38383 [BZ #14273]
38384 * math/libm-test.inc (cosh_test): Add more tests.
38385
38386 * version.h (RELEASE): Set to "development".
38387 (VERSION): Set to "2.16.90".
38388
383892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38390
38391 * NEWS: Update copyright. Remove last-updated date.
38392 Mention math library bug fixes and timezone data changes.
38393 * README: Mention GNU/Hurd, x32, and HPPA support status.
38394
383952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38396
38397 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38398
383992012-06-27 Andreas Jaeger <aj@suse.de>
38400
38401 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38402
384032012-06-25 Andreas Jaeger <aj@suse.de>
38404
38405 * sysdeps/s390/fpu/libm-test-ulps: Update.
38406
384072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38408 Thomas Schwinge <thomas@codesourcery.com>
38409
38410 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38411 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38412 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38413 fanotify_mark.
38414
384152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38416
38417 * sysdeps/mach/start.c: Remove file.
38418 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38419 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38420 * sysdeps/sh/init-first.c: Likewise.
38421
38422 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38423 registers for frame unwinding purposes, add CFI directives.
38424 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38425 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38426 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38427 Likewise.
38428
38429 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38430 __fortify_fail returning.
38431 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38432
38433 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38434 sysdeps/sh/____longjmp_chk.S.
38435 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38436 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38437 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38438 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38439
38440 * sysdeps/sh/abort-instr.h: New file.
38441 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38442 process in case exit returns.
38443
38444 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38445 initialize the GOT register before use.
38446
38447 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38448 calculation of ARGC > 4.
38449
38450 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38451 meaningful names to some local labels.
38452
384532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38454 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38455
38456 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38457 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38458 (__arch_compare_and_exchange_val_16_acq): Likewise.
38459 (__arch_compare_and_exchange_val_32_acq): Likewise.
38460 (atomic_exchange_and_add): Fix gUSA sequence.
38461 (atomic_add): Likewise.
38462 (atomic_add_negative): Likewise.
38463 (atomic_add_zero): Likewise.
38464 (atomic_bit_test_set): Likewise.
38465
384662012-06-22 Andreas Schwab <schwab@redhat.com>
38467
38468 [BZ #13579]
38469 * include/link.h (struct link_map): Add l_free_initfini.
38470 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38471 l_initfini.
38472 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38473 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38474 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38475 set.
38476
384772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38478
38479 * configure.in: Use AC_LANG_SOURCE.
38480 * configure: Regenerate.
38481
384822012-06-22 Roland McGrath <roland@hack.frob.com>
38483
38484 * configure.in (libc_cv_localstatedir): New substituted variable.
38485 * configure: Regenerated.
38486 * config.make.in (localstatedir): New variable, substituted from
38487 libc_cv_localstatedir.
38488 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38489 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38490 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38491 * sysdeps/gnu/configure: Regenerated.
38492
384932012-06-21 Jeff Law <law@redhat.com>
38494
38495 [BZ #14277]
38496 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38497 free. Simplify list management for _LIBC case.
38498
384992012-06-21 Joseph Myers <joseph@codesourcery.com>
38500
38501 [BZ #14273]
38502 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38503 Clear sign bit of 64-bit integer value before comparing against
38504 overflow value.
38505
38506 * sysdeps/mach/configure: Regenerated.
38507
385082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38509
38510 [BZ #14278]
38511 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38512
385132012-06-21 Jeff Law <law@redhat.com>
38514
38515 [BZ #13882]
38516 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38517 uint16_t for elements in the "seen" array to avoid char overflows.
38518 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38519 * elf/dl-open.c (dl_open_worker): Likewise.
38520
385212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38522
38523 * scripts/list-sources.sh: Scan PORTS for translations.
38524 * po/libc.pot: Regenerated.
38525
385262012-06-21 Andreas Jaeger <aj@suse.de>
38527
38528 [BZ #12194]
38529 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38530 warning.
38531 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38532 * bits/byteswap-16.h (__bswap_16): Likewise.
38533 * bits/byteswap.h (__bswap_constant_16): Likewise.
38534
385352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38536
38537 [BZ #14117]
38538 * sysdeps/i386/fpu_control.h: Removed.
38539 * sysdeps/x86_64/fpu_control.h: Moved to ...
38540 * sysdeps/x86/fpu_control.h: Here.
38541
38542 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38543 (_FPU_SETCW): Likewise.
38544
385452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38546
38547 [BZ #14117]
38548 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38549 * sysdeps/x86/fpu/bits/mathinline.h: This.
38550 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38551
38552 [BZ #14050]
38553 [BZ #14117]
38554 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38555 functions if __x86_64__ is defined.
38556
385572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38558
38559 * string/endian.h: Add !__ASSEMBLER__ condition for including
38560 conversion interfaces.
38561
385622012-06-15 Joseph Myers <joseph@codesourcery.com>
38563
38564 [BZ #14241]
38565 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38566 of ABS(x) in calculating zero to negative powers other than odd
38567 integers.
38568 * math/libm-test.inc (pow_test): Add more tests.
38569
385702012-06-15 Andreas Jaeger <aj@suse.de>
38571
38572 * manual/contrib.texi (Contributors): Update entry of Liubov
38573 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38574 Machado Filho.
38575
385762012-06-15 Cyril Hrubis <metan@ucw.cz>
38577
38578 * string/string.h: Add __wur to GNU version of strerror_r.
38579
385802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38581
38582 [BZ #14229]
38583 * string/Makefile (tests): Add tst-strtok_r.
38584 * string/tst-strtok_r.c: New file.
38585 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38586 RAX_LP/RDX_LP on SAVE_PTR.
38587
385882012-06-14 Roland McGrath <roland@hack.frob.com>
38589
38590 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38591
385922012-06-14 Joseph Myers <joseph@codesourcery.com>
38593
38594 * libm_test.inc (csqrt_test): Allow more spurious underflow
38595 exceptions.
38596 (j0_test): Likewise.
38597 (j1_test): Likewise.
38598 (y0_test): Likewise.
38599 (y1_test): Likewise.
38600
386012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38602
38603 * po/Makefile (libc.pot): Use UTF-8 charset.
38604
386052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38606
38607 [BZ #14210]
38608 Suppress sign-conversion warning from FD_SET.
38609 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38610 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38611 not unsigned long int.
38612 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38613
386142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38615
38616 [BZ #14050]
38617 [BZ #14117]
38618 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38619 __extern_always_inline instead of __extern_inline.
38620 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38621 (__signbit): Likewise.
38622 (__signbitl): Support C++ namespace.
38623 (lrintf): New inline function.
38624 (lrint): Likewise.
38625 (llrintf): Likewise.
38626 (llrint): Likewise.
38627 (fmaxf): Likewise.
38628 (fmax): Likewise.
38629 (fminf): Likewise.
38630 (fmin): Likewise.
38631 (rint): Likewise.
38632 (rintf): Likewise.
38633 (ceil): Likewise.
38634 (ceilf): Likewise.
38635 (floor): Likewise.
38636 (floorf): Likewise.
38637 (nearbyint): Likewise.
38638 (nearbyintf): Likewise.
38639
386402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38641
38642 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38643 non-default versions.
38644
386452012-06-11 Roland McGrath <roland@hack.frob.com>
38646
38647 [BZ #14218]
38648 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38649
386502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38651
38652 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38653 (FE_UPWARD, FE_DOWNWARD): Don't define.
38654 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38655 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38656
38657 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38658 reading it.
38659 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38660 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38661
386622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38663
38664 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38666 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38667 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38668
386692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38670
38671 [BZ #14117]
38672 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38673 * sysdeps/i386/fpu/Implies: New file.
38674 * sysdeps/x86_64/fpu/Implies: Likewise.
38675 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38676 * sysdeps/x86/fpu/bits/fenv.h: This.
38677
38678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38679 __SSE_MATH__.
38680
386812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38682
38683 [BZ #14134]
38684 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38685 character 0xffff that matches the last element of the
38686 conversion table.
38687
386882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38689
38690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38691 fmodl commit.
38692
386932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38694
38695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38696 values higher than 25.6283.
38697
386982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38699
38700 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38701 subnormal exponent extraction and add some __builtin_expect.
38702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38703 Fix for subnormal mantissa calculation.
38704
387052012-06-04 Mike Frysinger <vapier@gentoo.org>
38706
38707 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38708 cpu2 is -1 and errno is not ENOSYS.
38709
387102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38711
38712 [BZ #14117]
38713 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38714 * sysdeps/x86/bits/string.h: This.
38715 * sysdeps/x86_64/bits/string.h: Removed.
38716
38717 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38718 if not compiling for x86-64, but compiling for >= i486.
38719
38720 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38721 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38722
38723 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38724 New macro from Linux kernel 3.4.0.
38725 (FP_XSTATE_MAGIC2): Likewise.
38726 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38727 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38728 (struct _fpx_sw_bytes): New struct.
38729 (struct _xsave_hdr): Likewise.
38730 (struct _ymmh_state): Likewise.
38731 (struct _xstate): Likewise.
38732
38733 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38734 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38735 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38736 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38737 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38738 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38739
38740 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38741 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38742 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38743 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38744 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38745 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38746
387472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38748
38749 [BZ #13743]
38750 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38751 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38752 (sysdep_headers): Include sys/platform/ppc.h.
38753 * sysdeps/powerpc/test-gettimebase.c: Test for
38754 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38755 * manual/Makefile (appendices): Include platform.texi.
38756 * manual/contrib.texi (Contributors): Update @node pointers.
38757 * manual/maint.texi (Maintenance): Likewise.
38758 (Platform): New node.
38759 * manual/platform.texi: New file. Document the new features.
38760
387612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38762 Jakub Jelinek <jakub@redhat.com>
38763
38764 [BZ #14188]
38765 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38766 where __builtin_expect is unavailable.
38767
387682012-06-03 David S. Miller <davem@davemloft.net>
38769
38770 * stdlib/longlong.h: Updated from GCC.
38771
387722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38773
38774 [BZ #14042]
38775 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38776 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38777 __mcount_internal.
38778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38779 (GLIBC_2.16): Likewise.
38780
387812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38782
38783 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38784
387852012-06-01 Joseph Myers <joseph@codesourcery.com>
38786
38787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38788 (default-abi): New variable.
38789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38790 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38791 variable.
38792 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38793 Likewise.
38794 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38795 Likewise.
38796 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38797 Likewise.
38798
38799 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38800 definition. Document in comment.
38801
388022012-06-01 David S. Miller <davem@davemloft.net>
38803
38804 * stdlib/longlong.h: Updated from GCC.
38805
388062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38807
38808 [BZ #14117]
38809 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38810 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38811 sys/debugreg.h sys/io.h here.
38812 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38813 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38814 sys/io.h.
38815 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38816 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38817 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38818 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38819 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38820 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38821
38822 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38823 Define only if __x86_64__ is defined.
38824
388252012-06-01 Joseph Myers <joseph@codesourcery.com>
38826
38827 [BZ #14048]
38828 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38829 Use int64_t for variable i.
38830 * math/libm-test.inc (fmod_test): Add more tests.
38831
38832 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38833 z computation is not scheduled after fetestexcept.
38834 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38835 Use math_force_eval instead of asm to ensure calculation scheduled
38836 before exception test.
38837 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38838 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38839
388402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38841
38842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38843 computation is not scheduled after fetestexcept.
38844
388452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38846
38847 [BZ #14117]
38848 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38849 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38850
388512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38852
38853 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38854 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38855
388562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38857
38858 [BZ #14117]
38859 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38860 <bits/wordsize.h>.
38861 (__WCHAR_MIN): Support __WORDSIZE == 64.
38862 (__WCHAR_MAX): Likewise.
38863
38864 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38865 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38866
38867 [BZ #14183]
38868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38869 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38870
38871 [BZ #14117]
38872 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38873 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38874
38875 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38876 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38877
38878 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38879 Defined to 1 if __x86_64__ isn't defined.
38880 (_STAT_VER_LINUX_OLD): New.
38881 (st_atime): Remove duplicate.
38882 (st_mtime): Likewise.
38883 (st_ctime): Likewise.
38884
388852012-05-31 David S. Miller <davem@davemloft.net>
38886
38887 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38888 entries.
38889
388902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38891
38892 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38893 gen-libm-test.pl.
38894
38895 [BZ #14132]
38896 * elf/dl-reloc.c: Include <_itoa.h>.
38897 (_dl_reloc_bad_type): Remove use of INTUSE.
38898 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38899 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38900 * stdio-common/psiginfo.c (psiginfo): Likewise.
38901 * stdio-common/psignal.c (psignal): Likewise.
38902 * string/strsignal.c (strsignal): Likewise.
38903 * include/signal.h (_sys_siglist): Declare hidden proto.
38904 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38905 INTVARDEF with libc_hidden_data_def.
38906 * stdio-common/itoa-udigits.c: Likewise.
38907 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38908 (_itoa_lower_digits_internal): Remove declaration.
38909 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38910 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38911 (_sys_sigabbrev_internal): Remove aliases.
38912 (_sys_siglist): Define hidden alias.
38913
389142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38915
38916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38917 bits/sysctl.h.
38918
389192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38920
38921 [BZ #14117]
38922 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38923 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38924
38925 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38926 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38927 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38928 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38930 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38931
38932 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38933 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38934 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38935
38936 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38937 with __addr.
38938 (insw): Likewise.
38939 (insl): Likewise.
38940 (outsb): Likewise.
38941 (outsw): Likewise.
38942 (outsl): Likewise.
38943
38944 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38945 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38946 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38947
38948 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38949 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38950 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38951 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38952 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38953 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38954
38955 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38956 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38957
38958 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38959 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38960
38961 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38962 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38963 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38964
38965 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38966 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38967 to ...
38968 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38969
38970 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38971 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38972 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38973
38974 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38975 for x86-64.
38976 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38977
389782012-05-31 Joseph Myers <joseph@codesourcery.com>
38979
38980 * math/math.h (M_El): Use two more decimal places.
38981 (M_LOG2El): Likewise.
38982 (M_LOG10El): Likewise.
38983 (M_LN2l): Likewise.
38984 (M_LN10l): Likewise.
38985 (M_PIl): Likewise.
38986 (M_PI_2l): Likewise.
38987 (M_PI_4l): Likewise.
38988 (M_1_PIl): Likewise.
38989 (M_2_PIl): Likewise.
38990 (M_2_SQRTPIl): Likewise.
38991 (M_SQRT2l): Likewise.
38992 (M_SQRT1_2l): Likewise.
38993
389942012-05-31 David S. Miller <davem@davemloft.net>
38995
38996 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38997 values between float registers.
38998 * sysdeps/sparc/sparc64/memset.S: Likewise.
38999 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39000
390012012-05-31 Mike Frysinger <vapier@gentoo.org>
39002
39003 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39004 -D_FORTIFY_SOURCE=1.
39005 (CPPFLAGS-tst-longjmp_chk.c): Define.
39006 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39007 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39008 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39009 CFLAGS-tst-wchar-h.c.
39010
390112012-05-31 Marek Polacek <polacek@redhat.com>
39012
39013 [BZ #14132]
39014 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39015 __endmntent_internal): Remove declaration.
39016 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39017 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39018 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39019
390202012-05-30 David S. Miller <davem@davemloft.net>
39021
39022 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39023 (___Q_simulate_exceptions): Use real FP ops rather than writing
39024 into the %fsr.
39025 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39026 Likewise.
39027
390282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39029
39030 [BZ #14117]
39031 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39032 * sysdeps/x86/bits/xtitypes.h: This.
39033
39034 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39035 * sysdeps/x86/bits/wordsize.h: This.
39036
39037 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39038 * sysdeps/x86/bits/huge_vall.h: This.
39039
39040 * sysdeps/i386/bits/select.h: Removed.
39041 * sysdeps/x86_64/bits/select.h: Renamed to ...
39042 * sysdeps/x86/bits/select.h: This.
39043
39044 * sysdeps/i386/bits/setjmp.h: Removed.
39045 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39046 * sysdeps/x86/bits/setjmp.h: This.
39047
39048 * sysdeps/i386/bits/mathdef.h: Removed.
39049 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39050 * sysdeps/x86/bits/mathdef.h: This.
39051
390522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39053
39054 [BZ #14132]
39055 * include/sys/socket.h (__connect_internal)
39056 (__libc_sa_len_internal): Remove declaration.
39057 (__connect, __libc_sa_len): Declare hidden_proto.
39058 (SA_LEN): Remove use of INTUSE.
39059 * socket/connect.c: Add libc_hidden_def.
39060 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39061 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39062 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39063 alias.
39064 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39065 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39066 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39067 of adding _internal alias.
39068
390692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39070
39071 [BZ #14117]
39072 * sysdeps/i386/bits/link.h: Removed.
39073 * sysdeps/i386/bits/linkmap.h: Likewise.
39074 * sysdeps/x86_64/bits/link.h: Renamed to ...
39075 * sysdeps/x86/bits/link.h: This.
39076 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39077 * sysdeps/x86/bits/linkmap.h: This.
39078
39079 * sysdeps/i386/bits/endian.h: Removed.
39080 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39081 * sysdeps/x86/bits/endian.h: This.
39082
39083 * sysdeps/i386/bits/byteswap.h: Removed.
39084 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39085 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39086 * sysdeps/x86/bits/byteswap.h: This.
39087 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39088 * sysdeps/x86/bits/byteswap-16.h: This.
39089 * sysdeps/i386/Implies: Add x86.
39090 * sysdeps/x86_64/Implies: Likewise.
39091
390922012-05-30 David S. Miller <davem@davemloft.net>
39093
39094 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39095 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39096 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39097 (FP_TRAPPING_EXCEPTIONS): Define.
39098 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39099 (FP_TRAPPING_EXCEPTIONS): Define.
39100 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39101 subnormals only when inexact has been signalled or underflow
39102 exceptions are enabled.
39103 (_FP_PACK_CANONICAL): Likewise.
39104
391052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39106
39107 [BZ #14183]
39108 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39109 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39110
391112012-05-30 Richard Henderson <rth@twiddle.net>
39112
39113 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39114 with #ifndef NOT_IN_libc.
39115
39116 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39117 marked to avoid plt entry.
39118
391192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39120
39121 [BZ #14112]
39122 * Makeconfig (default-abi): New macro.
39123 (abi-includes): Likewise.
39124 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39125 $(abi-$(default-abi)-lib-soname) for soname if defined.
39126 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39127 abi-variants.
39128 * Makefile (installed-stubs): Likewise.
39129 * include/stubs-biarch.h: Removed.
39130 * scripts/lib-names.awk: Only handle one library at a time.
39131 * scripts/soversions.awk: Remove WORDSIZE support.
39132 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39133 entries.
39134 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39135 Removed.
39136 (syscall-list-default-condition): Likewise.
39137 (syscall-list-default-condition): Likewise.
39138 (syscall-list-includes): Likewise.
39139 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39140 syscall-list-* with abi-*. Handle undefined abi-variants.
39141 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39142 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39143 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39144 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39145 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39146 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39147 Removed.
39148 (syscall-list-32-options): Likewise.
39149 (syscall-list-32-condition): Likewise.
39150 (syscall-list-64-options): Likewise.
39151 (syscall-list-64-condition): Likewise.
39152 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39153 macro.
39154 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39155 Renamed to ...
39156 (abi-*): This.
39157 (abi-64-ld-soname): New macro.
39158 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39159 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39160 Renamed to ...
39161 (abi-*): This.
39162 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39163 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39164
391652012-05-30 Joseph Myers <joseph@codesourcery.com>
39166
39167 * sysdeps/unix/sysv/linux/kernel-features.h
39168 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39169 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39170 include <kernel-features.h>.
39171 [!__NR_ftruncate64]: Remove conditional code.
39172 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39173 [__NR_ftruncate64]: Make code unconditional.
39174 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39175 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39176 include <kernel-features.h>.
39177 [!__NR_ftruncate64]: Remove conditional code.
39178 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39179 [__NR_ftruncate64]: Make code unconditional.
39180 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39182 include <kernel-features.h>.
39183 [!__NR_ftruncate64]: Remove conditional code.
39184 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39185 [__NR_ftruncate64]: Make code unconditional.
39186 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39188 include <kernel-features.h>.
39189 [!__NR_ftruncate64]: Remove conditional code.
39190 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39191 [__NR_ftruncate64]: Make code unconditional.
39192 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39193
39194 * configure.in (libc_cv_fpie): Weaken to a compile test using
39195 LIBC_TRY_CC_OPTION.
39196 * configure: Regenerated.
39197
391982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39199
39200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39204 Refreshed.
39205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39211 Refreshed.
39212
392132012-05-27 David S. Miller <davem@davemloft.net>
39214
39215 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39216 (___Q_zero): New.
39217 (__Q_simulate_exceptions): Return void. Change to simulate
39218 exceptions by writing into the %fsr.
39219 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39220 (__Qp_handle_exceptions): Likewise.
39221 (numbers): Delete.
39222 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39223 __Qp_handle_exceptions.
39224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39225 __Qp_handle_exceptions.
39226 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39227 as unused and give dummy FP_RND_NEAREST initializer.
39228 (FP_INHIBIT_RESULTS): Define.
39229 (___Q_simulate_exceptions): Update declaration.
39230 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39231 formatting.
39232 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39233 as unused and give dummy FP_RND_NEAREST initializer.
39234 (__Qp_handle_exceptions): Update declaration.
39235 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39236 formatting.
39237
392382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39239
39240 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39241 the temporary FPU control word.
39242 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39243 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39245 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39246 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39247 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39248 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39249 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39250 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39251 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39252 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39253
392542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39255
39256 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39257 fields.
39258
392592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39260
39261 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39262 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39263 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39264 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39265 Likewise.
39266 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39267 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39268 Likewise.
39269
392702012-05-27 Ulrich Drepper <drepper@gmail.com>
39271
39272 * po/h.po: Update from translation team.
39273
392742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39275
39276 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39277
39278 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39279 handling of denormals.
39280 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39281 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39282 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39283 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39284 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39285 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39286 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39287 Likewise.
39288
392892012-05-26 Marek Polacek <polacek@redhat.com>
39290
39291 [BZ #14152]
39292 * math/libm-test.inc (fma_test): Don't always expect underflow
39293 exception.
39294
392952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39296
39297 [BZ #12416]
39298 * elf/tst-execstack.c: Include stackinfo.h.
39299 (do_test): Adjust test case to ensure that pthread_getattr_np
39300 behaviour remains the same after marking stack executable.
39301
393022012-05-25 Joseph Myers <joseph@codesourcery.com>
39303
39304 * sysdeps/unix/sysv/linux/kernel-features.h
39305 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39306 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39307 kernel-features.h.
39308 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39309 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39310 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39311 kernel-features.h.
39312 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39313 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39314
393152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39316
39317 * configure.in: Define the default includes to being none.
39318 * configure: Regenerated.
39319
393202012-05-25 Roland McGrath <roland@hack.frob.com>
39321
39322 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39323 * sysdeps/x86_64/setjmp.S: Likewise.
39324 * sysdeps/i386/bsd-setjmp.S: Likewise.
39325 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39326 * sysdeps/i386/setjmp.S: Likewise.
39327 * sysdeps/i386/__longjmp.S: Likewise.
39328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39329 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39330
39331 * include/stap-probe.h: New file.
39332 * configure.in: Handle --enable-systemtap.
39333 * configure: Regenerated.
39334 * config.h.in (USE_STAP_PROBE): New #undef.
39335 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39336 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39337 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39338
393392012-05-25 Joseph Myers <joseph@codesourcery.com>
39340
39341 [BZ #13717]
39342 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39343 to 2.4.0 where earlier.
39344 * sysdeps/unix/sysv/linux/configure: Regenerated.
39345 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39346 <kernel-features.h>.
39347 [__ASSUME_32BITUIDS]: Make code unconditional.
39348 [!__ASSUME_32BITUIDS]: Remove conditional code.
39349 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39350 <kernel-features.h>.
39351 [__ASSUME_32BITUIDS]: Make code unconditional.
39352 [!__ASSUME_32BITUIDS]: Remove conditional code.
39353 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39354 [__ASSUME_32BITUIDS]: Make code unconditional.
39355 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39356 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39357 <kernel-features.h>.
39358 [__ASSUME_32BITUIDS]: Make code unconditional.
39359 [!__ASSUME_32BITUIDS]: Remove conditional code.
39360 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39361 <kernel-features.h>.
39362 [__ASSUME_32BITUIDS]: Make code unconditional.
39363 [!__ASSUME_32BITUIDS]: Remove conditional code.
39364 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39365 <kernel-features.h>.
39366 [__ASSUME_32BITUIDS]: Make code unconditional.
39367 [!__ASSUME_32BITUIDS]: Remove conditional code.
39368 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39369 <kernel-features.h>.
39370 [__ASSUME_32BITUIDS]: Make code unconditional.
39371 [!__ASSUME_32BITUIDS]: Remove conditional code.
39372 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39373 <kernel-features.h>.
39374 [__ASSUME_32BITUIDS]: Make code unconditional.
39375 [!__ASSUME_32BITUIDS]: Remove conditional code.
39376 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39377 <kernel-features.h>.
39378 [__ASSUME_32BITUIDS]: Make code unconditional.
39379 [!__ASSUME_32BITUIDS]: Remove conditional code.
39380 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39381 <kernel-features.h>.
39382 [__ASSUME_32BITUIDS]: Make code unconditional.
39383 [!__ASSUME_32BITUIDS]: Remove conditional code.
39384 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39385 <kernel-features.h>.
39386 [__ASSUME_32BITUIDS]: Make code unconditional.
39387 [!__ASSUME_32BITUIDS]: Remove conditional code.
39388 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39389 <kernel-features.h>.
39390 [__ASSUME_32BITUIDS]: Make code unconditional.
39391 [!__ASSUME_32BITUIDS]: Remove conditional code.
39392 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39393 <kernel-features.h>.
39394 [__ASSUME_32BITUIDS]: Make code unconditional.
39395 [!__ASSUME_32BITUIDS]: Remove conditional code.
39396 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39397 <kernel-features.h>.
39398 [__NR_setresgid] (__setresgid): Do not declare.
39399 [__ASSUME_32BITUIDS]: Make code unconditional.
39400 [!__ASSUME_32BITUIDS]: Remove conditional code.
39401 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39402 <kernel-features.h>.
39403 [__NR_setresuid] (__setresuid): Do not declare.
39404 [__ASSUME_32BITUIDS]: Make code unconditional.
39405 [!__ASSUME_32BITUIDS]: Remove conditional code.
39406 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39407 <kernel-features.h>.
39408 [__ASSUME_32BITUIDS]: Make code unconditional.
39409 [!__ASSUME_32BITUIDS]: Remove conditional code.
39410 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39411 <kernel-features.h>.
39412 [__ASSUME_32BITUIDS]: Make code unconditional.
39413 [!__ASSUME_32BITUIDS]: Remove conditional code.
39414 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39415 <kernel-features.h>.
39416 [__ASSUME_32BITUIDS]: Make code unconditional.
39417 [!__ASSUME_32BITUIDS]: Remove conditional code.
39418 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39419 <kernel-features.h>.
39420 [__ASSUME_32BITUIDS]: Make code unconditional.
39421 [!__ASSUME_32BITUIDS]: Remove conditional code.
39422 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39423 <kernel-features.h>.
39424 [__ASSUME_32BITUIDS]: Make code unconditional.
39425 [!__ASSUME_32BITUIDS]: Remove conditional code.
39426 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39427 <kernel-features.h>.
39428 [__ASSUME_32BITUIDS]: Make code unconditional.
39429 [!__ASSUME_32BITUIDS]: Remove conditional code.
39430 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39431 <kernel-features.h>.
39432 [__ASSUME_32BITUIDS]: Make code unconditional.
39433 [!__ASSUME_32BITUIDS]: Remove conditional code.
39434 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39435 <kernel-features.h>.
39436 [__ASSUME_32BITUIDS]: Make code unconditional.
39437 [!__ASSUME_32BITUIDS]: Remove conditional code.
39438 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39439 <kernel-features.h>.
39440 [__ASSUME_32BITUIDS]: Make code unconditional.
39441 [!__ASSUME_32BITUIDS]: Remove conditional code.
39442 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39443 <kernel-features.h>.
39444 [__ASSUME_32BITUIDS]: Make code unconditional.
39445 [!__ASSUME_32BITUIDS]: Remove conditional code.
39446 * sysdeps/unix/sysv/linux/kernel-features.h
39447 (__ASSUME_SETRESUID_SYSCALL): Remove.
39448 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39449 (__ASSUME_32BITUIDS): Likewise.
39450 (__ASSUME_LDT_WORKS): Likewise.
39451 (__ASSUME_O_DIRECTORY): Likewise.
39452 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39453 architecture but not kernel version.
39454 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39455 (__ASSUME_MMAP2_SYSCALL): Likewise.
39456 (__ASSUME_STAT64_SYSCALL): Likewise.
39457 (__ASSUME_IPC64): Likewise.
39458 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39459 <kernel-features.h>.
39460 [__ASSUME_32BITUIDS]: Make code unconditional.
39461 [!__ASSUME_32BITUIDS]: Remove conditional code.
39462 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39463 <kernel-features.h>.
39464 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39465 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39466 132096]: Remove conditional code.
39467 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39468 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39469 <kernel-features.h>.
39470 [__ASSUME_32BITUIDS]: Make code unconditional.
39471 [!__ASSUME_32BITUIDS]: Remove conditional code.
39472 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39473 <kernel-features.h>.
39474 [__ASSUME_32BITUIDS]: Make code unconditional.
39475 [!__ASSUME_32BITUIDS]: Remove conditional code.
39476 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39477 <kernel-features.h>.
39478 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39479 unconditional.
39480 (__setresgid): Do not declare.
39481 [__ASSUME_32BITUIDS]: Make code unconditional.
39482 [!__ASSUME_32BITUIDS]: Remove conditional code.
39483 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39484 <kernel-features.h>.
39485 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39486 unconditional.
39487 (__setresuid): Do not declare.
39488 [__ASSUME_32BITUIDS]: Make code unconditional.
39489 [!__ASSUME_32BITUIDS]: Remove conditional code.
39490 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39491 <kernel-features.h>.
39492 [__ASSUME_32BITUIDS]: Make code unconditional.
39493 [!__ASSUME_32BITUIDS]: Remove conditional code.
39494 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39495 <kernel-features.h>.
39496 [__ASSUME_32BITUIDS]: Make code unconditional.
39497 [!__ASSUME_32BITUIDS]: Remove conditional code.
39498
394992012-05-25 Richard Henderson <rth@twiddle.net>
39500
39501 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39502 dl_hwcap to ifunc resolver.
39503 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39504 elf_ifunc_invoke.
39505 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39506 dl_hwcap to ifunc resolver.
39507 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39508
395092012-05-24 Joseph Myers <joseph@codesourcery.com>
39510
39511 [BZ #14153]
39512 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39513 for |x| <= 2**-26, not 2**-57.
39514 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39515 exception.
39516
395172012-05-24 Jeff Law <law@redhat.com>
39518
39519 * stdio-common/Makefile (tests): Add bug25.
39520 * stdio-common/bug25.c: New test.
39521
395222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39523
39524 [BZ #13576]
39525 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39526 multiple of MALLOC_ALIGNMENT in size.
39527 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39528
395292012-05-24 Joseph Myers <joseph@codesourcery.com>
39530
39531 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39532 Require >= 256.
39533 (FILENAME_MAX): Use macro-int-constant.
39534 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39535 (_IOFBF): Use macro-int-constant.
39536 (_IOLBF): Likewise.
39537 (_IONBF): Likewise.
39538 (SEEK_CUR): Likewise.
39539 (SEEK_END): Likewise.
39540 (SEEK_SET): Likewise.
39541 (TMP_MAX): Likewise.
39542 (EOF): Use macro-int-constant. Require < 0.
39543 (NULL): Use macro-constant. Require == 0.
39544 (stdin): Require type to be FILE *.
39545 (stdout): Likewise.
39546 (stderr): Likewise.
39547 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39548 macro-int-constant.
39549 (EXIT_SUCCESS): Likewise.
39550 (NULL): Use macro-constant. Require == 0.
39551 (RAND_MAX): Use macro-int-constant.
39552 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39553 [C99-based standards] (strtof): Require function.
39554 [C99-based standards] (strtold): Likewise.
39555 [C99-based standards] (strtoll): Likewise.
39556 [C99-based standards] (strtoull): Likewise.
39557 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39558 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39559 [ISO || ISO99 || ISO11] (math.h): Likewise.
39560 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39561 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39563
395642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39565
39566 [BZ #14132]
39567 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39568 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39569 * intl/dgettext.c (DCGETTEXT): Likewise.
39570 * intl/gettext.c (DCGETTEXT): Likewise.
39571 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39572 * posix/regex_internal.h (gettext): Likewise.
39573 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39574 Remove declaration.
39575 * include/argz.h (__argz_count_internal)
39576 (__argz_stringify_internal): Remove declaration.
39577 (__argz_count, __argz_stringify): Declare hidden proto.
39578 * intl/dcgettext.c: Remove use of INTDEF.
39579 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39580 * string/argz-stringify.c: Likewise.
39581 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39582 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39583 Declare hidden proto.
39584 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39585 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39586 Declare hidden proto.
39587 * include/stdio.h (__asprintf_internal): Don't declare.
39588 (__asprintf): Don't define as macro. Declare hidden proto.
39589 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39590 (__fsetlocking): Declare hidden proto.
39591 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39592 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39593 hidden proto.
39594 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39595 (_IO_setlinebuf): Remove use of INTUSE.
39596 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39597 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39598 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39599 Remove declaration.
39600 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39601 (_IO_do_flush): Remove use of INTUSE.
39602 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39603 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39604 (_IO_adjust_column, _IO_least_wmarker)
39605 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39606 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39607 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39608 (_IO_default_doallocate, _IO_wdefault_doallocate)
39609 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39610 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39611 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39612 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39613 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39614 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39615 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39616 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39617 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39618 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39619 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39620 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39621 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39622 proto.
39623 (_IO_flush_all_internal, _IO_adjust_column_internal)
39624 (_IO_default_uflow_internal, _IO_default_finish_internal)
39625 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39626 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39627 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39628 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39629 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39630 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39631 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39632 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39633 (_IO_file_close_internal, _IO_file_close_it_internal)
39634 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39635 (_IO_file_init_internal, _IO_file_attach_internal)
39636 (_IO_file_fopen_internal, _IO_file_read_internal)
39637 (_IO_file_sync_internal, _IO_file_seek_internal)
39638 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39639 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39640 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39641 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39642 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39643 (_IO_list_all_internal, _IO_link_in_internal)
39644 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39645 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39646 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39647 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39648 (_IO_do_write_internal, _IO_padn_internal)
39649 (_IO_getline_info_internal, _IO_getline_internal)
39650 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39651 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39652 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39653 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39654 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39655 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39656 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39657 with libc_hidden_ver, remove use of INTUSE.
39658 * libio/genops.c: Likewise.
39659 * libio/freopen.c: Likewise.
39660 * libio/freopen64.c: Likewise.
39661 * libio/iofclose.c: Likewise.
39662 * libio/iofdopen.c: Likewise.
39663 * libio/iofflush.c: Likewise.
39664 * libio/iofflush_u.c: Likewise.
39665 * libio/iofgets.c: Likewise.
39666 * libio/iofgets_u.c: Likewise.
39667 * libio/iofopen.c: Likewise.
39668 * libio/iofopncook.c: Likewise.
39669 * libio/iofread.c: Likewise.
39670 * libio/iofread_u.c: Likewise.
39671 * libio/ioftell.c: Likewise.
39672 * libio/iofwrite.c: Likewise.
39673 * libio/iogetline.c: Likewise.
39674 * libio/iogets.c: Likewise.
39675 * libio/iogetwline.c: Likewise.
39676 * libio/iopadn.c: Likewise.
39677 * libio/iopopen.c: Likewise.
39678 * libio/ioseekoff.c: Likewise.
39679 * libio/ioseekpos.c: Likewise.
39680 * libio/iosetbuffer.c: Likewise.
39681 * libio/iosetvbuf.c: Likewise.
39682 * libio/ioungetc.c: Likewise.
39683 * libio/ioungetwc.c: Likewise.
39684 * libio/iovdprintf.c: Likewise.
39685 * libio/iovsprintf.c: Likewise.
39686 * libio/iovsscanf.c: Likewise.
39687 * libio/memstream.c: Likewise.
39688 * libio/obprintf.c: Likewise.
39689 * libio/oldfileops.c: Likewise.
39690 * libio/oldiofclose.c: Likewise.
39691 * libio/oldiofdopen.c: Likewise.
39692 * libio/oldiofopen.c: Likewise.
39693 * libio/oldiopopen.c: Likewise.
39694 * libio/oldstdfiles.c: Likewise.
39695 * libio/putc.c: Likewise.
39696 * libio/setbuf.c: Likewise.
39697 * libio/setlinebuf.c: Likewise.
39698 * libio/stdfiles.c: Likewise.
39699 * libio/strops.c: Likewise.
39700 * libio/vasprintf.c: Likewise.
39701 * libio/vscanf.c: Likewise.
39702 * libio/vsnprintf.c: Likewise.
39703 * libio/vswprintf.c: Likewise.
39704 * libio/wfiledoalloc.c: Likewise.
39705 * libio/wfileops.c: Likewise.
39706 * libio/wgenops.c: Likewise.
39707 * libio/wmemstream.c: Likewise.
39708 * libio/wstrops.c: Likewise.
39709 * libio/__fpurge.c: Likewise.
39710 * libio/__fsetlocking.c: Likewise.
39711 * assert/assert.c: Likewise.
39712 * debug/fgets_chk.c: Likewise.
39713 * debug/fgets_u_chk.c: Likewise.
39714 * debug/fread_chk.c: Likewise.
39715 * debug/fread_u_chk.c: Likewise.
39716 * debug/gets_chk.c: Likewise.
39717 * debug/obprintf_chk.c: Likewise.
39718 * debug/vasprintf_chk.c: Likewise.
39719 * debug/vdprintf_chk.c: Likewise.
39720 * debug/vsnprintf_chk.c: Likewise.
39721 * debug/vsprintf_chk.c: Likewise.
39722 * malloc/mtrace.c: Likewise.
39723 * misc/error.c: Likewise.
39724 * misc/syslog.c: Likewise.
39725 * stdio-common/asprintf.c: Likewise.
39726 * stdio-common/fxprintf.c: Likewise.
39727 * stdio-common/getw.c: Likewise.
39728 * stdio-common/isoc99_fscanf.c: Likewise.
39729 * stdio-common/isoc99_scanf.c: Likewise.
39730 * stdio-common/isoc99_vfscanf.c: Likewise.
39731 * stdio-common/isoc99_vscanf.c: Likewise.
39732 * stdio-common/isoc99_vsscanf.c: Likewise.
39733 * stdio-common/printf-prs.c: Likewise.
39734 * stdio-common/printf_fp.c: Likewise.
39735 * stdio-common/printf_fphex.c: Likewise.
39736 * stdio-common/printf_size.c: Likewise.
39737 * stdio-common/putw.c: Likewise.
39738 * stdio-common/scanf.c: Likewise.
39739 * stdio-common/sprintf.c: Likewise.
39740 * stdio-common/tmpfile.c: Likewise.
39741 * stdio-common/vfprintf.c: Likewise.
39742 * stdio-common/vfscanf.c: Likewise.
39743 * stdlib/strfmon_l.c: Likewise.
39744 * sunrpc/openchild.c: Likewise.
39745 * sunrpc/xdr_stdio.c: Likewise.
39746 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39747 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39748
397492012-05-24 Roland McGrath <roland@hack.frob.com>
39750
39751 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39752
39753 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39754 in the third column, to generate for the shared library an IFUNC
39755 that uses _dl_vdso_vsym.
39756 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39757 * Makeconfig (object-suffixes-noshared): New variable.
39758
39759 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39760 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39761 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39762 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39763
39764 [BZ #14132]
39765 * include/sys/time.h (__gettimeofday): Remove macro.
39766 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39767 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39768 Remove INTDEF.
39769 (__gettimeofday): Add libc_hidden_def.
39770 (gettimeofday): Add libc_hidden_weak.
39771 * sysdeps/mach/gettimeofday.c: Likewise.
39772 * sysdeps/posix/gettimeofday.c: Likewise.
39773 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39774 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39775 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39776 (__gettimeofday_internal): Remove strong_alias.
39777 (__gettimeofday): Add libc_hidden_def.
39778 (gettimeofday): Add libc_hidden_weak.
39779 * sysdeps/unix/syscalls.list (gettimeofday):
39780 Remove __gettimeofday_internal alias.
39781
397822012-05-24 Daniel Jacobowitz <drow@false.org>
39783 H.J. Lu <hongjiu.lu@intel.com>
39784
39785 [BZ #12495]
39786 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39787 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39788 (largebin_index_32_big): New.
39789 (largebin_index): Use it for 16-byte alignment.
39790 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39791 correction with front_misalign.
39792
397932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39794
39795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39797 Likewise.
39798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39799 Likewise.
39800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39801 Likewise.
39802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39803 Likewise.
39804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39805 Likewise.
39806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39807 Likewise.
39808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39809 Likewise.
39810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39811 Likewise.
39812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39813 Likewise.
39814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39815 Likewise.
39816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39817 Likewise.
39818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39819 Likewise.
39820
39821 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39822 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39823
398242012-05-24 Joseph Myers <joseph@codesourcery.com>
39825
39826 [BZ #10846]
39827 [BZ #14036]
39828 * math/libm-test.inc (exp_test): Add test from bug 14036.
39829 (pow_test): Add test from bug 10846.
39830
39831 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39832 and other flags.
39833 (special_function): Do not include flags in test name.
39834 (parse_args): Likewise.
39835 * sysdeps/i386/fpu/libm-test-ulps: Update.
39836 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39837 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39838 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39840
39841 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39842 exceptions.
39843 * math/libm-test.inc ("Philosophy"): Update comment about
39844 exception testing.
39845 (UNDERFLOW_EXCEPTION): New macro.
39846 (UNDERFLOW_EXCEPTION_OK): Likewise.
39847 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39848 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39849 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39850 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39851 (INVALID_EXCEPTION_OK): Update value.
39852 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39853 (OVERFLOW_EXCEPTION_OK): Likewise.
39854 (IGNORE_ZERO_INF_SIGN): Likewise.
39855 (test_exceptions): Handle underflow exceptions.
39856 (acos_test): Update for underflow exception expectations.
39857 (cexp_test): Likewise.
39858 (clog_test): Likewise.
39859 (clog10_test): Likewise.
39860 (csqrt_test): Likewise.
39861 (ctan_test): Likewise.
39862 (ctanh_test): Likewise.
39863 (exp_test): Likewise.
39864 (exp10_test): Likewise.
39865 (exp2_test): Likewise.
39866 (expm1_test): Likewise.
39867 (fma_test): Likewise.
39868 (j0_test): Likewise.
39869 (jn_test): Likewise.
39870 (nexttoward_test): Likewise.
39871 (pow_test): Likewise.
39872 (scalbn_test): Likewise.
39873 (scalbln_test): Likewise.
39874 (tan_test): Likewise.
39875 (y1_test): Likewise.
39876 * sysdeps/i386/fpu/libm-test-ulps: Update.
39877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39878
398792012-05-23 David S. Miller <davem@davemloft.net>
39880
39881 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39882 (__libc_sigaction): Remove unused local variables.
39883
398842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39885
39886 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39887
398882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39889
39890 mktime: avoid signed integer overflow
39891 * time/mktime.c (__mktime_internal): Do not mishandle the case
39892 where diff == INT_MIN.
39893
39894 mktime: simplify computation of average
39895 * time/mktime.c (ranged_convert): Use new time_t_avg function
39896 instead of rolling our own (probably-slower) code.
39897
39898 mktime: do not assume signed right shift propagates sign bit
39899 * time/mktime.c (isdst_differ): New static function.
39900 (__mktime_internal): No need to normalize tm_isdst now.
39901 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39902 tm_isdst values.
39903
39904 mktime: merge another wrapv change from gnulib
39905 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39906 from some compilers.
39907
39908 mktime: remove incorrect attempt at unusual arithmetics
39909 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39910 The code didn't really work on such machines anyway.
39911 (TYPE_MINIMUM): Assume two's complement.
39912 (twos_complement_arithmetic): Verify that long_int and time_t
39913 are two's complement (or unsigned, in the latter case).
39914
39915 mktime: check signed shifts on long_int and time_t, too
39916 * time/mktime.c (SHR): Check that shifts work as desired
39917 on the types long_int and time_t too, as SHR is used on
39918 such types.
39919
39920 mktime: do not assume 'long' is wide enough
39921 * time/mktime.c (verify): Move decl up.
39922 (long_int): New type.
39923 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39924 to remove assumption in the code that 'long' is wide enough to
39925 store year values. This assumption is not true on x32 and on
39926 some non-glibc platforms.
39927
39928 mktime: merge wrapv change from gnulib
39929 * time/mktime.c (WRAPV): New macro.
39930 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39931 (guess_time_tm, __mktime_internal): Do not assume that signed
39932 integer overflow wraps around; modern compilers generate code
39933 where this assumption is no longer valid.
39934
399352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39936
39937 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39938 Replace "jmp L(pseudo_end)" with "ret".
39939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39940 Likewise.
39941
399422012-05-23 Andreas Jaeger <aj@suse.de>
39943
39944 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39945 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39946
399472012-05-23 Andreas Jaeger <aj@suse.de>
39948 Maximilian Attems <max@stro.at>
39949
39950 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39951 New macros.
39952
399532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39954
39955 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39956 code so that pseudo_end is just ret and the stack pointer is
39957 correct also for static library in error case.
39958
399592012-05-23 Joseph Myers <joseph@codesourcery.com>
39960
39961 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39962 move to syscalls.list.
39963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39967
39968 * manual/install.texi (Running make install): Do not mention Linux
39969 kernel version for which pt_chown is not needed.
39970 (Linux): Do not mention problems with nscd with 2.0 kernels.
39971 * INSTALL: Regenerated.
39972
399732012-05-23 Andreas Jaeger <aj@suse.de>
39974
39975 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39976 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39977 macro.
39978 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39979 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39980 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39981 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39982 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39984 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39985 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39986 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39987 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39988 * sysdeps/unix/sysv/linux/bits/in.h
39989 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39990
399912012-05-22 Roland McGrath <roland@hack.frob.com>
39992
39993 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39994 (PREPARE_VERSION): Just use assert instead, it will be elided
39995 under [NDEBUG] anyway.
39996
399972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39998
39999 * sysdeps/unix/sysv/linux/Makefile: Include
40000 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40001 (sysdep_routines): Remove sysctl.
40002 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40003 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40004 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40005 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40006 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40007
400082012-05-22 Andreas Jaeger <aj@suse.de>
40009
40010 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40011 that pseudo_end is just ret and the stack pointer is correct also
40012 for static library in error case.
40013
400142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40015
40016 [BZ #14122]
40017 * nss/nsswitch.c (defconfig_entries): New variable.
40018 (__nss_database_lookup): Don't leak defconfig entries.
40019 (nss_parse_service_list): Don't leak on error paths.
40020 (free_database_entries): New function.
40021 (free_defconfig): New function.
40022 (free_mem): Move common code to free_database_entries.
40023
400242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40025
40026 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40027 Add arch_prctl.
40028 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40029
40030 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40031 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40033 New macro.
40034 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40035 (INTERNAL_SYSCALL_TYPES): Likewise.
40036 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40037 (LOAD_REGS_TYPES_[1-6]): Likewise.
40038 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40039 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40040
400412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40042
40043 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40044 copysignl for GLIBC_2_0.
40045 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40046 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40048 logbl for GLIBC_2_0.
40049 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40050 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40051
400522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40053
40054 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40055 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40056
40057 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40058 Use "neg %eax".
40059
40060 * time/mktime.c: Update copyright years.
40061
400622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40063
40064 mktime: merge comment-quoting-style change from gnulib
40065 * time/mktime.c: Quote 'like this' in comments.
40066 The GNU coding standards suggest that we no longer quote `like this',
40067 as "`" and "'" are typically rendered asymmetrically nowadays.
40068 The typical gnulib style is to quote 'like this' when quoting
40069 code, and "like this" when quoting English.
40070
40071 * time/mktime.c (compile-command): Add "-I.".
40072
40073 mktime: merge mktime-internal.h change from gnulib
40074 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40075
40076 mktime: merge time_r change from gnulib
40077 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40078
40079 mktime: merge DEBUG change from gnulib
40080 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40081 case system <time.h> has a #define.
40082
40083 mktime: merge <sys/types.h> change from gnulib
40084 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40085 since <time.t> is now guaranteed to define time_t.
40086
40087 mktime: merge HAVE_CONFIG_H change from gnulib
40088 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40089
400902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40091
40092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40093 Use "neg %eax".
40094
40095 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40096 __rlim_t cast.
40097 (struct rusage): Use anonymous union to pad each field to
40098 __syscall_slong_t.
40099
401002012-05-21 David S. Miller <davem@davemloft.net>
40101
40102 * Makefules (o-iterator): Remove .s cases.
40103 (compile-command.s): Delete.
40104 (COMPILE.s): Delete.
40105 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40106
401072012-05-21 Joseph Myers <joseph@codesourcery.com>
40108
40109 * configure.in (libc_cv_predef_stack_protector): Only consider
40110 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40111 * configure: Regenerated.
40112
401132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40114
40115 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40116 New macro. Use R*LP on int and pointer.
40117 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40118 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40119 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40120 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40121
40122 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40123 [__WORDSIZE_TIME64_COMPAT32] instead of
40124 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40125 (struct utmp): Likewise.
40126 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40127 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40128 Renamed to ...
40129 (__WORDSIZE_TIME64_COMPAT32): This.
40130 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40131 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40132 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40133 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40134 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40135 (__WORDSIZE_TIME64_COMPAT32): New macro.
40136
401372012-05-21 Andreas Jaeger <aj@suse.de>
40138
40139 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40140 only if [SHARED]. Add prototype for __wcschr_ia32.
40141
401422012-05-21 Roland McGrath <roland@hack.frob.com>
40143
40144 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40145 of %rbp unmolested in the jmp_buf while mangling the low bits.
40146 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40147 unmolested high bits of %rbp while demangling the low bits.
40148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40149
401502012-05-21 Andreas Jaeger <aj@suse.de>
40151
40152 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40153 * sunrpc/svc_simple.c: Use it for registerrpc.
40154 * sunrpc/xcrypt.c: Use it for passwd2des.
40155
40156 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40157
401582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40159
40160 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40161 Don't define if [__SYSCALL_WORDSIZE != 32].
40162 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40163 New macro.
40164
401652012-05-21 Bruno Haible <bruno@clisp.org>
40166 Andreas Jaeger <aj@suse.de>
40167
40168 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40169 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40170 inptr and inend for must_buffer_ch.
40171 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40172 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40173 * stdio-common/Makefile (tests): Remove bug15.
40174 (bug15-ENV): Remove macro.
40175 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40176 anymore.
40177
401782012-05-19 Andreas Jaeger <aj@suse.de>
40179 Roland McGrath <roland@hack.frob.com>
40180
40181 * manual/contrib.texi: Completely rewritten. It contains now an
40182 alphabetical list of contributors and their contributions.
40183
401842012-05-21 Richard Henderson <rth@twiddle.net>
40185
40186 * misc/getauxval.c (__getauxval): Use unsigned long int.
40187 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40188 (getauxval): Use unsigned long int.
40189
401902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40191
40192 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40193
401942012-05-21 Roland McGrath <roland@hack.frob.com>
40195
40196 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40197 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40198 __alignof__ (long double).
40199
402002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40201
40202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40203
402042012-05-20 Richard Henderson <rth@twiddle.net>
40205
40206 * misc/getauxval.c: New file.
40207 * misc/sys/auxv.h: New file.
40208 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40209 (routines): Add getauxval.
40210 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40211 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40212 * elf/dl-sysdep.c (_dl_auxv): Remove.
40213 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40214 * elf/dl-support.c (_dl_auxv): New variable.
40215 (_dl_aux_init): Initialize it.
40216 * manual/startup.texi (Auxiliary Vector): New node.
40217 * sysdeps/generic/bits/hwcap.h: New file.
40218 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40219 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40220 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40221 * sysdeps/sparc/sysdep.h: ... here. Include it.
40222 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40223 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40225 Update.
40226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40227 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40234
402352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40236
40237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40238
402392012-05-19 David S. Miller <davem@davemloft.net>
40240
40241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40242
402432012-05-19 Joseph Myers <joseph@codesourcery.com>
40244
40245 [BZ #14123]
40246 * math/s_ccosh.c: Include <float.h>
40247 (__ccosh): Avoid internal overflow calculating sinh and cosh
40248 values before multiplying by sin and cos values.
40249 * math/s_ccoshf.c: Likewise.
40250 * math/s_ccoshl.c: Likewise.
40251 * math/s_csin.c: Likewise.
40252 * math/s_csinf.c: Likewise.
40253 * math/s_csinl.c: Likewise.
40254 * math/s_csinh.c: Likewise.
40255 * math/s_csinhf.c: Likewise.
40256 * math/s_csinhl.c: Likewise.
40257 * math/libm-test.inc (ccos_test): Add more tests.
40258 (ccosh_test): Likewise.
40259 (csin_test): Likewise.
40260 (csinh_test): Likewise.
40261 * sysdeps/i386/fpu/libm-test-ulps: Update.
40262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40263
402642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40265
40266 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40267 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40268
40269 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40270
402712012-05-19 Joseph Myers <joseph@codesourcery.com>
40272
40273 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40274 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40275 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40276 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40277 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40278 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40279 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40280 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40281 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40282 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40283 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40284 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40285 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40286 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40287 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40288 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40289 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40290 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40291 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40292 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40293 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40294 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40295 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40296 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40297 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40298 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40299 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40300 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40301 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40302 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40303 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40304
403052012-05-18 Andreas Jaeger <aj@suse.de>
40306
40307 * csu/.gitignore: Delete.
40308
403092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40310
40311 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40312 (timex): Use __syscall_slong_t.
40313
403142012-05-18 Andreas Jaeger <aj@suse.de>
40315 Carlos O'Donell <carlos_odonell@mentor.com>
40316
40317 * manual/install.texi (Configuring and compiling): Update
40318 description about files modified in the source directory.
40319 * INSTALL: Regenerated.
40320
403212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40322
40323 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40324 value. Use "or" to set return value to -1.
40325 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40326 negate return value.
40327
403282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40329
40330 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40331 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40332 failure if the compiler has Graphite support disabled.
40333 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40334 Likewise.
40335 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40336 (CFLAGS-memmove.c): Likewise.
40337 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40338 Likewise.
40339
403402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40341
40342 * sysdeps/x86_64/x32/_itoa.h: New file.
40343
40344 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40345 getdents system call only if kernel and user dirents have the
40346 same d_ino and d_off.
40347
40348 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40349 LLONG_MAX != LONG_MAX.
40350 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40351 (_fitoa_word): Likewise.
40352
40353 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40354 years.
40355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40356 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40357 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40358
40359 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40360 include <bits/wordsize.h>. Check __x86_64__ instead of
40361 __WORDSIZE.
40362 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40363 if __x86_64__ is defined. Use anonymous union on fpstate.
40364
40365 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40366 anonymous union.
40367
403682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40369
40370 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40371 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40372 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40373 Refer to _rtld_local_ro instead of _rtld_global_ro.
40374 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40375 Likewise.
40376 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40377 Likewise.
40378 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40379 Likewise.
40380 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40381 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40382 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40383
40384 * sysdeps/powerpc/powerpc32/dl-machine.c
40385 (__elf_machine_runtime_setup) [PROF]: Don't reference
40386 _dl_prof_resolve.
40387
403882012-05-18 Andreas Jaeger <aj@suse.de>
40389
40390 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40391 function only available for GCCs before 3.4 since GCC 3.4
40392 introduced a builtin.
40393 (lrint): Likewise.
40394 (llrintf): Likewise.
40395 (llrint): Likewise.
40396 (fmaxf): Likewise.
40397 (fmax): Likewise.
40398 (fminf): Likewise.
40399 (fmin): Likewise.
40400 (rint): Likewise.
40401 (rintf): Likewise.
40402 (nearbyint): Likewise.
40403 (nearbyintf): Likewise.
40404 (ceil): Likewise.
40405 (ceilf): Likewise.
40406 (floor): Likewise.
40407 (floorf): Likewise.
40408
404092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40410
40411 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40412 on both fields and cast pointer to __syscall_ulong_t.
40413
40414 * bits/types.h (__fsword_t): New type.
40415 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40416 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40417 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40418 (__FSWORD_T_TYPE): Likewise.
40419 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40420 (__FSWORD_T_TYPE): Likewise.
40421 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40422 (__FSWORD_T_TYPE): Likewise.
40423 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40424 (__FSWORD_T_TYPE): Likewise.
40425 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40426 __SWORD_TYPE with __fsword_t.
40427 (statfs64): Likewise.
40428
404292012-05-17 David S. Miller <davem@davemloft.net>
40430
40431 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40432
404332012-05-17 Andreas Jaeger <aj@suse.de>
40434
40435 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40436 warning.
40437
404382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40439
40440 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40441
404422012-05-17 Andreas Jaeger <aj@suse.de>
40443
40444 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40445 when it is used.
40446
404472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40448
40449 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40450
404512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40452
40453 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40454 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40455
404562012-05-17 Andreas Jaeger <aj@suse.de>
40457 Carlos O'Donell <carlos_odonell@mentor.com>
40458
40459 [BZ #14059]
40460 * sysdeps/x86_64/multiarch/init-arch.h
40461 (bit_YMM_Usable): Rename to...
40462 (bit_AVX_Usable): ... this.
40463 (bit_FMA4_Usable): New macro.
40464 (bit_XMM_state): New macro.
40465 (bit_YMM_state): New macro.
40466 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40467 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40468 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40469 (CPUID_OSXSAVE): New macro.
40470 (CPUID_AVX): New macro.
40471 (CPUID_FMA4): New macro.
40472 (index_YMM_Usable): Rename to...
40473 (index_AVX_Usable): ... this.
40474 (HAS_AVX): Use HAS_ARCH_FEATURE.
40475 (HAS_FMA4): Likewise.
40476 (HAS_YMM_USABLE): Remove.
40477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40478 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40479 are present.
40480 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40481 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40482 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40483 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40484 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40485
404862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40487
40488 * math/libm-test.c: Support platforms without multiple rounding modes.
40489 * math/bug-nextafter.c: Support platforms without FP exceptions.
40490 * math/bug-nexttoward.c: Likewise.
40491 * math/test-fenv.c: Likewise.
40492 * math/test-misc.c: Likewise.
40493 * stdlib/bug-getcontext.c: Likewise.
40494
404952012-05-17 Andreas Jaeger <aj@suse.de>
40496
40497 * manual/examples/search.c (critter_cmp): Change signature to
40498 avoid warnings.
40499 * manual/string.texi (Collation Functions): Likewise.
40500
405012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40502
40503 * bits/types.h: Fold copyright years.
40504 * bits/typesizes.h: Likewise.
40505 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40506 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40507 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40509 * time/time.h: Likewise.
40510
405112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40512
40513 [BZ #208]
40514 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40515 in instead of returning them. Return void.
40516 (__libc_mallinfo): Accumulate over all arenas.
40517 (__malloc_stats): Adjust for change in int_mallinfo interface.
40518
405192012-05-16 Roland McGrath <roland@hack.frob.com>
40520
40521 [BZ #10375]
40522 * configure.in (NM): Add AC_CHECK_TOOL for it.
40523 (libc_extra_cflags): New substituted variable.
40524 Check for -fstack-protector being used implicitly.
40525 * configure: Regenerated.
40526 * config.make.in (config-extra-cflags): New variable,
40527 gets @libc_extra_cflags@.
40528 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40529
40530 [BZ #10375]
40531 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40532 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40533 * configure: Regenerated.
40534 * config.make.in (CPPUNDEFS): New substituted variable.
40535 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40536 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40537 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40538
405392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40540
40541 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40542 (mq_attr): Use __syscall_slong_t.
40543
405442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40545
40546 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40547 Check __x86_64__ instead of __WORDSIZE.
40548 (_STAT_VER_LINUX): Likewise.
40549 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40550 __syscall_ulong_t and __syscall_slong_t.
40551 (stat64): Likewise.
40552
405532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40554
40555 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40556
405572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40558
40559 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40560
405612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40562
40563 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40564 __syscall_ulong_t.
40565
40566 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40567 include <bits/wordsize.h>. Check __x86_64__ instead of
40568 __WORDSIZE.
40569 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40570 defined.
40571 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40572
40573 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40574 include <bits/wordsize.h>. Check __x86_64__ instead of
40575 __WORDSIZE.
40576 (user_regs_struct): Use "__extension__ unsigned long long"
40577 instead of "unsigned long" if __x86_64__ is defined.
40578 (user): Likewise. Pad after pointer field if __ILP32__ is
40579 defined.
40580
405812012-05-16 Joseph Myers <joseph@codesourcery.com>
40582
40583 * configure.in (makeinfo): Require version 4.5 or later. Allow
40584 versions 5 to 9.
40585 * configure: Regenerated.
40586 * manual/install.texi (texinfo): Increase version requirement to
40587 4.5 or later.
40588 * INSTALL: Regenerated.
40589
40590 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40591
405922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40593
40594 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40595
40596 * sysdeps/x86_64/x32/ffs.c: New file.
40597
40598 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40599 __syscall_ulong_t.
40600 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40601 defined. Use __syscall_ulong_t.
40602 (shminfo): Use __syscall_ulong_t.
40603 (shm_info): Likewise.
40604
40605 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40606 __syscall_ulong_t.
40607
40608 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40609 <bits/wordsize.h>.
40610 (msgqnum_t): Use __syscall_ulong_t.
40611 (msglen_t): Likewise.
40612 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40613 __syscall_ulong_t.
40614
40615 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40616 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40617
40618 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40619
40620 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40621 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40622
40623 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40624 __syscall_slong_t.
40625
40626 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40627 include <bits/wordsize.h>. Check __x86_64__ instead of
40628 __WORDSIZE.
40629
40630 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40631 "unsigned long long int" if __x86_64__ is defined.
40632 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40633
40634 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40635 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40636 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40637
40638 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40639 <stdint.h>.
40640 (GET_PC): Cast to uintptr_t first.
40641 (GET_FRAME): Likewise.
40642 (GET_STACK): Likewise.
40643
40644 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40646 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40647 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40648 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40649 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40650 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40651 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40652 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40653 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40654 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40655 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40656 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40657 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40658 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40659 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40660 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40661 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40662 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40663 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40664 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40666 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40668 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40669 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40670 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40671 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40672 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40673
406742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40675
40676 * Makerules (+depfiles): Also collect depfiles from .oS in
40677 $(extra-objs).
40678 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40679 .oS, $(libnldbl-routines)).
40680
40681 * Makerules (native-compile-mkdep-flags): Define.
40682 * sunrpc/Makefile (extra-objs): Add $(addprefix
40683 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40684 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40685 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40686 calling $(make-target-directory).
40687
406882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40689
40690 * bits/types.h (__snseconds_t): Removed.
40691 * time/time.h (struct timespec): Replace __snseconds_t with
40692 __syscall_slong_t.
40693 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40694 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40695 Likewise.
40696 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40697 (__SNSECONDS_T_TYPE): Likewise.
40698 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40699 (__SNSECONDS_T_TYPE): Likewise.
40700 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40701 (__SNSECONDS_T_TYPE): Likewise.
40702
407032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40704
40705 * sysdeps/mach/hurd/bits/typesizes.h
40706 (__SYSCALL_SLONG_TYPE): New macro.
40707 (__SYSCALL_ULONG_TYPE): Likewise.
40708
407092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40710
40711 * bits/types.h (__syscall_slong_t): New type.
40712 (__syscall_ulong_t): Likewise.
40713
40714 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40715 (__SYSCALL_ULONG_TYPE): Likewise.
40716 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40717 (__SYSCALL_SLONG_TYPE): Likewise.
40718 (__SYSCALL_ULONG_TYPE): Likewise.
40719 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40720 (__SYSCALL_SLONG_TYPE): Likewise.
40721 (__SYSCALL_ULONG_TYPE): Likewise.
40722 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40723 (__SYSCALL_SLONG_TYPE): Likewise.
40724 (__SYSCALL_ULONG_TYPE): Likewise.
40725
407262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40727
40728 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40729 Add sigaltstack-offsets.sym.
40730 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40731 <sigaltstack-offsets.h>.
40732 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40733 longjmp_msg pointer.
40734 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40735 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40736 signal stack.
40737 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40738
407392012-05-15 Joseph Myers <joseph@codesourcery.com>
40740
40741 * elf/stackguard-macros.h: Remove file.
40742 * sysdeps/generic/stackguard-macros.h: New file.
40743 * sysdeps/i386/stackguard-macros.h: Likewise.
40744 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40745 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40746 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40747 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40748 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40749 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40750 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40751 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40752 <elf/stackguard-macros.h>.
40753
40754 [BZ #14109]
40755 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40756 __aligned__ in attribute.
40757 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40758 (gregset_t): Likewise.
40759
407602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40761
40762 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40763 * sysdeps/x86_64/64/Implies-after: Here. New file.
40764 * sysdeps/x86_64/x32/Implies-after: New file.
40765
407662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40767
40768 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40769 and access return value for _dl_profile_fixup. Use R10_LP to
40770 load frame size.
40771
407722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40773
40774 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40775
407762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40777
40778 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40779 * sysdeps/x86_64/x32/sysdep.h: New file.
40780
407812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40782
40783 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40784 * sysdeps/x86_64/setjmp.S: Likewise.
40785
407862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40787
40788 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40789 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40790 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40791 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40792 remove unused global constant.
40793
407942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40795
40796 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40797 include of <not-cancel.h>.
40798
407992012-05-15 Roland McGrath <roland@hack.frob.com>
40800
40801 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40802
408032012-05-15 Jeff Law <law@redhat.com>
40804 Andreas Jaeger <aj@suse.de>
40805
40806 [BZ #13594]
40807 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40808 out from...
40809 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40810 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40811 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40812 code changing __hst_map_handle.map.
40813
408142012-05-15 Roland McGrath <roland@hack.frob.com>
40815
40816 * configure.in (sysnames): Look for Implies-before and Implies-after
40817 files.
40818 * configure: Regenerated.
40819
408202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40821
40822 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40823 8-byte data alignment with LP_SIZE alignment.
40824
408252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40826
40827 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40828 into R10_LP.
40829
408302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40831
40832 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40833
408342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40835
40836 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40837 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40838 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40839 Likewise.
40840 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40841
408422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40843
40844 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40845 (stackinfo_sub_sp): Likewise.
40846
408472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40848
40849 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40850 RAX_LP.
40851
408522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40853
40854 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40855 into R*_LP.
40856
408572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40858
40859 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40860 sizes into R*_LP.
40861
408622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40863
40864 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40865
408662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40867
40868 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40869 into R11_LP and load __x86_64_shared_cache_size_half into
40870 R8_LP.
40871
408722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40873
40874 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40875 R8_LP.
40876
408772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40878
40879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40880 logb for POWER7.
40881 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40882 logbf for POWER7.
40883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40884 logbl for POWER7.
40885 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40886 powerpc32/power7/fpu/s_logb.c via #include.
40887 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40888 powerpc32/power7/fpu/s_logbf.c via #include.
40889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40890 powerpc32/power7/fpu/s_logbl.c via #include.
40891
408922012-05-15 Joseph Myers <joseph@codesourcery.com>
40893
40894 * README.libm: Remove file.
40895
408962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40897
40898 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40899 count for x32. Use R*_LP and omit operand-size suffix.
40900
409012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40902
40903 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40904 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40905 * sysdeps/x86_64/x32/shlib-versions: New file.
40906
409072012-05-14 Roland McGrath <roland@hack.frob.com>
40908
40909 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40910 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40911 Use _dl_fatal_printf instead.
40912
409132012-05-14 Joseph Myers <joseph@codesourcery.com>
40914
40915 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40916 set if not set by the user. Do not allow for being unset.
40917 * sysdeps/unix/sysv/linux/configure: Regenerated.
40918
409192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40920
40921 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40922 the `q' suffix from lea and replace .quad with ASM_ADDR.
40923
409242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40925
40926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40927 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40928 instead of $17.
40929 (PTR_DEMANGLE): Likewise.
40930
409312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40932
40933 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40934 (LP_OP): Likewise.
40935 (ASM_ADDR): Likewise.
40936 (RAX_LP): Likewise.
40937 (RBP_LP): Likewise.
40938 (RBX_LP): Likewise.
40939 (RCX_LP): Likewise.
40940 (RDI_LP): Likewise.
40941 (RSI_LP): Likewise.
40942 (RSP_LP): Likewise.
40943 (R8_LP): Likewise.
40944 (R9_LP): Likewise.
40945 (R10_LP): Likewise.
40946 (R10_LP): Likewise.
40947 (R11_LP): Likewise.
40948 (R12_LP): Likewise.
40949 (R13_LP): Likewise.
40950 (R14_LP): Likewise.
40951 (R15_LP): Likewise.
40952
409532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40954
40955 * sysdeps/x86_64/x32/dl-machine.h: New file.
40956
409572012-05-14 Andreas Jaeger <aj@suse.de>
40958
40959 * manual/Makefile (subdir): Remove export of subdir.
40960 (all): Remove target.
40961 (.PHONY): Remove all from list.
40962 (mkinstalldirs): Remove.
40963 (.PHONY): Remove installdirs from list.
40964 ($(inst_infodir)/libc.info): Use make-target-directory.
40965 (installdirs): Remove.
40966 (subdir_%): Remove.
40967 (glibc-targets): Remove.
40968 (lib): Remove.
40969 (stubs): Remove.
40970 ($(objpfx)stubs ../po/manual.pot): Remove.
40971 ($(objpfx)stamp%): Remove.
40972 (make-target-directory): Remove.
40973 (subdir_install): Remove.
40974 (routines): Remove.
40975 (aux): Remove.
40976 (sources): Remove.
40977 (objects): Remove.
40978 (headers): Remove.
40979
40980 [BZ #13750]
40981 * manual/.gitignore: Remove, it's not needed anymore.
40982 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40983 all files in it.
40984 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40985 directory.
40986 (texis): Renamed to $(objpfx)texis.
40987 (texis-path): New, contains path to generated files.
40988 (chapters.%): Use texis-path for complete path, add extra argument
40989 libc-texinfo.sh.
40990 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40991 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40992 (summary,texi, stamp-summary): Use complete path of
40993 files. Generate files in build dir.
40994 (dir-add.texi): Build in build dir.
40995 (libm-err.texi,stamp-libm-err): Likewise.
40996 (version.texi, stamp-version): Likewise.
40997 (.%c.texi): Likewise.
40998 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40999 (mostlyclean): Remove target.
41000 (realclean): Remove target.
41001 (generated): Add new variable with contents from mostlyclean and
41002 realclean, remove entries duplicated in common-mostlyclean, add
41003 stamp-libm-err and stamp-version.
41004 (generated-dirs): Add libc directory.
41005 ($(inst_infodir)/libc.info): Install files from build dir.
41006
41007 * manual/install.texi (Configuring and compiling): Adjust since
41008 the info files are not part of the tar ball anymore.
41009
410102012-05-14 Andreas Jaeger <aj@suse.de>
41011
41012 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41013 variable.
41014
410152012-05-14 Joseph Myers <joseph@codesourcery.com>
41016
41017 [BZ #13717]
41018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41019 to 2.2.0 where earlier.
41020 * sysdeps/unix/sysv/linux/configure: Regenerated.
41021 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41022 Remove conditional code.
41023 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41024 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41025 Remove conditional code.
41026 [!__NR_lchown]: Likewise.
41027 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41028 [__NR_lchown]: Likewise.
41029 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41030 comment referencing __ASSUME_LCHOWN_SYSCALL.
41031 * sysdeps/unix/sysv/linux/i386/sigaction.c
41032 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41033 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41034 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41035 Remove conditional code.
41036 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41037 (__protocol_available): Remove #if 0 code.
41038 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41039 conditional code.
41040 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41041 * sysdeps/unix/sysv/linux/kernel-features.h
41042 (__ASSUME_GETCWD_SYSCALL): Don't define.
41043 (__ASSUME_REALTIME_SIGNALS): Likewise.
41044 (__ASSUME_PREAD_SYSCALL): Likewise.
41045 (__ASSUME_PWRITE_SYSCALL): Likewise.
41046 (__ASSUME_POLL_SYSCALL): Likewise.
41047 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41048 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41049 non-SPARC.
41050 (__ASSUME_SIOCGIFNAME): Don't define.
41051 (__ASSUME_MSG_NOSIGNAL): Likewise.
41052 (__ASSUME_SENDFILE): Define unconditionally.
41053 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41054 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41055 conditional code.
41056 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41057 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41058 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41059 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41060 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41061 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41062 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41064 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41065 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41067 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41070 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41073 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41076 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41077 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41079 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41080 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41082 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41083 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41085 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41086 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41087 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41088 Remove conditional code.
41089 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41090 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41091 Remove conditional code.
41092 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41093 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41094 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41095 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41096 Remove conditional code.
41097 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41098 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41099 Remove conditional code.
41100 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41101 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41102 Remove conditional code.
41103 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41104 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41105 Remove conditional code.
41106 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41107 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41108 Remove conditional code.
41109 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41110 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41111 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41112 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41113 * sysdeps/unix/sysv/linux/sigaction.c
41114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41116 * sysdeps/unix/sysv/linux/sigpending.c
41117 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41118 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41119 * sysdeps/unix/sysv/linux/sigprocmask.c
41120 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41121 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41122 * sysdeps/unix/sysv/linux/sigsuspend.c
41123 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41124 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41125 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41126 (__libc_missing_rt_sigs): Remove.
41127 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41128 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41129 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41130 Remove conditional code.
41131 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41132 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41133 return 1.
41134 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41135 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41136 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41137 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41138
411392012-05-14 Andreas Jaeger <aj@suse.de>
41140
41141 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41142 it's not used in glibc.
41143 (__coshm1): Likewise.
41144 (__acosh1p): Likewise.
41145 (__sgn): Likewise.
41146
41147 * manual/string.texi (Copying and Concatenation): Add missing
41148 variable in concat example.
41149 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41150
411512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41152
41153 [BZ #14103]
41154 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41155 __builtin_clzl with __builtin_clzll.
41156
411572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41158
41159 [BZ #14104]
41160 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41161 libc_freeres_ptr.
41162
411632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41164
41165 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41166 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41167 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41168 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41169
411702012-05-14 Mike Frysinger <vapier@gentoo.org>
41171
41172 * NEWS: Update ia64 info.
41173
411742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41175
41176 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41177 used as bcopy.
41178
411792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41180
41181 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41182 * sysdeps/unix/syscalls.list (dup3): Likewise.
41183 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41184 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41185
411862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41187
41188 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41189 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41190
411912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41192
41193 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41194 thread pointer.
41195 (TLS_IE): Use mov/add instead of movq/addq to load thread
41196 pointer.
41197 (TLS_GD_PREFIX): New.
41198 (TLS_GD): Use it.
41199
412002012-05-11 David S. Miller <davem@davemloft.net>
41201
41202 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41203 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41204 (_FPU_SETCW): Likewise.
41205
412062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41207
41208 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41209 is 32-byte aligned.
41210
412112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41212
41213 [BZ #11837]
41214 * iconvdata/gb18030.c: Update tables.
41215 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41216 characters specially.
41217 (BODY for TO_LOOP): Add encoding of missing ranges.
41218
412192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41220
41221 [BZ #13673]
41222 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41223 * sysdeps/mach/hurd/dup3.c: Likewise.
41224 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41225 * sysdeps/powerpc/memmove.c:: Likewise.
41226
412272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41228
41229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41230 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41231
412322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41233
41234 * elf/elf.h (R_X86_64_RELATIVE64): New.
41235 (R_X86_64_NUM): Updated.
41236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41237 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41238 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41239 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41240 tst-quad1pie tst-quad2pie
41241 (modules-names): Add tst-quadmod1 tst-quadmod2.
41242 ($(objpfx)tst-quad1): New dependency.
41243 ($(objpfx)tst-quad2): Likewise.
41244 ($(objpfx)tst-quad1pie): Likewise.
41245 ($(objpfx)tst-quad2pie): Likewise.
41246 * sysdeps/x86_64/tst-quad1.c: New file.
41247 * sysdeps/x86_64/tst-quad1pie.c: New file.
41248 * sysdeps/x86_64/tst-quad2.c: Likewise.
41249 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41250 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41251 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41252 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41253 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41254
412552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41256
41257 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41258 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41259 * streams/stropts.h (t_scalar_t): Define type.
41260
41261 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41262 (_PATH_PRESERVE): Set to "/var/lib".
41263 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41264
41265 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41266 instead of int.
41267
41268 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41269 if __dir_mkfile succeeded.
41270
41271 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41272 checking for _hurd_dtablesize. Unlock it right after having
41273 finished _hurd_dtable allocation.
41274
412752012-05-10 Thomas Schwinge <thomas@schwinge.name>
41276
41277 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41278 * sysdeps/mach/hurd/configure: Regenerated.
41279 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41280 special-casing to...
41281 * sysdeps/gnu/configure.in: ... this new file.
41282 * sysdeps/unix/sysv/linux/configure: Regenerated.
41283 * sysdeps/gnu/configure: New generated file.
41284
41285 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41286 for Linux: use nsec instead of usec, as well as:
41287 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41288 members of type struct timespec.
41289 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41290 New macros.
41291 (struct stat64): Likewise.
41292 (_STATBUF_ST_NSEC): New macro.
41293 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41294
41295 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41296 __strtoul_internal rather than strtoul.
41297
412982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41299
41300 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41301 and reject them.
41302
413032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41304
41305 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41306 which preserves existing values.
41307 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41308
413092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41310
41311 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41312 TIMEOUT values. Return EINVAL for NFDS values either negative or
41313 greater than FD_SETSIZE.
41314
413152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41316
41317 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41318 allocated, call __vm_protect to finish enabling the existing space, and
41319 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41320 allocate the remainder.
41321
413222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41323
41324 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41325 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41326
413272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41328
41329 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41330 sysdeps/mach/hurd/readlink.c.
41331
41332 * posix/tst-sysconf.c (posix_options): Only use
41333 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41334 _POSIX_SYNCHRONIZED_IO when they are defined
41335 * sysdeps/mach/hurd/bits/posix_opt.h:
41336 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41337 (_XOPEN_REALTIME): Undefine macro.
41338 (_XOPEN_REALTIME_THREADS): Undefine macro.
41339 (_XOPEN_SHM): Undefine macro.
41340 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41341 macro to -1.
41342 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41343 macro to -1.
41344 (_POSIX_ASYNC_IO): Undefine macro.
41345 (_POSIX_PRIORITIZED_IO): Undefine macro.
41346 (_POSIX_SPIN_LOCKS): Define macro to -1.
41347
41348 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41349 SA_NODEFER, SA_RESETHAND.
41350 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41351 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41352 F_DUPFD_CLOEXEC.
41353
413542012-05-10 Thomas Schwinge <thomas@schwinge.name>
41355
41356 * elf/Makefile (pldd-modules): Define unconditionally.
41357
413582012-05-10 Thomas Schwinge <thomas@schwinge.name>
41359
41360 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41361
413622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41363
41364 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41365 Return ENOENT when name is empty.
41366 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41367
413682012-05-10 Thomas Schwinge <thomas@schwinge.name>
41369
41370 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41371
41372 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41373
413742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41375
41376 Fix mlock in all cases except non-readable pages.
41377 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41378 instead of VM_PROT_ALL as parameter to __vm_wire function.
41379
41380 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41381 (__mkdir): When path is `/', just fail with EEXIST.
41382 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41383
413842012-05-10 Thomas Schwinge <thomas@schwinge.name>
41385
41386 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41387 <sys/uio.h> (for writev).
41388 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41389 and <sys/param.h> (for MIN).
41390
413912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41392
41393 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41394 REQUESTED_TIME. Properly set the remaining time and return EINTR
41395 if interrupted.
41396
413972012-05-10 Thomas Schwinge <thomas@schwinge.name>
41398
41399 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41400 Depend on against $(link-rpcuserlibs).
41401
414022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41403
41404 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41405 (__libc_stack_end): Do not use attribute_relro.
41406 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41407 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41408 to libthread-provided value.
41409 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41410 attribute_relro.
41411
414122012-05-10 Thomas Schwinge <thomas@schwinge.name>
41413
41414 [BZ #3748]
41415 * bits/libc-lock.h (__libc_once_get): New macro.
41416 * sysdeps/mach/bits/libc-lock.h: Likewise.
41417 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41419 instead of using implementation details.
41420
41421 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41422 * libio/freopen.c: Likewise.
41423 * libio/freopen64.c: Likewise.
41424 * misc/syslog.c: Likewise.
41425 * nscd/connections.c: Likewise.
41426 * nscd/netgroupcache.c: Likewise.
41427 * sysdeps/posix/getcwd.c: Likewise.
41428
414292012-05-10 Roland McGrath <roland@hack.frob.com>
41430
41431 * math/w_ilogbf.c: Add #include <limits.h>.
41432
414332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41434
41435 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41436 path instead of returning without unlocking.
41437
41438 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41439 immediate-write ioctls.
41440 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41441
414422012-05-10 Thomas Schwinge <thomas@schwinge.name>
41443
41444 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41445 __builtin_frame_address instead of making assumptions about the
41446 location of the return address relative to DATA. Force early load of
41447 the return address.
41448 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41449 __builtin_frame_address.
41450
41451 dup3 for GNU Hurd.
41452 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41453 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41454 implement dup3 and do some further code clean-ups.
41455 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41456 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41457
414582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41459
41460 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41461
41462 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41463 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41464 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41465 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41466 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41467 d->port.lock.
41468
41469 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41470 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41471 when handler == SIG_ERR, not when handler != SIG_ERR.
41472
414732012-05-10 Thomas Schwinge <thomas@schwinge.name>
41474
41475 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41476 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41477 definitions.
41478
41479 accept4 for GNU Hurd.
41480 * include/sys/socket.h (__libc_accept4): New prototype.
41481 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41482 to implement __libc_accept4.
41483 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41484 __libc_accept4.
41485 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41486
41487 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41488 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41489 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41490 signal-defines.sym.
41491
414922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41493
41494 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41495
414962012-05-10 Thomas Schwinge <thomas@schwinge.name>
41497
41498 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41499 assertion on O_CLOEXEC flag.
41500 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41501 * hurd/intern-fd.c: Likewise.
41502 * hurd/port2fd.c: Likewise.
41503
415042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41505
41506 [BZ #3906]
41507 * bits/in.h (IPV6_PKTINFO): Define new macro.
41508 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41509
415102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41511
41512 [BZ #13954]
41513 [BZ #13955]
41514 [BZ #13956]
41515 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41516 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41517 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41518 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41519 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41520 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41521 * math/libm-test.inc (logb_test) : Additional logb tests.
41522
415232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41524 Andreas Jaeger <aj@suse.de>
41525
41526 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41527 * configure: Regenerated.
41528 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41529 * config.make.in (link-obsolete-rpc): New substituted variable.
41530 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41531 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41532 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41533 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41534 so that libc.a contains the symbols.
41535 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41536 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41537 * sunrpc/auth_none.c: Likewise.
41538 * sunrpc/auth_unix.c: Likewise.
41539 * sunrpc/authdes_prot.c: Likewise.
41540 * sunrpc/authuxprot.c: Likewise.
41541 * sunrpc/clnt_gen.c: Likewise.
41542 * sunrpc/clnt_perr.c: Likewise.
41543 * sunrpc/clnt_raw.c: Likewise.
41544 * sunrpc/clnt_simp.c: Likewise.
41545 * sunrpc/clnt_tcp.c: Likewise.
41546 * sunrpc/clnt_udp.c: Likewise.
41547 * sunrpc/clnt_unix.c: Likewise.
41548 * sunrpc/des_crypt.c: Likewise.
41549 * sunrpc/des_soft.c: Likewise.
41550 * sunrpc/get_myaddr.c: Likewise.
41551 * sunrpc/key_call.c: Likewise.
41552 * sunrpc/key_prot.c: Likewise.
41553 * sunrpc/netname.c: Likewise.
41554 * sunrpc/pm_getmaps.c: Likewise.
41555 * sunrpc/pm_getport.c: Likewise.
41556 * sunrpc/pmap_clnt.c: Likewise.
41557 * sunrpc/pmap_prot.c: Likewise.
41558 * sunrpc/pmap_prot2.c: Likewise.
41559 * sunrpc/pmap_rmt.c: Likewise.
41560 * sunrpc/publickey.c: Likewise.
41561 * sunrpc/rpc_cmsg.c: Likewise.
41562 * sunrpc/rpc_common.c: Likewise.
41563 * sunrpc/rpc_dtable.c: Likewise.
41564 * sunrpc/rpc_prot.c: Likewise.
41565 * sunrpc/rpc_thread.c: Likewise.
41566 * sunrpc/rtime.c: Likewise.
41567 * sunrpc/svc.c: Likewise.
41568 * sunrpc/svc_auth.c: Likewise.
41569 * sunrpc/svc_raw.c: Likewise.
41570 * sunrpc/svc_run.c: Likewise.
41571 * sunrpc/svc_tcp.c: Likewise.
41572 * sunrpc/svc_udp.c: Likewise.
41573 * sunrpc/svc_unix.c: Likewise.
41574 * sunrpc/svcauth_des.c: Likewise.
41575 * sunrpc/xcrypt.c: Likewise.
41576 * sunrpc/xdr.c: Likewise.
41577 * sunrpc/xdr_array.c: Likewise.
41578 * sunrpc/xdr_float.c: Likewise.
41579 * sunrpc/xdr_intXX_t.c: Likewise.
41580 * sunrpc/xdr_mem.c: Likewise.
41581 * sunrpc/xdr_rec.c: Likewise.
41582 * sunrpc/xdr_ref.c: Likewise.
41583 * sunrpc/xdr_sizeof.c: Likewise.
41584 * sunrpc/xdr_stdio.c: Likewise.
41585
415862012-05-10 Roland McGrath <roland@hack.frob.com>
41587
41588 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41589 change. Update copyright years.
41590
415912012-05-10 Joseph Myers <joseph@codesourcery.com>
41592
41593 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41594
415952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41596 Joseph Myers <joseph@codesourcery.com>
41597 Paul Pluzhnikov <ppluzhnikov@google.com>
41598
41599 [BZ #14012]
41600 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41601 requiring rpcgen.
41602 [cross-compiling] (extra-libs): Likewise.
41603 [cross-compiling] (extra-libs-others): Likewise.
41604 [cross-compiling] (librpcsvc-routines): Likewise.
41605 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41606 [cross-compiling] (omit-deps): Likewise.
41607 (sunrpc-CPPFLAGS): New variable.
41608 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41609 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41610 (cross-rpcgen-objs): New variable.
41611 (extra-objs): Append $(cross-rpcgen-objs).
41612 ($(cross-rpcgen-objs)): New rule.
41613 ($(objpfx)cross-rpcgen): Likewise.
41614 (rpcgen-cmd): Define to use $(built-program-file). Expand
41615 comment.
41616 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41617 ($(objpfx)x%.stmp): Likewise.
41618 * sunrpc/proto.h [IS_IN_build] (_): Define.
41619 [IS_IN_build] (_libc_intl_domainname): Likewise.
41620
416212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41622
41623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41624 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41625 and R_X86_64_TPOFF64.
41626
416272012-05-10 Joseph Myers <joseph@codesourcery.com>
41628
41629 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41630 sysdeps/unix/sysv/syscalls.list.
41631 (stime): Likewise.
41632 (utime): Likewise.
41633 * sysdeps/unix/sysv/syscalls.list: Remove file.
41634
416352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41636
41637 [BZ #3440]
41638 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41639 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41640 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41641 (__LC_IDENTIFICATION): Make these macros useful in #if
41642 expressions, as required by C99.
41643
416442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41645
41646 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41647 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41648 after this.
41649
416502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41651
41652 * stdlib/longlong.h: Updated from GCC.
41653
416542012-05-09 Andreas Jaeger <aj@suse.de>
41655
41656 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41657 default is first entry.
41658 (run_mode): Set type.
41659 (main): Remove informal message about syslog.
41660 (options): Fix typo.
41661
41662 [BZ #14053]
41663 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41664 to asm.
41665 (lrint): Likewise.
41666 (llrintf): Likewise.
41667 (llrint): Likewise.
41668 (rint): Likewise.
41669 (rintf): Likewise.
41670 (nearbyint): Likewise.
41671 (nearbyintf): Likewise.
41672
416732012-05-09 Andreas Jaeger <aj@suse.de>
41674 Pedro Alves <palves@redhat.com>
41675
41676 * nscd/nscd.c (run_mode): Use enum.
41677 (main): Cleanup coding style issue.
41678
416792012-05-09 Alexandre Oliva <aoliva@redhat.com>
41680 Andreas Jaeger <aj@suse.de>
41681
41682 * nscd/nscd.c (go_background): Replaced with...
41683 (run_mode): ... this.
41684 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41685 (options): Add -F --foreground.
41686 (main): Implement it.
41687 (parse_opt): Parse it.
41688
416892012-05-09 Andreas Jaeger <aj@suse.de>
41690
41691 [BZ #14083]
41692 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41693 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41694 -Wconversion warning.
41695 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41696 Likewise.
41697
416982012-05-09 Joseph Myers <joseph@codesourcery.com>
41699
41700 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41701 == 0.
41702 (LC_ALL): Use macro-int-constant.
41703 (LC_COLLATE): Likewise.
41704 (LC_CTYPE): Likewise.
41705 (LC_MESSAGES): Likewise.
41706 (LC_MONETARY): Likewise.
41707 (LC_NUMERIC): Likewise.
41708 (LC_TIME): Likewise.
41709 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41710 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41711 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41712 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41713 Specify type.
41714 [C99-based standards] (float_t): Expect type.
41715 [C99-based standards] (double_t): Expect type.
41716 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41717 type.
41718 [C99-based standards] (HUGE_VALL): Likewise.
41719 [C99-based standards] (INFINITY): Likewise.
41720 [C99-based standards] (NAN): Likewise.
41721 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41722 [C99-based standards] (FP_NAN): Likewise.
41723 [C99-based standards] (FP_NORMAL): Likewise.
41724 [C99-based standards] (FP_SUBNORMAL): Likewise.
41725 [C99-based standards] (FP_ZERO): Likewise.
41726 [C99-based standards] (FP_FAST_FMA): Use
41727 optional-macro-int-constant. Specify type. Require == 1.
41728 [C99-based standards] (FP_FAST_FMAF): Likewise.
41729 [C99-based standards] (FP_FAST_FMAL): Likewise.
41730 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41731 [C99-based standards] (FP_ILOGBNAN): Likewise.
41732 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41733 Specify type.
41734 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41735 [C99-based standards] (math_errhandling): Specify type.
41736 [ISO99 || ISO11] (signgam): Do not allow.
41737 [non-C99-based standards] (copysignf): Do not allow.
41738 [non-C99-based standards] (exp2f): Likewise.
41739 [non-C99-based standards] (log2f): Likewise.
41740 [non-C99-based standards] (modff): Allow.
41741 [non-C99-based standards] (erff): Do not allow.
41742 [non-C99-based standards] (erfcf): Likewise.
41743 [non-C99-based standards] (gammaf): Likewise.
41744 [non-C99-based standards] (hypotf): Likewise.
41745 [non-C99-based standards] (j0f): Likewise.
41746 [non-C99-based standards] (j1f): Likewise.
41747 [non-C99-based standards] (jnf): Likewise.
41748 [non-C99-based standards] (lgammaf): Likewise.
41749 [non-C99-based standards] (tgammaf): Likewise.
41750 [non-C99-based standards] (y0f): Likewise.
41751 [non-C99-based standards] (y1f): Likewise.
41752 [non-C99-based standards] (ynf): Likewise.
41753 [non-C99-based standards] (isnanf): Likewise.
41754 [non-C99-based standards] (acoshf): Likewise.
41755 [non-C99-based standards] (asinhf): Likewise.
41756 [non-C99-based standards] (atanhf): Likewise.
41757 [non-C99-based standards] (cbrtf): Likewise.
41758 [non-C99-based standards] (expm1f): Likewise.
41759 [non-C99-based standards] (ilogbf): Likewise.
41760 [non-C99-based standards] (log1pf): Likewise.
41761 [non-C99-based standards] (logbf): Likewise.
41762 [non-C99-based standards] (nextafterf): Likewise.
41763 [non-C99-based standards] (remainderf): Likewise.
41764 [non-C99-based standards] (rintf): Likewise.
41765 [non-C99-based standards] (scalbf): Likewise.
41766 [non-C99-based standards] (copysignl): Likewise.
41767 [non-C99-based standards] (exp2l): Likewise.
41768 [non-C99-based standards] (log2l): Likewise.
41769 [non-C99-based standards] (modfl): Allow.
41770 [non-C99-based standards] (erfl): Do not allow.
41771 [non-C99-based standards] (erfcl): Likewise.
41772 [non-C99-based standards] (gammal): Likewise.
41773 [non-C99-based standards] (hypotl): Likewise.
41774 [non-C99-based standards] (j0l): Likewise.
41775 [non-C99-based standards] (j1l): Likewise.
41776 [non-C99-based standards] (jnl): Likewise.
41777 [non-C99-based standards] (lgammal): Likewise.
41778 [non-C99-based standards] (tgammal): Likewise.
41779 [non-C99-based standards] (y0l): Likewise.
41780 [non-C99-based standards] (y1l): Likewise.
41781 [non-C99-based standards] (ynl): Likewise.
41782 [non-C99-based standards] (isnanl): Likewise.
41783 [non-C99-based standards] (acoshl): Likewise.
41784 [non-C99-based standards] (asinhl): Likewise.
41785 [non-C99-based standards] (atanhl): Likewise.
41786 [non-C99-based standards] (cbrtl): Likewise.
41787 [non-C99-based standards] (expm1l): Likewise.
41788 [non-C99-based standards] (ilogbl): Likewise.
41789 [non-C99-based standards] (log1pl): Likewise.
41790 [non-C99-based standards] (logbl): Likewise.
41791 [non-C99-based standards] (nextafterl): Likewise.
41792 [non-C99-based standards] (remainderl): Likewise.
41793 [non-C99-based standards] (rintl): Likewise.
41794 [non-C99-based standards] (scalbl): Likewise.
41795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41796 [non-C99-based standards] (FP_*): Do not allow.
41797 [C99-based standards] (FP_*): Change to
41798 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41799 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41800 allow.
41801 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41802 (SIG_ERR): Likewise.
41803 [X/Open-based standards] (SIG_HOLD): Likewise.
41804 (SIG_IGN): Likewise.
41805 (SIGABRT): Use macro-int-constant. Specify type. Require
41806 positive value.
41807 (SIGFPE): Likewise.
41808 (SIGILL): Likewise.
41809 (SIGINT): Likewise.
41810 (SIGSEGV): Likewise.
41811 (SIGTER): Likewise.
41812 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41813 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41814 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41815 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41816 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41817 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41818 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41819 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41820 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41821 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41822 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41823 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41824 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41825 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41826 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41827 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41828 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41829 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41830 [X/Open-based standards] (SIGTRAP): Likewise.
41831 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41832 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41833 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41834 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41835 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41836 allow.
41837
418382012-05-08 Ian Wienand <ianw@vmware.com>
41839
41840 [BZ #14080]
41841 * time/tzset.c (__tzset_parse_tz): Update default rules for
41842 daylight time changes in the Energy Policy Act of 2005.
41843
418442012-05-09 Andreas Jaeger <aj@suse.de>
41845
41846 [BZ #13983]
41847 * elf/ldconfig.c (parse_conf): Change string to make clear that
41848 ldconfig only issued a warning if ld.so.conf does not exist.
41849
418502012-05-08 David S. Miller <davem@davemloft.net>
41851
41852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41853 movxtod instead of popping the value on the stack.
41854
41855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41856
418572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41858
41859 * config.h.in: Add HAVE_ARM_PCS_VFP.
41860
418612012-05-08 Roland Mc Grath <roland@hack.frob.com>
41862
41863 [BZ #13979]
41864 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41865 checking but the checks are disabled for any reason.
41866
418672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41868
41869 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41870 and ELF64_R_TYPE with ELFW(R_TYPE).
41871
418722012-05-08 Joseph Myers <joseph@codesourcery.com>
41873
41874 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41875 (ulimit): Likewise.
41876
41877 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41878 (settimeofday): Likewise.
41879
418802012-05-08 Mike Frysinger <vapier@gentoo.org>
41881
41882 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41883 a struct th_u2 inside the union, and move tu_block/tu_code into
41884 a new th_u3 union of tu_block/tu_code inside of that. Move
41885 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41886 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41887 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41888 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41889 (th_stuff): Change to th_u1.tu_stuff.
41890 (th_data): Define.
41891 (th_msg): Change to th_u1.th_u2.tu_data.
41892
418932012-05-07 David S. Miller <davem@davemloft.net>
41894
41895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41896
41897 [BZ #14074]
41898 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41899 (SETUP_PIC_REG): Use it.
41900 (SETUP_PIC_REG_LEAF): Use it.
41901
419022012-05-07 Joseph Myers <joseph@codesourcery.com>
41903
41904 [BZ #13885]
41905 [BZ #13923]
41906 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41907 USE_AS_EXPM1L.
41908 (EXPL_FINITE): Likewise.
41909 (FLDLOG): Likewise.
41910 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41911 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41912 e_expl.S.
41913 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41914 USE_AS_EXPM1L.
41915 (EXPL_FINITE): Likewise.
41916 (FLDLOG): Likewise.
41917 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41918 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41919 e_expl.S.
41920 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41921 test of -max_value argument for long double.
41922 * sysdeps/i386/fpu/libm-test-ulps: Update.
41923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41924
419252012-05-06 David S. Miller <davem@davemloft.net>
41926
41927 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41928 quad soft-float symbols whose references which are compiler
41929 generated.
41930 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41931
419322012-05-06 Joseph Myers <joseph@codesourcery.com>
41933
41934 [BZ #13884]
41935 [BZ #13914]
41936 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41937 USE_AS_EXP10L.
41938 (EXPL_FINITE): Likewise.
41939 (FLDLOG): Likewise.
41940 (c0): Likewise.
41941 (c1): Likewise.
41942 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41943 Adjust comments for base varying.
41944 (__expl_finite): Change alias to EXPL_FINITE.
41945 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41946 e_expl.S.
41947 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41948 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41949 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41950 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41951 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41952 USE_AS_EXP10L.
41953 (EXPL_FINITE): Likewise.
41954 (FLDLOG): Likewise.
41955 (c0): Likewise.
41956 (c1): Likewise.
41957 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41958 Adjust comments for base varying.
41959 (__expl_finite): Change alias to EXPL_FINITE.
41960 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41961 tests for bugs.
41962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41963
41964 [BZ #14064]
41965 * math/libm-test.inc (check_float_internal): Correct ulp
41966 calculation for subnormal expected results.
41967
419682012-05-06 Andreas Jaeger <aj@suse.de>
41969
41970 * Makeconfig (+math-flags): New, set to -frounding-math.
41971 (+cflags): Add +math-flags so that all of glibc gets compiled with
41972 it.
41973
41974 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41975
419762012-05-05 Joseph Myers <joseph@codesourcery.com>
41977
41978 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41979 Disable one test.
41980
41981 [BZ #13787]
41982 [BZ #13922]
41983 [BZ #14036]
41984 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41985 (__ieee754_expl): Allow for and saturate large arguments.
41986 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41987 (u_threshold): Likewise.
41988 (__exp): Call __ieee754_exp before checking for overflow and
41989 underflow.
41990 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41991 (u_threshold): Likewise.
41992 (__expf): Call __ieee754_expf before checking for overflow and
41993 underflow.
41994 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41995 (u_threshold): Likewise.
41996 (__expl): Call __ieee754_expl before checking for overflow and
41997 underflow.
41998 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41999 (__ieee754_expl): Allow for and saturate large arguments.
42000 * math/libm-test.inc (exp_test): Add another test. Do not allow
42001 missing overflow exception on overflow.
42002 (expm1_test): Do not allow missing overflow exception on overflow.
42003
42004 * sysdeps/i386/fpu/e_expl.c: Move to ...
42005 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42006 rather than using inline asm.
42007 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42008 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42009 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42010
42011 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42012 (nice): Likewise.
42013 (poll): Likewise.
42014 (signal): Likewise.
42015 (time): Likewise.
42016 (times): Likewise.
42017
420182012-05-04 Joseph Myers <joseph@codesourcery.com>
42019
42020 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42021 sysdeps/unix/common/syscalls.list.
42022 (fchmod): Likewise.
42023 (fchown): Likewise.
42024 (ftruncate): Likewise.
42025 (getrusage): Likewise.
42026 (gettimeofday): Likewise.
42027 (setpgid): Likewise.
42028 (setregid): Likewise.
42029 (setreuid): Likewise.
42030 (sigaction): Likewise.
42031 (truncate): Likewise.
42032 (vhangup): Likewise.
42033 * sysdeps/unix/common/syscalls.list: Remove file.
42034 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42035 * sysdeps/unix/sysv/linux/Implies: Likewise.
42036
420372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42038
42039 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42041 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42042 Moved to ...
42043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42044 Here.
42045 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42046 to ...
42047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42048 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42049 to ...
42050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42051 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42052 to ...
42053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42054 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42055 to ...
42056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42057 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42058 to ...
42059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42060 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42061 to ...
42062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42063 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42064 to ...
42065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42066 Here.
42067 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42068 to ...
42069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42070 Here.
42071 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42072 to ...
42073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42074 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42075 Moved to ...
42076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42077 Here.
42078 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42079 to ...
42080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42081
420822012-05-04 Joseph Myers <joseph@codesourcery.com>
42083
42084 * sysdeps/unix/common/bits/dirent.h: Remove file.
42085 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42086
42087 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42088 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42089 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42090 * sysdeps/unix/bsd/isatty.c: Likewise.
42091 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42092 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42093 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42094
420952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42096
42097 [BZ #13563]
42098 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42099 long double comparison inaccuracies.
42100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42102
421032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42104
42105 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42107
421082012-05-04 Joseph Myers <joseph@codesourcery.com>
42109
42110 [BZ #14049]
42111 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42112 nonzero digits before rounding a hex value.
42113 * stdlib/tst-strtod.c (tests): Add another test.
42114
421152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42116
42117 * sysdeps/s390/fpu/libm-test-ulps: Update.
42118
421192012-05-03 Andreas Jaeger <aj@suse.de>
42120
42121 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42122 does not get optimized out.
42123 (malloc_opt_barrier): New.
42124
421252012-05-03 Andreas Jaeger <aj@suse.de>
42126 Roland McGrath <roland@hack.frob.com>
42127
42128 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42129 intermediate file deletion.
42130 (generated): Add .symlist files.
42131
421322012-05-03 Joseph Myers <joseph@codesourcery.com>
42133
42134 [BZ #13775]
42135 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42136 Redirect under this condition.
42137 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42138 [__USE_GNU] (__dprintf_chk): Not under this condition.
42139 [__USE_GNU] (__vdprintf_chk): Likewise.
42140 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42141 under this condition.
42142 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42143 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42144 [__USE_XOPEN2K8] (vdprintf): Likewise.
42145 [__USE_GNU] (__dprintf_chk): Not under this condition.
42146 [__USE_GNU] (__vdprintf_chk): Likewise.
42147 [__USE_GNU] (dprintf): Likewise.
42148 [__USE_GNU] (vdprintf): Likewise.
42149
421502012-05-03 Roland McGrath <roland@hack.frob.com>
42151
42152 * elf/Makefile (common-generated): Set this instead of generated for
42153 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42154 $(all-built-dso)-derived lists.
42155
421562012-05-03 Andreas Jaeger <aj@suse.de>
42157
42158 * sysdeps/i386/fpu/libm-test-ulps: Update.
42159
42160 * FAQ: Removed.
42161 * FAQ.in: Likewise.
42162 * scripts/gen-FAQ.pl: Likewise.
42163 * manual/install.texi (Installation): Point to online location of
42164 FAQ.
42165 * Makefile (files-for-dist): Remove FAQ.
42166 (FAQ): Remove.
42167
421682012-05-02 Allan McRae <allan@archlinux.org>
42169
42170 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42171 (LDFLAGS-reldepmod5.so): Likewise.
42172 (LDFLAGS-reldep6mod1.so): Likewise.
42173 (LDFLAGS-reldep6mod4.so): Likewise.
42174 (LDFLAGS-reldep8mod3.so): Likewise.
42175 (LDFLAGS-unload4mod1.so): Likewise.
42176 (LDFLAGS-unload4mod2.so): Likewise.
42177 (LDFLAGS-tst-initorder): Likewise.
42178 (LDFLAGS-tst-initordera2.so): Likewise.
42179 (LDFLAGS-tst-initordera3.so): Likewise.
42180 (LDFLAGS-tst-initordera4.so): Likewise.
42181 (LDFLAGS-tst-initorderb2.so): Likewise.
42182 (LDFLAGS-noload): Likewise.
42183 (LDFLAGS-next): Likewise.
42184 (LDFLAGS-order2mod1.so): Likewise.
42185 (LDFLAGS-order2mod2.so): Likewise.
42186 (LDFLAGS-tst-initorder2): Likewise.
42187 (LDFLAGS-tst-initorder2a.so): Likewise.
42188 (LDFLAGS-tst-initorder2b.so): Likewise.
42189 (LDFLAGS-tst-initorder2c.so): Likewise.
42190 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42191
421922012-05-02 David S. Miller <davem@davemloft.net>
42193
42194 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42195
421962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42197
42198 [BZ #14055]
42199 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42200
422012012-05-02 Andreas Jaeger <aj@suse.de>
42202
42203 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42204 since we manipulate rounding mode.
42205 (CPPFLAGS-test-idouble.c): Likewise.
42206 (CPPFLAGS-test-ifloat.c): Likewise.
42207 (CFLAGS-test-ldouble.c): Likewise.
42208 (CFLAGS-test-double.c): Likewise.
42209 (CFLAGS-test-float.c): Likewise.
42210 (CFLAGS-test-misc.c): Likewise.
42211 (CFLAGS-test-test-fenv.c): Likewise.
42212
422132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42214
42215 [BZ #2550]
42216 [BZ #2570]
42217 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42218 comparisons to determine direction to adjust input.
42219
422202012-05-01 Roland McGrath <roland@hack.frob.com>
42221
42222 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42223 output to the target.
42224
42225 * scripts/localplt.awk: New file.
42226 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42227 (check-localplt-CFLAGS): Variable removed.
42228 ($(all-built-dso:=.jmprel)): New static pattern rule.
42229 (generated): Add those targets.
42230 (localplt-built-dso): New variable.
42231 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42232
42233 * elf/check-localplt.c: File removed.
42234
42235 * scripts/check-execstack.awk: New file.
42236 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42237 (check-execstack-CFLAGS): Variable removed.
42238 ($(objpfx)check-execstack.h): Target removed.
42239 ($(objpfx)execstack-default): New target.
42240 (generated): Add that instead of check-execstack.h.
42241 ($(all-built-dso:=.phdr)): New static pattern rule.
42242 (generated): Add those targets.
42243 * elf/check-execstack.c: File removed.
42244
42245 * scripts/check-textrel.awk: New file.
42246 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42247 (check-textrel-CFLAGS): Variable removed.
42248 (all-built-dso): Use := to define.o
42249 ($(all-built-dso:=.dyn)): New static pattern rule.
42250 (generated): Add those targets.
42251 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42252 * config.make.in (READELF): New substituted variable.
42253 * elf/check-textrel.c: File removed.
42254
422552012-05-01 Joseph Myers <joseph@codesourcery.com>
42256
42257 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42258 allow.
42259 * conform/data/ctype.h-data [C99-based standards] (isblank):
42260 Expect function.
42261 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42262 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42264 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42265 Specify type. Require positive value.
42266 (EILSEQ): Likewise.
42267 (ERANGE): Likewise.
42268 [ISO || POSIX] (EILSEQ): Do not expect.
42269 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42270 Specify type. Require positive value.
42271 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42272 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42273 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42274 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42275 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42276 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42277 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42278 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42279 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42280 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42281 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42282 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42283 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42284 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42285 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42286 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42287 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42288 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42289 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42290 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42291 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42292 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42293 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42294 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42295 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42296 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42297 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42298 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42299 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42300 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42301 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42302 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42303 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42304 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42305 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42306 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42307 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42308 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42309 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42310 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42311 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42312 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42313 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42314 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42315 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42316 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42317 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42318 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42319 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42320 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42321 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42322 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42323 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42324 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42325 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42326 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42327 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42328 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42329 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42330 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42331 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42332 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42333 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42334 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42335 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42336 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42337 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42338 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42339 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42340 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42341 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42342 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42343 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42344 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42345 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42346 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42347 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42348 Require >= 2.
42349 (FLT_ROUNDS): Expect as macro, not constant.
42350 (FLT_MANT_DIG): Use macro-int-constant.
42351 (DBL_MANT_DIG): Likewise.
42352 (LDBL_MANT_DIG): Likewise.
42353 (FLT_DIG): Likewise.
42354 (DBL_DIG): Likewise.
42355 (LDBL_DIG): Likewise.
42356 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42357 (DBL_MIN_EXP): Likewise.
42358 (LDBL_MIN_EXP): Likewise.
42359 (FLT_MAX_EXP): Use macro-int-constant.
42360 (DBL_MAX_EXP): Likewise.
42361 (LDBL_MAX_EXP): Likewise.
42362 (FLT_MAX_10_EXP): Likewise.
42363 (DBL_MAX_10_EXP): Likewise.
42364 (LDBL_MAX_10_EXP): Likewise.
42365 (FLT_MAX): Use macro-constant.
42366 (DBL_MAX): Likewise.
42367 (LDBL_MAX): Likewise.
42368 (FLT_EPSILON): Use macro-constant. Give upper bound.
42369 (DBL_EPSILON): Likewise.
42370 (LDBL_EPSILON): Likewise.
42371 (FLT_MIN): Likewise.
42372 (DBL_MIN): Likewise.
42373 (LDBL_MIN): Likewise.
42374 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42375 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42376 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42377 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42378 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42379 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42380 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42381 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42382 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42383 [ISO11] (FLT_TRUE_MIN): Likewise.
42384 [ISO11] (LDBL_TRUE_MIN): Likewise.
42385 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42386 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42387 (SCHAR_MIN): Use macro-int-constant. Specify type.
42388 (SCHAR_MAX): Likewise.
42389 (UCHAR_MAX): Likewise.
42390 (CHAR_MIN): Likewise.
42391 (CHAR_MAX): Likewise.
42392 (MB_LEN_MAX): Use macro-int-constant.
42393 (SHRT_MIN): Use macro-int-constant. Specify type.
42394 (SHRT_MAX): Likewise.
42395 (USHRT_MAX): Likewise.
42396 (INT_MAX): Likewise.
42397 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42398 bound negative.
42399 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42400 bound with "U".
42401 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42402 bound with "L".
42403 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42404 bound negative. Suffix upper bound with "L".
42405 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42406 bound with "UL".
42407 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42408 Specify type.
42409 [C99-based standards] (LLONG_MAX): Likewise.
42410 [C99-based standards] (ULLONG_MAX): Likewise.
42411 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42412 == 0.
42413 [ISO11] (max_align_t): Require type.
42414 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42415
42416 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42417 from $CFLAGS, without defining away __attribute__ calls.
42418 (checknamespace): Use $CFLAGS_namespace.
42419
42420 * conform/conformtest.pl (@keywords): Only include C99 keywords
42421 for standards based on C99 or C11.
42422
42423 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42424 Disable tests.
42425 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42426 UNIX98]: Likewise.
42427
42428 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42429 usability of symbols in #if.
42430
42431 * conform/conformtest.pl: If macro or constant types start
42432 "promoted:", expect the symbol to be of the following type
42433 promoted by the integer promotions.
42434
42435 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42436 in one place. Also handle "macro-constant".
42437
42438 * conform/conformtest.pl: Only accept expected macro values with
42439 "==". Parse all "macro" lines in one place.
42440 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42441
42442 * conform/conformtest.pl: Handle braced types on "constant" lines
42443 instead of handling "typed-constant".
42444 * conform/data/signal.h-data: Use "constant" instead of
42445 "typed-constant".
42446
42447 * conform/conformtest.pl: Handle "optional-" at start of lines in
42448 one place rather than duplicating several cases. Handle each
42449 format of "macro" line with initial "optional-".
42450
42451 * conform/conformtest.pl: Only accept expected constant or
42452 optional-constant values with "==". Parse all "constant" lines in
42453 one place. Parse all "optional-constant" lines in one place.
42454 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42455 * conform/data/fmtmsg.h-data: Likewise.
42456 * conform/data/netinet/in.h-data: Likewise.
42457 * conform/data/tar.h-data: Likewise.
42458 * conform/data/limits.h-data: Use "==" form on "constant" and
42459 "optional-constant" lines.
42460
42461 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42462 Use -std=c99 for XOPEN2K.
42463 (@knownproblems): Remove.
42464 (newtoken): Don't check %isknown.
42465
42466 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42467 Do not expect macro.
42468 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42469 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42470 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42471 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42472 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42473 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42474 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42475 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42476 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42477 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42478 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42479 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42480 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42481 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42482 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42483 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42484 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42485 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42486 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42487 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42488 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42489 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42490 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42491 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42492 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42493 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42494 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42495 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42496 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42497 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42498 [XPG3] (acosh): Likewise.
42499 [XPG3] (asinh): Likewise.
42500 [XPG3] (atanh): Likewise.
42501 [XPG3] (cbrt): Likewise.
42502 [XPG3] (expm1): Likewise.
42503 [XPG3] (ilogb): Likewise.
42504 [XPG3] (log1p): Likewise.
42505 [XPG3] (logb): Likewise.
42506 [XPG3] (nextafter): Likewise.
42507 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42508 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42509 [XPG3] (remainder): Likewise.
42510 [XPG3] (rint): Likewise.
42511 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42512 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42513 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42514 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42515 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42516 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42517 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42518 [UNIX98 || XOPEN2K] (scalb): Expect.
42519 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42520 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42521 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42522 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42523 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42524 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42525 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42526 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42527 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42528 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42529 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42530 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42531 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42532 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42533 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42534 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42535 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42536 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42537 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42538 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42539 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42540 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42541 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42542 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42543 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42544 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42545 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42546 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42547 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42548 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42549 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42550 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42551 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42552 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42553 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42554 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42555 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42556 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42557 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42558 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42559 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42560 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42561 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42562 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42563 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42564 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42565 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42566 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42567 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42568 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42569 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42570 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42571 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42572 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42573 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42574 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42575 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42576 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42577 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42578 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42579 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42580 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42581 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42582 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42583 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42584 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42585 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42586 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42587 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42588 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42589 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42590 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42591 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42592 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42593 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42594 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42595 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42596 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42597 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42598 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42599 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42600 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42601 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42602 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42603 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42604 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42605 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42606 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42607 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42608 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42609 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42610 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42611 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42612 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42613 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42614 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42615 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42616 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42617 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42618 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42619 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42620 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42621 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42622 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42623 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42624 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42625 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42626 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42627 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42628 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42629 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42630 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42631 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42632 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42633 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42634 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42635 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42636 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42637 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42638 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42639 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42640 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42641 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42642 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42643 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42644 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42645 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42646 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42647 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42648 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42649 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42650 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42651 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42652 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42653 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42654 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42655 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42656
42657 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42658 _XOPEN_SOURCE_EXTENDED for XPG4.
42659
42660 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42661
42662 * Makeconfig (localtime): Remove variable.
42663 (inst_localtime-file): Likewise.
42664
426652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42666
42667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42668 Update.
42669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42670 Update.
42671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42672 Update.
42673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42674 Update.
42675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42676 Update.
42677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42678 Update.
42679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42680 Update.
42681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42682 Update.
42683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42684 Update.
42685
426862012-05-01 Joseph Myers <joseph@codesourcery.com>
42687
42688 [BZ #2550]
42689 [BZ #2570]
42690 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42691 comparisons to determine direction to adjust input.
42692 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42693 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42694 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42695 Likewise.
42696 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42697 Likewise.
42698 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42699 Likewise.
42700 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42701 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42702 Likewise.
42703 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42704 Likewise.
42705 * math/libm-test.inc (nexttoward_test): Add more tests.
42706
427072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42708
42709 [BZ #14040]
42710 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42711 in version GLIBC_2.1, not GLIBC_2.0.
42712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42713 Likewise.
42714
427152012-04-30 Joseph Myers <joseph@codesourcery.com>
42716
42717 [BZ #13942]
42718 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42719 (1 - x) * (1 + x).
42720 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42721 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42722 * math/libm-test.inc (acos_test): Add more tests.
42723 (asin_test): Likewise.
42724 * sysdeps/i386/fpu/libm-test-ulps: Update.
42725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42726
42727 [BZ #14034]
42728 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42729 of square root.
42730 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42731 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42732 * math/libm-test.inc (acos_test_tonearest): New function.
42733 (acos_test_towardzero): Likewise.
42734 (acos_test_downward): Likewise.
42735 (acos_test_upward): Likewise.
42736 (asin_test_tonearest): Likewise.
42737 (asin_test_towardzero): Likewise.
42738 (asin_test_downward): Likewise.
42739 (asin_test_upward): Likewise.
42740 (main): Call the new functions.
42741 * sysdeps/i386/fpu/libm-test-ulps: Update.
42742 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42743
42744 [BZ #13884]
42745 [BZ #13924]
42746 * math/e_exp10.c: Include <float.h>.
42747 (__ieee754_exp10): Handle underflow here rather than multiplying
42748 large negative argument by M_LN10.
42749 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42750 of __ieee754_expf.
42751 * math/e_exp10l.c: Include <float.h>.
42752 (__ieee754_exp10l): Handle underflow here rather than multiplying
42753 large negative argument by M_LN10l.
42754 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42755 spurious overflow exception on underflow.
42756
427572012-04-29 Marek Polacek <polacek@redhat.com>
42758
42759 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42760 (__fortify_function): New macro.
42761 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42762 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42763 __extern_always_inline.
42764 * libio/bits/stdio2.h: Likewise.
42765 * libio/bits/stdio.h: Likewise.
42766 * string/string.h: Likewise.
42767 * string/bits/string3.h: Likewise.
42768 * include/stdio.h: Likewise.
42769 * stdlib/bits/stdlib.h: Likewise.
42770 * stdlib/stdlib.h: Likewise.
42771 * rt/bits/mqueue2.h: Likewise.
42772 * rt/mqueue.h: Likewise.
42773 * posix/bits/unistd.h: Likewise.
42774 * posix/unistd.h: Likewise.
42775 * io/bits/poll2.h: Likewise.
42776 * io/bits/fcntl2.h: Likewise.
42777 * io/fcntl.h: Likewise.
42778 * io/sys/poll.h: Likewise.
42779 * misc/bits/syslog.h: Likewise.
42780 * misc/bits/syslog-ldbl.h: Likewise.
42781 * misc/sys/syslog.h: Likewise.
42782 * socket/bits/socket2.h: Likewise.
42783 * socket/sys/socket.h: Likewise.
42784 * debug/tst-chk1.c: Likewise.
42785 * wcsmbs/bits/wchar2.h: Likewise.
42786 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42787 * wcsmbs/wchar.h: Likewise.
42788
427892012-04-29 Andreas Jaeger <aj@suse.de>
42790
42791 * Makerules (tests): Remove enable-check-abi protection.
42792 (check-abi-warn): Remove.
42793 (check-abi-%): Remove check-abi-warn usage.
42794
42795 * configure.in: Remove check-abi configure option.
42796 * configure: Regenerated.
42797 * config.make.in (enable-check-abi): Remove.
42798
427992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42800
42801 [BZ #14033]
42802 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42803 double functions to double *_finite functions.
42804
42805 [BZ #13941]
42806 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42807 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42808 LDBL_MIN_EXP.
42809 * stdio-common/Makefile (tests): Add tst-sprintf3.
42810 * stdio-common/tst-sprintf3.c: New file.
42811
42812 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42813 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42814
428152012-04-28 Joseph Myers <joseph@codesourcery.com>
42816
42817 * conform/conformtest.pl: Remove duplicate typed-constant
42818 handling.
42819
428202012-04-28 David S. Miller <davem@davemloft.net>
42821
42822 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42823 (check-abi-%): Remove AWK script prerequisite and explicit
42824 abilist directory.
42825 (check-abi): Rewrite to just diff the symlist with the abilist.
42826 (config-tls, config-abi-config): Delete, no longer used.
42827 (update-abi-%): Remove AWK script and explicit abilist directory.
42828 (update-abi): Rewrite to simply compare and conditionally copy the
42829 symlist and the sysdep abilist file. Remove update-abi-config
42830 checks.
42831 * abilist/ld.abilist: Remove.
42832 * abilist/libBrokenLocale.abilist: Remove.
42833 * abilist/libanl.abilist: Remove.
42834 * abilist/libcrypt.abilist: Remove.
42835 * abilist/libdl.abilist: Remove.
42836 * abilist/librt.abilist: Remove.
42837 * abilist/libthread_db.abilist: Remove.
42838 * abilist/libutil.abilist: Remove.
42839 * scripts/extract-abilist.awk: Remove.
42840 * scripts/merge-abilist.awk: Remove.
42841 * sysdeps/generic/libcidn.abilist: New file.
42842 * sysdeps/generic/libnss_compat.abilist: New file.
42843 * sysdeps/generic/libnss_db.abilist: New file.
42844 * sysdeps/generic/libnss_dns.abilist: New file.
42845 * sysdeps/generic/libnss_files.abilist: New file.
42846 * sysdeps/generic/libnss_hesiod.abilist: New file.
42847 * sysdeps/generic/libnss_nis.abilist: New file.
42848 * sysdeps/generic/libnss_nisplus.abilist: New file.
42849 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42850 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42851 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42852 file.
42853 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42854 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42855 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42856 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42857 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42858 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42859 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42860 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42861 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42862 file.
42863 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42864 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42865 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42866 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42867 file.
42868 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42869 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42870 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42871 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42872 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42873 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42874 file.
42875 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42876 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42877 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42878 file.
42879 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42881 New file.
42882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42883 New file.
42884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42885 New file.
42886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42887 New file.
42888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42889 New file.
42890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42891 New file.
42892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42893 New file.
42894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42895 New file.
42896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42897 New file.
42898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42899 New file.
42900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42901 New file.
42902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42903 New file.
42904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42905 New file.
42906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42907 file.
42908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42909 New file.
42910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42911 New file.
42912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42913 file.
42914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42915 New file.
42916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42917 New file.
42918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42919 file.
42920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42921 New file.
42922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42923 New file.
42924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42925 New file.
42926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42927 New file.
42928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42929 New file.
42930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42931 New file.
42932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42934 file.
42935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42936 New file.
42937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42938 file.
42939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42940 file.
42941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42942 file.
42943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42944 file.
42945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42946 file.
42947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42948 New file.
42949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42950 file.
42951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42952 file.
42953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42954 New file.
42955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42956 file.
42957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42959 file.
42960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42961 New file.
42962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42963 file.
42964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42965 file.
42966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42967 file.
42968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42969 file.
42970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42971 file.
42972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42973 New file.
42974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42975 file.
42976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42977 file.
42978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42979 New file.
42980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42981 file.
42982 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42983 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42984 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42985 file.
42986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42987 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42988 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42989 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42990 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42991 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42992 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42993 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42994 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42995 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42998 file.
42999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43000 New file.
43001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43002 file.
43003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43004 file.
43005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43006 file.
43007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43008 file.
43009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43010 file.
43011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43012 New file.
43013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43014 New file.
43015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43016 file.
43017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43018 New file.
43019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43020 file.
43021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43023 file.
43024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43025 New file.
43026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43027 file.
43028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43029 file.
43030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43031 file.
43032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43033 file.
43034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43035 file.
43036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43037 New file.
43038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43039 New file.
43040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43041 file.
43042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43043 New file.
43044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43045 file.
43046
430472012-04-28 Joseph Myers <joseph@codesourcery.com>
43048
43049 * conform/conformtest.pl: Fix typo in handling typed-constant from
43050 allow-header.
43051
430522012-04-27 Joseph Myers <joseph@codesourcery.com>
43053
43054 * README: Cut down references to pre-2.6 Linux kernels and
43055 Linuxthreads. Update lists of configurations in libc and ports
43056 and sort alphabetically. Say "or newer" with Linux kernel version
43057 requirements.
43058
43059 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43060
430612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43062
43063 [BZ #887]
43064 * math/libm-test.inc (logb_test_downward): New test to expose
43065 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43066 rounding mode.
43067
430682012-04-27 Joseph Myers <joseph@codesourcery.com>
43069
43070 [BZ #14027]
43071 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43072 to be done.
43073 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43074 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43075
430762012-04-26 Joseph Myers <joseph@codesourcery.com>
43077
43078 * sysdeps/unix/i386/brk.S: Remove file.
43079 * sysdeps/unix/i386/dl-brk.S: Likewise.
43080 * sysdeps/unix/i386/pipe.S: Likewise.
43081 * sysdeps/unix/i386/sigreturn.S: Likewise.
43082 * sysdeps/unix/i386/syscall.S: Likewise.
43083 * sysdeps/unix/i386/vfork.S: Likewise.
43084 * sysdeps/unix/i386/wait.S: Likewise.
43085
43086 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43087 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43088
43089 * configure.in (arm*-none*): Do not allow without
43090 --enable-hacker-mode.
43091 (netbsd*): Remove case setting base_os.
43092 (386bsd*): Likewise.
43093 (freebsd*): Likewise.
43094 (bsdi*): Likewise.
43095 (osf*): Likewise.
43096 (sunos*): Likewise.
43097 (ultrix*): Likewise.
43098 (newsos*): Likewise.
43099 (dynix*): Likewise.
43100 (*bsd*): Likewise.
43101 (sysv*): Likewise.
43102 (isc*): Likewise.
43103 (esix*): Likewise.
43104 (sco*): Likewise.
43105 (minix*): Likewise.
43106 (irix4*): Likewise.
43107 (irix6*): Likewise.
43108 (solaris[2-9]*): Likewise.
43109 (none): Likewise.
43110 * configure: Regenerated.
43111
431122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43113
43114 [BZ #11521]
43115 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43116 overflow or cancellation in calculating denominator.
43117 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43119 down expression to avoid unexpected rounding in newer GCCs.
43120 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43121
431222012-04-26 David S. Miller <davem@davemloft.net>
43123
43124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43125 long-double compat symbols.
43126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43139
431402012-04-25 David S. Miller <davem@davemloft.net>
43141
43142 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43143 HWCAP_* values only after the memory barriers have been defined.
43144 (atomic_full_barrier): Define.
43145 (atomic_read_barrier): Define.
43146 (atomic_write_barrier): Define.
43147
431482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43149
43150 * shlib-versions: Add libgcc_s version information.
43151 * sysdeps/generic/libgcc_s.h: Remove.
43152 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43153 libgcc_s.h.
43154 * sysdeps/gnu/unwind-resume.c: Likewise.
43155 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43156
431572012-04-25 David S. Miller <davem@davemloft.net>
43158
43159 * sysdeps/unix/sparc/brk.S: Delete.
43160 * sysdeps/unix/sparc/dl-brk.S: Delete.
43161 * sysdeps/unix/sparc/pipe.S: Delete.
43162 * sysdeps/unix/sparc/sysdep.S: Delete.
43163 * sysdeps/unix/sparc/sysdep.h: Delete.
43164 * sysdeps/unix/sparc/vfork.S: Delete.
43165 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43166 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43167 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43168 (ret_ERRVAL, r0, r1, MOVE): Define.
43169 (JUMPTARGET): Remove.
43170 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43171 sysdeps/unix/sparc/sysdep.h
43172 (ENTRY, END): Remove.
43173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43174
431752012-04-25 Joseph Myers <joseph@codesourcery.com>
43176
43177 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43178 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43179 -DIS_IN_build.
43180
43181 * timezone/README: Update upstream location and email address for
43182 tzcode and tzdata.
43183 * timezone/zdump.c: Update from tzcode 2012b.
43184 * timezone/zic.c: Likewise.
43185
43186 * configure.in (libc_cv_as_needed): Remove test.
43187 * configure: Regenerated.
43188 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43189 conditional definition.
43190 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43191 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43192 * config.make.in (have-as-needed): Remove variable.
43193
431942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43195 Paul Pluzhnikov <ppluzhnikov@google.com>
43196
43197 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43198 strings correctly.
43199
432002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43201
43202 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43203 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43204 * sysdeps/sh/strlen.S: Likewise.
43205
432062012-04-24 Joseph Myers <joseph@codesourcery.com>
43207
43208 * sysdeps/unix/fork.S: Remove file.
43209 * sysdeps/unix/i386/fork.S: Likewise.
43210 * sysdeps/unix/sparc/fork.S: Likewise.
43211
43212 * sysdeps/unix/system.c: Remove file.
43213 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43214
43215 * sysdeps/unix/getegid.S: Remove file.
43216 * sysdeps/unix/geteuid.S: Likewise.
43217
432182012-04-24 Roland McGrath <roland@hack.frob.com>
43219
43220 * scripts/check-localplt.awk: New file.
43221 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43222 of diff.
43223 * scripts/data/localplt-generic.data: Add a comment.
43224
43225 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43226 NODE when __dir_mkfile failed.
43227 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43228 Reported by Ludovic Courtès <ludo@gnu.org>.
43229
432302012-04-24 Andreas Jaeger <aj@suse.de>
43231
43232 * Makerules (common-clean): Also remove gen-as-const-headers
43233 files.
43234
432352012-04-24 Joseph Myers <joseph@codesourcery.com>
43236
43237 * Makerules (native-compile): Do not change working directory for
43238 build. Use $(OUTPUT_OPTION) in command.
43239 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43240
432412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43242
43243 [BZ #13886]
43244 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43245 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43246 * math/libm-test.inc (floor_test): Add more tests.
43247 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43248
432492012-04-24 Joseph Myers <joseph@codesourcery.com>
43250
43251 * sysdeps/unix/getdents.c: Remove file.
43252 * sysdeps/unix/sysv/getdents.c: Likewise.
43253 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43254
43255 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43256 sysdeps/unix/mman/syscalls.list.
43257 (mmap): Likewise.
43258 (mprotect): Likewise.
43259 (msync): Likewise.
43260 (munmap): Likewise.
43261 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43262 * sysdeps/unix/mman/syscalls.list: Remove.
43263 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43264
43265 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43266 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43267 * configure: Regenerated.
43268 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43269 $(libgcc_s_suffix).
43270 * config.make.in (libgcc_s_suffix): Remove variable.
43271
432722012-04-23 Joseph Myers <joseph@codesourcery.com>
43273
43274 * sysdeps/unix/sysv/gethostname.c: Move to ...
43275 * sysdeps/posix/gethostname.c: ... here.
43276
43277 * sysdeps/unix/execve.S: Remove file.
43278
43279 * sysdeps/unix/_exit.S: Remove file.
43280
432812012-04-23 Andreas Jaeger <aj@suse.de>
43282
43283 [BZ #13739]
43284 * manual/Makefile: Remove make dist support, there's no
43285 need for a stand-alone documentation tar ball.
43286 (TEXI2DVI): Define always, it's not in Makeconfig.
43287 (dist): Removed.
43288 (tar-it): Removed.
43289 (edition): Removed.
43290 (glibc-doc-$(edition).tar): Removed
43291 (%.Z): Removed.
43292 (%.gz): Removed.
43293 (%.uu): Removed.
43294 (ETAGS): Remove, it's in Makeconfig.
43295 (move-if-change): Remove, it's in Makeconfig.
43296
432972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43298
43299 [BZ #13970]
43300 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43301 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43302 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43303 (strtod_l, strtof_l, strtold_l): Remove __wur.
43304 It is not necessarily an error to ignore strtol's return value.
43305 One can reliably look at the stored endptr to decide whether
43306 the number had valid syntax.
43307
433082012-04-21 Andreas Jaeger <aj@suse.de>
43309
43310 [BZ #13739]
43311 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43312
433132012-04-21 Joseph Myers <joseph@codesourcery.com>
43314
43315 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43316 * sysdeps/unix/sysv/Versions: Remove file.
43317
433182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43319
43320 [BZ #13927]
43321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43322
433232012-04-21 Nick Alcock <nick.alcock@oracle.com>
43324
43325 [BZ #7064]
43326 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43327 version from __vm86.
43328
433292012-04-20 Joseph Myers <joseph@codesourcery.com>
43330
43331 * sysdeps/unix/common/lxstat.c: Remove file.
43332 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43333
43334 * sysdeps/unix/sysv/Makefile: Remove file.
43335
43336 * sysdeps/unix/sysv/direct.h: Remove file.
43337
43338 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43339 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43340 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43341 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43342 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43343 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43344 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43345
43346 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43347
43348 * sysdeps/unix/xmknod.c: Remove file.
43349 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43350
43351 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43352
43353 * sysdeps/unix/sysv/i386/time.S: Remove file.
43354
43355 * sysdeps/unix/fxstat.c: Remove file.
43356 * sysdeps/unix/xstat.c: Likewise.
43357 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43358
43359 * sysdeps/unix/sysv/sigaction.c: Remove file.
43360
43361 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43362 (sysdep_headers): Remove variable.
43363 [termio.h not in sysdep_headers] (generated): Likewise.
43364 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43365 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43366 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43367 * sysdeps/unix/sysv/tcflow.c: Likewise.
43368 * sysdeps/unix/sysv/tcflush.c: Likewise.
43369 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43370 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43371 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43372 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43373 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43374
43375 * sysdeps/unix/siglist.c: Remove file.
43376
43377 * sysdeps/unix/getppid.S: Remove file.
43378
43379 * sysdeps/unix/mkdir.c: Remove file.
43380 * sysdeps/unix/rmdir.c: Likewise.
43381
433822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43383
43384 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43385 ERR_MAX value.
43386 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43387 errlist-compat value.
43388
433892012-04-18 David S. Miller <davem@davemloft.net>
43390
43391 * sysdeps/generic/memcopy.h (reg_char): Delete.
43392 * debug/strcat_chk.c: Use char, not reg_char.
43393 * debug/strcpy_chk.c: Likewise.
43394 * debug/strncat_chk.c: Likewise.
43395 * debug/strncpy_chk.c: Likewise.
43396 * string/memchr.c: Likewise.
43397 * string/memrchr.c: Likewise.
43398 * string/rawmemchr.c: Likewise.
43399 * string/strcat.c: Likewise.
43400 * string/strchr.c: Likewise.
43401 * string/strchrnul.c: Likewise.
43402 * string/strcmp.c: Likewise.
43403 * string/strcpy.c: Likewise.
43404 * string/strncat.c: Likewise.
43405 * string/strncmp.c: Likewise.
43406 * string/strncpy.c: Likewise.
43407
434082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43409
43410 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43411 __builtin_memcopy is called when src and dest ranges are known to not
43412 overlap.
43413
434142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43415
43416 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43417 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43418 fwd_align_merge macro call.
43419 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43420 bwd_align_merge macro call.
43421 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43422
434232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43424
43425 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43426 bwd_align_merge macros.
43427 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43428 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43429 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43430
434312012-04-18 David S. Miller <davem@davemloft.net>
43432
43433 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43434
434352012-04-18 Andreas Jaeger <aj@suse.de>
43436
43437 [BZ# 6794]
43438 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43439 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43440 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43441
43442 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43443 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43445
43446 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43447 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43448 Adjust for changed ldbl-128 files.
43449
43450 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43451 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43452 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43453
434542012-04-17 David S. Miller <davem@davemloft.net>
43455
43456 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43457
434582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43459
43460 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43461 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43462 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43463 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43464 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43465 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43466
434672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43468
43469 [BZ #6794]
43470 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43471 * math/libm-test.inc: Add ilogb errno and exception tests.
43472 * math/w_ilogb.c: New file: ilogb wrapper.
43473 * math/w_ilogbf.c: New file: ilogbf wrapper.
43474 * math/w_ilogbl.c: New file: ilogbl wrapper.
43475 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43476 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43477 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43478 exception being thrown with 0.0 as argument.
43479 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43480 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43481 exception being thrown with 0.0 as argument.
43482 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43483 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43484 exception being thrown with 0.0 as argument.
43485 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43486 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43487 exception being thrown with 0.0 as argument.
43488 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43489 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43490 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43491 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43492 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43493 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43494 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43495 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43496 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43497
434982012-04-17 Petr Baudis <pasky@ucw.cz>
43499
43500 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43501 with altivec.
43502
435032012-04-16 Marek Polacek <polacek@redhat.com>
43504
43505 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43506
435072012-04-16 Marek Polacek <polacek@redhat.com>
43508
43509 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43510 operands of fdivp instruction.
43511
435122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43513
43514 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43515 * elf/tst-auditmod3b.c: Likewise.
43516 * elf/tst-auditmod4b.c: Likewise.
43517 * elf/tst-auditmod5b.c: Likewise.
43518 * elf/tst-auditmod6b.c: Likewise.
43519 * elf/tst-auditmod6c.c: Likewise.
43520 * elf/tst-auditmod7b.c: Likewise.
43521 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43522 * sysdeps/x86_64/preconfigure.in: Likewise.
43523 * sysdeps/x86_64/preconfigure: Regenerated.
43524
435252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43526
43527 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43528 __ILP32__.
43529
435302012-04-13 Antoine Balestrat <merkil33@gmail.com>
43531
43532 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43533 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43534
435352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43536
43537 [BZ #13973]
43538 * locale/iso-639.def: Fix gl language name. Spotted by
43539 Yaron Shahrabani.
43540
435412012-04-12 Roland McGrath <roland@hack.frob.com>
43542
43543 [BZ #2074]
43544 * libio/libio.h (__io_write_fn): Update comment.
43545
435462012-04-12 Petr Baudis <pasky@ucw.cz>
43547
43548 [BZ #2074]
43549 * stdio.texi (Hook Functions): The user provided writer function
43550 is not allowed to return -1.
43551
435522012-04-11 David S. Miller <davem@davemloft.net>
43553
43554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43555
435562012-04-11 Mike Frysinger <vapier@gentoo.org>
43557
43558 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43559 Add a leading slash to rtkaio.
43560
435612012-04-11 Jim Meyering <meyering@redhat.com>
43562
43563 [BZ #11959]
43564 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43565 It is not necessarily an error to ignore fwrite's return
43566 value. One can reliably use ferror to test for errors after
43567 the fact.
43568
435692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43570
43571 * bits/types.h (__snseconds_t): New type.
43572 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43573
43574 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43576 (__SNSECONDS_T_TYPE): Likewise.
43577 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43578 (__SNSECONDS_T_TYPE): Likewise.
43579 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43580 (__SNSECONDS_T_TYPE): Likewise.
43581
435822012-04-10 Andreas Jaeger <aj@suse.de>
43583
43584 [BZ #2636]
43585 * manual/time.texi (Processor Time): Return type of times is
43586 elapsed real time since an arbitrary point in the past.
43587 (CPU Time): Move CLK_TCK from here...
43588 (Processor Time): ...to here. Correct description.
43589 * manual/conf.texi (Constants for Sysconf): Correct description of
43590 _SC_CLK_TCK.
43591
435922012-04-10 David S. Miller <davem@davemloft.net>
43593
43594 [BZ #13967]
43595 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43596 where the is a gap between DT_REL(A) and DT_JMPREL.
43597
435982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43599
43600 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43601 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43602 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43603
436042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43605
43606 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43607 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43608 (dl_main): Handle --inhibit-cache.
43609 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43610 _dl_inhibit_cache.
43611 * elf/dl-load.c (_dl_map_object): Use it.
43612 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43613
436142012-04-09 Joseph Myers <joseph@codesourcery.com>
43615
43616 [BZ #13872]
43617 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43618 (__ieee754_powl): Saturate large exponents rather than testing for
43619 overflow of y*log2(x).
43620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43621 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43622 exceptions.
43623
43624 [BZ #11521]
43625 * math/s_ctan.c: Include <float.h>.
43626 (__ctan): Avoid internal overflow or cancellation in calculating
43627 denominator.
43628 * math/s_ctanf.c: Likewise.
43629 * math/s_ctanl.c: Likewise.
43630 * math/s_ctanh.c: Likewise.
43631 * math/s_ctanhf.c: Likewise.
43632 * math/s_ctanhl.c: Likewise.
43633 * math/libm-test.inc (ctan_test): Add more tests.
43634 (ctanh_test): Likewise.
43635 * sysdeps/i386/fpu/libm-test-ulps: Update.
43636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43637
436382012-04-09 Andreas Jaeger <aj@suse.de>
43639
43640 [BZ #6894]
43641 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43642 is an optional BSD extension.
43643
43644 [BZ #10254]
43645 * manual/stdio.texi (Opening Streams): Document additional fopen
43646 parameters.
43647
436482012-04-09 Roland McGrath <roland@hack.frob.com>
43649
43650 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43651 %eax without telling the compiler.
43652
436532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43654
43655 [BZ # 13963]
43656 * manual/install.texi: Use sourceware.org.
43657
436582012-04-09 Joseph Myers <joseph@codesourcery.com>
43659
43660 [BZ #13873]
43661 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43662 (__ieee754_pow): Generate overflow and underflow using huge*huge
43663 and tiny*tiny rather than just returning constant infinity or zero
43664 for large exponents.
43665 * math/libm-test.inc (pow_test): Require overflow exceptions for
43666 applicable cases of large exponents.
43667
43668 [BZ #706]
43669 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43670 (__ieee754_pow): Use iterative multiplication algorithm only for
43671 integer exponents with absolute value below 1024. Check for odd
43672 integer exponents when using algorithm for real exponents.
43673 * math/libm-test.inc (pow_test): Add more tests.
43674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43675
436762012-04-08 Joseph Myers <joseph@codesourcery.com>
43677
43678 [BZ #13705]
43679 * math/libm-test.inc (exp_test): Do not allow overflow exception
43680 on underflow test.
43681
436822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43683
43684 [BZ #13705]
43685 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43686 instead of __kernel_standard_f.
43687
436882012-04-08 Mike Frysinger <vapier@gentoo.org>
43689
43690 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43691 * sysdeps/x86_64/memset_chk.S: Likewise.
43692
436932012-04-08 Andreas Jaeger <aj@suse.de>
43694
43695 [BZ #10153]
43696 * manual/startup.texi (Environment Access): Describe return value
43697 for putenv and setenv.
43698
43699 [BZ #6895]
43700 * manual/filesys.texi (Directory Entries): Add description for
43701 DT_LNK.
43702
43703 [BZ #6890]
43704 * manual/filesys.texi (Directory Entries): Clarify that it's file
43705 system not operating system in the description of DT_UNKNOWN.
43706
43707 [BZ #6578]
43708 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43709
437102012-04-08 Stephen Compall <s11@member.fsf.org>
43711
43712 [BZ #6649]
43713 * manual/llio.texi (Opening and Closing Files): Add cross
43714 reference to explain mode argument.
43715
437162012-04-07 Mike Frysinger <vapier@gentoo.org>
43717
43718 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43719 * sysdeps/x86_64/memset_chk.S: Likewise.
43720
437212012-04-07 David S. Miller <davem@davemloft.net>
43722
43723 * elf/elf.h (R_SPARC_WDISP10): Define.
43724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43725 R_SPARC_SIZE32.
43726 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43727 R_SPARC_SIZE64 and R_SPARC_H34.
43728
437292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43730
43731 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43732 conditions and remove no longer applicable assertion.
43733
437342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43735
43736 * bits/byteswap.h: Include <features.h>.
43737 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43738 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43739
437402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43741
43742 * bits/byteswap.h (__bswap_16): Removed.
43743 Include <bits/byteswap-16.h> to get __bswap_16.
43744 * sysdeps/i386/bits/byteswap.h: Likewise.
43745 * sysdeps/s390/bits/byteswap.h: Likewise.
43746 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43747 * bits/byteswap-16.h: New file.
43748 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43749 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43750 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43751 * string/Makefile (headers): Add bits/byteswap-16.h.
43752
437532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43754
43755 [BZ #13895]
43756 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43757 extra indirection.
43758 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43759 * nss/tst-nss-static.c: New.
43760
437612012-04-06 Robert Millan <rmh@gnu.org>
43762
43763 [BZ #6486]
43764 * manual/llio.texi (File Position Primitive): lseek
43765 refers to WHENCE when it really means OFFSET.
43766
437672012-04-06 Andreas Jaeger <aj@suse.de>
43768
43769 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43770 strncmp declarations.
43771
43772 * abilist/libc.abilist: Add __poll and __ppoll.
43773
437742012-04-05 David S. Miller <davem@davemloft.net>
43775
43776 * scripts/check-local-headers.sh: Accept a host triplet in the
43777 path matched by the exclude regexp.
43778
43779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43780 definition.
43781 * sysdeps/powerpc/powerpc32/dl-machine.h
43782 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43783 * sysdeps/s390/s390-32/dl-machine.h
43784 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43785 * sysdeps/sparc/sparc32/dl-machine.h
43786 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43787 * sysdeps/sparc/sparc64/dl-machine.h
43788 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43789
43790 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43791 lazy binding.
43792 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43793 undefined symbol errors.
43794
43795 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43796 DT_NEEDED entries.
43797
437982012-04-05 Michael Matz <matz@suse.de>
43799
43800 [BZ #13592]
43801 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43802
438032012-04-05 Andreas Jaeger <aj@suse.de>
43804
43805 [BZ #13908]
43806 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43807 comment.
43808
438092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43810
43811 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43812 which ROUND is no valid rounding mode.
43813
438142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43815
43816 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43817 read again.
43818 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43819
438202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43821
43822 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43823 an exception using FPU order intentionally.
43824
438252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43826
43827 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43828 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43829 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43830 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43831
438322012-04-05 Simon Josefsson <simon@josefsson.org>
43833
43834 [BZ #12340]
43835 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43836 EINVAL when BUFLEN is too smal.
43837
438382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43839
43840 [BZ #13553]
43841 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43842 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43843
438442012-04-03 Andreas Jaeger <aj@suse.de>
43845
43846 [BZ #13938]
43847 * manual/setjmp.texi (System V contexts): Fix sentence.
43848
43849 [BZ #13926]
43850 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43851 New macro for this case.
43852 [!__GNUC__] (__bswap_64): New inline function for this case.
43853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43854 * bits/byteswap.h: Likewise.
43855 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43856 ull, guard with __GLIBC_HAVE_LONG_LONG.
43857
43858 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43859 __GLIBC_HAVE_LONG_LONG.
43860
43861 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43862 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43863
438642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43865
43866 [BZ #13691]
43867 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43868 inptr and inend, rather than using last_ch.
43869
438702012-04-02 David S. Miller <davem@davemloft.net>
43871
43872 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43873 * stdio-common/printf-parse.h (read_int): Change return type to
43874 'int', return -1 on INT_MAX overflow.
43875 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43876 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43877 overflows INT_MAX. Check for overflow of in-format-string precision
43878 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43879 SIZE_MAX not INT_MAX for integer overflow test.
43880 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43881 skip the construct in the format string but do not record anything.
43882 * stdio-common/bug22.c: Adjust to test both width/prevision
43883 INT_MAX overflow as well as total length INT_MAX overflow. Check
43884 explicitly for proper errno values.
43885
438862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43887
43888 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43889 CHAR_MAX.
43890 * string/test-strcmp.c [! WIDE]: Likewise.
43891 * time/tst-mktime2.c: Likewise for INT_MAX.
43892 * string/test-string.h: #include <sys/param.h> for MIN.
43893
43894 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43895 * sysdeps/i386/init-first.c (init): Likewise.
43896 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43897 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43898 * sysdeps/sh/init-first.c (init): Likewise.
43899
439002012-04-01 Ulrich Drepper <drepper@gmail.com>
43901
43902 * po/ru.po: Update from translation team.
43903 * po/vi.po: Likewise.
43904
439052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43906
43907 * resolv/nss_dns/dns-host.c: Merge copyright years.
43908
439092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43910
43911 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43912 Optimize memcpy with prefetch if
43913 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43914 src, dst pointers have unequal 16 byte alignments.
43915
439162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43917
43918 [BZ #13928]
43919 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43920 from a CNAME entry and return the minimum ttl for the query.
43921 (gaih_getanswer_slice): Likewise.
43922
439232012-03-30 Jeff Law <law@redhat.com>
43924
43925 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43926 due to long keys.
43927 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43928 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43929
43930 * resolv/nss_dns/dns-host.c: Update copyright year.
43931
439322012-03-30 Ulrich Drepper <drepper@gmail.com>
43933
43934 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43935 requests to save a system call. Fix check that all bytes are sent.
43936
43937 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43938 comments for sendmmsg.
43939
439402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43941
43942 [BZ #13691]
43943 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43944 with only 1 character between 0x0041 and 0x01b0.
43945 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43946 * wcsmbs/tst-mbsnrtowcs.c: New file.
43947
439482012-03-29 David S. Miller <davem@davemloft.net>
43949
43950 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43951 small copies by hand.
43952
439532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43954
43955 [BZ #13761]
43956 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43957 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43958 group memberships.
43959
439602012-03-28 David S. Miller <davem@davemloft.net>
43961
43962 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43963 that branches into memcpy.
43964 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43965 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43966 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43967 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43968 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43969 bits.
43970 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43971 implementation too.
43972 * sysdeps/sparc/mempcpy.S: New file.
43973
43974 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43975 the IFUNC routine in the libc case.
43976 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43977
43978 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43979 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43980 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43981 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43982 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43983 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43984 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43985 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43986
43987 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43988 loop to 256 bytes instead of 64 bytes and fix test signedness.
43989
43990 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43991 * sysdeps/sparc/sparc32/Makefile: rather than here...
43992 * sysdeps/sparc/sparc64/Makefile: and here.
43993
439942012-03-28 Ulrich Drepper <drepper@gmail.com>
43995
43996 * malloc/mallocbug.c: Avoid warnings about unused variables.
43997
439982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43999
44000 [BZ #13760]
44001 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44002 in the right place. Discard and retry query if response is
44003 larger than input buffer size.
44004
440052012-03-28 Joseph Myers <joseph@codesourcery.com>
44006
44007 [BZ #369]
44008 [BZ #2678]
44009 [BZ #3866]
44010 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44011 x for large integer exponent.
44012 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44013 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44014 sign of result as needed afterwards.
44015 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44016 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44017 result for underflowing pow the same as for overflow.
44018 (__kernel_standard_l): Handle powl overflow and underflow here
44019 rather than calling __kernel_standard.
44020 * math/libm-test.inc (pow_test): Add more tests.
44021
44022 [BZ #3868]
44023 [BZ #13879]
44024 [BZ #13910]
44025 [BZ #13911]
44026 [BZ #13912]
44027 [BZ #13913]
44028 [BZ #13915]
44029 [BZ #13916]
44030 [BZ #13917]
44031 [BZ #13918]
44032 [BZ #13919]
44033 [BZ #13920]
44034 [BZ #13921]
44035 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44036 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44037 (__kernel_standard_l): New function.
44038 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44039 __kernel_standard.
44040 * math/w_acosl.c (__acosl): Likewise.
44041 * math/w_asinl.c (__asinl): Likewise.
44042 * math/w_atan2l.c (__atan2l): Likewise.
44043 * math/w_atanhl.c (__atanhl): Likewise.
44044 * math/w_coshl.c (__coshl): Likewise.
44045 * math/w_exp10l.c (__exp10l): Likewise.
44046 * math/w_exp2l.c (__exp2l): Likewise.
44047 * math/w_fmodl.c (__fmodl): Likewise.
44048 * math/w_hypotl.c (__hypotl): Likewise.
44049 * math/w_j0l.c (__j0l, __y0l): Likewise.
44050 * math/w_j1l.c (__j1l, __y1l): Likewise.
44051 * math/w_jnl.c (__jnl, __ynl): Likewise.
44052 * math/w_lgammal.c (__lgammal): Likewise.
44053 * math/w_log10l.c (__log10l): Likewise.
44054 * math/w_log2l.c (__log2l): Likewise.
44055 * math/w_logl.c (__logl): Likewise.
44056 * math/w_powl.c (__powl): Likewise.
44057 * math/w_remainderl.c (__remainderl): Likewise.
44058 * math/w_scalbl.c (sysv_scalbl): Likewise.
44059 * math/w_sinhl.c (__sinhl): Likewise.
44060 * math/w_sqrtl.c (__sqrtl): Likewise.
44061 * math/w_tgammal.c (__tgammal): Likewise.
44062 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44063 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44064 * math/libm-test.inc (acos_test): Add more tests.
44065 (acosh_test): Likewise.
44066 (asin_test): Likewise.
44067 (atanh_test): Likewise.
44068 (exp_test): Likewise.
44069 (exp10_test): Likewise.
44070 (exp2_test): Likewise.
44071 (expm1_test): Likewise.
44072 (lgamma_test): Likewise.
44073 (log_test): Likewise.
44074 (log10_test): Likewise.
44075 (log1p_test): Likewise.
44076 (log2_test): Likewise.
44077 (pow_test): Do not allow some spurious overflow exceptions.
44078 (sqrt_test): Add more tests.
44079 (tgamma_test): Likewise.
44080 (y0_test): Likewise.
44081 (y1_test): Likewise.
44082 (yn_test): Likewise.
44083
440842012-03-27 Anton Blanchard <anton@samba.org>
44085
44086 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44087 MAP_HUGETLB.
44088 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44089 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44091
440922012-03-27 David S. Miller <davem@davemloft.net>
44093
44094 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44095
44096 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44097 have-as-vis3 check.
44098
440992012-03-27 Andreas Jaeger <aj@suse.de>
44100
44101 * sysdeps/x86_64/elf/configure.in: Moved to ...
44102 * sysdeps/x86_64/configure.in: ... here.
44103 * sysdeps/x86_64/elf/start.S: Moved to ...
44104 * sysdeps/x86_64/start.S: ... here.
44105 * sysdeps/x86_64/elf/configure: Delete.
44106
44107 * sysdeps/x86_64/configure.in: Merge contents from
44108 sysdeps/i386/configure.in (without i686 check).
44109
44110 * sysdeps/i386/elf/Versions: Merge into ...
44111 * sysdeps/i386/Versions: ... this.
44112 * sysdeps/i386/elf/Versions: Delete file.
44113 * sysdeps/i386/elf/start.S: Moved to ...
44114 * sysdeps/i386/start.S: ...here.
44115 * sysdeps/i386/elf/configure.in: Merge into...
44116 * sysdeps/i386/configure.in: ...here.
44117 * sysdeps/i386/elf/configure.in: Delete file.
44118 * sysdeps/i386/elf/configure: Delete file.
44119
44120 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44121 * debug/backtracesyms.c: ... here.
44122 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44123 * debug/backtracesymsfd.c: ... here.
44124 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44125 * sysdeps/generic/ifunc-sel.h: ... here.
44126
44127 * sysdeps/unix/i386/start.c: Delete file.
44128 * sysdeps/unix/sparc/start.c: Delete file.
44129 * sysdeps/unix/start.c: Delete file.
44130
44131 * sysdeps/sh/elf/configure.in: Moved to ...
44132 * sysdeps/sh/configure.in: ... here.
44133 * sysdeps/sh/elf/start.S: Moved to ...
44134 * sysdeps/sh/start.S: ... here.
44135 * sysdeps/sh/elf/configure: Delete file.
44136
44137 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44138 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44139 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44140 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44141 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44142 * sysdeps/powerpc/powerpc64/start.S: here.
44143 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44144 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44145 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44146 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44147 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44148
44149 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44150 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44151 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44152 * sysdeps/powerpc/powerpc32/start.S: ... here.
44153 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44154 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44155 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44156
44157 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44158 * sysdeps/powerpc/ifunc-sel.h: ... here.
44159 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44160 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44161
44162 * sysdeps/sparc/elf/configure.in: Moved to ...
44163 * sysdeps/sparc/configure.in: ... here.
44164 * sysdeps/sparc/elf/configure: Delete file.
44165 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44166 * sysdeps/sparc/sparc32/start.S: ... here.
44167 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44168 * sysdeps/sparc/sparc64/start.S: ... here.
44169 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44170 * sysdeps/sparc/sparc32/Makefile: ... this.
44171 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44172 * sysdeps/sparc/sparc64/Makefile: ... this.
44173
44174 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44175 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44176 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44177 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44178 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44179 * sysdeps/s390/s390-32/setjmp.S: ... here.
44180 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44181 * sysdeps/s390/s390-32/configure.in: ... here.
44182 * sysdeps/s390/s390-32/elf/configure: Delete file.
44183 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44184 * sysdeps/s390/s390-32/start.S: ... here.
44185
44186 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44187 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44188 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44189 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44190 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44191 * sysdeps/s390/s390-64/setjmp.S: ... here.
44192 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44193 * sysdeps/s390/s390-64/configure.in: ... here
44194 * sysdeps/s390/s390-64/elf/configure: Delete file.
44195 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44196 * sysdeps/s390/s390-64/start.S: ... here.
44197 * sysdeps/s390/s390-64/elf/configure: Delete.
44198
44199 * configure.in: Remove support for elf directories in sysdeps.
44200
44201 * configure: Regenerated.
44202 * sysdeps/i386/configure: Regenerated.
44203 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44204 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44205 * sysdeps/s390/s390-32/configure: Regenerated.
44206 * sysdeps/s390/s390-64/configure: Regenerated.
44207 * sysdeps/sh/configure: Regenerated.
44208 * sysdeps/sparc/configure: Regenerated.
44209 * sysdeps/x86_64/configure: Regenerated.
44210
442112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44212
44213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44214
44215 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44216 denormal result into account.
44217
442182012-03-25 Roland McGrath <roland@hack.frob.com>
44219
44220 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44221 Reported by Allan McRae <allan@archlinux.org>.
44222
442232012-03-23 Jeff Law <law@redhat.com>
44224
44225 * nss/getnssent.c (__nss_getent): Fix typo.
44226
442272012-03-23 David S. Miller <davem@davemloft.net>
44228
44229 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44230
442312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44232
44233 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44234 to pad to uint64_t for each field.
44235 (dl_tls_index): Replace unsigned long with uint64_t.
44236
442372012-03-23 Daniel Jacobowitz <dmj@google.com>
44238 Paul Pluzhnikov <ppluzhnikov@google.com>
44239
44240 [BZ #6528]
44241 * grp/Makefile (otherlibs): Don't set it.
44242 * inet/Makefile (otherlibs): Likewise.
44243 * login/Makefile (otherlibs): Likewise.
44244 * nscd/Makefile (otherlibs): Likewise.
44245 * posix/Makefile (otherlibs): Likewise.
44246 * pwd/Makefile (otherlibs): Likewise.
44247 * rt/Makefile (otherlibs): Likewise.
44248 * sunrpc/Makefile (otherlibs): Likewise.
44249 * nss/Makefile (otherlibs): Likewise.
44250 Add libnss_files to routines and static-only-routines.
44251 ($(objpfx)getent): Remove rule.
44252 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44253 static-only-routines.
44254
442552012-03-22 Joseph Myers <joseph@codesourcery.com>
44256
44257 [BZ #13892]
44258 * math/s_cexp.c: Include <float.h>.
44259 (__cexp): Handle exp result overflowing not necessarily
44260 overflowing both real and imaginary parts of result.
44261 * math/s_cexpf.c: Likewise.
44262 * math/s_cexpl.c: Likewise.
44263 * math/libm-test.inc (cexp_test): Add more tests.
44264 * sysdeps/i386/fpu/libm-test-ulps: Update.
44265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44266
442672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44268
44269 * include/link.h (ELFW): New macro.
44270 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44271 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44272
442732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44274
44275 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44276 with uint64_t.
44277
442782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44279
44280 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44281 declaration.
44282 (struct La_x32_retval): Likewise.
44283
442842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44285
44286 * sysdeps/x86_64/preconfigure.in: New file.
44287 * sysdeps/x86_64/preconfigure: New generated file.
44288
442892012-03-22 Joseph Myers <joseph@codesourcery.com>
44290
44291 [BZ #13824]
44292 * math/e_exp2l.c: Include <float.h>.
44293 (__ieee754_exp2l): Handle overflow and underflow cases
44294 separately. Only pass fractional part of argument to
44295 __ieee754_expl.
44296 * math/libm-test.inc (exp2_test): Add more tests.
44297
44298 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44299 negating x to take absolute value.
44300 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44301 Likewise.
44302 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44303 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44304 Likewise.
44305 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44306 computing low part if x was negated.
44307 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44308
443092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44310
44311 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44312 la_x32_gnu_pltexit.
44313 (pltexit): Cast int_retval to ptrdiff_t.
44314 * elf/tst-auditmod3b.c: Likewise.
44315 * elf/tst-auditmod4b.c: Likewise.
44316 * elf/tst-auditmod5b.c: Likewise.
44317 * elf/tst-auditmod6b.c: Likewise.
44318 * elf/tst-auditmod6c.c: Likewise.
44319 * elf/tst-auditmod7b.c: Likewise.
44320
44321 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44322 and x32_gnu_pltexit.
44323
44324 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44325 __ELF_NATIVE_CLASS.
44326 (La_x32_regs): New macro.
44327 (La_x32_retval): Likewise.
44328 (la_x32_gnu_pltenter): New function prototype.
44329 (la_x32_gnu_pltexit): Likewise.
44330
443312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44332
44333 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44334 exponent.
44335
44336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44337
44338 * configure.in (libc_cv_cc_nofma): Check for option to disable
44339 generation of FMA instructions.
44340 * configure: Regenerate.
44341 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44342 * sysdeps/ieee754/dbl-64/Makefile: New file.
44343 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44344 Remove brandred-fma4.
44345 (CFLAGS-brandred-fma4.c): Remove.
44346 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44347 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44348 define.
44349 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44350 define.
44351
443522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44353
44354 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44355 LLONG_MAX != LONG_MAX.
44356 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44357 (_fitoa_word): Likewise.
44358 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44359 LLONG_MAX != LONG_MAX.
44360 * stdio-common/_itowa.h: Include <_itoa.h>.
44361 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44362 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44363 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44364 only if not defined.
44365 (_ITOA_WORD_TYPE): Likewise.
44366 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44367 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44368
443692012-03-21 David S. Miller <davem@davemloft.net>
44370
44371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44372
443732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44374
44375 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44376 of x86_64 when setting libc_cv_slibdir, libdir and
44377 libc_cv_localedir.
44378 * sysdeps/unix/sysv/linux/configure: Regenerated.
44379
443802012-03-21 Joseph Myers <joseph@codesourcery.com>
44381
44382 * manual/lang.texi (Old Varargs): Remove section.
44383 (How Variadic): Update menu.
44384 (va_start): Do not mention varargs.h.
44385
443862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44387 Joseph Myers <joseph@codesourcery.com>
44388
44389 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44390 link test.
44391 * configure: Regenerated.
44392
443932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44394
44395 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44396 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44397 conformtest.pl
44398
443992012-03-21 Joseph Myers <joseph@codesourcery.com>
44400
44401 * NOTES: Remove.
44402 * Makefile (files-for-dist): Remove NOTES.
44403 (NOTES): Remove rule.
44404 * README: Don't refer to NOTES.
44405 * manual/creature.texi: Don't include macros.texi.
44406 * manual/intro.texi (creature.texi): Remove comment referring to
44407 NOTES.
44408
44409 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44410 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44411 * configure: Regenerated.
44412 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44413 LIBC_TRY_CC_OPTION.
44414 (libc_cv_as_i686): Likewise.
44415 (libc_cv_cc_avx): Likewise.
44416 (libc_cv_cc_sse2avx): Likewise.
44417 (libc_cv_cc_fma4): Likewise.
44418 (libc_cv_cc_novzeroupper): Likewise.
44419 * sysdeps/i386/configure: Regenerated.
44420
44421 [BZ #13883]
44422 * sysdeps/i386/fpu/s_cexp.S: Remove.
44423 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44424 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44425 * math/libm-test.inc (cexp_test): Add more tests.
44426 * sysdeps/i386/fpu/libm-test-ulps: Update.
44427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44428
444292012-03-21 Allan McRae <allan@archlinux.org>
44430
44431 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44432
444332012-03-21 Joseph Myers <joseph@codesourcery.com>
44434
44435 [BZ #13871]
44436 * math/w_exp2.c: Do not include <float.h>.
44437 (o_threshold, u_threshold): Remove.
44438 (__exp2): Calculate result before checking finiteness and calling
44439 __kernel_standard.
44440 * math/w_exp2f.c: Likewise.
44441 * math/w_exp2l.c: Likewise.
44442 * math/libm-test.inc (exp2_test): Require overflow exception for
44443 1e6 input.
44444
44445 [BZ #3866]
44446 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44447 range of signed 64-bit integers before using fistpll. Remove
44448 checks for whether integers fit in mantissa bits.
44449 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44450 the range of signed 32-bit integers before using fistpl. Remove
44451 checks for whether integers fit in mantissa bits.
44452 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44453 (__ieee754_powl): Test for y outside the range of signed 64-bit
44454 integers before using fistpll. Reduce 64-bit values to 63-bit
44455 ones as needed.
44456 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44457 divide-by-zero is raised for zero to large negative powers.
44458 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44459 (__ieee754_powl): Test for y outside the range of signed 64-bit
44460 integers before using fistpll. Reduce 64-bit values to 63-bit
44461 ones as needed.
44462 * math/libm-test.inc (pow_test): Add more tests.
44463
444642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44465
44466 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44467 <stdio-common/_itoa.h>.
44468 * debug/segfault.c: Likewise.
44469 * elf/dl-cache.c: Likewise.
44470 * elf/dl-minimal.c: Likewise.
44471 * elf/dl-misc.c: Likewise.
44472 * elf/dl-sysdep.c: Likewise.
44473 * elf/dl-version.c: Likewise.
44474 * elf/rtld.c: Likewise.
44475 * hurd/hurdsock.c: Likewise.
44476 * hurd/lookup-retry.c: Likewise.
44477 * malloc/malloc.c: Likewise.
44478 * malloc/mtrace.c: Likewise.
44479 * nscd/nscd_getgr_r.c: Likewise.
44480 * nscd/nscd_getpw_r.c: Likewise.
44481 * nscd/nscd_getserv_r.c: Likewise.
44482 * posix/getopt_init.c: Likewise.
44483 * posix/wordexp.c: Likewise.
44484 * stdio-common/_itoa.c: Likewise.
44485 * stdio-common/printf_fphex.c: Likewise.
44486 * stdio-common/vfprintf.c: Likewise.
44487 * string/_strerror.c: Likewise.
44488 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44489 * sysdeps/i386/i686/hp-timing.h: Likewise.
44490 * sysdeps/mach/_strerror.c: Likewise.
44491 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44492 * sysdeps/mach/hurd/sethostid.c: Likewise.
44493 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44494 * sysdeps/mach/xpg-strerror.c: Likewise.
44495 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44496 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44497 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44498 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44499 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44500 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44501 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44502 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44503 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44504 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44505 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44506 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44507 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44508 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44509 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44510 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44511 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44512 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44513 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44514 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44515 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44516
44517 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44518
44519 * stdio-common/_itoa.h: Moved to ...
44520 * sysdeps/generic/_itoa.h: Here.
44521
44522 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44523
44524 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44525 instead of "_itoa.h" and "_itowa.h".
44526 * stdio-common/vfprintf.: Likewise.
44527
445282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44529
44530 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44531 <bits/wordsize.h>.
44532 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44533 (__signbit): Likwise.
44534 (llrintf): Likwise.
44535 (llrint): Likwise.
44536
445372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44538
44539 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44540 __WORDSIZE != 64.
44541
445422012-03-20 Joseph Myers <joseph@codesourcery.com>
44543
44544 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44545 OVERFLOW_EXCEPTION_OK.
44546 * math/libm-test.inc ("Philosophy"): Update comment about
44547 exception testing.
44548 (OVERFLOW_EXCEPTION): Define.
44549 (OVERFLOW_EXCEPTION_OK): Likewise.
44550 (INVALID_EXCEPTION_OK): Renumber.
44551 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44552 (IGNORE_ZERO_INF_SIGN): Likewise.
44553 (test_exceptions): Handle FE_OVERFLOW.
44554 (exp10_test): Expect overflow exceptions.
44555 (exp2_test): Likewise.
44556 (expm1_test): Likewise.
44557 (nextafter_test): Likewise.
44558 (pow_test): Likewise.
44559 (scalbn_test): Likewise.
44560 (scalbln_test): Likewise.
44561
445622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44563
44564 * sysdeps/x86_64/bits/atomic.h
44565 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44566 64bit integer.
44567 (atomic_exchange_acq): Likewise.
44568 (__arch_exchange_and_add_body): Likewise.
44569 (__arch_add_body): Likewise.
44570 (atomic_add_negative): Likewise.
44571 (atomic_add_zero): Likewise.
44572
445732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44574
44575 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44576 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44577
445782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44579
44580 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44581 Check __x86_64__ instead of __WORDSIZE.
44582
445832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44584
44585 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44586
445872012-03-19 David S. Miller <davem@davemloft.net>
44588
44589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44590
44591 * sysdeps/sparc/fpu/fenv_private.h: New file.
44592 * sysdeps/sparc/fpu/math_private.h: Use it.
44593 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44594 Remove.
44595 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44596 (libc_feholdexcept_setroundl): Remove.
44597 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44598 Remove.
44599 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44600 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44601
446022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44603
44604 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44605 int64_t instead of long int.
44606 (INSERT_WORDS64): Likwise.
44607
446082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44609
44610 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44611 _Unwind_GetCFA return to _Unwind_Ptr first.
44612
446132012-03-19 Joseph Myers <joseph@codesourcery.com>
44614
44615 [BZ #13629]
44616 * math/s_clog.c: Include <float.h>.
44617 (__clog): Scale large or subnormal inputs.
44618 * math/s_clogf.c: Likewise.
44619 * math/s_clogl.c: Likewise.
44620 * math/s_clog10.c: Include <float.h>.
44621 (M_LOG10_2): Define.
44622 (__clog10): Scale large or subnormal inputs.
44623 * math/s_clog10f.c: Likewise.
44624 * math/s_clog10l.c: Likewise.
44625 * math/libm-test.inc (clog_test): Add more tests.
44626 (clog10_test): Likewise.
44627 * sysdeps/i386/fpu/libm-test-ulps: Update.
44628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44629
44630 [BZ #11451]
44631 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44632 x and y.
44633 * math/libm-test.inc (atan2_test): Add another test.
44634
44635 * Makerules (common-objdir-compile): Remove.
44636 * sysdeps/unix/Makefile (config-generated): Do not add
44637 $(unix-generated) to variable.
44638 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44639 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44640 Remove rule.
44641 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44642 Likewise.
44643 [generic bits/local_lim.h] (before-compile): Do not append to
44644 variable.
44645 [generic bits/local_lim.h] (common-generated): Likewise.
44646 [generic sys/param.h] (before-compile): Do not append to variable.
44647 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44648 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44649 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44650 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44651 include.
44652 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44653 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44654 [generic sys/param.h] ($(addprefix
44655 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44656 [generic sys/param.h] (common-generated): Do not append to
44657 variable.
44658 [generic sys/param.h] (sysdep_headers): Likewise.
44659 [generic bits/errno.h] (before-compile): Do not append to
44660 variable.
44661 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44662 rule.
44663 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44664 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44665 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44666 [generic bits/errno.h] (common-generated): Do not append to
44667 variable.
44668 [generic bits/ioctls.h] (before-compile): Do not append to
44669 variable.
44670 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44671 rule.
44672 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44673 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44674 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44675 rule.
44676 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44677 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44678 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44679 [generic bits/ioctls.h] (common-generated): Do not append to
44680 variable.
44681 [generic sys/syscall.h] (syscall.h): Remove variable.
44682 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44683 rule.
44684 [generic sys/syscall.h] (before-compile): Do not append to
44685 variable.
44686 [generic sys/syscall.h] (common-generated): Likewise.
44687 * sysdeps/unix/errnos-tmpl.c: Remove file.
44688 * sysdeps/unix/errnos.awk: Likewise.
44689 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44690 * sysdeps/unix/ioctls.awk: Likewise.
44691 * sysdeps/unix/mk-local_lim.c: Likewise.
44692 * sysdeps/unix/snarf-ioctls: Likewise.
44693
446942012-03-19 Richard Henderson <rth@twiddle.net>
44695
44696 * sysdeps/i386/fpu/fenv_private.h: New file.
44697 * sysdeps/i386/fpu/math_private.h: Use it.
44698 (math_opt_barrier, math_force_eval): Remove.
44699 (libc_feholdexcept_setround_53bit): Remove.
44700 (libc_feupdateenv_53bit): Remove.
44701 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44702 (math_opt_barrier, math_force_eval): Remove.
44703 (libc_feholdexcept): Remove.
44704 (libc_feholdexcept_setround): Remove.
44705 (libc_fetestexcept, libc_fesetenv): Remove.
44706 (libc_feupdateenv_test): Remove.
44707 (libc_feupdateenv, libc_feholdsetround): Remove.
44708 (libc_feresetround): Remove.
44709
44710 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44711 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44712
44713 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44714 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44715 (libc_feupdateenv_testl): New.
44716 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44717 (libc_feupdateenv_testf): New.
44718 (libc_feupdateenv): Use libc_feupdateenv_test.
44719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44721
44722 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44723 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44724 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44725 (libc_feresetround_noex): New.
44726 (libc_feresetround_noexf): New.
44727 (libc_feresetround_noexl): New.
44728 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44729 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44730 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44731 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44732 SET_RESTORE_ROUND.
44733 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44735 (__cos): Likewise.
44736 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44737 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44738 SET_RESTORE_ROUND_NOEX.
44739 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44740 SET_RESTORE_ROUND_NOEXF.
44741 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44742 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44743 (libc_feholdsetroundf): New.
44744 (libc_feresetround, libc_feresetroundf): New.
44745
44746 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44747 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44748 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44749
44750 * sysdeps/generic/math_private.h: Include <fenv.h>.
44751 (default_libc_feholdexcept): New.
44752 (default_libc_feholdexcept_setround): New.
44753 (default_libc_fesetenv, default_libc_feupdateenv): New.
44754 (libc_feholdexcept): Only define if undefined.
44755 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44756 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44757 (libc_feholdexcept_setroundl): Likewise.
44758 (libc_feholdexcept_setround_53bit): Likewise.
44759 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44760 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44761 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44762 (libc_feupdateenv_53bit): Likewise.
44763 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44764 (libc_feholdexcept): Convert from macro to inline function.
44765 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44766 (libc_fesetenv, libc_feupdateenv): Likewise.
44767
44768 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44769 not previously defined.
44770 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44771 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44772 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44773 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44774 * sysdeps/ieee754/flt-32/math_private.h: New file.
44775 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44776 math_private.h below SET_FLOAT_WORD.
44777 (__isnan, __isinf_ns, __finite): Remove.
44778 (__isnanf, __isinf_nsf, __finitef): Remove.
44779
447802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44781
44782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44783
447842012-03-17 David S. Miller <davem@davemloft.net>
44785
44786 [BZ #6471]
44787 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44788 for 2.16.
44789
447902012-03-16 David S. Miller <davem@davemloft.net>
44791
44792 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44793 warnings.
44794
44795 [BZ #6471]
44796 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44797 properly.
44798 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44799 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44800 sysdep_routines when subdir is sysvipc.
44801 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44802 __getshmlba helper.
44803
44804 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44805
448062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44807
44808 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44809 [__LP64__].
44810
448112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44812
44813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44814 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44815 (__lround): Renamed to ...
44816 (__llround): This. Replace long int with long long int.
44817 Define lround functions as aliases of llround functions.
44818 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44819
448202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44821
44822 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44823 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44824 adresses to uintptr_t. Replace "long int" and "unsigned long
44825 int" with "greg_t" on va_arg.
44826
448272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44828
44829 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44830 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44831
44832 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44833 Move e_machine check before EI_CLASS check. Handle x32
44834 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44835 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44836 SKIP_EM_IA_64 and include
44837 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44838
44839 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44840 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44841 (add_system_dir): New macro.
44842
44843 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44844 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44845
448462012-03-16 Joseph Myers <joseph@codesourcery.com>
44847
44848 [BZ #2551]
44849 [BZ #2552]
44850 [BZ #2553]
44851 [BZ #2554]
44852 [BZ #2562]
44853 [BZ #2563]
44854 [BZ #2565]
44855 [BZ #2566]
44856 [BZ #2576]
44857 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44858 (y0): Likewise.
44859 * math/w_j0f.c (j0f): Likewise.
44860 (y0f): Likewise.
44861 * math/w_j0l.c (__j0l): Likewise.
44862 (__y0l): Likewise.
44863 * math/w_j1.c (j1): Likewise.
44864 (y1): Likewise.
44865 * math/w_j1f.c (j1f): Likewise.
44866 (y1f): Likewise.
44867 * math/w_j1l.c (__j1l): Likewise.
44868 (__y1l): Likewise.
44869 * math/w_jn.c (jn): Likewise.
44870 (yn): Likewise.
44871 * math/w_jnf.c (jnf): Likewise.
44872 (ynf): Likewise.
44873 * math/w_jnl.c (__jnl): Likewise.
44874 (__ynl): Likewise.
44875 * math/libm-test.inc (j0_test): Add more tests.
44876 (j1_test): Likewise.
44877 (jn_test): Likewise. Add trailing semicolon to existing test.
44878 (y0_test): Likewise.
44879 (y1_test): Likewise.
44880 * sysdeps/i386/fpu/libm-test-ulps: Update.
44881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44882
44883 [BZ #13851]
44884 [BZ #13854]
44885 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44886 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44887 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44889 (__tanl): Set errno for infinite argument.
44890 * sysdeps/i386/fpu/mptan.c: Remove.
44891 * sysdeps/i386/fpu/s_tan.S: Likewise.
44892 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44893 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44894 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44895 * math/libm-test.inc (tan_test): Add more tests and enable more
44896 tests for double and long double.
44897 * sysdeps/i386/fpu/libm-test-ulps: Update.
44898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44899
449002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44901
44902 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44903 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44904
449052012-03-16 Roland McGrath <roland@hack.frob.com>
44906
44907 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44908 * configure.in: Use it for both main tree and add-ons.
44909 * configure: Regenerated.
44910
449112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44912
44913 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44914
449152012-03-16 Joseph Myers <joseph@codesourcery.com>
44916
44917 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44918 in comment.
44919
44920 [BZ #13851]
44921 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44922 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44923 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44924 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44925 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44926 infinite argument.
44927 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44928 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44929 != 0 for prec == 2.
44930 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44931 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44932 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44933 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44934 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44935 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44936 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44937 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44938 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44939 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44940 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44941 * math/libm-test.inc (cos_test): Add more tests and enable more
44942 tests for long double.
44943 (sin_test): Likewise.
44944 (sincos_test): Likewise.
44945 * sysdeps/i386/fpu/libm-test-ulps: Update.
44946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44947
449482012-03-16 David S. Miller <davem@davemloft.net>
44949
44950 * sysdeps/sparc/fpu/math_private.h: New file.
44951
449522012-03-15 David S. Miller <davem@davemloft.net>
44953
44954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44955 file.
44956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44958 file.
44959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44960 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44961 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44964 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44965 sysdep routines.
44966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44967
44968 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44969 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44970
44971 * sysdeps/sparc/sparc-ifunc.h: New file.
44972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44973 sparc-ifunc.h
44974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44976 Likewise.
44977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44978 Likewise.
44979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44983 Likewise.
44984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44989 Likewise.
44990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44991 Likewise.
44992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44998 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44999 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45000 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45001 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45002 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45008 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45009 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45014 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45015 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45016
450172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45018
45019 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45020 scaling.
45021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45022
450232012-03-15 Andreas Jaeger <aj@suse.de>
45024
45025 [BZ #13852]
45026 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45027 ieee754/flt-32 implementation for sin, cos and sincos.
45028 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45029 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45030 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45031 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45032 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45033 ieee754/flt-32 implementation for tan.
45034
45035 * math/libm-test.inc (cos_test): Enable some large input tests for
45036 float as well
45037 (sin_test): Likewise.
45038 (sincos_test): Likewise.
45039 (tan_test): Add tests for large input.
45040
45041 * sysdeps/i386/fpu/libm-test-ulps: Update.
45042
450432012-03-15 Andreas Jaeger <aj@suse.de>
45044
45045 [BZ #13658]
45046 * math/libm-test.inc (cos_test): Add more test cases.
45047 (sin_test): Likewise.
45048 (sincos_test): Likewise.
45049
450502012-03-15 Andreas Jaeger <aj@suse.de>
45051
45052 [BZ #13837]
45053 * math/libm-test.inc (cos_test): Add a test case for large input
45054 value.
45055 (sin_test): Likewise.
45056 (sincos_test): Likewise.
45057
450582012-03-15 Andreas Jaeger <aj@suse.de>
45059 Joseph Myers <joseph@codesourcery.com>
45060
45061 [BZ #13658]
45062 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45063 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45064 * sysdeps/i386/fpu/branred.c: Likewise.
45065 * sysdeps/i386/fpu/dosincos.c: Likewise.
45066 * sysdeps/i386/fpu/mpa.c: Likewise.
45067 * sysdeps/i386/fpu/s_cos.S: Likewise.
45068 * sysdeps/i386/fpu/s_sin.S: Likewise.
45069 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45070 * sysdeps/i386/fpu/sincos32.c: Likewise.
45071
45072 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45073 Define.
45074 (libc_feupdateenv_53bit): Define.
45075 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45076 Define.
45077 (libc_feupdateenv_53bit): Define.
45078
45079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45080 53 bit (without extend i386 double precision).
45081
45082 * math/libm-test.inc (sincos_test): Add tests for large input.
45083 (sin): Likewise.
45084 (cos): Likewise.
45085
45086 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45087
450882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45089
45090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45091
450922012-03-15 David S. Miller <davem@davemloft.net>
45093
45094 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45095 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45096 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45097 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45110 file.
45111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45113 file.
45114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45116 file.
45117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45119 file.
45120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45121 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45122 fmin/fmax sysdep routines.
45123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45124
451252012-03-14 David S. Miller <davem@davemloft.net>
45126
45127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45129 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45131 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45134 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45136 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45137 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45138 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45147 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45148 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45153 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45154 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45155 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45156 routines.
45157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45158 file.
45159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45161 file.
45162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45164 file.
45165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45167 file.
45168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45170 file.
45171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45173 file.
45174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45175 file.
45176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45177 file.
45178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45179 file.
45180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45181 New file.
45182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45183 file.
45184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45185 file.
45186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45188 file.
45189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45191 file.
45192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45194 file.
45195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45197 VIS3 routines.
45198
45199 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45200 New file.
45201
45202 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45203
45204 * sysdeps/sparc/configure.in: New file.
45205 * sysdeps/sparc/configure: Generate.
45206 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45207 * configure: Regenerate.
45208 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45209 * config.make.in (have-as-vis3): New.
45210 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45211 available use -Av9d instead of -Av9a.
45212 * sysdeps/sparc/sparc64/Makefile: Likewise.
45213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45215 New file.
45216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45217 file.
45218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45219 New file.
45220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45221 file.
45222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45223 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45224 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45227
45228 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45229 fzeros/fnegs to load 0x80000000 into a float register instead of
45230 using the stack.
45231 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45232
452332012-03-14 Joseph Myers <joseph@codesourcery.com>
45234
45235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45236 bits/syscall.h.
45237 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45238 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45239 ($(inst_includedir)/bits/syscall.h): Remove rule.
45240 ($(objpfx)bits/syscall.d): Include instead of
45241 $(objpfx)syscall-list.d.
45242 (generated): Change syscall-list.h and syscall-list.d to
45243 bits/syscall.h and bits/syscall.d.
45244
452452012-03-14 Roland McGrath <roland@hack.frob.com>
45246
45247 [BZ #13846]
45248 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45249
452502012-03-14 Joseph Myers <joseph@codesourcery.com>
45251
45252 [BZ #13841]
45253 * math/s_csqrt.c: Include <float.h>.
45254 (__csqrt): Scale large or subnormal inputs.
45255 * math/s_csqrtf.c: Likewise.
45256 * math/s_csqrtl.c: Likewise.
45257 * math/libm-test.inc (csqrt_test): Add more tests.
45258 * sysdeps/i386/fpu/libm-test-ulps: Update.
45259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45260
45261 [BZ #13840]
45262 * math/libm-test.inc (hypot_test): Add more tests.
45263
452642012-03-13 David S. Miller <davem@davemloft.net>
45265
45266 [BZ #13840]
45267 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45268 double-precision for the calculation instead of scaling.
45269
452702012-03-13 Joseph Myers <joseph@codesourcery.com>
45271
45272 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45273 manipulate bits before adding and subtracting TWO52[sx].
45274 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45275 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45276 Likewise.
45277 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45278
452792012-03-13 David S. Miller <davem@davemloft.net>
45280
45281 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45282 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45284 rtld-global-offsets.h
45285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45286
45287 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45288 large parameters.
45289
45290 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45291
45292 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45293 'err' in the ifdef scope in which it is actually used.
45294
45295 * nss/nss_db/db-init.c: Include string.h
45296
452972012-03-12 David S. Miller <davem@davemloft.net>
45298
45299 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45300 masking out of the most significant byte of random value used.
45301 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45302 Fix coding style in previous change.
45303
45304 * sysdeps/unix/sysv/linux/kernel-features.h
45305 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45306 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45307 expression.
45308 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45309 later.
45310
453112012-03-11 David S. Miller <davem@davemloft.net>
45312
45313 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45314 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45316 for 'resultvar' otherwise things get truncated on 64-bit.
45317
45318 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45319 Fix masking out of the most significant byte of random value used.
45320
45321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45322
453232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45324
45325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45326
453272012-03-09 David S. Miller <davem@davemloft.net>
45328
45329 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45330 variables with appropriate CPP guards.
45331 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45332 from the frame pointer, not the stack pointer. Correct layout
45333 comments. Fix test on resulting framesize and the management of
45334 the outregs buffer for pltexit. Preserve floating point return
45335 values across _dl_call_pltexit call.
45336 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45337 framesize and the management of the outregs buffer for pltexit.
45338 Preserve floating point return values across _dl_call_pltexit
45339 call.
45340 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45341 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45342 (la_sparc64_gnu_pltexit): New functions.
45343 (print_exit): Fix format string for return register value.
45344
453452012-03-10 Joseph Myers <joseph@codesourcery.com>
45346
45347 * sunrpc/Makefile (others): Add rpcgen.
45348 ($(objpfx)rpcgen): Remove special build rule and dependency on
45349 libc.
45350 * sunrpc/rpcgen.c: New file.
45351
453522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45353
45354 [BZ #13673]
45355 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45356 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45357 * sysdeps/i386/crti.S: Likewise.
45358 * sysdeps/i386/crtn.S: Likewise.
45359 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45360 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45361 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45362 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45363 * sysdeps/sh/crti.S: Likewise.
45364 * sysdeps/sh/crtn.S: Likewise.
45365 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45366
45367 [BZ #13673]
45368 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45369 with URL.
45370 * locale/programs/locfile-kw.gperf: Likewise.
45371 * locale/programs/charmap-kw.h: Regenerated.
45372 * locale/programs/locfile-kw.h: Likewise.
45373
45374 [BZ #13673]
45375 * intl/plural.y: Replace FSF snail mail address with URL.
45376 * intl/plural.c: Regenerated.
45377
453782012-03-09 Richard Henderson <rth@twiddle.net>
45379
45380 * include/math_private.h: Remove file.
45381 * math/math_private.h: Move file ...
45382 * sysdeps/generic/math_private.h: ... here.
45383
45384 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45385 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45386 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45387
45388 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45389 and <math_private.h>.
45390 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45391 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45392 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45393 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45394 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45395 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45396 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45398 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45399 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45401 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45402 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45403 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45404 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45405 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45406 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45407 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45408 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45409 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45410 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45412 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45414 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45415 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45416 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45417 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45420 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45421 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45422 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45423 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45424 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45425 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45426 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45427 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45428 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45429 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45430 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45431 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45432 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45433 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45434 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45435 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45436 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45437 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45438 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45439 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45440 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45441 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45442 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45443 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45444 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45445 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45446 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45447 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45448 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45449 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45450 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45451 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45453 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45454 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45455 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45456 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45457 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45458 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45459 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45460 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45461 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45463 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45464 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45465 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45466 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45467 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45469 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45470 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45471 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45472 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45473 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45474 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45475 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45477 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45478 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45479 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45480 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45481 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45482 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45483 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45484 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45485 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45486 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45487 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45488 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45489 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45490 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45491 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45492 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45493 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45494 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45495 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45496 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45497 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45498 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45500 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45501 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45502 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45503 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45504 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45505 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45506 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45507 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45508 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45509 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45510 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45511 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45512 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45513 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45514 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45515 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45516 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45517 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45518 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45519 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45520 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45521 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45522 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45523 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45524 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45525 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45526 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45527 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45528 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45529 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45530 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45531 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45532 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45533 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45534 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45535 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45536 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45537 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45538 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45539 * sysdeps/ieee754/k_standard.c: Likewise.
45540 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45541 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45542 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45543 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45544 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45545 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45546 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45547 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45548 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45549 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45552 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45553 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45554 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45555 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45556 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45557 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45558 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45559 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45560 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45561 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45562 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45563 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45564 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45565 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45566 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45567 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45568 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45569 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45570 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45571 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45572 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45573 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45574 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45575 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45576 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45577 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45578 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45579 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45580 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45581 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45582 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45583 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45584 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45585 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45586 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45588 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45589 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45590 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45591 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45592 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45593 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45594 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45595 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45596 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45597 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45598 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45599 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45600 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45601 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45602 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45603 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45606 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45607 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45608 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45609 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45610 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45612 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45613 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45614 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45615 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45616 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45617 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45618 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45619 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45620 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45621 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45622 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45623 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45624 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45625 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45626 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45627 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45628 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45629 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45630 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45631 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45632 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45633 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45634 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45635 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45636 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45637 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45638 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45639 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45640 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45641 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45642 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45643 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45644 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45645 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45646 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45647 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45648 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45649 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45650 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45651 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45652 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45653 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45655 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45656 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45657 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45658 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45659 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45660 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45661 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45662 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45663 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45664 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45665 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45666 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45667 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45668 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45669 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45670 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45671 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45672 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45673 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45674 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45675 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45676 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45677 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45678 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45679 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45680 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45681 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45682 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45683 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45684 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45685 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45686 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45687 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45688 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45689 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45690 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45691 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45692 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45693 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45694 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45695 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45696 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45697 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45698 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45699 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45700 * sysdeps/ieee754/s_lib_version.c: Likewise.
45701 * sysdeps/ieee754/s_matherr.c: Likewise.
45702 * sysdeps/ieee754/s_signgam.c: Likewise.
45703 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45704 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45705 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45706 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45707 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45708 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45709 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45710 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45711 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45712 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45713 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45714 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45715 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45716 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45717 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45718 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45719 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45720 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45721 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45722 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45723 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45724
457252012-03-09 Joseph Myers <joseph@codesourcery.com>
45726
45727 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45728 * sunrpc/rpc_main.c: Likewise.
45729 * sunrpc/rpc_svcout.c: Likewise.
45730
457312012-03-09 David S. Miller <davem@davemloft.net>
45732
45733 * include/math_private.h: New file.
45734
457352012-03-09 Joseph Myers <joseph@codesourcery.com>
45736
45737 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45738 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45739 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45740 from <bits/socket_type.h>.
45741 (enum __socket_type): Don't define here.
45742 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45743 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45744 bits/socket_type.h.
45745
45746 [BZ #13566]
45747 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45748 checking __USE_GNU.
45749
45750 * Makerules ($(inst_includedir)/%.h): New rule.
45751 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45752 (install-others): Remove variable setting.
45753 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45754
457552012-03-08 Richard Henderson <rth@twiddle.net>
45756
45757 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45758 from macro to inline function; merge with the
45759 !__LIBC_INTERNAL_MATH_INLINES version.
45760 (__ieee754_sqrtf): Likewise.
45761
45762 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45763 to inline function.
45764 (__rintf, __floor, __floorf): Likewise.
45765
45766 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45767 macro to inline function.
45768 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45769
45770 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45771 not <math/math_private.h>.
45772
457732012-03-08 David S. Miller <davem@davemloft.net>
45774
45775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45776 copyright year.
45777 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45778
457792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45780
45781 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45782 normalization.
45783 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45784 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45785
457862012-03-08 Ulrich Drepper <drepper@gmail.com>
45787
45788 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45789 be defined individually, they must be defined as a block. Define
45790 S for printing a string instead of hidint the different by using a
45791 macro for adding the 'l'.
45792 * stdio-common/tst-fphex-wide.c: Adjust.
45793
457942012-03-07 Marek Polacek <polacek@redhat.com>
45795
45796 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45797
457982012-03-08 Marek Polacek <polacek@redhat.com>
45799
45800 [BZ #13806]
45801 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45802 * stdio-common/tst-fphex.c: Define a few macros to make the
45803 test reusable. Use them.
45804 * stdio-common/tst-fphex-wide.c: New file.
45805
458062012-03-08 Joseph Myers <joseph@codesourcery.com>
45807
45808 [BZ #6911]
45809 * manual/macros.texi (gnusystems): New macro.
45810 (nongnusystems): Likewise.
45811 (gnulinuxhurdsystems): Likewise.
45812 (gnuhurdsystems): Likewise..
45813 (gnulinuxsystems): Likewise.
45814 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45815 variants of the GNU system, not "GNU system".
45816 * manual/conf.texi: Likewise.
45817 * manual/errno.texi: Likewise. Update example of errno macro
45818 expansion.
45819 * manual/filesys.texi: Likewise.
45820 (getumask): Document as specific to GNU/Hurd.
45821 * manual/install.texi: Likewise. Reword some references to
45822 GNU/Linux.
45823 * manual/intro.texi: Likewise.
45824 * manual/io.texi: Likewise.
45825 (File Name Portability): Detail which constraints are inapplicable
45826 to all GNU systems and which are only inapplicable to GNU/Hurd.
45827 * manual/job.texi: Likewise.
45828 * manual/llio.texi: Likewise.
45829 (O_NOCTTY): Document as present on GNU/Linux.
45830 * manual/maint.texi: Likewise.
45831 * manual/memory.texi: Likewise.
45832 * manual/pattern.texi: Likewise.
45833 * manual/pipe.texi: Likewise.
45834 * manual/process.texi: Likewise.
45835 * manual/resource.texi: Likewise.
45836 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45837 child on GNU/Hurd.
45838 * manual/setjmp.texi: Likewise.
45839 * manual/signal.texi: Likewise.
45840 * manual/startup.texi: Likewise.
45841 * manual/stdio.texi: Likewise.
45842 * manual/terminal.texi: Likewise.
45843 (ONLCR): Document as POSIX.
45844 (OXTABS): Document availability on GNU/Linux as XTABS.
45845 (ONOEOT): Document availability separately from other bits.
45846 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45847 * manual/time.texi: Likewise.
45848 * manual/users.texi: Likewise.
45849 * INSTALL: Regenerated.
45850 * sysdeps/gnu/errlist.c: Regenerated.
45851
45852 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45853 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45854 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45855 puts.
45856 * configure: Regenerated.
45857
458582012-03-07 Joseph Myers <joseph@codesourcery.com>
45859
45860 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45861 default includes instead of AC_HEADER_CHECK.
45862 * sysdeps/i386/configure: Regenerated.
45863
45864 [BZ #10716]
45865 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45866 * math/s_cacoshf.c (__cacoshf): Likewise.
45867 * math/s_cacoshl.c (__cacoshl): Likewise.
45868 * math/s_casinh.c (__casinh): Set signs of result from argument.
45869 * math/s_casinhf.c (__casinhf): Likewise.
45870 * math/s_casinhl.c (__casinhl): Likewise.
45871 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45872 (casinh_test): Add more tests.
45873 * sysdeps/i386/fpu/libm-test-ulps: Update.
45874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45875
458762012-03-07 Ulrich Drepper <drepper@gmail.com>
45877
45878 * po/zh_TW.po: Update from translation team.
45879
45880 * login/Makefile (distribute): Remove variable.
45881 * catgets/Makefile: Likewise.
45882 * mach/Makefile: Likewise.
45883 * malloc/Makefile: Likewise.
45884 * misc/Makefile: Likewise.
45885 * iconv/Makefile: Likewise.
45886 * nscd/Makefile: Likewise.
45887 * hurd/Makefile: Likewise.
45888 * manual/Makefile: Likewise.
45889 * locale/Makefile: Likewise.
45890 * intl/Makefile: Likewise.
45891 * conform/Makefile: Likewise.
45892 * nss/Makefile: Likewise.
45893 * time/Makefile: Likewise.
45894 * soft-fp/Makefile: Likewise.
45895 * dirent/Makefile: Likewise.
45896 * gmon/Makefile: Likewise.
45897 * po/Makefile: Likewise.
45898 * rt/Makefile: Likewise.
45899 * socket/Makefile: Likewise.
45900 * math/Makefile: Likewise.
45901 * signal/Makefile: Likewise.
45902 * debug/Makefile: Likewise.
45903 * elf/Makefile: Likewise.
45904 * timezone/Makefile: Likewise.
45905 * stdlib/Makefile: Likewise.
45906 * iconvdata/Makefile: Likewise.
45907 * sunrpc/Makefile: Likewise.
45908 * io/Makefile: Likewise.
45909 * argp/Makefile: Likewise.
45910 * inet/Makefile: Likewise.
45911 * hesiod/Makefile: Likewise.
45912 * grp/Makefile: Likewise.
45913 * csu/Makefile: Likewise.
45914 * wctype/Makefile: Likewise.
45915 * crypt/Makefile: Likewise.
45916 * libio/Makefile: Likewise.
45917 * string/Makefile: Likewise.
45918 * nis/Makefile: Likewise.
45919 * resolv/Makefile: Likewise.
45920 * stdio-common/Makefile: Likewise.
45921 * wcsmbs/Makefile: Likewise.
45922 * dlfcn/Makefile: Likewise.
45923 * posix/Makefile: Likewise.
45924
45925 [BZ #6959]
45926 * timezone/Makefile: Don't install timezone files, just the programs
45927 and scripts.
45928
459292012-03-06 Ulrich Drepper <drepper@gmail.com>
45930
45931 * nss/databases.def: Add missing gshadow entry.
45932
45933 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45934
459352012-03-06 Marek Polacek <polacek@redhat.com>
45936
45937 [BZ #13726]
45938 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45939 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45940 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45941 * stdio-common/tst-long-dbl-fphex.c: New file.
45942
459432012-03-06 David S. Miller <davem@davemloft.net>
45944
45945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45946 (set_obp_int): New function.
45947 (get_obp_int): New function.
45948 (__get_clockfreq_via_dev_openprom): Likewise.
45949 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45950 Avoid unused variable warnings on 'val' and use builtin_expect.
45951 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45952 __builtin_expect.
45953 (INLINE_CLONE_SYSCALL): Likewise.
45954
459552012-03-05 David S. Miller <davem@davemloft.net>
45956
45957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45958
459592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45960
45961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45962
45963 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45964 only for |x| >= 40.
45965 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45966
459672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45968
45969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45970 Replace gettimeofday with __vdso_gettimeofday.
45971
45972 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45973 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45974 __vdso_clock_gettime and __vdso_getcpu.
45975
45976 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45977 time with __vdso_time.
45978
459792012-03-05 Joseph Myers <joseph@codesourcery.com>
45980
45981 * manual/lang.texi (size_t): Note types to which size_t may be
45982 equivalent with the GNU C Library, but do not describe when
45983 differences between them are significant.
45984
459852012-03-05 Andreas Jaeger <aj@suse.de>
45986
45987 * sysdeps/i386/fpu/libm-test-ulps: Update.
45988
459892012-03-05 Joseph Myers <joseph@codesourcery.com>
45990
45991 [BZ #3976]
45992 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45993 (__ieee754_pow): Save and restore rounding mode and use
45994 round-to-nearest for main computations.
45995 * math/libm-test.inc (pow_test_tonearest): New function.
45996 (pow_test_towardzero): Likewise.
45997 (pow_test_downward): Likewise.
45998 (pow_test_upward): Likewise.
45999 (main): Call the new functions.
46000 * sysdeps/i386/fpu/libm-test-ulps: Update.
46001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46002
46003 [BZ #3976]
46004 * math/libm-test.inc (cosh_test_tonearest): New function.
46005 (cosh_test_towardzero): Likewise.
46006 (cosh_test_downward): Likewise.
46007 (cosh_test_upward): Likewise.
46008 (sinh_test_tonearest): Likewise.
46009 (sinh_test_towardzero): Likewise.
46010 (sinh_test_downward): Likewise.
46011 (sinh_test_upward): Likewise.
46012 (main): Call the new functions.
46013 * sysdeps/i386/fpu/libm-test-ulps: Update.
46014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46015
460162012-03-05 Tom de Vries <tom@codesourcery.com>
46017
46018 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46019 default stack guard is set in last bytes.
46020 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46021
460222012-03-05 Kees Cook <keescook@chromium.org>
46023
46024 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46025
46026 [BZ #13656]
46027 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46028 possibly allocate from heap instead of stack.
46029 * stdio-common/bug-vfprintf-nargs.c: New file.
46030 * stdio-common/Makefile (tests): Add nargs overflow test.
46031
460322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46033
46034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46035
460362012-03-03 Marek Polacek <polacek@redhat.com>
46037
46038 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46039 * math/math_private.h: Likewise.
46040 * stdlib/tst-strtod.c: Likewise.
46041 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46042 * sysdeps/x86_64/bits/atomic.h: Likewise.
46043
460442012-03-02 David S. Miller <davem@davemloft.net>
46045
46046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46050 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46051 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46052 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46053 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46054
460552012-03-02 Roland McGrath <roland@hack.frob.com>
46056
46057 [BZ #13792]
46058 * manual/examples/README: New file, says the example source files
46059 can be used under GPL>=2.
46060 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46061 line containing just "*/".
46062 * manual/examples/add.c: Add copyright header (GPL>=2).
46063 * manual/examples/argp-ex1.c: Likewise.
46064 * manual/examples/argp-ex2.c: Likewise.
46065 * manual/examples/argp-ex3.c: Likewise.
46066 * manual/examples/argp-ex4.c: Likewise.
46067 * manual/examples/atexit.c: Likewise.
46068 * manual/examples/db.c: Likewise.
46069 * manual/examples/dir.c: Likewise.
46070 * manual/examples/dir2.c: Likewise.
46071 * manual/examples/execinfo.c: Likewise.
46072 * manual/examples/filecli.c: Likewise.
46073 * manual/examples/filesrv.c: Likewise.
46074 * manual/examples/fmtmsgexpl.c: Likewise.
46075 * manual/examples/genpass.c: Likewise.
46076 * manual/examples/inetcli.c: Likewise.
46077 * manual/examples/inetsrv.c: Likewise.
46078 * manual/examples/isockad.c: Likewise.
46079 * manual/examples/longopt.c: Likewise.
46080 * manual/examples/memopen.c: Likewise.
46081 * manual/examples/memstrm.c: Likewise.
46082 * manual/examples/mkfsock.c: Likewise.
46083 * manual/examples/mkisock.c: Likewise.
46084 * manual/examples/mygetpass.c: Likewise.
46085 * manual/examples/pipe.c: Likewise.
46086 * manual/examples/popen.c: Likewise.
46087 * manual/examples/rprintf.c: Likewise.
46088 * manual/examples/search.c: Likewise.
46089 * manual/examples/select.c: Likewise.
46090 * manual/examples/setjmp.c: Likewise.
46091 * manual/examples/sigh1.c: Likewise.
46092 * manual/examples/sigusr.c: Likewise.
46093 * manual/examples/stpcpy.c: Likewise.
46094 * manual/examples/strdupa.c: Likewise.
46095 * manual/examples/strftim.c: Likewise.
46096 * manual/examples/strncat.c: Likewise.
46097 * manual/examples/subopt.c: Likewise.
46098 * manual/examples/swapcontext.c: Likewise.
46099 * manual/examples/termios.c: Likewise.
46100 * manual/examples/testopt.c: Likewise.
46101 * manual/examples/testpass.c: Likewise.
46102 * manual/examples/timeval_subtract.c: Likewise.
46103
46104 [BZ #13792]
46105 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46106 function to ...
46107 * manual/timeval_subtract.c.texi: ... here, new file.
46108
461092012-03-02 David S. Miller <davem@davemloft.net>
46110
46111 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46112
461132012-03-02 Joseph Myers <joseph@codesourcery.com>
46114
46115 [BZ #3976]
46116 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46117 (__sin): Save and restore rounding mode and use round-to-nearest
46118 for all computations.
46119 (__cos): Save and restore rounding mode and use round-to-nearest
46120 for all computations.
46121 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46122 <fenv.h>.
46123 (tan): Save and restore rounding mode and use round-to-nearest for
46124 all computations.
46125 * math/libm-test.inc (cos_test_tonearest): New function.
46126 (cos_test_towardzero): Likewise.
46127 (cos_test_downward): Likewise.
46128 (cos_test_upward): Likewise.
46129 (sin_test_tonearest): Likewise.
46130 (sin_test_towardzero): Likewise.
46131 (sin_test_downward): Likewise.
46132 (sin_test_upward): Likewise.
46133 (tan_test_tonearest): Likewise.
46134 (tan_test_towardzero): Likewise.
46135 (tan_test_downward): Likewise.
46136 (tan_test_upward): Likewise.
46137 (main): Call the new functions.
46138 * sysdeps/i386/fpu/libm-test-ulps: Update.
46139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46140
46141 [BZ #10135]
46142 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46143 small n, then large n, before computing and testing k+n.
46144 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46146 Likewise.
46147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46148 Likewise.
46149 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46150 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46151 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46152 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46153 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46154 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46155 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46156 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46157 * math/libm-test.inc (scalbn_test): Add more tests.
46158 (scalbln_test): Likewise.
46159
46160 * manual/filesys.texi (mode_t): Describe constraints on size and
46161 signedness, not exact equivalence to a particular type.
46162 (ino_t): Likewise.
46163 (ino64_t): Likewise.
46164 (dev_t): Likewise.
46165 (nlink_t): Likewise.
46166 (blkcnt_t): Likewise.
46167 (blkcnt64_t): Likewise.
46168 * manual/llio.texi (off_t): Likewise.
46169
46170 [BZ #3976]
46171 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46172 (__ieee754_exp): Save and restore rounding mode and use
46173 round-to-nearest for all computations.
46174 * math/libm-test.inc (exp_test_tonearest): New function.
46175 (exp_test_towardzero): Likewise.
46176 (exp_test_downward): Likewise.
46177 (exp_test_upward): Likewise.
46178 (main): Call the new functions.
46179 * sysdeps/i386/fpu/libm-test-ulps: Update.
46180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46181
461822012-03-01 Chris Demetriou <cgd@google.com>
46183
46184 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46185 have predictable order.
46186
461872012-03-01 David S. Miller <davem@davemloft.net>
46188
46189 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46190
46191 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46192 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46193 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46194 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46195
46196 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46197 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46198 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46200 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46201 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46202 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46203 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46204 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46205
46206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46207
46208 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46209 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46210 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46211
46212 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46213 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46214 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46215 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46216 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46218 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46219 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46220 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46221 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46222 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46223 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46224 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46225 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46226 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46227 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46228 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46229 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46230 * sysdeps/sparc/elf/configure: Regenerated.
46231
462322012-03-01 Joseph Myers <joseph@codesourcery.com>
46233
46234 * configure.in (AS, LD): Require binutils 2.20 or later.
46235 * configure: Regenerated.
46236 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46237 as required minimum version.
46238 * INSTALL: Regenerated.
46239
46240 [BZ #2541]
46241 [BZ #4108]
46242 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46243 before squaring exponent.
46244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46245 bottom long double and 27 bits of top long double before squaring
46246 exponent.
46247 * math/libm-test.inc (erfc_test): Add more tests.
46248 * sysdeps/i386/fpu/libm-test-ulps: Update.
46249 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46251
462522012-03-01 Kai Tietz <ktietz@redhat.com>
46253
46254 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46255 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46256 containing bit-fields.
46257 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46258 * soft-fp/single.h (_FP_UNION_S): Likewise.
46259 * soft-fp/double.h (_FP_UNION_D): Likewise.
46260
462612012-02-29 Joseph Myers <joseph@codesourcery.com>
46262
46263 [BZ #13786]
46264 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46265 not include ../strcmp.S.
46266 [USE_AS_STRNCASECMP_L]: Likewise.
46267 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46268 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46269 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46270 (__strncasecmp_l_ia32): Define as alias to
46271 __strncasecmp_l_nonascii.
46272
46273 [BZ #5794]
46274 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46275 * sysdeps/i386/fpu/libm-test-ulps: Update.
46276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46277
46278 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46280
462812012-02-29 Jeff Law <law@redhat.com>
46282
46283 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46284 out of bounds read.
46285
462862012-02-29 Marek Polacek <polacek@redhat.com>
46287
46288 [BZ #13706]
46289 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46290 * elf/Makefile: Add rules to run tst-unused-dep.out.
46291
462922012-02-28 David S. Miller <davem@davemloft.net>
46293
46294 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46295 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46297 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46298 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46299 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46300
463012012-02-29 Joseph Myers <joseph@codesourcery.com>
46302
46303 * math/libm-test.inc (llround_test): Move one test from
46304 lround_test. Use TEST_f_L in moved test.
46305 (lround_test): Move misplaced test to llround_test. Add testcase
46306 from bug 2561.
46307
463082012-02-28 Ulrich Drepper <drepper@gmail.com>
46309
46310 * sysdeps/x86_64/fpu/e_expf.S: New file.
46311 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46312
463132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46314
46315 [BZ #13637]
46316 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46317 of remain_len that may cause incomplete multi-byte character and
46318 false match.
46319 * posix/bug-regex33.c: New file.
46320 * posix/Makefile (tests): Add bug-regex33.
46321
463222012-02-28 Joseph Myers <joseph@codesourcery.com>
46323
46324 * manual/macros.texi: New file.
46325 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46326 * manual/libc.texinfo: Include macros.texi.
46327 * manual/creatute.texi: Likewise.
46328 * manual/install.texi: Likewise.
46329 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46330 @glibcadj{} in references to the GNU C Library.
46331 * manual/charset.texi: Likewise.
46332 * manual/conf.texi: Likewise.
46333 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46334 when not using those macros.
46335 * manual/creature.texi: Likewise.
46336 * manual/crypt.texi: Likewise.
46337 * manual/errno.texi: Likewise.
46338 * manual/filesys.texi: Likewise.
46339 * manual/header.texi: Likewise.
46340 * manual/install.texi: Likewise.
46341 * manual/intro.texi: Likewise.
46342 * manual/io.texi: Likewise.
46343 * manual/job.texi: Likewise.
46344 * manual/lang.texi: Likewise.
46345 * manual/libc.texiinfo: Likewise.
46346 * manual/llio.texi: Likewise.
46347 * manual/locale.texi: Likewise.
46348 * manual/maint.texi: Likewise.
46349 * manual/math.texi: Likewise.
46350 * manual/memory.texi: Likewise.
46351 * manual/message.texi: Likewise.
46352 * manual/nss.texi: Likewise.
46353 * manual/pattern.texi: Likewise.
46354 * manual/process.texi: Likewise.
46355 * manual/resource.texi: Likewise.
46356 * manual/search.texi: Likewise.
46357 * manual/setjmp.texi: Likewise.
46358 * manual/signal.texi: Likewise.
46359 * manual/socket.texi: Likewise.
46360 * manual/startup.texi: Likewise.
46361 * manual/stdio.texi: Likewise.
46362 * manual/string.texi: Likewise.
46363 * manual/sysinfo.texi: Likewise.
46364 * manual/syslog.texi: Likewise.
46365 * manual/terminal.texi: Likewise.
46366 * manual/time.texi: Likewise.
46367 * manual/users.texi: Likewise.
46368 * INSTALL: Regenerated.
46369 * NOTES: Regenerated.
46370 * sysdeps/gnu/errlist.c: Regenerated.
46371
463722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46373
46374 * include/dirent.h: Include <dirstream.h> before
46375 <dirent/dirent.h>.
46376
463772012-02-28 David S. Miller <davem@davemloft.net>
46378
46379 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46380 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46381 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46382 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46383
463842012-02-27 David S. Miller <davem@davemloft.net>
46385
46386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46388 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46389 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46390
46391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46392 frame pointer instead of stack pointer relative arg slot.
46393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46394 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46395 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46396
463972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46398
46399 [BZ #3992]
46400 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46401
464022012-02-27 David S. Miller <davem@davemloft.net>
46403
46404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46408 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46409 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46410 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46411 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46412
464132012-02-27 Joseph Myers <joseph@codesourcery.com>
46414
46415 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46416 later. Allow versions 5-9.
46417 * configure: Regenerated.
46418 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46419 required minimum version and 4.6 as recommended version. Do not
46420 mention bugs in GCC 2.7 and 2.8.
46421 * INSTALL: Regenerated.
46422
464232012-02-27 David S. Miller <davem@davemloft.net>
46424
46425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46429 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46430 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46431 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46432 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46433
46434 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46435 manipulate bits before adding and subtracting TWO112[sx].
46436 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46437
464382012-02-27 Roland McGrath <roland@hack.frob.com>
46439
46440 [BZ #13775]
46441 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46442 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46443 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46444 being in POSIX, because they are in 1003.1-2008.
46445
46446 * rt/tst-aio.c: Include <fcntl.h>.
46447 * rt/tst-aio7.c: Likewise.
46448 * rt/tst-aio64.c: Likewise.
46449
46450 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46451
464522012-02-27 Joseph Myers <joseph@codesourcery.com>
46453
46454 * manual/install.texi (--with-headers): Describe headers as
46455 interface headers, not private headers.
46456 (Specific advice for GNU/Linux systems): Describe use of headers
46457 from "make headers_install", not private headers from older
46458 kernels.
46459 * INSTALL: Regenerated.
46460 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46461 Change to 2.6.19.
46462 * sysdeps/unix/sysv/linux/configure: Regenerated.
46463
46464 * manual/llio.texi (fclean): Remove documentation.
46465
46466 * manual/Makefile (libc-texi-generated): New variable. Include
46467 version.texi.
46468 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46469 $(libc-texi-generated), not duplicated list of files.
46470 (version.texi, stamp-version): New rules.
46471 (realclean): Remove $(libc-texi-generated), not individual files
46472 from that list. Do not remove dir-add.texinfo.
46473 * manual/libc.texinfo: Comment out uses of edition numbers and
46474 references to printed manual. Remove last-updated dates.
46475 (EDITION): Comment out.
46476 (ISBN): Likewise.
46477 (VERSION, UPDATED): Remove.
46478 (version.texi): Include.
46479
464802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46481
46482 * sysdeps/posix/spawni.c: Include <signal.h>.
46483 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46484 * sysdeps/pthread/aio_fsync.c: Likewise.
46485
464862012-02-26 Ulrich Drepper <drepper@gmail.com>
46487
46488 * conform/Makefile (tests): Run only when not cross-compiling and
46489 when fast-check is not defined.
46490
46491 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46492 * conform/data/limits.h-data: Fixes for POSIX2008.
46493 * conform/run-conformtest.sh: Run all tests.
46494 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46495 headers.
46496 * include/bits/dlfcn.h: Likewise.
46497 * include/langinfo.h: Likewise.
46498 * include/monetary.h: Likewise.
46499 * include/sys/poll.h: Likewise.
46500
46501 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46502 for __USE_GNU.
46503 * posix/spawn.h: Define __need_sigset_t.
46504 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46505 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46506 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46507 to get sigevent_t only.
46508 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46509 only for __USE_GNU.
46510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46511 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46512 process_vm_writev only for __USE_GNU.
46513 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46514
46515 * conform/Makefile: For now ignore errors from run-conformtest.
46516 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46517 POSIX to avoid namespace pollution. Don't prepend headers.
46518 * conform/data/aio.h-data: Fixes for POSIX testing.
46519 * conform/data/fcntl.h-data: Likewise.
46520 * conform/data/glob.h-data: Likewise.
46521 * conform/data/grp.h-data: Likewise.
46522 * conform/data/pthread.h-data: Likewise.
46523 * conform/data/pwd.h-data: Likewise.
46524 * conform/data/signal.h-data: Likewise.
46525 * conform/data/spawn.h-data: Likewise.
46526 * conform/data/stdio.h-data: Likewise.
46527 * conform/data/stdlib.h-data: Likewise.
46528 * conform/data/stropts.h-data: Likewise.
46529 * conform/data/sys/mman.h-data: Likewise.
46530 * conform/data/sys/stat.h-data: Likewise.
46531 * conform/data/sys/types.h-data: Likewise.
46532 * conform/data/sys/wait.h-data: Likewise.
46533 * conform/data/time.h-data: Likewise.
46534 * conform/data/unistd.h-data: Likewise.
46535 * conform/data/utime.h-data: Likewise.
46536
46537 * io/sys/stat.h: fchmod was always in POSIX.
46538 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46539 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46540 * rt/aio.h: Define __need_timespec before including <time.h>.
46541 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46542 struct. Add forward declaration of pthread_attr_t and use it in
46543 sigevent.
46544 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46545 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46546 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46547 always remove CLK_TCK definition.
46548
465492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46550
46551 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46552
465532012-02-25 Ulrich Drepper <drepper@gmail.com>
46554
46555 * conform/run-conformtest.sh: New file.
46556 * conform/Makefile: Run run-conformtest for tests.
46557 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46558 support.
46559
46560 * conform/data/uchar.h-data: New file.
46561 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46562 * conform/data/arpa/inet.h-data: Likewise.
46563 * conform/data/assert.h-data: Likewise.
46564 * conform/data/complex.h-data: Likewise.
46565 * conform/data/cpio.h-data: Likewise.
46566 * conform/data/ctype.h-data: Likewise.
46567 * conform/data/dirent.h-data: Likewise.
46568 * conform/data/dlfcn.h-data: Likewise.
46569 * conform/data/errno.h-data: Likewise.
46570 * conform/data/fcntl.h-data: Likewise.
46571 * conform/data/float.h-data: Likewise.
46572 * conform/data/fmtmsg.h-data: Likewise.
46573 * conform/data/fnmatch.h-data: Likewise.
46574 * conform/data/ftw.h-data: Likewise.
46575 * conform/data/glob.h-data: Likewise.
46576 * conform/data/grp.h-data: Likewise.
46577 * conform/data/iconv.h-data: Likewise.
46578 * conform/data/inttypes.h-data: Likewise.
46579 * conform/data/langinfo.h-data: Likewise.
46580 * conform/data/libgen.h-data: Likewise.
46581 * conform/data/limits.h-data: Likewise.
46582 * conform/data/locale.h-data: Likewise.
46583 * conform/data/math.h-data: Likewise.
46584 * conform/data/monetary.h-data: Likewise.
46585 * conform/data/mqueue.h-data: Likewise.
46586 * conform/data/ndbm.h-data: Likewise.
46587 * conform/data/net/if.h-data: Likewise.
46588 * conform/data/netdb.h-data: Likewise.
46589 * conform/data/netinet/in.h-data: Likewise.
46590 * conform/data/nl_types.h-data: Likewise.
46591 * conform/data/poll.h-data: Likewise.
46592 * conform/data/pthread.h-data: Likewise.
46593 * conform/data/pwd.h-data: Likewise.
46594 * conform/data/regex.h-data: Likewise.
46595 * conform/data/sched.h-data: Likewise.
46596 * conform/data/search.h-data: Likewise.
46597 * conform/data/semaphore.h-data: Likewise.
46598 * conform/data/setjmp.h-data: Likewise.
46599 * conform/data/signal.h-data: Likewise.
46600 * conform/data/spawn.h-data: Likewise.
46601 * conform/data/stdarg.h-data: Likewise.
46602 * conform/data/stdio.h-data: Likewise.
46603 * conform/data/stdlib.h-data: Likewise.
46604 * conform/data/string.h-data: Likewise.
46605 * conform/data/strings.h-data: Likewise.
46606 * conform/data/stropts.h-data: Likewise.
46607 * conform/data/sys/ipc.h-data: Likewise.
46608 * conform/data/sys/mman.h-data: Likewise.
46609 * conform/data/sys/msg.h-data: Likewise.
46610 * conform/data/sys/resource.h-data: Likewise.
46611 * conform/data/sys/select.h-data: Likewise.
46612 * conform/data/sys/sem.h-data: Likewise.
46613 * conform/data/sys/shm.h-data: Likewise.
46614 * conform/data/sys/socket.h-data: Likewise.
46615 * conform/data/sys/stat.h-data: Likewise.
46616 * conform/data/sys/statvfs.h-data: Likewise.
46617 * conform/data/sys/time.h-data: Likewise.
46618 * conform/data/sys/timeb.h-data: Likewise.
46619 * conform/data/sys/times.h-data: Likewise.
46620 * conform/data/sys/types.h-data: Likewise.
46621 * conform/data/sys/uio.h-data: Likewise.
46622 * conform/data/sys/un.h-data: Likewise.
46623 * conform/data/sys/utsname.h-data: Likewise.
46624 * conform/data/sys/wait.h-data: Likewise.
46625 * conform/data/syslog.h-data: Likewise.
46626 * conform/data/tar.h-data: Likewise.
46627 * conform/data/termios.h-data: Likewise.
46628 * conform/data/utime.h-data: Likewise.
46629 * conform/data/utmpx.h-data: Likewise.
46630 * conform/data/varargs.h-data: Likewise.
46631 * conform/data/wchar.h-data: Likewise.
46632 * conform/data/wctype.h-data: Likewise.
46633 * conform/data/wordexp.h-data: Likewise.
46634
46635 * include/stropts.h: New file.
46636 * include/uchar.h: New file.
46637 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46638 * include/assert.h: Likewise.
46639 * include/ctype.h: Likewise.
46640 * include/dirent.h: Likewise.
46641 * include/dlfcn.h: Likewise.
46642 * include/fcntl.h: Likewise.
46643 * include/fnmatch.h: Likewise.
46644 * include/glob.h: Likewise.
46645 * include/grp.h: Likewise.
46646 * include/libio.h: Likewise.
46647 * include/locale.h: Likewise.
46648 * include/math.h: Likewise.
46649 * include/net/if.h: Likewise.
46650 * include/netdb.h: Likewise.
46651 * include/netinet/in.h: Likewise.
46652 * include/pthread.h: Likewise.
46653 * include/pwd.h: Likewise.
46654 * include/regex.h: Likewise.
46655 * include/sched.h: Likewise.
46656 * include/search.h: Likewise.
46657 * include/setjmp.h: Likewise.
46658 * include/signal.h: Likewise.
46659 * include/stdio.h: Likewise.
46660 * include/stdlib.h: Likewise.
46661 * include/string.h: Likewise.
46662 * include/sys/cdefs.h: Likewise.
46663 * include/sys/mman.h: Likewise.
46664 * include/sys/msg.h: Likewise.
46665 * include/sys/resource.h: Likewise.
46666 * include/sys/select.h: Likewise.
46667 * include/sys/socket.h: Likewise.
46668 * include/sys/stat.h: Likewise.
46669 * include/sys/statvfs.h: Likewise.
46670 * include/sys/time.h: Likewise.
46671 * include/sys/times.h: Likewise.
46672 * include/sys/uio.h: Likewise.
46673 * include/sys/utsname.h: Likewise.
46674 * include/sys/wait.h: Likewise.
46675 * include/termios.h: Likewise.
46676 * include/time.h: Likewise.
46677 * include/ulimit.h: Likewise.
46678 * include/unistd.h: Likewise.
46679 * include/utime.h: Likewise.
46680 * include/wchar.h: Likewise.
46681 * include/wctype.h: Likewise.
46682 * include/wordexp.h: Likewise.
46683
46684 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46685
46686 * time/time.h: TIME_UTC must be a macro.
46687 Make timespec_get available for ISO C11 only as well.
46688
466892012-02-24 Ulrich Drepper <drepper@gmail.com>
46690
46691 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46692 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46693
466942012-02-24 Joseph Myers <joseph@codesourcery.com>
46695
46696 * configure.in: Use -o not -a in test for unsupported multi-arch.
46697
466982012-02-24 Joseph Myers <joseph@codesourcery.com>
46699
46700 * manual/texinfo.tex: Update to version 2012-01-19.16.
46701
467022012-02-24 Joseph Myers <joseph@codesourcery.com>
46703
46704 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46705
467062012-02-24 Roland McGrath <roland@hack.frob.com>
46707
46708 [BZ #13738]
46709 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46710 * manual/fdl-1.3.texi: New file.
46711 * manual/fdl-1.1.texi: File removed.
46712
46713 [BZ #13738]
46714 * manual/libc.texinfo (FDL_VERSION): New @set.
46715 Use it for mention of FDL in cover text.
46716 (Documentation License): Use it in @include file name.
46717
467182012-02-22 Joseph Myers <joseph@codesourcery.com>
46719 Roland McGrath <roland@hack.frob.com>
46720
46721 [BZ #5461]
46722 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46723 (not LONG_LONG_MAX and LONG_LONG_MIN.
46724 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46725 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46726 name.
46727 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46728
467292012-02-22 Joseph Myers <joseph@codesourcery.com>
46730
46731 [BZ #2547]
46732 [BZ #11365]
46733 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46734 manipulate bits before adding and subtracting TWO23[sx].
46735 * math/libm-test.inc (nearbyint_test): Add more tests.
46736
467372012-02-22 Joseph Myers <joseph@codesourcery.com>
46738
46739 [BZ #2548]
46740 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46741 bits before adding and subtracting TWO23[sx].
46742 * math/libm-test.inc (rint_test): Add more tests.
46743 (rint_test_tonearest): Likewise.
46744 (rint_test_towardzero): Likewise.
46745 (rint_test_downward): Likewise.
46746 (rint_test_upward: Likewise.
46747
467482012-02-22 Joseph Myers <joseph@codesourcery.com>
46749
46750 [BZ #10110]
46751 * include/stdc-predef.h: New file. Extracted from features.h.
46752 * include/features.h: Include stdc-predef.h.
46753 * Makefile (headers): Add stdc-predef.h.
46754 * CONFORMANCE (Compiler limitations): Update.
46755
467562012-02-22 Joseph Myers <joseph@codesourcery.com>
46757
46758 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46759
467602012-02-21 David S. Miller <davem@davemloft.net>
46761
46762 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46763 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46764
467652012-02-20 David S. Miller <davem@davemloft.net>
46766
46767 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46768 using a normal save/restore sequence, rather than allocating a
46769 dummy stack frame just to store a frame pointer and restore.
46770 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46771
467722012-02-21 Joseph Myers <joseph@codesourcery.com>
46773
46774 * manual/install.texi: Fix stray word in line-wrapped comment.
46775
467762012-02-20 David S. Miller <davem@davemloft.net>
46777
46778 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46779 both binutils and gcc support GOTDATA.
46780
46781 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46782 "rd %pc" in the PIC register setup sequences.
46783
46784 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46785 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46786 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46787 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46788 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46790 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46791 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46792 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46793 (SYSCALL_ERROR_HANDLER): Likewise.
46794 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46795 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46797 (SYSCALL_ERROR_HANDLER): Likewise.
46798
46799 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46800 (HAVE_GCC_GOTDATA): New.
46801 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46802 relocation support in both binutils and gcc.
46803 * sysdeps/sparc/elf/configure: Regenerate.
46804
46805 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46806 * sysdeps/sparc/sparc32/elf/configure: Delete.
46807 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46808 * sysdeps/sparc/sparc64/elf/configure: Delete.
46809 * sysdeps/sparc/elf/configure.in: New file.
46810 * sysdeps/sparc/elf/configure: Generate.
46811
46812 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46813 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46814 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46815 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46816 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46817
468182012-02-21 Joseph Myers <joseph@codesourcery.com>
46819
46820 * manual/install.texi: Do not mention specific glibc version
46821 numbers.
46822 * manual/libc.texinfo (VERSION, UPDATED): Update.
46823 (@copying): Use @copyright{} and range of years.
46824
468252012-02-21 Joseph Myers <joseph@codesourcery.com>
46826
46827 [BZ #13695]
46828 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46829 [crti.S not in sysdirs] (generated): Do not append.
46830 [crti.S not in sysdirs] (omit-deps): Likewise.
46831 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46832 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46833 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46834 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46835 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46836 Likewise.
46837 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46838 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46839 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46840 * csu/defs.awk: Remove file.
46841 * sysdeps/generic/initfini.c: Likewise.
46842 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46843 variable.
46844 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46845 Likewise.
46846
468472012-02-20 Joseph Myers <joseph@codesourcery.com>
46848
46849 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46850 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46851 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46852 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46853 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46854 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46855 <bits/epoll.h>.
46856 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46857 (__EPOLL_PACKED): Define to empty if not defined by
46858 <bits/epoll.h>.
46859 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46860 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46861 bits/epoll.h.
46862
468632012-02-20 Joseph Myers <joseph@codesourcery.com>
46864
46865 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46866 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46867 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46868 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46869 <bits/timerfd.h>.
46870 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46872 bits/timerfd.h.
46873
468742012-02-20 Joseph Myers <joseph@codesourcery.com>
46875
46876 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46877 in C locale.
46878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46879 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46880 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46882
468832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46884
46885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46886 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46887
468882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46889
46890 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46891 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46892 defined.
46893 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46894 Likewise.
46895 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46896 entry for 2.16.
46897
468982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46899
46900 * math/w_acos.c: Use non-signaling floating-point comparisons.
46901 * math/w_acosf.c: Likewise.
46902 * math/w_acosh.c: Likewise.
46903 * math/w_acoshf.c: Likewise.
46904 * math/w_acoshl.c: Likewise.
46905 * math/w_acosl.c: Likewise.
46906 * math/w_asin.c: Likewise.
46907 * math/w_asinf.c: Likewise.
46908 * math/w_asinl.c: Likewise.
46909 * math/w_atanh.c: Likewise.
46910 * math/w_atanhf.c: Likewise.
46911 * math/w_atanhl.c: Likewise.
46912 * math/w_exp2.c: Likewise.
46913 * math/w_exp2f.c: Likewise.
46914 * math/w_exp2l.c: Likewise.
46915 * math/w_j0.c: Likewise.
46916 * math/w_j0f.c: Likewise.
46917 * math/w_j0l.c: Likewise.
46918 * math/w_j1.c: Likewise.
46919 * math/w_j1f.c: Likewise.
46920 * math/w_j1l.c: Likewise.
46921 * math/w_jn.c: Likewise.
46922 * math/w_jnf.c: Likewise.
46923 * math/w_log.c: Likewise.
46924 * math/w_log10.c: Likewise.
46925 * math/w_log10f.c: Likewise.
46926 * math/w_log10l.c: Likewise.
46927 * math/w_log2.c: Likewise.
46928 * math/w_log2f.c: Likewise.
46929 * math/w_log2l.c: Likewise.
46930 * math/w_logf.c: Likewise.
46931 * math/w_logl.c: Likewise.
46932 * math/w_sqrt.c: Likewise.
46933 * math/w_sqrtf.c: Likewise.
46934 * math/w_sqrtl.c: Likewise.
46935 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46936 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46937 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46938 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46939 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46940
469412012-02-19 Joseph Myers <joseph@codesourcery.com>
46942
46943 [BZ #9739]
46944 * manual/string.texi (strnlen): Use correct parameter name in
46945 equivalent expression.
46946
469472012-02-19 Joseph Myers <joseph@codesourcery.com>
46948
46949 [BZ #11174]
46950 * manual/users.texi (seteuid): Consistently use neweuid for
46951 argument name.
46952
469532012-02-19 Joseph Myers <joseph@codesourcery.com>
46954
46955 [BZ #13704]
46956 * manual/nss.texi (Services in the NSS configuration): Correct
46957 list of services in example configuration file.
46958
469592012-02-19 Nick Bowler <nbowler@draconx.ca>
46960
46961 [BZ #11322]
46962 * manual/arith.texi: Remove statements about negative zero
46963 behaving identically to zero.
46964
469652012-02-18 Joseph Myers <joseph@codesourcery.com>
46966
46967 [BZ #5993]
46968 * manual/install.texi: Do not document upgrading from libc5.
46969
469702012-02-18 Joseph Myers <joseph@codesourcery.com>
46971
46972 [BZ #4596]
46973 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46974
469752012-02-18 David S. Miller <davem@davemloft.net>
46976
46977 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46978 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46979 %o7 across the call.
46980 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46981 instead.
46982 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46983 SETUP_PIC_REG_LEAF.
46984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46985 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46986 * sysdeps/sparc/crtn.S: Likewise.
46987
469882012-02-17 Ulrich Drepper <drepper@gmail.com>
46989
46990 * aout/Makefile: Remove.
46991
469922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46993
46994 [BZ #13058]
46995 * manual/examples/argp-ex1.c (main): Format definition in GNU
46996 style.
46997 * manual/examples/argp-ex2.c (main): Likewise.
46998 * manual/examples/argp-ex3.c (main): Likewise.
46999 * manual/examples/argp-ex4.c (main): Likewise.
47000 * manual/examples/longopt.c (main): Use new-style prototype
47001 definition.
47002 * manual/examples/strncat.c (main): Specify return type and use
47003 (void) for arguments.
47004 * manual/examples/subopt.c (main): Use char **argv argument.
47005
470062012-02-17 Joseph Myers <joseph@codesourcery.com>
47007
47008 [BZ #5077]
47009 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47010 rounding modes.
47011
470122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47013
47014 [BZ #6907]
47015 * manual/string.texi (strchr): Change when strchrnul is
47016 recommended.
47017
470182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47019
47020 [BZ #174]
47021 * manual/locale.texi (setlocale): Document LOCPATH.
47022
470232012-02-17 Joseph Myers <joseph@codesourcery.com>
47024
47025 [BZ #10210]
47026 * manual/process.texi (execle): Move @dots{} before last argument.
47027
470282012-02-17 Paul Bolle <pebolle@tiscali.nl>
47029
47030 [BZ #12047]
47031 * manual/charset.texi (Generic Charset Conversion): Fix typo
47032 (LC_TYPE -> LC_CTYPE).
47033
470342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47035
47036 [BZ #5805]
47037 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47038 (scalbnf): Likewise.
47039 (scalbnl): Likewise.
47040 (scalbln): Likewise.
47041 (scalblnf): Likewise.
47042 (scalblnl): Likewise.
47043 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47044 (vwarnx): Likewise.
47045 (verr): Likewise.
47046 (verrx): Likewise.
47047 * manual/filesys.texi (telldir): Use braces around return type.
47048 * manual/llio.texi (mmap): Add space after comma.
47049 (mmap64): Likewise.
47050 * manual/math.texi (jn): Use @var{} on parameter names.
47051 (jnf): Likewise.
47052 (jnl): Likewise.
47053 (yn): Likewise.
47054 (ynf): Likewise.
47055 (ynl): Likewise.
47056 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47057 line.
47058 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47059 "...".
47060 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47061 (sched_get_priority_max): Likewise.
47062 * manual/signal.texi (sigvec): Add space after comma.
47063 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47064 names.
47065 (if_indextoname): Likewise.
47066 (if_freenameindex): Likewise.
47067 (sendto): Use ',' instead of '.' in prototype.
47068 * manual/startup.texi (syscall): Use @dots{} instead of literal
47069 "...".
47070 * manual/stdio.texi (__fpending): Separate initial words of
47071 paragraph from @deftypefun line.
47072 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47073 "...".
47074 (vsyslog): Use @var{} on parameter names.
47075 * manual/terminal.texi (stty): Use @var{} on parameter names.
47076 * manual/users.texi (getutmp): Use @var{} on parameter names.
47077 (getutmpx): Likewise.
47078
470792012-02-17 Joseph Myers <joseph@codesourcery.com>
47080
47081 [BZ #6884]
47082 * manual/stdio.texi (fopen): Fix typos in description of
47083 ",ccs=STRING".
47084
470852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47086
47087 [BZ #4026]
47088 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47089 get clock_id definition.
47090
470912012-02-17 Thomas Schwinge <thomas@schwinge.name>
47092
47093 [BZ #4822]
47094 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47095 (madvise): Cast every argument to void on its own.
47096
470972012-02-17 Joseph Myers <joseph@codesourcery.com>
47098
47099 [BZ #9902]
47100 * manual/startup.texi (Exit Status): Fix typo.
47101
471022012-02-17 Joseph Myers <joseph@codesourcery.com>
47103
47104 [BZ #10140]
47105 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47106 * manual/examples/argp-ex2.c: Likewise.
47107 * manual/examples/argp-ex3.c: Likewise.
47108
471092012-02-16 Richard Henderson <rth@redhat.com>
47110
47111 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47112 * sysdeps/s390/s390-32/initfini.c: Remove.
47113 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47114 * sysdeps/s390/s390-64/initfini.c: Remove.
47115
471162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47117
47118 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47119 compiler output for sysdeps/generic/initfini.c.
47120 * sysdeps/sh/elf/initfini.c: Remove file.
47121
471222012-02-16 David S. Miller <davem@davemloft.net>
47123
47124 [BZ #11494]
47125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47126
47127 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47128 * sysdeps/sparc/crti.S: New file.
47129 * sysdeps/sparc/crtn.S: New file.
47130 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47131 * sysdeps/sparc/sparc64/Makefile: Likewise.
47132
471332012-02-15 Mike Frysinger <vapier@gentoo.org>
47134
47135 [BZ #3335]
47136 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47137
471382012-02-15 Roland McGrath <roland@hack.frob.com>
47139
47140 [BZ #4822]
47141 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47142
47143 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47144 (write, read, close): Likewise.
47145 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47146
471472012-02-15 Joseph Myers <joseph@codesourcery.com>
47148
47149 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47150 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47151 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47152 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47153 <bits/signalfd.h>.
47154 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47156 bits/signalfd.h.
47157
471582012-02-14 Marek Polacek <polacek@redhat.com>
47159
47160 * sysdeps/x86_64/crti.S: New file.
47161 * sysdeps/x86_64/crtn.S: New file.
47162 * sysdeps/x86_64/elf/initfini.c: Remove file.
47163
471642012-02-13 Joseph Myers <joseph@codesourcery.com>
47165
47166 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47167 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47168 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47169 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47170 <bits/inotify.h>.
47171 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47173 bits/inotify.h.
47174
471752012-02-13 Joseph Myers <joseph@codesourcery.com>
47176
47177 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47178 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47179 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47180 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47181 <bits/eventfd.h>.
47182 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47184 bits/eventfd.h.
47185
471862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47187
47188 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47189 __feraiseexcept instead of feraiseexcept.
47190
47191 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47192 nanosleep invocations.
47193 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47194 strings, and add error checking for a nanosleep invocations.
47195
471962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47197
47198 Replace FSF snail mail address with URLs, as per GNU coding standards.
47199 Most of the snail mail addresses were wrong anyway, and omitting
47200 them makes the source code easier to maintain. Almost all of the
47201 changes are to license notices and to locale LC_IDENTIFICATION
47202 addresses, except for this one:
47203 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47204 not its snail mail address.
47205
472062012-02-09 Richard Henderson <rth@twiddle.net>
47207
47208 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47209 of kernel-features.h.
47210
47211 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47212
472132012-02-08 Marek Polacek <polacek@redhat.com>
47214
47215 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47216 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47217 * sysdeps/gnu/_G_config.h: Likewise.
47218 * sysdeps/generic/_G_config.h: Likewise.
47219
472202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47221
47222 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47223 tests.
47224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47225
47226 * sysdeps/powerpc/powerpc32/crti.S: New file.
47227 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47228 * sysdeps/powerpc/powerpc64/crti.S: New file.
47229 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47230
47231 * Makeconfig (have-initfini): Don't set.
47232 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47233 * configure.in (nopic_initfini): Don't substitute.
47234 * config.h.in (HAVE_INITFINI): Don't #undef.
47235 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47236 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47237
472382012-02-08 Joseph Myers <joseph@codesourcery.com>
47239
47240 Support crti.S and crtn.S provided directly by architectures.
47241 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47242 [crti.S in sysdirs] (omit-deps): Likewise.
47243 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47244 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47245 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47246 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47247 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47248 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47249 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47250 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47251 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47252 compiler output for sysdeps/generic/initfini.c.
47253 * sysdeps/i386/elf/Makefile: Remove file.
47254 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47255
472562012-02-07 Marek Polacek <polacek@redhat.com>
47257
47258 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47259 * sysdeps/gnu/_G_config.h: Likewise.
47260 * sysdeps/mach/hurd/_G_config.h: Likewise.
47261
472622012-02-07 Marek Polacek <polacek@redhat.com>
47263
47264 * math/Makefile (tests): Add tst-CMPLX2.
47265 * math/tst-CMPLX2.c: New file.
47266
472672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47268
47269 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47270
47271 * math/libm-test.inc (jn_test): Add missing L suffix.
47272
472732012-02-06 Marek Polacek <polacek@redhat.com>
47274
47275 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47276 * sysdeps/i386/fpu/e_powf.S: Likewise.
47277 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47278 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47279 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47280 * sysdeps/i386/fpu/e_pow.S: Likewise.
47281 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47282 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47283 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47284 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47285 * sysdeps/i386/fpu/e_log2.S: Likewise.
47286 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47287 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47288 * sysdeps/i386/fpu/e_powl.S: Likewise.
47289 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47290 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47291 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47292 * sysdeps/i386/fpu/e_logl.S: Likewise.
47293 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47294 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47295 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47296 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47297 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47298 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47299 * sysdeps/i386/fpu/e_log.S: Likewise.
47300 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47301 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47302 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47303 * sysdeps/i386/fpu/e_logf.S: Likewise.
47304 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47305 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47306 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47307 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47308 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47309 * sysdeps/i386/fpu/e_log10.S: Likewise.
47310 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47311 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47312 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47313 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47314 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47315 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47316 * sysdeps/i386/asm-syntax.h: Likewise.
47317 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47318 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47319 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47320 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47321 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47322 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47323 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47324 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47325 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47326 * sysdeps/powerpc/sysdep.h: Likewise.
47327 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47328 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47329
473302012-02-06 Joseph Myers <joseph@codesourcery.com>
47331
47332 [BZ #411]
47333 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47334
473352012-02-06 Joseph Myers <joseph@codesourcery.com>
47336
47337 * sysdeps/i386/sysdep.h: Include <features.h>.
47338 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47339 version.
47340
473412012-02-05 Joseph Myers <joseph@codesourcery.com>
47342
47343 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47344 Define.
47345 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47346 LOAD_PIC_REG_STR.
47347
473482012-02-03 Joseph Myers <joseph@codesourcery.com>
47349
47350 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47351 (SETUP_PIC_REG): Use GET_PC_THUNK.
47352 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47353 macro.
47354
473552012-02-03 Joseph Myers <joseph@codesourcery.com>
47356
47357 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47358 for non-PIC compilation.
47359 (SETUP_PIC_REG): Add .p2align directive.
47360 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47361 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47362 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47363 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47364 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47365 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47366 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47367 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47368 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47369 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47370 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47371 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47372 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47373 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47374 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47375 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47376 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47377 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47378 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47379 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47380 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47381 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47382 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47383 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47384 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47385 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47386 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47387 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47388 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47389 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47390 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47391 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47392 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47393 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47394 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47395 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47396 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47397 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47398 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47399 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47400 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47401
474022012-02-03 Joseph Myers <joseph@codesourcery.com>
47403
47404 * math/tst-CMPLX.c: Include <stdio.h>.
47405
474062012-01-31 Joseph Myers <joseph@codesourcery.com>
47407
47408 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47409 float.
47410 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47411 * sysdeps/sparc/bits/mathdef.h: Likewise.
47412
474132012-01-31 Marek Polacek <polacek@redhat.com>
47414
47415 * libio/libio.h: Don't define _PARAMS.
47416 * locale/programs/config.h: Don't define PARAMS.
47417 * stdlib/strtol_l.c: Likewise.
47418 (__strtol_l): Remove PARAMS from the prototype.
47419
474202012-01-31 Ulrich Drepper <drepper@gmail.com>
47421
47422 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47423 names. Just use the correct names. Remove unnecessary wrapper
47424 functions.
47425 * malloc/arena.c: Likewise.
47426 * malloc/hooks.c: Likewise.
47427
47428 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47429 ARENA_TEST says not to. Simplify test for creation of a new arena.
47430 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47431
474322012-01-30 Ulrich Drepper <drepper@gmail.com>
47433
47434 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47435 into tail calls.
47436 (update_get_addr): New function.
47437 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47438 GET_ADDR_MODULE parameter.
47439
474402012-01-30 Joseph Myers <joseph@codesourcery.com>
47441
47442 * crypt/cert.c: Remove __STDC__ conditionals.
47443 * crypt/crypt-entry.c: Likewise.
47444 * crypt/crypt_util.c: Likewise.
47445 * libio/filedoalloc.c: Likewise.
47446 * libio/fileops.c: Likewise.
47447 * libio/genops.c: Likewise.
47448 * libio/iofclose.c: Likewise.
47449 * libio/iofdopen.c: Likewise.
47450 * libio/iofopen.c: Likewise.
47451 * libio/iofopen64.c: Likewise.
47452 * libio/iogetdelim.c: Likewise.
47453 * libio/iopopen.c: Likewise.
47454 * libio/obprintf.c: Likewise.
47455 * libio/oldfileops.c: Likewise.
47456 * libio/oldiofclose.c: Likewise.
47457 * libio/oldiofdopen.c: Likewise.
47458 * libio/oldiofopen.c: Likewise.
47459 * libio/oldiopopen.c: Likewise.
47460 * libio/wfiledoalloc.c: Likewise.
47461 * libio/wgenops.c: Likewise.
47462 * locale/programs/xmalloc.c: Likewise.
47463 * misc/syslog.c: Likewise.
47464 * stdio-common/xbug.c: Likewise.
47465 * string/memchr.c: Likewise.
47466 * string/memcmp.c: Likewise.
47467 * string/memrchr.c: Likewise.
47468 * string/rawmemchr.c: Likewise.
47469 * sysdeps/posix/getcwd.c: Likewise.
47470 * time/strftime_l.c: Likewise.
47471
474722012-01-30 Joseph Myers <joseph@codesourcery.com>
47473
47474 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47475 * config.make.in (config-cflags-sse2avx): Define.
47476 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47477 Fix typo.
47478
474792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47480
47481 * scripts/config.guess: Update from upstream config git repository.
47482 * scripts/config.sub: Likewise.
47483
474842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47485
47486 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47487 (EM_NUM): Update.
47488 (R_TILEPRO_*, R_TILEGX_*): New macros.
47489
47490 * scripts/firstversions.awk: Fix bug in version range handling.
47491
47492 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47493
47494 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47495
47496 * include/sys/epoll.h: New file.
47497 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47498 libc_hidden_def.
47499
475002012-01-28 Ulrich Drepper <drepper@gmail.com>
47501
47502 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47503 Avoid unnecessary __WORDSIZE == 64 test.
47504 (fmaxf): Use VEX format if possible.
47505 (fmax): Likewise.
47506 (fminf): Likewise.
47507 (fmin): Likewise.
47508
47509 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47510 * math/math_private.h: Remove libc_fegetround* and
47511 libc_fesetround*.
47512 * sysdeps/i386/configure.in: Check for -msse2avx.
47513 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47514 also if SSE2AVX is defined.
47515 Remove libc_fegetround* and libc_fesetround*.
47516 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47517 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47518 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47519 of HAS_YMM_USABLE.
47520 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47521 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47522 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47523 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47524 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47525
47526 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47527
475282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47529
47530 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47531 size is not set.
47532 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47533
475342012-01-27 Ulrich Drepper <drepper@gmail.com>
47535
47536 [BZ #13618]
47537 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47538 relocation.
47539 * Makeconfig (libm): Define.
47540 * elf/Makefile: Add rules to build and run tst-relsort1.
47541 * elf/tst-relsort1.c: New file.
47542 * elf/tst-relsort1mod1.c: New file.
47543 * elf/tst-relsort1mod2.c: New file.
47544
475452012-01-27 Joseph Myers <joseph@codesourcery.com>
47546
47547 * math/s_ldexp.c: Remove __STDC__ conditionals.
47548 * math/s_ldexpf.c: Likewise.
47549 * math/s_ldexpl.c: Likewise.
47550 * math/s_nextafter.c: Likewise.
47551 * math/s_nexttowardf.c: Likewise.
47552 * math/s_significand.c: Likewise.
47553 * math/s_significandf.c: Likewise.
47554 * math/s_significandl.c: Likewise.
47555 * math/w_jnl.c: Likewise.
47556 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47557 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47558 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47559 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47560 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47562 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47563 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47564 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47565 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47566 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47567 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47568 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47569 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47570 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47571 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47572 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47573 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47575 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47576 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47577 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47578 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47579 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47580 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47581 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47582 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47583 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47584 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47585 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47586 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47587 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47588 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47589 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47590 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47591 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47592 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47593 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47594 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47595 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47596 * sysdeps/ieee754/k_standard.c: Likewise.
47597 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47598 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47599 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47600 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47601 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47602 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47603 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47604 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47605 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47606 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47607 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47608 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47609 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47610 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47611 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47612 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47613 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47614 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47615 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47616 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47629 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47631 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47632 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47633 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47658 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47663 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47664 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47667 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47668 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47670 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47671 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47672 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47676 * sysdeps/ieee754/s_matherr.c: Likewise.
47677 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47678 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47679 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47680 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47681
476822012-01-26 Joseph Myers <joseph@codesourcery.com>
47683
47684 * crypt/md5.h: Remove __STDC__ conditionals.
47685 * libio/libioP.h: Likewise.
47686 * locale/programs/config.h: Likewise.
47687 * sysdeps/generic/sysdep.h: Likewise.
47688 * sysdeps/i386/asm-syntax.h: Likewise.
47689 * sysdeps/s390/asm-syntax.h: Likewise.
47690 * sysdeps/unix/sysdep.h: Likewise.
47691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47693
476942012-01-26 Joseph Myers <joseph@codesourcery.com>
47695
47696 * libio/libio.h: Remove __STDC__ conditionals.
47697 * malloc/obstack.h: Likewise.
47698 * math/complex.h: Likewise.
47699 * math/math.h: Likewise.
47700 * sysdeps/generic/_G_config.h: Likewise.
47701 * sysdeps/gnu/_G_config.h: Likewise.
47702 * sysdeps/mach/hurd/_G_config.h: Likewise.
47703 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47704 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47705 * sysdeps/sparc/bits/mathdef.h: Likewise.
47706
477072012-01-26 Ulrich Drepper <drepper@gmail.com>
47708
47709 [BZ #13583]
47710 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47711 Clean up HAS_* macros.
47712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47713 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47714 possible.
47715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47716 HAS_AVX.
47717 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47718 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47720 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47721 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47722
477232012-01-25 Joseph Myers <joseph@codesourcery.com>
47724
47725 * elf/tst-unique3.cc (gets): Remove declaration.
47726 * elf/tst-unique3lib.cc (gets): Likewise.
47727 * elf/tst-unique3lib2.cc (gets): Likewise.
47728 * elf/tst-unique4.cc (gets): Likewise.
47729
477302012-01-24 Ulrich Drepper <drepper@gmail.com>
47731
47732 * include/stdio.h: Add C++ protection. Add gets declarations and
47733 definitions.
47734 * debug/tst-chk1.c: Don't declare gets here.
47735 * stdio-common/tst-gets.c: Likewise.
47736
477372012-01-24 Joseph Myers <joseph@codesourcery.com>
47738
47739 * posix/glob: Remove directory.
47740
477412012-01-24 Joseph Myers <joseph@codesourcery.com>
47742
47743 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47744
477452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47746
47747 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47748 of the non-standard EPFNOSUPPORT.
47749
477502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47751
47752 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47753 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47754 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47755
477562012-01-21 Ulrich Drepper <drepper@gmail.com>
47757
47758 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47759
477602012-01-20 Ulrich Drepper <drepper@gmail.com>
47761
47762 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47763 transient errors.
47764 * nscd/grpcache.c (cache_addgr): Likewise.
47765 * nscd/hstcache.c (cache_addhst): Likewise.
47766 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47767 * nscd/pwdcache.c (cache_addpw): Likewise.
47768 * nscd/servicescache.c (cache_addserv): Likewise.
47769
477702012-01-16 Ulrich Drepper <drepper@gmail.com>
47771
47772 * malloc/malloc.c: Various cleanups.
47773 * malloc/hooks.c: Likewise.
47774
47775 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47776 * stdlib/bug-fmtmsg1.c: New file.
47777
47778 * stdlib/fmtmsg.c (init): Add missing unlock.
47779 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47780
477812012-01-12 Marek Polacek <polacek@redhat.com>
47782
47783 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47784 and _GNU_SOURCE.
47785
477862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47787
47788 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47789 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47790 macro to ensure uniqueness of label name.
47791 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47792 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47793
477942012-01-11 Ulrich Drepper <drepper@gmail.com>
47795
47796 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47797
47798 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47799 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47800 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47801 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47802
478032012-01-10 Ulrich Drepper <drepper@gmail.com>
47804
47805 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47806
47807 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47808 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47809 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47810
47811 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47812
47813 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47814 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47816 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47817
47818 * math/bits/math-finite.h: Add ldexp support.
47819
478202012-01-10 Marek Polacek <polacek@redhat.com>
47821
47822 * locale/programs/localedef.h (show_archive_content): Add noreturn
47823 attribute.
47824
478252012-01-09 Ulrich Drepper <drepper@gmail.com>
47826
47827 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47828
478292012-01-08 Ulrich Drepper <drepper@gmail.com>
47830
47831 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47832
47833 * io/Makefile (headers): Add bits/poll2.h.
47834
478352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47836
47837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47838 typo #include statement.
47839
478402012-01-08 Ulrich Drepper <drepper@gmail.com>
47841
47842 * include/sys/cdefs.h: Define __attribute_alloc_size.
47843 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47844 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47845 * elf/pldd.c: Likewise.
47846 * iconv/iconv_charmap.c: Likewise.
47847 * iconv/iconvconfig.c: Likewise.
47848 * iconv/strtab.c: Likewise.
47849 * locale/programs/locale.c: Likewise.
47850 * locale/programs/localedef.h: Likewise.
47851 * locale/programs/simple-hash.c: Likewise.
47852 * nscd/nscd.h: Likewise.
47853 * nss/makedb.c: Likewise.
47854 * sysdeps/generic/ldconfig.h: Likewise.
47855 * locale/programs/localedef.c: Remove xmalloc prototype.
47856 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47857
478582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47859
47860 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47861 appropriate.
47862
478632012-01-08 Ulrich Drepper <drepper@gmail.com>
47864
47865 * math/Makefile (tests): Add tst-CMPLX.
47866 * math/tst-CMPLX.c: New file.
47867
47868 * math/complex.h (CMPLXL): Fix typo.
47869
47870 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47871 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47872 GLIBC_2.16.
47873 * debug/tst-chk1.c: Add poll and ppoll tests.
47874 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47875 * include/sys/poll.h: Add hidden proto for ppoll.
47876 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47877 * sysdeps/mach/hurd/ppoll.c: Likewise.
47878 * io/ppoll.c: Likewise.
47879 * debug/poll_chk.c: New file.
47880 * debug/ppoll_chk.c: New file.
47881 * include/bits/poll2.h: New file.
47882 * io/bits/poll2.h: New file.
47883
47884 [BZ #1350]
47885 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47886
47887 * configure.in: static is always set to yes. Remove.
47888 * config.make.in: Don't set build-static.
47889 * Makeconfig: Remove use of build-static.
47890 * dlfcn/Makefile: Likewise.
47891 * elf/Makefile: Likewise.
47892 * math/Makefile: Likewise.
47893 * misc/Makefile: Likewise.
47894 * nptl/Makefile: Likewise.
47895 * sysdeps/mach/hurd/Makefile: Likewise.
47896
47897 * configure.in: PWD_P is not used anymore.
47898 * config.make.in: Remove PWD_P entry.
47899
47900 * configure.in: Remove last remnants of RANLIB.
47901 No need to check for signed size_t anymore.
47902 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47903 and IA-64.
47904 Remove __builtin_expect test because we require at least gcc 3.4.
47905 * aclocal.m4: Likewise.
47906
47907 * wcsmbs/mbrtoc16.c: Implement using towc function.
47908 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47909 * wcsmbs/wcsmbsload.c: Likewise.
47910 * iconv/gconv_simple.c: Likewise.
47911 * iconv/gconv_int.h: Likewise.
47912 * iconv/gconv_builtin.h: Likewise.
47913 * iconv/iconv_prog.c: Remove CHAR16 handling.
47914
47915 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47916
47917 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47918
47919 * configure.in: Remove --with-elf and --enable-bounded options.
47920 Dont set base_machine for ia64. More non-ELF conditions removed.
47921 Remove testing and setting of leading underscore information.
47922 * config.make.in (build-bounded): Set to no.
47923 * config.h.in: Remove NO_UNDERSCORES entry.
47924 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47925 them.
47926 * csu/start.c: Remove !NO_UNDERSCORE code.
47927 * locale/localeinfo.h: Likewise.
47928 * sysdeps/generic/machine-gmon.h: Likewise.
47929 * sysdeps/generic/sysdep.h: Likewise.
47930 * sysdeps/i386/sysdep.h: Likewise.
47931 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47932 * sysdeps/mach/sysdep.h: Likewise.
47933 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47934 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47935 * sysdeps/sh/sysdep.h: Likewise.
47936 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47937 * sysdeps/unix/i386/sysdep.S: Likewise.
47938 * sysdeps/unix/sparc/start.c: Likewise.
47939 * sysdeps/unix/sparc/sysdep.S: Likewise.
47940 * sysdeps/unix/sparc/sysdep.h: Likewise.
47941 * sysdeps/unix/start.c: Likewise.
47942 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47943 * sysdeps/x86_64/sysdep.h: Likewise.
47944
479452012-01-07 Ulrich Drepper <drepper@gmail.com>
47946
47947 [BZ #13553]
47948 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47949 for non-gcc.
47950 * argp/argp-fmtstream.h: Use const instead __const.
47951 * argp/argp.h: Likewise.
47952 * assert/assert.h: Likewise.
47953 * bits/fenv.h: Likewise.
47954 * bits/sched.h: Likewise.
47955 * bits/sigset.h: Likewise.
47956 * bits/sigthread.h: Likewise.
47957 * catgets/nl_types.h: Likewise.
47958 * conform/data/pthread.h-data: Likewise.
47959 * crypt/crypt-private.h: Likewise.
47960 * crypt/crypt.h: Likewise.
47961 * crypt/crypt_util.c: Likewise.
47962 * ctype/ctype.h: Likewise.
47963 * debug/execinfo.h: Likewise.
47964 * debug/mbsnrtowcs_chk.c: Likewise.
47965 * debug/mbsrtowcs_chk.c: Likewise.
47966 * debug/wcsnrtombs_chk.c: Likewise.
47967 * debug/wcsrtombs_chk.c: Likewise.
47968 * debug/wcstombs_chk.c: Likewise.
47969 * dirent/dirent.h: Likewise.
47970 * dlfcn/dlfcn.h: Likewise.
47971 * elf/neededtest4.c: Likewise.
47972 * grp/grp.h: Likewise.
47973 * gshadow/gshadow.h: Likewise.
47974 * iconv/gconv.h: Likewise.
47975 * iconv/gconv_int.h: Likewise.
47976 * iconv/gconv_simple.c: Likewise.
47977 * iconv/iconv.h: Likewise.
47978 * iconv/loop.c: Likewise.
47979 * iconv/skeleton.c: Likewise.
47980 * include/aio.h: Likewise.
47981 * include/aliases.h: Likewise.
47982 * include/argz.h: Likewise.
47983 * include/arpa/inet.h: Likewise.
47984 * include/assert.h: Likewise.
47985 * include/dirent.h: Likewise.
47986 * include/dlfcn.h: Likewise.
47987 * include/execinfo.h: Likewise.
47988 * include/fcntl.h: Likewise.
47989 * include/fenv.h: Likewise.
47990 * include/glob.h: Likewise.
47991 * include/grp.h: Likewise.
47992 * include/libintl.h: Likewise.
47993 * include/mntent.h: Likewise.
47994 * include/netdb.h: Likewise.
47995 * include/pwd.h: Likewise.
47996 * include/rpc/netdb.h: Likewise.
47997 * include/sched.h: Likewise.
47998 * include/search.h: Likewise.
47999 * include/shadow.h: Likewise.
48000 * include/signal.h: Likewise.
48001 * include/stdio.h: Likewise.
48002 * include/stdlib.h: Likewise.
48003 * include/string.h: Likewise.
48004 * include/sys/socket.h: Likewise.
48005 * include/sys/stat.h: Likewise.
48006 * include/sys/statfs.h: Likewise.
48007 * include/sys/statvfs.h: Likewise.
48008 * include/sys/syslog.h: Likewise.
48009 * include/sys/time.h: Likewise.
48010 * include/sys/uio.h: Likewise.
48011 * include/time.h: Likewise.
48012 * include/unistd.h: Likewise.
48013 * include/utmp.h: Likewise.
48014 * include/wchar.h: Likewise.
48015 * include/wctype.h: Likewise.
48016 * inet/aliases.h: Likewise.
48017 * inet/arpa/inet.h: Likewise.
48018 * inet/netinet/ether.h: Likewise.
48019 * inet/netinet/in.h: Likewise.
48020 * intl/libintl.h: Likewise.
48021 * io/bits/fcntl2.h: Likewise.
48022 * io/fcntl.h: Likewise.
48023 * io/ftw.h: Likewise.
48024 * io/sys/poll.h: Likewise.
48025 * io/sys/stat.h: Likewise.
48026 * io/sys/statfs.h: Likewise.
48027 * io/sys/statvfs.h: Likewise.
48028 * io/utime.h: Likewise.
48029 * libio/bits/stdio.h: Likewise.
48030 * libio/bits/stdio2.h: Likewise.
48031 * libio/libio.h: Likewise.
48032 * libio/libioP.h: Likewise.
48033 * libio/stdio.h: Likewise.
48034 * locale/lc-ctype.c: Likewise.
48035 * locale/locale.h: Likewise.
48036 * login/utmp.h: Likewise.
48037 * malloc/arena.c: Likewise.
48038 * malloc/malloc.c: Likewise.
48039 * malloc/malloc.h: Likewise.
48040 * malloc/mcheck.c: Likewise.
48041 * malloc/mtrace.c: Likewise.
48042 * math/bits/mathcalls.h: Likewise.
48043 * math/fenv.h: Likewise.
48044 * math/math_private.h: Likewise.
48045 * misc/bits/error.h: Likewise.
48046 * misc/bits/syslog.h: Likewise.
48047 * misc/err.h: Likewise.
48048 * misc/error.h: Likewise.
48049 * misc/fstab.h: Likewise.
48050 * misc/mntent.h: Likewise.
48051 * misc/regexp.h: Likewise.
48052 * misc/search.h: Likewise.
48053 * misc/sgtty.h: Likewise.
48054 * misc/sys/mman.h: Likewise.
48055 * misc/sys/syslog.h: Likewise.
48056 * misc/sys/uio.h: Likewise.
48057 * misc/sys/xattr.h: Likewise.
48058 * misc/ttyent.h: Likewise.
48059 * nis/rpcsvc/ypclnt.h: Likewise.
48060 * nss/nss.h: Likewise.
48061 * posix/bits/unistd.h: Likewise.
48062 * posix/fnmatch.h: Likewise.
48063 * posix/glob.h: Likewise.
48064 * posix/sched.h: Likewise.
48065 * posix/spawn.h: Likewise.
48066 * posix/sys/wait.h: Likewise.
48067 * posix/unistd.h: Likewise.
48068 * posix/wordexp.h: Likewise.
48069 * pwd/pwd.h: Likewise.
48070 * resolv/netdb.h: Likewise.
48071 * resource/sys/resource.h: Likewise.
48072 * rt/aio.h: Likewise.
48073 * rt/bits/mqueue2.h: Likewise.
48074 * rt/mqueue.h: Likewise.
48075 * shadow/shadow.h: Likewise.
48076 * signal/signal.h: Likewise.
48077 * socket/send.c: Likewise.
48078 * socket/sendto.c: Likewise.
48079 * socket/sys/socket.h: Likewise.
48080 * stdio-common/printf.h: Likewise.
48081 * stdlib/bits/stdlib.h: Likewise.
48082 * stdlib/fmtmsg.h: Likewise.
48083 * stdlib/monetary.h: Likewise.
48084 * stdlib/stdlib.h: Likewise.
48085 * stdlib/ucontext.h: Likewise.
48086 * streams/stropts.h: Likewise.
48087 * string/argz.h: Likewise.
48088 * string/bits/string2.h: Likewise.
48089 * string/string.h: Likewise.
48090 * string/strings.h: Likewise.
48091 * sunrpc/rpc/auth.h: Likewise.
48092 * sunrpc/rpc/auth_des.h: Likewise.
48093 * sunrpc/rpc/clnt.h: Likewise.
48094 * sunrpc/rpc/netdb.h: Likewise.
48095 * sunrpc/rpc/pmap_clnt.h: Likewise.
48096 * sunrpc/rpc/xdr.h: Likewise.
48097 * sysdeps/generic/inttypes.h: Likewise.
48098 * sysdeps/generic/net/if.h: Likewise.
48099 * sysdeps/generic/sys/swap.h: Likewise.
48100 * sysdeps/gnu/net/if.h: Likewise.
48101 * sysdeps/gnu/utmpx.h: Likewise.
48102 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48103 * sysdeps/i386/i486/bits/string.h: Likewise.
48104 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48105 * sysdeps/s390/bits/string.h: Likewise.
48106 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48107 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48108 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48109 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48110 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48111 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48112 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48113 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48114 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48115 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48116 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48117 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48118 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48119 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48120 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48121 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48122 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48123 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48124 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48125 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48126 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48127 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48128 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48129 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48130 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48131 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48132 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48133 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48134 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48135 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48136 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48137 * sysvipc/sys/ipc.h: Likewise.
48138 * sysvipc/sys/msg.h: Likewise.
48139 * sysvipc/sys/sem.h: Likewise.
48140 * sysvipc/sys/shm.h: Likewise.
48141 * termios/termios.h: Likewise.
48142 * time/sys/time.h: Likewise.
48143 * time/time.h: Likewise.
48144 * wcsmbs/bits/wchar2.h: Likewise.
48145 * wcsmbs/uchar.h: Likewise.
48146 * wcsmbs/wchar.h: Likewise.
48147 * wctype/wctype.h: Likewise.
48148
48149 [BZ #13551]
48150 * Makeconfig: Remove all but ELF support including AIX support.
48151 * Makerules: Likewise.
48152 * config.h.in: Likewise.
48153 * config.make.in: Likewise.
48154 * configure: Likewise.
48155 * configure.in: Likewise.
48156 * csu/Makefile: Likewise.
48157 * csu/version.c: Likewise.
48158 * debug/Makefile: Likewise.
48159 * dlfcn/Makefile: Likewise.
48160 * elf/Makefile: Likewise.
48161 * extra-lib.mk: Likewise.
48162 * iconv/Makefile: Likewise.
48163 * include/libc-symbols.h: Likewise.
48164 * include/shlib-compat.h: Likewise.
48165 * resolv/Makefile: Likewise.
48166 * resolv/res_libc.c: Likewise.
48167 * rt/Makefile: Likewise.
48168 * sysdeps/i386/asm-syntax.h: Likewise.
48169 * sysdeps/i386/sysdep.h: Likewise.
48170 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48171 * sysdeps/mach/sysdep.h: Likewise.
48172 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48173 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48174 * sysdeps/s390/asm-syntax.h: Likewise.
48175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48176 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48177 * sysdeps/sh/sysdep.h: Likewise.
48178 * sysdeps/unix/sparc/sysdep.h: Likewise.
48179 * sysdeps/wordsize-32/divdi3.c: Likewise.
48180 * sysdeps/x86_64/sysdep.h: Likewise.
48181
48182 * argp/Versions: Remove _argp_unlock_xxx.
48183
48184 [BZ #13559]
48185 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48186 * abilist/libBrokenLocale.abilist: Likewise.
48187 * abilist/libanl.abilist: Likewise.
48188 * abilist/libc.abilist: Likewise.
48189 * abilist/libcrypt.abilist: Likewise.
48190 * abilist/libdl.abilist: Likewise.
48191 * abilist/libm.abilist: Likewise.
48192 * abilist/libnsl.abilist: Likewise.
48193 * abilist/libpthread.abilist: Likewise.
48194 * abilist/libresolv.abilist: Likewise.
48195 * abilist/librt.abilist: Likewise.
48196 * abilist/libthread_db.abilist: Likewise.
48197 * abilist/libutil.abilist: Likewise.
48198 * abilist/libnss_db.abilist: New file.
48199
48200 * scripts/abilist.awk: Add support for indirect functions.
48201
48202 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48203
48204 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48205
48206 * shlib-versions: Remove entries for ports architectures.
48207
48208 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48209 files in ports.
48210 * elf/stackguard-macros.h: Remove support for IA-64.
48211 * elf/tst-auditmod1.c: Likewise.
48212 * sysdeps/generic/ldsodefs.h: Likewise.
48213
48214 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48215 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48216 configure files.
48217
48218 [BZ #13552]
48219 * configure.in: Remove --enable-omitfp support.
48220 * FAQ.in: Adjust.
48221 * config.make.in: Likewise.
48222 * Makeconfig: Likewise.
48223 * manual/install.texi: Likewise.
48224
48225 In case anyone cares, the IA-64 architecture could move to ports.
48226 * sysdeps/ia64/*: Removed.
48227 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48228 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48229
48230 [BZ #13555]
48231 * configure.in: Remove entries for unsupported architectures.
48232
48233 [BZ #13533]
48234 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48235 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48236 routines.
48237 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48238 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48239 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48240 fall back to using wcrtomb.
48241 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48242 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48243 renaming.
48244 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48245 * wcsmbs/tst-c16c32-1.c: New file.
48246
48247 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48248 local variable.
48249
48250 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48251
48252 * elf/tst-unique3.cc: Add explicit declaration of gets.
48253 * elf/tst-unique3lib.cc: Likewise.
48254 * elf/tst-unique3lib2.cc: Likewise.
48255 * elf/tst-unique4.cc: Likewise.
48256
48257 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48258
482592012-01-06 Joseph Myers <joseph@codesourcery.com>
48260
48261 [BZ #13566]
48262 * assert/assert.h (static_assert): Don't define for C++.
48263 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48264 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48265
482662012-01-03 Ulrich Drepper <drepper@gmail.com>
48267
48268 * iconv/loop.c (single loop): Fix assertion in storing of
48269 remaining bytes.
48270
48271 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48272
482732012-01-01 Ulrich Drepper <drepper@gmail.com>
48274
48275 * posix/getconf.c: Update copyright year.
48276 * nss/getent.c: Likewise.
48277 * nss/makedb.c: Likewise.
48278 * iconv/iconvconfig.c: Likewise.
48279 * iconv/iconv_prog.c: Likewise.
48280 * elf/ldconfig.c: Likewise.
48281 * elf/pldd.c: Likewise.
48282 * elf/sotruss.ksh: Likewise.
48283 * catgets/gencat.c: Likewise.
48284 * csu/version.c: Likewise.
48285 * elf/ldd.bash.in: Likewise.
48286 * elf/sprof.c (print_version): Likewise.
48287 * locale/programs/locale.c: Likewise.
48288 * locale/programs/localedef.c: Likewise.
48289 * login/programs/pt_chown.c: Likewise.
48290 * nscd/nscd.c (print_version): Likewise.
48291 * debug/xtrace.sh: Likewise.
48292 * malloc/memusage.sh: Likewise.
48293 * malloc/mtrace.pl: Likewise.
48294 * debug/catchsegv.sh: Likewise.
48295
482962011-12-30 Jakub Jelinek <jakub@redhat.com>
48297
48298 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48299 pure attribute.
48300
483012011-12-24 Ulrich Drepper <drepper@gmail.com>
48302
48303 [BZ #13533]
48304 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48305 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48306 transformations.
48307 * iconv/gconv_int.h: Likewise.
48308 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48309 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48310 from libc for GLIBC_2.16.
48311 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48312 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48313 * wcsmbs/uchar.h: Really define mbstate_t.
48314 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48315 * wcsmbs/c16rtomb.c: New file.
48316 * wcsmbs/mbrtoc16.c: New file.
48317 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48318 for C/POSIX locale.
48319 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48320 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48321
48322 * wcsmbs/wchar.h: Add missing __restrict.
48323
483242011-12-23 Ulrich Drepper <drepper@gmail.com>
48325
48326 [BZ #13532]
48327 * time/Makefile (routines): Add timespec_get.
48328 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48329 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48330 timespec for ISO C11.
48331 * time/timespec_get.c: New file.
48332 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48333 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48334
48335 [BZ #13531]
48336 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48337 * stdlib/stdlib.h: Declare aligned_alloc.
48338 * Versions.def: Add GLIBC_2.16 for libc.
48339 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48340
48341 [BZ 13527]
48342 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48343 ISO C11.
48344
48345 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48346 code.
48347
48348 [BZ #13528]
48349 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48350
48351 [BZ #13529]
48352 * assert/assert.h (static_assert): Define.
48353
48354 * version.h: Update for 2.16 development version.
48355
48356 [BZ #13526]
48357 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48358 _ISOC11_SOURCE.
48359
48360 * version.h (RELEASE): Bump for 2.15 release.
48361 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48362
48363 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48364 Patch by Marek Polacek <mpolacek@redhat.com>.
48365
48366 * bits/byteswap.h: Protect long long constants with __extension__.
48367 * sysdeps/i386/bits/byteswap.h: Likewise.
48368 * sysdeps/ia64/bits/byteswap.h: Likewise.
48369 * sysdeps/s390/bits/byteswap.h: Likewise.
48370 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48371
483722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48373
48374 [BZ #13540]
48375 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48376 destination buffer.
48377 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48378
483792011-12-23 Marek Polacek <polacek@redhat.com>
48380
48381 * elf/dl-addr.c (determine_info): Add inline keyword.
48382 * elf/tst-auditmod4b.c (check_avx): Likewise.
48383 * elf/tst-auditmod6b.c (check_avx): Likewise.
48384 * elf/tst-auditmod6c.c (check_avx): Likewise.
48385 * elf/tst-auditmod7b.c (check_avx): Likewise.
48386
483872011-12-23 Ulrich Drepper <drepper@gmail.com>
48388
48389 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48390 !__SSE_MATH__.
48391
483922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48393
48394 [BZ #13540]
48395 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48396 processing for last bytes.
48397
483982011-08-06 Bruno Haible <bruno@clisp.org>
48399
48400 [BZ #13061]
48401 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48402 U+0385, not to U+1FEE.
48403
48404 [BZ #13062]
48405 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48406 entry for U+00A5 U+0301.
48407
484082011-12-22 Ulrich Drepper <drepper@gmail.com>
48409
48410 [BZ #13166]
48411 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48412 buffer for the output is too small.
48413
48414 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48415 optimization.
48416
48417 [BZ #13185]
48418 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48419 SSE flags if possible.
48420
484212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48422
48423 [BZ #13540]
48424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48425 processing for last bytes.
48426
484272011-12-22 Joseph Myers <joseph@codesourcery.com>
48428
48429 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48430 (syscall-list-default-options, syscall-list-default-condition)
48431 (syscall-list-includes): Define.
48432 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48433 list of ABIs and options and #if conditions for each ABI. Do not
48434 handle common syscalls between ABIs specially.
48435 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48436 Remove.
48437 (syscall-list-variants, syscall-list-32bit-options)
48438 (syscall-list-32bit-condition, syscall-list-64bit-options)
48439 (syscall-list-64bit-condition): Define.
48440 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48441 (syscall-list-variants, syscall-list-32bit-options)
48442 (syscall-list-32bit-condition, syscall-list-64bit-options)
48443 (syscall-list-64bit-condition): Define.
48444 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48445 Remove.
48446 (syscall-list-variants, syscall-list-32bit-options)
48447 (syscall-list-32bit-condition, syscall-list-64bit-options)
48448 (syscall-list-64bit-condition): Define.
48449 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48450 Remove.
48451 (syscall-list-variants, syscall-list-32bit-options)
48452 (syscall-list-32bit-condition, syscall-list-64bit-options)
48453 (syscall-list-64bit-condition): Define.
48454
484552011-12-22 Ulrich Drepper <drepper@gmail.com>
48456
48457 * locale/iso-639.def: Add brx entry.
48458
48459 [BZ #13328]
48460 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48461 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48462
48463 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48464 __feraiseexcept_renamed.
48465
484662011-12-21 Ulrich Drepper <drepper@gmail.com>
48467
48468 [BZ #13538]
48469 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48470 EPOLLET with unsigned values.
48471 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48472 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48473
48474 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48475 to large cancellation.
48476 * math/s_cacoshf.c: Likewise.
48477 * math/s_cacoshl.c: Likewise.
48478
484792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48480
48481 [BZ #13305]
48482 [BZ #12786]
48483 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48484 * math/s_cacoshf.c: Likewise.
48485 * math/s_cacoshl.c: Likewise.
48486
484872011-12-21 Ulrich Drepper <drepper@gmail.com>
48488
48489 [BZ #13439]
48490 * iconv/gconv.h: Define __GCONV_SWAP.
48491 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48492 * iconvdata/utf-16.c: Likewise.
48493 * iconvdata/utf-32.c: Likewise.
48494
484952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48496
48497 [BZ #13524]
48498 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48499 numerator after shifting it by one limb.
48500
485012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48502
48503 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48504 under [__USE_EXTERN_INLINES].
48505
485062011-12-17 Ulrich Drepper <drepper@gmail.com>
48507
48508 [BZ #13446]
48509 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48510
485112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48512
48513 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48514 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48515 optimized code.
48516 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48517 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48518 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48519 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48520 for strncasecmp/strncasecmp_l compilation.
48521 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48522 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48523
485242011-12-08 Marek Polacek <mpolacek@redhat.com>
48525
48526 [BZ #13484]
48527 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48528 of __asm__.
48529
485302011-12-17 Ulrich Drepper <drepper@gmail.com>
48531
48532 [BZ #13506]
48533 * time/tzfile.c (__tzfile_read): Check values from file header.
48534
485352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48536
48537 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48538 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48539 * powerpc/powerpc32/dl-start.S: Likewise.
48540 * powerpc/powerpc32/elf/start.S: Likewise.
48541 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48542 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48543 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48544 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48545 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48546 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48547 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48548 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48549 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48550 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48551 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48552 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48553 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48554 * powerpc/powerpc32/memset.S: Likewise.
48555 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48556 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48557 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48558 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48559 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48560 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48561 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48562 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48563 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48564 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48565 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48566 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48567 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48568
485692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48570
48571 * math/libm-test.inc: Added more nearbyint tests.
48572 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48573 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48574 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48575 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48576
485772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48578
48579 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48580 FD_CLOEXEC.
48581
485822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48583
48584 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48585 Add wcscpy-ssse3 wcscpy-c.
48586 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48587 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48588 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48589 * sysdeps/x86_64/wcschr.S: New file.
48590 * sysdeps/x86_64/wcsrchr.S: New file.
48591 * string/test-strcmp.c: Remove checking of wcscmp function for
48592 wrong alignments.
48593 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48594 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48595 wcsrchr-sse2 wcsrchr-c.
48596 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48597 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48598 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48599 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48600 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48601 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48602 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48603 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48604 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48605 * wcsmbc/wcschr.c (WCSCHR): New macro.
48606
486072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48608
48609 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48610 * wcsmbs/test-wcsrchr.c: New file.
48611 * string/test-strrchr.c: Add wcsrchr support.
48612 (WIDE): New macro.
48613 * wcsmbs/test-wcscpy.c: New file.
48614 * string/test-strcpy.c: Add wcscpy support.
48615 (WIDE): New macro.
48616
486172011-12-10 Ulrich Drepper <drepper@gmail.com>
48618
48619 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48620 the inner loop.
48621
486222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48623
48624 [BZ #13472]
48625 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48626
486272011-12-04 Ulrich Drepper <drepper@gmail.com>
48628
48629 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48630 Minor optimizations.
48631
48632 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48633 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48634 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48635
486362011-12-03 Ulrich Drepper <drepper@gmail.com>
48637
48638 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48639 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48640 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48641 for gcc to avoid warnings.
48642 * inet/Makefile (tests): Add tst-checks.
48643 * inet/tst-checks.c: New file.
48644
48645 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48646 warning.
48647
48648 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48649 __wmemcmp_sse2.
48650
48651 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48652 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48653
48654 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48655
486562011-12-02 Ulrich Drepper <drepper@gmail.com>
48657
48658 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48659 problem.
48660
48661 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48662
486632011-11-29 Joseph Myers <joseph@codesourcery.com>
48664
48665 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48666 conditional on GCC version.
48667 (__arch_compare_and_exchange_val_8_acq)
48668 (__arch_compare_and_exchange_val_16_acq)
48669 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48670 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48671 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48672
486732011-12-02 Joseph Myers <joseph@codesourcery.com>
48674
48675 * sysdeps/sh/backtrace.c: New file.
48676
486772011-12-02 Andreas Schwab <schwab@redhat.com>
48678
48679 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48680 parenthesis.
48681
486822011-12-01 Andreas Schwab <schwab@redhat.com>
48683
48684 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48685 falling back to utime.
48686
486872011-11-30 Andreas Schwab <schwab@redhat.com>
48688
48689 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48690 expectations for float.
48691
486922011-11-29 Andreas Schwab <schwab@redhat.com>
48693
48694 * locale/weight.h (findidx): Add parameter len.
48695 * locale/weightwc.h (findidx): Likewise.
48696 * posix/fnmatch_loop.c (FCT): Adjust caller.
48697 * posix/regcomp.c (build_equiv_class): Likewise.
48698 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48699 * posix/regexec.c (check_node_accept_bytes): Likewise.
48700 * string/strcoll_l.c (STRCOLL): Likewise.
48701 * string/strxfrm_l.c (STRXFRM): Likewise.
48702
487032011-11-17 Ulrich Drepper <drepper@gmail.com>
48704
48705 * Makefile.in: Remove CVSOPT handling.
48706 * configure.in: Remove use of AC_REVISION.
48707 * iconvdata/Makefile (distribute): No need to filter out CVS.
48708 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48709 handling.
48710
487112011-11-16 Andreas Schwab <schwab@redhat.com>
48712
48713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48714 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48715 [USE_AS_STRNCASECMP_L]: Likewise.
48716 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48717 NO_TLS_DIRECT_SEG_REFS.
48718 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48719 Fix argument offsets for non-PIC.
48720 [USE_AS_STRNCASECMP_L]: Likewise.
48721 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48722 NO_TLS_DIRECT_SEG_REFS.
48723
487242011-11-15 Ulrich Drepper <drepper@gmail.com>
48725
48726 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48727 O_CLOEXEC.
48728 * locale/loadlocale.c (_nl_load_locale): Likewise.
48729
487302011-11-15 Andreas Schwab <schwab@redhat.com>
48731
48732 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48733 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48734 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48735 (SYSCALL_GETTIME): Set errno on error.
48736
48737 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48738 count references to noai6ai_cached.
48739
487402011-11-15 Ulrich Drepper <drepper@gmail.com>
48741
48742 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48743
48744 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48745 FD_CLOEXEC for /proc/self/maps.
48746
48747 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48748 FD_CLOEXEC for /proc/meminfo.
48749
48750 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48751 gai.conf.
48752
48753 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48754 FD_CLOEXEC for given file.
48755
48756 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48757
48758 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48759 FD_CLOEXEC for /etc/hosts.
48760 (_gethtent): Likewise.
48761
48762 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48763
48764 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48765 cancellation and set FD_CLOEXEC for /etc/netgroup.
48766
48767 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48768 reading /etc/publickey.
48769
48770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48771 allow cancellation when reading /etc/group.
48772
48773 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48774 cancellation.
48775 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48776
48777 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48778 when using data file.
48779
48780 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48781
48782 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48783 (write_nis_obj): Use "c" and "e" in fopen.
48784
48785 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48786
48787 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48788
48789 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48790
48791 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48792
48793 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48794 locale.alias.
48795
48796 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48797
48798 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48799
48800 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48801
48802 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48803 file parsing and set FD_CLOEXEC.
48804
488052011-11-14 Ulrich Drepper <drepper@gmail.com>
48806
48807 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48808
488092011-11-14 Andreas Schwab <schwab@redhat.com>
48810
48811 * malloc/arena.c (arena_get2): Don't call reused_arena when
48812 _int_new_arena failed.
48813
488142011-11-14 Ulrich Drepper <drepper@gmail.com>
48815
48816 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48817 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48818 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48819 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48822 to compile strcasecmp and strncasecmp.
48823 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48824 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48825
48826 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48827
488282011-11-13 Ulrich Drepper <drepper@gmail.com>
48829
48830 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48831 locale-defines.sym to gen-as-const-headers.
48832 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48833 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48835 to compile strcasecmp and strncasecmp.
48836 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48837 strcasecmp_l and strncasecmp_l.
48838 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48839 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48840 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48841 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48842 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48843 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48844 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48845 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48846 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48847 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48848 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48849
488502011-11-12 Ulrich Drepper <drepper@gmail.com>
48851
48852 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48853 result of SYSDEP_GETTIME_CPU to retval.
48854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48855 parameter list to macro. Remove trailing semicolon. Adjust users.
48856
48857 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48858 variable.
48859
48860 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48861 mantissa words.
48862 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48863
48864 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48865 from unused variable.
48866
48867 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48868 DWARF definitions.
48869 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48870 for assembling.
48871
48872 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48873 over namespaces.
48874
48875 * sunrpc/rpc_prot.c (rejected): Fix case value.
48876
48877 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48878 unsigned long long int to avoid warnings in shift.
48879
48880 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48881 of use of trans.
48882 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48883 variable tmp.
48884
48885 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48886 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48887 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48888
48889 * nis/nis_table.c (nis_list): Use variable of correct type for
48890 result of __follow_path call.
48891
488922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48893
48894 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48895 of math functions ceil, trunc, floor, round, and sqrt, when
48896 avaliable on the platform.
48897 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48898 name clash.
48899 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48900 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48901 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48902
489032011-10-30 Marek Polacek <mpolacek@redhat.com>
48904
48905 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48906 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48907
489082011-11-11 Roland McGrath <roland@hack.frob.com>
48909
48910 * include/unistd.h: Fix __readlink return type.
48911 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48912
489132011-11-11 Ulrich Drepper <drepper@gmail.com>
48914
48915 * stdlib/ucontext.h: Undo last change for makecontext.
48916
489172011-11-11 Andreas Schwab <schwab@redhat.com>
48918
48919 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48920
48921 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48922 * setjmp/setjmp.h: Mark functions as non-leaf.
48923 * setjmp/bits/setjmp2.h: Likewise.
48924 * stdlib/ucontext.h: Likewise.
48925
489262011-11-10 Andreas Schwab <schwab@redhat.com>
48927
48928 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48929 (reused_arena): Don't check arena limit.
48930 (arena_get2): Atomically check arena limit.
48931
489322011-11-08 Ulrich Drepper <drepper@gmail.com>
48933
48934 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48935 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48936
48937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48938 instructions.
48939
489402011-11-07 Andreas Schwab <schwab@redhat.com>
48941
48942 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48943 handler when locking.
48944
48945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48946 Fix size of allocated buffer.
48947
489482011-11-04 Andreas Schwab <schwab@redhat.com>
48949
48950 [BZ #10103]
48951 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48952 declarations for long double functions.
48953 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48954
48955 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48956
489572011-11-03 Andreas Schwab <schwab@redhat.com>
48958
48959 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48960 installed.
48961
48962 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48963 is disabled.
48964
489652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48966
48967 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48968
489692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48970
48971 * include/alloca.h (stackinfo_alloca_round): Define.
48972 (extend_alloca): Use it.
48973 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48974 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48975 here.
48976
48977 * scripts/check-local-headers.sh: Ignore libaudit.h.
48978
48979 * nscd/Makefile (extra-objs): Make recursively expanded.
48980
489812011-11-01 Ulrich Drepper <drepper@gmail.com>
48982
48983 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48984 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48985
48986 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48987 * posix/tst-rfc3484-2.c: Likewise.
48988 * posix/tst-rfc3484-3.c: Likewise.
48989
48990 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48991 process_vm_writev.
48992 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48993 process_vm_writev.
48994 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48995 process_vm_writev from libc using GLIBC_2.15 version.
48996
48997 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48998
489992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49000
49001 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49002 stack usage.
49003
490042011-10-31 Ulrich Drepper <drepper@gmail.com>
49005
49006 [BZ #13367]
49007 * nss/getent.c (initgroups_keys): Show error message in case no group
49008 names are given.
49009
49010 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49011 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49012 __bump_nl_timestamp.
49013 * nscd/connections (nscd_init): When host database is served open
49014 netlink socket and request notification about configuration changes.
49015 (main_loop_poll): Track netlink file descriptor and bump timestamp
49016 in case data becomes available.
49017 (main_loop_epoll): Likewise.
49018 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49019 (database_pers_head): Add extra_data fileds.
49020 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49021 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49022 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49023 Adjust caller.
49024 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49025 in6ai data, call __free_in6ai.
49026 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49027 Add -DHAVE_NETLINK.
49028 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49029 interface information. Reuse previous data if netlink timestamp
49030 is not changed.
49031 (__bump_nl_timestamp): New function.
49032 (__free_in6ai): New function.
49033
490342011-10-30 Ulrich Drepper <drepper@gmail.com>
49035
49036 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49037 close_not_cancel_no_status here.
49038 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49039
490402011-10-29 Ulrich Drepper <drepper@gmail.com>
49041
49042 [BZ #13276]
49043 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49044 return value.
49045
49046 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49047 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49048 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49049
490502011-07-03 Andreas Jaeger <aj@suse.de>
49051
49052 [BZ #10709]
49053 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49054 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49055 * math/libm-test.inc (sin_test): Add test case.
49056
490572011-10-29 Ulrich Drepper <drepper@gmail.com>
49058
49059 [BZ #13337]
49060 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49061 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49062
49063 * elf/chroot_canon.c (chroot_canon): Cleanups.
49064
49065 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49066
49067 [BZ #13335]
49068 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49069 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49070
49071 * string/test-strchr.c: Make usable for strchrnul testing.
49072 * string/test-strchrnul.c: New file.
49073 * string/Makefile (strop-tests): Add strchrnul.
49074
49075 * po/it.po: Update from translation team.
49076 * po/es.po: Likewise.
49077
490782011-10-28 Ulrich Drepper <drepper@gmail.com>
49079
49080 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49081 the three constants needed as parameters. Drop the others.
49082 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49083 __m128i_strloadu_tolower.
49084 Create and initialize variable zero and use it in all the places
49085 where _mm_setzero_si128 was used.
49086
49087 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49088 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49089 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49090 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49091 anymore.
49092 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49093 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49094 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49095 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49096 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49097 __mpranred, __mptan.
49098 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49099 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49100 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49101 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49102 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49103 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49104 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49105 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49106 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49107
491082011-10-28 Andreas Schwab <schwab@redhat.com>
49109
49110 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49111 redefine if SHARED.
49112 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49113
49114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49115 wide char related routines to wcsmbs subdir.
49116
491172011-10-27 Andreas Schwab <schwab@redhat.com>
49118
49119 [BZ #13344]
49120 * misc/sys/cdefs.h (__THROWNL): Define.
49121 * posix/unistd.h: Use __THREADNL instead of __THREAD
49122 for memory synchronization functions.
49123
491242011-10-26 Roland McGrath <roland@hack.frob.com>
49125
49126 [BZ #13349]
49127 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49128 doesn't exist.
49129 * manual/stdio.texi (Obstack Streams): Node removed.
49130
491312011-10-26 Andreas Schwab <schwab@redhat.com>
49132
49133 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49134 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49135 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49136
49137 * math/math_private.h (math_force_eval): Allow non-addressable
49138 arguments.
49139 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49140
491412011-10-25 Ulrich Drepper <drepper@gmail.com>
49142
49143 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49144 file is not needed.
49145
49146 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49147 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49148 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49149 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49150 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49151 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49152 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49153 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49154 Add AVX variants.
49155 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49156 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49157 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49158 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49159 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49160 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49161 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49162 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49163 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49164 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49165 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49166 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49167 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49168 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49169 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49170 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49171 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49172 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49173 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49174
49175 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49176 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49177
49178 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49179 place. Use VEX encoding when compiling for AVX.
49180
491812011-10-25 Andreas Schwab <schwab@redhat.com>
49182
49183 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49184 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49185
49186 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49187
491882011-10-25 Ulrich Drepper <drepper@gmail.com>
49189
49190 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49191 useless if() expression.
49192 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49193 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49194 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49196 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49197 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49198 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49199 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49200 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49201 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49202 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49203 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49204 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49205 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49206 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49207 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49208 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49209 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49210 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49211
49212 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49213
492142011-10-25 Andreas Schwab <schwab@redhat.com>
49215
49216 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49217 condition.
49218 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49219
492202011-10-25 Ulrich Drepper <drepper@gmail.com>
49221
49222 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49223 .text section. Avoid duplicate constants.
49224 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49226 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49231 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49233 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49234 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49235 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49236 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49237 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49238 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49240 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49241 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49242 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49244 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49245 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49246 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49247 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49248 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49249 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49250 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49251 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49252 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49253 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49254 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49255 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49256 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49257 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49258 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49259 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49260 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49261 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49262 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49263 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49264 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49265 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49266 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49267 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49268 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49269
492702011-10-24 Ulrich Drepper <drepper@gmail.com>
49271
49272 * sysdeps/x86_64/dla.h: Move to ...
49273 * sysdeps/x86_64/fpu/dla.h: ...here.
49274 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49275 situations. Use __builtin_fma only for gcc 4.6 and up.
49276
49277 * config.make.in: Add have-mfma4 entry.
49278 * configure.in: Substitute libc_cv_cc_fma4.
49279 * math/Makefile (dbl-only-routines): Add sincostab.
49280 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49281 Use __sincostab not sincos.
49282 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49283 name is a macro.
49284 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49288 using __copysign.
49289 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49290 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49291 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49292 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49293 and __inv.
49294 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49295 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49296 __copysign.
49297 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49298 define aliases when function name is a macro.
49299 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49300 sysdeps/ieee754/dbl-64/sincos.tbl.
49301 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49302 fma4-enabled routines.
49303 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49304 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49305 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49306 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49307 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49308 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49309 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49310 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49312 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49313 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49314 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49315 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49316 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49317 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49318 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49319 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49320 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49321 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49322 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49323 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49324 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49325 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49326 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49327 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49328 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49330 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49331 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49332 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49333
49334 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49335 rename.
49336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49337 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49344
493452011-10-24 Andreas Schwab <schwab@redhat.com>
49346
49347 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49348
493492011-10-23 Ulrich Drepper <drepper@gmail.com>
49350
49351 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49352
49353 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49354 prediction.
49355 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49356
49357 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49358 Remove unused variable magic_bits.
49359 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49360
49361 * string/strnlen.c: Define and use STRNLEN macro.
49362 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49363 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49364 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49365 * wcsmbs/wcslen.c: Define and use WCSLEN.
49366 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49367 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49368 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49369 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49370 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49371 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49372 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49373
493742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49375
49376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49377 strnlen-sse2-no-bsf.
49378 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49379 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49380 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49381 Add strnlen support.
49382 (USE_AS_STRNLEN): New macro.
49383 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49384 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49385 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49386 * sysdeps/x86_64/wcslen.S: New file.
49387
493882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49389
49390 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49391 XMM-moves are used for copying on small sizes.
49392
493932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49394
49395 * wcsmbs/Makefile (strop-tests): Add wcschr.
49396 * wcsmbs/test-wcschr.c: New file.
49397 * string/test-strchr.c: Update.
49398 Add wcschr support.
49399 (WIDE): New macro.
49400
494012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49402
49403 * wcsmbs/Makefile (strop-tests): Add wcslen.
49404 * wcsmbs/test-wcslen.c: New file.
49405 * string/test-strlen.c: Update.
49406 Add wcslen support.
49407 (WIDE): New macro.
49408
494092011-10-23 Ulrich Drepper <drepper@gmail.com>
49410
49411 * po/it.po: Update from translation team.
49412
494132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49414
49415 * sysdeps/x86_64/wcscmp.S: Update.
49416 Fix wrong comparison semantics.
49417 wcscmp shall use signed comparison not unsigned.
49418 Don't use substraction to avoid overflow bug.
49419 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49420 * wcsmbc/wcscmp.c: Likewise.
49421 * string/test-strcmp.c: Likewise.
49422 Add new tests to check cases with negative values.
49423
494242011-10-23 Ulrich Drepper <drepper@gmail.com>
49425
49426 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49427 * sysdeps/x86_64/dla.h: ...here. New file.
49428 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49429 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49433 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49435 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49436 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49437
494382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49439
49440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49441 __ynl_finite aliases.
49442
494432011-10-22 Ulrich Drepper <drepper@gmail.com>
49444
49445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49446
49447 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49448 define DLA_FMA.
49449 [DLA_FMA] (EMULV): Use DLA_FMA.
49450 [DLA_FMA] (MUL12): Use EMULV.
49451 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49452 that are not needed.
49453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49455 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49456 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49457 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49460
494612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49462
49463 * math/s_nan.c: Undef __nan.
49464 * math/s_nanf.c: Undef __nanf.
49465 * math/s_nanl.c: Undef __nanl.
49466 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49467 "math_private.h".
49468
494692011-10-22 Ulrich Drepper <drepper@gmail.com>
49470
49471 * math/s_catan.c: Add branch predictions.
49472 * math/s_catanf.c: Likewise.
49473 * math/s_catanh.c: Likewise.
49474 * math/s_catanhf.c: Likewise.
49475 * math/s_catanhl.c: Likewise.
49476 * math/s_catanl.c: Likewise.
49477 * math/s_cexp.c: Likewise.
49478 * math/s_cexpf.c: Likewise.
49479 * math/s_cexpl.c: Likewise.
49480 * math/s_clog.c: Likewise.
49481 * math/s_clog10.c: Likewise.
49482 * math/s_clog10f.c: Likewise.
49483 * math/s_clog10l.c: Likewise.
49484 * math/s_clogf.c: Likewise.
49485 * math/s_clogl.c: Likewise.
49486 * math/s_csqrt.c: Likewise.
49487 * math/s_csqrtf.c: Likewise.
49488 * math/s_csqrtl.c: Likewise.
49489 * math/s_ctanf.c: Likewise.
49490 * math/s_ctanh.c: Likewise.
49491 * math/s_ctanhf.c: Likewise.
49492 * math/s_ctanhl.c: Likewise.
49493 * math/s_ctanl.c: Likewise.
49494
49495 * math/math_private.h: Define __nan, __nanf, __nanl.
49496 * math/s_cacosh.c: Include <math_private.h>.
49497 * math/s_cacoshl.c: Likewise.
49498 * math/s_casinh.c: Likewise.
49499 * math/s_casinhf.c: Likewise.
49500 * math/s_casinhl.c: Likewise.
49501 * math/s_ccos.c: Rely entire on ccosh.
49502 * math/s_ccosf.c: Rely entire on ccoshf.
49503 * math/s_ccosl.c: Rely entirely on ccoshl.
49504 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49505 Remove tests for FE_INVALID.
49506 * math/s_ccoshf.c: Likewise.
49507 * math/s_ccoshl.c: Likewise.
49508 * math/s_csin.c: Likewise.
49509 * math/s_csinf.c: Likewise.
49510 * math/s_csinh.c Likewise.
49511 * math/s_csinhf.c: Likewise.
49512 * math/s_csinhl.c: Likewise.
49513 * math/s_csinl.c: Likewise.
49514 * math/s_ctan.c: Likewise.
49515 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49516 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49517 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49518
495192011-10-21 Ulrich Drepper <drepper@gmail.com>
49520
49521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49522 compilation problems.
49523
49524 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49525 __builtin_expect.
49526
495272011-10-20 Ulrich Drepper <drepper@gmail.com>
49528
49529 * sysdeps/i386/configure.in: Test for -mfma4 option.
49530 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49531 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49532 COMMON_CPUID_INDEX_80000001.
49533 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49534 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49535 use it if FMA3 is not supported.
49536 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49537
49538 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49540
495412011-10-20 Andreas Schwab <schwab@redhat.com>
49542
49543 [BZ #12892]
49544 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49545 it would create a cycle with a link time dependency.
49546
495472011-10-19 Ulrich Drepper <drepper@gmail.com>
49548
49549 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49550 instruction.
49551 * string/Makefile (strop-tests): Add rawmemchr.
49552 * string/test-rawmemchr.c: New file.
49553
49554 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49556 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49557 when compiling str{,n}casecmp and when AVX is available. Hook up
49558 new optimized code in initializers.
49559
495602011-10-19 Andreas Schwab <schwab@redhat.com>
49561
49562 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49563 __feraiseexcept instead of feraiseexcept.
49564
495652011-10-18 Ulrich Drepper <drepper@gmail.com>
49566
49567 * math/math_private.h: Define defaults for libc_fetestexcept and
49568 libc_feupdateenv.
49569 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49570 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49571 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49572 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49573 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49574 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49575 libc_fetestexcept and libc_feupdateenv.
49576
49577 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49578 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49579 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49580 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49581 libc_feholdexcept_setround.
49582
49583 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49584 Add s_nearbyint-c and s_nearbyintf-c.
49585 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49586 nearbyintf inlines.
49587 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49588 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49589 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49590 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49591
49592 * math/math_private.h: Define defaults for libc_fegetround,
49593 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49594 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49595 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49596 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49597 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49598 standard functions.
49599 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49600 Remove comments and hacks for old compiler versions.
49601 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49602 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49603 libc_feholdexceptl.
49604
496052011-10-18 Andreas Schwab <schwab@redhat.com>
49606
49607 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49608 (__feraiseexcept_renamed): Add __NTH.
49609 (feraiseexcept): Add __NTH. Rename local variables to fix
49610 namespace violations.
49611
496122011-10-17 Ulrich Drepper <drepper@gmail.com>
49613
49614 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49615
49616 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49617
49618 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49619 recently added interfaces.
49620 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49621
49622 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49623 about macro parameter expansion.
49624
49625 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49626 __NO_MATH_INLINES is defined. Cleanups.
49627
49628 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49629 and __floorf is target has SSE4.1.
49630 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49631 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49632 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49633 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49634
49635 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49636 name.
49637 (floorf): Likewise.
49638
49639 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49640
496412011-10-17 Andreas Schwab <schwab@redhat.com>
49642
49643 * misc/sys/cdefs.h: Fix last change.
49644
49645 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49646 database lookup.
49647
496482011-10-16 Ulrich Drepper <drepper@gmail.com>
49649
49650 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49651
49652 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49653 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49654 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49655 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49656 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49657 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49658 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49659 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49660 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49661 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49662 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49663 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49664 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49665 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49666 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49667 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49668 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49669 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49670 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49671 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49672 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49673 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49674
49675 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49676 ceil, ceilf, floor, floorf.
49677
49678 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49679 Perform IRELATIVE relocations last.
49680
49681 * elf/do-rel.h: Add another parameter nrelative, replacing the
49682 local variable with the same name. Change name of the function
49683 to end in Rel or Rela (uppercase).
49684 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49685 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49686 elf_dynamic_do_##reloc function.
49687
496882011-10-15 Ulrich Drepper <drepper@gmail.com>
49689
49690 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49691 is sufficient, at least on modern CPUs.
49692
49693 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49694
49695 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49696 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49697
49698 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49699 __expl_finite.
49700 * math/bits/math-finite.h: Add entries for exp.
49701 * math/e_expl.c: Add __*_finite alias.
49702 * sysdeps/i386/fpu/e_exp.S: Likewise.
49703 * sysdeps/i386/fpu/e_expf.S: Likewise.
49704 * sysdeps/i386/fpu/e_expl.c: Likewise.
49705 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49706 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49707 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49708 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49709 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49710 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49711 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49712
49713 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49714 is sufficient, at least on modern CPUs.
49715
49716 * ctype/ctype-info.c (__ctype_init): Define.
49717 * include/ctype.h (__ctype_init): Declare.
49718 (__ctype_b_loc): The variable is always initialized.
49719 (__ctype_toupper_loc): Likewise.
49720 (__ctype_tolower_loc): Likewise.
49721 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49722 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49723
497242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49725
49726 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49727
49728 * configure.in: Also look in $cxxmachine/include for C++ system
49729 headers.
49730
497312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49732
49733 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49734 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49735 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49736 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49737 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49738 (USE_AS_WMEMCMP): New macro.
49739 Fixing indents.
49740 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49741 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49742 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49743 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49744 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49745 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49746 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49747 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49748 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49749 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49750 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49751 (USE_AS_WMEMCMP): New macro.
49752 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49753 * sysdeps/string/test-memcmp.c: Update.
49754 Fix simple_wmemcmp.
49755 Add new tests.
49756 * wcsmbs/wmemcmp.c: Update.
49757 (WMEMCMP): New macro.
49758 Fix overflow bug.
49759
497602011-10-12 Andreas Jaeger <aj@suse.de>
49761
49762 [BZ #13268]
49763 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49764
497652011-10-15 Ulrich Drepper <drepper@gmail.com>
49766
49767 * libio/iofwide.c (do_length): Avoid warning.
49768
49769 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49770
497712011-10-14 Ulrich Drepper <drepper@gmail.com>
49772
49773 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49774
49775 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49776 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49777 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49778 * sysdeps/i386/i686/fpu/e_log.S: New file.
49779 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49780 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49781
49782 * ctype/ctype.h: Add support for inlined isXXX functions when
49783 compiling C++ code.
49784
497852011-10-14 Andreas Schwab <schwab@redhat.com>
49786
49787 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49788
49789 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49790
497912011-10-13 Roland McGrath <roland@hack.frob.com>
49792
49793 [BZ #13291]
49794 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49795
497962011-10-13 Andreas Schwab <schwab@redhat.com>
49797
49798 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49799 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49800 feraiseexcept.
49801
49802 * sysdeps/x86_64/memrchr.S: Check for zero size.
49803
49804 * string/stratcliff.c: Add memrchr tests.
49805
498062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49807
49808 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49809 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49810 rawmemchr-sse2 rawmemchr-sse2-bsf.
49811 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49812 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49813 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49814 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49815 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49816 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49817 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49818 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49819 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49820 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49821 * string/memrchr.c (MEMRCHR): New macro.
49822
498232011-10-12 Ulrich Drepper <drepper@gmail.com>
49824
49825 Add integration with gcc's -ffinite-math-only and optimize wrapper
49826 functions in libm.
49827 * Versions.def: Define GLIBC_2.15 version for libm.
49828 * math/Makefile (headers): Add bits/math-finite.h.
49829 * math/bits/math-finite.h: New file.
49830 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49831 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49832 * math/e_acoshl.c: Add __*_finite alias.
49833 * math/e_acosl.c: Likewise.
49834 * math/e_asinl.c: Likewise.
49835 * math/e_atan2l.c: Likewise.
49836 * math/e_atanhl.c: Likewise.
49837 * math/e_coshl.c: Likewise.
49838 * math/e_exp10.c: Likewise.
49839 * math/e_exp10f.c: Likewise.
49840 * math/e_exp10l.c: Likewise.
49841 * math/e_exp2l.c: Likewise.
49842 * math/e_fmodl.c: Likewise.
49843 * math/e_gammal_r.c: Likewise.
49844 * math/e_hypotl.c: Likewise.
49845 * math/e_j0l.c: Likewise.
49846 * math/e_j1l.c: Likewise.
49847 * math/e_jnl.c: Likewise.
49848 * math/e_lgammal_r.c: Likewise.
49849 * math/e_log10l.c: Likewise.
49850 * math/e_log2l.c: Likewise.
49851 * math/e_logl.c: Likewise.
49852 * math/e_powl.c: Likewise.
49853 * math/e_sinhl.c: Likewise.
49854 * math/e_sqrtl.c: Likewise.
49855 * math/e_scalb.c: Completely rewritten and optimized.
49856 * math/e_scalbf.c: Likewise.
49857 * math/e_scalbl.c: Likewise.
49858 * math/w_acos.c: Likewise.
49859 * math/w_acosf.c: Likewise.
49860 * math/w_acosl.c: Likewise.
49861 * math/w_acosh.c: Likewise.
49862 * math/w_acoshf.c: Likewise.
49863 * math/w_acoshl.c: Likewise.
49864 * math/w_asin.c: Likewise.
49865 * math/w_asinf.c: Likewise.
49866 * math/w_asinl.c: Likewise.
49867 * math/w_atan2.c: Likewise.
49868 * math/w_atan2f.c: Likewise.
49869 * math/w_atan2l.c: Likewise.
49870 * math/w_atanh.c: Likewise.
49871 * math/w_atanhf.c: Likewise.
49872 * math/w_atanhl.c: Likewise.
49873 * math/w_exp10.c: Likewise.
49874 * math/w_exp10f.c: Likewise.
49875 * math/w_exp10l.c: Likewise.
49876 * math/w_fmod.c: Likewise.
49877 * math/w_fmodf.c: Likewise.
49878 * math/w_fmodl.c: Likewise.
49879 * math/w_j0.c: Likewise.
49880 * math/w_j0f.c: Likewise.
49881 * math/w_j0l.c: Likewise.
49882 * math/w_j1.c: Likewise.
49883 * math/w_j1f.c: Likewise.
49884 * math/w_j1l.c: Likewise.
49885 * math/w_jn.c: Likewise.
49886 * math/w_jnf.c: Likewise.
49887 * math/w_log.c: Likewise.
49888 * math/w_logf.c: Likewise.
49889 * math/w_logl.c: Likewise.
49890 * math/w_log10.c: Likewise.
49891 * math/w_log10f.c: Likewise.
49892 * math/w_log10l.c: Likewise.
49893 * math/w_log2.c: Likewise.
49894 * math/w_log2f.c: Likewise.
49895 * math/w_log2l.c: Likewise.
49896 * math/w_pow.c: Likewise.
49897 * math/w_powf.c: Likewise.
49898 * math/w_powl.c: Likewise.
49899 * math/w_remainder.c: Likewise.
49900 * math/w_remainderf.c: Likewise.
49901 * math/w_remainderl.c: Likewise.
49902 * math/w_scalb.c: Likewise.
49903 * math/w_scalbf.c: Likewise.
49904 * math/w_scalbl.c: Likewise.
49905 * math/w_sqrt.c: Likewise.
49906 * math/w_sqrtf.c: Likewise.
49907 * math/w_sqrtl.c: Likewise.
49908 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49909 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49910 used.
49911 * math/math_private.h: Declare __kernel_standard_f.
49912 * math/w_cosh.c: Remove cruft and optimize a bit.
49913 * math/w_coshf.c: Likewise.
49914 * math/w_coshl.c: Likewise.
49915 * math/w_exp2.c: Likewise.
49916 * math/w_exp2f.c: Likewise.
49917 * math/w_exp2l.c: Likewise.
49918 * math/w_hypot.c: Likewise.
49919 * math/w_hypotf.c: Likewise.
49920 * math/w_hypotl.c: Likewise.
49921 * math/w_lgamma.c: Likewise.
49922 * math/w_lgamma_r.c: Likewise.
49923 * math/w_lgammaf.c: Likewise.
49924 * math/w_lgammaf_r.c: Likewise.
49925 * math/w_lgammal.c: Likewise.
49926 * math/w_lgammal_r.c: Likewise.
49927 * math/w_sinh.c: Likewise.
49928 * math/w_sinhf.c: Likewise.
49929 * math/w_sinhl.c: Likewise.
49930 * math/w_tgamma.c: Likewise.
49931 * math/w_tgammaf.c: Likewise.
49932 * math/w_tgammal.c: Likewise.
49933 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49934 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49935 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49936 Minor optimizations. Pretty printing. Remove cruft.
49937 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49938 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49939 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49940 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49941 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49942 * sysdeps/i386/fpu/e_asin.S: Likewise.
49943 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49944 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49945 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49946 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49947 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49948 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49949 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49950 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49951 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49952 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49953 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49954 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49955 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49956 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49957 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49958 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49959 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49960 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49961 * sysdeps/i386/fpu/e_log.S: Likewise.
49962 * sysdeps/i386/fpu/e_log10.S: Likewise.
49963 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49964 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49965 * sysdeps/i386/fpu/e_log2.S: Likewise.
49966 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49967 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49968 * sysdeps/i386/fpu/e_logf.S: Likewise.
49969 * sysdeps/i386/fpu/e_logl.S: Likewise.
49970 * sysdeps/i386/fpu/e_pow.S: Likewise.
49971 * sysdeps/i386/fpu/e_powf.S: Likewise.
49972 * sysdeps/i386/fpu/e_powl.S: Likewise.
49973 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49974 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49975 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49976 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49977 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49978 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49979 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49980 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49981 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49982 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49983 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49985 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49986 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49987 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49988 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49989 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49990 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49991 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49992 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49993 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49994 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49995 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49996 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49997 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49998 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49999 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50000 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50002 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50003 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50004 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50005 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50006 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50007 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50009 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50010 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50011 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50012 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50013 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50014 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50015 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50016 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50017 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50018 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50019 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50020 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50021 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50022 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50023 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50024 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50025 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50027 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50028 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50029 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50030 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50031 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50032 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50033 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50034 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50035 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50036 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50037 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50038 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50039 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50040 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50041 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50042 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50043 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50044 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50046 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50047 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50049 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50050 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50051 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50052 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50053 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50054 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50055 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50056 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50057 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50058 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50059 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50060 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50061 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50062 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50063 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50064 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50065 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50066 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50067 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50068 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50069 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50070 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50071 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50072 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50073 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50074 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50075 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50076 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50077 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50078 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50079 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50080 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50081 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50082 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50083 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50084 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50085 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50086 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50087 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50088 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50089 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50090 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50091 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50092 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50093 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50094 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50095 (__isnanf): Likewise.
50096 (__isinf_ns): Likewise.
50097 (__isinf_nsf): Likewise.
50098 (__finite): Likewise.
50099 (__finitef): Likewise.
50100 (__ieee754_sqrt): Define as macro.
50101 (__ieee754_sqrtf): Define as macro.
50102 (__ieee754_sqrtl): Define as macro.
50103 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50104 inlined copy.
50105 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50106 __FINITE_MATH_ONLY__ consistent.
50107 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50108
501092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50110
50111 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50112 of rawmemchr.
50113
50114 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50115
501162011-10-09 Ulrich Drepper <drepper@gmail.com>
50117
50118 * po/ja.po: Update from translation team.
50119
501202011-10-08 Roland McGrath <roland@hack.frob.com>
50121
50122 * locale/programs/locarchive.c (prepare_address_space): New function.
50123 (create_archive, enlarge_archive, open_archive): Use it.
50124
50125 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50126 inside [SHARED], where it is used.
50127
50128 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50129
50130 * nss/getent.c (netgroup_keys): Remove unused variable.
50131 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50132
501332011-10-08 Ulrich Drepper <drepper@gmail.com>
50134
50135 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50136 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50137 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50138 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50139 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50140 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50141 * math/Makefile (libm-calls): Add s_isinf_ns.
50142 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50143 * math/multc3.c: Likewise.
50144 * math/s_casin.c: Likewise.
50145 * math/s_casinf.c: Likewise.
50146 * math/s_casinl.c: Likewise.
50147 * math/s_ccos.c: Likewise.
50148 * math/s_ccosf.c: Likewise.
50149 * math/s_ccosl.c: Likewise.
50150 * math/s_ctan.c: Likewise.
50151 * math/s_ctanf.c: Likewise.
50152 * math/s_ctanh.c: Likewise.
50153 * math/s_ctanhf.c: Likewise.
50154 * math/s_ctanhl.c: Likewise.
50155 * math/s_ctanl.c: Likewise.
50156 * math/w_fmod.c: Likewise.
50157 * math/w_fmodf.c: Likewise.
50158 * math/w_fmodl.c: Likewise.
50159 * math/w_remainder.c: Likewise.
50160 * math/w_remainderf.c: Likewise.
50161 * math/w_remainderl.c: Likewise.
50162 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50163 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50164 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50166 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50167 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50168 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50169 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50170
50171 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50172 of the number.
50173 * stdio-common/printf_fphex.c: Likewise.
50174 * stdio-common/printf_size.c: Likewise.
50175
50176 * math/e_exp10.c: Include math_private.h using <...> not "...".
50177 * math/e_exp10f.c: Likewise.
50178 * math/e_exp10l.c: Likewise.
50179 * math/e_exp2l.c: Likewise.
50180 * math/e_j0l.c: Likewise.
50181 * math/e_j1l.c: Likewise.
50182 * math/e_jnl.c: Likewise.
50183 * math/e_lgammal_r.c: Likewise.
50184 * math/e_rem_pio2l.c: Likewise.
50185 * math/e_scalb.c: Likewise.
50186 * math/e_scalbf.c: Likewise.
50187 * math/e_scalbl.c: Likewise.
50188 * math/k_cosl.c: Likewise.
50189 * math/k_sinl.c: Likewise.
50190 * math/k_tanl.c: Likewise.
50191 * math/s_cacoshf.c: Likewise.
50192 * math/s_catan.c: Likewise.
50193 * math/s_catanf.c: Likewise.
50194 * math/s_catanh.c: Likewise.
50195 * math/s_catanhf.c: Likewise.
50196 * math/s_catanhl.c: Likewise.
50197 * math/s_catanl.c: Likewise.
50198 * math/s_ccosh.c: Likewise.
50199 * math/s_ccoshf.c: Likewise.
50200 * math/s_ccoshl.c: Likewise.
50201 * math/s_cexp.c: Likewise.
50202 * math/s_cexpf.c: Likewise.
50203 * math/s_cexpl.c: Likewise.
50204 * math/s_clog.c: Likewise.
50205 * math/s_clog10.c: Likewise.
50206 * math/s_clog10f.c: Likewise.
50207 * math/s_clog10l.c: Likewise.
50208 * math/s_clogf.c: Likewise.
50209 * math/s_clogl.c: Likewise.
50210 * math/s_csin.c: Likewise.
50211 * math/s_csinf.c: Likewise.
50212 * math/s_csinh.c: Likewise.
50213 * math/s_csinhf.c: Likewise.
50214 * math/s_csinhl.c: Likewise.
50215 * math/s_csinl.c: Likewise.
50216 * math/s_csqrt.c: Likewise.
50217 * math/s_csqrtf.c: Likewise.
50218 * math/s_csqrtl.c: Likewise.
50219 * math/s_ctan.c: Likewise.
50220 * math/s_ctanf.c: Likewise.
50221 * math/s_ctanh.c: Likewise.
50222 * math/s_ctanhf.c: Likewise.
50223 * math/s_ctanhl.c: Likewise.
50224 * math/s_ctanl.c: Likewise.
50225 * math/s_ldexp.c: Likewise.
50226 * math/s_ldexpf.c: Likewise.
50227 * math/s_ldexpl.c: Likewise.
50228 * math/s_significand.c: Likewise.
50229 * math/s_significandf.c: Likewise.
50230 * math/s_significandl.c: Likewise.
50231 * math/w_acos.c: Likewise.
50232 * math/w_acosf.c: Likewise.
50233 * math/w_acosh.c: Likewise.
50234 * math/w_acoshf.c: Likewise.
50235 * math/w_acoshl.c: Likewise.
50236 * math/w_acosl.c: Likewise.
50237 * math/w_asin.c: Likewise.
50238 * math/w_asinf.c: Likewise.
50239 * math/w_asinl.c: Likewise.
50240 * math/w_atan2.c: Likewise.
50241 * math/w_atan2f.c: Likewise.
50242 * math/w_atan2l.c: Likewise.
50243 * math/w_atanh.c: Likewise.
50244 * math/w_atanhf.c: Likewise.
50245 * math/w_atanhl.c: Likewise.
50246 * math/w_cosh.c: Likewise.
50247 * math/w_coshf.c: Likewise.
50248 * math/w_coshl.c: Likewise.
50249 * math/w_dremf.c: Likewise.
50250 * math/w_exp10.c: Likewise.
50251 * math/w_exp10f.c: Likewise.
50252 * math/w_exp10l.c: Likewise.
50253 * math/w_exp2.c: Likewise.
50254 * math/w_exp2f.c: Likewise.
50255 * math/w_fmod.c: Likewise.
50256 * math/w_fmodf.c: Likewise.
50257 * math/w_fmodl.c: Likewise.
50258 * math/w_hypot.c: Likewise.
50259 * math/w_hypotf.c: Likewise.
50260 * math/w_hypotl.c: Likewise.
50261 * math/w_j0.c: Likewise.
50262 * math/w_j0f.c: Likewise.
50263 * math/w_j0l.c: Likewise.
50264 * math/w_j1.c: Likewise.
50265 * math/w_j1f.c: Likewise.
50266 * math/w_j1l.c: Likewise.
50267 * math/w_jn.c: Likewise.
50268 * math/w_jnf.c: Likewise.
50269 * math/w_jnl.c: Likewise.
50270 * math/w_lgamma.c: Likewise.
50271 * math/w_lgamma_r.c: Likewise.
50272 * math/w_lgammaf.c: Likewise.
50273 * math/w_lgammaf_r.c: Likewise.
50274 * math/w_lgammal.c: Likewise.
50275 * math/w_lgammal_r.c: Likewise.
50276 * math/w_log.c: Likewise.
50277 * math/w_log10.c: Likewise.
50278 * math/w_log10f.c: Likewise.
50279 * math/w_log10l.c: Likewise.
50280 * math/w_log2.c: Likewise.
50281 * math/w_log2f.c: Likewise.
50282 * math/w_log2l.c: Likewise.
50283 * math/w_logf.c: Likewise.
50284 * math/w_logl.c: Likewise.
50285 * math/w_pow.c: Likewise.
50286 * math/w_powf.c: Likewise.
50287 * math/w_powl.c: Likewise.
50288 * math/w_remainder.c: Likewise.
50289 * math/w_remainderf.c: Likewise.
50290 * math/w_remainderl.c: Likewise.
50291 * math/w_scalb.c: Likewise.
50292 * math/w_scalbf.c: Likewise.
50293 * math/w_scalbl.c: Likewise.
50294 * math/w_sinh.c: Likewise.
50295 * math/w_sinhf.c: Likewise.
50296 * math/w_sinhl.c: Likewise.
50297 * math/w_sqrt.c: Likewise.
50298 * math/w_sqrtf.c: Likewise.
50299 * math/w_sqrtl.c: Likewise.
50300 * math/w_tgamma.c: Likewise.
50301 * math/w_tgammaf.c: Likewise.
50302 * math/w_tgammal.c: Likewise.
50303
50304 * po/ja.po: Update from translation team.
50305
503062011-09-29 Andreas Jaeger <aj@suse.de>
50307
50308 [BZ #13179]
50309 * sunrpc/netname.c (netname2host): Fix logic.
50310
50311 [BZ #6779]
50312 [BZ #6783]
50313 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50314 correctly.
50315 * math/w_remainder.c (__remainder): Likewise.
50316 * math/w_remainderf.c (__remainderf): Likewise.
50317 * math/libm-test.inc (remainder_test): Add test cases.
50318
503192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50320
50321 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50322 sdiv_qrnnd.
50323
503242011-10-07 Ulrich Drepper <drepper@gmail.com>
50325
50326 * string/test-memcmp.c: Avoid unncessary #defines.
50327 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50328
503292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50330
50331 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50332 Use new sse2 version for core i3 - i7 as it's faster
50333 than sse42 version.
50334 (bit_Prefer_PMINUB_for_stringop): New.
50335 * sysdeps/x86_64/rawmemchr.S: Update.
50336 Replace with faster SSE2 version.
50337 * sysdeps/x86_64/memrchr.S: New file.
50338 * sysdeps/x86_64/memchr.S: Update.
50339 Replace with faster SSE2 version.
50340
503412011-09-12 Marek Polacek <mpolacek@redhat.com>
50342
50343 * elf/dl-load.c (lose): Add cast to avoid warning.
50344
503452011-10-07 Ulrich Drepper <drepper@gmail.com>
50346
50347 * po/ca.po: Update from translation team.
50348
50349 * inet/getnetgrent_r.c: Hook up nscd.
50350 * nscd/Makefile (routines): Add nscd_netgroup.
50351 (nscd-modules): Add netgroupcache.
50352 (CFLAGS-netgroupcache.c): Define.
50353 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50354 (cache_search): Add const to second parameter.
50355 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50356 INNETGR.
50357 (dbs): Add netgrdb entry.
50358 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50359 (verify_persistent_db): Handle netgrdb.
50360 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50361 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50362 GETFDNETGR.
50363 (netgroup_response_header): Define.
50364 (innetgroup_response_header): Define.
50365 (datahead): Add netgroup_response_header and innetgroup_response_header
50366 elements.
50367 * nscd/nscd.conf: Add entries for netgroup cache.
50368 * nscd/nscd.h (dbtype): Add netgrdb.
50369 (_PATH_NSCD_NETGROUP_DB): Define.
50370 (netgroup_iov_disabled): Declare.
50371 (xmalloc, xcalloc, xrealloc): Move declarations here.
50372 (cache_search): Adjust prototype.
50373 Add netgroup-related prototypes.
50374 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50375 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50376 (__nscd_innetgr): Declare.
50377 * nscd/selinux.c (perms): Use access_vector_t as element type and
50378 add netgroup-related initializers.
50379 * nscd/netgroupcache.c: New file.
50380 * nscd/nscd_netgroup.c: New file.
50381 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50382 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50383 For four parameters use innetgr.
50384 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50385 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50386 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50387 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50388
50389 * nscd/connections.c (register_traced_file): Don't register file
50390 for disabled databases.
50391
503922011-10-06 Ulrich Drepper <drepper@gmail.com>
50393
50394 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50395
50396 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50397 from tree and freeing node.
50398
503992011-09-25 Jiri Olsa <jolsa@redhat.com>
50400
50401 * nss/nsswitch.c (__nss_database_lookup): Handle
50402 nss_parse_service_list out of memory case.
50403
504042011-09-15 Jiri Olsa <jolsa@redhat.com>
50405
50406 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50407 out of memory case.
50408
504092011-10-04 Andreas Schwab <schwab@redhat.com>
50410
50411 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50412 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50413 pass it down.
50414 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50415 elf_machine_rela, elf_machine_lazy_rel.
50416 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50417 (ELF_DYNAMIC_DO_REL): Likewise.
50418 (ELF_DYNAMIC_DO_RELA): Likewise.
50419 (ELF_DYNAMIC_RELOCATE): Likewise.
50420 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50421 to ELF_DYNAMIC_DO_REL.
50422 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50423 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50424 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50425 elf_machine_rela.
50426 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50427 skip_ifunc, don't call ifunc function if non-zero.
50428 (elf_machine_rela): Likewise.
50429 (elf_machine_lazy_rel): Likewise.
50430 (elf_machine_lazy_rela): Likewise.
50431 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50432 (elf_machine_lazy_rel): Likewise.
50433 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50434 Likewise.
50435 (elf_machine_lazy_rel): Likewise.
50436 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50437 Likewise.
50438 (elf_machine_lazy_rel): Likewise.
50439 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50440 (elf_machine_lazy_rel): Likewise.
50441 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50442 (elf_machine_lazy_rel): Likewise.
50443 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50444 (elf_machine_lazy_rel): Likewise.
50445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50446 (elf_machine_lazy_rel): Likewise.
50447 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50448 (elf_machine_lazy_rel): Likewise.
50449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50450 (elf_machine_lazy_rel): Likewise.
50451
504522011-09-28 Ulrich Drepper <drepper@gmail.com>
50453
50454 * nss/nss_files/files-init.c (_nss_files_init): Use static
50455 initialization for all the *_traced_file variables.
50456
504572011-09-28 Andreas Schwab <schwab@redhat.com>
50458
50459 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50460
504612011-09-27 Roland McGrath <roland@hack.frob.com>
50462
50463 [BZ #13226]
50464 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50465
504662011-09-27 Andreas Schwab <schwab@redhat.com>
50467
50468 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50469 Reread the line before reparsing it.
50470
504712011-09-26 Andreas Schwab <schwab@redhat.com>
50472
50473 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50474
504752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50476 Maxim Kuvyrkov <maxim@codesourcery.com>
50477 Joseph Myers <joseph@codesourcery.com>
50478
50479 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50480 if needed for __stack_chk_guard.
50481
504822011-09-19 Roland McGrath <roland@hack.frob.com>
50483
50484 * sysdeps/posix/spawni.c (script_execute): Always define it.
50485 It will be optimized away if unused.
50486 (maybe_script_execute): New function.
50487 (__spawni): Call it.
50488
50489 * Makerules: Don't include tls.make.
50490 (config-tls): Always set to thread.
50491 * tls.make.c: File removed.
50492
504932011-09-19 Mike Frysinger <vapier@gentoo.org>
50494
50495 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50496 * config.make.in (CPPFLAGS-config): New substituted variable.
50497
504982011-09-15 Ulrich Drepper <drepper@gmail.com>
50499
50500 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50501
50502 [BZ #13192]
50503 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50504 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50505
505062011-09-15 Roland McGrath <roland@hack.frob.com>
50507
50508 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50509 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50510 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50511 (CALL_FAIL): Likewise.
50512 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50513 (CALL_FAIL): Macro removed.
50514 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50515
505162011-09-15 Ulrich Drepper <drepper@gmail.com>
50517
50518 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50519 for __FINITE_MATH_ONLY__ == 1.
50520
505212011-09-15 Andreas Schwab <schwab@redhat.com>
50522
50523 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50524 __ieee754_sqrt instead of sqrt.
50525 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50526 __ieee754_sqrtf instead of sqrtf.
50527 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50528 __floorf instead of floorf.
50529 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50530 __floorf, __truncf instead of floorf, truncf.
50531
505322011-09-14 Ulrich Drepper <drepper@gmail.com>
50533
50534 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50535
50536 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50537 __extern_always_inline.
50538 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50539 32-bit.
50540
505412011-09-14 Andreas Schwab <schwab@redhat.com>
50542
50543 * elf/rtld.c (dl_main): Also relocate in dependency order when
50544 doing symbol dependency testing.
50545
505462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50547
50548 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50549 Always define `refsym'.
50550
505512011-09-13 Andreas Schwab <schwab@redhat.com>
50552
50553 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50554 (__FD_ELT): Renamed from __FDELT.
50555 * misc/bits/select2.h (__FD_ELT): Likewise.
50556 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50557 __FD_MASK instead of __FDELT, __FDMASK.
50558 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50559 Likewise.
50560 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50561 Likewise.
50562
50563 * elf/Makefile (gen-ldd): Fix pattern.
50564
50565 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50566 (init_tls): Likewise.
50567
505682011-09-12 Ulrich Drepper <drepper@gmail.com>
50569
50570 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50571
505722011-09-12 Andreas Schwab <schwab@redhat.com>
50573
50574 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50575 `struct cmsghdr *' instead of `void *'.
50576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50577 Likewise.
50578
505792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50580
50581 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50582 if non-absolute.
50583 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50584 ldd_rewrite_script.
50585
505862011-09-11 Ulrich Drepper <drepper@gmail.com>
50587
50588 * configure.in: Remove --with-tls option.
50589 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50590 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50591 out in case it is missing.
50592 * sysdeps/ia64/elf/configure.in: Likewise.
50593 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50594 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50595 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50596 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50597 * sysdeps/sh/elf/configure.in: Likewise.
50598 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50599 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50600 * sysdeps/x86_64/elf/configure.in: Likewise.
50601 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50602 * sysdeps/mach/hurd/tls.h: Likewise.
50603
50604 [BZ #13067]
50605 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50606
50607 [BZ #13090]
50608 * configure.in: Fix use of AC_INIT.
50609
50610 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50611
506122011-09-10 Ulrich Drepper <drepper@gmail.com>
50613
50614 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50615 __set_errno.
50616 * malloc/hooks.c: Likewise.
50617
50618 [BZ #11929]
50619 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50620 variables statically.
50621 (narenas): Initialize.
50622 (list_lock): Initialize.
50623 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50624 initializtion of main_arena and list_lock. Small cleanups.
50625 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50626 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50627 Add initializers to main_arena and mp_.
50628 (malloc_state): Remove pagesize member. Change all users to use
50629 GLRO(dl_pagesize).
50630
50631 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50632 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50633 is always initialized.
50634
50635 * malloc/malloc.c: Removed unused configurations and dead code.
50636 * malloc/arena.c: Likewise.
50637 * malloc/hooks.c: Likewise.
50638 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50639
50640 * include/tls.h: Removed. USE___THREAD must always be defined.
50641 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50642 * elf/dl-libc.c: Likewise.
50643 * elf/dl-tsd.c: Likewise.
50644 * include/errno.h: Likewise.
50645 * include/netdb.h: Likewise.
50646 * include/resolv.h: Likewise.
50647 * inet/herrno-loc.c: Likewise.
50648 * inet/herrno.c: Likewise.
50649 * malloc/arena.c: Likewise.
50650 * malloc/hooks.c: Likewise.
50651 * malloc/malloc.c: Likewise.
50652 * resolv/res-state.c: Likewise.
50653 * resolv/res_libc.c: Likewise.
50654 * sysdeps/i386/dl-machine.h: Likewise.
50655 * sysdeps/ia64/dl-machine.h: Likewise.
50656 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50657 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50658 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50659 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50660 * sysdeps/sh/dl-machine.h: Likewise.
50661 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50662 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50663 * sysdeps/unix/i386/sysdep.S: Likewise.
50664 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50665 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50670 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50671 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50672 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50674 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50675 * sysdeps/x86_64/dl-machine.h: Likewise.
50676 * tls.make.c: Likewise.
50677
50678 * configure.in: Remove --with-__thread option. Make tests for
50679 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50680 tls_model attribute fail if no support is available. Remove
50681 USE_IN_LIBIO.
50682 * Makeconfig: Adjust for dropped configure option. All features are
50683 now mandatory.
50684 * Makerules: Likewise.
50685 * Versions.def: Likewise.
50686 * argp/argp-fmtstream.c: Likewise.
50687 * argp/argp-fmtstream.h: Likewise.
50688 * argp/argp-help.c: Likewise.
50689 * assert/assert.c: Likewise.
50690 * config.h.in: Likewise.
50691 * config.make.in: Likewise.
50692 * configure: Likewise.
50693 * configure.in: Likewise.
50694 * csu/Versions: Likewise.
50695 * csu/init.c: Likewise.
50696 * elf/tst-audit2.c: Likewise.
50697 * elf/tst-tls10.c: Likewise.
50698 * elf/tst-tls10.h: Likewise.
50699 * elf/tst-tls11.c: Likewise.
50700 * elf/tst-tls12.c: Likewise.
50701 * elf/tst-tls14.c: Likewise.
50702 * elf/tst-tlsmod11.c: Likewise.
50703 * elf/tst-tlsmod12.c: Likewise.
50704 * elf/tst-tlsmod13.c: Likewise.
50705 * elf/tst-tlsmod13a.c: Likewise.
50706 * elf/tst-tlsmod14a.c: Likewise.
50707 * elf/tst-tlsmod15b.c: Likewise.
50708 * elf/tst-tlsmod16a.c: Likewise.
50709 * elf/tst-tlsmod16b.c: Likewise.
50710 * elf/tst-tlsmod7.c: Likewise.
50711 * elf/tst-tlsmod8.c: Likewise.
50712 * elf/tst-tlsmod9.c: Likewise.
50713 * gmon/gmon.c: Likewise.
50714 * grp/fgetgrent_r.c: Likewise.
50715 * grp/putgrent.c: Likewise.
50716 * hurd/fopenport.c: Likewise.
50717 * include/libc-symbols.h: Likewise.
50718 * include/tls.h: Likewise.
50719 * intl/gettextP.h: Likewise.
50720 * intl/loadinfo.h: Likewise.
50721 * locale/global-locale.c: Likewise.
50722 * locale/localeinfo.h: Likewise.
50723 * mach/devstream.c: Likewise.
50724 * malloc/arena.c: Likewise.
50725 * malloc/set-freeres.c: Likewise.
50726 * misc/err.c: Likewise.
50727 * misc/getttyent.c: Likewise.
50728 * misc/mntent_r.c: Likewise.
50729 * posix/getopt.c: Likewise.
50730 * posix/wordexp.c: Likewise.
50731 * pwd/fgetpwent_r.c: Likewise.
50732 * resolv/Versions: Likewise.
50733 * resolv/res_hconf.c: Likewise.
50734 * shadow/fgetspent_r.c: Likewise.
50735 * shadow/putspent.c: Likewise.
50736 * stdio-common/printf_fphex.c: Likewise.
50737 * stdio-common/tmpfile.c: Likewise.
50738 * stdlib/abort.c: Likewise.
50739 * stdlib/fmtmsg.c: Likewise.
50740 * sunrpc/auth_unix.c: Likewise.
50741 * sunrpc/clnt_perr.c: Likewise.
50742 * sunrpc/clnt_tcp.c: Likewise.
50743 * sunrpc/clnt_udp.c: Likewise.
50744 * sunrpc/clnt_unix.c: Likewise.
50745 * sunrpc/openchild.c: Likewise.
50746 * sunrpc/svc_simple.c: Likewise.
50747 * sunrpc/svc_tcp.c: Likewise.
50748 * sunrpc/svc_udp.c: Likewise.
50749 * sunrpc/svc_unix.c: Likewise.
50750 * sunrpc/xdr.c: Likewise.
50751 * sunrpc/xdr_array.c: Likewise.
50752 * sunrpc/xdr_rec.c: Likewise.
50753 * sunrpc/xdr_ref.c: Likewise.
50754 * sunrpc/xdr_stdio.c: Likewise.
50755
507562011-09-09 Ulrich Drepper <drepper@gmail.com>
50757
50758 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50759
507602011-07-03 Andreas Jaeger <aj@suse.de>
50761
50762 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50763 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50764 regenerate with gen-libm-tests.pl.
50765
507662010-05-12 Petr Baudis <pasky@suse.cz>
50767
50768 [BZ #11589]
50769 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50770 around j0() zero points by switching to j1().
50771 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50772 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50775
507762011-09-09 Ulrich Drepper <drepper@gmail.com>
50777
50778 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50779 instead of 0.
50780 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50781 instead of 0.
50782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50783 Patch in part by Pavel Roskin <proski@gnu.org>.
50784
50785 [BZ #13138]
50786 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50787 realloc.
50788 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50789 Free memory block if necessary.
50790
50791 [BZ #12847]
50792 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50793 be NULL. Don't lock in this case.
50794
507952011-09-09 Roland McGrath <roland@hack.frob.com>
50796
50797 * elf/elf.h (ELFOSABI_GNU): New macro.
50798 (ELFOSABI_LINUX): Define to that.
50799
508002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50801
50802 * string/strncat.c (strncat): Undef the symbol in case it has been
50803 defined in bits/string.h.
50804
508052011-09-09 Ulrich Drepper <drepper@gmail.com>
50806
50807 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50808
50809 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50810 link map.
50811
508122011-08-17 Andreas Jaeger <aj@suse.de>
50813
50814 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50815
508162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50817 Ian Lance Taylor <iant@google.com>
50818
50819 * math/libm-test.inc (lround_test): New testcase.
50820 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50821
508222011-09-08 Ulrich Drepper <drepper@gmail.com>
50823
50824 * Makefile: Remove support for automatic cvs check-ins.
50825 * Makerules: Likewise.
50826 * config.make.in: Likewise.
50827 * configure.in: Likewise.
50828 * intl/Makefile: Likewise.
50829 * locale/Makefile: Likewise.
50830 * po/Makefile: Likewise.
50831 * posix/Makefile: Likewise.
50832 * sysdeps/gnu/Makefile: Likewise.
50833 * sysdeps/mach/hurd/Makefile: Likewise.
50834 * sysdeps/sparc/sparc32/Makefile: Likewise.
50835
50836 [BZ #13118]
50837 * posix/Makefile (bug-regex32-ENV): Define.
50838 Patch by John Stanley <jpsinthemix@verizon.net>.
50839
50840 * misc/Makefile (headers): Add bits/select2.h.
50841 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50842 * misc/bits/select2.h: New file.
50843 * include/bits/select2.h: New file.
50844 * debug/Makefile (routines): Add fdelt_chk.
50845 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50846 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50847 FD_ISSET.
50848 * debug/fdelt_chk.c: New file.
50849
50850 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50851 * wcsmbs/test-wmemcmp.c: Likewise.
50852 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50853 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50854
508552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50856
50857 * string/Makefile (strop-tests): Add memcmp.
50858 * string/test-wmemcmp.c: New file.
50859 * string/test-memcmp.c: Add wmemcmp support.
50860
508612011-09-08 Roland McGrath <roland@hack.frob.com>
50862
50863 [BZ #13153]
50864 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50865 2011-07-19 change.
50866
50867 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50868 garbage value in a __mach_port_mod_refs call in the cases of the
50869 task-self and thread-self ports.
50870
508712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50872
50873 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50874
508752011-09-08 Andreas Schwab <schwab@redhat.com>
50876
50877 * elf/dl-load.c (lose): Check for non-null L.
50878
508792011-09-07 Ulrich Drepper <drepper@gmail.com>
50880
50881 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50882
50883 * elf/dl-libc.c (dlerror_run): Pass back error code from
50884 dl_catch_error.
50885
50886 [BZ #13123]
50887 * elf/dl-load.c (lose): Free l_origin if it is valid.
50888
50889 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50890 names.
50891 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50892 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50893 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50894 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50895 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50896 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50897
508982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50899
50900 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50901 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50902 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50903 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50904 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50905 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50906 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50907 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50908 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50909 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50910
509112011-08-15 Alan Modra <amodra@gmail.com>
50912
50913 [BZ #13092]
50914 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50915 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50916 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50917 ppc_mcount to static-only-routines.
50918 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50919 __mcount_internal.
50920 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50921 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50922
509232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50924
50925 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50926 for finite and infinity parameters.
50927
509282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50929
50930 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50931 and add nop instructions for throughput optimization.
50932 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50933
509342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50935
50936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50937 aligned copy for power7 with vector-scalar instructions.
50938 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50939
509402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50941
50942 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50943 AVX check.
50944
509452011-09-07 Andreas Schwab <schwab@redhat.com>
50946
50947 [BZ #13144]
50948 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50949 last change.
50950
509512011-09-07 Ulrich Drepper <drepper@gmail.com>
50952
50953 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50954 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50955 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50956 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50957 clock_gettime.
50958
509592011-09-06 Ulrich Drepper <drepper@gmail.com>
50960
50961 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50962 Forgot to demangle the pointer.
50963
50964 * sysdeps/i386/sysdep.h: Define atom_text_section.
50965 * sysdeps/x86_64/sysdep.h: Likewise.
50966 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50967 section with atom_text_section.
50968 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50969 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50970 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50971 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50972 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50973
50974 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50975 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50976 already be defined. Change to take two parameters and don't assign
50977 result to variable. Adjust all users.
50978 Define INTERNAL_GETTIME if not already defined.
50979 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50980 call.
50981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50982 HAVE_CLOCK_GETTIME_VSYSCALL.
50983 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50984
50985 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50986 gettimeofday vsyscall, just use time.
50987
509882011-09-06 Andreas Schwab <schwab@redhat.com>
50989
50990 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50991 <errno.h>.
50992
509932011-09-06 Ulrich Drepper <drepper@gmail.com>
50994
50995 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50996 syscall on x86-64.
50997 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50998 syscall.
50999 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51000 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51001 syscall if possible.
51002
510032011-09-05 Ulrich Drepper <drepper@gmail.com>
51004
51005 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51006 e_ident. Don't pass to find_mapsXX.
51007 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51008
510092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51010
51011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51012 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51013 * sysdeps/x86_64/multiarch/strchr.S: Update.
51014 Check bit_slow_BSF bit.
51015 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51016 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51017 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51018
510192011-09-05 Ulrich Drepper <drepper@gmail.com>
51020
51021 [BZ #13134]
51022 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51023 before glibc 2.15.
51024 (tryshell): Define.
51025 (__spawni): Change last parameter to be flag. Test
51026 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51027 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51028 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51029 * posix/spawni.c: Likewise.
51030 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51031 * posix/spawnp.c: Likewise. Change normal version to use
51032 SPAWN_XFLAGS_USE_PATH.
51033 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51034 SPAWN_XFLAGS_TRY_SHELL.
51035
51036 [BZ #13150]
51037 * posix/glob.h: Remove gcc 1.x support.
51038
51039 [BZ #13068]
51040 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51041
510422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51043
51044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51045 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51046 strrchr-sse2-bsf
51047 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51048 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51049 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51050 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51051 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51052 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51053
510542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51055
51056 * sysdeps/x86_64/wcscmp.S: New file.
51057
51058 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51059 wcscmp-c wcscmp-sse2
51060 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51061 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51062 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51063 * wcsmbs/wcscmp.c: Allow renaming.
51064
510652011-09-05 David S. Miller <davem@davemloft.net>
51066
51067 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51068 stack slot, rather than the struct return pointer slot.
51069 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51070 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51072 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51073
510742011-09-05 Ulrich Drepper <drepper@gmail.com>
51075
51076 * po/ja.po: Update from translation team.
51077
51078 [BZ #13144]
51079 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51080 kernel in 64-bit binaries.
51081
510822011-09-01 David S. Miller <davem@davemloft.net>
51083
51084 * elf/elf.h (HWCAP_SPARC_*): Move to..
51085 * sysdeps/sparc/sysdep.h: this new file and add new values.
51086 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51087 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51088 _DL_HWCAP_COUNT to 24.
51089 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51090 entries.
51091 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51092 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51093 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51095 instead of magic constants.
51096 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51097
510982011-08-31 David S. Miller <davem@davemloft.net>
51099
51100 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51101 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51102 Reimplement to do errno handling inline.
51103 (SYSCALL_ERROR_HANDLER): New macro.
51104 (__SYSCALL_STRING): Do not do errno handling in asm.
51105 (__CLONE_SYSCALL_STRING): Delete.
51106 (__INTERNAL_SYSCALL_STRING): Delete.
51107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51108 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51109 (PSEUDO): Reimplement to do errno handling inline.
51110 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51111 (SYSCALL_ERROR_HANDLER): New macro.
51112 (__SYSCALL_STRING): Do not do errno handling in asm.
51113 (__CLONE_SYSCALL_STRING): Delete.
51114 (__INTERNAL_SYSCALL_STRING): Delete.
51115 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51116 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51117 i386.
51118 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51119 (inline_syscall*): Add 'err' argument.
51120 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51121 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51122 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51123 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51124
51125 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51126 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51127
511282011-08-30 Andreas Schwab <schwab@redhat.com>
51129
51130 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51131
511322011-08-29 Jiri Olsa <jolsa@redhat.com>
51133
51134 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51135 directive.
51136
511372011-08-24 David S. Miller <davem@davemloft.net>
51138
51139 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51140
511412011-08-24 Andreas Schwab <schwab@redhat.com>
51142
51143 * elf/Makefile: Add rules to build and run unload8 test.
51144 * elf/unload8.c: New file.
51145 * elf/unload8mod1.c: New file.
51146 * elf/unload8mod1x.c: New file.
51147 * elf/unload8mod2.c: New file.
51148 * elf/unload8mod3.c: New file.
51149
51150 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51151 it wasn't used.
51152
511532011-08-23 David S. Miller <davem@davemloft.net>
51154
51155 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51156 subtract stack bias.
51157 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51158 %sp not %fp in calculations.
51159 (_JMPBUF_UNWINDS_ADJ): Likewise.
51160
51161 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51162 (aio_suspend): Call it to force an exception region around the
51163 AIO_MISC_WAIT() invocation.
51164
511652011-08-23 Andreas Schwab <schwab@redhat.com>
51166
51167 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51168 backslash.
51169
511702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51171
51172 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51173 protection macro.
51174 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51175 and <dl-machine.h>.
51176 (Elf64_FuncDesc): Remove.
51177
511782011-08-22 David S. Miller <davem@davemloft.net>
51179
51180 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51181 sigaltstack check, add missing cfi directives.
51182 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51183 missing cfi directives, and sigaltstack handling.
51184
511852011-08-16 Andreas Schwab <schwab@redhat.com>
51186
51187 [BZ #11724]
51188 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51189 object is seen twice.
51190 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51191
51192 * elf/Makefile (distribute): Add tst-initorder2.c.
51193 (tests): Add tst-initorder2.
51194 (modules-names): Add tst-initorder2a tst-initorder2b
51195 tst-initorder2c tst-initorder2d. Add rules to build them.
51196 ($(objpfx)tst-initorder2.out): New rule.
51197 * elf/tst-initorder2.c: New file.
51198 * elf/tst-initorder2.exp: New file.
51199
512002011-08-22 Andreas Schwab <schwab@redhat.com>
51201
51202 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51203
51204 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51205 dependencies back to end of function.
51206
51207 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51208 $(elfobjdir)/ld.so.
51209
512102011-08-21 Ulrich Drepper <drepper@gmail.com>
51211
51212 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51213 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51215 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51216 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51217 of __vdso_gettimeofday.
51218 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51219 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51220 attribute_hidden.
51221 (_libc_vdso_platform_setup): Remove initialization of
51222 __vdso_gettimeofday and __vdso_time.
51223
512242011-08-20 Ulrich Drepper <drepper@gmail.com>
51225
51226 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51227 and fgetc_unlocked.
51228 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51229 getc_unlocked.
51230
51231 * elf/dl-open.c (add_to_global): Report additions to the global scope
51232 for LD_DEBUG=scopes.
51233 (dl_open_worker): Also print scope of newly loaded dependencies.
51234 (_dl_show_scope): Indicate if there is no scope.
51235
51236 [BZ #13114]
51237 * stdio-common/Makefile (tests): Add bug24.
51238 * stdio-common/bug24.c: New file.
51239
512402011-08-19 Andreas Jaeger <aj@suse.de>
51241
51242 [BZ #13114]
51243 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51244 non-existant file when using close-on-exec mode.
51245
512462011-08-20 Ulrich Drepper <drepper@gmail.com>
51247
51248 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51249 the very first instruction.
51250
51251 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51252 the CFI state in the end.
51253 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51254 inclusion of dl-trampoline.h.
51255 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51256
512572011-08-19 Andreas Schwab <schwab@redhat.com>
51258
51259 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51260 expectations for long double.
51261
51262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51263 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51264
512652011-08-14 David S. Miller <davem@davemloft.net>
51266
51267 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51268 artificual limit depends upon the system page size.
51269
512702011-08-17 Ulrich Drepper <drepper@gmail.com>
51271
51272 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51273 * resolv/Makefile: Define CFLAGS-libresolv.
51274
512752011-08-17 Andreas Schwab <schwab@redhat.com>
51276
51277 * nss/makedb.c (compute_tables): Make variables used in nested
51278 function static.
51279
512802011-08-17 Ulrich Drepper <drepper@gmail.com>
51281
51282 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51283 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51284 if buffer was too small.
51285
51286 * elf/pldd.c (main): Attach to all threads in the process.
51287 Rewrite /proc handling to use *at functions.
51288
512892011-08-16 Ulrich Drepper <drepper@gmail.com>
51290
51291 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51292 specifies first scope to show.
51293 (dl_open_worker): Update callers. Move printing scope of new
51294 object to before the relocation.
51295 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51296 * sysdeps/generic/ldsodefs.h: Update declaration.
51297
51298 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51299 string for the scope number.
51300
513012011-08-14 Ulrich Drepper <drepper@gmail.com>
51302
51303 * nscd/servicescache.c (cache_addserv): Make sure written is always
51304 initialized.
51305
513062011-08-14 Roland McGrath <roland@hack.frob.com>
51307
51308 * sysdeps/i386/i486/bits/atomic.h
51309 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51310 statement expression, so as to suppress "set but not used" warning.
51311 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51312
51313 * string/strncat.c (STRNCAT): Use prototype definition.
51314
51315 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51316 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51317 -Iprograms here.
51318 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51319 (localedef-modules): Add localedef.
51320 (locale-modules): Add locale.
51321
51322 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51323 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51324 to avoid a warning.
51325
513262011-08-14 David S. Miller <davem@davemloft.net>
51327
51328 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51329 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51330
513312011-08-13 Ulrich Drepper <drepper@gmail.com>
51332
51333 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51334 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51335 * elf/rtld.c (dl_main): Set l_name of vDSO.
51336 Call _dl_show_scope when DL_DEBUG_SCOPES.
51337 (process_dl_debug): Recognize scopes flag and also set it for all.
51338 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51339 Declare _dl_show_scope.
51340
51341 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51342 (do_dlopen): Pass caller_dlopen to dl_open.
51343 (__libc_dlopen_mode): Initialize caller_dlopen.
51344
51345 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51346 of libc. Make tolower call locale-independent. Optimize a bit by
51347 using isdigit instead of isalnum.
51348 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51349
513502011-08-12 Ulrich Drepper <drepper@gmail.com>
51351
51352 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51353 was a dependency or dynamically loaded.
51354
513552011-08-11 Ulrich Drepper <drepper@gmail.com>
51356
51357 * intl/l10nflist.c: Allow architecture-specific pop function.
51358 * sysdeps/x86_64/l10nflist.c: New file.
51359
51360 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51361 classification.
51362
513632011-08-10 Andreas Schwab <schwab@redhat.com>
51364
51365 * include/dirent.h: Add libc_hidden_proto for scandirat and
51366 scandirat64. Don't declare __scandirat64.
51367 * dirent/scandirat.c: Add libc_hidden_def.
51368 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51369 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51370
513712011-08-10 David S. Miller <davem@davemloft.net>
51372
51373 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51374 enum.
51375 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51376 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51377 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51378
513792011-08-09 Ulrich Drepper <drepper@gmail.com>
51380
51381 * Versions.def [libc]: Add GLIBC_2.15.
51382 * dirent/Makefile (routines): Add scandirat and scandirat64.
51383 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51384 GLIBC_2.15.
51385 * dirent/dirent.h: Declare scandirat and scandirat64.
51386 * dirent/scandirat.c: New file.
51387 * dirent/scandirat64.c: New file.
51388 * sysdeps/wordsize-64/scandirat.c: New file.
51389 * sysdeps/wordsize-64/scandirat64.c: New file.
51390 * dirent/opendir.c: Define opendirat.
51391 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51392 using scandirat.
51393 * dirent/scandir64.c: Adjust for scandir.c change.
51394 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51395 __scandirat64, and __scandir_cancel_handler.
51396 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51397 additional parameter and use openat instead of open (outside of ld.so).
51398 Add new __opendir as wrapper around __opendirat.
51399 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51400 here without requiring old scandirat implementation.
51401
514022011-08-08 Ulrich Drepper <drepper@gmail.com>
51403
51404 * dirent/scandir.c (cancel_handler): Renamed to
51405 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51406 defined. Adjust users.
51407 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51408 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51409
514102011-08-04 Ulrich Drepper <drepper@gmail.com>
51411
51412 * string/test-string.h (IMPL): Use __STRING to expand name and then
51413 stringify it.
51414
51415 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51416 of cleanups.
51417
514182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51419
51420 * string/Makefile: Update.
51421 (strop-tests): Append strncat.
51422 * string/test-wcscmp.c: New file.
51423 New comprehensive test for wcscmp.
51424 * string/test-strcmp.c: Update.
51425 (WIDE): New define.
51426
514272011-07-22 Andreas Schwab <schwab@redhat.com>
51428
51429 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51430 line.
51431
514322011-07-26 Andreas Schwab <schwab@redhat.com>
51433
51434 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51435 encoding to ACE if AI_IDN.
51436
514372011-08-01 Jakub Jelinek <jakub@redhat.com>
51438
51439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51440 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51441
514422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51443
51444 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51445 Fix overflow bug in strncat.
51446 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51447
51448 * string/test-strncat.c: Update.
51449 Add new tests for checking overflow bugs.
51450
514512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51452
51453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51454 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51455 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51456 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51457 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51458 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51459 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51460 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51461 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51462
51463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51464 (USE_AS_STRCAT): Define.
51465 Add strcat and strncat support.
51466 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51467
514682011-07-25 Andreas Schwab <schwab@redhat.com>
51469
51470 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51471 __n bigger than INT_MAX+1.
51472 (__strncmp_g): Likewise.
51473
514742011-07-23 Ulrich Drepper <drepper@gmail.com>
51475
51476 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51477 * libio/stido.h: Likewise.
51478
51479 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51480 (AF_NFC): Define.
51481 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51482 (AF_NFC): Define.
51483
51484 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51485 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51487 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51489
51490 [BZ #13021]
51491 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51492 installed.
51493
51494 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51495 typo.
51496 (_dl_x86_64_save_sse): Likewise.
51497
514982011-07-22 Ulrich Drepper <drepper@gmail.com>
51499
51500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51501 OSXSAVE.
51502 (_dl_x86_64_save_sse): Likewise.
51503
51504 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51505
51506 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51507
515082011-07-21 Andreas Schwab <schwab@redhat.com>
51509
51510 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51511 change.
51512 (_dl_x86_64_save_sse): Use correct AVX check.
51513
515142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51515
51516 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51517 bug in strncpy/strncat.
51518 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51519
515202011-07-21 Ulrich Drepper <drepper@gmail.com>
51521
51522 * string/tester.c (test_strcat): Add tests for different alignments
51523 of source and destination.
51524 (test_strncat): Likewise.
51525
515262011-07-20 Ulrich Drepper <drepper@gmail.com>
51527
51528 [BZ #12852]
51529 * posix/glob.c (glob): Check passed in values before using them in
51530 expressions to avoid some overflows.
51531 (glob_in_dir): Likewise.
51532
51533 [BZ #13007]
51534 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51535 check for AVX enablement so that we don't crash with old kernels and
51536 new hardware.
51537 * elf/tst-audit4.c: Add same checks here.
51538 * elf/tst-audit6.c: Likewise.
51539
51540 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51541
515422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51543
51544 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51545
515462011-07-20 Ulrich Drepper <drepper@gmail.com>
51547
51548 * po/cs.po: Update from translation team.
51549 * po/bg.po: Likewise.
51550
515512011-07-12 Marek Polacek <mpolacek@redhat.com>
51552
51553 * misc/sys/cdefs.h: Add support for const attribute.
51554 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51555 to gnu_dev_{major,minor,makedev} functions.
51556
515572011-07-20 Marek Polacek <mpolacek@redhat.com>
51558
51559 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51560
515612011-07-20 Andreas Schwab <schwab@redhat.com>
51562
51563 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51564 strlen results.
51565
515662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51567
51568 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51569 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51570 register in order to avoid conflicts with the soft frame pointer
51571 being held in r11 when necessary.
51572 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51573 (INTERNAL_VSYSCALL_NCS): Likewise.
51574
515752011-07-14 Marek Polacek <mpolacek@redhat.com>
51576
51577 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51578 * elf/dl-fini.c (_dl_fini): Adjust caller.
51579 * elf/dl-close.c (_dl_close_worker): Likewise.
51580 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51581
515822011-07-15 Marek Polacek <mpolacek@redhat.com>
51583
51584 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51585 "aux_cache->nlibs < 0".
51586
51587 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51588 in the reload-count case.
51589
515902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51591
51592 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51593 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51594 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51595 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51596 * sysdeps/x86_64/multiarch/strcat.S: New file.
51597 * sysdeps/x86_64/multiarch/strncat.S: New file.
51598 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51599 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51600 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51601 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51603 (USE_AS_STRCAT): Define.
51604 Add strcat and strncat support.
51605 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51606 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51607 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51608 * string/strncat.c: Update.
51609 (USE_AS_STRNCAT): Define.
51610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51611 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51612 and i7.
51613 * sysdeps/x86_64/multiarch/init-arch.h
51614 (bit_Prefer_PMINUB_for_stringop): New.
51615 (index_Prefer_PMINUB_for_stringop): Likewise.
51616 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51617 bit_Prefer_PMINUB_for_stringop.
51618
516192011-07-19 Ulrich Drepper <drepper@gmail.com>
51620
51621 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51622 buffer64.
51623 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51624 of casting of buffer.
51625 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51626 buffer32 and buffer64.
51627 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51628 writes instead of casting of buffer.
51629 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51630 buffer32.
51631 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51632 casting of buffer.
51633
516342011-07-19 Andreas Schwab <schwab@redhat.com>
51635
51636 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51637
516382011-07-19 Ulrich Drepper <drepper@gmail.com>
51639
51640 * nscd/nscd.c (termination_handler): Don't do anything for a database
51641 if it has not yet been initialized.
51642
516432011-07-18 Ulrich Drepper <drepper@gmail.com>
51644
51645 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51646
516472011-07-15 Marek Polacek <mpolacek@redhat.com>
51648
51649 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51650
516512011-07-18 Ulrich Drepper <drepper@gmail.com>
51652
51653 * po/nl.po: Update from translation team.
51654 * po/sv.po: Likewise.
51655
516562011-07-16 Roland McGrath <roland@hack.frob.com>
51657
51658 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51659 now disallowed by GCC.
51660
51661 * configure.in (use-default-link): Default to yes if a test -shared
51662 link meets our qualifications.
51663 * configure: Regenerated.
51664
51665 * config.make.in (output-format): New variable.
51666 * configure.in: Check for ld --print-output-format support.
51667 * configure: Regenerated.
51668 * Makerules ($(common-objpfx)format.lds)
51669 [$(output-format) != unknown]: Just use $(output-format),
51670 instead of the linker-script munging.
51671
516722011-07-14 Roland McGrath <roland@hack.frob.com>
51673
51674 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51675 of $(common-objpfx)shlib.lds.
51676 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51677
51678 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51679 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51680
51681 * configure.in (-z relro check): Adjust test code to add a large
51682 writable data section after it.
51683 * configure: Regenerated.
51684
516852011-07-11 Roland McGrath <roland@hack.frob.com>
51686
51687 * configure.in (-z relro check): Fix test code to make the variable
51688 truly const.
51689 * configure: Regenerated.
51690
516912011-07-11 Ulrich Drepper <drepper@gmail.com>
51692
51693 * nscd/nscd.h (struct traced_file): Define.
51694 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51695 elements. Add traced_files.
51696 (inotify_fd): Declare.
51697 (register_traced_file): Declare.
51698 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51699 (inotify_fd): Export.
51700 (resolv_conf_descr): Remove.
51701 (nscd_init): Move inotify descriptor creation to main.
51702 Don't register files for notification here.
51703 (register_traced_file): New function.
51704 (invalidate_cache): Don't use reset_res to determine whether to call
51705 res_init, go through the list of registered files.
51706 (main_loop_poll): The inotify descriptors are now stored in the
51707 structures for the traced files.
51708 (main_loop_epoll): Likewise
51709 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51710 to __nss_disable_nscd.
51711 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51712 for a database anymore. Check the records for all the registered
51713 files instead.
51714 * nss/Makefile (libnss_files-routines): Add files-init.
51715 (libnss_db-routines): Add db-init.
51716 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51717 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51718 * nss/nss_db/db-init.c: New file.
51719 * nss/nss_files/files-init.c: New file.
51720 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51721 __nss_lookup_function.
51722 (__nss_lookup_function): Call nss_load_library.
51723 (nss_load_all_libraries): New function.
51724 (__nss_disable_nscd): Take parameter with callback function for files
51725 to register. Set is_nscd. Load all the DSOs for the NSS modules
51726 used for the cached services.
51727 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51728 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51729 options for features to all the files in nscd.
51730
51731 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51732
517332011-07-10 Roland McGrath <roland@hack.frob.com>
51734
51735 * csu/elf-init.c (__libc_csu_init): Comment typo.
51736
517372011-07-09 Ulrich Drepper <drepper@gmail.com>
51738
51739 * po/pl.po: Update from translation team.
51740 * po/ja.po: Likewise.
51741 * po/ru.po: Likewise.
51742 * po/ko.po: Likewise.
51743 * po/fr.po: Likewise.
51744
517452011-07-09 Roland McGrath <roland@hack.frob.com>
51746
51747 * configure.in (.ctors/.dtors header and trailer check):
51748 Use an empirical test on a built program.
51749 * configure: Regenerated.
51750
51751 * configure.in (-z relro check): Use an empirical test on a built DSO.
51752 Detect, but do not require, on ia64.
51753 * configure: Regenerated.
51754
51755 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51756 Update tests that use readelf to use $READELF instead.
51757 * configure: Regenerated.
51758
517592011-07-08 Ulrich Drepper <drepper@gmail.com>
51760
51761 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51762 if the result is not used.
51763
517642011-07-05 Andreas Jaeger <aj@suse.de>
51765
51766 [BZ#9696]
51767 * stdlib/tst-strtod.c: Add testcase.
51768
517692011-07-07 Ulrich Drepper <drepper@gmail.com>
51770
51771 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51772 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51773 The latter has a higher limit. Take additional parameter to pass to
51774 the new function.
51775 (__pathconf): Pass file to __statfs_link_max.
51776 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51777 __statfs_link_max.
51778 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51779 __statfs_link_max.
51780
51781 [BZ #12868]
51782 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51783 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51784 Handle Lustre.
51785 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51786 (__statfs_filesize_max): Likewise.
51787 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51788
517892011-07-05 Andreas Jaeger <aj@suse.de>
51790
51791 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51792
517932011-07-06 Marek Polacek <mpolacek@redhat.com>
51794
51795 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51796 `status' variable.
51797 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51798 Likewise.
51799
518002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51801
51802 * Makefile (strop-tests): Add strncat.
51803 * string/test-strncat.c: New file.
51804
518052011-06-30 Marek Polacek <mpolacek@redhat.com>
51806
51807 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51808
518092011-06-21 Andreas Jaeger <aj@suse.de>
51810
51811 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51812 Copy rule from iconvdata/Makefile.
51813
518142011-07-06 Ulrich Drepper <drepper@gmail.com>
51815
51816 [BZ #12922]
51817 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51818 but no long options are defined, just return 'W'.
51819
518202011-06-22 Marek Polacek <mpolacek@redhat.com>
51821
51822 [BZ #9696]
51823 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51824
518252011-07-06 Ulrich Drepper <drepper@gmail.com>
51826
51827 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51828 netgroups to read.
51829 (innetgr): Likewise.
51830
518312011-07-05 Roland McGrath <roland@hack.frob.com>
51832
51833 * config.make.in (install_root): Default to $(DESTDIR).
51834
518352011-07-05 Ulrich Drepper <drepper@gmail.com>
51836
51837 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51838
518392011-07-02 Roland McGrath <roland@hack.frob.com>
51840
51841 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51842
51843 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51844 containing directory rather than embedding absolute directory names.
51845
51846 * scripts/check-local-headers.sh: Rewritten using awk.
51847 Match by word, not by line. Print error messages for matches.
51848 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51849
51850 * Makerules [shlib-lds-flags empty]:
51851 ($(common-objpfx)libc_pic.opts): New target.
51852 ($(common-objpfx)libc_pic.os.clean): New target.
51853 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51854
51855 * config.make.in (OBJCOPY): New variable.
51856 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51857 * configure: Regenerated.
51858
51859 * config.make.in (use-default-link): New variable.
51860 * configure.in (use_default_link): Grok --with-default-link to set it.
51861 * configure: Regenerated.
51862 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51863 (shlib-lds, shlib-lds-flags): Define to empty.
51864
51865 * Makerules (shlib-lds): New variable.
51866 (shlib-lds-flags): New variable.
51867 (build-shlib, build-moduile, build-module-asneeded): Use it.
51868 ($(common-objpfx)libc.so): Use $(shlib-lds).
51869 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51870 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51871
51872 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51873 DT_FLAGS/DT_FLAGS_1 with zero flags.
51874
51875 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51876 linker script munging.
51877
518782011-07-02 Ulrich Drepper <drepper@gmail.com>
51879
51880 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51881 as 128-bit value.
51882 * crypt/sha512.c (sha512_process_block): Perform total addition using
51883 128-bit if possible.
51884 (__sha512_finish_ctx): Likewise.
51885 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51886 as 64-bit value.
51887 * crypt/sha256.c (SWAP64): Define.
51888 (sha256_process_block): Perform total addition using 64-bit if
51889 possible.
51890 (__sha256_finish_ctx): Likewise.
51891
518922011-07-01 Ulrich Drepper <drepper@gmail.com>
51893
51894 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51895 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51896 * nscd/hstcache.c (cache_addhst): Likewise.
51897 * nscd/grpcache.c (cache_addgr): Likewise.
51898 * nscd/aicache.c (addhstaiX): Likewise
51899 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51900
519012011-07-01 Thorsten Kukuk <kukuk@suse.de>
51902
51903 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51905 * nscd/hstcache.c (cache_addhst): Likewise.
51906 * nscd/grpcache.c (cache_addgr): Likewise.
51907 * nscd/aicache.c (addhstaiX): Likewise
51908
519092011-07-01 Andreas Schwab <schwab@redhat.com>
51910
51911 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51912 domain only when needed.
51913
519142011-06-30 Andreas Schwab <schwab@redhat.com>
51915
51916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51917 is always restored.
51918
519192011-06-29 Ulrich Drepper <drepper@gmail.com>
51920
51921 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51922 are re-adding the entry.
51923 * nscd/servicescache.c (cache_addserv): Likewise.
51924
519252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51926
51927 * sysdeps/generic/dl-irel.h: fix protection against multiple
51928 inclusions.
51929 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51930
519312011-06-28 Ulrich Drepper <drepper@gmail.com>
51932
51933 [BZ #12935]
51934 * malloc/memusage.sh: Fix quoting in message.
51935 * debug/xtrace.sh: Likewise.
51936
51937 * configure.in: Remove support for --experimental-malloc option, make
51938 it the default.
51939 * config.make.in: Likewise.
51940 * malloc/Makefile: Likewise.
51941
519422011-06-27 Andreas Schwab <schwab@redhat.com>
51943
51944 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51945 two-byte characters.
51946
519472011-06-27 Roland McGrath <roland@hack.frob.com>
51948
51949 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51950 AC_CACHE_CHECK invocation.
51951 * configure: Regenerated.
51952
51953 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51954
519552011-06-27 Ulrich Drepper <drepper@gmail.com>
51956
51957 [BZ #12350]
51958 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51959 bit from old_res_options.
51960
51961 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51962
51963 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51964 value type for setfct.
51965
519662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51967
51968 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51969 __gettimeofday instead of gettimeofday.
51970
519712011-06-26 Ulrich Drepper <drepper@gmail.com>
51972
51973 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51974
519752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51976
51977 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51978
51979 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51980 info.
51981
519822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51983
51984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51985 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51986 strcpy-sse2-unaligned strncpy-sse2-unaligned
51987 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51988 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51989 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51990 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51991 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51992 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51993 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51994 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51995 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51996 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51997 (STRCPY): Support SSE2 and SSSE3 versions.
51998
519992011-06-24 Ulrich Drepper <drepper@gmail.com>
52000
52001 [BZ #12874]
52002 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52003 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52004 kernels which artificially limit size of requests.
52005
520062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52007
52008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52009 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52010 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52011 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52012 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52013 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52014 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52015 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52016 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52017 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52018 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52019 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52020 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52021 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52022 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52024 Enable unaligned load optimization for Intel Core i3, i5 and i7
52025 processors.
52026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52027 Define.
52028 (index_Fast_Unaligned_Load): Define.
52029 (HAS_FAST_UNALIGNED_LOAD): Define.
52030
520312011-06-23 Marek Polacek <mpolacek@redhat.com>
52032
52033 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52034
520352011-06-22 Ulrich Drepper <drepper@gmail.com>
52036
52037 [BZ #12907]
52038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52039 until it is clear that the information is realy needed.
52040 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52041
520422011-06-22 Andreas Schwab <schwab@redhat.com>
52043
52044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52045
520462011-06-22 Ulrich Drepper <drepper@gmail.com>
52047
52048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52049 /sys/devices/system/cpu/online if it is usable.
52050
52051 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52052 reading the information from the /proc filesystem to once a second.
52053
520542011-06-21 Andreas Jaeger <aj@suse.de>
52055
52056 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52057 NULL after inclusion of kernel headers.
52058
520592011-06-21 Ulrich Drepper <drepper@gmail.com>
52060
52061 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52062 calls to internal_setent.
52063
52064 [BZ #12885]
52065 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52066 addresses using gethostbyname4_r ignore IPv4 addresses.
52067
52068 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52069 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52070
52071 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52072
520732011-06-20 David S. Miller <davem@davemloft.net>
52074
52075 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52076 inclusions.
52077 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52078
52079 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52080 (elf_irel): Use it.
52081 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52082 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52083 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52084 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52085 * sysdeps/x86_64/dl-irel.h: Likewise.
52086
52087 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52088 * elf/dl-sym.c: Likewise.
52089
520902011-06-15 Ulrich Drepper <drepper@gmail.com>
52091
52092 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52093 need to dereference resplen2.
52094
520952011-06-14 Andreas Schwab <schwab@redhat.com>
52096
52097 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52098
520992011-06-15 Ulrich Drepper <drepper@gmail.com>
52100
52101 * Makeconfig: Define vardbdir and inst_vardbdir.
52102 * nss/Makefile: Add rules to install db-Makefile.
52103
52104 * nss/nss_db/db-XXX.c: Cleanup.
52105
52106 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52107 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52108 GLIBC_PRIVATE.
52109 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52110 * nss/makedb.c: Implement -g option to specify that value strings
52111 are generated and should not be added to table iterated over for
52112 get*ent calls.
52113 * nss/nss_db/db-initgroups.c: New file.
52114
52115 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52116 interface.
52117
52118 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52119 (internal_getgrouplist): Adjust to name change.
52120 Update use_initgroups_entry if this is not the first call.
52121 * nss/databases.def: Add initgroups entry.
52122
52123 * nss/makedb.c (compute_tables): Check result of multiple hash table
52124 sizes to minimize maximum chain length.
52125
521262011-06-14 Ulrich Drepper <drepper@gmail.com>
52127
52128 * Versions.def: Add entry for libnss_db.
52129 * shlib-versions: Likewise.
52130 * nss/Makefile: Add rules to build libnss_db.
52131 * nss/Versions: Add libnss_db information. Organize libnss_files
52132 entries better.
52133 * nss/db-Makefile: Add gshadow support. Change rules for the new
52134 makedb progra. Some minor improvements to generate smaller files.
52135 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52136 here from...
52137 * nss/makedb.c: ...here.
52138 Improve database format to be smaller and require less memory at
52139 runtime.
52140 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52141 db anymore.
52142 * nss/nss_db/db-netgrp.c: Likewise.
52143 * nss/nss_db/db-open.c: Likewise.
52144 * nss/nss_files/flies-XXX.x: Adjust comments.
52145 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52146 * nss/nss_files/files-grp.c: Likewise.
52147 * nss/nss_files/files-hosts.c: Likewise.
52148 * nss/nss_files/files-network.c: Likewise.
52149 * nss/nss_files/files-proto.c: Likewise.
52150 * nss/nss_files/files-pwd.c: Likewise.
52151 * nss/nss_files/files-rpc.c: Likewise.
52152 * nss/nss_files/files-service.c: Likewise.
52153 * nss/nss_files/files-sgrp.c: Likewise.
52154 * nss/nss_files/files-spwd.c: Likewise.
52155 * nss/nss_db/db-alias.c: Removed.
52156 * nss/nss_db/dummy-db.h: Removed.
52157
521582011-06-02 Ulrich Drepper <drepper@gmail.com>
52159
52160 * nss/makedb.c: Rewritten to not use database library.
52161 * nss/Makefile: Update to build new makedb program.
52162
521632011-06-14 Andreas Jaeger <aj@suse.de>
52164
52165 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52166 memset declaration.
52167
521682011-06-10 Andreas Schwab <schwab@redhat.com>
52169
52170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52171 tmpbuf.
52172
521732011-06-10 Roland McGrath <roland@hack.frob.com>
52174
52175 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52176 * elf/Makefile ($(objpfx)ld.so): Likewise.
52177
52178 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52179 Don't list ld.so twice in dependencies.
52180
52181 * posix/bug-regex31.c: Include <stdlib.h>.
52182
52183 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52184
52185 * nis/nss_compat/compat-spwd.c
52186 (getspent_next_nss_netgr): Remove unused variable.
52187 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52188
52189 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52190 nonmembers" output to use the right array.
52191
52192 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52193
52194 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52195
52196 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52197 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52198 * catgets/gencat.c (read_input_file): Likewise.
52199 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52200
52201 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52202 variable definition inside #if's controlling its use.
52203
52204 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52205
52206 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52207
52208 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52209
52210 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52211 unreachable code.
52212
52213 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52214
52215 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52216 * configure: Regenerated.
52217
52218 * Makerules: Revert last change.
52219 * elf/Makefile: Likewise.
52220
522212011-06-09 Roland McGrath <roland@hack.frob.com>
52222
52223 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52224 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52225 (reloc-link): Likewise.
52226
522272011-06-09 Ulrich Drepper <drepper@gmail.com>
52228
52229 * elf/Makefile: Add rules to build pldd.
52230 * elf/pldd.c: New file.
52231 * elf/pldd-xx.c: New file.
52232
522332011-06-07 Ulrich Drepper <drepper@gmail.com>
52234
52235 * version.h: Update for 2.15 development version.
52236
522372011-06-07 David S. Miller <davem@davemloft.net>
52238
52239 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52240 ifuncs.
52241 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52242 elf_machine_lazy_rel): Likewise.
52243 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52244 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52245 elf_machine_lazy_rel): Likewise.
52246 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52247 dl_hwcap via passed in argument.
52248 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52249 Likewise.
52250
522512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52252
52253 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52254
522552011-06-06 Roland McGrath <roland@hack.frob.com>
52256
52257 [BZ #12849]
52258 * manual/fdl-1.1.texi: New file, verbatim from:
52259 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52260 * manual/lgpl-2.1.texi: New file, verbatim from:
52261 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52262 * manual/Makefile (licenses): New variable, list those new file names.
52263 (texis): Use it.
52264 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52265
52266 * manual/fdl.texi: File removed.
52267 * manual/lesser.texi: File removed.
52268 * manual/libc.texinfo (Copying, Documentation License):
52269 Use new @include file names, put @appendix directive before @include.
52270
522712011-06-04 Jakub Jelinek <jakub@redhat.com>
52272
52273 [BZ #12841]
52274 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52275 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52276 (mq_open): Add __NTH.
52277
522782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52279
52280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52281 Assume Intel Core i3/i5/i7 processor if AVX is available.
52282
522832011-05-31 Ulrich Drepper <drepper@gmail.com>
52284
52285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52286 typo.
52287
522882011-05-31 Andreas Schwab <schwab@redhat.com>
52289
52290 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52291 memory. Use alloca_account. Fix memory leak when retrying.
52292
522932011-05-31 Ulrich Drepper <drepper@gmail.com>
52294
52295 * version.h (RELEASE): Bump for 2.14 release.
52296 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52297
52298 * config.make.in (RANLIB): Remove entry.
52299
523002011-05-30 Ulrich Drepper <drepper@gmail.com>
52301
52302 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52303 (libc.pot): Work around missing support for .ksh extension in xgettext.
52304
52305 [BZ #12684]
52306 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52307 if both request failed.
52308 (send_dg): In case of server errors clear resplen or *resplen2.
52309
52310 [BZ #12454]
52311 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52312 when there are multiple maps.
52313 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52314 (_dl_fini): Remove test here.
52315
52316 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52317
523182011-05-29 Ulrich Drepper <drepper@gmail.com>
52319
52320 [BZ #12350]
52321 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52322 bit from old_res_options.
52323 (gaih_inet): Likewise.
52324
52325 [BZ #11099]
52326 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52327 as signed.
52328
52329 * resolv/res_init.c (res_setoptions): Make the code more compact.
52330
52331 [BZ #11558]
52332 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52333 set RES_USEVC.
52334
52335 [BZ #11634]
52336 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52337
52338 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52339
52340 [BZ #11781]
52341 * malloc/malloc.h: Declare malloc hook variables as volatile.
52342
52343 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52344 in last patch.
52345
52346 [BZ #11799]
52347 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52348 raise in the comment.
52349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52350 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52351 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52352
523532011-05-28 Ulrich Drepper <drepper@gmail.com>
52354
52355 [BZ #12811]
52356 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52357 grow the buffers more if it already has to be sufficient.
52358 (build_wcs_upper_buffer): Likewise.
52359 * posix/regexec.c (check_matching): Likewise.
52360 (clean_state_log_if_needed): Likewise.
52361 (extend_buffers): Don't enlarge buffers beyond size of the input
52362 buffer.
52363 Patches mostly by Emil Wojak <emil@wojak.eu>.
52364 * posix/bug-regex32.c: New file.
52365 * posix/Makefile (tests): Add bug-regex32.
52366
52367 * locale/findlocale.c (_nl_find_locale): Return right away if
52368 _nl_explode_name failed.
52369 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52370
52371 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52372
52373 * debug/xtrace.sh: Unify messages.
52374 * malloc/memusage.sh: Likewise.
52375
52376 [BZ #12813]
52377 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52378 time symbol from vDSO. Substitute with vsyscall if not available.
52379 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52380 __vdso_time.
52381
52382 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52383 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52384 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52385 Add sendmmsg and internal_sendmmsg.
52386 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52387 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52389
52390 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52391 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52392 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52393
523942011-05-27 Ulrich Drepper <drepper@gmail.com>
52395
52396 [BZ #12813]
52397 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52398 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52399 available.
52400 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52401 __vdso_getcpu.
52402
52403 [BZ #12814]
52404 * iconvdata/Makefile (tests): Add bug-iconv9.
52405 * iconvdata/bug-iconv9.c: New file.
52406
524072011-05-27 Andreas Schwab <schwab@redhat.com>
52408
52409 [BZ #12814]
52410 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52411
524122011-05-25 Jakub Jelinek <jakub@redhat.com>
52413
52414 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52415 (struct user_regs_struct): Change intcs field back to cs.
52416
524172011-05-25 Ulrich Drepper <drepper@gmail.com>
52418
52419 * po/ja.po: Update from translation team.
52420
524212011-05-23 Ulrich Drepper <drepper@gmail.com>
52422
52423 [BZ #12795]
52424 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52425 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52426
524272011-05-20 Andreas Schwab <schwab@redhat.com>
52428
52429 * stdlib/longlong.h: Update from GCC.
52430
524312011-05-23 Andreas Schwab <schwab@redhat.com>
52432
52433 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52434 parameter name.
52435 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52436 Add parameter name.
52437 (__sysconf): Pass it down.
52438
524392011-05-22 Ulrich Drepper <drepper@gmail.com>
52440
52441 [BZ #12671]
52442 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52443 some situations.
52444 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52445 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52446 add in in __libc_use_alloca calls. Adjust callers.
52447 (glob): Use malloc in some situations.
52448
52449 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52450 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52451 pltexit.
52452
524532011-05-21 Ulrich Drepper <drepper@gmail.com>
52454
52455 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52456 and CLOCK_BOOTTIME_ALARM.
52457
52458 [BZ #12782]
52459 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52460 is returned.
52461
52462 * string/_strerror.c (__strerror_r): Print negative errors as signed
52463 numbers.
52464
52465 [BZ #12777]
52466 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52467 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52468 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52469
52470 * configure.in: Fix typo in redirection and correct removal of test
52471 files in two cases.
52472
52473 [BZ #12788]
52474 * locale/setlocale.c (new_composite_name): Fix test to check for
52475 identical name of all categories.
52476
52477 [BZ #12792]
52478 * libio/filedoalloc.c (local_isatty): New function.
52479 (_IO_file_doallocate): Use local_isatty.
52480 * stdio-common/perror.c (perror): In case a new stream is used
52481 forward the stream error.
52482 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52483 error flag.
52484
524852011-05-20 Ulrich Drepper <drepper@gmail.com>
52486
52487 [BZ #11869]
52488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52489 alloca.
52490 * include/alloca.h (extend_alloca_account): Define.
52491
52492 [BZ #11857]
52493 * posix/regex.h: Fix comments with documentation of user-accessible
52494 fields after compilation and describe correct free'ing of pattern
52495 after re_compile_pattern.
52496 Patch by Reuben Thomas <rrt@sc3d.org>.
52497
524982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52499
52500 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52501 and -mno-altivec to prevent the compiler from using Altivec and/or
52502 VSX instructions when the corresponding registers are not available.
52503
525042011-05-19 Andreas Schwab <schwab@redhat.com>
52505
52506 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52507
525082011-05-19 Ulrich Drepper <drepper@gmail.com>
52509
52510 * libio/freopen.c (freopen): Use __dup2, not dup2.
52511 * libio/freopen64.c (freopen64): Likewise.
52512
525132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52514
52515 [BZ #12775]
52516 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52517 * math/Makefile (tests): Add test-powl.
52518 (CFLAGS-test-powl.c): Define.
52519 * math/test-powl.c: New file.
52520
525212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52522
52523 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52524
525252011-05-17 Ulrich Drepper <drepper@gmail.com>
52526
52527 [BZ #11837]
52528 * iconvdata/gb18030.c: Update to GB18020-2005.
52529
525302011-05-16 Ulrich Drepper <drepper@gmail.com>
52531
52532 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52533 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52534 Patch by Aharon Robbins <arnold@skeeve.com>.
52535
52536 [BZ #11892]
52537 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52538 on the stack.
52539
52540 [BZ #11895]
52541 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52542 through underflows.
52543
52544 [BZ #12766]
52545 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52546 point to strings before performing equality test for error_one_per_line
52547 mode.
52548
52549 [BZ #11697]
52550 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52551
52552 [BZ #11820]
52553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52554 (struct user_fpregs_struct): Avoid __uint*_t types.
52555
52556 [BZ #6420]
52557 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52558 symbol info. Use it instead of calling _dl_addr locally.
52559 (lock_and_info): New function.
52560 (tr_freehook): Call lock_and_info and pass symbol info as additional
52561 parameter to tr_where.
52562 (tr_mallochook): Likewise.
52563 (tr_reallochook): Likewise.
52564 (tr_memalignhook): Likewise.
52565
52566 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52567 used and couldn't be at all thread-safe.
52568
525692011-05-15 Ulrich Drepper <drepper@gmail.com>
52570
52571 * libio/freopen.c (freopen): Don't close old file descriptor
52572 before the new one is opened. Instead dup the new file descriptor
52573 to the old one after the new stream is created.
52574 * libio/freopen64.c (freopen64): Likewise.
52575 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52576 * libio/fileops.c (_IO_new_file_close_it): Handle new
52577 _IO_FLAGS2_NOCLOSE flag.
52578 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52579 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52580 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52581 _IO_FLAGS2_NOCLOSE flag.
52582 * include/unistd.h: Add hidden_proto for dup3.
52583 Define __have_dup3.
52584 * io/dup3.c: Define hidden symbol.
52585 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52586
52587 [BZ #7101]
52588 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52589 when an incomplete long option is used.
52590 * posix/tst-getopt_long1.c: New file.
52591 * posix/Makefile (tests): Add tst-getopt_long1.
52592
52593 [BZ #10138]
52594 * scripts/config.guess: Update from autoconf-2.68.
52595 * scripts/config.sub: Likewise.
52596
52597 [BZ #10157]
52598 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52599 tests into ...
52600 (has_cpuclock): ...this. New function.
52601 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52602 macro here based on has_cpuclock code.
52603
52604 [BZ #10149]
52605 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52606 First byte (not low byte) is now always NUL.
52607 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52608
52609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52610 Use non-cancelable interfaces.
52611
52612 [BZ #9809]
52613 * locale/iso-639.def: Add entry for Sorani.
52614
52615 [BZ #11901]
52616 * include/stdlib.h: Move include protection to the right place.
52617 Define abort_msg_s. Declare __abort_msg with it.
52618 * stdlib/abort.c (__abort_msg): Adjust type.
52619 * assert/assert.c (__assert_fail_base): New function. Majority
52620 of code from __assert_fail. Allocate memory for __abort_msg with
52621 mmap.
52622 (__assert_fail): Now call __assert_fail_base.
52623 * assert/assert-perr.c: Remove bulk of implementation. Use
52624 __assert_fail_base.
52625 * include/assert.hL Declare __assert_fail_base.
52626 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52627 mmap.
52628 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52629
526302011-05-14 Ulrich Drepper <drepper@gmail.com>
52631
52632 [BZ #11952]
52633 [BZ #12453]
52634 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52635 until all modules are registered in the DTV.
52636 * elf/Makefile: Add rules to build and run tst-tls19.
52637 * elf/tst-tls19.c: New file.
52638 * elf/tst-tls19mod1.c: New file.
52639 * elf/tst-tls19mod2.c: New file.
52640 * elf/tst-tls19mod3.c: New file.
52641 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52642
52643 [BZ #12083]
52644 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52645 correctly.
52646
52647 [BZ #12601]
52648 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52649 two-byte sequence errors.
52650 * iconvdata/Makefile (tests): Add bug-iconv8.
52651 * iconvdata/bug-iconv8.c: New file.
52652
52653 [BZ #12626]
52654 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52655 buf2 definition.
52656
52657 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52658
52659 [BZ #12432]
52660 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52661 (dummy_getcfa): New function.
52662 (init): Get _Unwind_GetCFA address, use dummy if not found.
52663 (backtrace_helper): In recursion check, also check whether CFA changes.
52664 (__backtrace): Completely initialize arg.
52665
52666 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52667 storing incomplete byte sequence in state object. Avoid testing for
52668 guaranteed too small input if we know there is enough data available.
52669
526702011-05-11 Andreas Schwab <schwab@redhat.com>
52671
52672 * Makeconfig (+link-pie): Indent.
52673 * Rules (binaries-pie): Define if $(have-fpie) and
52674 $(build-shared).
52675 (binaries-shared): Also filter out $(binaries-pie).
52676 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52677 * nscd/Makefile (others-pie): Add nscd.
52678 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52679 ($(objpfx)nscd): Remove command override.
52680 * login/Makefile (others-pie): Add pt_chown.
52681 ($(objpfx)pt_chown): Remove command override.
52682 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52683 remove command overrides.
52684
526852011-05-13 Ulrich Drepper <drepper@gmail.com>
52686
52687 * libio/tst_putwc.c: Fix error messages.
52688
52689 [BZ #12724]
52690 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52691 currently writing and seek to current position when not.
52692 * libio/Makefile (tests): Add bug-fclose1.
52693 * libio/bug-fclose1.c: New file.
52694
526952011-05-12 Ulrich Drepper <drepper@gmail.com>
52696
52697 [BZ #12511]
52698 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52699 don't set DF_1_NODELETE here.
52700 (do_lookup_x): When entering new entry test for copy relocation
52701 and if necessary set DF_1_NODELETE flag.
52702 * elf/tst-unique4.cc: New file.
52703 * elf/tst-unique4.h: New file.
52704 * elf/tst-unique4lib.cc: New file.
52705 * elf/Makefile: Add rules to build and run tst-unique4.
52706 Patch by Piotr Bury <pbury@goahead.com>.
52707
527082011-05-11 Ulrich Drepper <drepper@gmail.com>
52709
52710 [BZ #12052]
52711 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52712
52713 [BZ #12625]
52714 * misc/mntent_r.c (addmntent): Flush the stream after the output
52715
52716 [BZ #12393]
52717 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52718 (is_trusted_path_normalize): Skip initial colon. Append slash
52719 to empty buffer. Duplicate is_trusted_path code but allow
52720 constructed patch to be prefix.
52721 (is_dst): Allow $ORIGIN followed by /.
52722 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52723 Correct testing of result of is_trusted_path_normalize
52724 (decompose_rpath): Fix warning.
52725
527262011-05-10 Ulrich Drepper <drepper@gmail.com>
52727
52728 [BZ #11257]
52729 * grp/initgroups.c (internal_getgrouplist): When we found the service
52730 list through the initgroups entry in nsswitch.conf do not always
52731 continue on a successful lookup. Don't always use the
52732 __nss_group_database value if it is set.
52733 * nss/nsswitch.conf (initgroups): Change action for successful db
52734 lookup to continue for compatibility.
52735
527362011-05-09 Ulrich Drepper <drepper@gmail.com>
52737
52738 [BZ #11532]
52739 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52740 and CP774 modules.
52741 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52742 and CP774 modules.
52743 * iconvdata/tst-tables.sh: Likewise.
52744 * iconvdata/cp770.c: New file.
52745 * iconvdata/cp771.c: New file.
52746 * iconvdata/cp772.c: New file.
52747 * iconvdata/cp773.c: New file.
52748 * iconvdata/cp774.c: New file.
52749 * iconvdata/testdata/CP770: New file.
52750 * iconvdata/testdata/CP770..UTF8: New file.
52751 * iconvdata/testdata/CP771: New file.
52752 * iconvdata/testdata/CP771..UTF8: New file.
52753 * iconvdata/testdata/CP772: New file.
52754 * iconvdata/testdata/CP772..UTF8: New file.
52755 * iconvdata/testdata/CP773: New file.
52756 * iconvdata/testdata/CP773..UTF8: New file.
52757 * iconvdata/testdata/CP774: New file.
52758 * iconvdata/testdata/CP774..UTF8: New file.
52759
52760 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52761 END CHARMAP line.
52762 * iconvdata/gen-8bit-gap.sh: Likewise.
52763 * iconvdata/gen-8bit.sh: Likewise.
52764
52765 * locale/iso-639.def: Add ary entry.
52766
52767 [BZ #11258]
52768 * locale/C-translit.h.in: Add U20A1 transliteration.
52769
52770 [BZ #12178]
52771 * locale/iso-639.def: Add wae entry.
52772 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52773
52774 [BZ #12545]
52775 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52776 for n.
52777
52778 [BZ #12711]
52779 * locale/C-translit.h.in: Add entry for U20B9.
52780 Patch by pravin.d.s@gmail.com.
52781
527822011-05-08 Ulrich Drepper <drepper@gmail.com>
52783
52784 [BZ #12713]
52785 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52786 ENAMETOOLONG use generic getcwd.
52787 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52788 in rtld. Use *stat64.
52789 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52790 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52791 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52792 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52793 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52794 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52795 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52796 __fstatat64 macros.
52797 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52798 * dirent/rewinddir.c: Add libc_hidden_def.
52799 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52800 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52801
52802 * include/dirent.h (__alloc_dir): Add flags parameter.
52803 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52804 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52805 __alloc_dir.
52806 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52807 from fdopendir if O_CLOEXEC is already set.
52808
528092011-03-15 Alan Modra <amodra@gmail.com>
52810
52811 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52812 l_tls_firstbyte_offset non-zero. Save padding offset in
52813 l_tls_firstbyte_offset for later use.
52814 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52815 freeing static tls block.
52816
528172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52818
52819 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52820 where #ifdef was intended. The intent is to prevent ARG_MAX from
52821 being defined by the kernel headers.
52822
528232011-05-07 Ulrich Drepper <drepper@gmail.com>
52824
52825 [BZ #12734]
52826 * resolv/resolv.h: Define RES_NOTLDQUERY.
52827 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52828 no-tld-query and set RES_NOTLDQUERY.
52829 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52830 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52831 modern BIND to search name as TLD unless forbidden.
52832
528332011-05-07 Petr Baudis <pasky@suse.cz>
52834 Ulrich Drepper <drepper@gmail.com>
52835
52836 [BZ #12393]
52837 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52838 (is_trusted_path): ...to here.
52839 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52840 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52841 using is_trusted_path_normalize() in setuid scripts.
52842
528432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52844
52845 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52846 __BEGIN/__END_DECLS.
52847
528482011-05-06 Ulrich Drepper <drepper@gmail.com>
52849
52850 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52851 NSS_STATUS_NOTFOUND if no record was found.
52852
528532011-05-05 Andreas Schwab <schwab@redhat.com>
52854
52855 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52856 (headers-not-in-tirpc): Remove rpc/netdb.h
52857 * resolv/netdb.h: Revert last change.
52858
528592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52860
52861 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52862 circular dependency between libgcc.a and libc.a.
52863
528642011-05-05 Andreas Schwab <schwab@redhat.com>
52865
52866 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52867 * nis/Makefile: Don't install rpcsvc/*.
52868 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52869 instead of <rpc/types.h>.
52870 (MAXHOSTNAMELEN): Define.
52871
528722011-05-03 Andreas Schwab <schwab@redhat.com>
52873
52874 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52875
528762011-04-28 Maciej Babinski <mbabinski@google.com>
52877
52878 [BZ #12714]
52879 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52880 gethostbyname4_r when IPv6 results are possible.
52881
528822011-05-02 Ulrich Drepper <drepper@gmail.com>
52883
52884 [BZ #12723]
52885 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52886 _PC_PIPE_BUF handling.
52887
528882011-04-30 Bruno Haible <bruno@clisp.org>
52889
52890 [BZ #12717]
52891 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52892 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52893 to 'int'.
52894 * inet/getnameinfo.c (getnameinfo): Likewise.
52895
528962011-04-29 Ulrich Drepper <drepper@gmail.com>
52897
52898 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52899 to groups setting in database lookup.
52900 * nss/nsswitch.conf: Add initgroups entry.
52901
529022011-04-22 Ulrich Drepper <drepper@gmail.com>
52903
52904 [BZ #12685]
52905 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52906 mode string.
52907 Patch by Eric Blake <eblake@redhat.com>.
52908
529092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52910
52911 * sunrpc/Makefile (need-export-routines): Add svc_run.
52912 (routines): Remove svc_run.
52913 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52914 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52915 * sunrpc/svc_run.c (svc_run): Likewise.
52916 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52917
529182011-04-21 Ulrich Drepper <drepper@gmail.com>
52919
52920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52921 problem in reallocation in last patch.
52922
529232011-04-20 Ulrich Drepper <drepper@gmail.com>
52924
52925 * sunrpc/Makefile: Move inclusion of Rules.
52926
529272011-04-19 Ulrich Drepper <drepper@gmail.com>
52928
52929 * nss/nss_files/files-initgroups.c: New file.
52930 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52931 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52932 _nss_files_initgroups_dyn.
52933
529342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52935
52936 * elf/elf.h (R_ARM_IRELATIVE): Define.
52937
529382011-04-19 Ulrich Drepper <drepper@gmail.com>
52939
52940 * po/ru.po: Update from translation team.
52941
529422011-04-17 Ulrich Drepper <drepper@gmail.com>
52943
52944 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52945 dependencies.
52946
529472011-02-06 Mike Frysinger <vapier@gentoo.org>
52948
52949 [BZ #12653]
52950 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52951 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52952 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52953 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52955
529562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52957
52958 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52959 differing bytes.
52960 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52961 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52962 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52963
529642011-04-17 Ulrich Drepper <drepper@gmail.com>
52965
52966 [BZ #12420]
52967 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52968 storing it.
52969 * stdlib/bug-getcontext.c: New file.
52970 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52971
529722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52973
52974 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52975 instructions into .machine "z9-109".
52976 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52977 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52978
529792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52980
52981 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52982 between environment variables and auxiliary vector.
52983
529842011-04-16 Ulrich Drepper <drepper@gmail.com>
52985
52986 * Makefile: Add rules to build linkobj/libc.so.
52987 * include/libc-symbols.h: Define libc_hidden_nolink.
52988 * include/rpc/auth.h: Mark functions which are to be hidden.
52989 * include/rpc/auth_des.h: Likewise.
52990 * include/rpc/auth_unix.h: Likewise.
52991 * include/rpc/clnt.h: Likewise.
52992 * include/rpc/des_crypt.h: Likewise.
52993 * include/rpc/key_prot.h: Likewise.
52994 * include/rpc/pmap_clnt.h: Likewise.
52995 * include/rpc/pmap_prot.h: Likewise.
52996 * include/rpc/pmap_rmt.h: Likewise.
52997 * include/rpc/rpc_msg.h: Likewise.
52998 * include/rpc/svc.h: Likewise.
52999 * include/rpc/svc_auth.h: Likewise.
53000 * include/rpc/xdr.h: Likewise.
53001 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53002 * nss/Makefile: Likewise.
53003 * sunrpc/Makefile: Don't install headers. Build library with normal
53004 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53005 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53006 for the compat linking library. Remove use of INTDEF/INTUSE.
53007 * sunrpc/auth_none.c: Likewise.
53008 * sunrpc/auth_unix.c: Likewise.
53009 * sunrpc/authdes_prot.c: Likewise.
53010 * sunrpc/authuxprot.c: Likewise.
53011 * sunrpc/clnt_gen.c: Likewise.
53012 * sunrpc/clnt_perr.c: Likewise.
53013 * sunrpc/clnt_raw.c: Likewise.
53014 * sunrpc/clnt_simp.c: Likewise.
53015 * sunrpc/clnt_tcp.c: Likewise.
53016 * sunrpc/clnt_udp.c: Likewise.
53017 * sunrpc/clnt_unix.c: Likewise.
53018 * sunrpc/des_crypt.c: Likewise.
53019 * sunrpc/des_soft.c: Likewise.
53020 * sunrpc/get_myaddr.c: Likewise.
53021 * sunrpc/key_call.c: Likewise.
53022 * sunrpc/key_prot.c: Likewise.
53023 * sunrpc/netname.c: Likewise.
53024 * sunrpc/pm_getmaps.c: Likewise.
53025 * sunrpc/pm_getport.c: Likewise.
53026 * sunrpc/pmap_clnt.c: Likewise.
53027 * sunrpc/pmap_prot.c: Likewise.
53028 * sunrpc/pmap_prot2.c: Likewise.
53029 * sunrpc/pmap_rmt.c: Likewise.
53030 * sunrpc/publickey.c: Likewise.
53031 * sunrpc/rpc_cmsg.c: Likewise.
53032 * sunrpc/rpc_common.c: Likewise.
53033 * sunrpc/rpc_dtable.c: Likewise.
53034 * sunrpc/rpc_prot.c: Likewise.
53035 * sunrpc/rpc_thread.c: Likewise.
53036 * sunrpc/rtime.c: Likewise.
53037 * sunrpc/svc.c: Likewise.
53038 * sunrpc/svc_auth.c: Likewise.
53039 * sunrpc/svc_authux.c: Likewise.
53040 * sunrpc/svc_raw.c: Likewise.
53041 * sunrpc/svc_run.c: Likewise.
53042 * sunrpc/svc_simple.c: Likewise.
53043 * sunrpc/svc_tcp.c: Likewise.
53044 * sunrpc/svc_udp.c: Likewise.
53045 * sunrpc/svc_unix.c: Likewise.
53046 * sunrpc/svcauth_des.c: Likewise.
53047 * sunrpc/xcrypt.c: Likewise.
53048 * sunrpc/xdr.c: Likewise.
53049 * sunrpc/xdr_array.c: Likewise.
53050 * sunrpc/xdr_float.c: Likewise.
53051 * sunrpc/xdr_intXX_t.c: Likewise.
53052 * sunrpc/xdr_mem.c: Likewise.
53053 * sunrpc/xdr_rec.c: Likewise.
53054 * sunrpc/xdr_ref.c: Likewise.
53055 * sunrpc/xdr_sizeof.c: Likewise.
53056 * sunrpc/xdr_stdio.c: Likewise.
53057
530582011-04-10 Ulrich Drepper <drepper@gmail.com>
53059
53060 [BZ #12650]
53061 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53062 * sysdeps/ia64/dl-tls.h: Likewise.
53063 * sysdeps/powerpc/dl-tls.h: Likewise.
53064 * sysdeps/s390/dl-tls.h: Likewise.
53065 * sysdeps/sh/dl-tls.h: Likewise.
53066 * sysdeps/sparc/dl-tls.h: Likewise.
53067 * sysdeps/x86_64/dl-tls.h: Likewise.
53068 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53069
530702011-03-14 Andreas Schwab <schwab@redhat.com>
53071
53072 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53073 rpath element also skip the following colon.
53074 (expand_dynamic_string_token): Add is_path parameter and pass
53075 down to DL_DST_REQUIRED and _dl_dst_substitute.
53076 (decompose_rpath): Call expand_dynamic_string_token with
53077 non-zero is_path. Ignore empty rpaths.
53078 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53079 with zero is_path.
53080
530812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53082
53083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53084 Make cancelable.
53085
530862011-04-09 Ulrich Drepper <drepper@gmail.com>
53087
53088 [BZ #12655]
53089 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53090 Patch by Filipe David Manana <fdmanana@apache.org>.
53091
530922011-04-07 Andreas Schwab <schwab@redhat.com>
53093
53094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53095 Maintain aligned stack.
53096 (CHECK_RSP): Remove unused macro.
53097
530982011-04-03 Ulrich Drepper <drepper@gmail.com>
53099
53100 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53101 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53102
531032011-04-02 Ulrich Drepper <drepper@gmail.com>
53104
53105 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53106
53107 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53108
531092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53110
53111 [BZ #12518]
53112 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53113 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53114 * sysdeps/x86_64/memmove.c: New file.
53115 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53116 (memcpy): Renamed to ...
53117 (__new_memcpy): This.
53118 (memcpy): Provide GLIBC_2_14 memcpy.
53119 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53120 (memcpy): Provide GLIBC_2_2_5 memcpy.
53121
531222011-04-01 Ulrich Drepper <drepper@gmail.com>
53123
53124 [BZ #12631]
53125 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53126
531272011-03-30 Andreas Schwab <schwab@redhat.com>
53128
53129 * misc/syncfs.c: New file.
53130 * misc/Makefile (routines): Add syncfs.
53131 * posix/unistd.h: Declare syncfs.
53132 * sysdeps/unix/syscalls.list: Add syncfs.
53133
531342011-04-01 Andreas Schwab <schwab@redhat.com>
53135
53136 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53137 open_by_handle_at.
53138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53139 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53141 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53143 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53144 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53145
531462011-04-01 Ulrich Drepper <drepper@gmail.com>
53147
53148 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53149 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53150 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53152 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53153 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53155
53156 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53157 sync_file_range.c with -fexceptions.
53158 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53159 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53160 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53161 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53162 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53163 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53164 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53165 sync_file_range as cancellation point
53166 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53167 now a wrapper around __call_sync_file_range with cancellation handling.
53168 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53169 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53170 function name to __call_sync_file_range.
53171 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53172 Add call_sync_file_range.
53173
531742011-04-01 Andreas Schwab <schwab@redhat.com>
53175
53176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53177 bits/timex.h.
53178
531792011-04-01 Ulrich Drepper <drepper@gmail.com>
53180
53181 * iconv/iconv.h: Fix typo in comment.
53182 * io/fcntl.h: Likewise.
53183 * libio/stdio.h: Likewise.
53184 * posix/spawn.h: Likewise.
53185 * posix/unistd.h: Likewise.
53186 * stdlib/stdlib.h: Likewise.
53187 * time/time.h: Likewise.
53188 * wcsmbs/wchar.h: Likewise.
53189
53190 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53191 open_by_handle): Add.
53192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53193 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53194 Augment a few comments.
53195 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53197 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53200 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53201 open_by_handle.
53202
53203 * io/fcntl.h (AT_EMPTY_PATH): Define.
53204
532052011-03-30 Ulrich Drepper <drepper@gmail.com>
53206
53207 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53208 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53209 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53210 to...
53211 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53212 * Versions.def: Add GLIBC_2.14.
53213 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53214 Export.
53215
532162011-03-22 Ulrich Drepper <drepper@gmail.com>
53217
53218 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53219 round counter.
53220 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53221
532222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53223
53224 [BZ #12597]
53225 * string/test-strncmp.c (do_page_test): New function.
53226 (check2): Likewise.
53227 (test_main): Call check2.
53228 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53229
532302011-03-20 Ulrich Drepper <drepper@gmail.com>
53231
53232 [BZ #12587]
53233 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53234 Handle cache information in CPU leaf 4.
53235 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53236
532372011-03-18 Ulrich Drepper <drepper@gmail.com>
53238
53239 [BZ #12583]
53240 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53241 character representation.
53242 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53243
532442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53245
53246 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53247 END(__isnan) to END(__isnanf) to match function entry point/label
53248 EALIGN(__isnanf,...).
53249
532502011-03-10 Jakub Jelinek <jakub@redhat.com>
53251
53252 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53253
532542011-03-10 Ulrich Drepper <drepper@gmail.com>
53255
53256 [BZ #12510]
53257 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53258 copy from the symbol referenced in the relocation to initialize the
53259 used variable.
53260 Patch by Piotr Bury <pbury@goahead.com>.
53261 * elf/Makefile: Add rules to build and tst-unique3.
53262 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53263 * elf/tst-unique3.cc: New file.
53264 * elf/tst-unique3.h: New file.
53265 * elf/tst-unique3lib.cc: New file.
53266 * elf/tst-unique3lib2.cc: New file.
53267
53268 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53269
532702011-03-10 Mike Frysinger <vapier@gentoo.org>
53271
53272 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53273 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53274 to _start.
53275
532762011-03-06 Ulrich Drepper <drepper@gmail.com>
53277
53278 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53279 to-be-loaded object along a path to loader is ld.so.
53280
532812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53282 Ulrich Drepper <drepper@gmail.com>
53283
53284 * sysdeps/x86_64/memset.S: After aligning destination, code
53285 branches to different locations depending on the value of
53286 misalignment, when multiarch is enabled. Fix this.
53287
532882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53289
53290 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53291 Set _x86_64_preferred_memory_instruction for AMD processsors.
53292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53293 Set bit_Prefer_SSE_for_memop for AMD processors.
53294
532952011-03-04 Ulrich Drepper <drepper@gmail.com>
53296
53297 * libio/fmemopen.c (fmemopen): Optimize a bit.
53298
532992011-03-03 Andreas Schwab <schwab@redhat.com>
53300
53301 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53302
533032011-03-03 Roland McGrath <roland@redhat.com>
53304
53305 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53306
533072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53308
53309 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53310 __bzero_ultra1 instead of __memset_ultra1.
53311
533122011-02-23 Andreas Schwab <schwab@redhat.com>
53313 Ulrich Drepper <drepper@gmail.com>
53314
53315 [BZ #12509]
53316 * include/link.h (struct link_map): Add l_orig_initfini.
53317 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53318 returning unsuccessfully.
53319 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53320 close of a file loaded at startup, restore the original l_initfini
53321 list.
53322 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53323 list, store the pointer.
53324 * elf/Makefile ($(objpfx)noload-mem): New rule.
53325 (noload-ENV): Define.
53326 (tests): Add $(objpfx)noload-mem.
53327 * elf/noload.c: Include <memcheck.h>.
53328 (main): Call mtrace. Close all opened handles.
53329
533302011-02-17 Andreas Schwab <schwab@redhat.com>
53331
53332 [BZ #12454]
53333 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53334 dependencies are missing.
53335
533362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53337
53338 Fix __if_freereq crash: Unlike the generic version which uses free,
53339 Hurd needs munmap.
53340 * sysdeps/mach/hurd/ifreq.h: New file.
53341
533422011-01-27 Petr Baudis <pasky@suse.cz>
53343 Ulrich Drepper <drepper@gmail.com>
53344
53345 [BZ 12445]#
53346 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53347 to extend_alloca().
53348 * stdio-common/bug23.c: New file.
53349 * stdio-common/Makefile (tests): Add bug23.
53350
533512010-09-28 Andreas Schwab <schwab@redhat.com>
53352 Ulrich Drepper <drepper@gmail.com>
53353
53354 [BZ #12489]
53355 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53356 before performing relro protection. At old place add assertion
53357 to make sure nothing changed.
53358
533592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53360 Glauber de Oliveira Costa <glommer@gmail.com>
53361
53362 * elf/elf.h: Add new ARM TLS relocs.
53363
533642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53365
53366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53367 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53368 cast from r3.
53369 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53370 'tests' variable.
53371 * sysdeps/wordsize-64/tst-writev.c: New file.
53372
533732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53374
53375 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53376 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53377 insns in _dl_start to prevent a TOC reference before relocs are
53378 resolved.
53379
533802011-02-15 Ulrich Drepper <drepper@gmail.com>
53381
53382 [BZ #12469]
53383 * Makeconfig: Remove RANLIB definition.
53384 * Makerules: Don't use RANLIB.
53385 * aclocal.m4: Remove ranlib test.
53386 * configure.in: No need to check for ranlib.
53387 * elf/rtld-Rules: Don't use RANLIB.
53388
533892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53390
53391 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53392 protection macro.
53393 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53394 inclusion protection macro.
53395
53396 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53397 SIGRTMIN and SIGRTMAX and print information in that case only when
53398 SIGRTMIN is defined.
53399
534002011-02-11 Jakub Jelinek <jakub@redhat.com>
53401
53402 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53403 arginfo fn returning -1.
53404
53405 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53406 and thousands string is zero terminated.
53407
534082011-02-03 Andreas Schwab <schwab@redhat.com>
53409
53410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53411 sysdeps/unix/sysv/linux/bits/socket.h.
53412
534132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53414
53415 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53416 (__CPU_COUNT): Remove old macros.
53417 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53418 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53419 (__CPU_ALLOC, __CPU_FREE): Add macros.
53420 (__sched_cpualloc, __sched_cpufree): Add declarations.
53421
534222011-02-05 Ulrich Drepper <drepper@gmail.com>
53423
53424 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53425 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53426 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53427 (readdhstai): Return value of addhstaiX call.
53428 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53429 (addgrbyX): Return value returned by cache_addgr.
53430 (readdgrbyname): Return value returned by addgrbyX.
53431 (readdgrbygid): Likewise.
53432 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53433 (addpwbyX): Return value returned by cache_addpw.
53434 (readdpwbyname): Return value returned by addhstbyX.
53435 (readdpwbyuid): Likewise.
53436 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53437 (addservbyX): Return value returned by cache_addserv.
53438 (readdservbyname): Return value returned by addservbyX:
53439 (readdservbyport): Likewise.
53440 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53441 (addhstbyX): Return value returned by cache_addhst.
53442 (readdhstbyname): Return value returned by addhstbyX.
53443 (readdhstbyaddr): Likewise.
53444 (readdhstbynamev6): Likewise.
53445 (readdhstbyaddrv6): Likewise.
53446 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53447 (readdinitgroups): Return value returned by addinitgroupsX.
53448 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53449 (prune_cache): Keep track of timeout value of re-added entries.
53450 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53451 * nscd/nscd.h: Adjust prototypes of readd* functions.
53452
534532011-02-04 Roland McGrath <roland@redhat.com>
53454
53455 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53456 (nis_stats): Likewise.
53457 * nis/nis_modify.c (nis_modify): Likewise.
53458 * nis/nis_remove.c (nis_remove): Likewise.
53459 * nis/nis_add.c (nis_add): Likewise.
53460
53461 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53462
53463 * posix/fnmatch_loop.c: Add some consts.
53464
53465 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53466
534672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53468
53469 [BZ #12460]
53470 * config.make.in (config-cflags-novzeroupper): Define.
53471 * configure.in: Substitute libc_cv_cc_novzeroupper.
53472 * elf/Makefile (AVX-CFLAGS): Define.
53473 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53474 (CFLAGS-tst-auditmod4a.c): Likewise.
53475 (CFLAGS-tst-auditmod4b.c): Likewise.
53476 (CFLAGS-tst-auditmod6b.c): Likewise.
53477 (CFLAGS-tst-auditmod6c.c): Likewise.
53478 (CFLAGS-tst-auditmod7b.c): Likewise.
53479 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53480
534812011-02-02 Ulrich Drepper <drepper@gmail.com>
53482
53483 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53484 function to the callback.
53485 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53486
534872011-02-02 Andreas Schwab <schwab@redhat.com>
53488
53489 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53490 of errno.
53491
534922011-01-19 Ulrich Drepper <drepper@gmail.com>
53493
53494 [BZ #11724]
53495 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53496 of constructors.
53497 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53498 of destructors.
53499 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53500
53501 [BZ #11724]
53502 * elf/Makefile: Add rules to build and run new test.
53503 * elf/tst-initorder.c: New file.
53504 * elf/tst-initorder.exp: New file.
53505 * elf/tst-initordera1.c: New file.
53506 * elf/tst-initordera2.c: New file.
53507 * elf/tst-initordera3.c: New file.
53508 * elf/tst-initordera4.c: New file.
53509 * elf/tst-initorderb1.c: New file.
53510 * elf/tst-initorderb2.c: New file.
53511 * elf/tst-order-a1.c: New file.
53512 * elf/tst-order-a2.c: New file.
53513 * elf/tst-order-a3.c: New file.
53514 * elf/tst-order-a4.c: New file.
53515 * elf/tst-order-b1.c: New file.
53516 * elf/tst-order-b2.c: New file.
53517 * elf/tst-order-main.c: New file.
53518 New test case by George Gensure <werkt0@gmail.com>.
53519
535202010-10-01 Andreas Schwab <schwab@redhat.com>
53521
53522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53523 decoding ACE if AI_CANONIDN.
53524
535252011-01-18 Ulrich Drepper <drepper@gmail.com>
53526
53527 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53528
535292011-01-17 Ulrich Drepper <drepper@gmail.com>
53530
53531 * version.h (RELEASE): Bump for 2.13 release.
53532 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53533
53534 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53535
53536 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53537 MADV_NOHUGEPAGE.
53538 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53539 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53540 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53541 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53542 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53543 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53544
53545 * posix/getconf.c: Update copyright year.
53546 * catgets/gencat.c: Likewise.
53547 * csu/version.c: Likewise.
53548 * debug/catchsegv.sh: Likewise.
53549 * debug/xtrace.sh: Likewise.
53550 * elf/ldconfig.c: Likewise.
53551 * elf/ldd.bash.in: Likewise.
53552 * elf/sprof.c (print_version): Likewise.
53553 * iconv/iconv_prog.c: Likewise.
53554 * iconv/iconvconfig.c: Likewise.
53555 * locale/programs/locale.c: Likewise.
53556 * locale/programs/localedef.c: Likewise.
53557 * malloc/memusage.sh: Likewise.
53558 * malloc/mtrace.pl: Likewise.
53559 * nscd/nscd.c (print_version): Likewise.
53560 * nss/getent.c: Likewise.
53561
53562 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53563 PF_CAIF, and PF_ALG.
53564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53565
535662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53567
53568 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53569 (modules-names): Use them.
53570 (ifunc-test-modules, ifunc-pie-tests): Define.
53571 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53572 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53573 (test-extras): Likewise.
53574 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53575 $(compile-command.c).
53576 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53577 (all-built-dso): Define.
53578 (check-textrel.out, check-execstack.out): Depend on it.
53579
53580 * configure.in: Don't override --enable-multi-arch.
53581
535822011-01-15 Ulrich Drepper <drepper@gmail.com>
53583
53584 [BZ #6812]
53585 * nscd/hstcache.c (tryagain): Define.
53586 (cache_addhst): Return tryagain not notfound for temporary errors.
53587 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53588 failed.
53589
535902011-01-14 Ulrich Drepper <drepper@gmail.com>
53591
53592 [BZ #10563]
53593 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53594 to make the syscall.
53595 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53596
53597 [BZ #12378]
53598 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53599 and fall back to matching as normal character if the string ends before
53600 the matching ']' is found. This is what POSIX requires.
53601 * posix/testfnm.c: Adjust test result.
53602 * posix/globtest.sh: Adjust test result. Add new test.
53603 * posix/tst-fnmatch.input: Likewise.
53604 * posix/tst-fnmatch2.c: Add new test.
53605
536062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53607
53608 * elf/Makefile (check-execstack): Revert last change. Depend on
53609 check-execstack.h.
53610 (check-execstack.h): New target.
53611 (generated): Add check-execstack.h.
53612 * elf/check-execstack.c: Include "check-execstack.h".
53613 (main): Revert last change.
53614 (handle_file): Return zero if GNU_STACK is absent and
53615 DEFAULT_STACK_PERMS doesn't include PF_X.
53616
536172011-01-13 Ulrich Drepper <drepper@gmail.com>
53618
53619 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53620 in child fails because the descriptor is already closed.
53621 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53622 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53623 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53624
53625 [BZ #12397]
53626 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53627 syscall.
53628
53629 [BZ #10484]
53630 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53631 temporary buffer used to handle multi lookups locally.
53632 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53633
536342011-01-12 Ulrich Drepper <drepper@gmail.com>
53635
53636 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53637 loader is ld.so.
53638
536392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53640
53641 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53642 alignment for SSE2.
53643
536442011-01-12 Ulrich Drepper <drepper@gmail.com>
53645
53646 [BZ #12394]
53647 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53648 characters. When rounding increased number of integer digits recompute
53649 number of groups.
53650 * stdio-common/tst-grouping.c: New file.
53651 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53652
536532011-01-09 Ulrich Drepper <drepper@gmail.com>
53654
53655 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53656 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53657
53658 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53659 void.
53660 * bits/select.h: Likewise.
53661
536622011-01-08 Ulrich Drepper <drepper@gmail.com>
53663
53664 * po/ja.po: Update from translation team.
53665
536662011-01-04 David S. Miller <davem@sunset.davemloft.net>
53667
53668 [BZ #11155]
53669 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53670 implementation just like for lxstat, fxstatat, et al.
53671
536722010-12-27 Jim Meyering <meyering@redhat.com>
53673
53674 [BZ #12348]
53675 * posix/regexec.c (build_trtable): Return failure indication upon
53676 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53677
536782010-12-25 Ulrich Drepper <drepper@gmail.com>
53679
53680 [BZ #12201]
53681 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53682 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53683 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53684 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53685
53686 [BZ #12207]
53687 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53688
53689 [BZ #12204]
53690 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53691 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53692
536932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53694
53695 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53696 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53697 script has SORT_BY_INIT_PRIORITY.
53698 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53699 NO_CTORS_DTORS_SECTIONS is defined.
53700 * elf/soinit.c: Likewise.
53701 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53702 NO_CTORS_DTORS_SECTIONS is defined.
53703 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53704 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53705 * sysdeps/sh/init-first.c: Likewise.
53706 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53707
537082010-12-24 Ulrich Drepper <drepper@gmail.com>
53709
53710 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53711 always use the slow path.
53712
537132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53714
53715 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53716 similar rule which adds the sysdep directories to the header search in
53717 order to pick up the correct platform stackinfo.h.
53718 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53719 perform test if it is, otherwise return successfully without testing.
53720 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53721 DEFAULT_STACK_PERMS define in stackinfo.h.
53722 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53723 defined in stackinfo.h.
53724 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53725 DEFAULT_STACK_PERMS defined in stackinfo.h.
53726 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53727 * sysdeps/ia64/stackinfo.h: Likewise.
53728 * sysdeps/s390/stackinfo.h: Likewise.
53729 * sysdeps/sh/stackinfo.h: Likewise.
53730 * sysdeps/sparc/stackinfo.h: Likewise.
53731 * sysdeps/x86_64/stackinfo.h: Likewise.
53732 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53733 PF_X for powerpc64. Retain PF_X for powerpc32.
53734
537352010-12-19 Ulrich Drepper <drepper@gmail.com>
53736
53737 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53738 accurately.
53739 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53740 GETDENTS_64BIT_ALIGNED.
53741
537422010-12-14 Ulrich Drepper <dreper@gmail.com>
53743
53744 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53745
537462010-12-10 Andreas Schwab <schwab@redhat.com>
53747
53748 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53749 _GNU_SOURCE.
53750
53751 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53752 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53753 Remove __restrict.
53754 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53755 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53756
537572010-12-09 Ulrich Drepper <drepper@gmail.com>
53758
53759 [BZ #11655]
53760 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53761 are initialized.
53762
537632010-12-09 Jakub Jelinek <jakub@redhat.com>
53764
53765 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53766
537672010-12-03 Ulrich Drepper <drepper@gmail.com>
53768
53769 * po/it.po: Update from translation team.
53770
537712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53772
53773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53774 unused codes.
53775
537762010-11-30 Ulrich Drepper <drepper@gmail.com>
53777
53778 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53779
537802010-11-24 Andreas Schwab <schwab@redhat.com>
53781
53782 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53783 specially.
53784 (gaih_getanswer_slice): Likewise.
53785
537862010-10-20 Jakub Jelinek <jakub@redhat.com>
53787
53788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53789
537902010-05-31 Petr Baudis <pasky@suse.cz>
53791
53792 [BZ #11149]
53793 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53794 silently even in the chroot mode.
53795
537962010-11-22 Ulrich Drepper <drepper@gmail.com>
53797
53798 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53799 last patch a bit. Pretty printing
53800
538012010-05-31 Petr Baudis <pasky@suse.cz>
53802
53803 [BZ #10085]
53804 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53805 initialization of skip_initgroups_dyn.
53806
538072010-11-19 Ulrich Drepper <drepper@gmail.com>
53808
53809 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53810 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53811
538122010-11-16 Ulrich Drepper <drepper@gmail.com>
53813
53814 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53815
538162010-11-11 Andreas Schwab <schwab@redhat.com>
53817
53818 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53819 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53820 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53821 ($(objpfx)tst-fnmatch-mem): New rule.
53822 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53823 * posix/tst-fnmatch.c (main): Call mtrace.
53824
538252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53826
53827 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53828 Support Intel processor model 6 and model 0x2c.
53829
538302010-11-10 Luis Machado <luisgpm@br.ibm.com>
53831
53832 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53833 signed comparison.
53834
538352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53836
53837 [BZ #12205]
53838 * string/test-strncasecmp.c (check_result): New function.
53839 (do_one_test): Use it.
53840 (check1): New function.
53841 (test_main): Use it.
53842 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53843 Support strcasecmp and strncasecmp.
53844
538452010-11-08 Ulrich Drepper <drepper@gmail.com>
53846
53847 [BZ #12194]
53848 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53849 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53850
538512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53852
53853 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53854 IFUNC support.
53855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53856 memset-x86-64.
53857 * sysdeps/x86_64/multiarch/bzero.S: New file.
53858 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53859 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53860 * sysdeps/x86_64/multiarch/memset.S: New file.
53861 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53862 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53863 Set bit_Prefer_SSE_for_memop for Intel processors.
53864 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53865 Define.
53866 (index_Prefer_SSE_for_memop): Define.
53867 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53868
538692010-11-04 Luis Machado <luisgpm@br.ibm.com>
53870
53871 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53872 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53873
538742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53875
53876 [BZ #12191]
53877 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53878 (__x86_64_raw_data_cache_size_half): Likewise.
53879 (__x86_64_raw_shared_cache_size): Likewise.
53880 (__x86_64_raw_shared_cache_size_half): Likewise.
53881
53882 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53883 (__x86_64_raw_data_cache_size_half): Likewise.
53884 (__x86_64_raw_shared_cache_size): Likewise.
53885 (__x86_64_raw_shared_cache_size_half): Likewise.
53886 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53887 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53888 and __x86_64_raw_shared_cache_size_half. Round
53889 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53890 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53891 to multiple of 256 bytes.
53892
538932010-11-03 Ulrich Drepper <drepper@gmail.com>
53894
53895 [BZ #12167]
53896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53897 of inacessible symlinks. Verify result of symlink before returning it.
53898 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53899 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53900
539012010-10-28 Erich Ritz <erichritz@gmail.com>
53902
53903 * math/math.h (isinf): Fix typo in comment.
53904
539052010-11-01 Ulrich Drepper <drepper@gmail.com>
53906
53907 * po/da.po: Update from translation team.
53908
539092010-10-26 Ulrich Drepper <drepper@gmail.com>
53910
53911 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53912 is added to the list.
53913
539142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53915 Ulrich Drepper <drepper@gmail.com>
53916
53917 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53918 the global list here. Move code to...
53919 (_dl_add_to_namespace_list): ...here. New function.
53920 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53921 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53922 * elf/dl-load.c (lose): Don't remove the element from the list.
53923 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53924 (_dl_map_object): Likewise.
53925
539262010-10-25 Ulrich Drepper <drepper@gmail.com>
53927
53928 [BZ #12159]
53929 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53930 into all bytes of SSE register.
53931 Patch by Richard Li <richardpku@gmail.com>.
53932
539332010-10-24 Ulrich Drepper <drepper@gmail.com>
53934
53935 [BZ #12140]
53936 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53937 perturbing.
53938
539392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53940
53941 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53942 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53943 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53944 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53946 submachine.
53947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53948
539492010-10-22 Andreas Schwab <schwab@redhat.com>
53950
53951 * include/dlfcn.h (__RTLD_SECURE): Define.
53952 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53953 mode & __RTLD_SECURE instead.
53954 (open_path): Rename preloaded parameter to secure.
53955 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53956 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53957 * elf/dl-deps.c (openaux): Likewise.
53958 * elf/rtld.c (struct map_args): Remove is_preloaded.
53959 (map_doit): Don't use it.
53960 (dl_main): Likewise.
53961 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53962 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53963
539642010-09-09 Andreas Schwab <schwab@redhat.com>
53965
53966 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53967 (sysd-rules-targets): Remove duplicates.
53968 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53969 rtld-%.$o dependency.
53970
539712010-10-18 Andreas Schwab <schwab@redhat.com>
53972
53973 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53974 _dl_map_object do it.
53975
539762010-10-19 Ulrich Drepper <drepper@gmail.com>
53977
53978 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53979 fast fma builtins, define the macros in the C99 standard.
53980 (FP_FAST_FMAF): Likewise.
53981 (FP_FAST_FMAL): Likewise.
53982 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53983
53984 * bits/mathdef.h: Update copyright year.
53985 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53986
539872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53988
53989 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53990 builtins, define the macros in the C99 standard.
53991 (FP_FAST_FMAF): Likewise.
53992 (FP_FAST_FMAL): Likewise.
53993 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53994 multiply/add.
53995 (FP_FAST_FMAF): Likewise.
53996
539972010-10-15 Jakub Jelinek <jakub@redhat.com>
53998
53999 [BZ #3268]
54000 * math/libm-test.inc (fma_test): Some new testcases.
54001 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54002 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54003 y and infinite z. Do multiplication by C already in long double.
54004 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54006 y and infinite z. Do bitwise or of inexact bit into u.d.
54007 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54008 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54009 * sysdeps/i386/fpu/s_fma.S: Removed.
54010 * sysdeps/i386/fpu/s_fmal.S: Removed.
54011
540122010-10-16 Jakub Jelinek <jakub@redhat.com>
54013
54014 [BZ #3268]
54015 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54017 computation is not scheduled after fetestexcept. Fix value
54018 of minimum denormal long double.
54019
540202010-10-14 Jakub Jelinek <jakub@redhat.com>
54021
54022 [BZ #3268]
54023 * math/libm-test.inc (fma_test): Add some more tests.
54024 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54025 correctly.
54026
540272010-10-15 Andreas Schwab <schwab@redhat.com>
54028
54029 * scripts/data/localplt-s390-linux-gnu.data: New file.
54030 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54031
540322010-10-13 Jakub Jelinek <jakub@redhat.com>
54033
54034 [BZ #3268]
54035 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54036 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54037 instead of dbl-64.
54038 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54039 inlines.
54040 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54042 if one of x and y is very large and the other is subnormal.
54043 * sysdeps/s390/fpu/s_fmaf.c: New file.
54044 * sysdeps/s390/fpu/s_fma.c: New file.
54045 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54046 * sysdeps/powerpc/fpu/s_fma.S: New file.
54047 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54048 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54049 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54050
540512010-10-12 Jakub Jelinek <jakub@redhat.com>
54052
54053 [BZ #3268]
54054 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54055 fma tests.
54056 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54057 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54058 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54059 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54060 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54061 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54062 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54063
540642010-10-12 Ulrich Drepper <drepper@redhat.com>
54065
54066 [BZ #12078]
54067 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54068 * posix/bug-regex31.input: Add test case.
54069
540702010-10-11 Ulrich Drepper <drepper@gmail.com>
54071
54072 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54073 * posix/bug-regex31.input: New file.
54074
54075 [BZ #12078]
54076 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54077 (parse_sub_exp): Fix last change, use postorder.
54078
54079 * posix/bug-regex31.c: New file.
54080 * posix/Makefile: Add rules to build and run bug-regex31.
54081
54082 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54083
54084 [BZ #12078]
54085 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54086
54087 [BZ #12108]
54088 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54089 to have entries in sys_siglist.
54090
54091 [BZ #12093]
54092 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54093 be NULL.
54094
540952010-10-07 Jakub Jelinek <jakub@redhat.com>
54096
54097 [BZ #3268]
54098 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54099 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54100 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54101 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54102 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54103 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54104 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54105 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54106 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54107 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54108 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54109 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54110 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54111 * math/ftestexcept.c (fetestexcept): Likewise.
54112 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54113 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54114 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54115 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54116 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54117 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54118 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54119
541202010-10-11 Ulrich Drepper <drepper@gmail.com>
54121
54122 [BZ #12107]
54123 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54124 newline.
54125
541262010-10-06 Ulrich Drepper <drepper@gmail.com>
54127
54128 * string/bug-strstr1.c: New file.
54129 * string/Makefile: Add rules to build and run bug-strstr1.
54130
541312010-10-05 Eric Blake <eblake@redhat.com>
54132
54133 [BZ #12092]
54134 * string/str-two-way.h (two_way_long_needle): Always clear memory
54135 when skipping input due to the shift table.
54136
541372010-10-03 Ulrich Drepper <drepper@gmail.com>
54138
54139 [BZ #12005]
54140 * malloc/mcheck.c: Handle large requests.
54141
54142 [BZ #12077]
54143 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54144 for strncmp and strncasecmp.
54145 * string/stratcliff.c: Add tests for strcmp and strncmp.
54146 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54147
541482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54149
54150 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54151 __set_fpscr.
54152
541532010-09-30 Andreas Jaeger <aj@suse.de>
54154
54155 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54156 (CGROUP_SUPER_MAGIC): Define.
54157 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54158 Handle btrfs and cgroup file systems.
54159 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54160 Likewise.
54161
541622010-09-27 Luis Machado <luisgpm@br.ibm.com>
54163
54164 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54165 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54166
541672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54168
54169 [BZ #12067]
54170 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54171 trying to locate the ELF header.
54172
541732010-09-27 Andreas Schwab <schwab@redhat.com>
54174
54175 [BZ #11611]
54176 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54177 Mask out sign-bit copies when constructing f_fsid.
54178
541792010-09-24 Petr Baudis <pasky@suse.cz>
54180
54181 * debug/stack_chk_fail_local.c: Add missing licence exception.
54182 * debug/warning-nop.c: Likewise.
54183
541842010-09-15 Joseph Myers <joseph@codesourcery.com>
54185
54186 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54187 implementing getdents64 using getdents syscall, set d_type if
54188 __ASSUME_GETDENTS32_D_TYPE.
54189
541902010-09-16 Andreas Schwab <schwab@redhat.com>
54191
54192 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54193 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54194
541952010-09-21 Ulrich Drepper <drepper@redhat.com>
54196
54197 [BZ #12037]
54198 * posix/unistd.h: Undo change of feature selection for ftruncate from
54199 2010-01-11.
54200
542012010-09-20 Ulrich Drepper <drepper@redhat.com>
54202
54203 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54204 detection.
54205
542062010-09-20 Andreas Schwab <schwab@redhat.com>
54207
54208 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54209 fanotify_mark.
54210 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54211
542122010-09-14 Andreas Schwab <schwab@redhat.com>
54213
54214 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54215 variables after CHECK_SP call.
54216 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54217
542182010-09-13 Andreas Schwab <schwab@redhat.com>
54219 Ulrich Drepper <drepper@redhat.com>
54220
54221 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54222 re-relocationg ld.so.
54223 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54224 _dl_init_paths call.
54225 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54226 here anymore.
54227
542282010-09-14 Ulrich Drepper <drepper@redhat.com>
54229
54230 * resolv/res_init.c (__res_vinit): Count the default server we added.
54231
542322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54233 Ulrich Drepper <drepper@redhat.com>
54234
54235 [BZ #11968]
54236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54237 (____longjmp_chk): Use %ebx for saving value across system call.
54238 Add unwind info.
54239
542402010-09-06 Andreas Schwab <schwab@redhat.com>
54241
54242 * manual/Makefile: Don't mix pattern rules with normal rules.
54243
542442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54245
54246 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54247 operation.
54248 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54249 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54250 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54251 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54253 Likewise.
54254
542552010-09-04 Ulrich Drepper <drepper@redhat.com>
54256
54257 [BZ #11979]
54258 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54259 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54260
542612010-09-02 Ulrich Drepper <drepper@redhat.com>
54262
54263 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54264 * sysdeps/x86_64/addmul_1.S: Likewise.
54265 * sysdeps/x86_64/lshift.S: Likewise.
54266 * sysdeps/x86_64/mul_1.S: Likewise.
54267 * sysdeps/x86_64/rshift.S: Likewise.
54268 * sysdeps/x86_64/sub_n.S: Likewise.
54269 * sysdeps/x86_64/submul_1.S: Likewise.
54270
542712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54272
54273 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54274 Define __sched_param instead of SCHED_* and sched_param when
54275 <bits/sched.h> is included with __need_schedparam defined.
54276 * bits/sched.h [__need_schedparam]
54277 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54278 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54279 (__defined_schedparam): Define to 1.
54280 (__sched_param): New structure, identical to sched_param.
54281 (__need_schedparam): Undefine.
54282
542832010-08-31 Mike Frysinger <vapier@gentoo.org>
54284
54285 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54286 (epoll_create1): Declare.
54287
54288 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54289
542902010-08-31 Andreas Schwab <schwab@redhat.com>
54291
54292 [BZ #7066]
54293 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54294 shifting retval into place.
54295
542962010-09-01 Ulrich Drepper <drepper@redhat.com>
54297
54298 * nis/rpcsvc/nis.h: Update copyright notice.
54299 * nis/rpcsvc/nis.x: Likewise.
54300 * nis/rpcsvc/nis_callback.h: Likewise.
54301 * nis/rpcsvc/nis_callback.x: Likewise.
54302 * nis/rpcsvc/nis_object.x: Likewise.
54303 * nis/rpcsvc/nis_tags.h: Likewise.
54304 * nis/rpcsvc/yp.h: Likewise.
54305 * nis/rpcsvc/yp.x: Likewise.
54306 * nis/rpcsvc/ypupd.h: Likewise.
54307 * nis/yp_xdr.c: Likewise.
54308 * nis/ypupdate_xdr.c: Likewise.
54309
54310 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54311 mainly the body of pmap_getport. Add parameters to specify timeouts.
54312 (pmap_getport): Use __libc_rpc_getport.
54313 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54314 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54315 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54316
543172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54318
54319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54320 fanotify_mark.
54321
543222010-08-27 Roland McGrath <roland@redhat.com>
54323
54324 * sysdeps/i386/i686/multiarch/Makefile
54325 (CFLAGS-varshift.c): New variable.
54326
543272010-08-27 Ulrich Drepper <drepper@redhat.com>
54328
54329 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54330 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54331
54332 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54333
54334 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54335
543362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54337
54338 * sysdeps/x86_64/strlen.S: Unroll the loop.
54339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54340 strlen-sse2 strlen-sse2-bsf.
54341 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54342 __strlen_no_bsf if bit_Slow_BSF is set.
54343 (__strlen_sse42): Removed.
54344 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54345 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54346
543472010-08-25 Roland McGrath <roland@redhat.com>
54348
54349 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54350 * sysdeps/x86_64/multiarch/varshift.c: New file.
54351 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54352 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54353 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54354 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54355
543562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54357
54358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54359 strlen-sse2 strlen-sse2-bsf.
54360 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54361 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54362 (__strlen_sse2): Removed.
54363 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54364 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54366 bit_Slow_BSF for Atom.
54367 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54368 (index_Slow_BSF): Define.
54369 (HAS_SLOW_BSF): Define.
54370
543712010-08-25 Ulrich Drepper <drepper@redhat.com>
54372
54373 [BZ #10851]
54374 * resolv/res_init.c (__res_vinit): When no server address at all
54375 is given default to loopback.
54376
543772010-08-24 Roland McGrath <roland@redhat.com>
54378
54379 * configure.in: Remove config-name.h generation.
54380 * configure: Regenerated.
54381 * config-name.in: File removed.
54382 * scripts/config-uname.sh: New file.
54383 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54384 ($(objdir)config-name.h): New target.
54385
54386 * sunrpc/rpc_parse.h: Avoid nested comment.
54387
543882010-08-24 Richard Henderson <rth@redhat.com>
54389 Ulrich Drepper <drepper@redhat.com>
54390 H.J. Lu <hongjiu.lu@intel.com>
54391
54392 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54394 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54395 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54396 _mm_alignr_epi8 with _mm_loadu_si128.
54397 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54398 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54399 (__m128i_shift_right): Removed.
54400 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54401 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54402 * sysdeps/x86_64/multiarch/varshift.h: New file.
54403 * sysdeps/x86_64/multiarch/varshift.S: New file.
54404
544052010-08-21 Mike Frysinger <vapier@gentoo.org>
54406
54407 * configure.in: Move assembler checks to before sysdep dir checking.
54408
544092010-08-20 Petr Baudis <pasky@suse.cz>
54410
54411 * LICENSES: Sync the sunrpc license.
54412
544132010-08-19 Ulrich Drepper <drepper@redhat.com>
54414
54415 * sunrpc/auth_des.c: Update copyright notice once again.
54416 * sunrpc/auth_none.c: Likewise.
54417 * sunrpc/auth_unix.c: Likewise.
54418 * sunrpc/authdes_prot.c: Likewise.
54419 * sunrpc/authuxprot.c: Likewise.
54420 * sunrpc/bindrsvprt.c: Likewise.
54421 * sunrpc/clnt_gen.c: Likewise.
54422 * sunrpc/clnt_perr.c: Likewise.
54423 * sunrpc/clnt_raw.c: Likewise.
54424 * sunrpc/clnt_simp.c: Likewise.
54425 * sunrpc/clnt_tcp.c: Likewise.
54426 * sunrpc/clnt_udp.c: Likewise.
54427 * sunrpc/clnt_unix.c: Likewise.
54428 * sunrpc/des_crypt.c: Likewise.
54429 * sunrpc/des_soft.c: Likewise.
54430 * sunrpc/get_myaddr.c: Likewise.
54431 * sunrpc/getrpcport.c: Likewise.
54432 * sunrpc/key_call.c: Likewise.
54433 * sunrpc/key_prot.c: Likewise.
54434 * sunrpc/openchild.c: Likewise.
54435 * sunrpc/pm_getmaps.c: Likewise.
54436 * sunrpc/pm_getport.c: Likewise.
54437 * sunrpc/pmap_clnt.c: Likewise.
54438 * sunrpc/pmap_prot.c: Likewise.
54439 * sunrpc/pmap_prot2.c: Likewise.
54440 * sunrpc/pmap_rmt.c: Likewise.
54441 * sunrpc/rpc/auth.h: Likewise.
54442 * sunrpc/rpc/auth_unix.h: Likewise.
54443 * sunrpc/rpc/clnt.h: Likewise.
54444 * sunrpc/rpc/des_crypt.h: Likewise.
54445 * sunrpc/rpc/key_prot.h: Likewise.
54446 * sunrpc/rpc/netdb.h: Likewise.
54447 * sunrpc/rpc/pmap_clnt.h: Likewise.
54448 * sunrpc/rpc/pmap_prot.h: Likewise.
54449 * sunrpc/rpc/pmap_rmt.h: Likewise.
54450 * sunrpc/rpc/rpc.h: Likewise.
54451 * sunrpc/rpc/rpc_des.h: Likewise.
54452 * sunrpc/rpc/rpc_msg.h: Likewise.
54453 * sunrpc/rpc/svc.h: Likewise.
54454 * sunrpc/rpc/svc_auth.h: Likewise.
54455 * sunrpc/rpc/types.h: Likewise.
54456 * sunrpc/rpc/xdr.h: Likewise.
54457 * sunrpc/rpc_clntout.c: Likewise.
54458 * sunrpc/rpc_cmsg.c: Likewise.
54459 * sunrpc/rpc_common.c: Likewise.
54460 * sunrpc/rpc_cout.c: Likewise.
54461 * sunrpc/rpc_dtable.c: Likewise.
54462 * sunrpc/rpc_hout.c: Likewise.
54463 * sunrpc/rpc_main.c: Likewise.
54464 * sunrpc/rpc_parse.c: Likewise.
54465 * sunrpc/rpc_parse.h: Likewise.
54466 * sunrpc/rpc_prot.c: Likewise.
54467 * sunrpc/rpc_sample.c: Likewise.
54468 * sunrpc/rpc_scan.c: Likewise.
54469 * sunrpc/rpc_scan.h: Likewise.
54470 * sunrpc/rpc_svcout.c: Likewise.
54471 * sunrpc/rpc_tblout.c: Likewise.
54472 * sunrpc/rpc_util.c: Likewise.
54473 * sunrpc/rpc_util.h: Likewise.
54474 * sunrpc/rpcinfo.c: Likewise.
54475 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54476 * sunrpc/rpcsvc/key_prot.x: Likewise.
54477 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54478 * sunrpc/rpcsvc/mount.x: Likewise.
54479 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54480 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54481 * sunrpc/rpcsvc/rex.x: Likewise.
54482 * sunrpc/rpcsvc/rstat.x: Likewise.
54483 * sunrpc/rpcsvc/rusers.x: Likewise.
54484 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54485 * sunrpc/rpcsvc/spray.x: Likewise.
54486 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54487 * sunrpc/rtime.c: Likewise.
54488 * sunrpc/svc.c: Likewise.
54489 * sunrpc/svc_auth.c: Likewise.
54490 * sunrpc/svc_authux.c: Likewise.
54491 * sunrpc/svc_raw.c: Likewise.
54492 * sunrpc/svc_run.c: Likewise.
54493 * sunrpc/svc_simple.c: Likewise.
54494 * sunrpc/svc_tcp.c: Likewise.
54495 * sunrpc/svc_udp.c: Likewise.
54496 * sunrpc/svc_unix.c: Likewise.
54497 * sunrpc/svcauth_des.c: Likewise.
54498 * sunrpc/xcrypt.c: Likewise.
54499 * sunrpc/xdr.c: Likewise.
54500 * sunrpc/xdr_array.c: Likewise.
54501 * sunrpc/xdr_float.c: Likewise.
54502 * sunrpc/xdr_mem.c: Likewise.
54503 * sunrpc/xdr_rec.c: Likewise.
54504 * sunrpc/xdr_ref.c: Likewise.
54505 * sunrpc/xdr_sizeof.c: Likewise.
54506 * sunrpc/xdr_stdio.c: Likewise.
54507
54508 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54509 handling.
54510
545112010-08-19 Andreas Schwab <schwab@redhat.com>
54512
54513 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54514
545152010-08-19 Luis Machado <luisgpm@br.ibm.com>
54516
54517 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54518 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54519 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54520 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54521 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54522 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54523 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54524 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54525 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54526 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54527 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54528 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54529 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54530 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54531
545322010-07-26 Anton Blanchard <anton@samba.org>
54533
54534 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54535 * malloc/arena.c (heap_trim): Likewise.
54536
545372010-08-16 Ulrich Drepper <drepper@redhat.com>
54538
54539 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54540 here. Not...
54541 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54542 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54543
545442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54545
54546 * sysdeps/i386/elf/Makefile: New file.
54547
545482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54549
54550 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54551 from fanotify_init.
54552 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54553 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54554
545552010-08-15 Ulrich Drepper <drepper@redhat.com>
54556
54557 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54558 of strncasecmp_l.
54559 * sysdeps/multiarch/strcmp.S: Likewise.
54560
545612010-08-14 Ulrich Drepper <drepper@redhat.com>
54562
54563 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54564 strncase_l-nonascii.
54565 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54566 Add strncase_l-ssse3.
54567 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54568 * sysdeps/x86_64/strcmp.S: Likewise.
54569 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54570 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54571 * sysdeps/x86_64/strncase.S: New file.
54572 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54573 * sysdeps/x86_64/strncase_l.S: New file.
54574 * string/Makefile (strop-tests): Add strncasecmp.
54575 * string/test-strncasecmp.c: New file.
54576
54577 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54578 warning.
54579
54580 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54581 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54582
545832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54584
54585 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54586
545872010-08-12 Ulrich Drepper <drepper@redhat.com>
54588
54589 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54590 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54591 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54592
545932010-05-01 Alan Modra <amodra@gmail.com>
54594
54595 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54596 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54597 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54598 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54599 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54600 tidying. Don't tail-call __sigjmp_save for static lib.
54601 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54602 save location.
54603 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54604 (CALL_MCOUNT): Add eh info, and nop after bl.
54605 (TAIL_CALL_SYSCALL_ERROR): New macro.
54606 (PSEUDO_RET): Use it.
54607 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54608 Correct save location of integer regs and cr.
54609 (_dl_profile_resolve): Correct cr save location. Delete nops
54610 after bl when SHARED. Reduce cfi size a little by better
54611 placement of cfi directives.
54612 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54613 make a stack frame. Instead use parm save area as a temp.
54614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54615 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54617 Don't make a stack frame for parent, use parm save area.
54618 Increase child stack frame to 112 bytes. Don't save unused reg,
54619 and adjust reg usage. Set up cfi on error recovery and
54620 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54622 (__makecontext): Add dummy nop after jump to exit.
54623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54624 Use correct parm save area and cr save, reduce stack frame.
54625 Correct cfi for possible PSEUDO_RET frame setup.
54626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54627 Branch to local label emitted by PSEUDO_RET rather than
54628 __syscall_error.
54629
546302010-08-12 Andreas Schwab <schwab@redhat.com>
54631
54632 [BZ #11904]
54633 * locale/programs/locale.c (print_assignment): New function.
54634 (show_locale_vars): Use it.
54635
546362010-08-11 Ulrich Drepper <drepper@redhat.com>
54637
54638 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54639 field.
54640 (struct statfs64): Likewise.
54641 (_STATFS_F_FLAGS): Define.
54642 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54643 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54644 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54645 (ST_VALID): Define locally.
54646 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54647 __statvfs_getflags, use the provided value.
54648 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54649 __ASSUME_STATFS_F_FLAGS.
54650
54651 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54652
54653 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54654 Add sys/fanotify.h.
54655 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54656 fanotify_mask for GLIBC_2.13.
54657 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54658 fanotify_init and fanotify_mark.
54659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54660 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54661
54662 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54663 Add prlimit.
54664 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54665 prlimit64 for GLIBC_2.13.
54666 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54667 prlimit64.
54668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54669 syscall.
54670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54671 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54672 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54673 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54674 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54675 add prlimit alias.
54676 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54677
54678 [BZ #11903]
54679 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54680 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54681
54682 * nss/Makefile: Add rules to build and run tst-nss-test1.
54683 * shlib-versions: Add entry for libnss_test1.
54684 * nss/nss_test1.c: New file.
54685 * nss/tst-nss-test1.c: New file.
54686
54687 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54688 (__nss_configure_lookup): Set appropriate entry in
54689 __nss_configure_lookup to true.
54690 * nss/nsswitch.h: Define enum with indeces of databases in
54691 databases and __nss_database_custom arrays. Declare
54692 __nss_database_custom.
54693 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54694 to avoid using nscd when custom rules are installed.
54695 * nss/getXXbyYY_r.c: Likewise.
54696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54697
54698 * nss/nss_files/files-parse.c: Whitespace fixes.
54699
547002010-08-09 Ulrich Drepper <drepper@redhat.com>
54701
54702 [BZ #11883]
54703 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54704 * posix/fnmatch_loop.c: Likewise.
54705
547062010-07-17 Andi Kleen <ak@linux.intel.com>
54707
54708 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54709 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54710 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54711 * Versions.def [GLIBC_2.13]: Add.
54712
547132010-08-06 Ulrich Drepper <drepper@redhat.com>
54714
54715 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54716 Also fail if tpwd after pwuid call is NULL.
54717
547182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54719
54720 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54721 when converting to ms.
54722
547232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54724
54725 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54726 EOPNOTSUPP errors with ENOTTY.
54727 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54728 EOPNOTSUPP errors with ENOTTY.
54729
547302010-07-31 Ulrich Drepper <drepper@redhat.com>
54731
54732 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54733 Add strcasecmp_l-ssse3.
54734 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54735 strcasecmp.
54736 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54737 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54738 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54739
547402010-07-30 Ulrich Drepper <drepper@redhat.com>
54741
54742 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54743
54744 * string/Makefile (strop-tests): Add strcasecmp.
54745 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54746 strcasecmp_l-nonascii.
54747 (gen-as-const-headers): Add locale-defines.sym.
54748 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54749 * sysdeps/x86_64/strcasecmp.S: New file.
54750 * sysdeps/x86_64/strcasecmp_l.S: New file.
54751 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54752 * sysdeps/x86_64/locale-defines.sym: New file.
54753 * string/test-strcasecmp.c: New file.
54754
54755 * string/test-strcasestr.c: Test both ends of the range of characters.
54756 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54757
547582010-07-29 Roland McGrath <roland@redhat.com>
54759
54760 [BZ #11856]
54761 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54762
547632010-07-27 Ulrich Drepper <drepper@redhat.com>
54764
54765 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54766 for ld.so.
54767
547682010-07-27 Andreas Schwab <schwab@redhat.com>
54769
54770 * manual/memory.texi (Malloc Tunable Parameters): Document
54771 M_PERTURB.
54772
547732010-07-26 Roland McGrath <roland@redhat.com>
54774
54775 [BZ #11840]
54776 * configure.in (-fgnu89-inline check): Set and substitute
54777 gnu89_inline, not libc_cv_gnu89_inline.
54778 * configure: Regenerated.
54779 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54780
547812010-07-26 Ulrich Drepper <drepper@redhat.com>
54782
54783 * string/test-strnlen.c: New file.
54784 * string/Makefile (strop-tests): Add strnlen.
54785 * string/tester.c (test_strnlen): Add a few more test cases.
54786 * string/tst-strlen.c: Better error reporting.
54787
54788 * sysdeps/x86_64/strnlen.S: New file.
54789
547902010-07-24 Ulrich Drepper <drepper@redhat.com>
54791
54792 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54793 lower-latency instructions.
54794
547952010-07-23 Ulrich Drepper <drepper@redhat.com>
54796
54797 * string/test-strcasestr.c: New file.
54798 * string/test-strstr.c: New file.
54799 * string/Makefile (strop-tests): Add strstr and strcasestr.
54800 * string/str-two-way.h: Don't undefine MAX.
54801 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54802
548032010-07-21 Andreas Schwab <schwab@redhat.com>
54804
54805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54806 strcasestr-nonascii.
54807 (CFLAGS-strcasestr-nonascii.c): Define.
54808 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54809 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54810 Remove unused attribute.
54811
548122010-07-20 Roland McGrath <roland@redhat.com>
54813
54814 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54815 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54816 ld.so.cache was broken. With it, there is no way to disable dsocaps
54817 like LD_HWCAP_MASK can disable hwcaps.
54818
548192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54820
54821 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54822
548232010-07-16 Ulrich Drepper <drepper@redhat.com>
54824
54825 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54826 call in strcasestr.
54827 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54828 __strcasestr_sse42_nonascii.
54829 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54830 strcasestr-nonascii.c.
54831 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54832
548332010-06-15 Luis Machado <luisgpm@br.ibm.com>
54834
54835 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54836 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54837 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54838 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54839
548402010-07-09 Ulrich Drepper <drepper@redhat.com>
54841
54842 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54843 fcntl.
54844
548452010-07-06 Andreas Schwab <schwab@redhat.com>
54846
54847 [BZ #11577]
54848 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54849 dl_signal_cerror.
54850
548512010-07-06 Ulrich Drepper <drepper@redhat.com>
54852
54853 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54854 _PC_PIPE_BUF using F_GETPIPE_SZ.
54855
548562010-07-05 Roland McGrath <roland@redhat.com>
54857
54858 * manual/arith.texi (Rounding Functions): Fix rint description
54859 implicit in round description.
54860
548612010-07-02 Ulrich Drepper <drepper@redhat.com>
54862
54863 * elf/Makefile: Fix linking for a few tests to make recent linker
54864 happy.
54865
548662010-06-30 Andreas Schwab <schwab@redhat.com>
54867
54868 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54869 $(common-objpfx)libc_nonshared.a.
54870
548712010-06-21 Luis Machado <luisgpm@br.ibm.com>
54872
54873 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54874 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54875 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54876 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54877 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54878 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54879 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54880 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54895 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54896 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54897 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54898 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54899 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54900 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54901 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54902 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54903 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54904 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54905 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54906 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54921
549222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54923
54924 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54925 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54926 * string/memmove.c (memmove): Renamed to ...
54927 (MEMMOVE): ...this. Default to memmove.
54928 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54929 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54930 (END_CHK): Define.
54931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54932 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54933 mempcpy-ssse3-back memmove-ssse3-back.
54934 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54935 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54937 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54938 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54939 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54940 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54941 * sysdeps/x86_64/multiarch/memmove.c: New file.
54942 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54943 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54944 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54945 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54946 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54948 Define.
54949 (index_Fast_Copy_Backward): Define.
54950 (HAS_ARCH_FEATURE): Define.
54951 (HAS_FAST_REP_STRING): Define.
54952 (HAS_FAST_COPY_BACKWARD): Define.
54953
549542010-06-21 Andreas Schwab <schwab@redhat.com>
54955
54956 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54957 Restore proper fallback handling.
54958
549592010-06-19 Ulrich Drepper <drepper@redhat.com>
54960
54961 [BZ #11701]
54962 * posix/group_member.c (__group_member): Correct checking loop.
54963
54964 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54965 OOM in getpwuid_r correctly. Return error number when the caller
54966 should return, otherwise -1.
54967 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54968 call returning > 0 value.
54969 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54970
549712010-06-07 Andreas Schwab <schwab@redhat.com>
54972
54973 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54974 libc_nonshared.a from targets in modules-names.
54975
549762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54977
54978 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54979 requires it.
54980
549812010-06-10 Luis Machado <luisgpm@br.ibm.com>
54982
54983 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54984 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54985 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54986 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54987
549882010-06-02 Andreas Schwab <schwab@redhat.com>
54989
54990 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54991
549922010-06-14 Ulrich Drepper <drepper@redhat.com>
54993
54994 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54995 and F_GETPIPE_SZ.
54996 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54997 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55000 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55001 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55002
550032010-06-14 Roland McGrath <roland@redhat.com>
55004
55005 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55006
550072010-06-07 Jakub Jelinek <jakub@redhat.com>
55008
55009 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55010 __REDIRECT followed by __THROW.
55011 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55012 * posix/getopt.h (getopt): Likewise.
55013
550142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55015
55016 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55017 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55018 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55019 in AT_FLAGS.
55020 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55021 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55022
550232010-05-28 Luis Machado <luisgpm@br.ibm.com>
55024
55025 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55026
550272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55028
55029 [BZ #11640]
55030 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55031 Properly check family and model.
55032
550332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55034
55035 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55036
550372010-05-24 Luis Machado <luisgpm@br.ibm.com>
55038
55039 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55040
550412010-05-21 Ulrich Drepper <drepper@redhat.com>
55042
55043 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55044 symbol reference.
55045
550462010-05-19 Andreas Schwab <schwab@redhat.com>
55047
55048 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55049 symbol reference.
55050
550512010-05-21 Andreas Schwab <schwab@redhat.com>
55052
55053 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55054 and internal_recvmmsg.
55055 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55056 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55057 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55058 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55059
55060 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55061 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55062 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55063
550642010-05-20 Andreas Schwab <schwab@redhat.com>
55065
55066 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55067
550682010-05-17 Luis Machado <luisgpm@br.ibm.com>
55069
55070 POWER7 optimizations.
55071 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55072 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55073
550742010-05-19 Ulrich Drepper <drepper@redhat.com>
55075
55076 * version.h: Update for 2.13 development version.
55077
550782010-05-12 Andrew Stubbs <ams@codesourcery.com>
55079
55080 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55081 exceptions. Return 0.
55082
550832010-05-07 Roland McGrath <roland@redhat.com>
55084
55085 * elf/ldconfig.c (main): Add a const.
55086
550872010-05-06 Ulrich Drepper <drepper@redhat.com>
55088
55089 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55090 (args_options): Add no-idn option.
55091 (ahosts_keys_int): Add idn_flags to ai_flags.
55092 (parse_option): Handle 'i' option to clear idn_flags.
55093
55094 * malloc/malloc.c (_int_free): Possible race in the most recently
55095 added check. Only act on the data if no current modification
55096 happened.
55097
55098See ChangeLog.17 for earlier changes.