]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
malloc: Check for integer overflow in valloc.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12013-09-11 Will Newton <will.newton@linaro.org>
2
3 [BZ #15856]
4 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5 does not overflow.
6
72013-09-11 Will Newton <will.newton@linaro.org>
8
9 [BZ #15855]
10 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11 does not overflow.
12
132013-09-10 Ondřej Bílka <neleai@seznam.cz>
14
15 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20
212013-09-10 Allan McRae <allan@archlinux.org>
22
23 [BZ #15748]
24 * manual/arith.texi (Parsing of Floats): Clarify
25 cross-reference.
26
27 [BZ #15849]
28 * manual/install.texi (Running make install): Mention
29 --enable-pt-chown.
30 * INSTALL: Regenerated.
31
322013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
33
34 * csu/init-first.c (_init): Remove the !SHARED condition around
35 FPU control word initialization.
36 * elf/dl-support.c (_dl_fpu_control): New variable.
37 (_dl_aux_init) <AT_FPUCW>: Initialize it.
38 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
39 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40 * math/test-fpucw-static.c: New file.
41 * math/test-fpucw-ieee.c: New file.
42 * math/test-fpucw-ieee-static.c: New file.
43 * math/Makefile (tests): Add `test-fpucw-ieee' and
44 `$(tests-static)'.
45 (tests-static): New variable.
46 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47 dependency to...
48 [($(build-shared),yes)]
49 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50 ... this.
51 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52 New dependency.
53
542013-09-09 Allan McRae <allan@archlinux.org>
55
56 [BZ #15939]
57 * manual/string.texi (Collation Functions): Fix typo in
58 strcoll example.
59 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60
61 [BZ #15893]
62 * stdlib/isomac.c (get_null_defines): Fix memory leak.
63
64 [BZ #15892]
65 * libio/memstream.c (open_memstream): Fix memory leak.
66 * libio/wmemstream.c (open_wmemstream): Likewise.
67
68 [BZ #15895]
69 * nscd/netgroupcache.c: Fix nesting of ifdefs.
70
712013-09-09 Will Newton <will.newton@linaro.org>
72
73 * malloc/Makefile: Add tst-realloc to tests.
74 * malloc/tst-realloc.c: New file.
75
762013-09-09 Allan McRae <allan@archlinux.org>
77
78 [BZ #15844]
79 * COPYING: Update from GNU website to fix FSF address.
80 * COPYING.LIB: Likewise.
81
822013-09-06 David S. Miller <davem@davemloft.net>
83
84 * po/zh_TW.po: Update Chinese (traditional) translation from
85 translation project.
86
872013-09-06 Richard Sandiford <richard@codesourcery.com>
88 Joseph Myers <joseph@codesourcery.com>
89
90 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
91 "localeinfo.h".
92 (obstack_chunk_alloc): New macro.
93 (obstack_chunk_free): Likewise.
94 (record_offset): New function.
95 (init_locale_data): Likewise.
96 (align_locale_data): Likewise.
97 (add_locale_empty): Likewise.
98 (add_locale_raw_data): Likewise.
99 (add_locale_raw_obstack): Likewise.
100 (add_locale_string): Likewise.
101 (add_locale_wstring): Likewise.
102 (add_locale_uint32): Likewise.
103 (add_locale_uint32_array): Likewise.
104 (add_locale_char): Likewise.
105 (start_locale_structure): Likewise.
106 (end_locale_structure): Likewise.
107 (start_locale_prelude): Likewise.
108 (end_locale_prelude): Likewise.
109 (write_locale_data): Take locale_file structure rather than an
110 iovec.
111 * locale/programs/locfile.h: Include "obstack.h".
112 (struct locale_file): Change to store locale file contents instead
113 of header.
114 (init_locale_data): New prototype.
115 (align_locale_data): Likewise.
116 (add_locale_empty): Likewise.
117 (add_locale_raw_data): Likewise.
118 (add_locale_raw_obstack): Likewise.
119 (add_locale_string): Likewise.
120 (add_locale_wstring): Likewise.
121 (add_locale_uint32): Likewise.
122 (add_locale_uint32_array): Likewise.
123 (add_locale_char): Likewise.
124 (start_locale_structure): Likewise.
125 (end_locale_structure): Likewise.
126 (start_locale_prelude): Likewise.
127 (end_locale_prelude): Likewise.
128 (write_locale_data): Update prototype.
129 * locale/programs/3level.h (struct TABLE): Remove result field.
130 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
131 Use new locale_file interface.
132 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
133 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
134 * locale/programs/ld-address.c (address_output): Use new
135 locale_file interface.
136 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
137 NO_ADD_LOCALE.
138 (collate_finish): Don't call collseq_table_finalize.
139 (collate_output): Use new locale_file interface.
140 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
141 in file.
142 (NO_FINALIZE): Change to NO_ADD_LOCALE.
143 (TABLE): Move defines earlier in file.
144 (ELEMENT): Likewise.
145 (DEFAULT): Likewise.
146 (wctrans_table_add): Move macro and inline function earlier in
147 file.
148 (struct wctype_table): Move type earlier in file.
149 (add_locale_wctype_table): New static prototype.
150 (struct locale_ctype_t): Use logical types instead of struct iovec
151 pointers for members.
152 (ctype_output): Use new locale_file interface.
153 (wctype_table_finalize): Change to add_locale_wctype_table. Use
154 new locale_file interface.
155 (allocate_arrays): Update for use of new locale_file interface.
156 * locale/programs/ld-identification.c (identification_output): Use
157 new locale_file interface.
158 * locale/programs/ld-measurement.c (measurement_output): Likewise.
159 * locale/programs/ld-messages.c (messages_output): Likewise.
160 * locale/programs/ld-monetary.c (monetary_output): Likewise.
161 * locale/programs/ld-name.c (name_output): Likewise.
162 * locale/programs/ld-numeric.c (numeric_output): Likewise.
163 * locale/programs/ld-paper.c (paper_output): Likewise.
164 * locale/programs/ld-telephone.c (telephone_output): Likewise.
165 * locale/programs/ld-time.c (time_output): Likewise.
166
1672013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
168
169 * benchtests/Makefile: Add memrchr benchmark.
170 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
171 benchmark as memrchr.
172 * benchtests/bench-memrchr-ifunc.c: New file.
173 * benchtests/bench-memrchr.c: New file.
174
1752013-09-06 Will Newton <will.newton@linaro.org>
176
177 * benchtests/Makefile (string-bench): Add memcpy.
178
1792013-09-05 Carlos O'Donell <carlos@redhat.com>
180 Cong Wang <amwang@redhat.com>
181
182 * sysdeps/unix/sysv/linux/bits/in.h
183 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
184 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
185 before __USE_KERNEL_IPV6_DEFS uses.
186 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
187 IPPROTO_BEETPH.
188 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
189 sockaddr_in6, or ipv6_mreq.
190
1912013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192
193 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
194 memory access for final bytes in some large inputs.
195 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
196
1972013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
198
199 * string/test-memrchr.c: New file.
200 * string/test-memrchr-ifunc.c: New file.
201 * string/Makefile: Add new memrchr testcase.
202
2032013-09-05 Mike Frysinger <vapier@gentoo.org>
204
205 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
206 fanotify_init returns EPERM.
207
2082013-09-04 Joseph Myers <joseph@codesourcery.com>
209
210 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
211 errors.
212 (top level): Treat second token from macro or constant entries for
213 allowed headers as allowed.
214 * include/complex.h: Condition internal declarations on
215 [!_ISOMAC].
216 * include/fenv.h: Condition include of <stdbool.h> and internal
217 declarations on [!_ISOMAC].
218
2192013-09-04 Chris Leonard <cjl@sugarlabs,.org>
220
221 [BZ #15923]
222 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
223
2242013-09-04 Joseph Myers <joseph@codesourcery.com>
225
226 * configure.in (--enable-versioning): Remove configure option.
227 (libc_cv_asm_symver_directive): Remove configure test.
228 (libc_cv_ld_version_script_option): Likewise.
229 (VERSIONING): Remove variable and AC_SUBST.
230 (DO_VERSIONING): Remove AC_DEFINE.
231 * configure: Regenerated.
232 * config.h.in (DO_VERSIONING): Remove macro.
233 * Makerules [$(versioning) = yes]: Change conditionals to
234 [$(build-shared) = yes].
235 * config.make.in (versioning): Remove variable.
236 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
237 [$(build-shared) = yes].
238 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
239 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
240 * elf/Makefile [$(versioning) = yes]: Change conditionals to
241 [$(build-shared) = yes].
242 * extra-lib.mk [$(versioning) = yes]: Likewise.
243 * hurd/Makefile [$(versioning) = yes]: Likewise.
244 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
245 [SHARED].
246 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
247 [SHARED].
248 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
249 [SHARED && !NO_HIDDEN].
250 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
251 [SHARED].
252 [SHARED && DO_VERSIONING]: Likewise..
253 * libio/Makefile [$(versioning) = yes]: Change conditionals to
254 [$(build-shared) = yes].
255 * manual/install.texi (--disable-versioning): Remove
256 documentation.
257 * INSTALL: Regenerated.
258 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
259 to [SHARED].
260 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
261 [$(build-shared) = yes].
262 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
263 * sysdeps/i386/i686/multiarch/strstr-c.c
264 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
265 [SHARED && !NO_HIDDEN].
266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
267 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
268 * sysdeps/powerpc/powerpc32/dl-machine.c
269 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
270 * sysdeps/powerpc/powerpc32/sysdep.h
271 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
272 to [SHARED && PIC && !NO_HIDDEN].
273 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
274 conditional to [SHARED].
275
2762013-09-04 Will Newton <will.newton@linaro.org>
277
278 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
279 * benchtests/bench-string.h: Include bench-timing.h instead
280 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
281 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
282 call to HP_TIMING_DIFF_INIT.
283 * benchtests/bench-memccpy.c: Use bench-timing.h macros
284 instead of hp-timing.h macros.
285 * benchtests/bench-memchr.c: Likewise.
286 * benchtests/bench-memcmp.c: Likewise.
287 * benchtests/bench-memcpy.c: Likewise.
288 * benchtests/bench-memmem.c: Likewise.
289 * benchtests/bench-memmove.c: Likewise.
290 * benchtests/bench-memset.c: Likewise.
291 * benchtests/bench-rawmemchr.c: Likewise.
292 * benchtests/bench-strcasecmp.c: Likewise.
293 * benchtests/bench-strcasestr.c: Likewise.
294 * benchtests/bench-strcat.c: Likewise.
295 * benchtests/bench-strchr.c: Likewise.
296 * benchtests/bench-strcmp.c: Likewise.
297 * benchtests/bench-strcpy.c: Likewise.
298 * benchtests/bench-strcpy_chk.c: Likewise.
299 * benchtests/bench-strlen.c: Likewise.
300 * benchtests/bench-strncasecmp.c: Likewise.
301 * benchtests/bench-strncat.c: Likewise.
302 * benchtests/bench-strncmp.c: Likewise.
303 * benchtests/bench-strncpy.c: Likewise.
304 * benchtests/bench-strnlen.c: Likewise.
305 * benchtests/bench-strpbrk.c: Likewise.
306 * benchtests/bench-strrchr.c: Likewise.
307 * benchtests/bench-strspn.c: Likewise.
308 * benchtests/bench-strstr.c: Likewise.
309
3102013-09-04 Will Newton <will.newton@linaro.org>
311
312 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
313
3142013-09-03 Joseph Myers <joseph@codesourcery.com>
315
316 [BZ #15427]
317 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
318 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
319 * math/libm-test.inc (lgamma_test_data): Add more tests.
320 * sysdeps/i386/fpu/libm-test-ulps: Update.
321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
322
3232013-09-03 Ondřej Bílka <neleai@seznam.cz>
324
325 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
327 Add ifunc.
328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
329 Add strcmp-sse2-unaligned
330 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
331
3322013-09-02 Mike Frysinger <vapier@gentoo.org>
333
334 * Versions.def (libc): Add GLIBC_2.19.
335
3362013-09-02 Mike Frysinger <vapier@gentoo.org>
337
338 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
339 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
340
3412013-09-02 Joseph Myers <joseph@codesourcery.com>
342
343 [BZ #14155]
344 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
345 intermediate calculations in recurrence.
346 (__ieee754_ynf): Likewise.
347 * math/libm-test.inc (jn_test_data): Do not allow spurious
348 underflow exception. Add more tests.
349 (yn_test_data): Add more tests.
350 * sysdeps/i386/fpu/libm-test-ulps: Update.
351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
352
3532013-09-02 Ondřej Bílka <neleai@seznam.cz>
354
355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
356
3572013-08-30 Ondřej Bílka <neleai@seznam.cz>
358
359 * csu/init-first.c: Fix then/than typos.
360 * locale/programs/ld-collate.c: Likewise.
361 * locale/programs/linereader.h: Likewise.
362 * manual/charset.texi: Likewise.
363 * manual/filesys.texi: Likewise.
364 * manual/stdio.texi: Likewise.
365 * manual/string.texi: Likewise.
366 * stdlib/fmtmsg.c: Likewise.
367 * sysdeps/i386/stpncpy.S: Likewise.
368 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
369 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
370 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
371 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
372
3732013-08-30 Ondřej Bílka <neleai@seznam.cz>
374
375 * elf/dl-open.c: Fix typos.
376 * iconvdata/gbbig5.c: Likewise.
377 * iconvdata/iso-2022-jp.c: Likewise.
378 * iconv/gconv_int.h: Likewise.
379 * iconv/loop.c: Likewise.
380 * nis/rpcsvc/nis.h: Likewise.
381 * resolv/ns_name.c: Likewise.
382 * stdio-common/vfscanf.c: Likewise.
383 * streams/stropts.h: Likewise.
384 * sunrpc/rpc_thread.c: Likewise.
385 * sysdeps/i386/strpbrk.S: Likewise.
386 * sysdeps/ieee754/k_standard.c: Likewise.
387 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
389 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
390 * sysdeps/mach/hurd/profil.c: Likewise.
391 * sysdeps/s390/dl-procinfo.h: Likewise.
392 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
393 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
394 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
395 * sysdeps/x86_64/dl-trampoline.S: Likewise.
396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
397
3982013-08-30 Ondřej Bílka <neleai@seznam.cz>
399
400 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
401 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
402
4032013-08-29 Ondřej Bílka <neleai@seznam.cz>
404
405 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
406 aix specific files.
407 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
409 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
412 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
413 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
414 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
415
4162013-08-29 Thomas Schwinge <thomas@codesourcery.com>
417 Roland McGrath <roland@hack.frob.com>
418
419 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
420 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
421
4222013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
423
424 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
425 __executable_start symbol instead of _start.
426
4272013-08-29 Thomas Schwinge <thomas@codesourcery.com>
428
429 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
430 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
431 Move macros to...
432 * sysdeps/gnu/ldsodefs.h: ... this new file.
433
434 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
435 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
436 instead of ELFOSABI_LINUX.
437
438 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
439 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
440 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
441 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
442 Likewise.
443 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
444 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
445 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
446 Likewise.
447 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
448 (ibm_extended_long_double): Add ieee_nan member.
449 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
450 (do_test): New function.
451
452 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
453 TEST_TRUNC.
454 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
455 functions, renamed from truncdfsf_test, trunctfsf_test,
456 trunctfdf_test.
457 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
458 functions.
459 (do_test): Run all these.
460
4612013-08-29 Ondřej Bílka <neleai@seznam.cz>
462
463 * argp/argp-help.c: Fix typos.
464 * argp/argp-parse.c: Likewise.
465 * debug/backtracesyms.c: Likewise.
466 * elf/elf.h: Likewise.
467 * malloc/malloc.c: Likewise.
468 * nis/nis_print.c: Likewise.
469 * resolv/res_comp.c: Likewise.
470 * stdlib/stdlib.h: Likewise.
471 * sunrpc/clnt_tcp.c: Likewise.
472 * sunrpc/clnt_udp.c: Likewise.
473 * sunrpc/clnt_unix.c: Likewise.
474 * sysdeps/unix/bsd/ptsname.c: Likewise.
475 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
476 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
478 Likewise.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
480 Likewise.
481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
482 Likewise.
483 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
484
4852013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
486
487 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
489
4902013-08-27 Mike Frysinger <vapier@gentoo.org>
491
492 [BZ #15897]
493 * dlfcn/Makefile (tests): Add bug-dl-leaf.
494 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
495 ($(objpfx)bug-dl-leaf): New rule.
496 ($(objpfx)bug-dl-leaf.so): Likewise.
497 ($(objpfx)bug-dl-leaf.out): Likewise.
498 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
499 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
500 * dlfcn/bug-dl-leaf.c: New test.
501 * dlfcn/bug-dl-leaf-lib.c: Likewise.
502 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
503 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
504 (dlclose): Likewise.
505 (dlmopen): Likewise.
506
5072013-08-27 Roland McGrath <roland@hack.frob.com>
508
509 * include/netdb.h [!_ISOMAC]:
510 Don't include <tls.h>.
511 (h_errno, __libc_h_errno): Move declaration and macros out of
512 [_LIBC_REENTRANT].
513
514 * include/resolv.h [_RESOLV_H_]:
515 Don't include <tls.h>.
516 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
517 * resolv/res_libc.c: Don't include <tls.h>.
518 (_res): Use __attribute__ ((nocommon)) in place of
519 __attribute__ ((section (".bss"))).
520
521 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
522 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
523
524 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
525
526 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
527 only under [SIOCGIFCONF && SIOCGIFNETMASK].
528
529 * resolv/res_mkquery.c: Include <sys/time.h>.
530
531 * inet/ifreq.c: Moved to ...
532 * sysdeps/unix/ifreq.c: ... here.
533 * inet/ifreq.c: New file, true stub version.
534
535 * socket/sa_len.c: New file.
536 * socket/Makefile (aux): Add it.
537 * sysdeps/unix/sysv/linux/Makefile
538 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
539 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
540 and #include <socket/sa_len.c>.
541 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
542 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
543
544 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
545 * bits/socket.h: ... here.
546
547 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
548 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
549 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
550
5512013-08-27 Andreas Schwab <schwab@suse.de>
552
553 [BZ #15736]
554 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
555 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
556 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
557 * string/test-strcasecmp.c (test_main): Run tests in several
558 locales.
559 * string/test-strncasecmp.c (test_main): Likewise.
560
561 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
562 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
563 to __strcasecmp_nonascii and __strncasecmp_nonascii.
564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
565 (__strncasecmp_ssse3) [PIC]: Likewise.
566
5672013-08-26 Roland McGrath <roland@hack.frob.com>
568
569 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
570
571 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
572 instead of explicitly declaring xdecrypt.
573 * nis/nss_nis/nis-publickey.c: Likewise.
574
5752013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
576
577 [BZ #15890]
578 * nscd/aicache.c: Include res_hconf.h.
579 (addhstaiX): Initialize res_hconf.
580
5812013-08-26 Andreas Schwab <schwab@suse.de>
582
583 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
584 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
585
5862013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
587
588 * nscd/aicache.c (addhstaiX): Fix indentation.
589
5902013-08-25 Mike Frysinger <vapier@gentoo.org>
591
592 * configure.ac: Quote $build_pt_chown test.
593 * configure: Regenerated.
594
5952013-08-23 Joseph Myers <joseph@codesourcery.com>
596
597 [BZ #15532]
598 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
599 * math/s_cexpf.c (__cexpf): Likewise.
600 * math/s_cexpl.c (__cexpl): Likewise.
601 * math/libm-test.inc (cexp_test_data): Correct expected return
602 value for NaN + i0. Add another test.
603
6042013-08-22 David S. Miller <davem@davemloft.net>
605
606 * po/ca.po: Update Catalan translation from translation project.
607 * po/uk.po: Add Ukrainian translations from translation project.
608
6092013-08-21 Joseph Myers <joseph@codesourcery.com>
610
611 [BZ #15797]
612 * math/s_fdim.c (__fdim): Check for infinite arguments if result
613 is infinite, not alongside NaN test.
614 * math/s_fdimf.c (__fdimf): Likewise.
615 * math/s_fdiml.c (__fdiml): Likewise.
616 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
617 errno is unchanged.
618
6192013-08-21 Ondřej Bílka <neleai@seznam.cz>
620
621 * argp/argp-help.c: Fix typos.
622 * crypt/speeds.c: Likewise.
623 * csu/check_fds.c: Likewise.
624 * elf/dl-load.c: Likewise.
625 * elf/dl-open.c: Likewise.
626 * elf/reldep3.c: Likewise.
627 * elf/reldep.c: Likewise.
628 * elf/sprof.c: Likewise.
629 * iconv/iconv_charmap.c: Likewise.
630 * iconv/skeleton.c: Likewise.
631 * iconv/strtab.c: Likewise.
632 * io/lockf64.c: Likewise.
633 * libio/libioP.h: Likewise.
634 * resolv/gai_notify.c: Likewise.
635 * resolv/ns_name.c: Likewise.
636 * resolv/ns_samedomain.c: Likewise.
637 * resolv/res_send.c: Likewise.
638 * stdlib/random.c: Likewise.
639 * sunrpc/rpc/xdr.h: Likewise.
640 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
641 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
642 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
643 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
644 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
646 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
647 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
648 * sysdeps/mach/hurd/check_fds.c: Likewise.
649 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
650 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
651 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
652 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
653 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
654 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
655 * sysdeps/pthread/aio_notify.c: Likewise.
656 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
657 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
658 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
659 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
660 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
661
6622013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
663
664 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
665 version if bit_Slow_SSE4_2 is set.
666 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
668
6692013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
670
671 [BZ #15867]
672 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
673 trampoline stack frame information.
674 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
675 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
676 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
677 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
678 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
679 * sysdeps/unix/sysv/linux/powerpc/init-first.c
680 (_libc_vdso_platform_setup): Initialize the signal trampolines.
681 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
682 sa_flags value.
683 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
684 interrupting a syscall and set with option SA_SIGINFO.
685
6862013-08-20 Joseph Myers <joseph@codesourcery.com>
687
688 [BZ #15531]
689 * math/s_cproj.c (__cproj): Only return an infinity if one part of
690 argument is infinite.
691 * math/s_cprojf.c (__cprojf): Likewise.
692 * math/s_cprojl.c (__cprojl): Likewise.
693 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
694 * math/libm-test.inc (cproj_test_data): Add more tests.
695
696 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
697
698 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
699 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
700 size. Use __ffs to determine corresponding shift.
701
7022013-08-20 Joseph Myers <joseph@codesourcery.com>
703 Roland McGrath <roland@hack.frob.com>
704
705 * Makefile (INSTALL): Remove trailing blank lines from output of
706 makeinfo.
707
7082013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
709
710 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
711 Align 32 bit compat elf_greg to 8 bytes.
712
7132013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
714
715 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
716
7172013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
718
719 * string/strcoll_l.c (coll_seq): New structure.
720 (get_next_seq_cached): New function.
721 (get_next_seq): New function.
722 (do_compare): New function.
723 (STRCOLL): Use GNU style definition. Simplify implementation
724 by using get_next_seq, get_next_seq_cached and do_compare.
725
7262013-08-16 Florian Weimer <fweimer@redhat.com>
727
728 [BZ #14699]
729 CVE-2013-4237
730 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
731 member.
732 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
733 member.
734 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
735 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
736 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
737 conditional.
738 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
739 GETDENTS_64BIT_ALIGNED.
740 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
741 * manual/filesys.texi (Reading/Closing Directory): Document
742 ENAMETOOLONG return value of readdir_r. Recommend readdir more
743 strongly.
744 * manual/conf.texi (Limits for Files): Add portability note to
745 NAME_MAX, PATH_MAX.
746 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
747
7482013-08-13 Andreas Schwab <schwab@suse.de>
749
750 [BZ #15749]
751 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
752 of fabs.
753 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
754 LDBL_MAX_EXP >= 16384]: Add tests for it.
755
7562013-08-12 David S. Miller <davem@davemloft.net>
757
758 * version.h (RELEASE): Set to "development".
759 (VERSION): Set to "2.18.90".
760 * NEWS: Add 2.19 section.
761
7622013-08-03 David S. Miller <davem@davemloft.net>
763
764 * po/ko.po: Update Korean translation from translation project.
765
7662013-08-01 David S. Miller <davem@davemloft.net>
767
768 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
769 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
770 Bilka.
771
7722013-07-30 David S. Miller <davem@davemloft.net>
773
774 * po/fr.po: Update French translation from translation project.
775
7762013-07-28 David S. Miller <davem@davemloft.net>
777
778 * po/cs.po: Update Czech translation from translation project.
779
780 * po/sv.po: Update Swedish translation from translation project.
781
7822013-07-27 David S. Miller <davem@davemloft.net>
783
784 * po/eo.po: Update Esperanto translation from translation project.
785
786 * po/vi.po: Update Vietnamese translation from translation project.
787
788 * po/de.po: Update German translation from translation project.
789
7902013-07-26 David S. Miller <davem@davemloft.net>
791
792 * po/bg.po: Update Bulgarian translation from translation project.
793
794 * po/nl.po: Update Dutch translation from translation project.
795 * po/pl.po: Update Polish translation from translation project.
796 * po/ru.po: Update Russian translation from translation project.
797
7982013-07-24 David S. Miller <davem@davemloft.net>
799
800 * po/libc.pot: Update.
801
8022013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
803
804 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
805 variable page size.
806 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
808 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
809
8102013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
811
812 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
813
8142013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
815 Andreas Schwab <schwab@suse.de>
816 Roland McGrath <roland@hack.frob.com>
817 Joseph Myers <joseph@codesourcery.com>
818 Carlos O'Donell <carlos@redhat.com>
819
820 [BZ #15755]
821 * config.h.in: Define HAVE_PT_CHOWN.
822 * config.make.in (build-pt-chown): New variable.
823 * configure.in (--enable-pt_chown): New configure option.
824 * configure: Regenerate.
825 * login/Makefile: Include Makeconfig. Build pt_chown only if
826 build-pt-chown is enabled.
827 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
828 pt_chown to fix pty ownership.
829 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
830 CLOSE_ALL_FDS.
831 * manual/install.texi (Configuring and compiling): Mention
832 --enable-pt_chown. Add @findex for grantpt.
833 * INSTALL: Regenerate.
834
8352013-07-20 David S. Miller <davem@davemloft.net>
836
837 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
838 difference between 32-bit and 64-bit.
839
8402013-07-15 Carlos O'Donell <carlos@redhat.com>
841
842 [BZ #15711]
843 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
844 Avoid system header dependency with -ffreestanding.
845 ($(objpfx)bits/syscall%d): Likewise.
846
8472013-07-13 David S. Miller <davem@davemloft.net>
848
849 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
850 underflows from atanl/atan2l due to bug 15319.
851 (casinh_test_data): Likewise.
852
8532013-07-07 David S. Miller <davem@davemloft.net>
854
855 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
856
8572013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
858
859 * sysdeps/i386/fpu/libm-test-ulps: Update.
860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861
8622013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
863
864 * configure.in (--enable-lock-elision): Fix message text.
865 * INSTALL: Regenerate.
866 * configure: Regenerate.
867
8682013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
869
870 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
871
8722013-07-03 Andreas Jaeger <aj@suse.de>
873
874 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
875 define.
876 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
877 (ptrace_peeksiginfo_args): Add.
878 (__ptrace_peeksiginfo_flags): Add.
879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
880 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
882
8832013-07-03 Allan McRae <allan@archlinux.org>
884
885 * sysdeps/i386/fpu/libm-test-ulps: Update.
886
8872013-07-02 David S. Miller <davem@davemloft.net>
888
889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
890
8912013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
892
893 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
894
8952013-07-02 Joseph Myers <joseph@codesourcery.com>
896
897 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
899
9002013-07-02 Andi Kleen <ak@linux.intel.com>
901
902 * config.h.in (ENABLE_LOCK_ELISION): Add.
903 * configure.in (--enable-lock-elision): Add option.
904 * manual/install.texi: Document --enable lock elision.
905 * configure: Regenerate
906 * INSTALL: Regenerate.
907
9082013-07-02 H.J. Lu <hongjiu.lu@intel.com>
909
910 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
911 SSE4.2 strcasecmp for libc.a.
912 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
913
9142013-07-02 Joseph Myers <joseph@codesourcery.com>
915
916 [BZ #13304]
917 * soft-fp/op-common.h (_FP_FMA): New macro.
918 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
919 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
920 (_FP_MUL_MEAT_1_imm): ... here.
921 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
922 (_FP_MUL_MEAT_1_wide): ... here.
923 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
924 (_FP_MUL_MEAT_1_hard): ... here.
925 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
926 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
927 (_FP_MUL_MEAT_2_wide): ... here.
928 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
929 (_FP_MUL_MEAT_2_wide_3mul): ... here.
930 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
931 (_FP_MUL_MEAT_2_gmp): ... here.
932 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
933 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
934 (_FP_MUL_MEAT_4_wide): ... here.
935 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
936 (_FP_MUL_MEAT_4_gmp): ... here.
937 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
938 (_FP_WFRACBITS_DW_S): Likewise.
939 (_FP_WFRACXBITS_DW_S): Likewise.
940 (_FP_HIGHBIT_DW_S): Likewise.
941 (FP_FMA_S): Likewise.
942 (_FP_FRAC_HIGH_DW_S): Likewise.
943 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
944 (_FP_WFRACBITS_DW_D): Likewise.
945 (_FP_WFRACXBITS_DW_D): Likewise.
946 (_FP_HIGHBIT_DW_D): Likewise.
947 (FP_FMA_D): Likewise.
948 (_FP_FRAC_HIGH_DW_D): Likewise.
949 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
950 (_FP_WFRACBITS_DW_E): Likewise.
951 (_FP_WFRACXBITS_DW_E): Likewise.
952 (_FP_HIGHBIT_DW_E): Likewise.
953 (FP_FMA_E): Likewise.
954 (_FP_FRAC_HIGH_DW_E): Likewise.
955 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
956 (_FP_WFRACBITS_DW_Q): Likewise.
957 (_FP_WFRACXBITS_DW_Q): Likewise.
958 (_FP_HIGHBIT_DW_Q): Likewise.
959 (FP_FMA_Q): Likewise.
960 (_FP_FRAC_HIGH_DW_Q): Likewise.
961 * soft-fp/fmasf4.c: New file.
962 * soft-fp/fmadf4.c: Likewise.
963 * soft-fp/fmatf4.c: Likewise.
964
9652013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
966
967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
968 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
969 Silvermont.
970 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
971 macro.
972 (index_Slow_SSE4_2): Likewise.
973 (index_Prefer_PMINUB_for_stringop): Likewise.
974 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
975 bit_Slow_SSE4_2 is set.
976 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
977 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
978
9792013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
980
981 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
982 rtld_global._dl_hwcap2.
983 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
984 POWER8.
985 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
986 POWER8 feature descriptions defined in _dl_hwcap2.
987 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
988 string handling for POWER8 feature bits.
989 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
990 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
991 _dl_powerpc_cap_flags.
992 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
993 * sysdeps/powerpc/rtld-global-offsets.sym
994 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
995 _dl_hwcap2 in the rtld_global_ro structure.
996
9972013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
998
999 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1000 hardware capabilities in support of AT_HWCAP2.
1001 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1002 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1003 GLRO(dl_hwcap2).
1004 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1005 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1006 explicitly the unknown a_type display mechanism is used.
1007 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1008 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1009 struct member.
1010 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1011 to macro prototype for AT_HWCAP2 support.
1012 * sysdeps/i386/dl-procinfo.h: Likewise.
1013 * sysdeps/s390/dl-procinfo.h: Likewise.
1014 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1015 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1016 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1017 return -1 for unknown a_type display fallback.
1018 * sysdeps/sparc/dl-procinfo.h: Likewise.
1019 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1020 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1021
10222013-06-28 Joseph Myers <joseph@codesourcery.com>
1023
1024 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1025 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1026
10272013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1028
1029 [BZ #12492]
1030 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1031 mprotect making __stack_prot writable.
1032
10332013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1034 Joseph Myers <joseph@codesourcery.com>
1035
1036 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1037 as being properly aligned.
1038
10392013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1040
1041 * dlfcn/modstatic5.c: New file.
1042 * dlfcn/tststatic5.c: New file.
1043 * dlfcn/Makefile (tests): Add tststatic5.
1044 (tests-static): Likewise.
1045 (modules-names): Add modstatic5.
1046 (tststatic5-ENV): New variable.
1047 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1048
1049 [BZ #15022]
1050 * elf/dl-support.c (_dl_main_map): New variable.
1051 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1052 (_dl_nns, _dl_load_adds): Set to 1.
1053 (_dl_initial_searchlist): Refer to _dl_main_map.
1054 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1055 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1056 call to _dl_get_origin.
1057 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1058 around call_map.
1059 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1060 * dlfcn/modstatic3.c: New file.
1061 * dlfcn/tststatic3.c: New file.
1062 * dlfcn/tststatic4.c: New file.
1063 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1064 (tests-static): Likewise.
1065 (modules-names): Add modstatic3.
1066 (tststatic3-ENV, tststatic4-ENV): New variables.
1067 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1068 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1069
10702013-06-26 Joseph Myers <joseph@codesourcery.com>
1071
1072 * configure.in (CC): Require GCC version 4.4 or later.
1073 * configure: Regenerated.
1074 * manual/install.texi (Tools for Compilation): Update GCC version
1075 requirement.
1076 * INSTALL: Regenerated.
1077
10782013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1079
1080 [BZ #15674]
1081 * string/test-memcmp.c (check2): New.
1082 (main): Call check2.
1083
1084 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1085
10862013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1087
1088 [BZ #15022]
1089 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1090 over to...
1091 (dl_open_worker) [!SHARED]: ... here.
1092
10932013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1094
1095 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1096
10972013-06-25 Richard Henderson <rth@redhat.com>
1098
1099 * locale/programs/locarchive.c: Include <libc-internal.h>
1100
11012013-06-25 Joseph Myers <joseph@codesourcery.com>
1102
1103 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1104 trailing whitespace removed.
1105
11062013-06-24 Mike Frysinger <vapier@gentoo.org>
1107
1108 [BZ #10283]
1109 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1110 * locale/programs/locarchive.c: Include libc-mmap.h.
1111 (prepare_address_space): Take two new outputs (the mmap base and len).
1112 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1113 values.
1114 (create_archive): Declare new mmap base and len values for
1115 prepare_address_space, and store the result in ah.
1116 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1117 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1118 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1119 Declare new mmap base and len values for
1120 prepare_address_space, and store the result in new_ah.
1121 (open_archive): Declare new mmap base and len values for
1122 prepare_address_space, and store the result in ah.
1123 (close_archive): If ah->mmap_base is not NULL, use that and
1124 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1125 * sysdeps/generic/libc-mmap.h: New file.
1126
11272013-06-24 Mike Frysinger <vapier@gentoo.org>
1128
1129 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1130 (ALIGN_UP): Likewise.
1131 (PTR_ALIGN_DOWN): Likewise.
1132 (PTR_ALIGN_UP): Likewise.
1133
11342013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1135
1136 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1137 entry mapped to PPC_PLATFORM_POWER8.
1138 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1139 POWER8.
1140 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1141 (_dl_string_platform): Add case for exporting platform position for
1142 POWER8.
1143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1144 search path to sysdeps/powerpc/powerpc32/power8 directory.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1146 search path to sysdeps/powerpc/powerpc64/power8 directory.
1147 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1148 power7 directories.
1149 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1150 power7 directories.
1151
11522013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1153
1154 * INSTALL: Regenerate.
1155
1156 * nscd/connections.c (nscd_init): Fix comment.
1157
11582013-06-22 Joseph Myers <joseph@codesourcery.com>
1159
1160 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1161
1162 [BZ #15667]
1163 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1164 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1165
11662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1167
1168 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1169 DL_DST_REQ_STATIC.
1170 (DL_DST_REQ_STATIC): Remove macro.
1171
11722013-06-21 Joseph Myers <joseph@codesourcery.com>
1173
1174 [BZ #7006]
1175 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1176 with a shift of 0 bits.
1177
11782013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1179
1180 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1181 $(tststatic-ENV).
1182
11832013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1184
1185 [BZ #15655]
1186 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1187
11882013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1189
1190 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1191 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1192 accepts -fno-tree-loop-distribute-patterns.
1193 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1194 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1195 recursive call.
1196 * string/memset.c (memset): Likewise.
1197 * string/test-memmove.c (simple_memmove): Disable loop transformation
1198 to library calls.
1199 * string/test-memset.c (simple_memset): Likewise.
1200 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1201 * benchtests/bench-memset.c (simple_memset): Likewise.
1202 * configure: Regenerated.
1203
12042013-06-20 Joseph Myers <joseph@codesourcery.com>
1205
1206 * math/test-misc.c (main): Ignore fesetround failure when failures
1207 of subsequent rounding tests would be ignored.
1208
1209 [BZ #15654]
1210 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1211 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1212 * math/fegetenv.c (__fegetenv): Return 0.
1213 * math/fegetexcept.c (fegetexcept): Return 0.
1214 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1215 FE_TONEAREST.
1216 * math/feholdexcpt.c (feholdexcept): Return 0.
1217 * math/fesetenv.c (__fesetenv): Return 0.
1218 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1219 argument FE_TONEAREST.
1220 * math/feupdateenv.c (__feupdateenv): Return 0.
1221 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1222
12232013-06-18 Roland McGrath <roland@hack.frob.com>
1224
1225 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1226 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1227 ($(objpfx)rtld-%.os rules): Use them.
1228
12292013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1230
1231 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1232 fields.
1233
12342013-06-17 Roland McGrath <roland@hack.frob.com>
1235
1236 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1237 length of target pattern, then descending length of dependency pattern.
1238 * configure.in (AWK): Require gawk 3.1.2 or newer.
1239 * manual/install.texi (Tools for Compilation): Say that we do.
1240 * configure: Regenerated.
1241
1242 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1243 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1244 * scripts/sysd-rules.awk: ... this new script.
1245 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1246 than a glob-style pattern.
1247
12482013-06-17 Joseph Myers <joseph@codesourcery.com>
1249
1250 * math/test-misc.c (main): Do not treat incorrectly rounded
1251 conversions as failure unless ROUNDING_TESTS passes.
1252
12532013-06-15 Joseph Myers <joseph@codesourcery.com>
1254
1255 [BZ #15631]
1256 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1257 restore exception state around main square root computation, then
1258 check for inexactness explicitly.
1259
1260 * math/libm-test.inc (fma_test_data): Add another test.
1261
12622013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1263
1264 * manual/threads.texi (Non-POSIX Extensions): New document
1265 node. Document pthread_getattr_default_np and
1266 pthread_setattr_default_np.
1267
1268 * Versions.def (libpthread): Add GLIBC_2.18.
1269 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1275 Likewise.
1276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1277 Likewise.
1278 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1279 Likewise.
1280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1281 Likewise.
1282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1283 Likewise.
1284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1285 Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1287 Likewise.
1288
12892013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1290
1291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1292 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1293
12942013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1295 H.J. Lu <hjl.tools@gmail.com>
1296
1297 [BZ #15627]
1298 * sysdeps/x86_64/rtld-memset.c: Remove file.
1299 * sysdeps/x86_64/rtld-memset.S: New file.
1300
13012013-06-14 Joseph Myers <joseph@codesourcery.com>
1302
1303 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1304 (test_in_one_mode): Take arguments for whether the rounding mode
1305 is supported for each floating-point type.
1306 (do_test): Pass new arguments to test_in_one_mode using
1307 ROUNDING_TESTS.
1308
13092013-06-13 Roland McGrath <roland@hack.frob.com>
1310
1311 * posix/tst-waitid.c (do_test): Distinguish different instances of
1312 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
1313 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1314 before entering the kernel for waitpid.
1315
13162013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1317
1318 * NEWS: Fix note on clock function precision. Text by Roland
1319 McGrath.
1320
13212013-06-13 Roland McGrath <roland@hack.frob.com>
1322
1323 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1324 it into place only when and if the sanity check passes.
1325
13262013-06-13 Joseph Myers <joseph@codesourcery.com>
1327
1328 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
1329 output for whether conversion result is exact. Take argument
1330 indicating whether type is IBM long double.
1331 (round_for_all): Change need_exact field to ibm_ld.
1332 * stdlib/tst-strtod-round.c (struct exactness): New type.
1333 (struct test): Change bool ld_ok field to struct exactness exact.
1334 (TEST): Update all definitions for change to field.
1335 (tests): Regenerate array contents.
1336 (test_in_one_mode): Take pointer to new field instead of old ld_ok
1337 field value. Check for IBM long double here.
1338 (do_test): Update calls to test_in_one_mode.
1339
13402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1341
1342 [BZ #12515]
1343 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
1344 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
1345
13462013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 [BZ #15605]
1349 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
1350 generated by the compiler on loop optimizations.
1351 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
1352 general definitions.
1353
13542013-06-12 Joseph Myers <joseph@codesourcery.com>
1355
1356 * math/bug-nextafter.c: Include <math-tests.h>.
1357 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1358 the relevant type.
1359 * math/bug-nexttoward.c: Include <math-tests.h>.
1360 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1361 the relevant type.
1362 * math/test-misc.c: Include <math-tests.h>.
1363 (main): Only test for exceptions if EXCEPTION_TESTS is true for
1364 the relevant type.
1365
13662013-06-12 Andreas Jaeger <aj@suse.de>
1367
1368 * po/ia.po: Update Interlingua translation from translation
1369 project.
1370
13712013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1372
1373 * include/fenv.h: Include stdbool.h.
1374 (struct rm_ctx): New structure.
1375 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
1376 Define macro.
1377 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
1378 (SET_RESTORE_ROUNDF): Likewise.
1379 (SET_RESTORE_ROUNDL): Likewise.
1380 (SET_RESTORE_ROUND_NOEX): Likewise.
1381 (SET_RESTORE_ROUND_NOEXF): Likewise.
1382 (SET_RESTORE_ROUND_NOEXL): Likewise.
1383 (SET_RESTORE_ROUND_53BIT): Likewise.
1384 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
1385 (libc_feresetround_noexf_ctx): Likewise.
1386 (libc_feresetround_noexl_ctx): Likewise.
1387 (libc_feholdsetround_53bit_ctx): Likewise.
1388 (libc_feresetround_53bit_ctx): Likewise.
1389 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
1390 (libc_feholdexcept_setround_sse_ctx): New function.
1391 (libc_fesetenv_sse_ctx): Likewise.
1392 (libc_feupdateenv_sse_ctx): Likewise.
1393 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
1394 (libc_feholdexcept_setround_387_ctx): Likewise.
1395 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
1396 (libc_feholdsetround_387_prec_ctx): Likewise.
1397 (libc_feholdsetround_387_ctx): Likewise.
1398 (libc_feholdsetround_387_53bit_ctx): Likewise.
1399 (libc_feholdsetround_sse_ctx): Likewise.
1400 (libc_feresetround_sse_ctx): Likewise.
1401 (libc_feresetround_387_ctx): Likewise.
1402 (libc_feupdateenv_387_ctx): Likewise.
1403 (libc_feholdexcept_setroundf_ctx): Define macro.
1404 (libc_fesetenvf_ctx): Likewise.
1405 (libc_feupdateenvf_ctx): Likewise.
1406 (libc_feholdsetroundf_ctx): Likewise.
1407 (libc_feresetroundf_ctx): Likewise.
1408 (libc_feholdexcept_setround_ctx): Likewise.
1409 (libc_fesetenv_ctx): Likewise.
1410 (libc_feupdateenv_ctx): Likewise.
1411 (libc_feholdsetround_ctx): Likewise.
1412 (libc_feresetround_ctx): Likewise.
1413 (libc_feholdexcept_setroundl_ctx): Likewise.
1414 (libc_feupdateenvl_ctx): Likewise.
1415 (libc_feholdsetroundl_ctx): Likewise.
1416 (libc_feresetroundl_ctx): Likewise.
1417 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
1418 (libc_feresetround_53bit_ctx): Likewise.
1419
14202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1421
1422 * locale/iso-639.def: Convert to UTF-8.
1423
14242013-06-11 Joseph Myers <joseph@codesourcery.com>
1425
1426 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
1427 (EXCEPTION_TESTS_double): Likewise.
1428 (EXCEPTION_TESTS_long_double): Likewise.
1429 (EXCEPTION_TESTS): Likewise.
1430 * math/libm-test.inc (test_exceptions): Only test exceptions if
1431 EXCEPTION_TESTS (FLOAT).
1432
14332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1434
1435 * benchtests/Makefile (string-bench): Add strcpy_chk and
1436 stpcpy_chk.
1437 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
1438 * benchtests/bench-stpcpy_chk.c: New file.
1439 * benchtests/bench-strcpy_chk-ifunc.c: New file.
1440 * benchtests/bench-strcpy_chk.c: New file.
1441 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
1442 code.
1443 (do_test): Likewise.
1444
14452013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1446
1447 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
1448 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
1449 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
1450 with tabs where appropriate.
1451 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
1452 dl-procinfo.h.
1453 [PPC_PLATFORM_PPC440]: Likewise.
1454 [PPC_PLATFORM_PPC464]: Likewise.
1455 [PPC_PLATFORM_PPC476]: Likewise.
1456 (_dl_string_platform): Add support for detecting ppc405, ppc440,
1457 ppc464, and ppc476 platform strings merging from ports/
1458 dl-procinfo.h.
1459
14602013-06-11 Andreas Schwab <schwab@suse.de>
1461
1462 [BZ #14991]
1463 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
1464 (from_ucs4_idx): Regenerate.
1465 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
1466 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
1467 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
1468 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
1469 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
1470 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
1471 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
1472 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
1473 from FROM_LOOP and TO_LOOP specific macros.
1474 (BODY): Handle combining characters.
1475 * iconvdata/BIG5HKSCS.irreversible: Update.
1476 * iconvdata/BIG5HKSCS.precomposed: New file.
1477 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
1478 characters.
1479 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
1480
14812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1482
1483 * include/sys/time.h: Fix indentation and add copyright header.
1484
1485 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
1486 (do_test): Likewise.
1487 * string/test-memchr.c (do_one_test): Likewise.
1488 (do_test): Likewise.
1489 * string/test-memcmp.c (do_one_test): Likewise.
1490 (do_test): Likewise.
1491 * string/test-memcpy.c (do_one_test): Likewise.
1492 (do_test): Likewise.
1493 * string/test-memmem.c (do_one_test): Likewise.
1494 (do_test): Likewise.
1495 (do_random_tests): Likewise.
1496 * string/test-memmove.c (do_one_test): Likewise.
1497 (do_test): Likewise.
1498 * string/test-memset.c (do_one_test): Likewise.
1499 (do_test): Likewise.
1500 * string/test-rawmemchr.c (do_one_test): Likewise.
1501 (do_test): Likewise.
1502 * string/test-strcasecmp.c (do_one_test): Likewise.
1503 (do_test): Likewise.
1504 * string/test-strcasestr.c (do_one_test): Likewise.
1505 (do_test): Likewise.
1506 * string/test-strcat.c (do_one_test): Likewise.
1507 (do_test): Likewise.
1508 * string/test-strchr.c (do_one_test): Likewise.
1509 (do_test): Likewise.
1510 * string/test-strcmp.c (do_one_test): Likewise.
1511 (do_test): Likewise.
1512 * string/test-strcpy.c (do_one_test): Likewise.
1513 (do_test): Likewise.
1514 * string/test-string.h: Likewise.
1515 (test_init): Likewise.
1516 * string/test-strlen.c (do_one_test): Likewise.
1517 (do_test): Likewise.
1518 * string/test-strncasecmp.c (do_one_test): Likewise.
1519 (do_test): Likewise.
1520 * string/test-strncat.c (do_one_test): Likewise.
1521 (do_test): Likewise.
1522 * string/test-strncmp.c (do_one_test): Likewise.
1523 (do_test_limit): Likewise.
1524 (do_test): Likewise.
1525 * string/test-strncpy.c (do_one_test): Likewise.
1526 (do_test): Likewise.
1527 * string/test-strnlen.c (do_one_test): Likewise.
1528 (do_test): Likewise.
1529 * string/test-strpbrk.c (do_one_test): Likewise.
1530 (do_test): Likewise.
1531 * string/test-strrchr.c (do_one_test): Likewise.
1532 (do_test): Likewise.
1533 * string/test-strspn.c (do_one_test): Likewise.
1534 (do_test): Likewise.
1535 * string/test-strstr.c (do_one_test): Likewise.
1536 (do_test): Likewise.
1537
1538 * benchtests/Makefile (string-bench): Add string benchmarks.
1539 * benchtests/bench-bcopy-ifunc.c: New file.
1540 * benchtests/bench-bcopy.c: New file.
1541 * benchtests/bench-bzero-ifunc.c: New file.
1542 * benchtests/bench-bzero.c: New file.
1543 * benchtests/bench-memccpy-ifunc.c: New file.
1544 * benchtests/bench-memccpy.c: New file.
1545 * benchtests/bench-memchr-ifunc.c: New file.
1546 * benchtests/bench-memchr.c: New file.
1547 * benchtests/bench-memcmp-ifunc.c: New file.
1548 * benchtests/bench-memcmp.c: New file.
1549 * benchtests/bench-memmem-ifunc.c: New file.
1550 * benchtests/bench-memmem.c: New file.
1551 * benchtests/bench-memmove-ifunc.c: New file.
1552 * benchtests/bench-memmove.c: New file.
1553 * benchtests/bench-mempcpy-ifunc.c: New file.
1554 * benchtests/bench-mempcpy.c: New file.
1555 * benchtests/bench-memset-ifunc.c: New file.
1556 * benchtests/bench-memset.c: New file.
1557 * benchtests/bench-rawmemchr-ifunc.c: New file.
1558 * benchtests/bench-rawmemchr.c: New file.
1559 * benchtests/bench-stpcpy-ifunc.c: New file.
1560 * benchtests/bench-stpcpy.c: New file.
1561 * benchtests/bench-stpncpy-ifunc.c: New file.
1562 * benchtests/bench-stpncpy.c: New file.
1563 * benchtests/bench-strcasecmp-ifunc.c: New file.
1564 * benchtests/bench-strcasecmp.c: New file.
1565 * benchtests/bench-strcasestr-ifunc.c: New file.
1566 * benchtests/bench-strcasestr.c: New file.
1567 * benchtests/bench-strcat-ifunc.c: New file.
1568 * benchtests/bench-strcat.c: New file.
1569 * benchtests/bench-strchr-ifunc.c: New file.
1570 * benchtests/bench-strchr.c: New file.
1571 * benchtests/bench-strchrnul-ifunc.c: New file.
1572 * benchtests/bench-strchrnul.c: New file.
1573 * benchtests/bench-strcmp-ifunc.c: New file.
1574 * benchtests/bench-strcmp.c: New file.
1575 * benchtests/bench-strcpy-ifunc.c: New file.
1576 * benchtests/bench-strcpy.c: New file.
1577 * benchtests/bench-strcspn-ifunc.c: New file.
1578 * benchtests/bench-strcspn.c: New file.
1579 * benchtests/bench-strlen-ifunc.c: New file.
1580 * benchtests/bench-strlen.c: New file.
1581 * benchtests/bench-strncasecmp-ifunc.c: New file.
1582 * benchtests/bench-strncasecmp.c: New file.
1583 * benchtests/bench-strncat-ifunc.c: New file.
1584 * benchtests/bench-strncat.c: New file.
1585 * benchtests/bench-strncmp-ifunc.c: New file.
1586 * benchtests/bench-strncmp.c: New file.
1587 * benchtests/bench-strncpy-ifunc.c: New file.
1588 * benchtests/bench-strncpy.c: New file.
1589 * benchtests/bench-strnlen-ifunc.c: New file.
1590 * benchtests/bench-strnlen.c: New file.
1591 * benchtests/bench-strpbrk-ifunc.c: New file.
1592 * benchtests/bench-strpbrk.c: New file.
1593 * benchtests/bench-strrchr-ifunc.c: New file.
1594 * benchtests/bench-strrchr.c: New file.
1595 * benchtests/bench-strspn-ifunc.c: New file.
1596 * benchtests/bench-strspn.c: New file.
1597 * benchtests/bench-strstr-ifunc.c: New file.
1598 * benchtests/bench-strstr.c: New file.
1599
1600 * benchtests/Makefile: Disable parallel execution of targets.
1601 (string-bench): Add memcpy.
1602 (benchset): New variable to store a list of benchmark sets.
1603 (bench-func): Renamed from bench.
1604 (bench-set): New target.
1605 (bench): Depend on bench-func and bench-set.
1606 * benchtests/README: Add section on benchmark sets.
1607 * benchtests/bench-memcpy-ifunc.c: New file.
1608 * benchtests/bench-memcpy.c: New file.
1609 * benchtests/bench-string.h: New file.
1610
16112013-06-11 Andreas Schwab <schwab@suse.de>
1612
1613 [BZ #15577]
1614 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
1615 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
1616 values in the triple.
1617 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
1618 terminator in the group key.
1619
16202013-06-11 Andreas Jaeger <aj@suse.de>
1621
1622 * po/zh_TW.po: Update Chinese (traditional) translation from
1623 translation project.
1624
16252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1626
1627 * include/time.h (__clock_gettime): Add libc_hidden_proto.
1628 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
1629 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
1630 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
1631 (clock_getcpuclockid): Likewise.
1632 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
1633 Add weak_alias and libc_hidden_def.
1634 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
1635 * rt/clock_gettime.c (clock_gettime): Rename to
1636 __clock_gettime. Add weak_alias and libc_hidden_def.
1637 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
1638 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
1639 __clock_nanosleep. Add weak_alias and libc_hidden_def.
1640 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
1641 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
1642 Likewise.
1643 * rt/clock_settime.c (clock_settime): Rename to
1644 __clock_settime. Add weak_alias and libc_hidden_def.
1645 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
1646
16472013-06-10 Joseph Myers <joseph@codesourcery.com>
1648
1649 * mach/err_boot.sub: Remove trailing whitespace.
1650 * mach/err_ipc.sub: Likewise.
1651 * mach/err_mach.sub: Likewise.
1652
1653 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
1654 (ROUNDING_TESTS_double): Likewise.
1655 (ROUNDING_TESTS_long_double): Likewise.
1656 (ROUNDING_TESTS): Likewise.
1657 * math/libm-test.inc: Include <math-tests.h>.
1658 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
1659 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
1660 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1661 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1662
16632013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1664
1665 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1666 of assigning.
1667
16682013-06-08 Joseph Myers <joseph@codesourcery.com>
1669
1670 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1671 otherwise empty TRANS lines.
1672 * sysdeps/gnu/errlist.c: Regenerated.
1673
1674 * catgets/gencat.c (error_print): Use (void) in function
1675 definition.
1676 * crypt/crypt_util.c (__init_des): Likewise.
1677 * crypt/speeds.c (Stop): Likewise.
1678 (main): Likewise.
1679 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1680 * inet/ruserpass.c (token): Likewise.
1681 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1682 * intl/localealias.c (extend_alias_table): Likewise.
1683 * intl/plural-exp.c (init_germanic_plural): Likewise.
1684 * libio/fcloseall.c (__fcloseall): Likewise.
1685 * libio/genops.c (_IO_flush_all): Likewise.
1686 (_IO_flush_all_linebuffered): Likewise.
1687 (_IO_cleanup): Likewise.
1688 (_IO_iter_begin): Likewise.
1689 (_IO_iter_end): Likewise.
1690 (_IO_list_lock): Likewise.
1691 (_IO_list_unlock): Likewise.
1692 (_IO_list_resetlock): Likewise.
1693 * libio/getchar.c (getchar): Likewise.
1694 * libio/getchar_u.c (getchar_unlocked): Likewise.
1695 * libio/getwchar.c (getwchar): Likewise.
1696 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1697 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1698 * login/getpt.c (__getpt): Likewise.
1699 * login/tst-utmp.c (main): Likewise.
1700 * malloc/hooks.c (__malloc_check_init): Likewise.
1701 * malloc/malloc.c (__malloc_stats): Likewise.
1702 * malloc/mtrace.c (tr_break): Likewise.
1703 (mtrace): Likewise.
1704 (muntrace): Likewise.
1705 * misc/fstab.c (endfsent): Likewise.
1706 * misc/getclktck.c (__getclktck): Likewise.
1707 * misc/getdtsz.c (__getdtablesize): Likewise.
1708 * misc/gethostid.c (gethostid): Likewise.
1709 * misc/getpagesize.c (__getpagesize): Likewise.
1710 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1711 (__get_nprocs): Likewise.
1712 (__get_phys_pages): Likewise.
1713 (__get_avphys_pages): Likewise.
1714 * misc/getttyent.c (getttyent): Likewise.
1715 (setttyent): Likewise.
1716 (endttyent): Likewise.
1717 * misc/getusershell.c (getusershell): Likewise.
1718 (endusershell): Likewise.
1719 (setusershell): Likewise.
1720 (initshells): Likewise.
1721 * misc/hsearch.c (__hdestroy): Likewise.
1722 * misc/sync.c (sync): Likewise.
1723 * misc/syslog.c (closelog_internal): Likewise.
1724 (closelog): Likewise.
1725 * misc/ttyslot.c (ttyslot): Likewise.
1726 * misc/vhangup.c (vhangup): Likewise.
1727 * posix/fork.c (__fork): Likewise.
1728 * posix/getegid.c (__getegid): Likewise.
1729 * posix/geteuid.c (__geteuid): Likewise.
1730 * posix/getgid.c (__getgid): Likewise.
1731 * posix/getpid.c (__getpid): Likewise.
1732 * posix/getppid.c (__getppid): Likewise.
1733 * posix/getuid.c (__getuid): Likewise.
1734 * posix/pause.c (pause): Likewise.
1735 * posix/setpgrp.c (setpgrp): Likewise.
1736 * posix/setsid.c (__setsid): Likewise.
1737 * posix/test-vfork.c (noop): Likewise.
1738 * resolv/gethnamaddr.c (_endhtent): Likewise.
1739 (_gethtent): Likewise.
1740 (ht_endhostent): Likewise.
1741 (gethostent): Likewise.
1742 (dns_service): Likewise.
1743 * stdlib/drand48.c (drand48): Likewise.
1744 * stdlib/lrand48.c (lrand48): Likewise.
1745 * stdlib/mrand48.c (mrand48): Likewise.
1746 * stdlib/rand.c (rand): Likewise.
1747 * stdlib/random.c (__random): Likewise.
1748 * stdlib/setenv.c (clearenv): Likewise.
1749 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1750 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1751 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1752 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1753 (__get_nprocs): Likewise.
1754 (__get_phys_pages): Likewise.
1755 (__get_avphys_pages): Likewise.
1756 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1757 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1758 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1759 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1760 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1761 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1762 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1763 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1764 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1765 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1766 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1767 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1768 * sysdeps/posix/clock.c (clock): Likewise.
1769 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1770 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1771 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1772 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1773 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1775 (__get_nprocs_conf): Likewise.
1776 (__get_phys_pages): Likewise.
1777 (__get_avphys_pages): Likewise.
1778 * time/clock.c (clock): Likewise.
1779 * time/tzset.c (__tzname_max): Likewise.
1780
17812013-06-07 Joseph Myers <joseph@codesourcery.com>
1782
1783 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1784 (__bswap_32): Do not use "register".
1785 * crypt/crypt.c (_ufc_doit_r): Likewise.
1786 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1787 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1788 * gmon/gmon.c (__monstartup): Likewise.
1789 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1790 * hurd/hurdmalloc.c (more_memory): Likewise.
1791 (malloc): Likewise.
1792 (free): Likewise.
1793 (realloc): Likewise.
1794 (malloc_fork_prepare): Likewise.
1795 (malloc_fork_parent): Likewise.
1796 (malloc_fork_child): Likewise.
1797 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1798 (_svcauth_des): Likewise.
1799 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1800 * inet/inet_net.c (inet_network): Likewise.
1801 * inet/inet_netof.c (inet_netof): Likewise.
1802 * inet/rcmd.c (__validuser2_sa): Likewise.
1803 * io/fts.c (fts_open): Likewise.
1804 (fts_load): Likewise.
1805 (fts_close): Likewise.
1806 (fts_read): Likewise.
1807 (fts_children): Likewise.
1808 (fts_build): Likewise.
1809 (fts_stat): Likewise.
1810 (fts_sort): Likewise.
1811 (fts_alloc): Likewise.
1812 (fts_lfree): Likewise.
1813 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1814 (_IO_file_xsgetn): Likewise.
1815 (_IO_file_xsgetn_mmap): Likewise.
1816 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1817 (_IO_cookie_write): Likewise.
1818 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1819 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1820 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1821 * malloc/obstack.c (_obstack_begin): Likewise.
1822 (_obstack_begin_1): Likewise.
1823 (_obstack_newchunk): Likewise.
1824 (_obstack_allocated_p): Likewise.
1825 (obstack_free): Likewise.
1826 (_obstack_memory_used): Likewise.
1827 * misc/getttyent.c (getttynam): Likewise.
1828 (getttyent): Likewise.
1829 (skip): Likewise.
1830 (value): Likewise.
1831 * misc/getusershell.c (initshells): Likewise.
1832 * misc/syslog.c (__vsyslog_chk): Likewise.
1833 * misc/ttyslot.c (ttyslot): Likewise.
1834 * nis/nis_hash.c (__nis_hash): Likewise.
1835 * posix/fnmatch_loop.c (FCT): Likewise.
1836 * posix/getconf.c (print_all): Likewise.
1837 (main): Likewise.
1838 * posix/getopt.c (exchange): Likewise.
1839 * posix/glob.c (globfree): Likewise.
1840 (prefix_array): Likewise.
1841 (__glob_pattern_type): Likewise.
1842 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1843 (NS_GET32): Likewise.
1844 (NS_PUT16): Likewise.
1845 (NS_PUT32): Likewise.
1846 * resolv/gethnamaddr.c (getanswer): Likewise.
1847 (gethostbyname2): Likewise.
1848 (gethostbyaddr): Likewise.
1849 (_gethtent): Likewise.
1850 (_gethtbyname2): Likewise.
1851 (_gethtbyaddr): Likewise.
1852 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1853 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1854 * resolv/res_init.c (__res_vinit): Likewise.
1855 (net_mask): Likewise.
1856 * resolv/res_mkquery.c (outchar): Likewise.
1857 (PRINT): Likewise.
1858 * stdio-common/printf_fp.c (outchar): Likewise.
1859 (PRINT): Likewise.
1860 * stdio-common/printf_fphex.c (outchar): Likewise.
1861 (PRINT): Likewise.
1862 * stdio-common/printf_size.c (outchar): Likewise.
1863 (PRINT): Likewise.
1864 * stdio-common/test_rdwr.c (main): Likewise.
1865 * stdio-common/tfformat.c (matches): Likewise.
1866 * stdio-common/vfprintf.c (outchar): Likewise.
1867 (printf_unknown): Likewise.
1868 (buffered_vfprintf): Likewise.
1869 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1870 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1871 (ReadFile): Likewise.
1872 * stdlib/qsort.c (SWAP): Likewise.
1873 (_quicksort): Likewise.
1874 * stdlib/setenv.c (__add_to_environ): Likewise.
1875 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1876 * stdlib/strtol_l.c (__strtol_l): Likewise.
1877 * stdlib/tst-strtod.c (main): Likewise.
1878 * stdlib/tst-strtol.c (main): Likewise.
1879 * stdlib/tst-strtoll.c (main): Likewise.
1880 * string/bits/string2.h (__strcmp_cc): Likewise.
1881 (__strcmp_cg): Likewise.
1882 (__strcspn_c1): Likewise.
1883 (__strcspn_c2): Likewise.
1884 (__strcspn_c3): Likewise.
1885 (__strspn_c1): Likewise.
1886 (__strspn_c2): Likewise.
1887 (__strspn_c3): Likewise.
1888 (__strsep_1c): Likewise.
1889 (__strsep_2c): Likewise.
1890 (__strsep_3c): Likewise.
1891 * string/memccpy.c (__memccpy): Likewise.
1892 * string/stpcpy.c (__stpcpy): Likewise.
1893 * string/strcmp.c (strcmp): Likewise.
1894 * string/strrchr.c (strrchr): Likewise.
1895 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1896 Likewise.
1897 * sysdeps/mach/hurd/getcwd.c
1898 (_hurd_canonicalize_directory_name_internal): Likewise.
1899 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1900 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1901 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1902 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1903 Likewise, in both definitions.
1904 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1905 definitions.
1906 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1907 64] (__bswap_64): Likewise.
1908 * time/test_time.c (main): Likewise.
1909 * time/tzfile.c (__tzfile_read): Likewise.
1910 (__tzfile_compute): Likewise.
1911 * time/tzset.c (__tzset_parse_tz): Likewise.
1912 (tzset_internal): Likewise.
1913 (compute_change): Likewise.
1914 * wcsmbs/wcscat.c (__wcscat): Likewise.
1915 * wcsmbs/wcschr.c (wcschr): Likewise.
1916 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1917 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1918 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1919 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1920 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1921 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1922 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1923 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1924 * wcsmbs/wmemset.c (wmemset): Likewise.
1925
19262013-06-06 Joseph Myers <joseph@codesourcery.com>
1927
1928 * scripts/config.guess: Update to version 2013-05-16.
1929 * scripts/config.sub: Update to version 2013-04-24.
1930 * scripts/install-sh: Update to version 2011-11-20.07.
1931 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1932 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1933
19342013-06-06 Ondřej Bílka <neleai@seznam.cz>
1935
1936 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1937 * elf/sln.c: Likewise.
1938 * hurd/hurd/ioctl.h: Likewise.
1939 * hurd/hurdmalloc.c: Likewise.
1940 * hurd/xattr.c: Likewise.
1941 * include/shlib-compat.h: Likewise.
1942 * inet/ruserpass.c: Likewise.
1943 * libio/iofgets_u.c: Likewise.
1944 * libio/iofgetws_u.c: Likewise.
1945 * locale/programs/ld-identification.c: Likewise.
1946 * locale/programs/ld-time.c: Likewise.
1947 * mach/msg-destroy.c: Likewise.
1948 * nss/nss_files/files-netgrp.c: Likewise.
1949 * resolv/res_data.c: Likewise.
1950 * soft-fp/op-1.h: Likewise.
1951 * soft-fp/op-2.h: Likewise.
1952 * soft-fp/op-4.h: Likewise.
1953 * soft-fp/op-common.h: Likewise.
1954 * stdio-common/printf_fphex.c: Likewise.
1955 * stdlib/strtod_l.c: Likewise.
1956 * sunrpc/rpc/clnt.h: Likewise.
1957 * sysdeps/generic/framestate.c: Likewise.
1958 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1959 * sysdeps/i386/bsd-setjmp.S: Likewise.
1960 * sysdeps/i386/__longjmp.S: Likewise.
1961 * sysdeps/i386/setjmp.S: Likewise.
1962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1963 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1964 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1969 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1978 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1980 * sysdeps/ieee754/support.c: Likewise.
1981 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1982 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1983 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1984 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1985 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1986 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1987 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1988 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1989 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1990 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1991 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1992 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1993 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1994 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1995 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1996 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1997 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1999
20002013-06-05 Ondřej Bílka <neleai@seznam.cz>
2001
2002 * posix/transbug.c: Remove executable mode.
2003
20042013-06-05 Joseph Myers <joseph@codesourcery.com>
2005
2006 * crypt/speeds.c: Remove trailing whitespace.
2007 * dlfcn/default.c: Likewise.
2008 * elf/ifuncdep2.c: Likewise.
2009 * elf/ifuncmain1.c: Likewise.
2010 * elf/ifuncmain1vis.c: Likewise.
2011 * elf/testobj.h: Likewise.
2012 * elf/tst-stackguard1.c: Likewise.
2013 * gmon/sys/gmon.h: Likewise.
2014 * hurd/hurdmsg.c: Likewise.
2015 * hurd/new-fd.c: Likewise.
2016 * hurd/ports-get.c: Likewise.
2017 * iconvdata/ibm1008_420.c: Likewise.
2018 * inet/tst-getni1.c: Likewise.
2019 * inet/tst-getni2.c: Likewise.
2020 * libio/ioungetc.c: Likewise.
2021 * libio/wfiledoalloc.c: Likewise.
2022 * manual/libm-err-tab.pl: Likewise.
2023 * math/w_dremf.c: Likewise.
2024 * misc/ftruncate.c: Likewise.
2025 * posix/bug-glob2.c: Likewise.
2026 * posix/tst-pcre.c: Likewise.
2027 * posix/wait4.c: Likewise.
2028 * resolv/README: Likewise.
2029 * resolv/res_debug.h: Likewise.
2030 * resolv/tst-inet_ntop.c: Likewise.
2031 * setjmp/bug269-setjmp.c: Likewise.
2032 * soft-fp/extended.h: Likewise.
2033 * soft-fp/op-1.h: Likewise.
2034 * soft-fp/op-2.h: Likewise.
2035 * soft-fp/op-4.h: Likewise.
2036 * soft-fp/op-8.h: Likewise.
2037 * soft-fp/testit.c: Likewise.
2038 * stdio-common/bug16.c: Likewise.
2039 * stdlib/random.c: Likewise.
2040 * sunrpc/rpcsvc/rquota.x: Likewise.
2041 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2042 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2043 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2044 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2045 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2046 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2047 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2048 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2049 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2050 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2051 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2070 * sysdeps/ieee754/s_lib_version.c: Likewise.
2071 * sysdeps/mach/hurd/check_fds.c: Likewise.
2072 * sysdeps/mach/hurd/getsockname.c: Likewise.
2073 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2074 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2075 * sysdeps/powerpc/bits/link.h: Likewise.
2076 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2077 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2078 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2079 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2080 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2081 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2082 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2083 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2084 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2085 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2086 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2087 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2088 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2089 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2090 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2091 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2092 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2093 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2094 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2095 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2096 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2097 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2098 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2099 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2100 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2101 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2103 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2104 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2105 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2108 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2109 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2110 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2112 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2113 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2114 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2115 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2116 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2117 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2118 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2119 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2120 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2121 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2122 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2123 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2124 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2125 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2127 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2128 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2129 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2130 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2131 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2132 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2133 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2134 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2135 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2136 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2137 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2138 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2139 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2140 * sysdeps/powerpc/sysdep.h: Likewise.
2141 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2142 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2143 * sysdeps/sh/dl-trampoline.S: Likewise.
2144 * sysdeps/sh/memset.S: Likewise.
2145 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2146 * sysdeps/sh/strlen.S: Likewise.
2147 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2148 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2149 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2150 * sysdeps/sparc/sparc32/rem.S: Likewise.
2151 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2152 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2153 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2154 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2155 * sysdeps/sparc/sparc32/urem.S: Likewise.
2156 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2157 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2158 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2159 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2160 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2161 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2162 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2163 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2164 * sysdeps/unix/bsd/times.c: Likewise.
2165 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2166 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2170 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2171 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2172 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2173 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2174 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2175 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2176 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2177 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2178 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2179 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2180 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2181 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2182 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2183 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2184 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2185 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2186 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2187 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2188 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2189 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2190 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2191 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2192 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2193 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2194 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2195 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2196 * sysdeps/x86_64/strcspn.S: Likewise.
2197
21982013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2199
2200 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2201 generated file. Regenerate properly from gen-translit.pl.
2202 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2203 locale/C-translit.h.
2204
22052013-06-05 Andreas Schwab <schwab@suse.de>
2206
2207 [BZ #15100]
2208 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2209 week as 6 instead of -1.
2210 * time/tst-strptime.c (day_tests): Add test case.
2211
22122013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2213
2214 * sysdeps/generic/math_private.h
2215 (libc_feholdexcept_setround_53bit): Replace with
2216 libc_feholdsetround_53bit.
2217 (libc_feupdateenv_53bit): Replace with
2218 libc_feresetround_53bit.
2219 (SET_RESTORE_ROUND_53BIT): Adjust.
2220
22212013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2222
2223 * string/test-strchrnul.c: Add copyright header.
2224
2225 * posix/tst-getaddrinfo4.c: Increase test timeout.
2226
22272013-06-03 Carlos O'Donell <carlos@redhat.com>
2228
2229 [BZ #15536]
2230 * math/libm-test.inc (MAX_EXP): Remove
2231 (MIN_EXP): Define.
2232 (ulp): Use MIN_EXP - MANT_DIG.
2233 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2234
22352013-05-31 Carlos O'Donell <carlos@redhat.com>
2236
2237 * po/be.po: Revert last change.
2238 * po/zh_CN.po: Likewise.
2239 * po/header.pot: Likewise.
2240
22412013-05-31 Joseph Myers <joseph@codesourcery.com>
2242
2243 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2244 link-libc-deps to empty as target-specific variable.
2245 * Makerules (link-libc-args): New variable.
2246 (libc-for-link): Likewise.
2247 (link-libc-deps): Likewise.
2248 (lib%.so): Depend on $(link-libc-deps). Link with
2249 $(link-libc-args).
2250 (build-module): Link with $(link-libc-args).
2251 (build-module-asneeded): Likewise.
2252 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2253 list of objects.
2254 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2255 target-specific variable.
2256 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2257 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2258 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2259 libc.
2260 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2261 libc and ld.so.
2262 ($(objpfx)libpcprofile.so): Likewise.
2263 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2264 libc_nonshared.a.
2265 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2266 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2267 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2268 $(link-libc-deps).
2269 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2270 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2271 * login/Makefile ($(objpfx)libutil.so): Likewise.
2272 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2273 * math/Makefile ($(objpfx)libm.so): Likewise.
2274 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2275 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2276 variable instead of depending directly on libc.
2277 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2278 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2279 $(link-libc-deps).
2280 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2281 libc.
2282 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2283 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2284 ($(objpfx)libanl.so): Likewise.
2285 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2286 ld.so.
2287 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2288 $(link-libc-deps).
2289 * sysdeps/i386/fpu/Makefile: Remove file.
2290 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2291 ($(objpfx)libm.so): Remove dependency on ld.so.
2292
22932013-05-30 Patsy Franklin <pfrankli@redhat.com>
2294
2295 [BZ # 15553]
2296 * nis/yp_xdr.c (XDRMAXNAME): Define.
2297 (XDRMAXRECORD): Define.
2298 (xdr_domainname): Use XDRMAXNAME.
2299 (xdr_mapname): Likewise.
2300 (xdr_peername): Likewise.
2301 (xdr_keydat): Use XDRMAXRECORD.
2302 (xdr_valdat): Likewise.
2303
23042013-05-30 Jeff Law <law@redhat.com>
2305
2306 [BZ #14256]
2307 * manual/errno.texi (ESTALE): Update to account for more than
2308 just NFS file systems.
2309 * sysdeps/gnu/errlist.c: Regenerated.
2310
23112013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2312
2313 [BZ #15465]
2314 * elf/Makefile (tests): Add tst-null-argv.
2315 (modules-names): Add tst-null-argv-lib.
2316 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2317 (tst-null-argv-ENV): Set environment for tst-null-argv.
2318 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2319 (RTLD_PROGNAME): New macro.
2320 * elf/tst-null-argv.c: New test case.
2321 * elf/tst-null-argv-lib.c: Library for test case.
2322 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2323 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2324 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2325 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2326 * elf/dl-init.c (call_init): Likewise.
2327 (_dl_init): Likewise.
2328 * elf/dl-load.c (print_search_path): Likewise.
2329 (_dl_map_object): Likewise.
2330 * elf/dl-lookup.c (do_lookup_x): Likewise.
2331 (add_dependency): Likewise.
2332 (_dl_lookup_symbol_x): Likewise.
2333 (_dl_debug_bindings): Likewise.
2334 * elf/dl-open.c (_dl_show_scope): Likewise.
2335 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2336 * elf/dl-version.c (match_symbol): Likewise.
2337 (_dl_check_map_versions): Likewise.
2338 * elf/rtld.c (dl_main): Likewise.
2339 (print_unresolved): Use RTLD_PROGNAME.
2340 (print_missing_version): Likewise.
2341 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
2342 (elf_machine_rela): Likewise.
2343 * sysdeps/powerpc/powerpc32/dl-machine.c
2344 (__process_machine_rela): Likewise.
2345 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2346 Likewise.
2347 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
2348 Likewise.
2349 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2350 Likewise.
2351 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
2352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
2353 Likewise.
2354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
2355 Likewise.
2356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2357
23582013-05-28 Carlos O'Donell <carlos@redhat.com>
2359
2360 * po/be.po: Add descriptive title.
2361 * po/zh_CN.po: Likewise.
2362 * po/header.pot: Likewise.
2363
23642013-05-28 Mike Frysinger <vapier@gentoo.org>
2365
2366 * locale/programs/locarchive.c (create_archive): Inlucde fname in
2367 error message.
2368 (enlarge_archive): Likewise.
2369
23702013-05-28 Ben North <ben@redfrontdoor.org>
2371
2372 * manual/arith.texi (frexp): It is the magnitude of the return
2373 value which lies in [0.5, 1), not the return value itself.
2374
23752013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2376
2377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2378
23792013-05-26 Thomas Schwinge <thomas@codesourcery.com>
2380
2381 * stdio-common/bug26.c (main): Correct fscanf template.
2382
2383 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
2384 declare _dl_skip_args.
2385
2386 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
2387 Don't declare.
2388
2389 * manual/platform.texi: Add missing @end deftypefun.
2390
23912013-05-24 Joseph Myers <joseph@codesourcery.com>
2392
2393 [BZ #15529]
2394 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
2395 bit of mantissa of 2^16382.
2396 * math/libm-test.inc (hypot_test_data): Add more tests.
2397
2398 * math/libm-test.inc: Add drem and pow10 to list of tested
2399 functions.
2400 (pow10_test): New function.
2401 (drem_test): Likewise.
2402 (drem_test_tonearest): Likewise.
2403 (drem_test_towardzero): Likewise.
2404 (drem_test_downward): Likewise.
2405 (drem_test_upward): Likewise.
2406 (main): Call the new functions.
2407
2408 * math/libm-test.inc (finite_test_data): Remove.
2409 (finite_test): Run tests from isfinite_test_data.
2410 (gamma_test_data): Remove.
2411 (gamma_test): Run tests from lgamma_test_data.
2412 * sysdeps/i386/fpu/libm-test-ulps: Update.
2413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2414
24152013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2416
2417 * manual/platform.texi: Add PowerPC PPR function set documentation.
2418 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
2419 implementation.
2420
24212013-05-24 Carlos O'Donell <carlos@redhat.com>
2422
2423 * math/libm-test.inc (MAX_EXP): Define.
2424 (ULPDIFF): Define.
2425 (ulp): New function.
2426 (check_float_internal): Use ULPDIFF.
2427 (cpow_test): Disable failing test.
2428 (check_ulp): Test ulp() implemetnation.
2429 (main): Call check_ulp before starting tests.
2430
24312013-05-24 Joseph Myers <joseph@codesourcery.com>
2432
2433 * math/gen-libm-test.pl (generate_testfile): Do not handle
2434 START_DATA and END_DATA.
2435 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
2436 END_DATA.
2437 (acos_tonearest_test_data): Likewise.
2438 (acos_towardzero_test_data): Likewise.
2439 (acos_downward_test_data): Likewise.
2440 (acos_upward_test_data): Likewise.
2441 (acosh_test_data): Likewise.
2442 (asin_test_data): Likewise.
2443 (asin_tonearest_test_data): Likewise.
2444 (asin_towardzero_test_data): Likewise.
2445 (asin_downward_test_data): Likewise.
2446 (asin_upward_test_data): Likewise.
2447 (asinh_test_data): Likewise.
2448 (atan_test_data): Likewise.
2449 (atanh_test_data): Likewise.
2450 (atan2_test_data): Likewise.
2451 (cabs_test_data): Likewise.
2452 (cacos_test_data): Likewise.
2453 (cacosh_test_data): Likewise.
2454 (carg_test_data): Likewise.
2455 (casin_test_data): Likewise.
2456 (casinh_test_data): Likewise.
2457 (catan_test_data): Likewise.
2458 (catanh_test_data): Likewise.
2459 (cbrt_test_data): Likewise.
2460 (ccos_test_data): Likewise.
2461 (ccosh_test_data): Likewise.
2462 (ceil_test_data): Likewise.
2463 (cexp_test_data): Likewise.
2464 (cimag_test_data): Likewise.
2465 (clog_test_data): Likewise.
2466 (clog10_test_data): Likewise.
2467 (conj_test_data): Likewise.
2468 (copysign_test_data): Likewise.
2469 (cos_test_data): Likewise.
2470 (cos_tonearest_test_data): Likewise.
2471 (cos_towardzero_test_data): Likewise.
2472 (cos_downward_test_data): Likewise.
2473 (cos_upward_test_data): Likewise.
2474 (cosh_test_data): Likewise.
2475 (cosh_tonearest_test_data): Likewise.
2476 (cosh_towardzero_test_data): Likewise.
2477 (cosh_downward_test_data): Likewise.
2478 (cosh_upward_test_data): Likewise.
2479 (cpow_test_data): Likewise.
2480 (cproj_test_data): Likewise.
2481 (creal_test_data): Likewise.
2482 (csin_test_data): Likewise.
2483 (csinh_test_data): Likewise.
2484 (csqrt_test_data): Likewise.
2485 (ctan_test_data): Likewise.
2486 (ctan_tonearest_test_data): Likewise.
2487 (ctan_towardzero_test_data): Likewise.
2488 (ctan_downward_test_data): Likewise.
2489 (ctan_upward_test_data): Likewise.
2490 (ctanh_test_data): Likewise.
2491 (ctanh_tonearest_test_data): Likewise.
2492 (ctanh_towardzero_test_data): Likewise.
2493 (ctanh_downward_test_data): Likewise.
2494 (ctanh_upward_test_data): Likewise.
2495 (erf_test_data): Likewise.
2496 (erfc_test_data): Likewise.
2497 (exp_test_data): Likewise.
2498 (exp_tonearest_test_data): Likewise.
2499 (exp_towardzero_test_data): Likewise.
2500 (exp_downward_test_data): Likewise.
2501 (exp_upward_test_data): Likewise.
2502 (exp10_test_data): Likewise.
2503 (exp2_test_data): Likewise.
2504 (expm1_test_data): Likewise.
2505 (fabs_test_data): Likewise.
2506 (fdim_test_data): Likewise.
2507 (finite_test_data): Likewise.
2508 (floor_test_data): Likewise.
2509 (fma_test_data): Likewise.
2510 (fma_towardzero_test_data): Likewise.
2511 (fma_downward_test_data): Likewise.
2512 (fma_upward_test_data): Likewise.
2513 (fmax_test_data): Likewise.
2514 (fmin_test_data): Likewise.
2515 (fmod_test_data): Likewise.
2516 (fpclassify_test_data): Likewise.
2517 (frexp_test_data): Likewise.
2518 (gamma_test_data): Likewise.
2519 (hypot_test_data): Likewise.
2520 (ilogb_test_data): Likewise.
2521 (isfinite_test_data): Likewise.
2522 (isgreater_test_data): Likewise.
2523 (isgreaterequal_test_data): Likewise.
2524 (isinf_test_data): Likewise.
2525 (isless_test_data): Likewise.
2526 (islessequal_test_data): Likewise.
2527 (islessgreater_test_data): Likewise.
2528 (isnan_test_data): Likewise.
2529 (isnormal_test_data): Likewise.
2530 (issignaling_test_data): Likewise.
2531 (isunordered_test_data): Likewise.
2532 (j0_test_data): Likewise.
2533 (j1_test_data): Likewise.
2534 (jn_test_data): Likewise.
2535 (ldexp_test_data): Likewise.
2536 (lgamma_test_data): Likewise.
2537 (lrint_test_data): Likewise.
2538 (lrint_tonearest_test_data): Likewise.
2539 (lrint_towardzero_test_data): Likewise.
2540 (lrint_downward_test_data): Likewise.
2541 (lrint_upward_test_data): Likewise.
2542 (llrint_test_data): Likewise.
2543 (llrint_tonearest_test_data): Likewise.
2544 (llrint_towardzero_test_data): Likewise.
2545 (llrint_downward_test_data): Likewise.
2546 (llrint_upward_test_data): Likewise.
2547 (log_test_data): Likewise.
2548 (log10_test_data): Likewise.
2549 (log1p_test_data): Likewise.
2550 (log2_test_data): Likewise.
2551 (logb_test_data): Likewise.
2552 (logb_downward_test_data): Likewise.
2553 (lround_test_data): Likewise.
2554 (llround_test_data): Likewise.
2555 (modf_test_data): Likewise.
2556 (nearbyint_test_data): Likewise.
2557 (nextafter_test_data): Likewise.
2558 (nexttoward_test_data): Likewise.
2559 (pow_test_data): Likewise.
2560 (pow_tonearest_test_data): Likewise.
2561 (pow_towardzero_test_data): Likewise.
2562 (pow_downward_test_data): Likewise.
2563 (pow_upward_test_data): Likewise.
2564 (remainder_test_data): Likewise.
2565 (remainder_tonearest_test_data): Likewise.
2566 (remainder_towardzero_test_data): Likewise.
2567 (remainder_downward_test_data): Likewise.
2568 (remainder_upward_test_data): Likewise.
2569 (remquo_test_data): Likewise.
2570 (rint_test_data): Likewise.
2571 (rint_tonearest_test_data): Likewise.
2572 (rint_towardzero_test_data): Likewise.
2573 (rint_downward_test_data): Likewise.
2574 (rint_upward_test_data): Likewise.
2575 (round_test_data): Likewise.
2576 (scalb_test_data): Likewise.
2577 (scalbn_test_data): Likewise.
2578 (scalbln_test_data): Likewise.
2579 (signbit_test_data): Likewise.
2580 (sin_test_data): Likewise.
2581 (sin_tonearest_test_data): Likewise.
2582 (sin_towardzero_test_data): Likewise.
2583 (sin_downward_test_data): Likewise.
2584 (sin_upward_test_data): Likewise.
2585 (sincos_test_data): Likewise.
2586 (sinh_test_data): Likewise.
2587 (sinh_tonearest_test_data): Likewise.
2588 (sinh_towardzero_test_data): Likewise.
2589 (sinh_downward_test_data): Likewise.
2590 (sinh_upward_test_data): Likewise.
2591 (sqrt_test_data): Likewise.
2592 (tan_test_data): Likewise.
2593 (tan_tonearest_test_data): Likewise.
2594 (tan_towardzero_test_data): Likewise.
2595 (tan_downward_test_data): Likewise.
2596 (tan_upward_test_data): Likewise.
2597 (tanh_test_data): Likewise.
2598 (tgamma_test_data): Likewise.
2599 (trunc_test_data): Likewise.
2600 (y0_test_data): Likewise.
2601 (y1_test_data): Likewise.
2602 (yn_test_data): Likewise.
2603 (significand_test_data): Likewise.
2604
2605 * math/gen-libm-test.pl (@functions): Remove variable.
2606 (generate_testfile): Don't handle START and END lines.
2607 * math/libm-test.inc (START): New macro.
2608 (END): Likewise.
2609 (END_COMPLEX): Likewise.
2610 (acos_test): Use END macro without arguments.
2611 (acos_test_tonearest): Likewise.
2612 (acos_test_towardzero): Likewise.
2613 (acos_test_downward): Likewise.
2614 (acos_test_upward): Likewise.
2615 (acosh_test): Likewise.
2616 (asin_test): Likewise.
2617 (asin_test_tonearest): Likewise.
2618 (asin_test_towardzero): Likewise.
2619 (asin_test_downward): Likewise.
2620 (asin_test_upward): Likewise.
2621 (asinh_test): Likewise.
2622 (atan_test): Likewise.
2623 (atanh_test): Likewise.
2624 (atan2_test): Likewise.
2625 (cabs_test): Likewise.
2626 (cacos_test): Use END_COMPLEX macro without arguments.
2627 (cacosh_test): Likewise.
2628 (carg_test): Use END macro without arguments.
2629 (casin_test): Use END_COMPLEX macro without arguments.
2630 (casinh_test): Likewise.
2631 (catan_test): Likewise.
2632 (catanh_test): Likewise.
2633 (cbrt_test): Use END macro without arguments.
2634 (ccos_test): Use END_COMPLEX macro without arguments.
2635 (ccosh_test): Likewise.
2636 (ceil_test): Use END macro without arguments.
2637 (cexp_test): Use END_COMPLEX macro without arguments.
2638 (cimag_test): Use END macro without arguments.
2639 (clog_test): Use END_COMPLEX macro without arguments.
2640 (clog10_test): Likewise.
2641 (conj_test): Likewise.
2642 (copysign_test): Use END macro without arguments.
2643 (cos_test): Likewise.
2644 (cos_test_tonearest): Likewise.
2645 (cos_test_towardzero): Likewise.
2646 (cos_test_downward): Likewise.
2647 (cos_test_upward): Likewise.
2648 (cosh_test): Likewise.
2649 (cosh_test_tonearest): Likewise.
2650 (cosh_test_towardzero): Likewise.
2651 (cosh_test_downward): Likewise.
2652 (cosh_test_upward): Likewise.
2653 (cpow_test): Use END_COMPLEX macro without arguments.
2654 (cproj_test): Likewise.
2655 (creal_test): Use END macro without arguments.
2656 (csin_test): Use END_COMPLEX macro without arguments.
2657 (csinh_test): Likewise.
2658 (csqrt_test): Likewise.
2659 (ctan_test): Likewise.
2660 (ctan_test_tonearest): Likewise.
2661 (ctan_test_towardzero): Likewise.
2662 (ctan_test_downward): Likewise.
2663 (ctan_test_upward): Likewise.
2664 (ctanh_test): Likewise.
2665 (ctanh_test_tonearest): Likewise.
2666 (ctanh_test_towardzero): Likewise.
2667 (ctanh_test_downward): Likewise.
2668 (ctanh_test_upward): Likewise.
2669 (erf_test): Use END macro without arguments.
2670 (erfc_test): Likewise.
2671 (exp_test): Likewise.
2672 (exp_test_tonearest): Likewise.
2673 (exp_test_towardzero): Likewise.
2674 (exp_test_downward): Likewise.
2675 (exp_test_upward): Likewise.
2676 (exp10_test): Likewise.
2677 (exp2_test): Likewise.
2678 (expm1_test): Likewise.
2679 (fabs_test): Likewise.
2680 (fdim_test): Likewise.
2681 (finite_test): Likewise.
2682 (floor_test): Likewise.
2683 (fma_test): Likewise.
2684 (fma_test_towardzero): Likewise.
2685 (fma_test_downward): Likewise.
2686 (fma_test_upward): Likewise.
2687 (fmax_test): Likewise.
2688 (fmin_test): Likewise.
2689 (fmod_test): Likewise.
2690 (fpclassify_test): Likewise.
2691 (frexp_test): Likewise.
2692 (gamma_test): Likewise.
2693 (hypot_test): Likewise.
2694 (ilogb_test): Likewise.
2695 (isfinite_test): Likewise.
2696 (isgreater_test): Likewise.
2697 (isgreaterequal_test): Likewise.
2698 (isinf_test): Likewise.
2699 (isless_test): Likewise.
2700 (islessequal_test): Likewise.
2701 (islessgreater_test): Likewise.
2702 (isnan_test): Likewise.
2703 (isnormal_test): Likewise.
2704 (issignaling_test): Likewise.
2705 (isunordered_test): Likewise.
2706 (j0_test): Likewise.
2707 (j1_test): Likewise.
2708 (jn_test): Likewise.
2709 (ldexp_test): Likewise.
2710 (lgamma_test): Likewise.
2711 (lrint_test): Likewise.
2712 (lrint_test_tonearest): Likewise.
2713 (lrint_test_towardzero): Likewise.
2714 (lrint_test_downward): Likewise.
2715 (lrint_test_upward): Likewise.
2716 (llrint_test): Likewise.
2717 (llrint_test_tonearest): Likewise.
2718 (llrint_test_towardzero): Likewise.
2719 (llrint_test_downward): Likewise.
2720 (llrint_test_upward): Likewise.
2721 (log_test): Likewise.
2722 (log10_test): Likewise.
2723 (log1p_test): Likewise.
2724 (log2_test): Likewise.
2725 (logb_test): Likewise.
2726 (logb_test_downward): Likewise.
2727 (lround_test): Likewise.
2728 (llround_test): Likewise.
2729 (modf_test): Likewise.
2730 (nearbyint_test): Likewise.
2731 (nextafter_test): Likewise.
2732 (nexttoward_test): Likewise.
2733 (pow_test): Likewise.
2734 (pow_test_tonearest): Likewise.
2735 (pow_test_towardzero): Likewise.
2736 (pow_test_downward): Likewise.
2737 (pow_test_upward): Likewise.
2738 (remainder_test): Likewise.
2739 (remainder_test_tonearest): Likewise.
2740 (remainder_test_towardzero): Likewise.
2741 (remainder_test_downward): Likewise.
2742 (remainder_test_upward): Likewise.
2743 (remquo_test): Likewise.
2744 (rint_test): Likewise.
2745 (rint_test_tonearest): Likewise.
2746 (rint_test_towardzero): Likewise.
2747 (rint_test_downward): Likewise.
2748 (rint_test_upward): Likewise.
2749 (round_test): Likewise.
2750 (scalb_test): Likewise.
2751 (scalbn_test): Likewise.
2752 (scalbln_test): Likewise.
2753 (signbit_test): Likewise.
2754 (sin_test): Likewise.
2755 (sin_test_tonearest): Likewise.
2756 (sin_test_towardzero): Likewise.
2757 (sin_test_downward): Likewise.
2758 (sin_test_upward): Likewise.
2759 (sincos_test): Likewise.
2760 (sinh_test): Likewise.
2761 (sinh_test_tonearest): Likewise.
2762 (sinh_test_towardzero): Likewise.
2763 (sinh_test_downward): Likewise.
2764 (sinh_test_upward): Likewise.
2765 (sqrt_test): Likewise.
2766 (tan_test): Likewise.
2767 (tan_test_tonearest): Likewise.
2768 (tan_test_towardzero): Likewise.
2769 (tan_test_downward): Likewise.
2770 (tan_test_upward): Likewise.
2771 (tanh_test): Likewise.
2772 (tgamma_test): Likewise.
2773 (trunc_test): Likewise.
2774 (y0_test): Likewise.
2775 (y1_test): Likewise.
2776 (yn_test): Likewise.
2777 (significand_test): Likewise.
2778
27792013-05-24 Ondřej Bílka <neleai@seznam.cz>
2780
2781 [BZ #15381]
2782 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2783
27842013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2785
2786 [BZ #14894]
2787 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2788 __ppc_mdoio and __ppc_mdoom.
2789 * manual/platform.texi: Document new functions __ppc_yield,
2790 __ppc_mdoio and __ppc_mdoom.
2791
27922013-05-22 Carlos O'Donell <carlos@redhat.com>
2793
2794 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2795 (main): Mention "tls" pseudo-hwcap is legacy.
2796 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2797
27982013-05-22 Joseph Myers <joseph@codesourcery.com>
2799
2800 * math/gen-libm-test.pl (parse_args): Output only string of
2801 arguments as text for test name, not full call or descriptions of
2802 tests for extra outputs.
2803 (generate_testfile): Do not pass function name to parse_args.
2804 Generate this_func variable from START.
2805 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2806 field to arg_str.
2807 (struct test_ff_f_data): Likewise.
2808 (test_ff_f_data_nexttoward): Likewise.
2809 (struct test_fi_f_data): Likewise.
2810 (struct test_fl_f_data): Likewise.
2811 (struct test_if_f_data): Likewise.
2812 (struct test_fff_f_data): Likewise.
2813 (struct test_c_f_data): Likewise.
2814 (struct test_f_f1_data): Likewise. Remove field extra_name.
2815 (struct test_fF_f1_data): Likewise.
2816 (struct test_ffI_f1_data): Likewise.
2817 (struct test_c_c_data): Rename test_name field to arg_str.
2818 (struct test_cc_c_data): Likewise.
2819 (struct test_f_i_data): Likewise.
2820 (struct test_ff_i_data): Likewise.
2821 (struct test_f_l_data): Likewise.
2822 (struct test_f_L_data): Likewise.
2823 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2824 and extra2_name.
2825 (COMMON_TEST_SETUP): New macro.
2826 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2827 (COMMON_TEST_CLEANUP): Likewise.
2828 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2829 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2830 macros.
2831 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2832 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2833 macros.
2834 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2835 (RUN_TEST_fff_f): Take argument string. Call new setup and
2836 cleanup macros.
2837 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2838 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2839 macros.
2840 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2841 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2842 macros.
2843 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2844 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2845 cleanup macros.
2846 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2847 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2848 cleanup macros.
2849 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2850 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2851 cleanup macros.
2852 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2853 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2854 macros.
2855 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2856 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2857 macros.
2858 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2859 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2860 macros.
2861 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2862 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2863 cleanup macros.
2864 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2865 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2866 cleanup macros.
2867 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2868 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2869 macros.
2870 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2871 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2872 cleanup macros.
2873 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2874 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2875 macros.
2876 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2877 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2878 macros.
2879 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2880 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2881 cleanup macros.
2882 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2883
28842013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2885
2886 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2887 to _sifields.sigfault.
2888 (si_addr_lsb): Define new macro.
2889 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2890 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2891 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2892
28932013-05-03 Carlos O'Donell <carlos at redhat.com>
2894
2895 [BZ #15441]
2896 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2897 returns -1.
2898 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2899 null return -1.
2900 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2901 loading the domain.
2902
29032013-05-22 Joseph Myers <joseph@codesourcery.com>
2904
2905 * math/gen-libm-test.pl (parse_args): Do not include expected
2906 result in test name.
2907 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2909 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2910 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2911 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2913
29142013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2915
2916 * benchtests/Makefile: Sort function entries.
2917
2918 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2919 tanh, asinh, acosh, atanh.
2920 * benchtests/acos-inputs: New file.
2921 * benchtests/acosh-inputs: New file.
2922 * benchtests/asin-inputs: New file.
2923 * benchtests/asinh-inputs: New file.
2924 * benchtests/atanh-inputs: New file.
2925 * benchtests/cosh-inputs: New file.
2926 * benchtests/log-inputs: New file.
2927 * benchtests/sinh-inputs: New file.
2928 * benchtests/tanh-inputs: New file.
2929
29302013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2931
2932 [BZ #15339]
2933 * posix/tst-getaddrinfo4.c: New test.
2934 * posix/Makefile (tests): Add it.
2935
29362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2937
2938 [BZ #15339]
2939 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2940 when no services were used.
2941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2942 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2943
29442013-05-21 Andreas Schwab <schwab@suse.de>
2945
2946 [BZ #15014]
2947 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2948 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2949 successful.
2950 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2951 redundant variable declarations and reallocation of buffer when
2952 parsing as IPv6 address. Always set NSS status when called from
2953 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2954 buffer too small. Correct computation of needed size.
2955 * nss/Makefile (tests): Add test-digits-dots.
2956 * nss/test-digits-dots.c: New test.
2957
29582013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2959
2960 * benchtests/Makefile: Remove instructions for adding
2961 benchmark tests.
2962 * benchtests/README: New file to explain how to execute and
2963 enhance the benchmark tests.
2964
29652013-05-21 Andreas Schwab <schwab@suse.de>
2966
2967 [BZ #15493]
2968 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2969 * setjmp/tst-sigsetjmp.c: New test.
2970
29712013-05-20 Ondřej Bílka <neleai@seznam.cz>
2972
2973 * sysdeps/x86_64/memset.S (memset): New implementation.
2974 (__bzero): Likewise.
2975 (__memset_tail): New function.
2976
29772013-05-20 Ondřej Bílka <neleai@seznam.cz>
2978
2979 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2980 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2981 __memcpy_sse2_unaligned ifunc selection.
2982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2983 Add memcpy-sse2-unaligned.S.
2984 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2985 Add: __memcpy_sse2_unaligned.
2986
29872013-05-19 Joseph Myers <joseph@codesourcery.com>
2988
2989 [BZ #15490]
2990 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2991 math_force_eval before restoring floating-point envrionment.
2992 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2994 Likewise.
2995 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2996 <math_private.h>.
2997 (__nearbyintl): Use math_force_eval before restoring
2998 floating-point environment.
2999 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3000
3001 * math/gen-libm-test.pl (special_functions): Remove.
3002 (parse_args): Don't handle TEST_extra. Handle functions with no
3003 return value.
3004 * math/libm-test.inc (struct test_sincos_data): Replace with
3005 struct test_fFF_11_data.
3006 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3007 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3008 (sincos_test_data): Change element type to struct
3009 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3010 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3011 RUN_TEST_LOOP_sincos.
3012 * math/README.libm-test: Don't mention special handling of
3013 individual functions.
3014 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3016 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3017 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3018 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3020
3021 * math/gen-libm-test.pl (get_variable): Remove function.
3022 (parse_args): Don't show pointer parameters to call in test
3023 names. Use "extra output N" in test names for extra outputs
3024 rather than naming variables.
3025
30262013-05-18 Joseph Myers <joseph@codesourcery.com>
3027
3028 [BZ #15488]
3029 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3030 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3031 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3032 double tests.
3033 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3034 disable.
3035 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3036 check_long_double.
3037
3038 * math/gen-libm-test.pl (@tests): Remove variable.
3039 ($count): Likewise.
3040 (new_test): Remove function.
3041 (show_exceptions): New function.
3042 (special_functions): Use show_exceptions instead of new_test.
3043 (parse_args): Likewise.
3044 (generate_testfile): Pass only function name in generated call to
3045 print_max_error or print_complex_max_error.
3046 (get_ulps): Do not handle complex tests specially.
3047 (output_test): Rename to ...
3048 (get_all_ulps_for_test): ... this. Return a string rather than
3049 printing to a file. Require ulps to be present.
3050 (output_ulps): Generate arrays rather than #defines.
3051 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3052 (struct ulp_data): New type.
3053 (BUILD_COMPLEX_ULP): Remove macro.
3054 (compare_ulp_data): New function.
3055 (find_ulps): Likewise.
3056 (find_test_ulps): Likewise.
3057 (find_function_ulps): Likewise.
3058 (find_complex_function_ulps): Likewise.
3059 (print_max_error): Determine allowed ulps using
3060 find_function_ulps.
3061 (print_complex_max_error): Determine allowed ulps using
3062 find_complex_function_ulps.
3063 (check_float_internal): Determine max ulps using find_test_ulps.
3064 (check_float): Do not take max_ulp parameter. Update call to
3065 check_float_internal.
3066 (check_complex): Likewise.
3067 (check_int): Do not take max_ulp parameter.
3068 (check_long): Likewise.
3069 (check_bool): Likewise.
3070 (check_longlong): Likewise.
3071 (struct test_f_f_data): Remove max_ulp field.
3072 (struct test_ff_f_data): Likewise.
3073 (struct test_ff_f_data_nexttoward): Likewise.
3074 (struct test_fi_f_data): Likewise.
3075 (struct test_fl_f_data): Likewise.
3076 (struct test_if_f_data): Likewise.
3077 (struct test_fff_f_data): Likewise.
3078 (struct test_c_f_data): Likewise.
3079 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3080 (struct test_fF_f1_data): Likewise.
3081 (struct test_ffI_f1_data): Likewise.
3082 (struct test_c_c_data): Remove max_ulp field.
3083 (struct test_cc_c_data): Likewise.
3084 (struct test_f_i_data): Likewise.
3085 (struct test_ff_i_data): Likewise.
3086 (struct test_f_l_data): Likewise.
3087 (struct test_f_L_data): Likewise.
3088 (struct test_sincos_data): Likewise.
3089 (RUN_TEST_f_f): Do not handle ulps.
3090 (RUN_TEST_LOOP_f_f): Likewise.
3091 (RUN_TEST_2_f): Likewise.
3092 (RUN_TEST_LOOP_2_f): Likewise.
3093 (RUN_TEST_fff_f): Likewise.
3094 (RUN_TEST_LOOP_fff_f): Likewise.
3095 (RUN_TEST_c_f): Likewise.
3096 (RUN_TEST_LOOP_c_f): Likewise.
3097 (RUN_TEST_f_f1): Likewise.
3098 (RUN_TEST_LOOP_f_f1): Likewise.
3099 (RUN_TEST_fF_f1): Likewise.
3100 (RUN_TEST_LOOP_fF_f1): Likewise.
3101 (RUN_TEST_fI_f1): Likewise.
3102 (RUN_TEST_LOOP_fI_f1): Likewise.
3103 (RUN_TEST_ffI_f1): Likewise.
3104 (RUN_TEST_LOOP_ffI_f1): Likewise.
3105 (RUN_TEST_c_c): Likewise.
3106 (RUN_TEST_LOOP_c_c): Likewise.
3107 (RUN_TEST_cc_c): Likewise.
3108 (RUN_TEST_LOOP_cc_c): Likewise.
3109 (RUN_TEST_f_i): Likewise.
3110 (RUN_TEST_LOOP_f_i): Likewise.
3111 (RUN_TEST_f_i_tg): Likewise.
3112 (RUN_TEST_LOOP_f_i_tg): Likewise.
3113 (RUN_TEST_ff_i_tg): Likewise.
3114 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3115 (RUN_TEST_f_b): Likewise.
3116 (RUN_TEST_LOOP_f_b): Likewise.
3117 (RUN_TEST_f_b_tg): Likewise.
3118 (RUN_TEST_LOOP_f_b_tg): Likewise.
3119 (RUN_TEST_f_l): Likewise.
3120 (RUN_TEST_LOOP_f_l): Likewise.
3121 (RUN_TEST_f_L): Likewise.
3122 (RUN_TEST_LOOP_f_L): Likewise.
3123 (RUN_TEST_sincos): Likewise.
3124 (RUN_TEST_LOOP_sincos): Likewise.
3125
31262013-05-17 Joseph Myers <joseph@codesourcery.com>
3127
3128 [BZ #15480]
3129 [BZ #15485]
3130 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3131 main case of finite arguments, set rounding mode to FE_TONEAREST
3132 and discard exceptions.
3133 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3134 exceptions.
3135 (remainder_tonearest_test_data): New variable.
3136 (remainder_test_tonearest): New function.
3137 (remainder_towardzero_test_data): New variable.
3138 (remainder_test_towardzero): New function.
3139 (remainder_downward_test_data): New variable.
3140 (remainder_test_downward): New function.
3141 (remainder_upward_test_data): New variable.
3142 (remainder_test_upward): New function.
3143 (main): Call the new test functions.
3144
3145 * math/libm-test.inc (struct test_f_f1_data): Remove field
3146 extra_init.
3147 (struct test_fF_f1_data): Likewise.
3148 (struct test_ffI_f1_data): Likewise.
3149 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3150 based on value of EXTRA_EXPECTED.
3151 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3152 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3153 EXTRA_VAR based on value of EXTRA_EXPECTED.
3154 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3155 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3156 EXTRA_VAR based on value of EXTRA_EXPECTED.
3157 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3158 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3159 EXTRA_VAR based on value of EXTRA_EXPECTED.
3160 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3161 * math/gen-libm-test.pl (parse_args): Don't output initializers
3162 for extra output values.
3163
3164 * math/libm-test.inc (check_int): Expect result to be exactly
3165 equal to expected value and do not handle ulps.
3166 (check_long): Likewise.
3167 (check_longlong): Likewise.
3168
3169 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3170 exceptions.
3171 (cimag_test_data): Likewise.
3172 (conj_test_data): Likewise.
3173 (copysign_test_data): Likewise.
3174 (cproj_test_data): Likewise.
3175 (creal_test_data): Likewise.
3176 (fabs_test_data): Likewise.
3177 (fdim_test_data): Likewise.
3178 (finite_test_data): Likewise.
3179 (floor_test_data): Likewise.
3180 (fmax_test_data): Likewise.
3181 (fmin_test_data): Likewise.
3182 (fmod_test_data): Likewise.
3183 (fpclassify_test_data): Likewise.
3184 (frexp_test_data): Likewise.
3185 (ilogb_test_data): Likewise.
3186 (isfinite_test_data): Likewise.
3187 (isgreater_test_data): Likewise.
3188 (isgreaterequal_test_data): Likewise.
3189 (isinf_test_data): Likewise.
3190 (isless_test_data): Likewise.
3191 (islessequal_test_data): Likewise.
3192 (islessgreater_test_data): Likewise.
3193 (isnan_test_data): Likewise.
3194 (isnormal_test_data): Likewise.
3195 (issignaling_test_data): Likewise.
3196 (isunordered_test_data): Likewise.
3197 (ldexp_test_data): Likewise.
3198 (lrint_test_data): Likewise.
3199 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3200 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3201 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3202 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3203 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3204 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3205 test input.
3206 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3207 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3208 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3209 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3210 that test input.
3211 (lrint_downward_test_data): Test for "inexact" exceptions.
3212 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3213 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3214 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3215 test input.
3216 (lrint_upward_test_data): Test for "inexact" exceptions.
3217 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3218 test input.
3219 (llrint_test_data): Test for "inexact" exceptions.
3220 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3221 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3222 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3223 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3224 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3225 (llrint_downward_test_data): Test for "inexact" exceptions.
3226 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3227 (llrint_upward_test_data): Test for "inexact" exceptions.
3228 (logb_test_data): Likewise.
3229 (logb_downward_test_data): Likewise.
3230 (nextafter_test_data): Likewise.
3231 (nexttoward_test_data): Likewise.
3232 (remainder_test_data): Likewise.
3233 (remquo_test_data): Likewise.
3234 (scalbn_test_data): Likewise.
3235 (scalbln_test_data): Likewise.
3236 (signbit_test_data): Likewise.
3237 (sqrt_test_data): Likewise.
3238 (significand_test_data): Likewise.
3239
32402013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3241
3242 [BZ #15424]
3243 * benchtests/bench-modf.c (struct args): Mark arg0 as
3244 volatile.
3245 * scripts/bench.pl: Mark members of struct args as volatile.
3246
32472013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3248
3249 [BZ # 15497]
3250 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3251 negative infinity on POWER6 or lower.
3252 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3253
32542013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3255
3256 [BZ #15442]
3257 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3258 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3259 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3260 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3261 (_FP_SETQNAN): New macro.
3262 (_FP_SETQNAN_SEMIRAW): Likewise.
3263 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3264 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3265 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3266 (FP_EXTEND): Use _FP_FRAC_SNANP.
3267 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3268 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3269 into account.
3270 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3271 New macro.
3272 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3273 Likewise.
3274
32752013-05-16 Joseph Myers <joseph@codesourcery.com>
3276
3277 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3278 with DIVIDE_BY_ZERO_EXCEPTION.
3279 (gamma_test_data): Likewise.
3280 (lgamma_test_data): Likewise.
3281 (log_test_data): Likewise.
3282 (log10_test_data): Likewise.
3283 (log2_test_data): Likewise.
3284 (tgamma_test_data): Likewise.
3285
3286 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3287 (acos_test_tonearest): Likewise.
3288 (acos_test_towardzero): Likewise.
3289 (acos_test_downward): Likewise.
3290 (acos_test_upward): Likewise.
3291 (acosh_test): Likewise.
3292 (asin_test): Likewise.
3293 (asin_test_tonearest): Likewise.
3294 (asin_test_towardzero): Likewise.
3295 (asin_test_downward): Likewise.
3296 (asin_test_upward): Likewise.
3297 (asinh_test): Likewise.
3298 (atan_test): Likewise.
3299 (atanh_test): Likewise.
3300 (atan2_test): Likewise.
3301 (cabs_test): Likewise.
3302 (cacos_test): Likewise.
3303 (cacosh_test): Likewise.
3304 (casin_test): Likewise.
3305 (casinh_test): Likewise.
3306 (catan_test): Likewise.
3307 (catanh_test): Likewise.
3308 (cbrt_test): Likewise.
3309 (ccos_test): Likewise.
3310 (ccosh_test): Likewise.
3311 (cexp_test): Likewise.
3312 (clog_test): Likewise.
3313 (clog10_test): Likewise.
3314 (cos_test): Likewise.
3315 (cos_test_tonearest): Likewise.
3316 (cos_test_towardzero): Likewise.
3317 (cos_test_downward): Likewise.
3318 (cos_test_upward): Likewise.
3319 (cosh_test): Likewise.
3320 (cosh_test_tonearest): Likewise.
3321 (cosh_test_towardzero): Likewise.
3322 (cosh_test_downward): Likewise.
3323 (cosh_test_upward): Likewise.
3324 (cpow_test): Likewise.
3325 (csin_test): Likewise.
3326 (csinh_test): Likewise.
3327 (csqrt_test): Likewise.
3328 (ctan_test): Likewise.
3329 (ctan_test_tonearest): Likewise.
3330 (ctan_test_towardzero): Likewise.
3331 (ctan_test_downward): Likewise.
3332 (ctan_test_upward): Likewise.
3333 (ctanh_test): Likewise.
3334 (ctanh_test_tonearest): Likewise.
3335 (ctanh_test_towardzero): Likewise.
3336 (ctanh_test_downward): Likewise.
3337 (ctanh_test_upward): Likewise.
3338 (erf_test): Likewise.
3339 (erfc_test): Likewise.
3340 (exp_test): Likewise.
3341 (exp_test_tonearest): Likewise.
3342 (exp_test_towardzero): Likewise.
3343 (exp_test_downward): Likewise.
3344 (exp_test_upward): Likewise.
3345 (exp10_test): Likewise.
3346 (exp2_test): Likewise.
3347 (expm1_test): Likewise.
3348 (fmod_test): Likewise.
3349 (gamma_test): Likewise.
3350 (hypot_test): Likewise.
3351 (j0_test): Likewise.
3352 (j1_test): Likewise.
3353 (jn_test): Likewise.
3354 (lgamma_test): Likewise.
3355 (log_test): Likewise.
3356 (log10_test): Likewise.
3357 (log1p_test): Likewise.
3358 (log2_test): Likewise.
3359 (logb_test_downward): Likewise.
3360 (pow_test): Likewise.
3361 (pow_test_tonearest): Likewise.
3362 (pow_test_towardzero): Likewise.
3363 (pow_test_downward): Likewise.
3364 (pow_test_upward): Likewise.
3365 (remainder_test): Likewise.
3366 (remquo_test): Likewise.
3367 (sin_test): Likewise.
3368 (sin_test_tonearest): Likewise.
3369 (sin_test_towardzero): Likewise.
3370 (sin_test_downward): Likewise.
3371 (sin_test_upward): Likewise.
3372 (sincos_test): Likewise.
3373 (sinh_test): Likewise.
3374 (sinh_test_tonearest): Likewise.
3375 (sinh_test_towardzero): Likewise.
3376 (sinh_test_downward): Likewise.
3377 (sinh_test_upward): Likewise.
3378 (sqrt_test): Likewise.
3379 (tan_test): Likewise.
3380 (tan_test_tonearest): Likewise.
3381 (tan_test_towardzero): Likewise.
3382 (tan_test_downward): Likewise.
3383 (tan_test_upward): Likewise.
3384 (tanh_test): Likewise.
3385 (tgamma_test): Likewise.
3386 (y0_test): Likewise.
3387 (y1_test): Likewise.
3388 (yn_test): Likewise.
3389
3390 * math/gen-libm-test.pl (adjust_arg): Remove function.
3391 (special_function): Remove argument $in_func. Only handle
3392 generating output for tables of tests, not inside functions.
3393 (parse_args): Likewise.
3394 (generate_testfile): Remove variable $in_func. Update call to
3395 parse_args.
3396 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
3397 (MINUS_ZERO_INIT): Rename macro to minus_zero.
3398 (PLUS_INFTY_INIT): Rename macro to plus_infty.
3399 (MINUS_INFTY_INIT): Rename macro to minus_infty.
3400 (QNAN_VALUE_INIT): Rename macro to qnan_value.
3401 (MAX_VALUE_INIT): Rename macro to max_value.
3402 (MIN_VALUE_INIT): Rename macro to min_value.
3403 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
3404 (plus_zero): Remove variable.
3405 (minus_zero): Likewise.
3406 (plus_infty): Likewise.
3407 (minus_infty): Likewise.
3408 (qnan_value): Likewise.
3409 (max_value): Likewise.
3410 (min_value): Likewise.
3411 (min_subnorm_value): Likewise.
3412
34132013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3414
3415 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
3416 uint64_t or uint32_t usage.
3417 * crypt/sha256-block.c: Likewise.
3418 * crypt/sha256-crypt.c: Likewise.
3419 * crypt/sha256.c: Likewise.
3420 * crypt/sha512-block.c: Likewise.
3421 * crypt/sha512-crypt.c: Likewise.
3422 * crypt/sha512.c: Likewise.
3423 * debug/backtrace-tst.c: Likewise.
3424 * debug/pcprofiledump.c: Likewise.
3425 * elf/cache.c: Likewise.
3426 * elf/dl-cache.c: Likewise.
3427 * elf/dl-misc.c: Likewise.
3428 * elf/dl-profile.c: Likewise.
3429 * elf/dl-support.c: Likewise.
3430 * elf/ldconfig.c: Likewise.
3431 * elf/sprof.c: Likewise.
3432 * iconv/dummy-repertoire.c: Likewise.
3433 * iconv/iconv_charmap.c: Likewise.
3434 * iconv/skeleton.c: Likewise.
3435 * iconvdata/8bit-generic.c: Likewise.
3436 * iconvdata/cp737.h: Likewise.
3437 * iconvdata/cp775.h: Likewise.
3438 * iconvdata/ibm1008.h: Likewise.
3439 * iconvdata/ibm1025.h: Likewise.
3440 * iconvdata/ibm1046.h: Likewise.
3441 * iconvdata/ibm1097.h: Likewise.
3442 * iconvdata/ibm1112.h: Likewise.
3443 * iconvdata/ibm1122.h: Likewise.
3444 * iconvdata/ibm1123.h: Likewise.
3445 * iconvdata/ibm1124.h: Likewise.
3446 * iconvdata/ibm1129.h: Likewise.
3447 * iconvdata/ibm1130.h: Likewise.
3448 * iconvdata/ibm1132.h: Likewise.
3449 * iconvdata/ibm1133.h: Likewise.
3450 * iconvdata/ibm1137.h: Likewise.
3451 * iconvdata/ibm1140.h: Likewise.
3452 * iconvdata/ibm1141.h: Likewise.
3453 * iconvdata/ibm1142.h: Likewise.
3454 * iconvdata/ibm1143.h: Likewise.
3455 * iconvdata/ibm1144.h: Likewise.
3456 * iconvdata/ibm1145.h: Likewise.
3457 * iconvdata/ibm1146.h: Likewise.
3458 * iconvdata/ibm1147.h: Likewise.
3459 * iconvdata/ibm1148.h: Likewise.
3460 * iconvdata/ibm1149.h: Likewise.
3461 * iconvdata/ibm1153.h: Likewise.
3462 * iconvdata/ibm1154.h: Likewise.
3463 * iconvdata/ibm1155.h: Likewise.
3464 * iconvdata/ibm1156.h: Likewise.
3465 * iconvdata/ibm1157.h: Likewise.
3466 * iconvdata/ibm1158.h: Likewise.
3467 * iconvdata/ibm1160.h: Likewise.
3468 * iconvdata/ibm1161.h: Likewise.
3469 * iconvdata/ibm1162.h: Likewise.
3470 * iconvdata/ibm1163.h: Likewise.
3471 * iconvdata/ibm1164.h: Likewise.
3472 * iconvdata/ibm1166.h: Likewise.
3473 * iconvdata/ibm1167.h: Likewise.
3474 * iconvdata/ibm12712.h: Likewise.
3475 * iconvdata/ibm1390.h: Likewise.
3476 * iconvdata/ibm1399.h: Likewise.
3477 * iconvdata/ibm16804.h: Likewise.
3478 * iconvdata/ibm4517.h: Likewise.
3479 * iconvdata/ibm4899.h: Likewise.
3480 * iconvdata/ibm4909.h: Likewise.
3481 * iconvdata/ibm4971.h: Likewise.
3482 * iconvdata/ibm5347.h: Likewise.
3483 * iconvdata/ibm803.h: Likewise.
3484 * iconvdata/ibm856.h: Likewise.
3485 * iconvdata/ibm901.h: Likewise.
3486 * iconvdata/ibm902.h: Likewise.
3487 * iconvdata/ibm9030.h: Likewise.
3488 * iconvdata/ibm9066.h: Likewise.
3489 * iconvdata/ibm921.h: Likewise.
3490 * iconvdata/ibm922.h: Likewise.
3491 * iconvdata/ibm9448.h: Likewise.
3492 * iconvdata/isiri-3342.h: Likewise.
3493 * iconvdata/jis0201.h: Likewise.
3494 * include/link.h: Likewise.
3495 * include/netdb.h: Likewise.
3496 * inet/check_native.c: Likewise.
3497 * inet/check_pf.c: Likewise.
3498 * inet/getipv4sourcefilter.c: Likewise.
3499 * inet/getnameinfo.c: Likewise.
3500 * inet/getsourcefilter.c: Likewise.
3501 * inet/htonl.c: Likewise.
3502 * inet/setipv4sourcefilter.c: Likewise.
3503 * inet/setsourcefilter.c: Likewise.
3504 * inet/test-inet6_opt.c: Likewise.
3505 * inet/tst-network.c: Likewise.
3506 * locale/C-collate.c: Likewise.
3507 * locale/C-ctype.c: Likewise.
3508 * locale/C-time.c: Likewise.
3509 * locale/C-translit.h: Likewise.
3510 * locale/loadarchive.c: Likewise.
3511 * locale/programs/3level.h: Likewise.
3512 * locale/programs/charmap.c: Likewise.
3513 * locale/programs/charmap.h: Likewise.
3514 * locale/programs/ld-address.c: Likewise.
3515 * locale/programs/ld-collate.c: Likewise.
3516 * locale/programs/ld-ctype.c: Likewise.
3517 * locale/programs/ld-identification.c: Likewise.
3518 * locale/programs/ld-measurement.c: Likewise.
3519 * locale/programs/ld-messages.c: Likewise.
3520 * locale/programs/ld-monetary.c: Likewise.
3521 * locale/programs/ld-name.c: Likewise.
3522 * locale/programs/ld-numeric.c: Likewise.
3523 * locale/programs/ld-paper.c: Likewise.
3524 * locale/programs/ld-telephone.c: Likewise.
3525 * locale/programs/ld-time.c: Likewise.
3526 * locale/programs/linereader.c: Likewise.
3527 * locale/programs/locale.c: Likewise.
3528 * locale/programs/locarchive.c: Likewise.
3529 * locale/programs/locfile.h: Likewise.
3530 * locale/programs/repertoire.c: Likewise.
3531 * locale/programs/simple-hash.c: Likewise.
3532 * locale/programs/simple-hash.h: Likewise.
3533 * malloc/memusage.c: Likewise.
3534 * malloc/memusagestat.c: Likewise.
3535 * nis/nis_defaults.c: Likewise.
3536 * nis/nis_hash.c: Likewise.
3537 * nis/nis_print.c: Likewise.
3538 * nis/nis_xdr.c: Likewise.
3539 * nscd/connections.c: Likewise.
3540 * nscd/hstcache.c: Likewise.
3541 * nscd/nscd_gethst_r.c: Likewise.
3542 * nscd/nscd_getserv_r.c: Likewise.
3543 * nscd/nscd_helper.c: Likewise.
3544 * nscd/servicescache.c: Likewise.
3545 * nss/makedb.c: Likewise.
3546 * nss/nss_db/db-XXX.c: Likewise.
3547 * nss/nss_db/db-initgroups.c: Likewise.
3548 * nss/nss_db/db-netgrp.c: Likewise.
3549 * nss/nss_files/files-network.c: Likewise.
3550 * nss/nss_files/files-parse.c: Likewise.
3551 * posix/bug-regex5.c: Likewise.
3552 * posix/fnmatch_loop.c: Likewise.
3553 * posix/regcomp.c: Likewise.
3554 * posix/regexec.c: Likewise.
3555 * posix/tst-rfc3484-2.c: Likewise.
3556 * posix/tst-rfc3484-3.c: Likewise.
3557 * posix/tst-rfc3484.c: Likewise.
3558 * resolv/nss_dns/dns-canon.c: Likewise.
3559 * resolv/nss_dns/dns-network.c: Likewise.
3560 * resolv/res_init.c: Likewise.
3561 * resolv/res_mkquery.c: Likewise.
3562 * resolv/tst-aton.c: Likewise.
3563 * stdlib/cxa_atexit.c: Likewise.
3564 * stdlib/cxa_finalize.c: Likewise.
3565 * stdlib/gen-fpioconst.c: Likewise.
3566 * stdlib/strtol_l.c: Likewise.
3567 * string/tst-endian.c: Likewise.
3568 * sunrpc/auth_des.c: Likewise.
3569 * sunrpc/clnt_udp.c: Likewise.
3570 * sunrpc/rtime.c: Likewise.
3571 * sunrpc/svcauth_des.c: Likewise.
3572 * sunrpc/xdr.c: Likewise.
3573 * sunrpc/xdr_intXX_t.c: Likewise.
3574 * sunrpc/xdr_rec.c: Likewise.
3575 * sysdeps/generic/ldconfig.h: Likewise.
3576 * sysdeps/generic/ldsodefs.h: Likewise.
3577 * sysdeps/generic/memusage.h: Likewise.
3578 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3579 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
3580 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
3581 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3587 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3588 * sysdeps/posix/getaddrinfo.c: Likewise.
3589 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3590 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3591 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
3592 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
3593 * sysdeps/powerpc/test-gettimebase.c: Likewise.
3594 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3595 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
3596 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
3597 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
3599 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3600 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3601 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
3602 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
3603 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
3604 * sysdeps/x86_64/dl-tls.h: Likewise.
3605 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
3606 * time/alt_digit.c: Likewise.
3607 * time/era.c: Likewise.
3608 * wcsmbs/tst-c16c32-1.c: Likewise.
3609
36102013-05-16 Joseph Myers <joseph@codesourcery.com>
3611
3612 * math/libm-test.inc (struct test_sincos_data): New type.
3613 (RUN_TEST_LOOP_sincos): New macro.
3614 (sincos_test_data): New variable.
3615 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
3616
36172013-05-16 Richard Henderson <rth@redhat.com>
3618
3619 * math/atest-exp2.c (LIMB64): New macro.
3620 (CONSTSZ): New macro.
3621 (mp_exp1, mp_exp_m1, mp_log2): New variables.
3622 (hexdig): Move ...
3623 (print_mpn_fp): ... to function scope.
3624 (read_mpn_hex): Remove.
3625 (get_log2): Remove.
3626 (exp2_mpn): Use mp_log2.
3627 (main): Use mp_exp1.
3628
36292013-05-16 Joseph Myers <joseph@codesourcery.com>
3630
3631 * math/libm-test.inc: Remove comment about not testing "inexact"
3632 exceptions.
3633 (INEXACT_EXCEPTION): New macro.
3634 (NO_INEXACT_EXCEPTION): Likewise.
3635 (INVALID_EXCEPTION_OK): Update value.
3636 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3637 (OVERFLOW_EXCEPTION_OK): Likewise.
3638 (UNDERFLOW_EXCEPTION_OK): Likewise.
3639 (IGNORE_ZERO_INF_SIGN): Likewise.
3640 (ERRNO_UNCHANGED): Likewise.
3641 (ERRNO_EDOM): Likewise.
3642 (ERRNO_ERANGE): Likewise.
3643 (test_exceptions): Handle testing "inexact" exceptions.
3644 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
3645 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
3646 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
3647 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
3648 INEXACT_EXCEPTION.
3649 (rint_towardzero_test_data): Likewise.
3650 (rint_downward_test_data): Likewise.
3651 (rint_upward_test_data): Likewise.
3652
3653 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
3654 with OVERFLOW_EXCEPTION.
3655 (exp10_test_data): Likewise.
3656 (exp2_test_data): Likewise.
3657 (expm1_test_data): Likewise.
3658 (lgamma_test_data): Likewise.
3659 (pow_test_data): Likewise.
3660 (tgamma_test_data): Likewise.
3661 (yn_test_data): Remove duplicate test of overflow.
3662
3663 * math/libm-test.inc (struct test_cc_c_data): New type.
3664 (RUN_TEST_LOOP_cc_c): New macro.
3665 (cpow_test_data): New variable.
3666 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3667
3668 * math/libm-test.inc (struct test_f_L_data): New type.
3669 (RUN_TEST_LOOP_f_L): New macro.
3670 (llrint_test_data): New variable.
3671 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3672 (llrint_tonearest_test_data): New variable.
3673 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3674 (llrint_towardzero_test_data): New variable.
3675 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3676 (llrint_downward_test_data): New variable.
3677 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3678 (llrint_upward_test_data): New variable.
3679 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3680 (llround_test_data): New variable.
3681 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3682
36832013-05-13 Peter Collingbourne <pcc@google.com>
3684
3685 * math/atest-exp2.c (get_log2): Remove const attribute.
3686
36872013-05-15 Joseph Myers <joseph@codesourcery.com>
3688
3689 * math/libm-test.inc (struct test_f_l_data): New type.
3690 (RUN_TEST_LOOP_f_l): New macro.
3691 (lrint_test_data): New variable.
3692 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3693 (lrint_tonearest_test_data): New variable.
3694 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3695 (lrint_towardzero_test_data): New variable.
3696 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3697 (lrint_downward_test_data): New variable.
3698 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3699 (lrint_upward_test_data): New variable.
3700 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3701 (lround_test_data): New variable.
3702 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3703
37042013-05-15 Peter Collingbourne <pcc@google.com>
3705
3706 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3707 (EXTRACT_WORDS64) Use where appropriate.
3708 (INSERT_WORDS64) Likewise.
3709
3710 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3711 constraints with x constraints.
3712 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3713
3714 * malloc/obstack.c (_obstack_compat): Add initializer.
3715
37162013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3717
3718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3719 si_trapno and add si_addr_lsb to _sifields.sigfault.
3720 (si_trapno): Remove macro.
3721 (si_addr_lsb): Define new macro.
3722 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3723
37242013-05-15 Joseph Myers <joseph@codesourcery.com>
3725
3726 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3727 instead of TEST_f_l.
3728 (llrint_test_tonearest): Likewise.
3729 (llrint_test_towardzero): Likewise.
3730 (llrint_test_downward): Likewise.
3731 (llrint_test_upward): Likewise.
3732 (llround_test): Likewise.
3733
3734 * math/libm-test.inc (struct test_f_i_data): Add comment.
3735 (RUN_TEST_LOOP_f_b): New macro.
3736 (RUN_TEST_LOOP_f_b_tg): Likewise.
3737 (finite_test_data): New variable.
3738 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3739 (isfinite_test_data): New variable.
3740 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3741 (isinf_test_data): New variable.
3742 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3743 (isnan_test_data): New variable.
3744 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3745 (isnormal_test_data): New variable.
3746 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3747 (issignaling_test_data): New variable.
3748 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3749 (signbit_test_data): New variable.
3750 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3751
3752 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3753 with INVALID_EXCEPTION.
3754 (acosh_test_data): Likewise.
3755 (asin_test_data): Likewise.
3756 (atanh_test_data): Likewise.
3757 (fmod_test_data): Likewise.
3758 (log_test_data): Likewise.
3759 (log10_test_data): Likewise.
3760 (log2_test_data): Likewise.
3761 (pow_test_data): Likewise.
3762 (sqrt_test_data): Likewise.
3763 (y0_test_data): Likewise.
3764 (y1_test_data): Likewise.
3765 (yn_test_data): Likewise.
3766
3767 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3768 function contents.
3769
3770 * math/libm-test.inc (struct test_ff_i_data): New type.
3771 (RUN_TEST_LOOP_ff_i_tg): New macro.
3772 (isgreater_test_data): New variable.
3773 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3774 (isgreaterequal_test_data): New variable.
3775 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3776 (isless_test_data): New variable.
3777 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3778 (islessequal_test_data): New variable.
3779 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3780 (islessgreater_test_data): New variable.
3781 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3782 (isunordered_test_data): New variable.
3783 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3784
37852013-05-14 David S. Miller <davem@davemloft.net>
3786
3787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3788
37892013-05-14 Joseph Myers <joseph@codesourcery.com>
3790
3791 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3792
3793 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3794 extra_test to int.
3795 (struct test_f_i_data): Change type of max_ulp to int.
3796
3797 * math/libm-test.inc (test_ffI_f1_data): New type.
3798 (RUN_TEST_LOOP_ffI_f1): New macro.
3799 (remquo_test_data): New variable.
3800 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3801
3802 * setjmp/tst-setjmp-fp.c: New file.
3803 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3804 (link-libm): New variable.
3805 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3806
3807 * math/libm-test.inc (struct test_f_i_data): New type.
3808 (RUN_TEST_LOOP_f_i): New macro.
3809 (RUN_TEST_LOOP_f_i_tg): Likewise.
3810 (fpclassify_test_data): New variable.
3811 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3812 (ilogb_test_data): New variable.
3813 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3814
3815 * math/libm-test.inc (scalbln_test): Correct function name in END
3816 call.
3817
3818 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3819 (RUN_TEST_LOOP_fI_f1): New macro.
3820 (frexp_test_data): New variable.
3821 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3822
3823 * math/libm-test.inc (struct test_fF_f1_data): New type.
3824 (RUN_TEST_LOOP_fF_f1): New macro.
3825 (modf_test_data): New variable.
3826 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3827
3828 * math/libm-test.inc (struct test_f_f1_data): New type.
3829 (RUN_TEST_LOOP_f_f1): New macro.
3830 (gamma_test_data): New variable.
3831 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3832 (lgamma_test_data): New variable.
3833 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3834
38352013-05-13 Carlos O'Donell <carlos@redhat.com>
3836
3837 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3838 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3839 (main): Comment "tls" pseudo-hwcap.
3840
38412013-05-13 Joseph Myers <joseph@codesourcery.com>
3842
3843 * math/libm-test.inc (struct test_fl_f_data): New type.
3844 (RUN_TEST_LOOP_fl_f): New variable.
3845 (scalbln_test_data): New variable.
3846 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3847
3848 * math/libm-test.inc (struct test_fi_f_data): New type.
3849 (RUN_TEST_LOOP_fi_f): New macro.
3850 (ldexp_test_data): New variable.
3851 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3852 (scalbn_test_data): New variable.
3853 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3854
3855 * math/libm-test.inc (struct test_c_f_data): New type.
3856 (RUN_TEST_LOOP_c_f): New macro.
3857 (cabs_test_data): New variable.
3858 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3859 (carg_test_data): New variable.
3860 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3861 (cimag_test_data): New variable.
3862 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3863 (creal_test_data): New variable.
3864 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3865
3866 * math/libm-test.inc (struct test_if_f_data): New type.
3867 (RUN_TEST_LOOP_if_f): New macro.
3868 (jn_test_data): New variable.
3869 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3870 (yn_test_data): New variable.
3871 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3872
3873 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3874
38752013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3876
3877 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3878 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3879
38802013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3881
3882 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3883 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3884 (bench-deps): Add bench-timing.h.
3885 * benchtests-bench-skeleton.c: Include bench-timing.h.
3886 (main): Use TIMING_* macros instead of clock_gettime.
3887 * benchtests/bench-timing.h: New file.
3888
3889 [BZ #14582]
3890 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3891 Renamed from _LIB_VERSION.
3892 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3893
38942013-05-12 Joseph Myers <joseph@codesourcery.com>
3895
3896 * math/libm-test.inc (struct test_fff_f_data): New type.
3897 (RUN_TEST_LOOP_fff_f): New macro.
3898 (fma_test_data): New variable.
3899 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3900 (fma_towardzero_test_data): New variable.
3901 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3902 (fma_downward_test_data): New variable.
3903 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3904 (fma_upward_test_data): New variable.
3905 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3906
3907 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3908 (struct test_c_c_data): New type.
3909 (RUN_TEST_LOOP_c_c): New macro.
3910 (cacos_test_data): New variable.
3911 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3912 (cacosh_test_data): New variable.
3913 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3914 (casin_test_data): New variable.
3915 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3916 (casinh_test_data): New variable.
3917 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3918 (catan_test_data): New variable.
3919 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3920 (catanh_test_data): New variable.
3921 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3922 (ccos_test_data): New variable.
3923 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3924 (ccosh_test_data): New variable.
3925 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3926 (cexp_test_data): New variable.
3927 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3928 (clog_test_data): New variable.
3929 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3930 (clog10_test_data): New variable.
3931 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3932 (conj_test_data): New variable.
3933 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3934 (cproj_test_data): New variable.
3935 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3936 (csin_test_data): New variable.
3937 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3938 (csinh_test_data): New variable.
3939 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3940 (csqrt_test_data): New variable.
3941 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3942 (ctan_test_data): New variable.
3943 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3944 (ctan_tonearest_test_data): New variable.
3945 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3946 (ctan_towardzero_test_data): New variable.
3947 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3948 (ctan_downward_test_data): New variable.
3949 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3950 (ctan_upward_test_data): New variable.
3951 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3952 (ctanh_test_data): New variable.
3953 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3954 (ctanh_tonearest_test_data): New variable.
3955 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3956 (ctanh_towardzero_test_data): New variable.
3957 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3958 (ctanh_downward_test_data): New variable.
3959 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3960 (ctanh_upward_test_data): New variable.
3961 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3962 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3963 of BUILD_COMPLEX.
3964
3965 * math/libm-test.inc (struct test_ff_f_data): New type.
3966 (struct test_ff_f_data_nexttoward): Likewise.
3967 (RUN_TEST_LOOP_2_f): New macro.
3968 (RUN_TEST_LOOP_ff_f): Likewise.
3969 (atan2_test_data): New variable.
3970 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3971 (copysign_test_data): New variable.
3972 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3973 (fdim_test_data): New variable.
3974 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3975 (fmax_test_data): New variable.
3976 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3977 (fmin_test_data): New variable.
3978 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3979 (fmod_test_data): New variable.
3980 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3981 (hypot_test_data): New variable.
3982 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3983 (nextafter_test_data): New variable.
3984 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3985 (nexttoward_test_data): New variable.
3986 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3987 (pow_test_data): New variable.
3988 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3989 (pow_tonearest_test_data): New variable.
3990 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3991 (pow_towardzero_test_data): New variable.
3992 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3993 (pow_downward_test_data): New variable.
3994 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3995 (pow_upward_test_data): New variable.
3996 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3997 (remainder_test_data): New variable.
3998 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3999 (scalb_test_data): New variable.
4000 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4001 * sysdeps/i386/fpu/libm-test-ulps: Update.
4002
40032013-05-11 Joseph Myers <joseph@codesourcery.com>
4004
4005 * math/libm-test.inc (fma_test): Use max_value instead of local
4006 variable fltmax.
4007 (nextafter_test): Likewise.
4008
4009 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4010 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4011 (acos_downward_test_data): New variable.
4012 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4013 (acos_upward_test_data): New variable.
4014 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4015 (acosh_test_data): New variable.
4016 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4017 (asin_test_data): New variable.
4018 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4019 (asin_tonearest_test_data): New variable.
4020 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4021 (asin_towardzero_test_data): New variable.
4022 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4023 (asin_downward_test_data): New variable.
4024 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4025 (asin_upward_test_data): New variable.
4026 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4027 (asinh_test_data): New variable.
4028 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4029 (atan_test_data): New variable.
4030 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4031 (atanh_test_data): New variable.
4032 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4033 (cbrt_test_data): New variable.
4034 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4035 (ceil_test_data): New variable.
4036 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4037 (cos_test_data): New variable.
4038 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4039 (cos_tonearest_test_data): New variable.
4040 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4041 (cos_towardzero_test_data): New variable.
4042 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4043 (cos_downward_test_data): New variable.
4044 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4045 (cos_upward_test_data): New variable.
4046 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4047 (cosh_test_data): New variable.
4048 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4049 (cosh_tonearest_test_data): New variable.
4050 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4051 (cosh_towardzero_test_data): New variable.
4052 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4053 (cosh_downward_test_data): New variable.
4054 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4055 (cosh_upward_test_data): New variable.
4056 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4057 (erf_test_data): New variable.
4058 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4059 (erfc_test_data): New variable.
4060 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4061 (exp_test_data): New variable.
4062 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4063 (exp_tonearest_test_data): New variable.
4064 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4065 (exp_towardzero_test_data): New variable.
4066 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4067 (exp_downward_test_data): New variable.
4068 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4069 (exp_upward_test_data): New variable.
4070 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4071 (exp10_test_data): New variable.
4072 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4073 (exp2_test_data): New variable.
4074 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4075 (expm1_test_data): New variable.
4076 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4077 (fabs_test_data): New variable.
4078 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4079 (floor_test_data): New variable.
4080 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4081 (j0_test_data): New variable.
4082 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4083 (j1_test_data): New variable.
4084 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4085 (log_test_data): New variable.
4086 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4087 (log10_test_data): New variable.
4088 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4089 (log1p_test_data): New variable.
4090 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4091 (log2_test_data): New variable.
4092 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4093 (logb_test_data): New variable.
4094 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4095 (logb_downward_test_data): New variable.
4096 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4097 (nearbyint_test_data): New variable.
4098 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4099 (rint_test_data): New variable.
4100 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4101 (rint_tonearest_test_data): New variable.
4102 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4103 (rint_towardzero_test_data): New variable.
4104 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4105 (rint_downward_test_data): New variable.
4106 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4107 (rint_upward_test_data): New variable.
4108 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4109 (round_test_data): New variable.
4110 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4111 (sin_test_data): New variable.
4112 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4113 (sin_tonearest_test_data): New variable.
4114 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4115 (sin_towardzero_test_data): New variable.
4116 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4117 (sin_downward_test_data): New variable.
4118 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4119 (sin_upward_test_data): New variable.
4120 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4121 (sinh_test_data): New variable.
4122 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4123 (sinh_tonearest_test_data): New variable.
4124 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4125 (sinh_towardzero_test_data): New variable.
4126 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4127 (sinh_downward_test_data): New variable.
4128 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4129 (sinh_upward_test_data): New variable.
4130 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4131 (sqrt_test_data): New variable.
4132 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4133 (tan_test_data): New variable.
4134 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4135 (tan_tonearest_test_data): New variable.
4136 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4137 (tan_towardzero_test_data): New variable.
4138 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4139 (tan_downward_test_data): New variable.
4140 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4141 (tan_upward_test_data): New variable.
4142 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4143 (tanh_test_data): New variable.
4144 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4145 (tgamma_test_data): New variable.
4146 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4147 (trunc_test_data): New variable.
4148 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4149 (y0_test_data): New variable.
4150 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4151 (y1_test_data): New variable.
4152 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4153 (significand_test_data): New variable.
4154 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4155
41562013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4157
4158 [BZ #12387]
4159 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4160
41612013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4162
4163 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4164
41652013-05-10 Andreas Jaeger <aj@suse.de>
4166
4167 [BZ #15448]
4168 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4169 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4170
41712013-05-10 Joseph Myers <joseph@codesourcery.com>
4172
4173 * math/gen-libm-test.pl (adjust_arg): New function.
4174 (special_functions): Handle generating output in both functions
4175 and arrays.
4176 (parse_args): Likewise.
4177 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4178 $in_func argument to parse_args.
4179 * math/libm-test.inc (struct test_f_f_data): New type.
4180 (IF_ROUND_INIT_): New macro.
4181 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4182 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4183 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4184 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4185 (ROUND_RESTORE_): Likewise.
4186 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4187 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4188 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4189 (ROUND_RESTORE_FE_UPWARD): Likewise.
4190 (RUN_TEST_LOOP_f_f): New macro.
4191 (acos_test_data): New variable.
4192 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4193 (acos_tonearest_test_data): New variable.
4194 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4195
41962013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4197
4198 * benchtests/bench-skeleton.c (startup): Fix coding style.
4199
42002013-05-10 Joseph Myers <joseph@codesourcery.com>
4201
4202 [BZ #6809]
4203 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4204 negative infinity argument.
4205 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4206 negative infinity argument.
4207 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4208 negative infinity argument.
4209 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4210 domain errors.
4211
42122013-05-10 Florian Weimer <fweimer@redhat.com>
4213
4214 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4215 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4216 * iconv/iconv_prog.c (main): Likewise.
4217 * locale/programs/charmap-dir.c (charmap_readdir)
4218 (fopen_uncompressed): Likewise.
4219 * locale/programs/locfile.c (siblings_uncached)
4220 (write_locale_data): Use lstat64 instead of lstat.
4221 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4222 stat.
4223
42242013-05-10 Andreas Jaeger <aj@suse.de>
4225
4226 [BZ #15395]
4227 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4228 localization.
4229 Include <locale.h>.
4230
42312013-05-09 Carlos O'Donell <carlos@redhat.com>
4232
4233 * elf/dl-close.c (_dl_close_worker): Add comments.
4234
42352013-05-09 Joseph Myers <joseph@codesourcery.com>
4236
4237 [BZ #15359]
4238 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4239 high part of pi/2.
4240 (__ieee754_rem_pio2l): Update comments.
4241
4242 [BZ #15429]
4243 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4244 high part of pi/2.
4245 (__ieee754_rem_pio2l): Update comments.
4246
4247 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4248 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4249
4250 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4251 M_PI_4l.
4252
4253 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4254 (M_PI_34_LOG10El): Likewise.
4255 (M_PI2_LOG10El): Likewise.
4256 (M_PI4_LOG10El): Likewise.
4257 (M_PI_LOG10El): Likewise.
4258
42592013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4260
4261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4262
42632013-05-08 Joseph Myers <joseph@codesourcery.com>
4264
4265 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4266 (MINUS_ZERO_INIT): Likewise.
4267 (PLUS_INFTY_INIT): Likewise.
4268 (MINUS_INFTY_INIT): Likewise.
4269 (QNAN_VALUE_INIT): Likewise.
4270 (MAX_VALUE_INIT): Likewise.
4271 (MIN_VALUE_INIT): Likewise.
4272 (MIN_SUBNORM_VALUE_INIT): Likewise.
4273 (plus_zero): Initialize with PLUS_ZERO_INIT.
4274 (minus_zero): Initialize with MINUS_ZERO_INIT.
4275 (plus_infty): Initialize with PLUS_INFTY_INIT.
4276 (minus_infty): Initialize with MINUS_INFTY_INIT.
4277 (qnan_value): Initialize with QNAN_VALUE_INIT.
4278 (max_value): Initialize with MAX_VALUE_INIT.
4279 (min_value): Initialize with MIN_VALUE_INIT.
4280 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4281
4282 * math/libm-test.inc (RUN_TEST_if_f): New macro.
4283 (jn_test): Use TEST_if_f instead of TEST_ff_f.
4284 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4285 (yn_test): Use TEST_if_f instead of TEST_ff_f.
4286
4287 * math/libm-test.inc (RUN_TEST_f_f): New macro.
4288 (RUN_TEST_2_f): Likewise.
4289 (RUN_TEST_ff_f): Likewise.
4290 (RUN_TEST_fi_f): Likewise.
4291 (RUN_TEST_fl_f): Likewise.
4292 (RUN_TEST_fff_f): Likewise.
4293 (RUN_TEST_c_f): Likewise.
4294 (RUN_TEST_f_f1): Likewise.
4295 (RUN_TEST_fF_f1): Likewise.
4296 (RUN_TEST_fI_f1): Likewise.
4297 (RUN_TEST_ffI_f1): Likewise.
4298 (RUN_TEST_c_c): Likewise.
4299 (RUN_TEST_cc_c): Likewise.
4300 (RUN_TEST_f_i): Likewise.
4301 (RUN_TEST_f_i_tg): Likewise.
4302 (RUN_TEST_ff_i_tg): Likewise.
4303 (RUN_TEST_f_b): Likewise.
4304 (RUN_TEST_f_b_tg): Likewise.
4305 (RUN_TEST_f_l): Likewise.
4306 (RUN_TEST_f_L): Likewise.
4307 (RUN_TEST_sincos): Likewise.
4308 * math/gen-libm-test.pl (new_test): Take new argument to indicate
4309 whether to show exceptions. Do not include ");\n" in return
4310 value.
4311 (special_functions): Output call to RUN_TEST_sincos instead of
4312 check_float calls. Update calls to new_test.
4313 (parse_args): Output call to single RUN_TEST_* macro instead of
4314 check_* calls and other assignments. Update calls to new_test.
4315
4316 [BZ #2546]
4317 [BZ #2560]
4318 [BZ #5159]
4319 [BZ #15426]
4320 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4321 input to result for tgamma overflow.
4322 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4323 (gamma_coeff): New variable.
4324 (NCOEFF): New macro.
4325 (gamma_positive): New function.
4326 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4327 underflow here. Use gamma_positive instead of exp (lgamma) for
4328 other arguments.
4329 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
4330 (gamma_coeff): New variable.
4331 (NCOEFF): New macro.
4332 (gammaf_positive): New function.
4333 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
4334 underflow here. Use gamma_positive instead of exp (lgamma) for
4335 other arguments.
4336 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
4337 (gamma_coeff): New variable.
4338 (NCOEFF): New macro.
4339 (gammal_positive): New function.
4340 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
4341 underflow here. Use gamma_positive instead of exp (lgamma) for
4342 other arguments.
4343 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
4344 (gamma_coeff): New variable.
4345 (NCOEFF): New macro.
4346 (gammal_positive): New function.
4347 (__ieee754_gammal_r): Handle positive infinity, overflow and
4348 underflow here. Handle NaN the same as positive infinity. Remove
4349 check x < 0xffffffff for negative integers. Use gamma_positive
4350 instead of exp (lgamma) for other arguments.
4351 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
4352 (gamma_coeff): New variable.
4353 (NCOEFF): New macro.
4354 (gammal_positive): New function.
4355 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
4356 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4360 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
4361 * sysdeps/generic/math_private.h (__gamma_productf): New
4362 prototype.
4363 (__gamma_product): Likewise.
4364 (__gamma_productl): Likewise.
4365 * math/Makefile (libm-calls): Add gamma_product.
4366 * math/libm-test.inc (tgamma_test): Add more tests.
4367 * sysdeps/i386/fpu/libm-test-ulps: Update.
4368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4369
43702013-05-08 Ondřej Bílka <neleai@seznam.cz>
4371
4372 * benchtests/bench-skeleton.c (main): Preheat CPU.
4373
43742013-05-07 Aurelien Jarno <aurelien@aurel32.net>
4375
4376 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
4377
43782013-05-07 Roland McGrath <roland@hack.frob.com>
4379
4380 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
4381 and _dl_skip_args_internal.
4382
43832013-05-07 Carlos O'Donell <carlos@redhat.com>
4384
4385 * manual/message.texi (Message Translation): Talk about users.
4386 Message to key mapping impacts design.
4387
43882013-05-06 Roland McGrath <roland@hack.frob.com>
4389
4390 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
4391
4392 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
4393
4394 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
4395 * sysdeps/wordsize-64/glob64.c: ... here.
4396
4397 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
4398 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
4399 New macros.
4400
4401 * debug/getlogin_r_chk.c: Moved to ...
4402 * login/getlogin_r_chk.c: ... here.
4403 * debug/Makefile (routines): Move getlogin_r_chk to ...
4404 * login/Makefile (routines): ... here.
4405 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
4406 * login/Versions (libc: GLIBC_2.4): ... here.
4407
4408 * io/poll.c (__poll): Renamed from poll.
4409 Add libc_hidden_def.
4410 (poll): Define as weak alias.
4411
4412 * debug/ptsname_r_chk.c: Moved to ...
4413 * login/ptsname_r_chk.c: ... here.
4414 * debug/Makefile (routines): Move ptsname_r_chk to ...
4415 * login/Makefile (routines): ... here.
4416 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
4417 * login/Versions (libc: GLIBC_2.4): ... here.
4418
4419 * posix/getlogin.c: Moved to ...
4420 * login/getlogin.c: ... here.
4421 * posix/getlogin_r.c: Moved to ...
4422 * login/getlogin_r.c: ... here.
4423 * posix/getlogin_r.c: Moved to ...
4424 * login/getlogin_r.c: ... here.
4425 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
4426 * login/Makefile (routines): ... here.
4427 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
4428 * login/Versions (libc: GLIBC_2.0): ... here.
4429
4430 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
4431 (setrlimit): Define as weak alias.
4432
4433 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
4434 Call __ names for open, ftruncate, and close.
4435 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
4436 (truncate): Define as weak alias.
4437
44382013-05-06 Joseph Myers <joseph@codesourcery.com>
4439
4440 * math/gen-libm-test.pl (parse_args): Initialize x before each
4441 test of frexp, modf and remquo.
4442
4443 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
4444 test signgam value.
4445
44462013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4447
4448 [BZ #15418]
4449 [BZ #15419]
4450 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
4451 internal tests.
4452 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4453
44542013-05-06 Roland McGrath <roland@hack.frob.com>
4455
4456 * elf/dl-writev.h: New file.
4457 * elf/dl-misc.c: Include it.
4458 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
4459 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
4460
44612013-05-04 Joseph Myers <joseph@codesourcery.com>
4462
4463 * math/libm-test.inc (noXFails): Remove variable.
4464 (noXPasses): Likewise.
4465 (BUILD_COMPLEX_INT): Remove macro.
4466 (print_screen): Remove xfail argument.
4467 (print_screen_max_error): Likewise.
4468 (update_stats): Likewise.
4469 (print_max_error): Likewise. Update calls to other affected
4470 functions.
4471 (print_complex_max_error): Likewise.
4472 (test_single_exception): Update calls to print_screen.
4473 (test_single_errno): Likewise.
4474 (check_float_internal): Remove xfail argument. Update calls to
4475 other affected functions.
4476 (check_float): Likewise.
4477 (check_complex): Likewise.
4478 (check_int): Likewise.
4479 (check_long): Likewise.
4480 (check_bool): Likewise.
4481 (check_longlong): Likewise.
4482 (main): Don't print noXFails and noXPasses.
4483 * math/gen-libm-test.pl (top level): Don't mention expected
4484 failure handling in comment.
4485 (new_test): Don't handle expected failures.
4486 (parse_args): Don't mention expected failure handling in comment.
4487 (generate_testfile): Don't handle expected failures.
4488 (parse_ulps): Likewise.
4489 (print_ulps_file): Likewise.
4490 (get_failure): Remove function.
4491 (output_test): Don't handle expected failures.
4492 * make/README.libm-test: Don't mention expected failure handling.
4493
4494 * math/libm-test.inc (plus_zero): Make const. Add initializer.
4495 (minus_zero): Likewise.
4496 (plus_infty): Likewise.
4497 (minus_infty): Likewise.
4498 (qnan_value): Likewise.
4499 (max_value): Likewise.
4500 (min_value): Likewise.
4501 (min_subnorm_value): Likewise.
4502 (initialize): Do not initialize those variables dynamically.
4503
45042013-05-03 Roland McGrath <roland@hack.frob.com>
4505
4506 * io/open.c (__open_2): Moved to ...
4507 * io/open_2.c: ... this new file.
4508 * io/open64.c (__open64_2): Moved to ...
4509 * io/open64_2.c: ... this new file.
4510 * io/openat.c (__openat_2): Moved to ...
4511 * io/openat_2.c: ... this new file.
4512 * io/openat64.c (__openat64_2): Moved to ...
4513 * io/openat64_2.c: ... this new file.
4514 * io/Makefile (routines): Add them.
4515 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
4516 * sysdeps/unix/sysv/linux/open_2.c: File removed.
4517 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
4518 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
4519 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
4520 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
4521 (__openat64): Add hidden_ver.
4522 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
4523 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
4524
4525 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
4526 Separately conditionalize setting of GLRO(dl_sysinfo) so
4527 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
4528 as well, but the actual setting is only under [NEED_DL_SYSINFO].
4529
45302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4531
4532 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
4533 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
4534 definition.
4535 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
4536 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4537 (_libc_vdso_platform_setup): Add __vdso_time initialization.
4538 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
4539 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
4540
45412013-05-03 Joseph Myers <joseph@codesourcery.com>
4542
4543 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
4544 test signgam value.
4545
4546 * math/libm-test.inc (hypot_test): Do not use
4547 IGNORE_ZERO_INF_SIGN.
4548
45492013-05-03 Andreas Jaeger <aj@suse.de>
4550
4551 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
4552 Linux 3.9.
4553 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
4554 (PF_MAX): Adjust for VSOCK change.
4555
45562013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4557
4558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4559
45602013-05-02 Carlos O'Donell <carlos@redhat.com>
4561
4562 [BZ #15264]
4563 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
4564 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
4565 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
4566
45672013-05-02 David S. Miller <davem@davemloft.net>
4568
4569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4570
45712013-05-01 Ondřej Bílka <neleai@seznam.cz>
4572
4573 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
4574
45752013-05-01 Roland McGrath <roland@hack.frob.com>
4576
4577 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
4578
45792013-05-01 Richard Smith <richard@metafoo.co.uk>
4580
4581 [BZ #14952]
4582 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
4583 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4584 Use __attribute__ ((__gnu_inline__)).
4585 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
4586 Don't use __attribute__ ((__gnu_inline__)).
4587
45882013-05-01 Joseph Myers <joseph@codesourcery.com>
4589
4590 [BZ #15423]
4591 * math/s_catan.c (__catan): Handle small real or imaginary part of
4592 input specially to avoid spurious underflow.
4593 * math/s_catanf.c (__catanf): Likewise.
4594 * math/s_catanh.c (__catanh): Likewise.
4595 * math/s_catanhf.c (__catanhf): Likewise.
4596 * math/s_catanhl.c (__catanhl): Likewise.
4597 * math/s_catanl.c (__catanl): Likewise.
4598 * math/libm-test.inc (catan_test): Add more tests.
4599 (catanh_test): Likewise.
4600 * sysdeps/i386/fpu/libm-test-ulps: Update.
4601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4602
46032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4604
4605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4606
46072013-04-30 Joseph Myers <joseph@codesourcery.com>
4608
4609 [BZ #15416]
4610 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
4611 accurately for denominator in atan2.
4612 * math/s_catanf.c (__catanf): Likewise.
4613 * math/s_catanh.c (__catanh): Likewise.
4614 * math/s_catanhf.c (__catanhf): Likewise.
4615 * math/s_catanhl.c (__catanhl): Likewise.
4616 * math/s_catanl.c (__catanl): Likewise.
4617 * math/libm-test.inc (catan_test): Add more tests.
4618 (catanh_test): Likewise.
4619 * sysdeps/i386/fpu/libm-test-ulps: Update.
4620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4621
46222013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4623
4624 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
4625
4626 * benchtests/Makefile (bench): Remove slow benchmarks.
4627 * benchtests/atan-inputs: Add slow benchmark inputs.
4628 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
4629 (BENCH_FUNC): Accept variant offset.
4630 (VARIANT): Define.
4631 * benchtests/bench-skeleton.c (main): Run benchmark for each
4632 variant.
4633 * benchtests/cos-inputs: Add slow benchmark inputs.
4634 * benchtests/exp-inputs: Likewise.
4635 * benchtests/pow-inputs: Likewise.
4636 * benchtests/sin-inputs: Likewise.
4637 * benchtests/slowatan-inputs: Remove.
4638 * benchtests/slowatan.c: Remove.
4639 * benchtests/slowcos-inputs: Remove.
4640 * benchtests/slowcos.c: Remove.
4641 * benchtests/slowexp-inputs: Remove.
4642 * benchtests/slowexp.c: Remove.
4643 * benchtests/slowpow-inputs: Remove.
4644 * benchtests/slowpow.c: Remove.
4645 * benchtests/slowsin-inputs: Remove.
4646 * benchtests/slowsin.c: Remove.
4647 * benchtests/slowtan-inputs: Remove.
4648 * benchtests/slowtan.c: Remove.
4649 * benchtests/tan-inputs: Add slow benchmark inputs.
4650 * scripts/bench.pl: Parse comments and directives.
4651
4652 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
4653 in CPPFLAGS.
4654 ($(objpfx)bench-%.c): Remove *-ITER.
4655 * benchtests/bench-modf.c: Remove definition of ITER.
4656 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
4657 (main): Loop for DURATION seconds instead of fixed number of
4658 iterations.
4659 * scripts/bench.pl: Don't expect iterations in parameters.
4660
46612013-04-29 Roland McGrath <roland@hack.frob.com>
4662
4663 * io/fchdir.c (__fchdir): Renamed from fchdir.
4664 (fchdir): Define as weak alias.
4665
46662013-04-29 Joseph Myers <joseph@codesourcery.com>
4667
4668 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4669 (ERRNO_EDOM): Likewise.
4670 (ERRNO_ERANGE): Likewise.
4671 (noErrnoTests): New variable.
4672 (init_max_error): Set errno to 0.
4673 (test_single_errno): New function.
4674 (test_errno): Likewise.
4675 (check_float_internal): Call test_errno. Set errno to 0.
4676 (check_complex): Refer to errno tests in comment.
4677 (check_int): Call test_errno. Set errno to 0.
4678 (check_long): Likewise.
4679 (check_bool): Likewise.
4680 (check_longlong): Likewise.
4681 (cos_test): Use ERRNO_* flags for errno tests instead of
4682 check_int.
4683 (expm1_test): Likewise.
4684 (fmod_test): Likewise.
4685 (ilogb_test): Likewise.
4686 (lgamma_test): Likewise.
4687 (pow_test): Likewise.
4688 (remainder_test): Likewise.
4689 (sin_test): Likewise.
4690 (tan_test): Likewise.
4691 (yn_test): Likewise.
4692 (initialize): Set errno to 0.
4693 (main): Print number of errno tests.
4694 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4695
46962013-04-29 Andreas Jaeger <aj@suse.de>
4697
4698 [BZ #15084]
4699 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4700 and RES_USEVC.
4701
4702 [BZ #15085]
4703 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4704 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4705 unimplemented.
4706
4707 [BZ #15380]
4708 * stdlib/random.c (__initstate): Return NULL if
4709 __initstate fails.
4710
4711 [BZ #15086]
4712 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4713 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4714 RES_SNGLKUPREOP.
4715
47162013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4717
4718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4719
47202013-04-29 Joseph Myers <joseph@codesourcery.com>
4721
4722 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4723 of individual tests.
4724 (casin_test): Likewise.
4725 (casinh_test): Likewise.
4726
47272013-04-27 Joseph Myers <joseph@codesourcery.com>
4728
4729 [BZ #15409]
4730 * math/s_catan.c (__catan): Handle arguments with large real or
4731 imaginary part separately without squaring.
4732 * math/s_catanf.c (__catanf): Likewise.
4733 * math/s_catanh.c (__catanh): Likewise.
4734 * math/s_catanhf.c (__catanhf): Likewise.
4735 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4736 and redefine.
4737 (__catanhl): Handle arguments with large real or imaginary part
4738 separately without squaring.
4739 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4740 and redefine.
4741 (__catanl): Handle arguments with large real or imaginary part
4742 separately without squaring.
4743 * math/libm-test.inc (catan_test): Add more tests.
4744 (catanh_test): Likewise.
4745 * sysdeps/i386/fpu/libm-test-ulps: Update.
4746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4747
47482013-04-27 Andreas Jaeger <aj@suse.de>
4749
4750 [BZ #15007]
4751 * stdlib/stdlib.h: Update guards for qecvt.
4752 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4753 <stdlib.h>.
4754
47552013-04-27 Allan McRae <allan@archlinux.org>
4756
4757 * sysdeps/i386/fpu/libm-test-ulps: Update.
4758
47592013-04-26 Joseph Myers <joseph@codesourcery.com>
4760
4761 [BZ #15406]
4762 * math/s_catan.c: Include <float.h>.
4763 (__catan): Ensure underflow exception occurs for underflowed
4764 result.
4765 * math/s_catanf.c: Include <float.h>.
4766 (__catanf): Ensure underflow exception occurs for underflowed
4767 result.
4768 * math/s_catanh.c: Include <float.h>.
4769 (__catanh): Ensure underflow exception occurs for underflowed
4770 result.
4771 * math/s_catanhf.c: Include <float.h>.
4772 (__catanhf): Ensure underflow exception occurs for underflowed
4773 result.
4774 * math/s_catanhl.c: Include <float.h>.
4775 (__catanhl): Ensure underflow exception occurs for underflowed
4776 result.
4777 * math/s_catanl.c: Include <float.h>.
4778 (__catanl): Ensure underflow exception occurs for underflowed
4779 result.
4780 * math/libm-test.inc (catan_test): Add more tests.
4781 (catanh_test): Likewise.
4782
4783 [BZ #15405]
4784 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4785 underflowed result.
4786 * math/s_ccoshf.c (__ccoshf): Likewise.
4787 * math/s_ccoshl.c (__ccoshl): Likewise.
4788 * math/s_csin.c (__csin): Likewise.
4789 * math/s_csinf.c (__csinf): Likewise.
4790 * math/s_csinh.c (__csinh): Likewise.
4791 * math/s_csinhf.c (__csinhf): Likewise.
4792 * math/s_csinhl.c (__csinhl): Likewise.
4793 * math/s_csinl.c (__csinl): Likewise.
4794 * math/libm-test.inc (ccos_test): Add more tests.
4795 (ccosh_test): Likewise.
4796 (csin_test): Likewise.
4797 (csinh_test): Likewise.
4798
47992013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4800
4801 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4802 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4803 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4804 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4805 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4806 powerpc/power5+/fpu folders.
4807 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4808
4809
48102013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4811
4812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4813
48142013-04-25 Joseph Myers <joseph@codesourcery.com>
4815
4816 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4817 additions to variable.
4818 [$(config-machine) = x86_64] (modules-names): Likewise.
4819 ($(objpfx)tst-audit3): Remove dependency.
4820 ($(objpfx)tst-audit3.out): Likewise.
4821 ($(objpfx)tst-audit4): Likewise.
4822 ($(objpfx)tst-audit4.out): Likewise.
4823 ($(objpfx)tst-audit5): Likewise.
4824 ($(objpfx)tst-audit5.out): Likewise.
4825 ($(objpfx)tst-audit6): Likewise.
4826 ($(objpfx)tst-audit6.out): Likewise.
4827 ($(objpfx)tst-audit7): Likewise.
4828 ($(objpfx)tst-audit7.out): Likewise.
4829 (tst-audit3-ENV): Remove variable.
4830 (tst-audit4-ENV): Likewise.
4831 (tst-audit5-ENV): Likewise.
4832 (tst-audit6-ENV): Likewise.
4833 (tst-audit7-ENV): Likewise.
4834 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4835 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4836 addition to variable.
4837 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4838 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4839 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4840 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4841 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4842 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4843 tst-audit3, tst-audit4 and tst-audit5.
4844 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4845 tst-audit6 and tst-audit7.
4846 [$(subdir) = elf] (modules-names): Add audit modules for those
4847 tests.
4848 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4849 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4850 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4851 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4852 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4853 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4854 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4855 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4856 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4857 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4858 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4859 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4860 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4861 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4862 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4863 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4864 Likewise.
4865 [$(subdir) = elf && $(config-cflags-avx) = yes]
4866 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4867 [$(subdir) = elf && $(config-cflags-avx) = yes]
4868 (CFLAGS-tst-auditmod4a.c): Likewise.
4869 [$(subdir) = elf && $(config-cflags-avx) = yes]
4870 (CFLAGS-tst-auditmod4b.c): Likewise.
4871 [$(subdir) = elf && $(config-cflags-avx) = yes]
4872 (CFLAGS-tst-auditmod6b.c): Likewise.
4873 [$(subdir) = elf && $(config-cflags-avx) = yes]
4874 (CFLAGS-tst-auditmod6c.c): Likewise.
4875 [$(subdir) = elf && $(config-cflags-avx) = yes]
4876 (CFLAGS-tst-auditmod7b.c): Likewise.
4877 * elf/tst-audit3.c: Move to ...
4878 * sysdeps/x86_64/tst-audit3.c: ... here.
4879 * elf/tst-audit4.c: Move to ...
4880 * sysdeps/x86_64/tst-audit4.c: ... here.
4881 * elf/tst-audit5.c: Move to ...
4882 * sysdeps/x86_64/tst-audit5.c: ... here.
4883 * elf/tst-audit6.c: Move to ...
4884 * sysdeps/x86_64/tst-audit6.c: ... here.
4885 * elf/tst-audit7.c: Move to ...
4886 * sysdeps/x86_64/tst-audit7.c: ... here.
4887 * elf/tst-auditmod3a.c: Move to ...
4888 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4889 * elf/tst-auditmod3b.c: Move to ...
4890 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4891 * elf/tst-auditmod4a.c: Move to ...
4892 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4893 * elf/tst-auditmod4b.c: Move to ...
4894 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4895 * elf/tst-auditmod5a.c: Move to ...
4896 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4897 * elf/tst-auditmod5b.c: Move to ...
4898 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4899 * elf/tst-auditmod6a.c: Move to ...
4900 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4901 * elf/tst-auditmod6b.c: Move to ...
4902 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4903 * elf/tst-auditmod6c.c: Move to ...
4904 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4905 * elf/tst-auditmod7a.c: Move to ...
4906 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4907 * elf/tst-auditmod7b.c: Move to ...
4908 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4909
49102013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4911
4912 [BZ #15366]
4913 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4914 define unconditionally.
4915 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4916 define unconditionally.
4917 (INT8_C, INT16_C, etc.): Likewise.
4918
49192013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4920
4921 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4922 __ehdr_start with hidden visibility.
4923
4924 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4925
49262013-04-24 Carlos O'Donell <carlos@redhat.com>
4927
4928 * math/libm-test.inc (cos_test): Use accurate hex constants.
4929 (sincost_test): Likewise.
4930
49312013-04-24 Joseph Myers <joseph@codesourcery.com>
4932
4933 * math/libm-test.inc (catan_test): Add more tests.
4934 (catanh_test): Likewise.
4935
4936 * math/s_catanf.c (__catanf): Use suffixed floating-point
4937 constants.
4938 * math/s_catanhf.c (__catanhf): Likewise.
4939 * math/s_catanhl.c (__catanhl): Likewise.
4940 * math/s_catanl.c (__catanl): Likewise.
4941
4942 [BZ #15394]
4943 * math/s_catan.c (__catan): Calculate imaginary part of result
4944 with log1p not log unless computing log of number close to 0.
4945 * math/s_catanf.c (__catanf): Likewise.
4946 * math/s_catanl.c (__catanl): Likewise.
4947 * math/s_catanh.c (__catanh): Calculate real part of result with
4948 log1p not log unless computing log of number close to 0.
4949 * math/s_catanhf.c (__catanhf): Likewise.
4950 * math/s_catanhl.c (__catanhl): Likewise.
4951 * math/libm-test.inc (catan_test): Add more tests.
4952 (catanh_test): Likewise.
4953 * sysdeps/i386/fpu/libm-test-ulps: Update.
4954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4955
49562013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4957
4958 * benchtests/Makefile: Mention files in which fast and slow
4959 paths of math functions are implemented.
4960
49612013-04-23 Roland McGrath <roland@hack.frob.com>
4962
4963 * sysdeps/posix/timespec_get.c: New file.
4964
49652013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4966
4967 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4968 POWER.
4969 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4970 for POWER.
4971 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4972 powerpc/power5/fpu folders.
4973 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4974 * benchtests/Makefile: Add modf testcase.
4975 * benchtests/bench-modf.c: New file: Benchmark test for mo
4976
49772013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4978
4979 [BZ #14888]
4980 * time/Makefile (tests): Add tst-strptime-whitespace.
4981 * time/strptime_l.c (get_number): Use ISSPACE.
4982 (__strptime_internal): Likewise.
4983 * time/tst-strptime-whitespace.c: New test case.
4984
49852013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4986
4987 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4988 member.
4989 (_nss_files_init): Set it here.
4990
49912013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4992
4993 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4994 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4995 unsigned.
4996
49972013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4998
4999 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5000
50012013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5002
5003 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5004 size just once.
5005
50062013-04-21 David S. Miller <davem@davemloft.net>
5007
5008 * po/ru.po: Update Russion translation from translation project.
5009
50102013-04-17 Adam Conrad <adconrad@0c3.net>
5011
5012 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5013 and setfsgid.
5014
50152013-04-17 Carlos O'Donell <carlos@redhat.com>
5016
5017 * configure.in: Remove i386 configure warning. Remove i386 case.
5018 * configure: Regenerate.
5019 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5020 Add example to error message.
5021 * sysdeps/i386/configure: Regenerate.
5022
50232013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5024
5025 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5026 slowtan.
5027 * benchtests/cos-inputs: New file.
5028 * benchtests/slowcos-inputs: New file.
5029 * benchtests/slowcos.c: New file.
5030 * benchtests/slowtan-inputs: New file.
5031 * benchtests/slowtan.c: New file.
5032 * benchtests/tan-inputs: New file.
5033
50342013-04-16 Roland McGrath <roland@hack.frob.com>
5035
5036 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5037 considered kosher.
5038
50392013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5040
5041 * benchtests/Makefile: Include cppflags-iterator.mk to add
5042 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5043
5044 * Makefile.in (bench-clean): New target.
5045 * benchtests/Makefile (bench-clean): Likewise.
5046
50472013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5048
5049 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5050
50512013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5052
5053 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5054
50552013-04-15 Andreas Schwab <schwab@suse.de>
5056
5057 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5059 * nscd/pwdcache.c (cache_addpw): Likewise.
5060 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5061 more than recsize.
5062
50632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5064
5065 * benchtests/Makefile (bench): Write all output to
5066 bench-out.tmp together.
5067
50682013-04-15 Andreas Schwab <schwab@suse.de>
5069
5070 * nscd/nscd.c (main): Don't fork again after closing files.
5071
50722013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5073
5074 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5075
5076 * benchtests/Rules (bench-deps): Collect dependencies into a
5077 single variable. Add Makefile to dependencies.
5078 ($(objpfx)bench-%.c): Depend on bench-deps.
5079
50802013-04-12 Roland McGrath <roland@hack.frob.com>
5081 Xavier Roche <roche+kml2@exalead.com>
5082
5083 [BZ #15361]
5084 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5085 just that it's a file descriptor.
5086 * manual/llio.texi (Synchronizing AIO Operations): Update description
5087 for EBADF error from aio_fsync.
5088
50892013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5090
5091 * Rules (bench): Move target definition...
5092 * benchtests/Makefile: ... here.
5093
50942013-04-11 Carlos O'Donell <carlos@redhat.com>
5095
5096 * math/libm-test.inc (cos_test): Fix PI/2 test.
5097 (sincos_test): Likewise.
5098 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5099 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5100
51012013-04-11 Andreas Schwab <schwab@suse.de>
5102
5103 [BZ #13988]
5104 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5105 accept exponent character only when digits were seen.
5106 * stdio-common/Makefile (tests): Add bug26.
5107 * stdio-common/bug26.c: New file.
5108
5109 [BZ #14293]
5110 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5111 non-freeable.
5112
51132013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5114
5115 * Makeconfig (rtld-prefix): Define built linker prefix.
5116 * Rules (run-bench): Use it.
5117 * math/Makefile (run-regen-ulps): Likewise.
5118
5119 * Rules (bench): Remove eval.
5120
51212013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5122 Roland McGrath <roland@hack.frob.com>
5123 Ondrej Bilka <neleai@seznam.cz>
5124
5125 [BZ #15346]
5126 * time/getdate.c: Include ctype.h and alloca.h.
5127 (__getdate_r): Trim leading and trailing spaces of input.
5128 * time/tst-getdate.c (tests): Add tests with leading and
5129 trailing spaces.
5130
51312013-04-08 Roland McGrath <roland@hack.frob.com>
5132
5133 [BZ #14280]
5134 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5135 when computing value.
5136
51372013-04-06 Carlos O'Donell <carlos@redhat.com>
5138
5139 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5140 Use testrun.sh to run libm tests.
5141
5142 [BZ #15309]
5143 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5144
51452013-04-06 Marko Myllynen <myllynen@redhat.com>
5146
5147 [BZ #15264]
5148 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5149
51502013-04-06 Carlos O'Donell <carlos@redhat.com>
5151
5152 * Makefile.in (regen-ulps): New target.
5153 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5154 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5155 [ifneq (no,$(PERL)] (regen-ulps): New target.
5156 [ifeq (no,$(PERL)] (regen-ulps): New target.
5157 * math/libm-test.inc (ulps_file_name): Define.
5158 (output_dir): New variable.
5159 (options): Add "output-dir" option.
5160 (parse_opt): Handle 'o' case.
5161 (main): If output_dir is non-NULL use it as a prefix
5162 otherwise use "".
5163 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5164
51652013-04-06 Carlos O'Donell <carlos@redhat.com>
5166
5167 [BZ #10060, #10062]
5168 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5169 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5170 fail configure if __sync_val_compare_and_swap is not inlined.
5171 * sysdeps/i386/configure: Regenerate.
5172 * configure.in: Build for i686 when configured for i386.
5173 * configure: Regenerate.
5174 * README: Remove i386 reference.
5175
51762013-04-06 Carlos O'Donell <carlos@redhat.com>
5177
5178 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5179 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5180
51812013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5182
5183 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5184 (lmsnanval): New variables.
5185 (F): Add conversion tests.
5186 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5187 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5188
5189 * stdio-common/tstdiomisc.c (F): Properly collect individual
5190 tests' results.
5191
5192 [BZ #14686, #15336]
5193 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5194 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5195 Instead, use input NaN values or generate a qNaN by arithmetic
5196 operation. Also fix bugs to comply with the standard.
5197 * math/libm-test.inc (remainder_test): Add more tests.
5198
5199 [BZ #15335, #15342]
5200 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5201 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5202 input NaN values or generate a qNaN by arithmetic operation.
5203
5204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5205 unreachable code.
5206
5207 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5208 definitions.
5209
52102013-04-03 Joseph Myers <joseph@codesourcery.com>
5211
5212 [BZ #14478]
5213 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5214 underflowed result.
5215 * math/s_cexpf.c (__cexpf): Likewise.
5216 * math/s_cexpl.c (__cexpl): Likewise.
5217 * math/libm-test.inc (cexp_test): Add more tests.
5218
52192013-04-03 Andreas Schwab <schwab@suse.de>
5220
5221 [BZ #15330]
5222 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5223 order arrays from heap if bigger than alloca cutoff.
5224
52252013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5226
5227 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5228 (SNAN_TESTS_double): Refer to GCC PR56831.
5229 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5230 GCC PR56828.
5231
52322013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5233
5234 * Rules (bench): Move bench.out after the run is complete.
5235
5236 * Rules (bench): Echo currently running benchmark.
5237
5238 * benchtests/Makefile (bench): Add atan and slowatan.
5239 * benchtests/atan-inputs: New file.
5240 * benchtests/slowatan-inputs: New file.
5241 * benchtests/slowatan.c: New file.
5242
5243 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5244 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5245 its value.
5246
5247 [BZ #15305]
5248 * sysdeps/unix/sysv/linux/kernel-features.h
5249 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5250 __ASSUME_XFS_RESTRICTED_CHOWN.
5251 * sysdeps/unix/sysv/linux/pathconf.c
5252 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5253 Save and restore errno.
5254
52552013-04-02 Joseph Myers <joseph@codesourcery.com>
5256
5257 [BZ #15327]
5258 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5259 arguments using __kernel_casinh.
5260 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5261 arguments using __kernel_casinhf.
5262 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5263 arguments using __kernel_casinhl.
5264 * math/libm-test.inc (cacosh_test): Add more tests.
5265 * sysdeps/i386/fpu/libm-test-ulps: Update.
5266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5267
52682013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5269
5270 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5272
5273 * bench/Makefile (bench): Add sin and slowsin.
5274 * benchtests/sin-inputs: New file.
5275 * benchtests/slowsin-inputs: New file.
5276 * benchtests/slowsin.c: New file.
5277
5278 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5279 (bench): Add slowexp and slowpow.
5280 (exp-ITER): Increase iterations.
5281 (pow-ITER): Likewise.
5282 * benchtests/exp-inputs: Change input.
5283 * benchtests/pow-inputs: Likewise.
5284 * benchtests/slowexp-inputs: New file.
5285 * benchtests/slowexp.c: New file.
5286 * benchtests/slowpow-inputs: New file.
5287 * benchtests/slowpow.c: New file.
5288
52892013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5290
5291 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5292 instructions.
5293 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5294 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5295 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5296 * benchtests/Makefile: Add rint benchtest.
5297 * benchtests/rint-inputs: Input for rint benchtest.
5298
52992013-04-02 Thomas Schwinge <thomas@codesourcery.com>
5300
5301 * Versions.def (libm): Add GLIBC_2.18.
5302 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5303 hidden libm prototypes.
5304 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5305 * math/Makefile (libm-calls): Add s_issignaling.
5306 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5307 __issignalingf, __issignalingl. Adjust all libm.abilist files.
5308 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5309 declaration.
5310 * math/math.h [__USE_GNU] (issignaling): New macro.
5311 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5312 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5313 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5314 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5317 * manual/arith.texi (issignaling): New section.
5318 * manual/libm-err-tab.pl (@all_functions): Update comment.
5319 * math/gen-libm-test.pl (parse_args): Apply special handling for
5320 issignaling.
5321 * math/libm-test.inc (print_float, issignaling_test): New
5322 functions.
5323 (check_float_internal): Add issignaling checks.
5324 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5325 default definition.
5326 * sysdeps/powerpc/math-tests.h: New file.
5327 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5328 tests.
5329 * math/test-snan.c (TEST_FUNC): Likewise.
5330
53312013-03-30 David S. Miller <davem@davemloft.net>
5332
5333 * po/de.po: Update from translation team.
5334
53352013-03-30 Joseph Myers <joseph@codesourcery.com>
5336
5337 [BZ #10357]
5338 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5339 imaginary part less than 1.0 and real part less than 0.5
5340 specially.
5341 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5342 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5343 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
5344 (cacos_test): Add more tests.
5345 (casin_test): Likewise.
5346 (casinh_test): Likewise.
5347 * sysdeps/i386/fpu/libm-test-ulps: Update.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5349
53502013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5351
5352 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
5353 ONE with its value.
5354
5355 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
5356 (__pow_mp): Replace ONE and MONE with their values.
5357 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
5359 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5360 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
5361 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5362 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5363
5364 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
5365
5366 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
5367 (__pow_mp): Replace ZERO and MZERO with their values.
5368 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5369 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5372 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5373 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
5374 (__sqr): Likewise.
5375
5376 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
5377
5378 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
5379
53802013-03-28 Roland McGrath <roland@hack.frob.com>
5381
5382 * include/stdlib.h [!SHARED] (__call_tls_dtors):
5383 Declare with __attribute__ ((weak)).
5384 * stdlib/exit.c (__libc_atexit) [!SHARED]:
5385 Call __call_tls_dtors only if it's not NULL.
5386
53872013-03-28 Roland McGrath <roland@hack.frob.com>
5388
5389 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
5390 didn't do it already, then set _dl_phdr and _dl_phnum based on the
5391 magic __ehdr_start linker symbol if it's defined.
5392 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
5393 them up here if it was already done.
5394
5395 * elf/dl-support.c (_dl_phdr): Make pointer to const.
5396 (_dl_aux_init): Use const in cast when setting it.
5397 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
5398 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
5399 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
5400
5401 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
5402 Declare them here.
5403 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
5404 * csu/libc-tls.c: Nor here.
5405 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
5406
5407 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
5408 (__libc_message): Never call vsyslog.
5409
54102013-03-28 Alan Modra <amodra@gmail.com>
5411
5412 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
5413 Define as empty.
5414 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
5415 Likewise.
5416
54172013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5418
5419 [BZ #15214]
5420 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
5421 underflow.
5422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5423
54242013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 [BZ #15304]
5427 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5428 Don't add gid passed as argument.
5429
5430 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
5431
54322013-03-27 Joseph Myers <joseph@codesourcery.com>
5433
5434 [BZ #15307]
5435 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5436 imaginary part between 1.0 and 1.5 and real part less than 0.5
5437 specially.
5438 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5439 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5440 * math/libm-test.inc (cacos_test): Add more tests.
5441 (casin_test): Likewise.
5442 (casinh_test): Likewise.
5443 * sysdeps/i386/fpu/libm-test-ulps: Update.
5444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5445
54462013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5447
5448 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
5449 constants.
5450 (norm): Likewise.
5451 (denorm): Likewise.
5452 (__dbl_mp): Likewise.
5453 (add_magnitudes): Likewise.
5454 (sub_magnitudes): Likewise.
5455 (__add): Likewise.
5456 (__sub): Likewise.
5457 (__mul): Likewise.
5458 (__sqr): Likewise.
5459 (__inv): Likewise.
5460 (__dvd): Likewise.
5461
5462 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
5463 commented code.
5464 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
5465 (__dubcos): Likewise.
5466 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
5467 (__ieee754_acos): Likewise.
5468 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
5469 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
5470 (__exp1): Likewise.
5471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5472 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5473 (log1): Likewise.
5474 (my_log2): Likewise.
5475 (checkint): Likewise.
5476 * sysdeps/ieee754/dbl-64/e_remainder.c
5477 (__ieee754_remainder): Likewise.
5478 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
5479 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5480 (bsloww): Likewise.
5481 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5482
5483 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5484 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
5485 MANTISSA_STORE_T to store computations on mantissa. Use
5486 macros for rounding and division.
5487 (denorm): Likewise.
5488 (__dbl_mp): Likewise.
5489 (add_magnitudes): Likewise.
5490 (sub_magnitudes): Likewise.
5491 (__mul): Likewise.
5492 (__sqr): Likewise.
5493 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5494 powers of two in terms of TWOPOW macro.
5495 (mp_no): Make type of mantissa as MANTISSA_T.
5496 [!RADIXI]: Define RADIXI.
5497 [!TWO52]: Define TWO52.
5498 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5499
55002013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5501
5502 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
5503 llroundl symbol when building for PPC32.
5504
55052013-03-24 Mark H Weaver <mhw@netris.org>
5506
5507 * manual/arith.texi (Normalization Functions): Fix prototypes for
5508 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
5509
55102013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5511
5512 [BZ #13889]
5513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
5514 high value to check if expl overflow.
5515 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
5516 to check for underflow and overflow.
5517 * math/libm-test.inc: Add exp test.
5518
55192013-03-21 Dmitry V. Levin <ldv@altlinux.org>
5520
5521 [BZ #11120]
5522 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
5523 with NOT_IN_libc.
5524
55252013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5526
5527 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
5528 symbol.
5529
55302013-03-21 Thomas Schwinge <thomas@codesourcery.com>
5531
5532 * math/gen-libm-test.pl (parse_args, special_functions): Properly
5533 wrap blocks consisting of several statements.
5534
5535 * sysdeps/generic/math-tests.h: New file.
5536 * sysdeps/i386/fpu/math-tests.h: Likewise.
5537 * math/test-snan.c: Include it.
5538 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
5539
55402013-03-21 Joseph Myers <joseph@codesourcery.com>
5541
5542 [BZ #15285]
5543 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
5544 (__ieee754_j0l): Do not improve calculations using cos of twice
5545 input for inputs above LDBL_MAX / 2.0L.
5546 (__ieee754_y0l): Likewise.
5547 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
5548 (__ieee754_j1l): Do not improve calculations using cos of twice
5549 input for inputs above LDBL_MAX / 2.0L.
5550 (__ieee754_y1l): Likewise.
5551 * math/libm-test.inc (j0_test): Add another test.
5552 (j1_test): Likewise.
5553 (y0_test): Likewise.
5554 (y1_test): Likewise.
5555 * sysdeps/i386/fpu/libm-test-ulps: Update.
5556
55572013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5558
5559 * Rules ($(objpfx)bench-%.c): Include code from a C source
5560 file.
5561
55622013-03-21 Joseph Myers <joseph@codesourcery.com>
5563
5564 [BZ #15287]
5565 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5566 imaginary part 1.0 and real part less than 0.5 specially.
5567 * math/k_casinhf.c (__kernel_casinhf): Likewise.
5568 * math/k_casinhl.c (__kernel_casinhl): Likewise.
5569 * math/libm-test.inc (cacos_test): Add more tests.
5570 (casin_test): Likewise.
5571 (casinh_test): Likewise.
5572 * sysdeps/i386/fpu/libm-test-ulps: Update.
5573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5574
55752013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5576
5577 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
5578 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
5579
55802013-03-20 Joseph Myers <joseph@codesourcery.com>
5581
5582 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
5583 * config.make.in (config-cflags-sse4): Remove variable.
5584 (config-cflags-avx): Likewise.
5585 (config-cflags-sse2avx): Likewise.
5586 (config-cflags-novzeroupper): Likewise.
5587 (config-asflags-i686): Likewise.
5588 (have-mfma4): Likewise.
5589 (have-as-vis3): Likewise.
5590 (MIG): Likewise.
5591 * configure.in (MIG): Do not AC_SUBST.
5592 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
5593 (libc_cv_cc_sse4): Do not AC_SUBST.
5594 (libc_cv_cc_avx): Likewise.
5595 (libc_cv_cc_sse2avx): Likewise.
5596 (libc_cv_cc_novzeroupper): Likewise.
5597 (libc_cv_cc_fma4): Likewise.
5598 (libc_cv_as_i686): Likewise.
5599 (libc_cv_sparc_as_vis3): Likewise.
5600 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
5601 LIBC_CONFIG_VAR.
5602 (config-asflags-i686): Likewise.
5603 (config-cflags-avx): Likewise.
5604 (config-cflags-sse2avx): Likewise.
5605 (have-mfma4): Likewise.
5606 (config-cflags-novzeroupper): Likewise.
5607 * sysdeps/mach/configure.in (MIG): Likewise.
5608 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
5609 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
5610 LIBC_CONFIG_VAR.
5611 (config-cflags-avx): Likewise.
5612 (config-cflags-sse2avx): Likewise.
5613 (have-mfma4): Likewise.
5614 (config-cflags-novzeroupper): Likewise.
5615 * configure: Regenerated.
5616 * sysdeps/i386/configure: Likewise.
5617 * sysdeps/mach/configure: Likewise.
5618 * sysdeps/sparc/configure: Likewise.
5619 * sysdeps/x86_64/configure: Likewise.
5620
56212013-03-20 Roland McGrath <roland@hack.frob.com>
5622
5623 [BZ #14812]
5624 * locale/programs/localedef.c (options): Put N_ translation marker
5625 on argument names, not just descriptions.
5626
56272013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5628
5629 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
5630
56312013-03-20 Ondřej Bílka <neleai@seznam.cz>
5632
5633 [BZ #14176]
5634 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
5635
56362013-03-19 Roland McGrath <roland@hack.frob.com>
5637
5638 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
5639 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
5640 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
5641 [!BEFORE_ABORT] (before_abort): New function.
5642 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
5643 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
5644 (writev_for_fatal): New function.
5645 (WRITEV_FOR_FATAL): New macro; call that.
5646 (backtrace_and_maps): New function.
5647 (BEFORE_ABORT): New macro; call that.
5648 (struct str_list): Type removed.
5649 (__libc_message, __libc_fatal): Functions removed.
5650 Include <sysdeps/posix/libc_fatal.c> instead.
5651
56522013-03-19 Joseph Myers <joseph@codesourcery.com>
5653
5654 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
5655 constants.
5656 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
5657 double constants.
5658
56592013-03-19 Andreas Schwab <schwab@suse.de>
5660
5661 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5662 * sysdeps/gnu/configure: Regenerate.
5663
5664 * configure.in: Substitute libc_cv_rtlddir.
5665 * configure: Regenerate.
5666 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5667 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5668 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5669 * elf/Makefile (install-others, CFLAGS-interp.c)
5670 (ldso_install, common-ldd-rewrite): Likewise.
5671 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5672 $(inst_slibdir)/$(rtld-installed-name).
5673 * scripts/rellns-sh: Add -p option.
5674 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5675 for source.
5676
56772013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5678
5679 * manual/nptl.texi: Renamed to ...
5680 * manual/threads.texi: ... this.
5681 * manual/Makefile (chapters): Update.
5682
56832013-03-18 Roland McGrath <roland@hack.frob.com>
5684
5685 [BZ #14812]
5686 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5687 on argument names, not just descriptions.
5688 * malloc/memusagestat.c (options): Likewise.
5689 * nss/getent.c (options): Likewise.
5690
56912013-03-18 Benno Schulenberg <bensberg@justemail.net>
5692
5693 [BZ #14812]
5694 * iconv/iconv_prog.c (options): Put N_ translation marker
5695 on argument names, not just descriptions.
5696 * iconv/iconvconfig.c (options): Likewise.
5697
56982013-03-18 Ondrej Bilka <neleai@seznam.cz>
5699
5700 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5701 implementation which is faster on all x86_64 architectures.
5702 Tested on AMD, Intel Nehalem, SNB, IVB.
5703 * sysdeps/x86_64/strnlen.S: Likewise.
5704
5705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5706 Remove all multiarch strlen and strnlen versions.
5707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5708 Remove strlen and strnlen related parts.
5709
5710 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5711 Inline strlen part.
5712 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5713
5714 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5715 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5716 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5717 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5718 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5719 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5720
57212013-03-17 Carlos O'Donell <carlos@redhat.com>
5722
5723 * manual/memory.texi (Malloc Tunable Parameters):
5724 Sort parameters alphabetically. Add comments for missing entries.
5725
57262013-03-17 David S. Miller <davem@davemloft.net>
5727
5728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5729
57302013-03-16 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #15283]
5733 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5734 for arguments at most half maximum finite value.
5735 * math/libm-test.inc (j0_test): Add more tests.
5736 (j1_test): Likewise.
5737 (y0_test): Likewise.
5738 (y1_test): Likewise.
5739 * sysdeps/i386/fpu/libm-test-ulps: Update.
5740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5741
5742 [BZ #14155]
5743 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5744 1 / x and functions P and Q for arguments above 0x1p256L.
5745 (__ieee754_y0l): Likewise.
5746 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5747 (__ieee754_y1l): Likewise.
5748 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5749 (j1_test): Likewise.
5750 (y0_test): Likewise.
5751 (y1_test): Likewise.
5752
57532013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5754
5755 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5756 variable.
5757
57582013-03-15 Roland McGrath <roland@hack.frob.com>
5759
5760 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5761 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5762 zero since it's initialized to EXEC_PAGESIZE.
5763
5764 * sysdeps/unix/sysv/linux/ldsodefs.h
5765 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5766 * sysdeps/generic/ldsodefs.h: ... here.
5767
57682013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5769
5770 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5771
5772 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5773 math/test-snan.c.
5774 * math/test-snan.c: Renamed from
5775 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5776 * math/Makefile (tests): Add test-snan.
5777 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5778 test-powerpc-snan.
5779
5780 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5781 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5782 functions.
5783 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5784 __builtin_nan family of functions.
5785 * math/libm-test.inc (initialize): Initialize qnan_value with
5786 __builtin_nan family of functions.
5787 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5788 Remove variables.
5789 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5790 Remove functions.
5791 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5792 storage class. Initialize qNaN_var and sNaN_var with
5793 __builtin_nan and __builtin_nans families of functions,
5794 respectively.
5795
5796 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5797 (sqrt_test): Remove duplicate test with qNaN input.
5798 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5799 (round_test, signbit_test, significand_test): Note missing +/-Inf
5800 as well as qNaN tests.
5801
5802 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5803 qNaN_var. Fix a few strings, too.
5804 * math/libm-test.inc (nan_value): Rename to qnan_value.
5805 * math/gen-libm-test.pl (%beautify): Adjust to that.
5806 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5807 * math/test-misc.c (main): Likewise.
5808 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5809 to __qnan_bytes, and __qnan_union, respectively.
5810 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5811 Likewise.
5812 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5813 and lqnanval, respectively.
5814 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5815 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5816 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5817 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5818
5819 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5820 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5821 doubles.
5822
5823 * math/test-misc.c (main): Fix copy'n'pastos.
5824 * misc/tst-efgcvt.c (special): Likewise.
5825
5826 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5827 Remove declarations.
5828
58292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
5831 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5832 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5833 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5834 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5835
58362013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5837
5838 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5839 macro to return vdso values correctly in IFUNC implementations.
5840 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5841 Optimization by using IFUNC.
5842
58432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5844 Richard Henderson <rth@redhat.com>
5845 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5846
5847 * Makefile.in (bench): New target.
5848 * NEWS: Mention the benchmark framework.
5849 * Rules (bench): Likewise.
5850 (binaries-bench): Generate binaries for functions to
5851 benchmark.
5852 * benchtests/Makefile: New makefile for benchmark tests.
5853 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5854 programs.
5855 * benchtests/exp-inputs: New input file for EXP function.
5856 * benchtests/pow-inputs: New input file for POW function.
5857 * scripts/bench.pl: New script to generate source files for
5858 benchmark programs.
5859
58602013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5861
5862 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5864 computations on mantissa. Use macros for rounding and
5865 division.
5866 (denorm): Likewise.
5867 (__dbl_mp): Likewise.
5868 (add_magnitudes): Likewise.
5869 (sub_magnitudes): Likewise.
5870 (__mul): Likewise.
5871 (__sqr): Likewise.
5872 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5873 powers of two in terms of TWOPOW macro.
5874 (mp_no): Make type of mantissa as MANTISSA_T.
5875 [!RADIXI]: Define RADIXI.
5876 [!TWO52]: Define TWO52.
5877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5878
5879 * manual/nptl.texi (cindex): Modify threads to pthreads.
5880
58812013-03-15 Joseph Myers <joseph@codesourcery.com>
5882
5883 * sysdeps/x86_64/preconfigure: Regenerated.
5884
58852013-03-14 Joseph Myers <joseph@codesourcery.com>
5886
5887 [BZ #14155]
5888 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5889 0x1p28 and above.
5890 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5891 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5892 0x1p28 and above.
5893 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5894 * math/libm-test.inc (j0_test): Do not allow one spurious
5895 underflow exception.
5896 (y1_test): Likewise.
5897
58982013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5899
5900 * manual/Makefile (chapters): Add nptl.
5901 * manual/debug.texi (Debugging Support): Add link to Threads
5902 chapter.
5903 * manual/nptl.texi: New file.
5904
5905 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5906
59072013-03-14 Petr Baudis <pasky@ucw.cz>
5908
5909 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5910 for non-NULL pointer before the memory validity test. Pointed
5911 out by Holger Brunck <holger.brunck@keymile.com>.
5912
59132013-03-13 Andreas Schwab <schwab@suse.de>
5914
5915 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5916 instead of .os.
5917
59182013-03-13 Joseph Myers <joseph@codesourcery.com>
5919
5920 * timezone/zic.c: Update from tzcode 2013b.
5921
59222013-03-12 Carlos O'Donell <carlos@redhat.com>
5923
5924 * manual/install.texi (Configuring and compiling):
5925 Mention i686 and i586.
5926 * INSTALL: Regenerate.
5927
59282013-03-12 Roland McGrath <roland@hack.frob.com>
5929
5930 * sysdeps/init_array/elf-init.c: New file.
5931 * csu/elf-init.c
5932 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5933 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5934
5935 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5936 __gmon_start__ as global, but as static with a .preinit_array pointer.
5937 * sysdeps/init_array/gmon-start.c: New file. Use that.
5938 * sysdeps/init_array/crti.S: New file, empty except for comments.
5939 * sysdeps/init_array/crtn.S: Likewise.
5940
59412013-03-11 Ondřej Bílka <neleai@seznam.cz>
5942
5943 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5944 definining bcopy.
5945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5946 Remove Prefer_SSE_for_memop.
5947 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5948 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5949 HAS_PREFER_SSE_FOR_MEMOP.
5950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5951 memset-x86-64.
5952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5953 Remove bzero, memset ifunc support.
5954 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5955 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5956 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5957 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5958
59592013-03-11 Andreas Schwab <schwab@suse.de>
5960
5961 [BZ #15234]
5962 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5963 by SHLIB_COMPAT.
5964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5965 (GLIBC_2.16): Remove pthread_atfork.
5966
59672013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5968
5969 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5970 (ptestcases.h): Likewise.
5971
59722013-03-08 Roland McGrath <roland@hack.frob.com>
5973
5974 * Makeconfig ($(common-objpfx)config.status): Depend on
5975 sysdeps/*/preconfigure{,.in} too.
5976
59772013-03-08 Joseph Myers <joseph@codesourcery.com>
5978
5979 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5980 (__free_hook): Use void * instead of __malloc_ptr_t.
5981 (__malloc_hook): Likewise.
5982 (__realloc_hook): Likewise.
5983 (__memalign_hook): Likewise.
5984 (__after_morecore_hook): Likewise.
5985 * malloc/arena.c (save_malloc_hook): Likewise.
5986 (save_free_hook): Likewise.
5987 * malloc/hooks.c (malloc_hook_ini): Likewise.
5988 (realloc_hook_ini): Likewise.
5989 (memalign_hook_ini): Likewise.
5990 * malloc/malloc.c (malloc_hook_ini): Likewise.
5991 (realloc_hook_ini): Likewise.
5992 (memalign_hook_ini): Likewise.
5993 (__free_hook): Likewise.
5994 (__malloc_hook): Likewise.
5995 (__realloc_hook): Likewise.
5996 (__memalign_hook): Likewise.
5997 (__libc_malloc): Likewise.
5998 (__libc_free): Likewise.
5999 (__libc_realloc): Likewise.
6000 (__libc_memalign): Likewise.
6001 (__libc_valloc): Likewise.
6002 (__libc_pvalloc): Likewise.
6003 (__libc_calloc): Likewise.
6004 (__posix_memalign): Likewise.
6005 * malloc/morecore.c (__sbrk): Likewise.
6006 (__default_morecore): Likewise.
6007
6008 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6009
6010 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6011 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6012 __malloc_ptrdiff_t.
6013
6014 * malloc/malloc.h (__malloc_size_t): Remove macro.
6015 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6016 __malloc_size_t.
6017 (old_memalign_hook): Likewise.
6018 (old_realloc_hook): Likewise.
6019 (struct hdr): Likewise.
6020 (flood): Likewise.
6021 (mallochook): Likewise.
6022 (memalignhook): Likewise.
6023 (reallochook): Likewise.
6024 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6025 (tr_old_realloc_hook): Likewise.
6026 (tr_old_memalign_hook): Likewise.
6027 (tr_mallochook): Likewise.
6028 (tr_reallochook): Likewise.
6029 (tr_memalignhook): Likewise.
6030
60312013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6032
6033 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6034 default_ldbl_pack and using as default implementation.
6035 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6036 implementation.
6037 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6038 redundant definition.
6039 (ldbl_insert_mantissa): Likewise.
6040 (ldbl_canonicalize): Likewise.
6041 (ldbl_nearbyint): Likewise.
6042 (ldbl_pack): Rename to ldbl_pack_ppc.
6043 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6044 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6045 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6046
60472013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6048
6049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6050 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6051 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6052 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6054 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6055 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6056 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6057
60582013-03-07 Andreas Jaeger <aj@suse.de>
6059
6060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6061 bits/mman-linux.h.
6062
60632013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6064
6065 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6066 Include mpa.h and declare __MPEXP.
6067 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6068 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6069 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6070 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6071 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6072 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6073 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6074
6075 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6076 (__slowpow): Use long double EXPL and LOGL functions to
6077 compute POW.
6078 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6079 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6080 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6082 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6083 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6084
6085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6086 intermediate variable to calculate exponent.
6087 (__sqr): Likewise.
6088 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6089 Likewise.
6090 (__sqr): Likewise.
6091
6092 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6093 [!NO__SQR]: Define __sqr.
6094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6095 and NO__SQR. Remove all code except __mul and __sqr. Include
6096 sysdeps/ieee754/dbl-64/mpa.c.
6097 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6098
6099 [BZ #12723]
6100 * posix/Makefile (tests): Add tst-pathconf.
6101 * posix/tst-pathconf.c: New test case.
6102 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6103 _PC_PIPE_BUF.
6104 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6105
61062013-03-06 Patsy Franklin <pfrankli@redhat.com>
6107
6108 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6109
61102013-03-06 Andreas Jaeger <aj@suse.de>
6111
6112 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6113 definition via __MAP_ANONYMOUS.
6114
6115 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6116 it's not part of Linux headers.
6117
6118 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6119 (MAP_HUGE_MASK): Define.
6120
6121 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6122 Define.
6123 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6124 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6125 Define.
6126 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6127 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6128 Define.
6129 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6130 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6131 Define.
6132 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6133
6134 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6135 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6136 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6137 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6138 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6140
6141 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6142 Handle f2fs.
6143
6144 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6145 Handle f2fs and efivarfs.
6146
6147 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6148 f2fs.
6149
6150 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6151 (EFIVARFS_MAGIC): Add.
6152 (F2FS_LINK_MAX): Add.
6153
61542013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6155
6156 * stdio-common/vfprintf.c: Replace __builtin_expect with
6157 __glibc_unlikely.
6158
61592013-03-06 Joseph Myers <joseph@codesourcery.com>
6160
6161 [BZ #13550]
6162 * sysdeps/generic/bp-sym.h: Remove file.
6163 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6164 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6165 <bp-sym.h> and <bp-asm.h>.
6166 (__longjmp): Don't use BP_SYM.
6167 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6168 and <bp-asm.h>.
6169 (memcpy): Don't use BP_SYM.
6170 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6171 <bp-sym.h> and <bp-asm.h>.
6172 (memcpy): Don't use BP_SYM.
6173 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6174 <bp-asm.h>.
6175 (memcpy): Don't use BP_SYM.
6176 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6177 <bp-asm.h>.
6178 (memset): Don't use BP_SYM.
6179 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6180 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6181 (__bzero): Don't use BP_SYM.
6182 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6183 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6184 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6185 <bp-sym.h> and <bp-asm.h>.
6186 (memcmp): Don't use BP_SYM. Remove comment about bounded
6187 pointers.
6188 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6189 <bp-sym.h> and <bp-asm.h>.
6190 (memcpy): Don't use BP_SYM.
6191 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6192 <bp-sym.h> and <bp-asm.h>.
6193 (memset): Don't use BP_SYM.
6194 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6195 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6196 (__bzero): Don't use BP_SYM.
6197 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6198 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6199 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6200 <bp-sym.h> and <bp-asm.h>.
6201 (strncmp): Don't use BP_SYM. Remove comment about bounded
6202 pointers.
6203 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6204 <bp-sym.h> and <bp-asm.h>.
6205 (memcpy): Don't use BP_SYM.
6206 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6207 <bp-sym.h> and <bp-asm.h>.
6208 (memset): Don't use BP_SYM.
6209 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6210 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6211 (__bzero): Don't use BP_SYM.
6212 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6213 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6215 <bp-sym.h> and <bp-asm.h>.
6216 (__memchr): Don't use BP_SYM.
6217 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6218 <bp-sym.h> and <bp-asm.h>.
6219 (memcmp): Don't use BP_SYM. Remove comment about bounded
6220 pointers.
6221 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6222 <bp-sym.h> and <bp-asm.h>.
6223 (memcpy): Don't use BP_SYM.
6224 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6225 <bp-sym.h> and <bp-asm.h>.
6226 (__mempcpy): Don't use BP_SYM.
6227 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6228 <bp-sym.h> and <bp-asm.h>.
6229 (__memrchr): Don't use BP_SYM.
6230 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6231 <bp-sym.h> and <bp-asm.h>.
6232 (memset): Don't use BP_SYM.
6233 (__bzero): Likewise.
6234 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6235 <bp-sym.h> and <bp-asm.h>.
6236 (__rawmemchr): Don't use BP_SYM.
6237 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6238 <bp-sym.h> and <bp-asm.h>.
6239 (__STRCMP): Don't use BP_SYM.
6240 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6241 <bp-sym.h> and <bp-asm.h>.
6242 (strchr): Don't use BP_SYM.
6243 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6244 <bp-sym.h> and <bp-asm.h>.
6245 (__strchrnul): Don't use BP_SYM.
6246 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6247 <bp-sym.h> and <bp-asm.h>.
6248 (strlen): Don't use BP_SYM.
6249 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6250 <bp-sym.h> and <bp-asm.h>.
6251 (strncmp): Don't use BP_SYM. Remove comment about bounded
6252 pointers.
6253 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6254 <bp-sym.h> and <bp-asm.h>.
6255 (__strnlen): Don't use BP_SYM.
6256 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6257 <bp-sym.h> and <bp-asm.h>.
6258 (__GI__setjmp): Don't use BP_SYM.
6259 (_setjmp): Likewise.
6260 (__sigsetjmp): Likewise.
6261 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6262 (L(start_addresses)): Don't use BP_SYM.
6263 (_start): Likewise.
6264 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6265 <bp-asm.h>.
6266 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6267 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6268 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6269 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6270 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6271 <bp-asm.h>.
6272 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6273 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6274 about bounded pointers.
6275 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6276 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6277 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6278 <bp-asm.h>.
6279 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6280 about bounded pointers. Remove GKM FIXME comments.
6281 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6282 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6283 <bp-asm.h>.
6284 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6285 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
6286 Remove GKM FIXME comments.
6287 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6288 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6289 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6290 <bp-asm.h>.
6291 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
6292 about bounded pointers. Remove GKM FIXME comment.
6293 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6294 and <bp-asm.h>.
6295 (strncmp): Don't use BP_SYM. Remove comment about bounded
6296 pointers.
6297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6298 <bp-sym.h> and <bp-asm.h>.
6299 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6301 <bp-sym.h> and <bp-asm.h>.
6302 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6303 comment.
6304
63052013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6306
6307 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6308 call free(NULL).
6309
63102013-03-05 David S. Miller <davem@davemloft.net>
6311
6312 * po/es.po: Update from translation team.
6313
63142013-03-05 Andreas Jaeger <aj@suse.de>
6315
6316 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6317 <bits/mman-linux.h>.
6318 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6319 is fine.
6320 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6321 <bits/mman-linux.h> to end of file.
6322 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6323 is fine.
6324 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6325 <bits/mman-linux.h> to end of file.
6326 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6327 is fine.
6328 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
6329 <bits/mman-linux.h> to end of file.
6330
6331 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
6332 (MCL_CURRENT, MCL_FUTURE): Define here.
6333
63342013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6335
6336 [BZ #15232]
6337 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
6338 attribute_hidden.
6339 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
6340
63412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6342
6343 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
6344 fourth parameter needed for rt_sigprocmask syscall.
6345 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6346 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6347 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
6348 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6349 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6350 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
6351
63522013-03-04 Joseph Myers <joseph@codesourcery.com>
6353
6354 [BZ #13550]
6355 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
6356 comment about bounded pointers.
6357 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
6358 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
6359
63602013-03-04 Andreas Jaeger <aj@suse.de>
6361
6362 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
6363 common definitions.
6364
6365 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
6366 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
6367 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
6368 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6369 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6370 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6371
63722013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373
6374 [BZ #15055]
6375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
6376 __ieee754_sqrl instead of __sqrl.
6377
63782013-03-01 Joseph Myers <joseph@codesourcery.com>
6379
6380 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
6381 * sysdeps/powerpc/fpu_control.h: ... here.
6382 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
6383 * sysdeps/powerpc/bits/fenvinline.h: ... here.
6384 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
6385 * sysdeps/powerpc/bits/mathinline.h: ... here.
6386
63872013-03-01 Roland McGrath <roland@hack.frob.com>
6388
6389 * elf/dl-hwcaps.c (_dl_important_hwcaps):
6390 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
6391 to just [NEED_DL_SYSINFO_DSO].
6392 * elf/dl-support.c: Likewise.
6393 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6394 * elf/rtld.c (dl_main): Likewise.
6395 * elf/setup-vdso.h (setup_vdso): Likewise.
6396 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
6397 * sysdeps/unix/sysv/linux/dl-sysdep.c
6398 (_dl_discover_osversion): Likewise.
6399
64002013-03-01 Carlos O'Donell <carlos@redhat.com>
6401
6402 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
6403 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6404
64052013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6406
6407 * NEWS: Mention libm performance improvements and non-x86 PI
6408 futex support.
6409
6410 * csu/libc-start.c (__pthread_initialize_minimal): Change
6411 function arguments.
6412 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
6413
64142013-02-28 Joseph Myers <joseph@codesourcery.com>
6415
6416 [BZ #13550]
6417 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
6418 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
6419 <bp-sym.h> and <bp-asm.h>.
6420 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6421 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
6422 and <bp-asm.h>.
6423 (memcpy): Don't use BP_SYM.
6424 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
6425 <bp-asm.h>.
6426 (__mpn_add_n): Don't use BP_SYM.
6427 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
6428 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
6429 and <bp-asm.h>.
6430 (__mpn_addmul_1): Don't use BP_SYM.
6431 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6432 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
6433 <bp-sym.h>.
6434 (_setjmp): Don't use BP_SYM.
6435 (__novmx_setjmp): Likewise.
6436 (__GI__setjmp): Likewise.
6437 (__vmx_setjmp): Likewise.
6438 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
6439 <bp-sym.h>.
6440 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
6441 (__bzero): Don't use BP_SYM.
6442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6444 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
6445 <bp-sym.h> and <bp-asm.h>.
6446 (memcpy): Don't use BP_SYM.
6447 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
6448 <bp-sym.h> and <bp-asm.h>.
6449 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6450 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
6451 <bp-sym.h> and <bp-asm.h>.
6452 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
6453 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
6454 <bp-asm.h>.
6455 (__mpn_lshift): Don't use BP_SYM.
6456 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6457 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
6458 <bp-asm.h>.
6459 (memset): Don't use BP_SYM.
6460 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6461 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6462 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
6463 <bp-asm.h>.
6464 (__mpn_mul_1): Don't use BP_SYM.
6465 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
6467 <bp-sym.h> and <bp-asm.h>.
6468 (memcmp): Don't use BP_SYM.
6469 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
6470 <bp-sym.h> and <bp-asm.h>.
6471 (memcpy): Don't use BP_SYM.
6472 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
6473 <bp-sym.h> and <bp-asm.h>.
6474 (memset): Don't use BP_SYM.
6475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
6476 <bp-sym.h> and <bp-asm.h>.
6477 (strncmp): Don't use BP_SYM.
6478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
6479 <bp-sym.h> and <bp-asm.h>.
6480 (memcpy): Don't use BP_SYM.
6481 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
6482 <bp-sym.h> and <bp-asm.h>.
6483 (memset): Don't use BP_SYM.
6484 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
6485 <bp-sym.h> and <bp-asm.h>.
6486 (__memchr): Don't use BP_SYM.
6487 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
6488 <bp-sym.h> and <bp-asm.h>.
6489 (memcmp): Don't use BP_SYM.
6490 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
6491 <bp-sym.h> and <bp-asm.h>.
6492 (memcpy): Don't use BP_SYM.
6493 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
6494 <bp-sym.h> and <bp-asm.h>.
6495 (__mempcpy): Don't use BP_SYM.
6496 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
6497 <bp-sym.h> and <bp-asm.h>.
6498 (__memrchr): Don't use BP_SYM.
6499 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
6500 <bp-sym.h> and <bp-asm.h>.
6501 (memset): Don't use BP_SYM.
6502 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
6503 <bp-sym.h> and <bp-asm.h>.
6504 (__rawmemchr): Don't use BP_SYM.
6505 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
6506 <bp-sym.h> and <bp-asm.h>.
6507 (__STRCMP): Don't use BP_SYM.
6508 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
6509 <bp-sym.h> and <bp-asm.h>.
6510 (strchr): Don't use BP_SYM.
6511 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
6512 <bp-sym.h> and <bp-asm.h>.
6513 (__strchrnul): Don't use BP_SYM.
6514 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
6515 <bp-sym.h> and <bp-asm.h>.
6516 (strlen): Don't use BP_SYM.
6517 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
6518 <bp-sym.h> and <bp-asm.h>.
6519 (strncmp): Don't use BP_SYM.
6520 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
6521 <bp-sym.h> and <bp-asm.h>.
6522 (__strnlen): Don't use BP_SYM.
6523 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
6524 <bp-asm.h>.
6525 (__mpn_rshift): Don't use BP_SYM.
6526 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6527 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
6528 <bp-sym.h> and <bp-asm.h>.
6529 (__sigsetjmp): Don't use BP_SYM.
6530 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
6531 (L(start_addresses)): Don't use BP_SYM.
6532 (_start): Likewise.
6533 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
6534 <bp-asm.h>.
6535 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
6536 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6537 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6538 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
6539 <bp-asm.h>.
6540 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
6541 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6542 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6543 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
6544 <bp-asm.h>.
6545 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6546 comments.
6547 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6548 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
6549 <bp-asm.h>.
6550 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
6551 FIXME comments.
6552 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6553 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6554 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
6555 <bp-asm.h>.
6556 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
6557 comment.
6558 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
6559 and <bp-asm.h>.
6560 (strncmp): Don't use BP_SYM,
6561 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
6562 <bp-asm.h>.
6563 (__mpn_sub_n): Don't use BP_SYM.
6564 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6565 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
6566 and <bp-asm.h>.
6567 (__mpn_submul_1): Don't use BP_SYM.
6568 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
6570 <bp-sym.h> and <bp-asm.h>.
6571 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
6573 <bp-sym.h> and <bp-asm.h>.
6574 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
6575 comment.
6576
65772013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6578
6579 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
6580 Use ZK to minimize writes to Z.
6581 (sub_magnitudes): Simplify code a bit.
6582 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
6583 Use ZK to minimize writes to Z.
6584 (sub_magnitudes): Simplify code a bit.
6585
65862013-02-27 Roland McGrath <roland@hack.frob.com>
6587
6588 * csu/gmon-start.c: Add special exception to license text.
6589
65902013-02-27 Richard Henderson <rth@redhat.com>
6591
6592 * scripts/config.guess: Update from config.git.
6593 * scripts/config.sub: Likewise.
6594
65952013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6596
6597 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
6598
6599 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
6600
6601 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
6602
6603 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
6604
6605 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
6606
66072013-02-26 Roland McGrath <roland@hack.frob.com>
6608
6609 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
6610 [$(build-shared = yes].
6611
66122013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6613
6614 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
6615 (__mul): Reduce iterations for calculating mantissa.
6616
6617 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
6618 MPTWO.
6619 (__mpranred): Likewise.
6620
6621 [BZ #15160]
6622 * malloc/memusagestat.c (main): Draw graphs for heap and stack
6623 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
6624
66252013-02-26 Paul Eggert <eggert@cs.ucla.edu>
6626
6627 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
6628 Define __attribute__.
6629
66302013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6631
6632 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
6633 unused.
6634 * posix/regex_internal.h (__attribute): Remove.
6635 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
6636 (re_string_context_at): Likewise.
6637 (bitset_not): Use __attribute__ and mark function as possibly
6638 unused.
6639 (bitset_merge): Likewise.
6640 (bitset_mask): Likewise.
6641 (re_string_char_size_at): Likewise.
6642 (re_string_wchar_at): Likewise.
6643 (re_string_elem_size_at): Likewise.
6644
66452013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
6646
6647 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
6648 code.
6649 (cc32): Likewise.
6650
6651 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
6652 (__acr): Likewise.
6653 (__cpy): Likewise.
6654 (norm): Likewise.
6655 (denorm): Likewise.
6656 (__dbl_mp): Likewise.
6657 (add_magnitudes): Likewise.
6658 (sub_magnitudes): Likewise.
6659 (__mul): Likewise.
6660 (__inv): Likewise.
6661
6662 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6663 style.
6664
6665 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6666 style.
6667
6668 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6669 code.
6670
6671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6672 up changes with default code.
6673 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6674 Likewise.
6675
66762013-02-24 Allan McRae <allan@archlinux.org>
6677
6678 * manual/socket.texi (The Internet Namespace): Order menu items
6679 to match that in the file.
6680
6681 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6682 node listing of the info page menu.
6683
66842013-02-21 Joseph Myers <joseph@codesourcery.com>
6685
6686 [BZ #13550]
6687 * sysdeps/i386/bp-asm.h: Remove file.
6688 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6689 (PARMS): Do not use macros from bp-asm.h.
6690 (S1): Likewise.
6691 (S2): Likewise.
6692 (SIZE): Likewise.
6693 (__mpn_add_n): Do not use BP_SYM
6694 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6695 "bp-asm.h".
6696 (PARMS): Do not use macros from bp-asm.h.
6697 (S1): Likewise.
6698 (SIZE): Likewise.
6699 (__mpn_addmul_1): Do not use BP_SYM
6700 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6701 "bp-asm.h".
6702 (PARMS): Do not use macros from bp-asm.h.
6703 (SIGMSK): Likewise.
6704 (_setjmp): Likewise. Do not use BP_SYM.
6705 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6706 "bp-asm.h".
6707 (PARMS): Do not use macros from bp-asm.h.
6708 (SIGMSK): Likewise.
6709 (setjmp): Likewise. Do not use BP_SYM.
6710 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6711 "bp-asm.h".
6712 (PARMS): Do not use macros from bp-asm.h.
6713 (__frexp): Do not use BP_SYM.
6714 (frexp): Likewise.
6715 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6716 "bp-asm.h".
6717 (PARMS): Do not use macros from bp-asm.h.
6718 (__frexpf): Do not use BP_SYM.
6719 (frexpf): Likewise.
6720 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6721 "bp-asm.h".
6722 (PARMS): Do not use macros from bp-asm.h.
6723 (__frexpl): Do not use BP_SYM.
6724 (frexpl): Likewise.
6725 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6726 "bp-asm.h".
6727 (PARMS): Do not use macros from bp-asm.h.
6728 (__remquo): Do not use BP_SYM.
6729 (remquo): Likewise.
6730 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6731 "bp-asm.h".
6732 (PARMS): Do not use macros from bp-asm.h.
6733 (__remquof): Do not use BP_SYM.
6734 (remquof): Likewise.
6735 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6736 "bp-asm.h".
6737 (PARMS): Do not use macros from bp-asm.h.
6738 (__remquol): Do not use BP_SYM.
6739 (remquol): Likewise.
6740 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6741 "bp-asm.h".
6742 (PARMS): Do not use macros from bp-asm.h.
6743 (DEST): Likewise.
6744 (SRC): Likewise.
6745 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6746 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6747 "bp-asm.h".
6748 (PARMS): Do not use macros from bp-asm.h.
6749 (strlen): Do not use BP_SYM.
6750 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6751 "bp-asm.h".
6752 (PARMS): Do not use macros from bp-asm.h.
6753 (S1): Likewise.
6754 (S2): Likewise.
6755 (SIZE): Likewise.
6756 (__mpn_add_n): Do not use BP_SYM.
6757 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6758 "bp-asm.h".
6759 (PARMS): Do not use macros from bp-asm.h.
6760 (S1): Likewise.
6761 (SIZE): Likewise.
6762 (__mpn_addmul_1): Do not use BP_SYM.
6763 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6764 weak_alias.
6765 (bzero): Likewise.
6766 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6767 "bp-asm.h".
6768 (PARMS): Do not use macros from bp-asm.h.
6769 (S): Likewise.
6770 (SIZE): Likewise.
6771 (__mpn_lshift): Do not use BP_SYM.
6772 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6773 "bp-asm.h".
6774 (PARMS): Do not use macros from bp-asm.h.
6775 (DEST): Likewise.
6776 (SRC): Likewise.
6777 (LEN): Likewise.
6778 (memcpy): Likewise. Do not use BP_SYM.
6779 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6780 libc_hidden_def and weak_alias.
6781 (mempcpy): Do not use BP_SYM in weak_alias.
6782 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6783 "bp-asm.h".
6784 (PARMS): Do not use macros from bp-asm.h.
6785 (DEST): Likewise.
6786 (LEN): Likewise.
6787 [!BZERO_P] (CHR): Likewise.
6788 (memset): Likewise. Do not use BP_SYM.
6789 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6790 "bp-asm.h".
6791 (PARMS): Do not use macros from bp-asm.h.
6792 (S1): Likewise.
6793 (SIZE): Likewise.
6794 (__mpn_mul_1): Do not use BP_SYM.
6795 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6796 "bp-asm.h".
6797 (PARMS): Do not use macros from bp-asm.h.
6798 (S): Likewise.
6799 (SIZE): Likewise.
6800 (__mpn_rshift): Do not use BP_SYM.
6801 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6802 "bp-asm.h".
6803 (PARMS): Do not use macros from bp-asm.h.
6804 (STR): Likewise.
6805 (CHR): Likewise.
6806 (strchr): Likewise. Do not use BP_SYM.
6807 (index): Do not use BP_SYM in weak_alias.
6808 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6809 "bp-asm.h".
6810 (PARMS): Do not use macros from bp-asm.h.
6811 (DEST): Likewise.
6812 (SRC): Likewise.
6813 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6814 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6815 "bp-asm.h".
6816 (PARMS): Do not use macros from bp-asm.h.
6817 (strlen): Do not use BP_SYM.
6818 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6819 "bp-asm.h".
6820 (PARMS): Do not use macros from bp-asm.h.
6821 (S1): Likewise.
6822 (S2): Likewise.
6823 (SIZE): Likewise.
6824 (__mpn_sub_n): Do not use BP_SYM.
6825 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6826 "bp-asm.h".
6827 (PARMS): Do not use macros from bp-asm.h.
6828 (S1): Likewise.
6829 (SIZE): Likewise.
6830 (__mpn_submul_1): Do not use BP_SYM.
6831 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6832 "bp-asm.h".
6833 (PARMS): Do not use macros from bp-asm.h.
6834 (S1): Likewise.
6835 (S2): Likewise.
6836 (SIZE): Likewise.
6837 (__mpn_add_n): Do not use BP_SYM.
6838 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6839 weak_alias.
6840 (bzero): Likewise.
6841 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6842 "bp-asm.h".
6843 (PARMS): Do not use macros from bp-asm.h.
6844 (BLK2): Likewise.
6845 (LEN): Likewise.
6846 (memcmp): Do not use BP_SYM.
6847 (bcmp): Do not use BP_SYM in weak_alias.
6848 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6849 "bp-asm.h".
6850 (PARMS): Do not use macros from bp-asm.h.
6851 (DEST): Likewise.
6852 (SRC): Likewise.
6853 (LEN): Likewise.
6854 (memcpy): Likewise. Do not use BP_SYM.
6855 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6856 "bp-asm.h".
6857 (PARMS): Do not use macros from bp-asm.h.
6858 (DEST): Likewise.
6859 (SRC): Likewise.
6860 (LEN): Likewise.
6861 (memmove): Likewise. Do not use BP_SYM.
6862 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6863 "bp-asm.h".
6864 (PARMS): Do not use macros from bp-asm.h.
6865 (DEST): Likewise.
6866 (SRC): Likewise.
6867 (LEN): Likewise.
6868 (__mempcpy): Likewise. Do not use BP_SYM.
6869 (mempcpy): Do not use BP_SYM in weak_alias.
6870 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6871 "bp-asm.h".
6872 (PARMS): Do not use macros from bp-asm.h.
6873 (DEST): Likewise.
6874 (LEN): Likewise.
6875 [!BZERO_P] (CHR): Likewise.
6876 (memset): Likewise. Do not use BP_SYM.
6877 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6878 "bp-asm.h".
6879 (PARMS): Do not use macros from bp-asm.h.
6880 (STR2): Likewise.
6881 (strcmp): Do not use BP_SYM.
6882 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6883 "bp-asm.h".
6884 (PARMS): Do not use macros from bp-asm.h.
6885 (STR): Likewise.
6886 (DELIM): Likewise.
6887 [USE_AS_STRTOK_R] (SAVE): Likewise.
6888 (FUNCTION): Likewise. Do not use BP_SYM.
6889 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6890 aliases.
6891 (strtok_r): Likewise.
6892 (__GI___strtok_r): Likewise.
6893 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6894 (PARMS): Do not use macros from bp-asm.h.
6895 (S): Likewise.
6896 (SIZE): Likewise.
6897 (__mpn_lshift): Do not use BP_SYM.
6898 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6899 (PARMS): Do not use macros from bp-asm.h.
6900 (STR): Likewise.
6901 (CHR): Likewise.
6902 (__memchr): Do not use BP_SYM.
6903 (memchr): Do not use BP_SYM in weak_alias.
6904 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6905 (PARMS): Do not use macros from bp-asm.h.
6906 (BLK2): Likewise.
6907 (LEN): Likewise.
6908 (memcmp): Do not use BP_SYM.
6909 (bcmp): Do not use BP_SYM in weak_alias.
6910 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6911 (PARMS): Do not use macros from bp-asm.h.
6912 (S1): Likewise.
6913 (SIZE): Likewise.
6914 (__mpn_mul_1): Do not use BP_SYM.
6915 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6916 "bp-asm.h".
6917 (PARMS): Do not use macros from bp-asm.h.
6918 (STR): Likewise.
6919 (CHR): Likewise.
6920 (__rawmemchr): Do not use BP_SYM.
6921 (rawmemchr): Do not use BP_SYM in weak_alias.
6922 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6923 (PARMS): Do not use macros from bp-asm.h.
6924 (S): Likewise.
6925 (SIZE): Likewise.
6926 (__mpn_rshift): Do not use BP_SYM.
6927 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6928 (PARMS): Do not use macros from bp-asm.h.
6929 (SIGMSK): Likewise.
6930 (__sigsetjmp): Likewise. Do not use BP_SYM.
6931 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6932 (_start): Do not use BP_SYM.
6933 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6934 (PARMS): Do not use macros from bp-asm.h.
6935 (DEST): Likewise.
6936 (SRC): Likewise.
6937 (__stpcpy): Likewise. Do not use BP_SYM.
6938 (stpcpy): Do not use BP_SYM in weak_alias.
6939 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6940 "bp-asm.h".
6941 (PARMS): Do not use macros from bp-asm.h.
6942 (DEST): Likewise.
6943 (SRC): Likewise.
6944 (LEN): Likewise.
6945 (__stpncpy): Likewise. Do not use BP_SYM.
6946 (stpncpy): Do not use BP_SYM in weak_alias.
6947 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6948 (PARMS): Do not use macros from bp-asm.h.
6949 (STR): Likewise.
6950 (CHR): Likewise.
6951 (strchr): Likewise. Do not use BP_SYM.
6952 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6953 "bp-asm.h".
6954 (PARMS): Do not use macros from bp-asm.h.
6955 (STR): Likewise.
6956 (CHR): Likewise.
6957 (__strchrnul): Likewise. Do not use BP_SYM.
6958 (strchrnul): Do not use BP_SYM in weak_alias.
6959 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6960 "bp-asm.h".
6961 (PARMS): Do not use macros from bp-asm.h.
6962 (STOP): Likewise.
6963 (strcspn): Do not use BP_SYM.
6964 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6965 "bp-asm.h".
6966 (PARMS): Do not use macros from bp-asm.h.
6967 (STR): Likewise.
6968 (STOP): Likewise.
6969 (strpbrk): Likewise. Do not use BP_SYM.
6970 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6971 "bp-asm.h".
6972 (PARMS): Do not use macros from bp-asm.h.
6973 (STR): Likewise.
6974 (CHR): Likewise.
6975 (strrchr): Likewise. Do not use BP_SYM.
6976 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6977 (PARMS): Do not use macros from bp-asm.h.
6978 (SKIP): Likewise.
6979 (strspn): Do not use BP_SYM.
6980 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6981 (PARMS): Do not use macros from bp-asm.h.
6982 (STR): Likewise.
6983 (DELIM): Likewise.
6984 (SAVE): Likewise.
6985 (FUNCTION): Likewise. Do not use BP_SYM.
6986 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6987 aliases.
6988 (strtok_r): Likewise.
6989 (__GI___strtok_r): Likewise.
6990 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6991 (PARMS): Do not use macros from bp-asm.h.
6992 (S1): Likewise.
6993 (S2): Likewise.
6994 (SIZE): Likewise.
6995 (__mpn_sub_n): Do not use BP_SYM.
6996 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6997 "bp-asm.h".
6998 (PARMS): Do not use macros from bp-asm.h.
6999 (S1): Likewise.
7000 (SIZE): Likewise.
7001 (__mpn_submul_1): Do not use BP_SYM.
7002 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7003 <bp-sym.h>.
7004 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7005 and <bp-asm.h>.
7006 (PARMS): Do not use macros from bp-asm.h.
7007 (FLAGS): Likewise.
7008 (PTID): Likewise.
7009 (TLS): Likewise.
7010 (CTID): Likewise.
7011 (__clone): Do not use BP_SYM.
7012 (clone): Do not use BP_SYM in weak_alias.
7013 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7014 and <bp-asm.h>.
7015 (PARMS): Do not use macros from bp-asm.h.
7016 (LEN): Likewise.
7017 (__mmap64): Do not use BP_SYM.
7018 (mmap64): Do not use BP_SYM in weak_alias.
7019 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7020 <bp-sym.h> and <bp-asm.h>.
7021 (PARMS): Do not use macros from bp-asm.h.
7022 (__posix_fadvise64_l64): Do not use BP_SYM.
7023 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7024 (PARMS): Do not use macros from bp-asm.h.
7025 (NSOPS): Likewise.
7026 (semtimedop): Do not use BP_SYM.
7027 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7028 and <bp-asm.h>.
7029
70302013-02-21 Allan McRae <allan@archlinux.org>
7031
7032 * manual/message.texi (Charset conversion in gettext):
7033 Move @end statement to beginning of line.
7034
70352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7036
7037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7038 static.
7039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7040 Likewise.
7041
7042 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7043 (denorm): Likewise.
7044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7046
70472013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7048
7049 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7050 tail-call to the resolved function if pltexit isn't needed.
7051
70522013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7053
7054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7055 or Y being zero as being unlikely.
7056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7057 Likewise.
7058
70592013-02-20 Carlos O'Donell <carlos@redhat.com>
7060
7061 * manual/nss.texi (System Databases and Name Service Switch):
7062 Remove frobnicate @pxref.
7063
70642013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7065
7066 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7067 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7068
70692013-02-20 Petr Machata <pmachata@redhat.com>
7070
7071 * elf/elf.h (R_ARM_TARGET1): New macro.
7072 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7073 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7074 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7075 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7076 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7077 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7078 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7079 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7080 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7081 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7082 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7083 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7084 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7085 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7086 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7087 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7088 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7089 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7090 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7091 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7092 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7093 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7094 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7095 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7096 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7097 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7098 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7099 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7100 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7101 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7102 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7103 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7104 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7105 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7106 (R_ARM_THM_GOT_BREL12): Likewise.
7107 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7108 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7109 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7110 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7111 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7112 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7113 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7114 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7115 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7116
71172013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7118
7119 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7120 __attribute_used__ to __attribute__ ((unused)).
7121
71222013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7123
7124 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7125 powerpc mpa.c.
7126 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7127 comment formatting.
7128 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7129
71302013-02-19 Joseph Myers <joseph@codesourcery.com>
7131
7132 [BZ #13550]
7133 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7134 Remove macro.
7135 (ENTER): Remove both macro definitions.
7136 (LEAVE): Likewise.
7137 (CHECK_BOUNDS_LOW): Likewise.
7138 (CHECK_BOUNDS_HIGH): Likewise.
7139 (CHECK_BOUNDS_BOTH): Likewise.
7140 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7141 (RETURN_BOUNDED_POINTER): Likewise.
7142 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7143 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7144 (POP_ERRNO_LOCATION_RETURN): Likewise.
7145 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7146 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7147 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7148 macros.
7149 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7150 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7151 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7152 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7153 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7154 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7155 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7156 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7157 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7158 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7159 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7160 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7161 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7162 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7163 removed macros.
7164 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7165 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7166 macros.
7167 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7168 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7169 * sysdeps/i386/i586/memset.S (memset): Likewise.
7170 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7171 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7172 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7173 macros.
7174 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7175 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7176 Change uses of L(2) to L(out).
7177 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7178 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7179 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7180 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7181 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7182 removed macros.
7183 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7184 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7185 macros.
7186 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7187 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7188 (RETURN): Do not use macro LEAVE.
7189 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7190 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7191 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7192 * sysdeps/i386/i686/memset.S (memset): Likewise.
7193 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7194 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7195 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7196 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7197 Likewise.
7198 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7199 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7200 L(1_2) and L(1_3) into L(1).
7201 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7202 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7203 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7204 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7205 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7206 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7207 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7208 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7209 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7210 macros.
7211 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7212 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7213 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7214 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7215 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7216 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7217 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7218 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7219 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7220 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7221 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7222 * sysdeps/i386/strspn.S (strspn): Likewise.
7223 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7224 conditional code.
7225 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7226 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7227 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7228 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7229 L(1_3) into L(1_1).
7230 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7231 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7232 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7233 macros.
7234 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7235
72362013-02-19 Jakub Jelinek <jakub@redhat.com>
7237
7238 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7239 macro.
7240
72412013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7242
7243 * math/atest-exp.c (exp_mpn): Remove ROUND.
7244 * math/atest-exp2.c (exp_mpn): Likewise.
7245 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7246
7247 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7248 * stdlib/tst-tls-atexit-lib.c: Likewise.
7249 * stdlib/tst-tls-atexit.c: Likewise.
7250
72512013-02-18 Mike Frysinger <vapier@gentoo.org>
7252
7253 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7254 and __attribute_alloc_size__.
7255
72562013-02-18 Mike Frysinger <vapier@gentoo.org>
7257
7258 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7259 __attribute_alloc_size__.
7260 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7261 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7262
72632013-02-18 Mike Frysinger <vapier@gentoo.org>
7264
7265 * include/programs/xmalloc.h: New file.
7266 * catgets/gencat.c: Include it.
7267 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7268 * elf/pldd.c: Likewise.
7269 * iconv/iconv_charmap.c: Likewise.
7270 * iconv/iconvconfig.c: Likewise.
7271 * iconv/strtab.c: Likewise.
7272 * locale/programs/locale.c: Likewise.
7273 * locale/programs/localedef.h: Likewise.
7274 * locale/programs/simple-hash.c: Likewise.
7275 * nscd/nscd.h: Likewise.
7276 * nss/makedb.c: Likewise.
7277 * sysdeps/generic/ldconfig.h: Likewise.
7278
72792013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7280
7281 * Versions.def: Add GLIBC_2.18.
7282 * include/link.h (struct link_map): New member l_tls_dtor_count.
7283 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7284 (__call_tls_dtors): Likewise.
7285 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7286 __cxa_thread_atexit_impl.
7287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7288 Likewise.
7289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7290 Likewise.
7291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7292 Likewise.
7293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7294 Likewise.
7295 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7297 Likewise.
7298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7299 Likewise.
7300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7302 Likewise.
7303 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7304 (tests): Add test case tst-tls-atexit.
7305 (modules-names): Add shared library for tst-tls-atexit.
7306 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7307 (GLIBC_PRIVATE): Add __call_tls_dtors.
7308 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7309 for libstdc++.
7310 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7311 * stdlib/tst-tls-atexit.c: New test case.
7312 * stdlib/tst-tls-atexit-lib.c: New test case.
7313
7314 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7315
7316 * elf/Versions (ld): Add _dl_find_dso_for_object.
7317 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7318 * elf/dl-open.c (_dl_find_dso_for_object): New function.
7319 (dl_open_worker): Use _dl_find_dso_for_object.
7320 * elf/dl-sym.c (do_sym): Likewise.
7321 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7322
73232013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7324
7325 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7326 Syntactic changes only.
7327 (_dl_runtime_profile): Do a tail-call to the resolved function.
7328
73292013-02-17 Joseph Myers <joseph@codesourcery.com>
7330
7331 [BZ #13550]
7332 * sysdeps/x86_64/bp-asm.h: Remove file.
7333 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
7334 <bp-sym.h> and <bp-asm.h>.
7335 (__clone): Do not use BP_SYM.
7336 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
7337 <bp-sym.h> and <bp-asm.h>.
7338 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7339 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
7340 "bp-asm.h".
7341 (_setjmp): Do not use BP_SYM.
7342 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
7343 "bp-asm.h".
7344 (setjmp): Do not use BP_SYM.
7345 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
7346 libc_hidden_def.
7347 (mempcpy): Do not use BP_SYM in weak_alias.
7348 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
7349 "bp-asm.h".
7350 (strchr): Do not use BP_SYM.
7351 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
7352 "bp-asm.h".
7353 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
7354 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
7355 (_start): Do not use BP_SYM.
7356 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
7357 "bp-asm.h".
7358 (strcat): Do not use BP_SYM.
7359 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
7360 "bp-asm.h".
7361 (STRCMP): Do not use BP_SYM.
7362 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
7363 "bp-asm.h".
7364 (STRCPY): Do not use BP_SYM.
7365 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
7366 "bp-asm.h".
7367 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
7368 "bp-asm.h".
7369 (FUNCTION): Do not use BP_SYM.
7370 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
7371 weak_alias.
7372 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
7373
73742013-02-17 Andreas Jaeger <aj@suse.de>
7375
7376 * time/Versions: Sort entries.
7377 * string/Versions: Likewise.
7378 * resolv/Versions: Likewise.
7379 * posix/Versions: Likewise.
7380 * iconv/Versions: Likewise.
7381 * elf/Versions: Likewise.
7382 * wcsmbs/Versions: Likewise.
7383
73842013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7385
7386 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
7387 loop termination condition.
7388
7389 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
7390 variable to calculate EZ.
7391 (__sqr): Likewise.
7392
7393 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
7394 the lower precision input.
7395
73962013-02-15 Joseph Myers <joseph@codesourcery.com>
7397
7398 [BZ #13550]
7399 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
7400 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
7401 (run-via-rtld-prefix): Do not handle %-bp tests.
7402 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
7403 (all-object-suffixes): Remove .ob.
7404 (bppfx): Remove variable.
7405 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
7406 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
7407 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
7408 [$(build-bounded) = yes] (libtype.ob): Likewise.
7409 * Makerules (elide-routines.ob): Remove variable.
7410 (do-tests-clean): Do not handle *-bp.out.
7411 (common-mostlyclean): Do not handle *-bp and *-bp.out.
7412 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
7413 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
7414 (tests): Do not include $(tests-bp.out).
7415 (xtests): Do not include $(xtests-bp.out).
7416 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
7417 [$(build-bounded) = yes] ($(addprefix
7418 $(objpfx),$(binaries-bounded))): Remove rule.
7419 ($(objpfx)%-bp.out): Remove rule.
7420 * config.make.in (build-bounded): Remove variable.
7421 * crypt/Makefile [$(build-bounded) = yes]
7422 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
7423 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
7424 append to variable.
7425 [$(build-bounded) = yes] (install-lib): Likewise.
7426 [$(build-bounded) = yes] (generated): Likewise.
7427 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
7428 Remove rule.
7429 * intl/Makefile [$(build-bounded) = yes]
7430 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
7431 * math/Makefile [$(build-bounded) = yes]
7432 ($(tests:%=$(objpfx)%-bp): Likewise.
7433 * misc/Makefile [$(build-bounded) = yes]
7434 ($(objpfx)tst-tsearch-bp): Likewise.
7435 * nptl/Makeconfig (bounded-thread-library): Remove variable.
7436 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
7437 Remove dependency.
7438 * string/Makefile (o-objects.ob): Remove variable.
7439 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
7440 (CFLAGS-.ob): Remove variable.
7441 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
7442 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
7443 both definitions of variable.
7444 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
7445 (ASFLAGS-.ob): Remove variable.
7446
74472013-02-14 Joseph Myers <joseph@codesourcery.com>
7448
7449 [BZ #13550]
7450 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
7451 Remove __BOUNDED_POINTERS__ from condition.
7452 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
7453 * string/bits/string2.h [!__NO_STRING_INLINES &&
7454 !__BOUNDED_POINTERS__]: Likewise.
7455 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
7456 Likewise.
7457 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
7458 Remove conditional code.
7459 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
7460 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
7461 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
7462 condition.
7463
7464 [BZ #13550]
7465 * csu/libc-start.c: Do not include <bp-sym.h>.
7466 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
7467 * elf/dl-open.c: Do not include <bp-sym.h>.
7468 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
7469 * math/fegetenv.c: Do not include <bp-sym.h>.
7470 (fegetenv): Do not use BP_SYM in versioned symbols.
7471 * nptl/sysdeps/pthread/bits/libc-lockP.h
7472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
7473 <bp-sym.h>.
7474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7475 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
7476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7477 (__pthread_mutex_destroy): Likewise.
7478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7479 (__pthread_mutex_lock): Likewise.
7480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7481 (__pthread_mutex_trylock): Likewise.
7482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7483 (__pthread_mutex_unlock): Likewise.
7484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7485 (__pthread_mutexattr_init): Likewise.
7486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7487 (__pthread_mutexattr_destroy): Likewise.
7488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7489 (__pthread_mutexattr_settype): Likewise.
7490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7491 (__pthread_rwlock_init): Likewise.
7492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7493 (__pthread_rwlock_destroy): Likewise.
7494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7495 (__pthread_rwlock_rdlock): Likewise.
7496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7497 (__pthread_rwlock_tryrdlock): Likewise.
7498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7499 (__pthread_rwlock_wrlock): Likewise.
7500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7501 (__pthread_rwlock_trywrlock): Likewise.
7502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7503 (__pthread_rwlock_unlock): Likewise.
7504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7505 (__pthread_key_create): Likewise.
7506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7507 (__pthread_setspecific): Likewise.
7508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7509 (__pthread_getspecific): Likewise.
7510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
7511 Likewise.
7512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7513 (_pthread_cleanup_push_defer): Likewise.
7514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7515 (_pthread_cleanup_pop_restore): Likewise.
7516 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
7517 (pthread_setcancelstate): Likewise.
7518 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
7519 <bp-sym.h>.
7520 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
7521 (memchr): Do not use BP_SYM in weak_alias.
7522 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
7523 (fegetenv): Do not use BP_SYM in versioned symbols.
7524 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
7525 (fesetenv): Do not use BP_SYM in versioned symbols.
7526 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7527 (feupdateenv): Do not use BP_SYM in versioned symbols.
7528 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7529 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7530 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
7531 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
7532 (open64): Do not use BP_SYM in weak_alias.
7533 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
7534 (fegetenv): Do not use BP_SYM in versioned symbols.
7535 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
7536 (fesetenv): Do not use BP_SYM in versioned symbols.
7537 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
7538 (feupdateenv): Do not use BP_SYM in versioned symbols.
7539 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
7540 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
7541 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
7542 (feraiseexcept): Do not use BP_SYM in versioned symbols.
7543 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
7544 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
7545 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
7546 <bp-sym.h>.
7547 (__libc_start_main): Do not use BP_SYM.
7548
75492013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7550
7551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
7552 redundant return line.
7553 (norm): Likewise.
7554 (denorm): Likewise.
7555 (dbl_mp): Likewise.
7556 (sub_magnitudes): Likewise.
7557 (__add): Likewise.
7558 (__sub): Likewise.
7559 (__mul): Likewise.
7560 (__inv): Likewise.
7561 (__dvd): Likewise.
7562 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
7563 (norm): Likewise.
7564 (denorm): Likewise.
7565 (dbl_mp): Likewise.
7566 (sub_magnitudes): Likewise.
7567 (__add): Likewise.
7568 (__sub): Likewise.
7569 (__mul): Likewise.
7570 (__inv): Likewise.
7571 (__dvd): Likewise.
7572
7573 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
7574 instead of __mul.
7575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7576 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
7577 (cc32): Likewise.
7578
7579 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
7580 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
7581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
7582 of __mul for squares.
7583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
7584 function
7585 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
7586 Likewise.
7587 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
7588 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7589
75902013-02-13 Joseph Myers <joseph@codesourcery.com>
7591
7592 [BZ #13550]
7593 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
7594 code.
7595 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
7596 prototype or function definition. Rename ubp_* variables and
7597 parameters. Remove argv definitions conditional on
7598 [__BOUNDED_POINTERS__].
7599 * debug/backtrace.c (__backtrace): Do not use __unbounded.
7600 * elf/dl-runtime.c (_dl_fixup): Likewise.
7601 * include/set-hooks.h (RUN_HOOK): Likewise.
7602 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
7603 definition.
7604 * string/strcpy.c (strcpy): Do not use __unbounded.
7605 * sysdeps/generic/frame.h (struct layout): Likewise.
7606 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
7607 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
7608 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
7609 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
7610 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
7611 (__backtrace): Likewise.
7612 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
7613 use __ptrvalue.
7614 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
7615 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7616 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7617 Likewise.
7618 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
7619 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
7620 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7621 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7622 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
7623 Do not use __unbounded.
7624 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
7625 Rename __unboundedrlimits parameter to rlimits in prototype.
7626 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
7627 Do not use __unbounded.
7628 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
7629 not use __ptrvalue.
7630 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7631 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
7632 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7633 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
7634 __ptrvalue or __unbounded.
7635 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
7636 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
7637 use __unbounded.
7638 (__new_msgctl): Do not use __ptrvalue.
7639 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
7640 __unbounded.
7641 (__libc_msgrcv): Do not use __ptrvalue.
7642 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
7643 startup_info): Do not use __unbounded.
7644 (__libc_start_main): Likewise. Rename ubp_* variables and
7645 parameters. Remove argv definitions conditional on
7646 [__BOUNDED_POINTERS__].
7647 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
7648 __ptrvalue.
7649 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
7650 use __unbounded.
7651 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
7652 or __ptrvalue.
7653 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
7654 use __unbounded.
7655 (__new_shmctl): Do not use __ptrvalue.
7656 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7657 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7658 Likewise.
7659 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7661 (__libc_sigaction): Likewise.
7662 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7663 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7664 Likewise.
7665 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7666
76672013-02-13 Ondřej Bílka <neleai@seznam.cz>
7668
7669 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
7670
7671 * string/mempcpy.c: Implement by calling memcpy.
7672
76732013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7674
7675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7676
7677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7678 evaluation.
7679
7680 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7681 values in the mantissa.
7682
7683 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7684 minimize writes to Z.
7685 (sub_magnitudes): Simplify code a bit.
7686
76872013-02-12 Roland McGrath <roland@hack.frob.com>
7688
7689 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7690 from the message. The linker prefixes all warnings with that already.
7691
76922013-02-12 Andreas Schwab <schwab@suse.de>
7693
7694 [BZ #15078]
7695 * posix/regexec.c (extend_buffers): Add parameter min_len.
7696 (check_matching): Pass minimum needed length.
7697 (clean_state_log_if_needed): Likewise.
7698 (get_subexp): Likewise.
7699 * posix/Makefile (tests): Add bug-regex34.
7700 (bug-regex34-ENV): Define.
7701 * posix/bug-regex34.c: New file.
7702
7703 [BZ #11561]
7704 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7705 elements compare against the byte sequence of it, not its name.
7706 * posix/Makefile (tests): Add bug-regex35.
7707 (bug-regex35-ENV): Define.
7708 * posix/bug-regex35.c: New file.
7709
77102013-02-11 Tom de Vries <tom@codesourcery.com>
7711
7712 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7713 comment.
7714 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7715 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7716 (CHECK_EOL): Add undef.
7717
77182013-02-11 Ondřej Bílka <neleai@seznam.cz>
7719
7720 * bits/stdlib-bsearch.h: New file.
7721 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
7722 * stdlib/stdlib.h: Likewise.
7723
77242013-02-11 Roland McGrath <roland@hack.frob.com>
7725
7726 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7727 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7728 declaration.
7729 * manual/search.texi (Array Search Function): Add missing const in
7730 lfind prototype.
7731 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7732 declaration to use rlim_t.
7733 (Basic Scheduling Functions): Remove erroneous const from
7734 sched_getparam prototype. Remove erroneous * from
7735 sched_get_priority_max and sched_get_priority_min prototypes.
7736 (Resource Usage): Fix summary @comment on vtimes to refer to
7737 sys/vtimes.h rather than vtimes.h.
7738 Add missing *s in vtimes prototype.
7739 (Limits on Resources): Fix ulimit prototype to return long int.
7740 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7741 prototypes to use long int rather than double.
7742 (BSD Random): Fix initstate and setstate to use char *, not void *.
7743 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7744 prototype to make second argument 'struct aiocb64 *const[]'.
7745 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7746 (Status of AIO Operations): Remove erroneous const in aio_return and
7747 aio_return64 prototypes.
7748 (Synchronizing I/O): Fix sync prototype to return void.
7749 * manual/startup.texi (Suboptions): Remove an erroneous const in
7750 getsubopt prototype.
7751 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7752 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7753 use size_t rather than int.
7754 (Scanning All Users): Likewise for getpwent_r.
7755 (Setting Groups): Add missing const to setgroups prototype.
7756 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7757 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7758 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7759 'const void *' rather than 'const char *'.
7760 (Host Address Functions): Likewise for inet_ntop.
7761 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7762 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7763 ssize_t for return value.
7764 (Sending Data): Likewise for send, sendto, sendmsg.
7765 (Socket Option Functions): Add a missing const in setsockopt prototype.
7766 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7767 use wchar_t for the argument.
7768 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7769 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7770 take no arguments.
7771 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7772 double/float/long double for second argument.
7773 Fix return types of significand, significandf, significandl.
7774 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7775 argument in fchmod prototype.
7776 (File Owner): Use uid_t and gid_t in fchown prototype.
7777 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7778 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7779 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7780 use 'const struct dirent **' as argument types to CMP function pointer
7781 argument.
7782 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7783 (File Times): Fix summary magic @comment for struct utimbuf and utime
7784 to refer to utime.h, not time.h.
7785 * manual/string.texi (Argz Functions): Add missing const in
7786 argz_extract and argz_next prototypes.
7787 (Finding Tokens in a String): Likewise for basename.
7788 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7789 (Copying and Concatenation): Fix typo in wmemmove prototype.
7790 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7791 (Signal Stack): Remove erroneous const in sigstack prototype.
7792 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7793 prototype.
7794 (Simple Calendar Time): Likewise for stime.
7795 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7796 prototype.
7797 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7798 say sys/sysctl.h instead.
7799 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7800 and vsyslog prototypes.
7801
78022013-02-11 Tom de Vries <tom@codesourcery.com>
7803
7804 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7805 Remove.
7806
78072013-02-11 Roland McGrath <roland@hack.frob.com>
7808
7809 * misc/sys/mman.h: Fix typo in mremap comment.
7810
78112013-02-08 Roland McGrath <roland@hack.frob.com>
7812
7813 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7814 the '\0' terminator.
7815
78162013-02-08 Joseph Myers <joseph@codesourcery.com>
7817
7818 [BZ #13550]
7819 * debug/segfault.c: Don't include <bp-checks.h>.
7820 * sysdeps/generic/bp-checks.h: Remove file.
7821 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7822 (__GETDENTS): Don't use CHECK_N.
7823 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7824 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7825 (__getgroups): Don't use CHECK_N.
7826 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7827 (setgroups): Don't use CHECK_N.
7828 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7829 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7830 (__libc_msgrcv): Don't use CHECK_N.
7831 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7832 (__libc_msgsnd): Don't use CHECK_N.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7834 <bp-checks.h>.
7835 (__libc_pread): Don't use CHECK_N.
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7837 include <bp-checks.h>.
7838 (__libc_pread64): Don't use CHECK_N.
7839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7840 include <bp-checks.h>.
7841 (__libc_pwrite): Don't use CHECK_N.
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7843 include <bp-checks.h>.
7844 (__libc_pwrite64): Don't use CHECK_N.
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7846 <bp-checks.h>.
7847 (__libc_pread): Don't use CHECK_N.
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7849 include <bp-checks.h>.
7850 (__libc_pread64): Don't use CHECK_N.
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7852 include <bp-checks.h>.
7853 (__libc_pwrite): Don't use CHECK_N.
7854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7855 include <bp-checks.h>.
7856 (__libc_pwrite64): Don't use CHECK_N.
7857 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7858 (do_pread): Don't use CHECK_N.
7859 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7860 (do_pread64): Don't use CHECK_N.
7861 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7862 (do_pwrite): Don't use CHECK_N.
7863 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7864 (do_pwrite64): Don't use CHECK_N.
7865 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7866 (__libc_readv): Don't use CHECK_N.
7867 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7868 (semop): Don't use CHECK_N.
7869 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7870 <bp-checks.h>.
7871 (semtimedop): Don't use CHECK_N.
7872 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7873 (__libc_pread): Don't use CHECK_N.
7874 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7875 <bp-checks.h>.
7876 (__libc_pread64): Don't use CHECK_N.
7877 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7878 <bp-checks.h>.
7879 (__libc_pwrite): Don't use CHECK_N.
7880 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7881 <bp-checks.h>.
7882 (__libc_pwrite64): Don't use CHECK_N.
7883 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7884 <bp-checks.h>.
7885 (__libc_msgrcv): Don't use CHECK_N.
7886 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7887 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7888 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7889 (__libc_writev): Don't use CHECK_N.
7890
78912013-02-08 Roland McGrath <roland@hack.frob.com>
7892
7893 * string/strcpy.c: Removed unused variable.
7894
7895 * Makeconfig (+sysdep-includes): Define with := rather than =.
7896 Use an existing include/ subdir of each sysdeps dir before it.
7897
78982013-02-08 Carlos O'Donell <carlos@redhat.com>
7899
7900 * nscd/connection.c (register_traced_file): Comment function.
7901 [HAVE_INOTIFY] (union __inev): Define.
7902 [HAVE_INOTIFY] (inotify_check_files): New function.
7903 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7904 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7905 clear_db_cache.
7906 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7907
79082013-02-08 Carlos O'Donell <carlos@redhat.com>
7909
7910 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7911 loaded if not already and that a failure is permanent.
7912
79132013-02-08 Carlos O'Donell <carlos@redhat.com>
7914
7915 [BZ #15006]
7916 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7917 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7918
79192013-02-08 Joseph Myers <joseph@codesourcery.com>
7920
7921 [BZ #13550]
7922 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7923 (CHECK_1_NULL_OK): Likewise.
7924 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7925 (__fxstat): Do not use CHECK_1.
7926 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7927 <bp-checks.h>.
7928 (___fxstat64): Do not use CHECK_1.
7929 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7930 <bp-checks.h>.
7931 (__fxstatat): Do not use CHECK_1.
7932 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7933 <bp-checks.h>.
7934 (__fxstatat64): Do not use CHECK_1.
7935 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7936 <bp-checks.h>.
7937 (__fxstat): Do not use CHECK_1.
7938 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7939 <bp-checks.h>.
7940 (__fxstatat): Do not use CHECK_1.
7941 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7942 <bp-checks.h>.
7943 (__getresgid): Do not use CHECK_1.
7944 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7945 <bp-checks.h>.
7946 (__getresuid): Do not use CHECK_1.
7947 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7948 <bp-checks.h>.
7949 (__lxstat): Do not use CHECK_1.
7950 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7951 <bp-checks.h>.
7952 (__old_msgctl): Do not use CHECK_1.
7953 (__new_msgctl): Likewise.
7954 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7955 <bp-checks.h>.
7956 (__new_setrlimit): Do not use CHECK_1.
7957 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7958 <bp-checks.h>.
7959 (__old_shmctl): Do not use CHECK_1.
7960 (__new_shmctl): Likewise.
7961 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7962 <bp-checks.h>.
7963 (__xstat): Do not use CHECK_1.
7964 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7965 (__lxstat): Do not use CHECK_1.
7966 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7967 <bp-checks.h>.
7968 (___lxstat64): Do not use CHECK_1.
7969 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7970 (__old_msgctl): Do not use CHECK_1.
7971 (__new_msgctl): Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7973 <bp-checks.h>.
7974 (__gettimeofday): Do not use CHECK_1.
7975 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7976 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7977 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7978 <bp-checks.h>.
7979 (__gettimeofday): Do not use CHECK_1.
7980 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7981 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7982 (__new_shmctl): Do not use CHECK_1.
7983 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7984 <bp-checks.h>.
7985 (do_sigtimedwait): Do not use CHECK_1.
7986 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7987 <bp-checks.h>.
7988 (do_sigwaitinfo): Do not use CHECK_1.
7989 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7990 <bp-checks.h>.
7991 (msgctl): Do not use CHECK_1.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7993 <bp-checks.h>.
7994 (shmctl): Do not use CHECK_1.
7995 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7996 (ustat): Do not use CHECK_1.
7997 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7998 <bp-checks.h>.
7999 (__fxstat): Do not use CHECK_1.
8000 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8001 <bp-checks.h>.
8002 (__fxstatat): Do not use CHECK_1.
8003 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8004 <bp-checks.h>.
8005 (__lxstat): Do not use CHECK_1.
8006 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8007 <bp-checks.h>.
8008 (__xstat): Do not use CHECK_1.
8009 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8010 (__xstat): Do not use CHECK_1.
8011 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8012 (___xstat64): Do not use CHECK_1.
8013
8014 [BZ #13550]
8015 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8016 definitions.
8017 (CHECK_BOUNDS_HIGH): Likewise.
8018 * string/strcpy.c: Do not include <bp-checks.h>.
8019 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8020
80212013-02-07 Roland McGrath <roland@hack.frob.com>
8022
8023 * nscd/nscd-client.h (__nscd_drop_map_ref):
8024 Add __attribute__ ((unused)).
8025 * nis/nss-nisplus.h (niserr2nss): Likewise.
8026
8027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8028 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8029
8030 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8031 Remove inline keyword.
8032 * include/rounding-mode.h (round_away): Likewise.
8033 * libio/wfileops.c (adjust_wide_data): Likewise.
8034 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8035 (__m128i_strloadu_tolower): Likewise.
8036 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8037 (__m128i_strloadu_tolower): Likewise.
8038 * time/mktime.c (ydhms_diff): Likewise.
8039 * locale/elem-hash.h (elem_hash): Likewise.
8040 * locale/setlocale.c (setdata): Likewise.
8041 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8042 (re_string_wchar_at): Likewise.
8043 (bitset_not, bitset_merge, bitset_mask): Likewise.
8044 [!(__GNUC__ > 3)] (inline): Remove macro.
8045 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8046 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8047 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8048 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8049 * string/memcmp.c (memcmp_bytes): Likewise.
8050 * locale/programs/locarchive.c (compute_hashval): Likewise.
8051 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8052 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8053 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8054 * nss/getent.c (print_rpc, print_protocols): Likewise.
8055 (print_passwd, print_group, print_aliases): Likewise.
8056 * nis/nss-nisplus.h (niserr2nss): Likewise.
8057 * nscd/connections.c (restart_p): Likewise.
8058 Change return type to bool.
8059
80602013-02-05 Roland McGrath <roland@hack.frob.com>
8061
8062 * Makeconfig (all-Depend-files): Add existing
8063 $(sorted-subdirs:=/Depend) files.
8064 (all-subdirs): Remove nss.
8065 * sysdeps/unix/inet/Subdirs: Add it here instead.
8066 * hesiod/Depend: New file.
8067
8068 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8069 instead of calling alloca.
8070
8071 * io/lseek.c (__lseek): Rename to __libc_lseek.
8072 Define __lseek as an alias.
8073
8074 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8075
80762013-02-04 Carlos O'Donell <carlos@redhat.com>
8077
8078 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8079 else clause and remove check for non-standard endianness.
8080
80812013-02-04 David S. Miller <davem@davemloft.net>
8082
8083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8084
80852013-02-04 Joseph Myers <joseph@codesourcery.com>
8086
8087 [BZ #13550]
8088 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8089 (__ubp_memchr): Remove prototype.
8090 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8091 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8092 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8093 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8094 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8095 Remove alias.
8096 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8097 (__ubp_memchr): Likewise.
8098 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8099 (__ubp_memchr): Likewise.
8100 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8101 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8102 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8103 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8104 CHECK_STRING.
8105 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8106 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8107 (__getcwd): Do not use CHECK_STRING.
8108 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8109 <bp-checks.h>.
8110 (__real_chown): Do not use CHECK_STRING.
8111 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8112 <bp-checks.h>.
8113 (fchownat): Do not use CHECK_STRING.
8114 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8115 CHECK_STRING.
8116 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8117 <bp-checks.h>.
8118 (__lchown): Do not use CHECK_STRING.
8119 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8120 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8121 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8122 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8124 include <bp-checks.h>.
8125 (truncate64): Do not use CHECK_STRING.
8126 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8127 <bp-checks.h>.
8128 (__real_chown): Do not use CHECK_STRING.
8129 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8130 <bp-checks.h>.
8131 (__lchown): Do not use CHECK_STRING.
8132 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8133 <bp-checks.h>.
8134 (__chown): Do not use CHECK_STRING.
8135 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8136 <bp-checks.h>.
8137 (truncate64): Do not use CHECK_STRING.
8138 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8139 Likewise.
8140 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8141 (__xmknod): Do not use CHECK_STRING.
8142 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8143 <bp-checks.h>.
8144 (__xmknodat): Do not use CHECK_STRING.
8145 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8146 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8147
81482013-02-04 Andreas Schwab <schwab@suse.de>
8149
8150 [BZ #14142]
8151 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8152 * include/netdb.h: Likewise for h_errno.
8153 * elf/tst-stackguard1.c: Include <tls.h>.
8154
81552013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8156
8157 * elf/link.h (struct link_map): Extend the l_addr comment.
8158 * include/link.h (struct link_map): Likewise.
8159
81602013-02-01 Joseph Myers <joseph@codesourcery.com>
8161
8162 [BZ #13550]
8163 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8164 (BOUNDED_1): Remove macro.
8165 * debug/backtrace.c: Don't include <bp-checks.h>.
8166 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8167 (__backtrace): Likewise.
8168 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8169 <bp-checks.h>.
8170 (__backtrace): Don't use BOUNDED_1.
8171 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8172 <bp-checks.h>.
8173 (__backtrace): Don't use BOUNDED_1.
8174 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8175 (__backtrace): Don't use BOUNDED_1.
8176 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8177 (shmat): Don't use BOUNDED_N.
8178
81792013-01-31 Joseph Myers <joseph@codesourcery.com>
8180
8181 [BZ #13550]
8182 * sysdeps/generic/bp-start.h: Remove file.
8183 * csu/libc-start.c: Don't include <bp-start.h>.
8184 (LIBC_START_MAIN): Set up __environ directly instead of using
8185 INIT_ARGV_and_ENVIRON.
8186 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8187 <bp-start.h>.
8188
8189 [BZ #13550]
8190 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8191 definitions.
8192 (CHECK_FCNTL): Likewise.
8193 (CHECK_N_PAGES): Likewise.
8194
8195 [BZ #13550]
8196 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8197 definitions.
8198 (CHECK_SIGSET_NULL_OK): Likewise.
8199 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8200 <bp-checks.h>.
8201 (sigpending): Don't use CHECK_SIGSET.
8202 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8203 <bp-checks.h>.
8204 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8205 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8206 <bp-checks.h>.
8207 (do_sigsuspend): Don't use CHECK_SIGSET.
8208 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8209 use CHECK_SIGSET.
8210 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8211 (do_sigwait): Don't use CHECK_SIGSET.
8212 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8213 use CHECK_SIGSET.
8214 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8215 include <bp-checks.h>.
8216 (sigpending): Don't use CHECK_SIGSET.
8217 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8218 include <bp-checks.h>.
8219 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8220 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8221 <bp-checks.h>.
8222 (sigpending): Don't use CHECK_SIGSET.
8223 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8224 <bp-checks.h>.
8225 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8226
8227 [BZ #13550]
8228 * sysdeps/generic/bp-semctl.h: Remove file.
8229 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8230 <bp-checks.h> and <bp-semctl.h>.
8231 (__old_semctl): Don't use CHECK_SEMCTL.
8232 (__new_semctl): Likewise.
8233 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8234 and <bp-semctl.h>.
8235 (__old_semctl): Don't use CHECK_SEMCTL.
8236 (__new_semctl): Likewise.
8237 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8238 <bp-checks.h> and <bp-semctl.h>.
8239 (__old_semctl): Don't use CHECK_SEMCTL.
8240 (__new_semctl): Likewise.
8241 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8242 <bp-checks.h> and <bp-semctl.h>.
8243 (semctl): Don't use CHECK_SEMCTL.
8244
8245 [BZ #13550]
8246 * Makerules (elide-bp-thunks): Remove variable.
8247 (elide-routines.oS): Don't use $(elide-bp-thunks).
8248 (elide-routines.os): Likewise.
8249 (elide-routines.o): Likewise.
8250 (elide-routines.op): Likewise.
8251 (elide-routines.og): Likewise.
8252 (objects): Don't use $(bp-thunks).
8253 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8254 include.
8255 (common-generated): Do not add s-proto-bp.d.
8256 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8257 (int): Likewise.
8258 (typ): Likewise.
8259 Do not generate makefile rules for bounded-pointer thunks.
8260 * sysdeps/generic/bp-thunks.h: Remove file.
8261 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8262 * sysdeps/unix/s-proto-bp.S: Likewise.
8263
8264 [BZ #15062]
8265 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8266 parts of result separately when argument is not close to line from
8267 -i to i and one part of argument is small.
8268 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8269 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8270 * math/libm-test.inc (cacos_test): Add more tests.
8271 (casin_test): Likewise.
8272 (casinh_test): Likewise.
8273 * sysdeps/i386/fpu/libm-test-ulps: Update.
8274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8275
82762013-01-31 David S. Miller <davem@davemloft.net>
8277
8278 * po/de.po: Update from translation team.
8279
82802013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
8281
8282 * time/tzfile.c: Include stdint.h for SIZE_MAX.
8283
82842013-01-25 Thomas Schwinge <thomas@codesourcery.com>
8285
8286 * configure.in (_AC_PROG_CC_C89): New definition.
8287 * configure: Regenerate.
8288
8289 * configure.in (AC_PROG_CPP): New definition.
8290 * configure: Regenerate.
8291
82922013-01-23 Joseph Myers <joseph@codesourcery.com>
8293
8294 * debug/tst-backtrace.h: New file.
8295 * debug/tst-backtrace2.c: Include tst-backtrace.h.
8296 (ret): Remove variable.
8297 (x): Likewise.
8298 (FAIL): Remove macro.
8299 (NO_INLINE): Likewise.
8300 (fn1): Use match function instead of strstr.
8301 * debug/tst-backtrace3.c: Include tst-backtrace.h.
8302 (ret): Remove variable.
8303 (x): Likewise.
8304 (FAIL): Remove macro.
8305 (NO_INLINE): Likewise.
8306 (fn): Use match function instead of strstr.
8307 * debug/tst-backtrace4.c: Include tst-backtrace.h.
8308 (ret): Remove variable.
8309 (x): Likewise.
8310 (FAIL): Remove macro.
8311 (NO_INLINE): Likewise.
8312 (handle_signal): Use match function instead of strstr.
8313 * debug/tst-backtrace5.c: Include tst-backtrace.h.
8314 (ret): Remove variable.
8315 (x): Likewise.
8316 (FAIL): Remove macro.
8317 (NO_INLINE): Likewise.
8318 (handle_signal): Use match function instead of strstr.
8319
83202013-01-23 Roland McGrath <roland@hack.frob.com>
8321
8322 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8323
83242013-01-23 David S. Miller <davem@davemloft.net>
8325
8326 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8327 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8328 argument of CAS if possible.
8329 * sysdeps/sparc/sparc64/bits/atomic.h
8330 (__arch_compare_and_exchange_val_32_acq): Likewise.
8331 (__arch_compare_and_exchange_val_64_acq): Likewise.
8332
83332013-01-23 Pino Toscano <toscano.pino@tiscali.it>
8334
8335 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
8336 * sysdeps/posix/ulimit.c: ... this.
8337 Include <limits.h>.
8338 * sysdeps/unix/bsd/ulimit.c: Remove file.
8339
83402013-01-23 Adam Conrad <adconrad@0c3.net>
8341
8342 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
8343 (LDFLAGS-tst-array5): Likewise.
8344
83452013-01-23 Joseph Myers <joseph@codesourcery.com>
8346
8347 [BZ #15036]
8348 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
8349 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
8350 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
8351 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
8352
83532013-01-21 David S. Miller <davem@davemloft.net>
8354
8355 * sysdeps/sparc/backtrace.c: New file.
8356 * sysdeps/sparc/sparc32/backtrace.h: New file.
8357 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
8358 * sysdeps/sparc/sparc64/backtrace.h: New file.
8359 * sysdeps/sparc/sparc64/backtrace.c: Delete.
8360 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
8361 -funwind-tables.
8362
83632013-01-21 Andreas Schwab <schwab@suse.de>
8364
8365 [BZ #15020]
8366 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
8367 closed its stdout.
8368
83692013-01-20 Andreas Schwab <schwab@linux-m68k.org>
8370
8371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
8372 "mpa2.h".
8373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8374
83752013-01-18 Joseph Myers <joseph@codesourcery.com>
8376 Mark Mitchell <mark@codesourcery.com>
8377 Tom de Vries <tom@codesourcery.com>
8378 Paul Pluzhnikov <ppluzhnikov@google.com>
8379
8380 * debug/tst-backtrace2.c: New file.
8381 * debug/tst-backtrace3.c: Likewise.
8382 * debug/tst-backtrace4.c: Likewise.
8383 * debug/tst-backtrace5.c: Likewise.
8384 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
8385 (CFLAGS-tst-backtrace3.c): Likewise.
8386 (CFLAGS-tst-backtrace4.c): Likewise.
8387 (CFLAGS-tst-backtrace5.c): Likewise.
8388 (LDFLAGS-tst-backtrace2): Likewise.
8389 (LDFLAGS-tst-backtrace3): Likewise.
8390 (LDFLAGS-tst-backtrace4): Likewise.
8391 (LDFLAGS-tst-backtrace5): Likewise.
8392 (tests): Add new tests tst-backtrace2, tst-backtrace3,
8393 tst-backtrace4 and tst-backtrace5.
8394
83952013-01-18 Anton Blanchard <anton@samba.org>
8396 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8397
8398 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
8399 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
8400 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
8401 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8403 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
8404 "+r" and remove output regs list as redundant. Add explicit inline
8405 asm to specify register of return val to work around compiler codegen
8406 bug. Remove (int) cast on return value. Add return type parameter to
8407 use in macro so that this macro does not truncate return value for
8408 64-bit values.
8409 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
8410 pass to INTERNAL_VSYSCALL_NCS.
8411 (INLINE_VSYSCALL): Add 'long int' as return type to
8412 INTERNAL_VSYSCALL_NCS macro invocation.
8413 (INTERNAL_VSYSCALL): Add 'long int' as return type to
8414 INTERNAL_VSYSCALL_NCS macro invocation.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8416
84172013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8418
8419 [BZ #14496]
8420 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
8421 Fix application of SIMD FP exception mask.
8422
8423 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
8424 mp_no from a power of two.
8425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
8426 __mpexp_twomm1. Use __pow_mp.
8427
8428 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
8429 multiplication.
8430
84312013-01-17 David S. Miller <davem@davemloft.net>
8432
8433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8434
84352013-01-17 Joseph Myers <joseph@codesourcery.com>
8436
8437 [BZ #15023]
8438 * include/complex.h: Condition contents on [!_COMPLEX_H].
8439 (__kernel_casinhf): New prototype.
8440 (__kernel_casinh): Likewise.
8441 (__kernel_casinhl): Likewise.
8442 * math/Makefile (libm_calls): Add k_casinh.
8443 * math/k_casinh.c: New file.
8444 * math/k_casinhf.c: Likewise.
8445 * math/k_casinhl.c: Likewise.
8446 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
8447 finite nonzero arguments.
8448 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
8449 finite nonzero arguments.
8450 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
8451 finite nonzero arguments.
8452 * math/s_casinh.c: Do not include <float.h>.
8453 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
8454 * math/s_casinhf.c: Do not include <float.h>.
8455 (__casinhf): Move code for finite nonzero arguments to
8456 k_casinhf.c.
8457 * math/s_casinhl.c: Do not include <float.h>.
8458 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
8459 redefine.
8460 (__casinhl): Move code for finite nonzero arguments to
8461 k_casinhl.c.
8462 * math/libm-test.inc (cacos_test): Add more tests.
8463 * sysdeps/i386/fpu/libm-test-ulps: Update.
8464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8465
84662013-01-17 Pino Toscano <toscano.pino@tiscali.it>
8467
8468 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
8469 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
8470 [!HAVE_MREMAP]: Remove [defined linux] case.
8471 * malloc/arena.c: Do not include <malloc-sysdep.h>.
8472
84732013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8474
8475 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
8476
84772013-01-17 H.J. Lu <hongjiu.lu@intel.com>
8478
8479 * elf/elf.h (R_386_SIZE32): New relocation.
8480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
8481 R_386_SIZE32.
8482 (elf_machine_rela): Likewise.
8483 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
8484 R_X86_64_SIZE64 and R_X86_64_SIZE32.
8485
84862013-01-17 Joseph Myers <joseph@codesourcery.com>
8487
8488 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
8489 (FP_FAST_FMA): Do not define.
8490 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
8491 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
8492 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
8493 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
8494 !_SOFT_FLOAT]: Likewise.
8495 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
8496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
8497 value.
8498 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
8499 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
8500 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
8501 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
8502 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
8503 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
8504 file.
8505
85062013-01-16 Andreas Schwab <schwab@suse.de>
8507
8508 [BZ #14327]
8509 * include/stdlib.h (__mktemp): Add declaration.
8510 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
8511 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
8512
85132013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8514
8515 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
8516 definitions.
8517 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8518 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
8519 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
8520 definitions here.
8521 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
8522 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
8523 definitions.
8524 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
8525 and ONE.
8526 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
8527 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
8528 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
8529 definitions.
8530 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
8531 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
8532 definitions.
8533 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8534
8535 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
8536
85372013-01-15 David S. Miller <davem@davemloft.net>
8538
8539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8540 trunc{,f} to libm-sysdep_routes.
8541 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
8543 file.
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
8545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
8546 file.
8547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
8548 file.
8549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
8550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
8551 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
8553 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
8554 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
8555 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
8556 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
8557
8558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8559 nearbyint{,f} to libm-sysdep_routes.
8560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
8562 New file.
8563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
8564 file.
8565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
8566 New file.
8567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
8568 file.
8569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
8570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
8571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
8572 file.
8573 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
8574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
8575 file.
8576 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
8577 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
8578 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
8579
8580 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8581 libc_feholdexcept and libc_fesetenv.
8582
85832013-01-15 Mike Frysinger <vapier@gentoo.org>
8584
8585 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
8586
85872013-01-14 David S. Miller <davem@davemloft.net>
8588
8589 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
8590 (SPARC_ASM_VIS2_IFUNC): Likewise.
8591 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
8592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
8593 use of 'siam' instruction.
8594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
8595 Likewise.
8596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
8597 Likewise.
8598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
8599 Likewise.
8600 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8601 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8602 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8603 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
8605 file.
8606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
8607 file.
8608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
8609 file.
8610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
8611 file.
8612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
8613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
8614 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
8615 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
8616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
8617 new VIS2 routines.
8618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8621 Likewise.
8622 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8623 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
8627 routines to libm-sysdep_routines.
8628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8629
8630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
8631 fdim/fdimf to libm-sysdep_routines.
8632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
8633 file.
8634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
8635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
8636 file.
8637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
8638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
8639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
8640 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
8641 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
8642 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
8643 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
8644
86452013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8646
8647 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
8648 to optimize copies.
8649
8650 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
8651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8653
8654 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
8655 local variable MPTWO.
8656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8657 Likewise.
8658
86592013-01-13 Mike Frysinger <vapier@gentoo.org>
8660
8661 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8662 GLOB_NOESCAPE.
8663
86642013-01-13 Mike Frysinger <vapier@gentoo.org>
8665
8666 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8667
86682013-01-13 Mike Frysinger <vapier@gentoo.org>
8669
8670 * manual/pattern.texi (glob_t): Document gl_flags.
8671 (glob64_t): Likewise.
8672
86732013-01-11 David S. Miller <davem@davemloft.net>
8674
8675 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8676 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8677 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
8678 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8679 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8680 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8681 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8682 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8683 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8684 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8685 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8686 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8687 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8688
8689 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8690 sparc V9 rather than using V8 code.
8691 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8692 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8693
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8695 Move to...
8696 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8697 Here.
8698
86992013-01-11 Roland McGrath <roland@hack.frob.com>
8700
8701 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8702 not in the main loop.
8703 * configure: Regenerated.
8704
87052013-01-11 Joseph Myers <joseph@codesourcery.com>
8706
8707 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8708 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8709 to just #else.
8710 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8711 [!__GLIBC_HAVE_LONG_LONG] case.
8712 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8713 condition to just #else.
8714 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8715 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8716 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8717 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8718 unconditional.
8719 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8720 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8721 #elif condition to just #else.
8722 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8723 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8724 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8725 #elif condition to just #else.
8726
87272013-01-11 Steve Ellcey <sellcey@mips.com>
8728
8729 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8730 (EF_MIPS_ARCH_64): Fix value.
8731 (EF_MIPS_ARCH_32R2): New.
8732 (EF_MIPS_ARCH_64R2): New.
8733
87342013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8735
8736 * Makeconfig (+link-pie-before-libc): New.
8737 (+link-pie-after-libc): Likewise.
8738 (+link-pie-tests): Likewise.
8739 (+link-pie): Rewritten.
8740 (link-before-libc): Remove $(config-LDFLAGS).
8741 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8742 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8743 (config-LDFLAGS): Renamed to ...
8744 (rtld-LDFLAGS): This.
8745 (rtld-tests-LDFLAGS): New macro.
8746 (link-libc-rpath-link): Likewise.
8747 (link-libc-tests-rpath-link): Likewise.
8748 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8749 (link-libc): Prepand $(link-libc-rpath-link).
8750 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8751 (test-program-prefix): New macro.
8752 (test-via-rtld-prefix): Likewise.
8753 (test-program-cmd): Likewise.
8754 (host-test-program-cmd): Likewise.
8755 * Makefile ($(common-objpfx)testrun.sh): Replace
8756 $(run-program-prefix) with $(test-program-prefix).
8757 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8758 $(rtld-LDFLAGS).
8759 ($(common-objpfx)shlib.lds): Likewise.
8760 (build-module-helper): Likewise.
8761 ($(common-objpfx)format.lds): Likewise.
8762 * Rules (binaries-pie-tests): New.
8763 (binaries-pie-notests): Likewise.
8764 (binaries-pie): Rewritten.
8765 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8766 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8767 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8768 (make-test-out): Replace $(host-built-program-cmd) with
8769 $(host-test-program-cmd).
8770 * config.make.in (build-hardcoded-path-in-tests): New variable.
8771 * configure.in (--enable-hardcoded-path-in-tests): New configure
8772 option.
8773 (hardcoded_path_in_tests): New AC_SUBST.
8774 * configure: Regenerated.
8775 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8776 $(built-program-cmd) with $(test-program-cmd).
8777 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8778 (test_program_cmd): This.
8779 * elf/Makefile ($(objpfx)order.out): Run test with
8780 $(test-program-prefix).
8781 ($(objpfx)order2.out): Likewise.
8782 ($(objpfx)tst-initorder.out): Likewise.
8783 ($(objpfx)tst-initorder2.out): Likewise.
8784 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8785 $(test-program-cmd).
8786 ($(objpfx)tst-array1-static.out): Likewise.
8787 ($(objpfx)tst-array2.out): Likewise.
8788 ($(objpfx)tst-array3.out): Likewise.
8789 ($(objpfx)tst-array4.out): Likewise.
8790 ($(objpfx)tst-array5.out): Likewise.
8791 ($(objpfx)tst-array5-static.out): Likewise.
8792 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8793 $(test-program-cmd).
8794 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8795 $(run-program-prefix) with $(test-program-prefix).
8796 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8797 (test_program_prefix): This.
8798 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8799 $(run-program-prefix) with $(test-program-prefix).
8800 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8801 (test_program_prefix): This.
8802 * iconvdata/tst-tables.sh: Likewise.
8803 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8804 $(run-program-prefix) with $(test-program-prefix).
8805 ($(objpfx)tst-translit.out): Likewise.
8806 ($(objpfx)tst-gettext2.out): Likewise.
8807 ($(objpfx)tst-gettext4.out): Likewise.
8808 ($(objpfx)tst-gettext6.out): Likewise.
8809 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8810 (test_program_prefix): This.
8811 * intl/tst-gettext2.sh: Likewise.
8812 * intl/tst-gettext4.sh Likewise.
8813 * intl/tst-gettext6.sh: Likewise.
8814 * intl/tst-translit.sh: Likewise.
8815 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8816 with $(test-program-cmd).
8817 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8818 $(run-program-prefix) with $(test-program-prefix).
8819 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8820 (test_program_prefix): This.
8821 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8822 $(run-program-prefix) with $(test-program-prefix).
8823 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8824 (test_program_prefix): This.
8825 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8826 * posix/Makefile ($(objpfx)globtest.out): Replace
8827 $(run-via-rtld-prefix) and $(test-wrapper) with
8828 $(test-program-prefix) and $(test-via-rtld-prefix).
8829 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8830 $(test-program-prefix).
8831 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8832 $(host-test-program-cmd).
8833 (tst-spawn-ARGS): Likewise.
8834 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8835 $(test-program-prefix).
8836 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8837 (test_via_rtld_prefix): This.
8838 (test_wrapper): Renamed to ...
8839 (test_program_prefix): This.
8840 (run_program_prefix): Replaced by test_program_prefix.
8841 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8842 (test_program_prefix): This.
8843 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8844 with $(host-test-program-cmd).
8845 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8846 $(run-program-prefix) with $(test-program-prefix).
8847 ($(objpfx)tst-printf.out): Likewise.
8848 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8849 $(test-program-cmd).
8850 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8851 (test_program_prefix): This.
8852 * stdio-common/tst-unbputc.sh: Likewise.
8853 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8854 $(run-program-prefix) with $(test-program-prefix).
8855 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8856 (test_program_prefix): This.
8857 * string/Makefile ($(objpfx)tst-svc.out): Replace
8858 $(built-program-cmd) with $(test-program-cmd).
8859
88602013-01-11 Andreas Jaeger <aj@suse.de>
8861
8862 [BZ #15003]
8863 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8864 value. Sync with Linux 3.7.
8865
88662013-01-10 David S. Miller <davem@davemloft.net>
8867
8868 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8869 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8870 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8871
88722013-01-10 Roland McGrath <roland@hack.frob.com>
8873
8874 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8875 never set.
8876 * configure: Regenerated.
8877
88782013-01-10 David S. Miller <davem@davemloft.net>
8879
8880 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8881 sparc V9 rather than using V8 code.
8882 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8883 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8884
88852013-01-10 Roland McGrath <roland@hack.frob.com>
8886
8887 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8888 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8889 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8890 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8891 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8892 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8893 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8894 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8895 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8896 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8897 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8898 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8899 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8900 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8901 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8902 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8903 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8904 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8905 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8906 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8907 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8908 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8909 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8910 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8911 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8912 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8913 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8914
89152013-01-10 David S. Miller <davem@davemloft.net>
8916
8917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8918
89192013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8920
8921 * posix/Makefile (tests-static): New variable.
8922 (tests): Add $(tests-static).
8923 (tst-exec-static-ARGS): New variable.
8924 (tst-spawn-static-ARGS): Likewise.
8925 * posix/tst-exec-static.c: New file.
8926 * posix/tst-spawn-static.c: Likewise.
8927 * posix/tst-exec.c: Support run directly.
8928 * posix/tst-spawn.c: Likewise.
8929
89302013-01-10 Joseph Myers <joseph@codesourcery.com>
8931
8932 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8933 long.
8934 * math/bits/mathcalls.h (llrint): Likewise.
8935 (llround): Likewise.
8936 * stdlib/stdlib.h (struct drand48_data): Likewise.
8937 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8938 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8939 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8940 Likewise.
8941 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8942 Likewise.
8943 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8944 (elf_greg_t): Likewise.
8945 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8946 (__jmp_buf): Likewise.
8947 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8948 definitions.
8949 (llrint): Likewise, for all definitions.
8950 (llrintl): Likewise.
8951
8952 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8953 Remove [__GNUC__] condition.
8954 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8955 condition to just [__USE_ISOC99].
8956 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8957
89582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8959
8960 [BZ #14200]
8961 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8962 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8963 defined.
8964 (_POSIX_V6_ILP32_OFF32): Likewise.
8965 (_XBS5_ILP32_OFF32): Likewise.
8966 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8967 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8968
89692013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8970
8971 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8972
8973 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8974 doubles __mpexp_twomm1. Adjust usage.
8975 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8976 Remove.
8977
89782013-01-10 Andreas Schwab <schwab@suse.de>
8979
8980 [BZ #14964]
8981 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8982 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8983
89842013-01-09 David S. Miller <davem@davemloft.net>
8985
8986 [BZ #15003]
8987 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8988 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8989 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8990 TCP_FASTOPEN): Define.
8991 (tcp_repair_opt): New structure.
8992 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8993 enum values.
8994 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8995 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8996 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8997 (tcp_cookie_transactions): New structure.
8998
89992013-01-09 Anton Blanchard <anton@samba.org>
9000
9001 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9002 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9003 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9004 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9005
90062013-01-09 Joseph Myers <joseph@codesourcery.com>
9007
9008 * include/features.h (__USE_ANSI): Remove.
9009
90102013-01-09 Roland McGrath <roland@hack.frob.com>
9011
9012 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9013
9014 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9015
90162013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9017
9018 * sysdeps/s390/fpu/libm-test-ulps: Update.
9019
9020 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9021
9022 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9023 (__acr): Likewise.
9024 (__cpy): Likewise.
9025 (norm): Likewise.
9026 (denorm): Likewise.
9027 (__mp_dbl): Likewise.
9028 (__dbl_mp): Likewise.
9029 (add_magnitudes): Likewise.
9030 (sub_magnitudes): Likewise.
9031 (__add): Likewise.
9032 (__sub): Likewise.
9033 (__mul): Likewise.
9034 (__inv): Likewise.
9035 (__dvd): Likewise.
9036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9037 (__acr): Likewise.
9038 (__cpy): Likewise.
9039 (norm): Likewise.
9040 (denorm): Likewise.
9041 (__mp_dbl): Likewise.
9042 (__dbl_mp): Likewise.
9043 (add_magnitudes): Likewise.
9044 (sub_magnitudes): Likewise.
9045 (__add): Likewise.
9046 (__sub): Likewise.
9047 (__mul): Likewise.
9048 (__inv): Likewise.
9049 (__dvd): Likewise.
9050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9051 (__acr): Likewise.
9052 (__cpy): Likewise.
9053 (norm): Likewise.
9054 (denorm): Likewise.
9055 (__mp_dbl): Likewise.
9056 (__dbl_mp): Likewise.
9057 (add_magnitudes): Likewise.
9058 (sub_magnitudes): Likewise.
9059 (__add): Likewise.
9060 (__sub): Likewise.
9061 (__mul): Likewise.
9062 (__inv): Likewise.
9063 (__dvd): Likewise.
9064
90652013-01-08 Joseph Myers <joseph@codesourcery.com>
9066
9067 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9068 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9069 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9070 2 && __USE_EXTERN_INLINES]: Likewise.
9071
90722013-01-08 Andreas Jaeger <aj@suse.de>
9073
9074 [BZ# 14985]
9075 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9076 Remove.
9077 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9078 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9079
90802013-01-07 Anton Blanchard <anton@samba.org>
9081
9082 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9083 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9084 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9085 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9086 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9087 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9088 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9089 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9090 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9091 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9092 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9093 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9095 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9096 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9097 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9098 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9099 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9100 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9101 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9102 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9105 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9106 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9107 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9108 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9109 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9111 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9112 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9113 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9114 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9115 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9116 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9117 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9118 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9119 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9121 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9122 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9124 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9125
91262013-01-07 Joseph Myers <joseph@codesourcery.com>
9127
9128 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9129 (__MALLOC_PMT): Likewise.
9130 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9131 [__GNUC__], only on [_LIBC].
9132 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9133 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9134 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9135 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9136 forward declaration.
9137 (realloc_hook_ini): Likewise.
9138 (memalign_hook_ini): Likewise.
9139 (__libc_memalign): Do not use __MALLOC_PMT in variable
9140 declaration.
9141 (__libc_valloc): Likewise.
9142 (__libc_pvalloc): Likewise.
9143 (__libc_calloc): Likewise.
9144 (__posix_memalign): Likewise.
9145
9146 [BZ #14996]
9147 * math/s_casinh.c: Include <float.h>.
9148 (__casinh): Do not do computation with squaring and square root
9149 for large arguments.
9150 * math/s_casinhf.c: Include <float.h>.
9151 (__casinhf): Do not do computation with squaring and square root
9152 for large arguments.
9153 * math/s_casinhl.c: Include <float.h>.
9154 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9155 (__casinhl): Do not do computation with squaring and square root
9156 for large arguments.
9157 * math/libm-test.inc (casin_test): Add more tests.
9158 (casinh_test): Likewise.
9159 * sysdeps/i386/fpu/libm-test-ulps: Update.
9160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9161
91622013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9163
9164 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9165 (__x86_64_raw_data_cache_size): Likewise.
9166 (__x86_64_data_cache_size_half): Likewise.
9167 (__x86_64_raw_data_cache_size_half): Likewise.
9168 (__x86_64_shared_cache_size): Likewise.
9169 (__x86_64_raw_shared_cache_size): Likewise.
9170 (__x86_64_shared_cache_size_half): Likewise.
9171 (__x86_64_raw_shared_cache_size_half): Likewise.
9172 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9173 to ...
9174 (__x86_data_cache_size): This.
9175 (__x86_64_raw_data_cache_size): Renamed to ...
9176 (__x86_raw_data_cache_size): This.
9177 (__x86_64_data_cache_size_half): Renamed to ...
9178 (__x86_data_cache_size_half): This.
9179 (__x86_64_raw_data_cache_size_half): Renamed to ...
9180 (__x86_raw_data_cache_size_half): This.
9181 (__x86_64_shared_cache_size): Renamed to ...
9182 (__x86_shared_cache_size): This.
9183 (__x86_64_raw_shared_cache_size): Renamed to ...
9184 (__x86_raw_shared_cache_size): This.
9185 (__x86_64_shared_cache_size_half): Renamed to ...
9186 (__x86_shared_cache_size_half): This.
9187 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9188 (__x86_raw_shared_cache_size_half): This.
9189 * sysdeps/x86_64/memcpy.S: Updated.
9190 * sysdeps/x86_64/memset.S: Likewise.
9191 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9192 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9193 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9194
91952013-01-04 David S. Miller <davem@davemloft.net>
9196
9197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9198
91992013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9200
9201 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9202 1 to avoid redefinition warning.
9203 (__USE_GNU): Don't define.
9204 (init_signaling_nan): Protoize.
9205
9206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9207
92082013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9209
9210 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9212 (__cpymn): Likewise.
9213 (norm): Remove commented code.
9214 (denorm): Likewise.
9215 (__mp_dbl): Likewise.
9216 (__inv): Likewise.
9217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9218 (__cpymn): Likewise.
9219 (norm): Remove commented code.
9220 (denorm): Likewise.
9221 (__mp_dbl): Likewise.
9222 (__inv): Likewise.
9223
9224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9225 mp_no value for 1.0 and 2.0.
9226 (norm): Use RADIXI instead of radixi.d.
9227 (denorm): Likewise.
9228 (__mul): Use 0.0 instead of zero.d.
9229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9230 mp_no value for 1.0 and 2.0.
9231 (norm): Use RADIXI instead of radixi.d.
9232 (denorm): Likewise.
9233 (__mul): Use 0.0 instead of zero.d.
9234
92352013-01-04 Joseph Myers <joseph@codesourcery.com>
9236
9237 [BZ #14994]
9238 * math/s_casinh.c (__casinh): Reduce finite argument to first
9239 quadrant then set signs of results at the end.
9240 * math/s_casinhf.c (__casinhf): Likewise.
9241 * math/s_casinhl.c (__casinhl): Likewise.
9242 * math/libm-test.inc (casin_test): Add more tests.
9243 (casinh_test): Likewise.
9244 * sysdeps/i386/fpu/libm-test-ulps: Update.
9245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9246
92472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9248
9249 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9250
9251 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9252
9253 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9254 declarations.
9255 (denorm): Likewise.
9256 (__mp_dbl): Likewise.
9257 (__inv): Likewise.
9258
9259 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9260 and adjust the header comment.
9261
9262 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9263 variable name from declaration.
9264
92652013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9266
9267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9268 Initialize COMMON_CPUID_INDEX_7 element.
9269 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9270 (CPUID_RTM): Likewise.
9271 (HAS_RTM): Likewise.
9272 (COMMON_CPUID_INDEX_7): New enum.
9273
92742013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9275
9276 [BZ #14981]
9277 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9278 size is zero, record memory as freed.
9279
92802013-01-03 Andreas Jaeger <aj@suse.de>
9281
9282 * po/ia.po: Add new Interlingua translation.
9283
92842012-01-03 Allan McRae <allan@archlinux.org>
9285
9286 * locale/programs/localedef.c: Fix description of '--posix' flag.
9287
92882013-01-02 Joseph Myers <joseph@codesourcery.com>
9289
9290 * NEWS: Update dates in second copyright notice.
9291 * README: Update copyright dates in example.
9292 * manual/libc.texinfo: Update copyright dates.
9293 * scripts/test-installation.pl: Update copyright date in --version
9294 output.
9295
9296 * hurd/ctty-input.c: Fix copyright notice formatting.
9297 * hurd/ctty-output.c: Likewise.
9298 * hurd/dtable.c: Likewise.
9299 * hurd/hurd-raise.c: Likewise.
9300 * hurd/hurdprio.c: Likewise.
9301 * hurd/msgportdemux.c: Likewise.
9302 * misc/sys/file.h: Likewise.
9303 * misc/sys/ioctl.h: Likewise.
9304 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9305 * sysdeps/mach/hurd/chdir.c: Likewise.
9306 * sysdeps/mach/hurd/fchdir.c: Likewise.
9307 * sysdeps/mach/hurd/rename.c: Likewise.
9308 * sysdeps/mach/hurd/rmdir.c: Likewise.
9309 * sysdeps/mach/hurd/seekdir.c: Likewise.
9310 * sysdeps/mach/hurd/setsid.c: Likewise.
9311 * sysdeps/posix/wait3.c: Likewise.
9312
9313 * All files with FSF copyright notices: Update copyright dates
9314 using scripts/update-copyrights.
9315 * intl/plural.c: Regenerated.
9316 * locale/programs/charmap-kw.h: Likewise.
9317 * locale/programs/locfile-kw.h: Likewise.
9318
93192013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9320
9321 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9322 four values.
9323
9324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9325 calculation loop and add branch prediction.
9326
9327 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9328 check access beyond bounds of m1np.
9329
9330 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9331 MPTWO.
9332 (__inv): Remove local variable MPTWO to use the global
9333 constant.
9334 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
9335 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9336 variable MPTWO.
9337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
9338 MP3HALFS static const.
9339
93402013-01-01 David S. Miller <davem@davemloft.net>
9341
9342 * po/ca.po: Update from translation team.
9343
93442013-01-01 Joseph Myers <joseph@codesourcery.com>
9345
9346 * scripts/update-copyrights: New file.
9347 * Makeconfig: Reformat copyright notice.
9348 * ctype/ctype.h: Likewise.
9349 * debug/swprintf_chk.c: Likewise.
9350 * elf/dl-cache.c: Likewise.
9351 * elf/dl-debug.c: Likewise.
9352 * elf/dl-object.c: Likewise.
9353 * grp/initgroups.c: Likewise.
9354 * hurd/Makefile: Likewise.
9355 * hurd/hurd/signal.h: Likewise.
9356 * hurd/hurdfault.c: Likewise.
9357 * hurd/hurdioctl.c: Likewise.
9358 * hurd/hurdlookup.c: Likewise.
9359 * hurd/intr-msg.c: Likewise.
9360 * iconv/gconv_open.c: Likewise.
9361 * libio/swprintf.c: Likewise.
9362 * locale/lc-ctype.c: Likewise.
9363 * locale/nl_langinfo.c: Likewise.
9364 * mach/Machrules: Likewise.
9365 * mach/Makefile: Likewise.
9366 * malloc/obstack.h: Likewise.
9367 * manual/Makefile: Likewise.
9368 * manual/tsort.awk: Likewise.
9369 * misc/bits/stab.def: Likewise.
9370 * nis/nis_print_group_entry.c: Likewise.
9371 * nis/nis_table.c: Likewise.
9372 * nis/nss_compat/compat-pwd.c: Likewise.
9373 * nis/nss_compat/compat-spwd.c: Likewise.
9374 * po/Makefile: Likewise.
9375 * posix/fnmatch.c: Likewise.
9376 * posix/regex.h: Likewise.
9377 * resolv/Makefile: Likewise.
9378 * resolv/nss_dns/dns-network.c: Likewise.
9379 * resolv/res_hconf.c: Likewise.
9380 * scripts/gen-sorted.awk: Likewise.
9381 * soft-fp/soft-fp.h: Likewise.
9382 * stdio-common/printf.h: Likewise.
9383 * stdlib/monetary.h: Likewise.
9384 * stdlib/random.c: Likewise.
9385 * stdlib/random_r.c: Likewise.
9386 * sysdeps/generic/Makefile: Likewise.
9387 * sysdeps/gnu/Makefile: Likewise.
9388 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9398 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9399 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9400 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9401 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9406 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9407 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9408 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9409 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9410 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9411 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9412 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9415 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
9416 * sysdeps/mach/hurd/errnos.awk: Likewise.
9417 * sysdeps/mach/hurd/fork.c: Likewise.
9418 * sysdeps/mach/hurd/getcwd.c: Likewise.
9419 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
9420 * sysdeps/mach/hurd/mmap.c: Likewise.
9421 * sysdeps/mach/hurd/utimes.c: Likewise.
9422 * sysdeps/mach/hurd/xmknod.c: Likewise.
9423 * sysdeps/posix/profil.c: Likewise.
9424 * sysdeps/posix/readdir_r.c: Likewise.
9425 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9426 * sysdeps/powerpc/bits/setjmp.h: Likewise.
9427 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9430 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9431 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9434 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9436 * sysdeps/pthread/lio_listio.c: Likewise.
9437 * sysdeps/sparc/dl-procinfo.h: Likewise.
9438 * sysdeps/unix/i386/sysdep.S: Likewise.
9439 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
9440 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
9441 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
9442 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
9443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9444 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9445 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9446 * sysdeps/unix/sysv/linux/speed.c: Likewise.
9447 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9448 * sysdeps/wordsize-32/divdi3.c: Likewise.
9449 * time/sys/time.h: Likewise.
9450 * wcsmbs/Makefile: Likewise.
9451
94522013-01-01 David S. Miller <davem@davemloft.net>
9453
9454 * po/fr.po: Update from translation team.
9455
9456 * catgets/gencat.c: Update copyright year.
9457 * csu/version.c: Likewise.
9458 * debug/catchsegv.sh: Likewise.
9459 * debug/pcprofiledump.c: Likewise.
9460 * debug/xtrace.sh: Likewise.
9461 * elf/ldconfig.c: Likewise.
9462 * elf/ldd.bash.in: Likewise.
9463 * elf/pldd.c: Likewise.
9464 * elf/sotruss.ksh: Likewise.
9465 * elf/sprof.c: Likewise.
9466 * iconv/iconv_prog.c: Likewise.
9467 * iconv/iconvconfig.c: Likewise.
9468 * locale/programs/locale.c: Likewise.
9469 * locale/programs/localedef.c: Likewise.
9470 * login/programs/pt_chown.c: Likewise.
9471 * malloc/memusage.sh: Likewise.
9472 * malloc/memusagestat.c: Likewise.
9473 * malloc/mtrace.pl: Likewise.
9474 * nscd/nscd.c: Likewise.
9475 * nss/getent.c: Likewise.
9476 * nss/makedb.c: Likewise.
9477 * posix/getconf.c: Likewise.
9478
94792012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9480
9481 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
9482 numbers.
9483
94842012-12-30 Mike Frysinger <vapier@gentoo.org>
9485
9486 * math/bits/mathcalls.h (modf): Use __nonnull.
9487
94882012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9489
9490 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
9491 (split): Use macro CN instead of the bare value.
9492 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
9493 could be used.
9494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
9495 instead of the bare value.
9496 (power1): Likewise.
9497
94982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9499
9500 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
9501 __ATAN_TWOM.
9502 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9503
9504 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
9505 their values.
9506 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9507 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9508 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
9509 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9510
95112012-12-28 Andreas Jaeger <aj@suse.de>
9512
9513 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
9514 values are from Linux 3.7.
9515
9516 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
9517 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
9518
95192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9520
9521 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
9522 TRUE case.
9523
9524 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
9525 (norm): Likewise.
9526 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
9527 variables with preprocessor constants.
9528 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9529 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9530 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9531
95322012-12-27 Bruno Haible <bruno@clisp.org>
9533
9534 [BZ #14317]
9535 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
9536 only if needed.
9537
95382012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9539
9540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
9541 and use variable directly.
9542 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
9543
9544 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
9545 MPONE.
9546 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
9547 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
9548 variable MPONE.
9549 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9551 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
9552 include directive. Remove local variable MPONE.
9553 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
9554 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
9555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9556
95572012-12-25 David S. Miller <davem@davemloft.net>
9558
9559 * version.h (RELEASE): Set to "development".
9560 (VERSION): Set to "2.17.90".
9561 * NEWS: Add 2.18 section.
9562
95632012-12-21 David S. Miller <davem@davemloft.net>
9564
9565 * po/hr.po: Update from translation team.
9566
95672012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9568
9569 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
9570
95712012-12-19 Steve Ellcey <sellcey@mips.com>
9572
9573 * NEWS: Mention new memcpy for MIPS.
9574
95752012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9576
9577 * manual/contrib.texi (Contributors): Spelling correction.
9578
95792012-12-15 David S. Miller <davem@davemloft.net>
9580
9581 * po/ru.po: Update from translation team.
9582
95832012-12-13 David S. Miller <davem@davemloft.net>
9584
9585 * NEWS: Mention IFUNC testsuite enhancements.
9586
9587 * po/pl.po: Update from translation team.
9588 * po/bg.po: Likewise.
9589
9590 * manual/contrib.texi (Contributors): Update entries for Hongjiu
9591 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
9592
95932012-12-11 David S. Miller <davem@davemloft.net>
9594
9595 * po/sv.po: Update from translation team.
9596
9597 * po/vi.po: Update from translation team.
9598
9599 * po/cs.po: Update from translation team.
9600
9601 * po/de.po: Update from translation team.
9602 * po/eo.po: Likewise.
9603 * po/nl.po: Likewise.
9604
96052012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9606
9607 [BZ #14246]
9608 * manual/argp.texi (Argp Helper Functions): Move node to follow
9609 Argp Parsing State.
9610
9611 [BZ #14872]
9612 * manual/conf.texi (Limits on File System Capacity): Mention if
9613 terminating null is included in the max size.
9614
96152012-12-10 Andreas Jaeger <aj@suse.de>
9616
9617 * po/cs.po: Update from translation team.
9618
96192012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9620
9621 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
9622 void pointer and cast to uintptr_t.
9623 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
9624 path.
9625 * sysdeps/s390/s390-64/memcpy.S: Likewise.
9626 * sysdeps/s390/s390-64/memset.S: Likewise.
9627
96282012-12-08 Benno Schulenberg <bensberg@justemail.net>
9629
9630 [BZ #14833]
9631 * menual/message.texi (Message Translation): Fix typos.
9632 (Helper programs for gettext): Likewise.
9633
96342012-12-07 Andreas Schwab <schwab@linux-m68k.org>
9635
9636 [BZ #14898]
9637 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
9638 Change to -1.
9639
96402012-12-07 David S. Miller <davem@davemloft.net>
9641
9642 * po/libc.pot: Update.
9643
96442012-12-07 Richard Henderson <rth@redhat.com>
9645
9646 [BZ #10114]
9647 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
9648 normal/normal case to before the switch.
9649 (_FP_DIV): Likewise.
9650
96512012-12-06 Carlos O'Donell <carlos@systemhalted.org>
9652 Mike Frysinger <vapier@gentoo.org>
9653
9654 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
9655 check for __NR_fadvise64_64.
9656
96572012-12-06 Chris Metcalf <cmetcalf@tilera.com>
9658
9659 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
9660 0, not just to plain "0" as a statement.
9661 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9662 with cw.
9663
96642012-12-06 Joseph Myers <joseph@codesourcery.com>
9665
9666 * NEWS: Use sourceware.org in Bugzilla URL.
9667
96682012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9669
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9671 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9672
9673 * stdio-common/tst-put-error.c (do_test): Add newline to the
9674 padded test to ensure flush.
9675
96762012-12-05 Jeff Law <law@redhat.com>
9677
9678 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9679
96802012-12-05 Joseph Myers <joseph@codesourcery.com>
9681
9682 * README: Don't refer to ports add-on as distributed separately.
9683 Mention AArch64 in list of systems supported in the ports add-on.
9684
9685 * LICENSES: Add more non-FSF copyright and license notices.
9686
9687 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9688 ((unused)).
9689
9690 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9691
9692 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9693 10000 as width of padded output.
9694
96952012-12-04 Joseph Myers <joseph@codesourcery.com>
9696
9697 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9698
9699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9700 variable LX with __attribute__ ((unused)).
9701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9702 Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9706 with __attribute__ ((unused)).
9707
97082012-12-04 David S. Miller <davem@abraco.davemloft.net>
9709
9710 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9711
97122012-12-04 Joseph Myers <joseph@codesourcery.com>
9713
9714 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9715 (CFLAGS-nldbl-acos.c): New variable.
9716 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9717 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9718 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9719 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9720 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9721 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9722 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9723 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9724 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9725 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9726 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9727 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9728 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9729 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9730 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9731 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9732 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9733 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9734 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9735 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9736 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9737 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9738 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9739 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9740 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9741 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9742 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9743 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9744 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9745 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9746 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9747 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9748 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9749 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9750 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9751 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9752 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9753 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9754 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9755 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9756 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9757 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9758 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9759 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9760 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9761 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9762 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9763 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9764 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9765 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9766 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9767 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9768 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9769 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9770 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9771 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9772 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9773 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9774 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9775 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9776 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9777 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9778 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9779 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9780 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9781 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9782 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9783 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9784 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9785 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9786 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9787 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9788 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9789 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9790 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9791 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9792 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9793 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9794 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9795 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9796 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9797 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9798 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9799 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9800 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9801 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9802 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9803 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9804 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9805 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9806 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9807 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9808 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9809 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9810 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9811 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9812 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9813
9814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9815 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9816
9817 [BZ #14914]
9818 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9819 whole low double instead of just low 47 bits when splitting values
9820 into two parts.
9821
98222012-12-03 Allan McRae <allan@archlinux.org>
9823
9824 * manual/stdio.texi (Predefined Printf Handlers): Remove
9825 @hsep and @vsep usage.
9826
98272012-12-03 Mike Frysinger <vapier@gentoo.org>
9828
9829 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9830 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9831
98322012-12-03 Jeff Law <law@redhat.com>
9833
9834 * time/sys/time.h (settimeofday): Do not mark TV argument
9835 as __nonnull.
9836
98372012-12-01 Mike Frysinger <vapier@gentoo.org>
9838
9839 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9840 when currently writing and seek to current position when not.
9841 * libio/Makefile (tests): Remove bug-fclose1.
9842 * libio/bug-fclose1.c: Delete.
9843
98442012-12-01 Joseph Myers <joseph@codesourcery.com>
9845
9846 * manual/arith.texi (feenableexcept): Fix typo.
9847 (fedisableexcept): Likewise.
9848
98492012-11-30 Roland McGrath <roland@hack.frob.com>
9850
9851 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9852 second, differently-typed declaration, rather than a cast.
9853
98542012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9855
9856 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9857 * include/rpc/svc.h: ... here.
9858
98592012-11-30 Aurelien Jarno <aurel32@debian.org>
9860
9861 [BZ #13013]
9862 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9863 depending n and resplen2 to catch cases where answer
9864 equals answerp2.
9865
98662012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9867
9868 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9869 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9870
98712012-11-29 Mike Frysinger <vapier@gentoo.org>
9872
9873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9874
98752012-11-29 Roland McGrath <roland@hack.frob.com>
9876
9877 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9878
98792012-11-28 Jeff Law <law@redhat.com>
9880
9881 [BZ #13761]
9882 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9883 dataset_temporary. Track alloca usage into alloca_used.
9884 If dataset is large allocate and release it via malloc/free.
9885
98862012-06-04 Florian Weimer <fweimer@redhat.com>
9887
9888 [BZ #14197]
9889 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9890
98912012-11-28 David S. Miller <davem@davemloft.net>
9892
9893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9894
98952012-11-28 Joseph Myers <joseph@codesourcery.com>
9896
9897 [BZ #14803]
9898 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9899 of pi/2 rounded to nearest to 64 bits.
9900 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9901 nearest to 64 bits.
9902 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9903 bits.
9904
99052012-11-28 Jeff Law <law@redhat.com>
9906 Martin Osvald <mosvald@redhat.com>
9907
9908 [BZ #14889]
9909 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9910 * sunrpc/svc.c: Include time.h.
9911 (__svc_accept_failed): New function.
9912 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9913 any reason other than EINTR, call __svc_accept_failed.
9914 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9915 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9916
99172012-11-28 Andreas Schwab <schwab@suse.de>
9918
9919 * scripts/abilist.awk: Also handle indirect functions in .opd
9920 section.
9921
99222012-11-28 Joseph Myers <joseph@codesourcery.com>
9923
9924 [BZ #13881]
9925 * sysdeps/x86/fpu/powl_helper.c: New file.
9926 * sysdeps/x86/fpu/Makefile: Likewise.
9927 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9928 (p3): New object.
9929 (__ieee754_powl): Use __powl_helper for finite arguments except
9930 integer exponents below 8.
9931 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9932 (p3): New object.
9933 (__ieee754_powl): Use __powl_helper for finite arguments except
9934 integer exponents below 8.
9935 * math/libm-test.inc (pow_test): Add more tests and enable some
9936 previously disabled tests.
9937 * sysdeps/i386/fpu/libm-test-ulps: Update.
9938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9939
99402012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9941 Carlos O'Donell <carlos_odonell@mentor.com>
9942
9943 * nss/makedb.c (is_prime): Assert that input is odd and greater
9944 than 4. Note that fact in a comment too.
9945 (next_prime): Add 4 to input.
9946
99472012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9948
9949 [BZ #11741]
9950 * libio/Makefile (tests): Add test case tst-fwrite-error.
9951 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9952 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9953 * libio/tst-fwrite-error.c: New test case.
9954
99552012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9956
9957 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9958 before casting to void *.
9959 * include/libc-internal.h (__pointer_type): New macro.
9960 (__integer_if_pointer_type_sub): Likewise.
9961 (__integer_if_pointer_type): Likewise.
9962 (cast_to_integer): Likewise.
9963 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9964 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9965 before casting to atomic64_t.
9966 (atomic_exchange_acq): Likewise.
9967 (__arch_exchange_and_add_body): Likewise.
9968 (__arch_add_body): Likewise.
9969 (atomic_add_negative): Likewise.
9970 (atomic_add_zero): Likewise.
9971
99722012-11-26 Joseph Myers <joseph@codesourcery.com>
9973
9974 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9975 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9976 (add_fdes): Likewise.
9977 (linear_search_fdes): Likewise.
9978 (binary_search_unencoded_fdes): Likewise.
9979
99802012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9981
9982 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9983
99842012-11-24 Adam Conrad <adconrad@0c3.net>
9985
9986 * configure.in: Autodetect C++ header directories.
9987 * configure: Regenerated.
9988
99892012-11-23 Mike Frysinger <vapier@gentoo.org>
9990
9991 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9992
99932012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9994
9995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9996
99972012-11-22 Joseph Myers <joseph@codesourcery.com>
9998
9999 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10000 LDBL_MANT_DIG == 106]: Disable some tests.
10001 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10002 Likewise.
10003 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10004 Likewise.
10005
10006 [BZ #14871]
10007 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10008 input for small inputs. Return +/- pi/2 for large inputs.
10009 * math/libm-test.inc (atan_test): Add more tests.
10010
10011 * sysdeps/generic/unwind-dw2-fde-glibc.c
10012 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10013 __attribute__ ((unused)).
10014
10015 [BZ #14645]
10016 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10017 x * y if x and y are nonzero and z is zero.
10018
10019 [BZ #14811]
10020 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10021 nonzero exponents with absolute value below 0x1p-117 to +/-
10022 0x1p-117.
10023
10024 [BZ #14869]
10025 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10026 up arguments below 2**-450, not just those below 2**-500.
10027 * math/libm-test.inc (hypot_test): Add another test.
10028
10029 [BZ #14868]
10030 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10031 Return a+b for ratio over 2**120, not 2**60.
10032 * math/libm-test.inc (hypot_test): Add another test.
10033
10034 * math/libm-test.inc (clog_test): Use
10035 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10036 (clog10_test): Likewise.
10037
10038 [BZ #6778]
10039 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10040
100412012-11-22 Andreas Schwab <schwab@suse.de>
10042
10043 * sysdeps/i386/fpu/libm-test-ulps: Update.
10044
100452012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10046
10047 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10048 printf output with newline.
10049
100502012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10051
10052 [BZ #14865]
10053 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10054 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10055 -z nodlopen, -z initfirst and -z execstack support.
10056 * configure: Regenerated.
10057
10058 * elf/elf.h (DF_1_NODIRECT): New macro.
10059 (DF_1_IGNMULDEF): Likewise.
10060 (DF_1_NOKSYMS): Likewise.
10061 (DF_1_NOHDR): Likewise.
10062 (DF_1_EDITED): Likewise.
10063 (DF_1_NORELOC): Likewise.
10064 (DF_1_SYMINTPOSE): Likewise.
10065 (DF_1_GLOBAUDIT): Likewise.
10066 (DF_1_SINGLETON): Likewise.
10067 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10068 DT_1_SUPPORTED_MASK bits.
10069 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10070
100712012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10072
10073 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10074
100752012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10076
10077 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10078 macro.
10079
10080 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10081 (sendmmsg): Move declarations...
10082 * socket/sys/socket.h: ... here.
10083 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10084 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10085 include it from...
10086 * socket/recvmmsg.c: ... this new file.
10087 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10088 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10089 definition of __sendmmsg hidden.
10090 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10091 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10092 Move ENOSYS stub into and include it from...
10093 * socket/sendmmsg.c: ... this new file.
10094 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10095 (sysdep_routines): Move recvmmsg and sendmmsg...
10096 * socket/Makefile (routines): ... here.
10097 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10098 (GLIBC_PRIVATE): Add __sendmmsg.
10099 * include/sys/socket.h (__sendmmsg): Add declarations.
10100 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10101 sendmmsg.
10102
101032012-11-20 Joseph Myers <joseph@codesourcery.com>
10104
10105 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10106 variable I1 with __attribute__ ((unused)).
10107 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10108
101092012-11-19 Joseph Myers <joseph@codesourcery.com>
10110
10111 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10112 DUMMY variables with __attribute__ ((unused)).
10113
10114 * bits/byteswap.h: Include <bits/types.h>.
10115 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10116
101172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10118
10119 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10120 string_t. Do not manually set errno.
10121 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10122 length with __strnlen. Make sure to both set errno and return it on
10123 failure.
10124
101252012-11-19 David S. Miller <davem@davemloft.net>
10126
10127 With help from Joseph Myers.
10128 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10129 very large arguments properly.
10130 * math/libm-test.inc (atan_test): New tests.
10131 (atan2_test): New tests.
10132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10134
101352012-11-19 Joseph Myers <joseph@codesourcery.com>
10136
10137 [BZ #14856]
10138 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10139 Define to 3.
10140
10141 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10142 [POSIX] (EADDRNOTAVAIL): Likewise.
10143 [POSIX] (EAFNOSUPPORT): Likewise.
10144 [POSIX] (EALREADY): Likewise.
10145 [POSIX] (ECONNABORTED): Likewise.
10146 [POSIX] (ECONNREFUSED): Likewise.
10147 [POSIX] (ECONNRESET): Likewise.
10148 [POSIX] (EDESTADDRREQ): Likewise.
10149 [POSIX] (EDQUOT): Likewise.
10150 [POSIX] (EHOSTUNREACH): Likewise.
10151 [POSIX] (EIDRM): Likewise.
10152 [POSIX] (EISCONN): Likewise.
10153 [POSIX] (ELOOP): Likewise.
10154 [POSIX] (EMULTIHOP): Likewise.
10155 [POSIX] (ENETDOWN): Likewise.
10156 [POSIX] (ENETUNREACH): Likewise.
10157 [POSIX] (ENOBUFS): Likewise.
10158 [POSIX] (ENODATA): Likewise.
10159 [POSIX] (ENOLINK): Likewise.
10160 [POSIX] (ENOMSG): Likewise.
10161 [POSIX] (ENOPROTOOPT): Likewise.
10162 [POSIX] (ENOSR): Likewise.
10163 [POSIX] (ENOSTR): Likewise.
10164 [POSIX] (ENOTCONN): Likewise.
10165 [POSIX] (ENOTSOCK): Likewise.
10166 [POSIX] (EOPNOTSUPP): Likewise.
10167 [POSIX] (EOVERFLOW): Likewise.
10168 [POSIX] (EPROTO): Likewise.
10169 [POSIX] (EPROTONOSUPPORT): Likewise.
10170 [POSIX] (EPROTOTYPE): Likewise.
10171 [POSIX] (ESTALE): Likewise.
10172 [POSIX] (ETIME): Likewise.
10173 [POSIX] (ETXTBSY): Likewise.
10174 [POSIX] (EWOULDBLOCK): Likewise.
10175 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10176 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10177 [POSIX] (SEEK_CUR): Likewise.
10178 [POSIX] (SEEK_END): Likewise.
10179 [POSIX || UNIX98] (mode_t): Do not require.
10180 [POSIX] (off_t): Likewise.
10181 [POSIX] (pid_t): Likewise.
10182 [POSIX] (sys/stat.h): Do not allow header.
10183 [POSIX] (unistd.h): Likewise.
10184 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10185 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10186 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10187 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10188 require.
10189 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10190 sigevent): Specify elements.
10191 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10192 entry.
10193 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10194 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10195
10196 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10197 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10198 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10199 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10200 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10201 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10202 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10203 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10204 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10205 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10206 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10207 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10208 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10210 Likewise.
10211 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10212 Likewise.
10213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10214 Likewise.
10215 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10216 Likewise.
10217 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10218 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10219 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10220 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10221 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10222 Specify lower bound on value.
10223 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10224 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10225 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10226 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10227 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10228 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10229 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10230 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10231 value.
10232 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10233 as optional.
10234 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10235 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10236 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10237 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10238 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10239 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10240 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10241 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10242 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10243 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10244 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10245 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10246 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10247 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10248 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10249 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10250 entry.
10251 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10252 optional.
10253 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10254 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10255 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10256 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10257 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10258 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10259 Likewise.
10260 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10261 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10262 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10263 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10264 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10265 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10266 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10267 as optional.
10268 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10269 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10270 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10271 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10272 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10273 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10274 specify as optional.
10275 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10276 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10277 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10278 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10279 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10280 [XPG3] (NL_LANGMAX): Likewise.
10281 [POSIX || XPG3] (NL_MSGMAX): Likewise.
10282 [POSIX || XPG3] (NL_NMAX): Likewise.
10283 [POSIX || XPG3] (NL_SETMAX): Likewise.
10284 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10285 [XPG3] (NZERO): Likewise.
10286 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10287 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10288 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10289 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10290 (REG_ERANGE): Expect.
10291 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10292 optional-constant.
10293 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10294 Use (void) in prototype.
10295 [POSIX] (*_t): Allow.
10296 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10297 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10298 (WRDE_BADVAL): Expect.
10299
10300 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10301 expect.
10302 [XPG3 || XPG4] (O_RSYNC): Likewise.
10303 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10304 Likewise.
10305 [XPG3 || XPG4] (pthread_sigmask): Likewise.
10306 [XPG3 || XPG4] (sigqueue): Likewise.
10307 [XPG3 || XPG4] (sigtimedwait): Likewise.
10308 [XPG3 || XPG4] (sigwaitinfo): Likewise.
10309 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10310 [XPG3 || XPG4] (vsnprintf): Likewise.
10311 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10312 Likewise.
10313 [XPG3 || XPG4] (blksize_t): Likewise.
10314 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10315 Likewise.
10316 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10317 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10318 [XPG3 || XPG4] (struct itimerspec): Likewise.
10319 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10320 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10321 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10322 [XPG3 || XPG4] (clockid_t): Likewise.
10323 [XPG3 || XPG4] (timer_t): Likewise.
10324 [XPG3 || XPG4] (clock_getres): Likewise.
10325 [XPG3 || XPG4] (clock_gettime): Likewise.
10326 [XPG3 || XPG4] (clock_settime): Likewise.
10327 [XPG3 || XPG4] (nanosleep): Likewise.
10328 [XPG3 || XPG4] (timer_create): Likewise.
10329 [XPG3 || XPG4] (timer_delete): Likewise.
10330 [XPG3 || XPG4] (timer_gettime): Likewise.
10331 [XPG3 || XPG4] (timer_getoverrun): Likewise.
10332 [XPG3 || XPG4] (timer_settime): Likewise.
10333 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
10334 [XPG3 || XPG4] (getlogin_r): Likewise.
10335 [XPG3 || XPG4] (pread): Likewise.
10336 [XPG3 || XPG4] (pthread_atfork): Likewise.
10337 [XPG3 || XPG4] (pwrite): Likewise.
10338
10339 [BZ #14835]
10340 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
10341 <bits/siginfo.h>.
10342
103432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10344
10345 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
10346 finalizing MALLSTREAM.
10347
10348 * sysdeps/mach/hurd/syncfs.c: New file.
10349
103502012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10351
10352 [BZ #14719]
10353 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
10354 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
10355 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
10356 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
10357 (_nss_dns_gethostbyname4_r): Likewise.
10358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
10359 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
10360
103612012-11-19 Peng Haitao <penght@cn.fujitsu.com>
10362
10363 [BZ #13763]
10364 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
10365
103662012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
10367
10368 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
10369 * elf/cache.c (print_entry): Print ",AArch64" for
10370 FLAG_AARCH64_LIB64
10371
10372 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
10373 * elf/cache.c (print_entry): Print ",hard-float" for
10374 FLAG_ARM_LIBHF.
10375
103762012-11-18 David S. Miller <davem@davemloft.net>
10377
10378 With help from Joseph Myers.
10379 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
10380 cutoff to 2**-13.
10381 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
10382 cutoff to 2**-25.
10383 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
10384 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
10385 small.
10386 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
10387 * math/libm-test.inc (y0_test): New tests.
10388 (y1_test): New tests.
10389 * sysdeps/i386/fpu/libm-test-ulps: Update.
10390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10392
103932012-11-18 Andreas Schwab <schwab@linux-m68k.org>
10394
10395 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
10396 64-bit targets.
10397 * configure: Regenerated.
10398
103992012-11-17 David S. Miller <davem@davemloft.net>
10400
10401 [BZ #14811]
10402 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
10403 nonzero exponents with absolute value below 0x1p-128 to +/-
10404 0x1p-128.
10405
104062012-11-17 Joseph Myers <joseph@codesourcery.com>
10407
10408 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
10409
10410 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
10411
10412 * posix/getconf-speclist.c: New file.
10413 * posix/posix-envs.def: Likewise.
10414 * posix/confstr.c (START_ENV_GROUP): New macro.
10415 (END_ENV_GROUP): Likewise.
10416 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10417 (KNOWN_PRESENT_ENV_STRING): Likewise.
10418 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10419 (UNKNOWN_ENVIRONMENT): Likewise.
10420 (confstr): Include posix-envs.def instead of handling
10421 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
10422 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
10423 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
10424 (END_ENV_GROUP): Likewise.
10425 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
10426 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
10427 (UNKNOWN_ENVIRONMENT): Likewise.
10428 (__sysconf): Include posix-envs.def instead of handling associated
10429 cases directly here.
10430 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
10431 preprocessing getconf-speclist.c rather than running getconf or
10432 generating empty file.
10433
104342012-11-16 Pino Toscano <toscano.pino@tiscali.it>
10435
10436 * scripts/check-local-headers.sh: Ignore 'mach' headers.
10437
104382012-11-16 Andrej Lajovic <natrij@gmail.com>
10439
10440 [BZ #14672]
10441 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
10442
104432012-11-16 David S. Miller <davem@davemloft.net>
10444
10445 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
10446 smaller than LDBL_EPSILON/2.0L, just return xm1.
10447
104482012-11-16 H.J. Lu <hongjiu.lu@intel.com>
10449
10450 * elf/tst-array1.c (init): Set constructor priority to 1000.
10451 (fini): Set destructor priority to 1000.
10452 * elf/tst-array2dep.c: Likewise.
10453
104542012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10455
10456 [BZ #11741]
10457 * libio/fileops.c (_IO_new_file_write): Correctly return error.
10458 (_IO_new_file_xsputn): Also return EOF if none of the input
10459 data was written when overflow failed.
10460 * libio/iopadn.c (_IO_padn): Likewise.
10461 * libio/iowpadn.c (_IO_wpadn): Likewise.
10462 * stdio-common/tst-put-error.c: Add copyright notice.
10463 (do_test): Add case for printing padded string.
10464 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
10465 _IO_padn returned error.
10466 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
10467 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
10468 return EOF.
10469
104702012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10471
10472 * libio/libioP.h: Add comment note that the references to C++
10473 bits are now obsolete.
10474
104752012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10476
10477 * math/libm-test.inc (check_complex): Use asprintf.
10478
104792012-11-14 Joseph Myers <joseph@codesourcery.com>
10480
10481 * debug/pcprofiledump.c (print_version): Update copyright year.
10482 * malloc/memusagestat.c (print_version): Likewise.
10483
104842012-11-14 H.J. Lu <hongjiu.lu@intel.com>
10485
10486 [BZ #14831]
10487 * elf/Makefile (tests): Add tst-audit8.
10488 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
10489 ($(objpfx)tst-audit8.out): New target.
10490 (tst-audit8-ENV): New variable.
10491 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
10492 audit if l_reloc_result is NULL.
10493 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
10494 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
10495 * elf/tst-audit8.c: New file.
10496
104972012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10498
10499 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
10500 * misc/Makefile (CFLAGS-select.c): Define.
10501 * posix/Makefile (CFLAGS-pause.c): Define.
10502
105032012-11-13 David S. Miller <davem@davemloft.net>
10504
10505 * crypt/Makefile: Move test targets after toplevel Rules
10506 inclusion. Grab any necessary sysdep routines when linking.
10507 * crypt/md5.c (md5_process_block): Remove define, we will always
10508 name it __md5_process_block.
10509 (md5_finish_ctx): Update md5_process_block call.
10510 (md5_stream): Likewise.
10511 (md5_process_bytes): Likewise.
10512 (md5_process_block): Rename to __md5_process_block and move to ...
10513 * crypt/md5-block.c: ... here.
10514 * crypt/sha256.c (sha256_process_block): Move to ...
10515 * crypt/sha256-block.c: ... here.
10516 * crypt/sha512.c (sha512_process_block): Move to ...
10517 * crypt/sha512-block.c: ... here.
10518 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
10519 path.
10520 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
10521 * sysdeps/sparc/sparc64/multiarch/Makefile
10522 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
10523 crypt subdir.
10524 (localedef-aux): Add md5 crypto assembler when in locale subdir.
10525 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
10526 multiarch changes.
10527 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
10528 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
10529 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
10530 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
10531 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
10532 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
10533 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
10534 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
10535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
10536 file.
10537 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
10538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
10539 file.
10540 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
10541
105422012-11-13 Joseph Myers <joseph@codesourcery.com>
10543
10544 * timezone/tzselect.ksh: Update from tzcode git revision
10545 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
10546 * timezone/zdump.c: Likewise.
10547 * timezone/zic.c: Likewise.
10548 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
10549 in TZVERSION setting, not $(PKGVERSION).
10550 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
10551 REPORT_BUGS_TO settings.
10552
10553 [BZ #14838]
10554 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
10555 macro.
10556
105572012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10558
10559 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
10560 detection to immediately after _FP_ROUND().
10561 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
10562 bits are 0.
10563
105642012-11-11 David S. Miller <davem@davemloft.net>
10565
10566 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
10567 inttypes.h
10568 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
10569 __close rather than their public counterparts.
10570
105712012-11-10 Joseph Myers <joseph@codesourcery.com>
10572
10573 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
10574 file.
10575 [UNIX98] (sem_timedwait): Do not expect.
10576 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
10577 [XPG4 || UNIX98] (sockatmark): Do not expect.
10578 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
10579 (clock_getcpuclockid): Do not expect.
10580 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
10581 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
10582 Do not expect.
10583 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
10584 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
10585 [UNIX98] (vwscanf): Likewise.
10586 [UNIX98] (vswscanf): Likewise.
10587
105882012-11-09 Joseph Myers <joseph@codesourcery.com>
10589
10590 * timezone/version.h: Remove file.
10591 * timezone/README: Do not refer to version.h.
10592 * timezone/Makefile ($(objpfx)zic.o): New dependency on
10593 $(objpfx)version.h.
10594 ($(objpfx)zdump.o): Likewise.
10595 ($(objpfx)version.h): New target.
10596
10597 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
10598 2012i.
10599 * timezone/README: Don't mention modification to tzselect.ksh.
10600 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
10601 work on unmodified tzselect.ksh. Substitute version numbers in
10602 tzselect.ksh.
10603
10604 * Makefile (format-me): Remove.
10605 (INSTALL): Adjust indentation. Use commands directly instead of
10606 using $(format-me).
10607
10608 * aclocal.m4 (ACX_PKGVERSION): New macro.
10609 (ACX_BUGURL): Likewise.
10610 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
10611 (PKGVERSION): New AC_DEFINE_UNQUOTED.
10612 (REPORT_BUGS_TO): Likewise.
10613 * configure: Regenerated.
10614 * config.h.in (PKGVERSION): New macro.
10615 (REPORT_BUGS_TO): Likewise.
10616 * config.make.in (PKGVERSION): New variable.
10617 (PKGVERSION_TEXI): Likewise.
10618 (REPORT_BUGS_TO): Likewise.
10619 (REPORT_BUGS_TEXI): Likewise.
10620 * Makefile (format-me): Use -I$(common-objpfx)manual.
10621 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
10622 ($(common-objpfx)manual/%): New target.
10623 (manual/%): Remove target.
10624 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
10625 (print_version): Use PKGVERSION.
10626 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
10627 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
10628 and REPORT_BUGS_TO.
10629 ($(objpfx)xtrace): Likewise.
10630 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
10631 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
10632 (print_version): Use PKGVERSION.
10633 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
10634 (do_version): Use PKGVERSION.
10635 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
10636 REPORT_BUGS_TO.
10637 (common-ldd-rewrite): Likewise.
10638 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
10639 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
10640 (print_version): Use PKGVERSION.
10641 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
10642 * elf/pldd.c (argp_program_bug_address): Remove variable.
10643 (more_help): New function.
10644 (argp): Use more_help.
10645 (print_version): Use PKGVERSION.
10646 * elf/sln.c (main): Use PKGVERSION.
10647 (usage): Use REPORT_BUGS_TO.
10648 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
10649 (top level): Use PKGVERSION.
10650 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
10651 (print_version): Use PKGVERSION.
10652 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
10653 (print_version): Use PKGVERSION.
10654 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
10655 (print_version): Use PKGVERSION.
10656 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
10657 (print_version): Use PKGVERSION.
10658 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
10659 (print_version): Use PKGVERSION.
10660 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10661 (print_version): Use PKGVERSION.
10662 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10663 and BUGURL.
10664 ($(objpfx)memusage): Likewise.
10665 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10666 (do_version): Use PKGVERSION.
10667 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10668 (print_version): Use PKGVERSION.
10669 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10670 ($PKGVERSION): New variable.
10671 ($REPORT_BUGS_TO): Likewise.
10672 (usage): Use $REPORT_BUGS_TO.
10673 (top level): Use $PKGVERSION.
10674 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10675 ($(objpfx)pkgvers.texi): New rule.
10676 ($(objpfx)stamp-pkgvers): Likewise.
10677 * manual/install.texi: Include pkgvers.texi.
10678 (--with-pkgversion): Document new configure option.
10679 (--with-bugurl): Likewise.
10680 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10681 than necessarily for this particular distribution. Use
10682 REPORT_BUGS_TO for where to report bugs.
10683 * INSTALL: Regenerated.
10684 * manual/libc.texinfo: Include pkgvers.texi.
10685 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10686 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10687 (print_version): Use PKGVERSION.
10688 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10689 (print_version): Use PKGVERSION.
10690 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10691 (print_version): Use PKGVERSION.
10692 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10693 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10694 macro.
10695 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10696 (print_version): Use PKGVERSION.
10697 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10698 (print_version): Use PKGVERSION.
10699 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10700 and PKGVERSION.
10701
10702 * timezone/checktab.awk: Update from tzcode 2012i.
10703 * timezone/ialloc.c: Likewise.
10704 * timezone/private.h: Likewise.
10705 * timezone/scheck.c: Likewise.
10706 * timezone/tzfile.h: Likewise.
10707 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10708 (TZVERSION): Hardcode tzcode version number.
10709 * timezone/zdump.c: Update from tzcode 2012i.
10710 * timezone/zic.c: Likewise.
10711 * timezone/version.h: New file.
10712 * timezone/README: Describe version.h. Update upstream location.
10713
10714 [BZ #14824]
10715 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10716 (mktemp): Enable declaration.
10717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10721 Likewise.
10722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10723 Likewise.
10724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10725 Likewise.
10726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10727 Likewise.
10728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10729 Likewise.
10730 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10731 Likewise.
10732
10733 [BZ #14821]
10734 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10735 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10736 for copies of such integer values.
10737 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10738 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10739
107402012-11-09 Andreas Jaeger <aj@suse.de>
10741
10742 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10743 definitions and declarations that are provided by
10744 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10745
107462012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10747
10748 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
10749 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10750 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10751 definition.
10752
107532012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10754
10755 * elf/elf.h: Update comment before AArch64 relocations.
10756
107572012-11-07 David S. Miller <davem@davemloft.net>
10758
10759 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10760 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10761 (__start_context): Declare.
10762 (__makecontext_ret): Delete.
10763 (__makecontext): Hook up __start_context instead of
10764 __makecontext_ret.
10765 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10766 (sysdep_routines): Add __start_context when in stdlib.
10767
107682012-11-07 Joseph Myers <joseph@codesourcery.com>
10769
10770 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10771 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10772 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10773 hardcoded "nm".
10774 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10775 (READELF): New variable. Use it instead of hardcoded "readelf".
10776
107772012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10778
10779 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10780 * sysdeps/x86/Makefile: Here.
10781 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10782 * sysdeps/x86/tst-xmmymm.sh: This.
10783
107842012-11-07 Joseph Myers <joseph@codesourcery.com>
10785
10786 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10787 expectations.
10788 [UNIX98] (pthread_barrier_t): Do not expect.
10789 [UNIX98] (pthread_barrierattr_t): Likewise.
10790 [UNIX98] (pthread_spinlock_t): Likewise.
10791 [UNIX98] (pthread_barrier_destroy): Likewise.
10792 [UNIX98] (pthread_barrier_init): Likewise.
10793 [UNIX98] (pthread_barrier_wait): Likewise.
10794 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10795 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10796 [UNIX98] (pthread_barrierattr_init): Likewise.
10797 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10798 [UNIX98] (pthread_getcpuclockid): Likewise.
10799 [UNIX98] (pthread_mutex_timedlock): Likewise.
10800 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10801 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10802 [UNIX98] (pthread_sigmask): Likewise.
10803 [UNIX98] (pthread_spin_destroy): Likewise.
10804 [UNIX98] (pthread_spin_init): Likewise.
10805 [UNIX98] (pthread_spin_lock): Likewise.
10806 [UNIX98] (pthread_spin_trylock): Likewise.
10807 [UNIX98] (pthread_spin_unlock): Likewise.
10808 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10809 Do not expect.
10810 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10811 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10812 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10813 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10814 [XPG3 || XPG4] (pthread_key_t): Likewise.
10815 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10816 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10817 [XPG3 || XPG4] (pthread_once_t): Likewise.
10818 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10819 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10820 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10821 [XPG3 || XPG4] (pthread_t): Likewise.
10822
10823 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10824 not expect.
10825 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10826
10827 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10828 Change function return type to int.
10829
10830 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10831 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10832 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10833 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10834 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10835 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10836 [!POSIX] (posix_madvise): Likewise.
10837 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10838 && !UNIX98].
10839 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10840 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10841 (mode_t): Likewise.
10842 (posix_mem_offset): Likewise.
10843 (posix_typed_mem_get_info): Likewise.
10844 (posix_typed_mem_open): Likewise.
10845
10846 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10847 Change condition to [XOPEN2K8].
10848
10849 * conform/conformtest.pl: Preprocess allow-header data with -x c
10850 instead of from stdin.
10851 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10852 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10853 [C99-based standards] (cerfc): Likewise.
10854 [C99-based standards] (cexp2): Likewise.
10855 [C99-based standards] (cexpm1): Likewise.
10856 [C99-based standards] (clog10): Likewise.
10857 [C99-based standards] (clog1p): Likewise.
10858 [C99-based standards] (clog2): Likewise.
10859 [C99-based standards] (clgamma): Likewise.
10860 [C99-based standards] (ctgamma): Likewise.
10861 [C99-based standards] (cerff): Likewise.
10862 [C99-based standards] (cerfcf): Likewise.
10863 [C99-based standards] (cexp2f): Likewise.
10864 [C99-based standards] (cexpm1f): Likewise.
10865 [C99-based standards] (clog10f): Likewise.
10866 [C99-based standards] (clog1pf): Likewise.
10867 [C99-based standards] (clog2f): Likewise.
10868 [C99-based standards] (clgammaf): Likewise.
10869 [C99-based standards] (ctgammaf): Likewise.
10870 [C99-based standards] (cerfl): Likewise.
10871 [C99-based standards] (cerfcl): Likewise.
10872 [C99-based standards] (cexp2l): Likewise.
10873 [C99-based standards] (cexpm1l): Likewise.
10874 [C99-based standards] (clog10l): Likewise.
10875 [C99-based standards] (clog1pl): Likewise.
10876 [C99-based standards] (clog2l): Likewise.
10877 [C99-based standards] (clgammal): Likewise.
10878 [C99-based standards] (ctgammal): Likewise.
10879 * conform/data/inttypes.h-data [C99-based standards]: Include
10880 stdint.h-data. Remove all expectations for stdint.h contents.
10881 [C99-based standards] (PRI*): Do not allow.
10882 [C99-based standards] (SCN*): Likewise.
10883 [C99-based standards] (*_t): Likewise.
10884 [C99-based-standards] (PRId8): Expect macro.
10885 [C99-based-standards] (PRIi8): Likewise.
10886 [C99-based-standards] (PRIo8): Likewise.
10887 [C99-based-standards] (PRIu8): Likewise.
10888 [C99-based-standards] (PRIx8): Likewise.
10889 [C99-based-standards] (PRIX8): Likewise.
10890 [C99-based-standards] (SCNd8): Likewise.
10891 [C99-based-standards] (SCNi8): Likewise.
10892 [C99-based-standards] (SCNo8): Likewise.
10893 [C99-based-standards] (SCNu8): Likewise.
10894 [C99-based-standards] (SCNx8): Likewise.
10895 [C99-based-standards] (PRIdLEAST8): Likewise.
10896 [C99-based-standards] (PRIiLEAST8): Likewise.
10897 [C99-based-standards] (PRIoLEAST8): Likewise.
10898 [C99-based-standards] (PRIuLEAST8): Likewise.
10899 [C99-based-standards] (PRIxLEAST8): Likewise.
10900 [C99-based-standards] (PRIXLEAST8): Likewise.
10901 [C99-based-standards] (SCNdLEAST8): Likewise.
10902 [C99-based-standards] (SCNiLEAST8): Likewise.
10903 [C99-based-standards] (SCNoLEAST8): Likewise.
10904 [C99-based-standards] (SCNuLEAST8): Likewise.
10905 [C99-based-standards] (SCNxLEAST8): Likewise.
10906 [C99-based-standards] (PRIdFAST8): Likewise.
10907 [C99-based-standards] (PRIiFAST8): Likewise.
10908 [C99-based-standards] (PRIoFAST8): Likewise.
10909 [C99-based-standards] (PRIuFAST8): Likewise.
10910 [C99-based-standards] (PRIxFAST8): Likewise.
10911 [C99-based-standards] (PRIXFAST8): Likewise.
10912 [C99-based-standards] (SCNdFAST8): Likewise.
10913 [C99-based-standards] (SCNiFAST8): Likewise.
10914 [C99-based-standards] (SCNoFAST8): Likewise.
10915 [C99-based-standards] (SCNuFAST8): Likewise.
10916 [C99-based-standards] (SCNxFAST8): Likewise.
10917 [C99-based-standards] (PRId16): Likewise.
10918 [C99-based-standards] (PRIi16): Likewise.
10919 [C99-based-standards] (PRIo16): Likewise.
10920 [C99-based-standards] (PRIu16): Likewise.
10921 [C99-based-standards] (PRIx16): Likewise.
10922 [C99-based-standards] (PRIX16): Likewise.
10923 [C99-based-standards] (SCNd16): Likewise.
10924 [C99-based-standards] (SCNi16): Likewise.
10925 [C99-based-standards] (SCNo16): Likewise.
10926 [C99-based-standards] (SCNu16): Likewise.
10927 [C99-based-standards] (SCNx16): Likewise.
10928 [C99-based-standards] (PRIdLEAST16): Likewise.
10929 [C99-based-standards] (PRIiLEAST16): Likewise.
10930 [C99-based-standards] (PRIoLEAST16): Likewise.
10931 [C99-based-standards] (PRIuLEAST16): Likewise.
10932 [C99-based-standards] (PRIxLEAST16): Likewise.
10933 [C99-based-standards] (PRIXLEAST16): Likewise.
10934 [C99-based-standards] (SCNdLEAST16): Likewise.
10935 [C99-based-standards] (SCNiLEAST16): Likewise.
10936 [C99-based-standards] (SCNoLEAST16): Likewise.
10937 [C99-based-standards] (SCNuLEAST16): Likewise.
10938 [C99-based-standards] (SCNxLEAST16): Likewise.
10939 [C99-based-standards] (PRIdFAST16): Likewise.
10940 [C99-based-standards] (PRIiFAST16): Likewise.
10941 [C99-based-standards] (PRIoFAST16): Likewise.
10942 [C99-based-standards] (PRIuFAST16): Likewise.
10943 [C99-based-standards] (PRIxFAST16): Likewise.
10944 [C99-based-standards] (PRIXFAST16): Likewise.
10945 [C99-based-standards] (SCNdFAST16): Likewise.
10946 [C99-based-standards] (SCNiFAST16): Likewise.
10947 [C99-based-standards] (SCNoFAST16): Likewise.
10948 [C99-based-standards] (SCNuFAST16): Likewise.
10949 [C99-based-standards] (SCNxFAST16): Likewise.
10950 [C99-based-standards] (PRId32): Likewise.
10951 [C99-based-standards] (PRIi32): Likewise.
10952 [C99-based-standards] (PRIo32): Likewise.
10953 [C99-based-standards] (PRIu32): Likewise.
10954 [C99-based-standards] (PRIx32): Likewise.
10955 [C99-based-standards] (PRIX32): Likewise.
10956 [C99-based-standards] (SCNd32): Likewise.
10957 [C99-based-standards] (SCNi32): Likewise.
10958 [C99-based-standards] (SCNo32): Likewise.
10959 [C99-based-standards] (SCNu32): Likewise.
10960 [C99-based-standards] (SCNx32): Likewise.
10961 [C99-based-standards] (PRIdLEAST32): Likewise.
10962 [C99-based-standards] (PRIiLEAST32): Likewise.
10963 [C99-based-standards] (PRIoLEAST32): Likewise.
10964 [C99-based-standards] (PRIuLEAST32): Likewise.
10965 [C99-based-standards] (PRIxLEAST32): Likewise.
10966 [C99-based-standards] (PRIXLEAST32): Likewise.
10967 [C99-based-standards] (SCNdLEAST32): Likewise.
10968 [C99-based-standards] (SCNiLEAST32): Likewise.
10969 [C99-based-standards] (SCNoLEAST32): Likewise.
10970 [C99-based-standards] (SCNuLEAST32): Likewise.
10971 [C99-based-standards] (SCNxLEAST32): Likewise.
10972 [C99-based-standards] (PRIdFAST32): Likewise.
10973 [C99-based-standards] (PRIiFAST32): Likewise.
10974 [C99-based-standards] (PRIoFAST32): Likewise.
10975 [C99-based-standards] (PRIuFAST32): Likewise.
10976 [C99-based-standards] (PRIxFAST32): Likewise.
10977 [C99-based-standards] (PRIXFAST32): Likewise.
10978 [C99-based-standards] (SCNdFAST32): Likewise.
10979 [C99-based-standards] (SCNiFAST32): Likewise.
10980 [C99-based-standards] (SCNoFAST32): Likewise.
10981 [C99-based-standards] (SCNuFAST32): Likewise.
10982 [C99-based-standards] (SCNxFAST32): Likewise.
10983 [C99-based-standards] (PRId64): Likewise.
10984 [C99-based-standards] (PRIi64): Likewise.
10985 [C99-based-standards] (PRIo64): Likewise.
10986 [C99-based-standards] (PRIu64): Likewise.
10987 [C99-based-standards] (PRIx64): Likewise.
10988 [C99-based-standards] (PRIX64): Likewise.
10989 [C99-based-standards] (SCNd64): Likewise.
10990 [C99-based-standards] (SCNi64): Likewise.
10991 [C99-based-standards] (SCNo64): Likewise.
10992 [C99-based-standards] (SCNu64): Likewise.
10993 [C99-based-standards] (SCNx64): Likewise.
10994 [C99-based-standards] (PRIdLEAST64): Likewise.
10995 [C99-based-standards] (PRIiLEAST64): Likewise.
10996 [C99-based-standards] (PRIoLEAST64): Likewise.
10997 [C99-based-standards] (PRIuLEAST64): Likewise.
10998 [C99-based-standards] (PRIxLEAST64): Likewise.
10999 [C99-based-standards] (PRIXLEAST64): Likewise.
11000 [C99-based-standards] (SCNdLEAST64): Likewise.
11001 [C99-based-standards] (SCNiLEAST64): Likewise.
11002 [C99-based-standards] (SCNoLEAST64): Likewise.
11003 [C99-based-standards] (SCNuLEAST64): Likewise.
11004 [C99-based-standards] (SCNxLEAST64): Likewise.
11005 [C99-based-standards] (PRIdFAST64): Likewise.
11006 [C99-based-standards] (PRIiFAST64): Likewise.
11007 [C99-based-standards] (PRIoFAST64): Likewise.
11008 [C99-based-standards] (PRIuFAST64): Likewise.
11009 [C99-based-standards] (PRIxFAST64): Likewise.
11010 [C99-based-standards] (PRIXFAST64): Likewise.
11011 [C99-based-standards] (SCNdFAST64): Likewise.
11012 [C99-based-standards] (SCNiFAST64): Likewise.
11013 [C99-based-standards] (SCNoFAST64): Likewise.
11014 [C99-based-standards] (SCNuFAST64): Likewise.
11015 [C99-based-standards] (SCNxFAST64): Likewise.
11016 [C99-based-standards] (PRIdMAX): Likewise.
11017 [C99-based-standards] (PRIiMAX): Likewise.
11018 [C99-based-standards] (PRIoMAX): Likewise.
11019 [C99-based-standards] (PRIuMAX): Likewise.
11020 [C99-based-standards] (PRIxMAX): Likewise.
11021 [C99-based-standards] (PRIXMAX): Likewise.
11022 [C99-based-standards] (SCNdMAX): Likewise.
11023 [C99-based-standards] (SCNiMAX): Likewise.
11024 [C99-based-standards] (SCNoMAX): Likewise.
11025 [C99-based-standards] (SCNuMAX): Likewise.
11026 [C99-based-standards] (SCNxMAX): Likewise.
11027 [C99-based-standards] (PRIdPTR): Likewise.
11028 [C99-based-standards] (PRIiPTR): Likewise.
11029 [C99-based-standards] (PRIoPTR): Likewise.
11030 [C99-based-standards] (PRIuPTR): Likewise.
11031 [C99-based-standards] (PRIxPTR): Likewise.
11032 [C99-based-standards] (PRIXPTR): Likewise.
11033 [C99-based-standards] (SCNdPTR): Likewise.
11034 [C99-based-standards] (SCNiPTR): Likewise.
11035 [C99-based-standards] (SCNoPTR): Likewise.
11036 [C99-based-standards] (SCNuPTR): Likewise.
11037 [C99-based-standards] (SCNxPTR): Likewise.
11038 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11039 allow.
11040 * conform/data/stdint.h-data: Update comments to clarify
11041 requirements.
11042 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11043 type.
11044 [C99-based standards] (INT8_MAX): Likewise.
11045 [C99-based standards] (INT16_MIN): Likewise.
11046 [C99-based standards] (INT16_MAX): Likewise.
11047 [C99-based standards] (INT32_MIN): Likewise.
11048 [C99-based standards] (INT32_MAX): Likewise.
11049 [C99-based standards] (INT64_MIN): Likewise.
11050 [C99-based standards] (INT64_MAX): Likewise.
11051 [C99-based standards] (UINT8_MAX): Likewise.
11052 [C99-based standards] (UINT16_MAX): Likewise.
11053 [C99-based standards] (UINT32_MAX): Likewise.
11054 [C99-based standards] (UINT64_MAX): Likewise.
11055 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11056 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11057 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11058 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11059 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11060 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11061 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11062 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11063 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11064 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11065 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11066 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11067 [C99-based standards] (INT_FAST8_MIN): Likewise.
11068 [C99-based standards] (INT_FAST8_MAX): Likewise.
11069 [C99-based standards] (INT_FAST16_MIN): Likewise.
11070 [C99-based standards] (INT_FAST16_MAX): Likewise.
11071 [C99-based standards] (INT_FAST32_MIN): Likewise.
11072 [C99-based standards] (INT_FAST32_MAX): Likewise.
11073 [C99-based standards] (INT_FAST64_MIN): Likewise.
11074 [C99-based standards] (INT_FAST64_MAX): Likewise.
11075 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11076 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11077 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11078 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11079 [C99-based standards] (INTPTR_MIN): Likewise.
11080 [C99-based standards] (INTPTR_MAX): Likewise.
11081 [C99-based standards] (UINTPTR_MAX): Likewise.
11082 [C99-based standards] (INTMAX_MIN): Likewise.
11083 [C99-based standards] (INTMAX_MAX): Likewise.
11084 [C99-based standards] (UINTMAX_MAX): Likewise.
11085 [C99-based standards] (PTRDIFF_MIN): Likewise.
11086 [C99-based standards] (PTRDIFF_MAX): Likewise.
11087 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11088 [C99-based standards] (SIZE_MAX): Likewise.
11089 [C99-based standards] (WCHAR_MAX): Likewise.
11090 [C99-based standards] (WINT_MAX): Likewise.
11091 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11092 constraint on value.
11093 [C99-based standards] (WCHAR_MIN): Likewise.
11094 [C99-based standards] (WINT_MIN): Likewise.
11095 [C99-based standards] (*_t): Allow.
11096 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11097 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11098 Include math.h-data and complex.h-data. Remove all expectations
11099 of math.h and complex.h contents.
11100 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11101 at end of line.
11102 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11103 (struct tm): Expect tag.
11104 [C99-based-standards] (wcstof): Expect function.
11105 [C99-based-standards] (wcstold): Likewise.
11106 [C99-based-standards] (wcstoll): Likewise.
11107 [C99-based-standards] (wcstoull): Likewise.
11108 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11109 macro-int-constant. Specify type.
11110 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11111 constraint on value.
11112 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11113 Specify type.
11114 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11115 Specify value.
11116 [ISO C standards]: Do not allow headers.
11117 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11118 wcs[abcdefghijklmnopqrstuvwxyz]*.
11119 [ISO C standards] (*_t): Do not allow.
11120 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11121 Expect function.
11122 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11123 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11124 Specify type.
11125 [ISO C standards]: Do not allow headers.
11126 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11127 is[abcdefghijklmnopqrstuvwxyz]*.
11128 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11129 to[abcdefghijklmnopqrstuvwxyz]*.
11130 [ISO C standards] (*_t): Do not allow.
11131 * conform/data/stdalign.h-data: New file.
11132 * conform/data/stdbool.h-data: Likewise.
11133 * conform/data/stdnoreturn.h-data: Likewise.
11134
111352012-11-07 Roland McGrath <roland@hack.frob.com>
11136
11137 [BZ #14815]
11138 * manual/filesys.texi (Directory Entries): Typo fix.
11139 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11140
111412012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11142
11143 * elf/elf.h (EM_AARCH64): New macro.
11144 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11145 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11146 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11147 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11148 (R_AARCH64_TLSDESC): Likewise.
11149 (NT_ARM_TLS): Likewise.
11150 (NT_ARM_HW_BREAK): Likewise.
11151 (NT_ARM_HW_WATCH): Likewise.
11152
111532012-11-07 Joseph Myers <joseph@codesourcery.com>
11154
11155 [BZ #14811]
11156 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11157 (__ieee754_powl): Saturate nonzero exponents with absolute value
11158 below 0x1p-79 to +/- 0x1p-79.
11159 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11160 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11161 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11162 nonzero exponents with absolute value below 0x1p-32 to +/-
11163 0x1p-32.
11164 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11165 (__ieee754_powl): Saturate nonzero exponents with absolute value
11166 below 0x1p-79 to +/- 0x1p-79.
11167 * math/libm-test.inc (pow_test): Add more tests.
11168
111692012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11170
11171 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11172 _dl_s390_cap_flags with kernel. Increase string length.
11173 (_dl_s390_platforms): Add z196 and zEC12.
11174
111752012-11-07 Joseph Myers <joseph@codesourcery.com>
11176
11177 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11178 Change XOPEN21K to XOPEN2K.
11179
111802012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11181
11182 * string/memmove.c: Use memcpy when possible.
11183
111842012-11-06 Andreas Jaeger <aj@suse.de>
11185
11186 * po/eo.po: Update from translation team.
11187
111882012-11-06 Joseph Myers <joseph@codesourcery.com>
11189
11190 [BZ #14793]
11191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11192 exponent and small x and y exponents, scale x or y up. Increase
11193 by 2 the exponent used in scaling up.
11194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11195 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11196 * math/libm-test.inc (fma_test): Add more tests.
11197 (fma_test_towardzero): Likewise.
11198 (fma_test_downward): Likewise.
11199 (fma_test_upward): Likewise.
11200
112012012-11-05 Joseph Myers <joseph@codesourcery.com>
11202
11203 [BZ #14805]
11204 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11205 fenv_t *.
11206
11207 [BZ #14801]
11208 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11209 namespace for names of struct fields.
11210 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11211 fenv_t fields.
11212 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11213 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11214
112152012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11216
11217 [BZ #3665]
11218 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11219
112202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11221
11222 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11223 PTR_DEMANGLE.
11224
11225 [BZ #5246]
11226 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11227 PTR_DEMANGLE.
11228
112292012-11-04 Joseph Myers <joseph@codesourcery.com>
11230
11231 [BZ #14797]
11232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11233 definitely overflow as x * y not x * y + z.
11234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11235 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11236 * math/libm-test.inc (fma_test): Add more tests.
11237 (fma_test_towardzero): Likewise.
11238 (fma_test_downward): Likewise.
11239 (fma_test_upward): Likewise.
11240
112412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11242
11243 [BZ #157]
11244
11245 * include/stub-tag.h: Remove file.
11246 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11247 '#include' of it.
11248 * manual/maint.texi (Porting): Don't reference it.
11249 * Makerules ($(objpfx)stubs): Likewise.
11250 * dirent/closedir.c: Don't include <stub-tag.h>.
11251 * dirent/dirfd.c: Likewise.
11252 * dirent/fdopendir.c: Likewise.
11253 * dirent/getdents.c: Likewise.
11254 * dirent/getdents64.c: Likewise.
11255 * dirent/opendir.c: Likewise.
11256 * dirent/readdir.c: Likewise.
11257 * dirent/readdir64.c: Likewise.
11258 * dirent/readdir64_r.c: Likewise.
11259 * dirent/readdir_r.c: Likewise.
11260 * dirent/rewinddir.c: Likewise.
11261 * dirent/seekdir.c: Likewise.
11262 * dirent/telldir.c: Likewise.
11263 * gmon/profil.c: Likewise.
11264 * grp/setgroups.c: Likewise.
11265 * inet/if_index.c: Likewise.
11266 * io/access.c: Likewise.
11267 * io/chdir.c: Likewise.
11268 * io/chmod.c: Likewise.
11269 * io/chown.c: Likewise.
11270 * io/close.c: Likewise.
11271 * io/dup.c: Likewise.
11272 * io/dup2.c: Likewise.
11273 * io/dup3.c: Likewise.
11274 * io/euidaccess.c: Likewise.
11275 * io/faccessat.c: Likewise.
11276 * io/fchdir.c: Likewise.
11277 * io/fchmod.c: Likewise.
11278 * io/fchmodat.c: Likewise.
11279 * io/fchown.c: Likewise.
11280 * io/fchownat.c: Likewise.
11281 * io/fcntl.c: Likewise.
11282 * io/flock.c: Likewise.
11283 * io/fstatfs.c: Likewise.
11284 * io/fstatfs64.c: Likewise.
11285 * io/fstatvfs.c: Likewise.
11286 * io/fstatvfs64.c: Likewise.
11287 * io/futimens.c: Likewise.
11288 * io/fxstat.c: Likewise.
11289 * io/fxstat64.c: Likewise.
11290 * io/fxstatat.c: Likewise.
11291 * io/fxstatat64.c: Likewise.
11292 * io/getcwd.c: Likewise.
11293 * io/isatty.c: Likewise.
11294 * io/lchmod.c: Likewise.
11295 * io/lchown.c: Likewise.
11296 * io/link.c: Likewise.
11297 * io/linkat.c: Likewise.
11298 * io/lseek.c: Likewise.
11299 * io/lseek64.c: Likewise.
11300 * io/lxstat64.c: Likewise.
11301 * io/mkdir.c: Likewise.
11302 * io/mkdirat.c: Likewise.
11303 * io/mkfifo.c: Likewise.
11304 * io/mkfifoat.c: Likewise.
11305 * io/open.c: Likewise.
11306 * io/open64.c: Likewise.
11307 * io/openat.c: Likewise.
11308 * io/openat64.c: Likewise.
11309 * io/pipe.c: Likewise.
11310 * io/pipe2.c: Likewise.
11311 * io/poll.c: Likewise.
11312 * io/posix_fadvise.c: Likewise.
11313 * io/posix_fadvise64.c: Likewise.
11314 * io/posix_fallocate.c: Likewise.
11315 * io/posix_fallocate64.c: Likewise.
11316 * io/read.c: Likewise.
11317 * io/readlink.c: Likewise.
11318 * io/readlinkat.c: Likewise.
11319 * io/rmdir.c: Likewise.
11320 * io/sendfile.c: Likewise.
11321 * io/sendfile64.c: Likewise.
11322 * io/statfs.c: Likewise.
11323 * io/statfs64.c: Likewise.
11324 * io/statvfs.c: Likewise.
11325 * io/statvfs64.c: Likewise.
11326 * io/symlink.c: Likewise.
11327 * io/symlinkat.c: Likewise.
11328 * io/ttyname.c: Likewise.
11329 * io/ttyname_r.c: Likewise.
11330 * io/umask.c: Likewise.
11331 * io/unlink.c: Likewise.
11332 * io/unlinkat.c: Likewise.
11333 * io/utime.c: Likewise.
11334 * io/utimensat.c: Likewise.
11335 * io/write.c: Likewise.
11336 * io/xmknod.c: Likewise.
11337 * io/xmknodat.c: Likewise.
11338 * io/xstat.c: Likewise.
11339 * io/xstat64.c: Likewise.
11340 * login/getpt.c: Likewise.
11341 * login/grantpt.c: Likewise.
11342 * login/unlockpt.c: Likewise.
11343 * math/e_acoshl.c: Likewise.
11344 * math/e_acosl.c: Likewise.
11345 * math/e_asinl.c: Likewise.
11346 * math/e_atan2l.c: Likewise.
11347 * math/e_atanhl.c: Likewise.
11348 * math/e_coshl.c: Likewise.
11349 * math/e_expl.c: Likewise.
11350 * math/e_fmodl.c: Likewise.
11351 * math/e_gammal_r.c: Likewise.
11352 * math/e_hypotl.c: Likewise.
11353 * math/e_j0l.c: Likewise.
11354 * math/e_j1l.c: Likewise.
11355 * math/e_jnl.c: Likewise.
11356 * math/e_lgammal_r.c: Likewise.
11357 * math/e_log10l.c: Likewise.
11358 * math/e_log2l.c: Likewise.
11359 * math/e_logl.c: Likewise.
11360 * math/e_powl.c: Likewise.
11361 * math/e_rem_pio2l.c: Likewise.
11362 * math/e_sinhl.c: Likewise.
11363 * math/e_sqrtl.c: Likewise.
11364 * math/fclrexcpt.c: Likewise.
11365 * math/fedisblxcpt.c: Likewise.
11366 * math/feenablxcpt.c: Likewise.
11367 * math/fegetenv.c: Likewise.
11368 * math/fegetexcept.c: Likewise.
11369 * math/fegetround.c: Likewise.
11370 * math/feholdexcpt.c: Likewise.
11371 * math/fesetenv.c: Likewise.
11372 * math/fesetround.c: Likewise.
11373 * math/feupdateenv.c: Likewise.
11374 * math/fgetexcptflg.c: Likewise.
11375 * math/fraiseexcpt.c: Likewise.
11376 * math/fsetexcptflg.c: Likewise.
11377 * math/ftestexcept.c: Likewise.
11378 * math/k_cosl.c: Likewise.
11379 * math/k_rem_pio2l.c: Likewise.
11380 * math/k_sinl.c: Likewise.
11381 * math/k_tanl.c: Likewise.
11382 * math/s_asinhl.c: Likewise.
11383 * math/s_atanl.c: Likewise.
11384 * math/s_cbrtl.c: Likewise.
11385 * math/s_erfl.c: Likewise.
11386 * math/s_expm1l.c: Likewise.
11387 * math/s_log1pl.c: Likewise.
11388 * math/s_tanhl.c: Likewise.
11389 * misc/acct.c: Likewise.
11390 * misc/brk.c: Likewise.
11391 * misc/chflags.c: Likewise.
11392 * misc/chroot.c: Likewise.
11393 * misc/fchflags.c: Likewise.
11394 * misc/fgetxattr.c: Likewise.
11395 * misc/flistxattr.c: Likewise.
11396 * misc/fremovexattr.c: Likewise.
11397 * misc/fsetxattr.c: Likewise.
11398 * misc/fsync.c: Likewise.
11399 * misc/ftruncate.c: Likewise.
11400 * misc/futimes.c: Likewise.
11401 * misc/futimesat.c: Likewise.
11402 * misc/getdomain.c: Likewise.
11403 * misc/getdtsz.c: Likewise.
11404 * misc/gethostid.c: Likewise.
11405 * misc/gethostname.c: Likewise.
11406 * misc/getloadavg.c: Likewise.
11407 * misc/getpagesize.c: Likewise.
11408 * misc/getsysstats.c: Likewise.
11409 * misc/getxattr.c: Likewise.
11410 * misc/gtty.c: Likewise.
11411 * misc/ioctl.c: Likewise.
11412 * misc/lgetxattr.c: Likewise.
11413 * misc/listxattr.c: Likewise.
11414 * misc/llistxattr.c: Likewise.
11415 * misc/lremovexattr.c: Likewise.
11416 * misc/lsetxattr.c: Likewise.
11417 * misc/lutimes.c: Likewise.
11418 * misc/madvise.c: Likewise.
11419 * misc/mincore.c: Likewise.
11420 * misc/mlock.c: Likewise.
11421 * misc/mlockall.c: Likewise.
11422 * misc/mmap.c: Likewise.
11423 * misc/mprotect.c: Likewise.
11424 * misc/msync.c: Likewise.
11425 * misc/munlock.c: Likewise.
11426 * misc/munlockall.c: Likewise.
11427 * misc/munmap.c: Likewise.
11428 * misc/preadv.c: Likewise.
11429 * misc/preadv64.c: Likewise.
11430 * misc/ptrace.c: Likewise.
11431 * misc/pwritev.c: Likewise.
11432 * misc/pwritev64.c: Likewise.
11433 * misc/readv.c: Likewise.
11434 * misc/reboot.c: Likewise.
11435 * misc/remap_file_pages.c: Likewise.
11436 * misc/removexattr.c: Likewise.
11437 * misc/revoke.c: Likewise.
11438 * misc/select.c: Likewise.
11439 * misc/setdomain.c: Likewise.
11440 * misc/setegid.c: Likewise.
11441 * misc/seteuid.c: Likewise.
11442 * misc/sethostid.c: Likewise.
11443 * misc/sethostname.c: Likewise.
11444 * misc/setregid.c: Likewise.
11445 * misc/setreuid.c: Likewise.
11446 * misc/setxattr.c: Likewise.
11447 * misc/sstk.c: Likewise.
11448 * misc/stty.c: Likewise.
11449 * misc/swapoff.c: Likewise.
11450 * misc/swapon.c: Likewise.
11451 * misc/sync.c: Likewise.
11452 * misc/syncfs.c: Likewise.
11453 * misc/syscall.c: Likewise.
11454 * misc/truncate.c: Likewise.
11455 * misc/ualarm.c: Likewise.
11456 * misc/usleep.c: Likewise.
11457 * misc/ustat.c: Likewise.
11458 * misc/utimes.c: Likewise.
11459 * misc/vhangup.c: Likewise.
11460 * misc/writev.c: Likewise.
11461 * posix/_exit.c: Likewise.
11462 * posix/alarm.c: Likewise.
11463 * posix/execve.c: Likewise.
11464 * posix/fexecve.c: Likewise.
11465 * posix/fork.c: Likewise.
11466 * posix/fpathconf.c: Likewise.
11467 * posix/getaddrinfo.c: Likewise.
11468 * posix/getegid.c: Likewise.
11469 * posix/geteuid.c: Likewise.
11470 * posix/getgid.c: Likewise.
11471 * posix/getgroups.c: Likewise.
11472 * posix/getlogin.c: Likewise.
11473 * posix/getlogin_r.c: Likewise.
11474 * posix/getpgid.c: Likewise.
11475 * posix/getpid.c: Likewise.
11476 * posix/getppid.c: Likewise.
11477 * posix/getresgid.c: Likewise.
11478 * posix/getresuid.c: Likewise.
11479 * posix/getsid.c: Likewise.
11480 * posix/getuid.c: Likewise.
11481 * posix/glob64.c: Likewise.
11482 * posix/nanosleep.c: Likewise.
11483 * posix/pathconf.c: Likewise.
11484 * posix/pause.c: Likewise.
11485 * posix/posix_madvise.c: Likewise.
11486 * posix/pread.c: Likewise.
11487 * posix/pread64.c: Likewise.
11488 * posix/pwrite.c: Likewise.
11489 * posix/pwrite64.c: Likewise.
11490 * posix/sched_getaffinity.c: Likewise.
11491 * posix/sched_getp.c: Likewise.
11492 * posix/sched_gets.c: Likewise.
11493 * posix/sched_primax.c: Likewise.
11494 * posix/sched_primin.c: Likewise.
11495 * posix/sched_rr_gi.c: Likewise.
11496 * posix/sched_setaffinity.c: Likewise.
11497 * posix/sched_setp.c: Likewise.
11498 * posix/sched_sets.c: Likewise.
11499 * posix/sched_yield.c: Likewise.
11500 * posix/setgid.c: Likewise.
11501 * posix/setlogin.c: Likewise.
11502 * posix/setpgid.c: Likewise.
11503 * posix/setresgid.c: Likewise.
11504 * posix/setresuid.c: Likewise.
11505 * posix/setsid.c: Likewise.
11506 * posix/setuid.c: Likewise.
11507 * posix/sleep.c: Likewise.
11508 * posix/spawni.c: Likewise.
11509 * posix/sysconf.c: Likewise.
11510 * posix/times.c: Likewise.
11511 * posix/wait.c: Likewise.
11512 * posix/wait3.c: Likewise.
11513 * posix/wait4.c: Likewise.
11514 * posix/waitpid.c: Likewise.
11515 * resolv/gai_sigqueue.c: Likewise.
11516 * resource/getpriority.c: Likewise.
11517 * resource/getrlimit.c: Likewise.
11518 * resource/getrusage.c: Likewise.
11519 * resource/nice.c: Likewise.
11520 * resource/setpriority.c: Likewise.
11521 * resource/setrlimit.c: Likewise.
11522 * resource/ulimit.c: Likewise.
11523 * rt/aio_cancel.c: Likewise.
11524 * rt/aio_fsync.c: Likewise.
11525 * rt/aio_read.c: Likewise.
11526 * rt/aio_sigqueue.c: Likewise.
11527 * rt/aio_suspend.c: Likewise.
11528 * rt/aio_write.c: Likewise.
11529 * rt/clock_getres.c: Likewise.
11530 * rt/clock_gettime.c: Likewise.
11531 * rt/clock_nanosleep.c: Likewise.
11532 * rt/clock_settime.c: Likewise.
11533 * rt/lio_listio.c: Likewise.
11534 * rt/mq_close.c: Likewise.
11535 * rt/mq_getattr.c: Likewise.
11536 * rt/mq_notify.c: Likewise.
11537 * rt/mq_open.c: Likewise.
11538 * rt/mq_receive.c: Likewise.
11539 * rt/mq_send.c: Likewise.
11540 * rt/mq_setattr.c: Likewise.
11541 * rt/mq_timedreceive.c: Likewise.
11542 * rt/mq_timedsend.c: Likewise.
11543 * rt/mq_unlink.c: Likewise.
11544 * rt/shm_open.c: Likewise.
11545 * rt/shm_unlink.c: Likewise.
11546 * rt/timer_create.c: Likewise.
11547 * rt/timer_delete.c: Likewise.
11548 * rt/timer_getoverr.c: Likewise.
11549 * rt/timer_gettime.c: Likewise.
11550 * rt/timer_settime.c: Likewise.
11551 * setjmp/__longjmp.c: Likewise.
11552 * setjmp/setjmp.c: Likewise.
11553 * signal/kill.c: Likewise.
11554 * signal/killpg.c: Likewise.
11555 * signal/raise.c: Likewise.
11556 * signal/sigaction.c: Likewise.
11557 * signal/sigaltstack.c: Likewise.
11558 * signal/sigblock.c: Likewise.
11559 * signal/sigignore.c: Likewise.
11560 * signal/sigintr.c: Likewise.
11561 * signal/signal.c: Likewise.
11562 * signal/sigpause.c: Likewise.
11563 * signal/sigpending.c: Likewise.
11564 * signal/sigqueue.c: Likewise.
11565 * signal/sigreturn.c: Likewise.
11566 * signal/sigset.c: Likewise.
11567 * signal/sigsetmask.c: Likewise.
11568 * signal/sigstack.c: Likewise.
11569 * signal/sigsuspend.c: Likewise.
11570 * signal/sigtimedwait.c: Likewise.
11571 * signal/sigvec.c: Likewise.
11572 * signal/sigwait.c: Likewise.
11573 * signal/sigwaitinfo.c: Likewise.
11574 * signal/sysv_signal.c: Likewise.
11575 * socket/accept.c: Likewise.
11576 * socket/accept4.c: Likewise.
11577 * socket/bind.c: Likewise.
11578 * socket/connect.c: Likewise.
11579 * socket/getpeername.c: Likewise.
11580 * socket/getsockname.c: Likewise.
11581 * socket/getsockopt.c: Likewise.
11582 * socket/isfdtype.c: Likewise.
11583 * socket/listen.c: Likewise.
11584 * socket/recv.c: Likewise.
11585 * socket/recvfrom.c: Likewise.
11586 * socket/recvmsg.c: Likewise.
11587 * socket/send.c: Likewise.
11588 * socket/sendmsg.c: Likewise.
11589 * socket/sendto.c: Likewise.
11590 * socket/setsockopt.c: Likewise.
11591 * socket/shutdown.c: Likewise.
11592 * socket/sockatmark.c: Likewise.
11593 * socket/socket.c: Likewise.
11594 * socket/socketpair.c: Likewise.
11595 * stdio-common/ctermid.c: Likewise.
11596 * stdio-common/cuserid.c: Likewise.
11597 * stdio-common/remove.c: Likewise.
11598 * stdio-common/rename.c: Likewise.
11599 * stdio-common/renameat.c: Likewise.
11600 * stdio-common/tempname.c: Likewise.
11601 * stdlib/getcontext.c: Likewise.
11602 * stdlib/makecontext.c: Likewise.
11603 * stdlib/setcontext.c: Likewise.
11604 * stdlib/swapcontext.c: Likewise.
11605 * stdlib/system.c: Likewise.
11606 * streams/fattach.c: Likewise.
11607 * streams/fdetach.c: Likewise.
11608 * streams/getmsg.c: Likewise.
11609 * streams/getpmsg.c: Likewise.
11610 * streams/putmsg.c: Likewise.
11611 * streams/putpmsg.c: Likewise.
11612 * sysdeps/unix/bsd/getpt.c: Likewise.
11613 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
11614 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
11615 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11617 Likewise.
11618 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
11619 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11620 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
11621 * sysvipc/msgctl.c: Likewise.
11622 * sysvipc/msgget.c: Likewise.
11623 * sysvipc/msgrcv.c: Likewise.
11624 * sysvipc/msgsnd.c: Likewise.
11625 * sysvipc/semctl.c: Likewise.
11626 * sysvipc/semget.c: Likewise.
11627 * sysvipc/semop.c: Likewise.
11628 * sysvipc/semtimedop.c: Likewise.
11629 * sysvipc/shmat.c: Likewise.
11630 * sysvipc/shmctl.c: Likewise.
11631 * sysvipc/shmdt.c: Likewise.
11632 * sysvipc/shmget.c: Likewise.
11633 * termios/tcdrain.c: Likewise.
11634 * termios/tcflow.c: Likewise.
11635 * termios/tcflush.c: Likewise.
11636 * termios/tcgetattr.c: Likewise.
11637 * termios/tcgetpgrp.c: Likewise.
11638 * termios/tcsendbrk.c: Likewise.
11639 * termios/tcsetattr.c: Likewise.
11640 * termios/tcsetpgrp.c: Likewise.
11641 * time/adjtime.c: Likewise.
11642 * time/clock.c: Likewise.
11643 * time/getitimer.c: Likewise.
11644 * time/gettimeofday.c: Likewise.
11645 * time/setitimer.c: Likewise.
11646 * time/settimeofday.c: Likewise.
11647 * time/stime.c: Likewise.
11648 * time/time.c: Likewise.
11649
116502012-11-04 Pino Toscano <toscano.pino@tiscali.it>
11651
11652 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
11653 /usr/old/bin.
11654
11655 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
11656 instead of spaces.
11657 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
11658
116592012-11-03 Joseph Myers <joseph@codesourcery.com>
11660
11661 [BZ #14796]
11662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11663 FE_TONEAREST before applying Dekker multiplication and Knuth
11664 addition. Clear inexact exceptions and check for exact zero
11665 results afterwards.
11666 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11667 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11668 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11669 * math/libm-test.inc (fma_test): Add more tests.
11670 (fma_test_towardzero): Likewise.
11671 (fma_test_downward): Likewise.
11672 (fma_test_upward): Likewise.
11673 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11674 function.
11675 (libc_fesetround): New macro.
11676 (libc_fesetroundf): Likewise.
11677 (libc_fesetroundl): Likewise.
11678 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11679 function.
11680 (libc_fesetround_387): Likewise.
11681 (libc_fesetroundf): New macro.
11682 (libc_fesetround): Likewise.
11683 (libc_fesetroundl): Likewise.
11684 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11685 function.
11686 (libc_fesetroundf): New macro.
11687 (libc_fesetround): Likewise.
11688 (libc_fesetroundl): Likewise.
11689 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11690 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11691 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11692 libm_hidden_ver.
11693 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11694 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11695 libm_hidden_def.
11696 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11697 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11698 libm_hidden_ver.
11699 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11700 libm_hidden_def.
11701
11702 [BZ #3439]
11703 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11704 integer constant usable in #if and use that to give value to enum
11705 constant.
11706 (FE_DIVBYZERO): Likewise.
11707 (FE_UNDERFLOW): Likewise.
11708 (FE_OVERFLOW): Likewise.
11709 (FE_INVALID): Likewise.
11710 (FE_INVALID_SNAN): Likewise.
11711 (FE_INVALID_ISI): Likewise.
11712 (FE_INVALID_IDI): Likewise.
11713 (FE_INVALID_ZDZ): Likewise.
11714 (FE_INVALID_IMZ): Likewise.
11715 (FE_INVALID_COMPARE): Likewise.
11716 (FE_INVALID_SOFTWARE): Likewise.
11717 (FE_INVALID_SQRT): Likewise.
11718 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11719 (FE_TONEAREST): Likewise.
11720 (FE_TOWARDZERO): Likewise.
11721 (FE_UPWARD): Likewise.
11722 (FE_DOWNWARD): Likewise.
11723 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11724 (FE_DIVBYZERO): Likewise.
11725 (FE_OVERFLOW): Likewise.
11726 (FE_UNDERFLOW): Likewise.
11727 (FE_INEXACT): Likewise.
11728 (FE_TONEAREST): Likewise.
11729 (FE_DOWNWARD): Likewise.
11730 (FE_UPWARD): Likewise.
11731 (FE_TOWARDZERO): Likewise.
11732 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11733 (FE_UNDERFLOW): Likewise.
11734 (FE_OVERFLOW): Likewise.
11735 (FE_DIVBYZERO): Likewise.
11736 (FE_INVALID): Likewise.
11737 (FE_TONEAREST): Likewise.
11738 (FE_TOWARDZERO): Likewise.
11739 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11740 (FE_OVERFLOW): Likewise.
11741 (FE_UNDERFLOW): Likewise.
11742 (FE_DIVBYZERO): Likewise.
11743 (FE_INEXACT): Likewise.
11744 (FE_TONEAREST): Likewise.
11745 (FE_TOWARDZERO): Likewise.
11746 (FE_UPWARD): Likewise.
11747 (FE_DOWNWARD): Likewise.
11748 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11749 (FE_DIVBYZERO): Likewise.
11750 (FE_OVERFLOW): Likewise.
11751 (FE_UNDERFLOW): Likewise.
11752 (FE_INEXACT): Likewise.
11753 (FE_TONEAREST): Likewise.
11754 (FE_DOWNWARD): Likewise.
11755 (FE_UPWARD): Likewise.
11756 (FE_TOWARDZERO): Likewise.
11757
117582012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11759
11760 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11761
117622012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11763
11764 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11765 commands. Quote $PWD.
11766 (blacklist_exports): Don't use remove_newlines. Replace "declare
11767 -x" by "export".
11768 (remove_newlines): Remove.
11769
117702012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11771
11772 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11773 * stdlib/stdlib.h (atof): Moved to ...
11774 * include/bits/stdlib-float.h: Here. New file.
11775 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11776 * stdlib/bits/stdlib-float.h: New file.
11777 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11778 -mno-sse -mno-mmx.
11779 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11780 <xmmintrin.h>.
11781
117822012-11-02 Joseph Myers <joseph@codesourcery.com>
11783
11784 * conform/conformtest.pl (@headers): Add fenv.h.
11785 * conform/data/fenv.h-data: New file.
11786 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11787 include of <math/fenv.h>.
11788
11789 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11790 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11791 && !UNIX98]. Enables tests for XOPEN2K8.
11792 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11793 POSIX2008]: Likewise.
11794
11795 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11796 (struct rusage): Do not expect type or its members.
11797
11798 [BZ #3439]
11799 * math/math.h (FP_NAN): Define macro to integer constant usable in
11800 #if and use that to give value to enum constant.
11801 (FP_INFINITE): Likewise.
11802 (FP_ZERO): Likewise.
11803 (FP_SUBNORMAL): Likewise.
11804 (FP_NORMAL): Likewise.
11805
118062012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11807
11808 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11809 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11810 arguments.
11811
118122012-11-02 Roland McGrath <roland@hack.frob.com>
11813
11814 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11815 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11816 autoconf-time if not.
11817 * configure.in: Remove AC_PREREQ.
11818
118192012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11820
11821 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11822 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11823 of the internal implementation.
11824
118252012-11-02 Joseph Myers <joseph@codesourcery.com>
11826
11827 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11828 except include of <misc/sys/syslog.h>.
11829
118302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11831
11832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11833 function returns with a NULL context exit with zero.
11834
118352012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11836
11837 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11838
118392012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11840
11841 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11842 (run_program_cmd): This.
11843 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11844 (tst_langinfo): New variable. Use it.
11845
118462012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11847
11848 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11849 floating point opcodes.
11850
118512012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11852
11853 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11854 variable.
11855
11856 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11857
11858 * sysdeps/mach/hurd/powerpc: Remove directory.
11859 * sysdeps/mach/powerpc: Likewise.
11860
118612012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11862
11863 * scripts/check-local-headers.sh: Ignore c++ headers.
11864
118652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11866
11867 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11868 __libc_cleanup_region_start argument.
11869
118702012-11-01 Joseph Myers <joseph@codesourcery.com>
11871
11872 [BZ #14784]
11873 [BZ #14785]
11874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11875 x * y using scaling, not as x * y + z.
11876 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11877 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11878 * math/libm-test.inc (fma_test): Add more tests.
11879 (fma_test_towardzero): Likewise.
11880 (fma_test_downward): Likewise.
11881 (fma_test_upward): Likewise.
11882
118832012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11884
11885 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11886
118872012-10-31 Joseph Myers <joseph@codesourcery.com>
11888
11889 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11890 New variable.
11891
118922012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11893
11894 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11895
118962012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11897
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11899 Fix sort order.
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11901 Likewise.
11902
119032012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11904
11905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11906 Fix the order of the list for glibc 2.17.
11907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11908 Likewise.
11909
119102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11911
11912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11913
119142012-10-31 Joseph Myers <joseph@codesourcery.com>
11915
11916 [BZ #14610]
11917 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11918 for low part of x being zero before using __atanl (y).
11919 * math/libm-test.inc (atan2_test): Add another test.
11920
11921 * manual/install.texi (Configuring and compiling): Document
11922 general use of test-wrapper and test-wrapper-env.
11923 * INSTALL: Regenerated.
11924
11925 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11926 (__fma): Do not extract and scale down low bits on after-rounding
11927 systems when result rounded to normal precision would have normal
11928 exponent.
11929 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11930 (__fmal): Do not extract and scale down low bits on after-rounding
11931 systems when result rounded to normal precision would have normal
11932 exponent.
11933 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11934 (__fmal): Do not extract and scale down low bits on after-rounding
11935 systems when result rounded to normal precision would have normal
11936 exponent.
11937 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11938 macro.
11939 (fma_test): Add more tests.
11940 (fma_test_towardzero): Likewise.
11941 (fma_test_downward): Likewise.
11942 (fma_test_upward): Likewise.
11943
119442012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11945
11946 * sysdeps/i386/tininess.h: Renamed to ...
11947 * sysdeps/x86/tininess.h: This.
11948 * sysdeps/x86_64/tininess.h: Removed.
11949
119502012-10-30 Joseph Myers <joseph@codesourcery.com>
11951
11952 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11953 input. Use $(build-program-cmd).
11954 ($(objpfx)tst-array1-static.out): Likewise.
11955 ($(objpfx)tst-array2.out): Likewise.
11956 ($(objpfx)tst-array3.out): Likewise.
11957 ($(objpfx)tst-array4.out): Likewise.
11958 ($(objpfx)tst-array5.out): Likewise.
11959 ($(objpfx)tst-array5-static.out): Likewise.
11960
119612012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11962
11963 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11964 if defined.
11965
11966 * nss/nsswitch.h (nss_interface_function): Provide new
11967 macro for use with NSS functions.
11968 * grp/initgroups.c: Use new macro.
11969 * nss/getXXbyYY.c: Likewise.
11970 * nss/getXXbyYY_r.c: Likewise.
11971 * nss/getXXent.c: Likewise.
11972 * nss/getXXent_r.c: Likewise.
11973 * sysdeps/posix/getaddrinfo.c: Likewise.
11974
119752012-10-30 Andreas Jaeger <aj@suse.de>
11976
11977 * po/ru.po: Update Russion translation from translation project.
11978
119792012-10-30 Joseph Myers <joseph@codesourcery.com>
11980
11981 [BZ #14152]
11982 [BZ #14783]
11983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11984 result and shift together with sticky bit instead of replicating
11985 round-to-nearest rounding.
11986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11988 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11989 missing underflow exceptions.
11990 (fma_test_towardzero): Add more tests.
11991 (fma_test_downward): Likewise.
11992 (fma_test_upward): Likewise.
11993
11994 [BZ #14047]
11995 * sysdeps/generic/tininess.h: New file.
11996 * sysdeps/i386/tininess.h: Likewise.
11997 * sysdeps/sh/tininess.h: Likewise.
11998 * sysdeps/x86_64/tininess.h: Likewise.
11999 * stdlib/tst-strtod-underflow.c: Likewise.
12000 * stdlib/tst-tininess.c: Likewise.
12001 * stdlib/strtod_l.c: Include <tininess.h>.
12002 (round_and_return): Do not set errno for exact underflow cases.
12003 Force an underflow exception when setting errno for underflow.
12004 Determine underflow based on rounding to normal precision if
12005 TININESS_AFTER_ROUNDING.
12006 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12007 ERANGE for exact underflow cases.
12008 * stdlib/Makefile (tests): Add tst-tininess and
12009 tst-strtod-underflow.
12010 ($(objpfx)tst-tininess): Use $(link-libm).
12011 ($(objpfx)tst-strtod-underflow): Likewise.
12012
120132012-10-30 Andreas Jaeger <aj@suse.de>
12014
12015 [BZ#14767]
12016 * elf/Makefile (tests): Remove conditional for have-initfini-array
12017 since this is now always required and the variable does not exist
12018 anymore.
12019 (tests-static): Likewise.
12020 (modules-names): Likewise.
12021
12022 * po/eo.po: Add Esperanto translation from translation project.
12023
12024 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12025 merged with constructor/destructor.
12026 (init_array): Likewise.
12027 * elf/tst-array2dep.c (fini_array): Likewise.
12028 (init_array): Likewise.
12029
120302012-10-29 Mike Frysinger <vapier@gentoo.org>
12031
12032 * manual/message.texi: Delete @cartouche tags.
12033
120342012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12035
12036 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12037 EOPNOTSUPP.
12038 * sysdeps/mach/hurd/fsync.c: Likewise.
12039
12040 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12041 [_POSIX_REALTIME_SIGNALS]: Change condition to
12042 [_POSIX_REALTIME_SIGNALS > 0].
12043
120442012-10-27 Andreas Jaeger <aj@suse.de>
12045
12046 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12047 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12048 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12049 [__WORDSIZE != 64]: Likewise.
12050
120512012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12052
12053 * iconvdata/tst-table.sh: Remove ${SHELL}.
12054 * iconvdata/tst-tables.sh: Likewise.
12055
120562012-10-25 David S. Miller <davem@davemloft.net>
12057
12058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12059 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12060 of strtoull.
12061
12062 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12063 ifunc-impl-list.c
12064 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12065 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12066 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12067 file.
12068
120692012-10-25 Roland McGrath <roland@hack.frob.com>
12070
12071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12072 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12073 __getdirentries.
12074
120752012-10-25 Joseph Myers <joseph@codesourcery.com>
12076 Jim Blandy <jimb@codesourcery.com>
12077
12078 * scripts/cross-test-ssh.sh: New file.
12079 * manual/install.texi (Configuring and compiling): Document use of
12080 cross-test-ssh.sh.
12081 * INSTALL: Regenerated.
12082
120832012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12084
12085 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12086 EOPNOTSUPP.
12087
120882012-10-25 Joseph Myers <joseph@codesourcery.com>
12089
12090 * Makeconfig (run-program-prefix): Fix comment.
12091
120922012-10-24 Joseph Myers <joseph@codesourcery.com>
12093 Jim Blandy <jimb@codesourcery.com>
12094
12095 * Makeconfig (test-wrapper): New variable,
12096 (test-wrapper-env): Likewise.
12097 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12098 (run-built-tests): Define to yes.
12099 (run-program-prefix): Use $(test-wrapper).
12100 (built-program-cmd): Likewise.
12101 * Rules (make-test-out): Use $(test-wrapper-env) and
12102 $(host-built-program-cmd).
12103 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12104 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12105 tst-pathopt.sh.
12106 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12107 $(test-wrapper-env) to tst-rtld-load-self.sh.
12108 ($(objpfx)order2.out): Use $(test-wrapper).
12109 ($(objpfx)tst-initorder.out): Likewise.
12110 ($(objpfx)tst-initorder2.out): Likewise.
12111 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12112 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12113 (test_wrapper_env): New variable. Use it to run ld.so.
12114 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12115 Use it to run ld.so.
12116 (test_wrapper_env): Likewise.
12117 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12118 $(test-wrapper) to run-iconv-test.sh.
12119 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12120 (ICONV): Use $test_wrapper.
12121 * posix/Makefile ($(objpfx)globtest.out): Pass
12122 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12123 globtest.sh, not $(run-program-prefix).
12124 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12125 (test_wrapper): Likewise.
12126 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12127 set together with run_via_rtld_prefix.
12128 (run_program_prefix): Define in terms of test_wrapper and
12129 run_via_rtld_prefix.
12130
121312012-10-24 Roland McGrath <roland@hack.frob.com>
12132
12133 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12134 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12135 Targets removed.
12136
12137 [BZ #14743]
12138 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12139 Declare __clock_getres, __clock_gettime, __clock_settime,
12140 __clock_nanosleep, and __clock_getcpuclockid.
12141 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12142 Remove librt_hidden_def (clock_gettime).
12143 * sysdeps/unix/clock_gettime.c: Likewise.
12144 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12146 * rt/clock_getres.c: Define __clock_getres as an alias.
12147 * sysdeps/posix/clock_getres.c: Likewise.
12148 * rt/clock_settime.c: Define __clock_settime as an alias.
12149 * sysdeps/unix/clock_settime.c: Likewise.
12150 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12151 * sysdeps/unix/clock_nanosleep.c: Likewise.
12152 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12153 * rt/clock-compat.c: New file.
12154 * rt/Makefile (librt-routines): Add clock-compat and move
12155 $(clock-routines) to ...
12156 (routines): ... here, new variable.
12157 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12158 Don't add get_clockfreq here.
12159 * rt/Versions (libc: GLIBC_2.17): New version set.
12160 Add clock_* symbols here.
12161 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12163 (GLIBC_2.17): Add clock_* symbols.
12164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12166 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12168 Likewise.
12169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12170 Likewise.
12171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12175 * NEWS: Mention the move.
12176
12177 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12178 Use __open, __read, __close rather than their public counterparts.
12179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12180 (__get_clockfreq_via_cpuinfo): Likewise.
12181 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12182 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12183
12184 * config.h.in (HAVE_IFUNC): New #undef.
12185 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12186 was successful.
12187 * configure: Regenerated.
12188
121892012-10-24 Mike Frysinger <vapier@gentoo.org>
12190
12191 * configure.in: Move READELF check to start of file.
12192 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12193 libc_cv_asm_gnu_indirect_function in the process.
12194 * configure: Regenerated.
12195
121962012-10-24 Mike Frysinger <vapier@gentoo.org>
12197
12198 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12199 send the output to /dev/null.
12200 (libc_cv_cc_with_libunwind): Likewise.
12201 (libc_cv_as_noexecstack): Likewise.
12202 * configure: Regenerate.
12203
122042012-10-24 Joseph Myers <joseph@codesourcery.com>
12205
12206 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12207
12208 * posix/globtest.sh (TMPDIR): Do not set.
12209 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12210 (testout): Likewise.
12211
122122012-10-24 Andreas Jaeger <aj@suse.de>
12213
12214 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12215 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12216 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12217 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12218 posix_fadvise64, posix_fallocate64.
12219
12220 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12221 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12222 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12223 Likewise.
12224 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12225 Likewise.
12226 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12227
12228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12229 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12230 <bits/fcntl-linux.h>.
12231 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12232
12233 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12234 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12235 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12236 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12237 [__WORDSIZE != 64]: Likewise.
12238
122392012-10-23 Joseph Myers <joseph@codesourcery.com>
12240
12241 * Makeconfig (run-built-tests): New variable.
12242 * Rules [$(cross-compiling) = yes]: Change condition to
12243 [$(run-built-tests) = no].
12244 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12245 to [$(run-built-tests) = yes].
12246 * elf/Makefile [$(cross-compiling) = no]: Likewise
12247 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12248 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12249 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12250 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12251 * io/Makefile [$(cross-compiling) = no]: Likewise.
12252 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12253 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12254 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12255 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12256 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12257 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12258 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12259 * string/Makefile [$(cross-compiling) = no]: Likewise.
12260
12261 * posix/Makefile ($(objpfx)globtest.out): Pass
12262 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12263 $(rtld-installed-name).
12264 * posix/globtest.sh (elf_objpfx): Remove variable.
12265 (rtld_installed_name): Likewise.
12266 (library_path): Likewise.
12267 (run_program_prefix): New variable. Use for running globtest
12268 binary.
12269
122702012-10-23 Jim Blandy <jimb@codesourcery.com>
12271 Joseph Myers <joseph@codesourcery.com>
12272
12273 * Makeconfig (host-built-program-cmd): New variable.
12274 * elf/Makefile (tst-stackguard1-ARGS): Use
12275 $(host-built-program-cmd).
12276 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12277 (tst-spawn-ARGS): Likewise.
12278 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12279
122802012-10-23 Joseph Myers <joseph@codesourcery.com>
12281 Jim Blandy <jimb@codesourcery.com>
12282
12283 * Makeconfig (run-via-rtld-prefix): New variable.
12284 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12285 (built-program-cmd): Likewise.
12286
122872012-10-22 Andreas Jaeger <aj@suse.de>
12288
12289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12290 __O_RSYNC if it exists, otherwise to O_SYNC.
12291
122922012-10-22 Jim Blandy <jimb@codesourcery.com>
12293 Joseph Myers <joseph@codesourcery.com>
12294
12295 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12296 /dev/null.
12297 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12298 from /dev/null
12299 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12300 /dev/null.
12301
123022012-10-22 Andreas Jaeger <aj@suse.de>
12303
12304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12305 Define always.
12306 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12307
12308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12309 bits/fcntl-linux.h.
12310
12311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12312 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12313
12314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12315 to __O_LARGEFILE.
12316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12317 to __O_LARGEFILE.
12318
123192012-10-21 Jim Blandy <jimb@codesourcery.com>
12320 Joseph Myers <joseph@codesourcery.com>
12321
12322 * config.make.in (NM): New variable.
12323
123242012-10-21 Andreas Jaeger <aj@suse.de>
12325
12326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12327 definitions and declarations that are provided by
12328 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12329
123302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12331
12332 [BZ #14683]
12333 * elf/Makefile (tests-static): Add tst-leaks1-static.
12334 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
12335 ($(objpfx)tst-leaks1-static): New rule.
12336 ($(objpfx)tst-leaks1-static-mem): Likewise.
12337 (tst-leaks1-static-ENV): New macro.
12338 * elf/dl-open.c (dl_open_worker): Check the main application
12339 only if SHARED is defined.
12340 * elf/tst-leaks1-static.c: New file.
12341
123422012-10-20 Andreas Jaeger <aj@suse.de>
12343
12344 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
12345 generic values for Linux.
12346 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
12347 and declarations that are provided by <bits/fcntl-linux.h> and
12348 include <bits/fcntl-linux.h>.
12349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12351
123522012-10-20 Roland McGrath <roland@hack.frob.com>
12353
12354 * io/fcntl.h: Move include of <bits/types.h> to the top and
12355 include it unconditionally.
12356
123572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
12358
12359 * wcsmbs/Makefile (tests-ifunc): New variable.
12360 (tests): Add $(tests-ifunc).
12361 * wcsmbs/test-wcschr-ifunc.c: New file.
12362 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12363 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12364 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12365 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12366 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12367
12368 * string/Makefile (tests-ifunc): New variable.
12369 (tests): Add $(tests-ifunc).
12370 * string/test-memccpy.c (TEST_NAME): New macro.
12371 * string/test-memchr.c (TEST_NAME): Likewise.
12372 * string/test-memcmp.c (TEST_NAME): Likewise.
12373 * string/test-memcpy.c (TEST_NAME): Likewise.
12374 * string/test-memmem.c (TEST_NAME): Likewise.
12375 * string/test-memmove.c (TEST_NAME): Likewise.
12376 * string/test-memset.c (TEST_NAME): Likewise.
12377 * string/test-rawmemchr.c (TEST_NAME): Likewise.
12378 * string/test-stpcpy.c (TEST_NAME): Likewise.
12379 * string/test-stpncpy.c (TEST_NAME): Likewise.
12380 * string/test-strcasecmp.c (TEST_NAME): Likewise.
12381 * string/test-strcasestr.c (TEST_NAME): Likewise.
12382 * string/test-strcat.c (TEST_NAME): Likewise.
12383 * string/test-strchr.c (TEST_NAME): Likewise.
12384 * string/test-strcmp.c(TEST_NAME): Likewise.
12385 * string/test-strcpy.c (TEST_NAME): Likewise.
12386 * string/test-strcspn.c (TEST_NAME): Likewise.
12387 * string/test-strlen.c (TEST_NAME): Likewise.
12388 * string/test-strncasecmp.c (TEST_NAME): Likewise.
12389 * string/test-strncmp.c (TEST_NAME): Likewise.
12390 * string/test-strncpy.c (TEST_NAME): Likewise.
12391 * string/test-strnlen.c (TEST_NAME): Likewise.
12392 * string/test-strpbrk.c (TEST_NAME): Likewise.
12393 * string/test-strrchr.c (TEST_NAME): Likewise.
12394 * string/test-strspn.c (TEST_NAME): Likewise.
12395 * string/test-strstr.c (TEST_NAME): Likewise.
12396 * string/test-bcopy-ifunc.c: New file.
12397 * string/test-bzero-ifunc.c: Likewise.
12398 * string/test-memccpy-ifunc.c: Likewise.
12399 * string/test-memchr-ifunc.c: Likewise.
12400 * string/test-memcmp-ifunc.c: Likewise.
12401 * string/test-memcpy-ifunc.c: Likewise.
12402 * string/test-memmem-ifunc.c: Likewise.
12403 * string/test-memmove-ifunc.c: Likewise.
12404 * string/test-mempcpy-ifunc.c: Likewise.
12405 * string/test-memset-ifunc.c: Likewise.
12406 * string/test-rawmemchr-ifunc.c: Likewise.
12407 * string/test-stpcpy-ifunc.c: Likewise.
12408 * string/test-stpncpy-ifunc.c: Likewise.
12409 * string/test-strcasecmp-ifunc.c: Likewise.
12410 * string/test-strcasestr-ifunc.c: Likewise.
12411 * string/test-strcat-ifunc.c: Likewise.
12412 * string/test-strchr-ifunc.c: Likewise.
12413 * string/test-strchrnul-ifunc.c: Likewise.
12414 * string/test-strcmp-ifunc.c: Likewise.
12415 * string/test-strcpy-ifunc.c: Likewise.
12416 * string/test-strcspn-ifunc.c: Likewise.
12417 * string/test-strlen-ifunc.c: Likewise.
12418 * string/test-strncasecmp-ifunc.c: Likewise.
12419 * string/test-strncat-ifunc.c: Likewise.
12420 * string/test-strncmp-ifunc.c: Likewise.
12421 * string/test-strncpy-ifunc.c: Likewise.
12422 * string/test-strnlen-ifunc.c: Likewise.
12423 * string/test-strpbrk-ifunc.c: Likewise.
12424 * string/test-strrchr-ifunc.c: Likewise.
12425 * string/test-strspn-ifunc.c: Likewise.
12426 * string/test-strstr-ifunc.c: Likewise.
12427
12428 * debug/Makefile (tests-ifunc): New variable.
12429 (tests): Add $(tests-ifunc).
12430 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
12431 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
12432 * debug/test-stpcpy_chk-ifunc.c: New file.
12433 * debug/test-strcpy_chk-ifunc.c: Likewise.
12434
124352012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12436
12437 [BZ #13601]
12438 * elf/dl-load.c (open_verify): Retry read if the entire ELF
12439 header is not read in.
12440
124412012-10-19 Joseph Myers <joseph@codesourcery.com>
12442
12443 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
12444 script to $(SHELL) as $<. Pass $(common-objpfx) to script
12445 directly. Pass built executable to script as
12446 $(built-program-cmd).
12447 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
12448 $testprogram without using LD_LIBRARY_PATH and $ldso.
12449
12450 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
12451 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
12452 $(rtld-installed-name).
12453 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
12454 (rtld_installed_name): Likewise.
12455 (library_path): Likewise.
12456 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
12457 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
12458 $(run-program-prefix) to tst-tables.sh.
12459 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
12460 it to run tst-table-from and tst-table-to.
12461 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
12462 Pass it to tst-table.sh.
12463 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
12464 $(run-program-prefix) to tst-gettext.sh.
12465 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
12466 tst-translit.sh.
12467 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
12468 tst-gettext2.sh.
12469 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
12470 to run tst-gettext.
12471 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
12472 to run tst-gettext2.
12473 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
12474 to run tst-translit.
12475 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
12476 $(run-program-prefix) to tst-mtrace.sh.
12477 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
12478 to run tst-mtrace.
12479 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
12480 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
12481 $(rtld-installed-name).
12482 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
12483 (rtld_installed_name): Likewise.
12484 (run_program_prefix): New variable. Use it to run wordexp-test.
12485
12486 * Makeconfig (ARCH): Remove all definitions.
12487 (machine): Likewise.
12488 [ARCH]: Remove conditional code.
12489 [!objdir]: Give error.
12490 [!objdir] (objpfx): Remove.
12491 [!objdir] (common-objpfx): Likewise.
12492 [!objdir] (common-objdir): Likewise.
12493 * configure.in (config_makefile): Remove. Hardcode Makefile in
12494 AC_CONFIG_FILES call.
12495 * configure: Regenerated.
12496
12497 [BZ #13888]
12498 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
12499 or TMPDIR.
12500 (testout): Likewise.
12501
12502 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
12503 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
12504 $(rtld-installed-name).
12505 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
12506 (rtld_installed_name): Likwise.
12507 (runit): Remove function.
12508 (run_getconf): New variable, Use it for running getconf binary.
12509
125102012-10-18 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 [BZ #14716]
12513 * string/test-memmem.c (check_result): New function.
12514 (do_one_test): Use it.
12515 (check1): New function.
12516 (test_main): Use it.
12517
125182012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
12519
12520 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
12521
125222012-10-18 Joseph Myers <joseph@codesourcery.com>
12523
12524 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
12525 (_G_LSEEK64): Likewise.
12526 (_G_MMAP64): Likewise.
12527 (_G_FSTAT64): Likewise.
12528 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
12529 (_G_LSEEK64): Likewise.
12530 (_G_MMAP64): Likewise.
12531 (_G_FSTAT64): Likewise.
12532 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
12533 unconditional. Call __mmap64 directly.
12534 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
12535 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
12536 __lseek64 directly.
12537 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
12538 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
12539 __mmap64 directly.
12540 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
12541 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
12542 __lseek64 directly.
12543 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
12544 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
12545 __lseek64 directly.
12546 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
12547 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
12548 __lseek64 directly.
12549 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
12550 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
12551 __fxstat64 directly.
12552 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
12553 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
12554 unconditional.
12555 (freopen64) [!_G_OPEN64]: Remove conditional code.
12556 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
12557 unconditional.
12558 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
12559 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
12560 unconditional.
12561 (ftello64) [!_G_LSEEK64]: Remove conditional code.
12562 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
12563 unconditional.
12564 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12565 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
12566 unconditional.
12567 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
12568 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
12569 unconditional.
12570 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12571 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
12572 unconditional.
12573 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
12574 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
12575 unconditional.
12576 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
12577
125782012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12579
12580 [BZ #12140]
12581 * manual/memory.texi (Malloc Tunable Parameters): Add note
12582 about free list pointers overwriting some perturb bytes.
12583 Wording suggested by Roland McGrath.
12584
125852012-10-17 Joseph Myers <joseph@codesourcery.com>
12586
12587 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
12588 (lgamma_test): Likewise.
12589 (tgamma_test): Likewise.
12590
125912012-10-16 Florian Weimer <fweimer@redhat.com>
12592
12593 [BZ #14700]
12594 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
12595 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
12596
125972012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
12598
12599 * NEWS: Mention BZ #14716.
12600 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
12601 when removing AVAILABLE1_USES_J macro.
12602
126032012-10-12 H.J. Lu <hongjiu.lu@intel.com>
12604
12605 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
12606 (__bswap_64): __uint64_t for unsigned 64-bit int.
12607
126082012-10-12 Andreas Schwab <schwab@linux-m68k.org>
12609
12610 * include/string.h (memmem): Declare libc hidden alias.
12611 * string/memmem.c (memmem): Define libc hidden alias.
12612 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
12613 __read, __close instead of open, read, close.
12614
126152012-10-11 H.J. Lu <hongjiu.lu@intel.com>
12616
12617 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
12618 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
12619 global and hidden.
12620 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
12621 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
12622 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
12623 Likewise.
12624 (__rawmemchr_sse2): Likewise.
12625 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
12626 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
12627 (__strchr_sse2): Likewise.
12628 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
12629 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
12630 (__strcasecmp_sse2): Likewise.
12631 (__strncasecmp_sse2): Likewise.
12632 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
12633 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
12634 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
12635 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
12636 (__strrchr_sse2): Likewise.
12637 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
12638 ifunc-impl-list.c.
12639 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12640 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12641 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12642 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12643 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12644 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12645 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12646 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12647 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
12648 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
12649 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
12650 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
12651 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
12652 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12653 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12654 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12655 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12656 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12657 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
12658 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
12659 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
12660 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12661 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12662 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12663 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12664 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12665 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12666 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12667 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12668 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12669
12670 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12671 global and hidden.
12672 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12673 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12674 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12675 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12676 Likewise.
12677 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12678 Likewise.
12679 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12680 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12681 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12682 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12683 ifunc-impl-list.c.
12684 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12685 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12686 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12687 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12688 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12689 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12690 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12691 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12692 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12693 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12694 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12695 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12696 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12697 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12698 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12699 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12700 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12701 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12702 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12703 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12704 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12705 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12706 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12707 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12708 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12709 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12710 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12711 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12712 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12713 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12714 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12715 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12716 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12717 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12718 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12719 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12720 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12721 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12722 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12723 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12724 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12725
12726 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12727 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12728 * include/ifunc-impl-list.h: New file.
12729 * misc/ifunc-impl-list.c: Likewise.
12730 * misc/Makefile (routines): Add ifunc-impl-list.
12731 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12732 * string/test-string.h: Include <ifunc-impl-list.h>.
12733 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12734 impl_array): New variables.
12735 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12736 are defined.
12737 (test_init): Call __libc_ifunc_impl_list to initialize
12738 func_list if TEST_IFUNC and TEST_NAME are defined.
12739
12740 * string/Makefile (strop-tests): Add bcopy and bzero.
12741 * string/test-bcopy.c: New file.
12742 * string/test-bzero.c: Likewise.
12743 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12744 defined.
12745 * string/test-memset.c: Support bzero test if TEST_BZERO is
12746 defined.
12747 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12748 __libc_memmove.
12749 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12750 __libc_memset.
12751 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12752 of memset.
12753
127542012-10-10 Joseph Myers <joseph@codesourcery.com>
12755
12756 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12757 * configure: Regenerated.
12758
12759 * Makeconfig (+link-static-before-libc): Don't include
12760 $(link-static-libc).
12761
12762 * libio/libio.h (_IO_pos_t): Remove.
12763
127642012-10-10 Alexandre Oliva <aoliva@redhat.com>
12765
12766 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12767 McGrath.
12768
127692012-10-10 Alexandre Oliva <aoliva@redhat.com>
12770
12771 * crypt/crypt-entry.c: Include fips-private.h.
12772 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12773 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12774 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12775 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12776
127772012-10-10 Alexandre Oliva <aoliva@redhat.com>
12778
12779 * crypt/crypt-private.h: Include stdbool.h.
12780 (_ufc_setup_salt_r): Return bool.
12781 * crypt/crypt-entry.c: Include errno.h.
12782 (__crypt_r): Return NULL with EINVAL for bad salt.
12783 * crypt/crypt_util.c (bad_for_salt): New.
12784 (_ufc_setup_salt_r): Check that salt is long enough and within
12785 the specified alphabet.
12786 * crypt/badsalttest.c: New file.
12787 * crypt/Makefile (tests): Add it.
12788 ($(objpfx)badsalttest): New.
12789
127902012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12791
12792 * NEWS: Add entry for BZ #14602.
12793
127942012-10-09 Joseph Myers <joseph@codesourcery.com>
12795
12796 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12797 type-generic.
12798 * math/libm-test.inc: Update comment listing what functions and
12799 macros are tested.
12800 (isgreater_test): New function.
12801 (isgreaterequal_test): Likewise.
12802 (isless_test): Likewise.
12803 (islessequal_test): Likewise.
12804 (islessgreater_test): Likewise.
12805 (isunordered_test): Likewise.
12806 (main): Call the new functions.
12807
128082012-10-09 Roland McGrath <roland@hack.frob.com>
12809
12810 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12811 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12812 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12813 * sysdeps/i386/configure: Regenerated.
12814 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12815 * sysdeps/mach/configure: Regenerated.
12816 * sysdeps/mach/hurd/configure: Regenerated.
12817 * sysdeps/powerpc/configure: Regenerated.
12818 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12819 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12820 * sysdeps/s390/s390-32/configure: Regenerated.
12821 * sysdeps/s390/s390-64/configure: Regenerated.
12822 * sysdeps/sh/configure: Regenerated.
12823 * sysdeps/sparc/configure: Regenerated.
12824 * sysdeps/unix/sysv/linux/configure: Regenerated.
12825 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12826 * sysdeps/x86_64/configure: Regenerated.
12827
12828 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12829 defined. Don't check if MAP is NULL.
12830
128312012-10-09 Joseph Myers <joseph@codesourcery.com>
12832
12833 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12834 (_G_stat64): Likewise.
12835 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12836 (_G_stat64): Likewise.
12837 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12838 instead of struct _G_stat64.
12839 * libio/fileops.c (mmap_remap_check): Likewise.
12840 (decide_maybe_mmap): Likewise.
12841 (_IO_new_file_seekoff): Likewise.
12842 (_IO_file_stat): Likewise.
12843 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12844 _G_off64_t.
12845 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12846 instead of struct _G_stat64.
12847 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12848
128492012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12850
12851 [BZ #14602]
12852 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12853 Replace with ...
12854 (CHECK_EOL): New macro.
12855 (two_way_short_needle): Check beginning of haystack for EOL. Use
12856 CHECK_EOL.
12857 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12858 Replace with CHECK_EOL.
12859 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12860 Replace with CHECK_EOL.
12861
128622012-10-08 Joseph Myers <joseph@codesourcery.com>
12863
12864 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12865 type-generic.
12866 * math/libm-test.inc: Update comment listing what functions and
12867 macros are tested.
12868 (finite_test): New function.
12869 (isinf_test): Likewise.
12870 (isnan_test): Likewise.
12871 (fpclassify_test): Test subnormal input.
12872 (isfinite_test): Likewise.
12873 (isnormal_test): Likewise.
12874 (main): Call the new functions.
12875
128762012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12877
12878 [BZ #14660]
12879 * Makerules (%.dynsym): Force C locale when running
12880 $(OBJDUMP) --dynamic-syms.
12881
128822012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12883
12884 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12885 <stdint.h>.
12886
128872012-10-06 David S. Miller <davem@davemloft.net>
12888
12889 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12890 upper 32-bits of the length value in %o2 since we use branch-on-register
12891 tests which consider the entire 64-bit register.
12892
128932012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12894
12895 * string/test-strstr.c (check2): Add a test for page boundary.
12896
128972012-10-05 David S. Miller <davem@davemloft.net>
12898
12899 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12900 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12901 file.
12902 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12903 sysdep_routines.
12904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12905 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12906 and bzero when HWCAP_SPARC_CRYPTO is present.
12907
129082012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12909
12910 [BZ #14602]
12911 * string/test-strstr.c (check2): New function.
12912 (test_main): Call check2.
12913
12914 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12915 and bug-strchr1.
12916 * string/bug-strcasestr1.c (do_test): Moved to ...
12917 * string/test-strcasestr.c (check1): Here. New function.
12918 (do_one_test): Break out result checking code into ...
12919 (check_result): This. New function.
12920 (do_one_test): Call check_result.
12921 (test_main): Call check1.
12922 * string/bug-strchr1.c (do_test): Moved to ...
12923 * string/test-strchr.c (check1): Here. New function.
12924 (do_one_test): Break out result checking code into ...
12925 (check_result): This. New function.
12926 (do_one_test): Call check_result.
12927 (test_main): Call check1.
12928 * string/bug-strstr1.c (main): Moved to ...
12929 * string/test-strstr.c (check1): Here. New function.
12930 (do_one_test): Break out result checking code into ...
12931 (check_result): This. New function.
12932 (do_one_test): Call check_result.
12933 (test_main): Call check1.
12934 * string/bug-strcasestr1.c: Removed.
12935 * string/bug-strchr1.c: Likewise.
12936 * string/bug-strstr1.c: Likewise.
12937
12938 * elf/Makefile (dl-routines): Add hwcaps.
12939 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12940 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12941 (_dl_important_hwcaps): Moved to ...
12942 * elf/dl-hwcaps.c: Here. New file.
12943 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12944
12945 [BZ #14557]
12946 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12947 if IS_IN_rtld isn't defined.
12948
12949 * elf/dl-support.c (_dl_sysinfo_map): New.
12950 Include "get-dynamic-info.h" and "setup-vdso.h".
12951 (_dl_non_dynamic_init): Call setup_vdso.
12952 * elf/dynamic-link.h: Don't include <assert.h>.
12953 (elf_get_dynamic_info): Moved to ...
12954 * elf/get-dynamic-info.h: Here. New file.
12955 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12956 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12957 * elf/setup-vdso.h: Here. New file.
12958 * elf/rtld.c: Include "setup-vdso.h".
12959 (dl_main): Call setup_vdso.
12960
129612012-10-05 Joseph Myers <joseph@codesourcery.com>
12962
12963 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12964 creal in comment listing functions tested. List finite, isinf,
12965 isnan, isless, islessequal, isgreater, isgreaterequal,
12966 islessgreater, isunordered, lgamma_r and pow10 as functions and
12967 macros not tested. Mention which functions not tested are aliases
12968 for other functions. Fix typo. Note that signs of NaNs are not
12969 tested.
12970
12971 * scripts/config.guess: Update from config.git.
12972 * scripts/config.sub: Likewise.
12973
129742012-10-04 Roland McGrath <roland@hack.frob.com>
12975
12976 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12977 * misc/madvise.c (madvise): Renamed to __madvise.
12978 Make madvise a weak alias.
12979 * include/sys/mman.h: Declare __madvise.
12980 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12981 * sysdeps/unix/syscalls.list
12982 (madvise): Make __madvise the strong name, and madvise a weak alias.
12983 * sysdeps/unix/sysv/linux/syscalls.list
12984 (madvise, mmap): Remove redundant entries.
12985 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12986 * malloc/malloc.c (mtrim): Likewise.
12987 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12988
129892012-10-03 Roland McGrath <roland@hack.frob.com>
12990
12991 * sysdeps/mach/hurd/dl-cache.c: File removed.
12992 * config.h.in (USE_LDCONFIG): New #undef.
12993 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12994 * configure: Regenerated.
12995 * elf/Makefile (dl-routines): Add dl-cache only under
12996 [$(use-ldconfig) = yes].
12997 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12998 cache on [USE_LDCONFIG].
12999 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13000 [USE_LDCONFIG].
13001 * elf/rtld.c (dl_main): Likewise.
13002
130032012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13004
13005 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13006 _SC_LEVEL4_CACHE_LINESIZE.
13007
130082012-10-03 Roland McGrath <roland@hack.frob.com>
13009
13010 * sysdeps/unix/bsd/confstr.h: File removed.
13011
130122012-10-02 Alexandre Oliva <aoliva@redhat.com>
13013
13014 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13015 sys/sdt-config.h.
13016
130172012-10-02 Roland McGrath <roland@hack.frob.com>
13018
13019 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13020 Make 'mapoff' field ElfW(Off) rather than off_t.
13021
130222012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13023
13024 * nscd/Makefile: Remove nscd-cflags and all its users.
13025 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13026 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13027
13028 [BZ #10631]
13029 * malloc.c (malloc_printerr): Clarify error message.
13030
130312012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 [BZ #14648]
13034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13035 Set bit_FMA_Usable if FMA is supported.
13036 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13037 macro.
13038 (bit_FMA4_Usable): Updated.
13039 (index_FMA_Usable): New macro.
13040 (CPUID_FMA): Likewise
13041 (HAS_FMA): Defined with bit_FMA_Usable.
13042
130432012-10-01 Roland McGrath <roland@hack.frob.com>
13044
13045 * bits/types.h (__swblk_t): Type removed.
13046 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13047 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13048 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13049 (__SWBLK_T_TYPE): Likewise.
13050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13051 (__SWBLK_T_TYPE): Likewise.
13052 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13053 (__SWBLK_T_TYPE): Likewise.
13054 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13055 (__SWBLK_T_TYPE): Likewise.
13056
130572012-10-01 Patsy Franklin <pfrankli@redhat.com>
13058 Honza Horak <hhorak@redhat.com>
13059
13060 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13061 (xdr_mapname): Use YPMAXMAP as maxsize.
13062 (xdr_peername): Use YPMAXPEER as maxsize.
13063 (xdr_keydat): Use YPAXRECORD as maxsize.
13064 (xdr_valdat): Use YPMAXRECORD as maxsize.
13065
130662012-10-01 Roland McGrath <roland@hack.frob.com>
13067
13068 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13069
13070 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13071 * csu/init-first.c: ... here.
13072 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13073 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13075 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13076 * sysdeps/i386/init-first.c: File removed.
13077 * sysdeps/sh/init-first.c: File removed.
13078
130792012-10-01 Joseph Myers <joseph@codesourcery.com>
13080
13081 [BZ #14645]
13082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13083 if x * y might underflow to zero and z is zero.
13084 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13085 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13086 * math/libm-test.inc (min_subnorm_value): New variable.
13087 (fma_test): Add more tests.
13088 (fma_test_towardzero): Likewise.
13089 (fma_test_downward): Likewise
13090 (fma_test_upward): Likewise.
13091 (initialize): Set min_subnorm_value.
13092
130932012-09-29 Joseph Myers <joseph@codesourcery.com>
13094
13095 [BZ #14638]
13096 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13097 0 + 0.
13098 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13099 mode for addition resulting in exact zero.
13100 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13102 exact 0 + 0.
13103 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13105 * math/libm-test.inc (fma_test): Add more tests.
13106 (fma_test_towardzero): New function.
13107 (fma_test_downward): Likewise.
13108 (fma_test_upward): Likewise.
13109 (main): Call the new functions.
13110
131112012-09-28 David S. Miller <davem@davemloft.net>
13112
13113 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13114
131152012-09-28 Roland McGrath <roland@hack.frob.com>
13116
13117 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13118 instead of SIGALRM.
13119
13120 * sysdeps/gnu/_G_config.h: Moved to ...
13121 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13122 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13123 * sysdeps/generic/_G_config.h: ... here.
13124
13125 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13126
13127 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13128
13129 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13130 Conditionalize target on [libnss_test1.so-version].
13131
13132 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13133
13134 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13135 (elfobjdir): Move out of conditionals.
13136
13137 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13138 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13139 (__nss_lookup_function): Conditionalize label remove_from_tree on
13140 [!DO_STATIC_NSS || SHARED], matching its only use.
13141
131422012-09-28 David S. Miller <davem@davemloft.net>
13143
13144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13145 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13146 file.
13147 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13148 sysdep_routines.
13149 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13151 when HWCAP_SPARC_CRYPTO is present.
13152
131532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13154
13155 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13156
131572012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13158
13159 [BZ #6530]
13160 * stdio-common/vfprintf.c (process_string_arg): Revert
13161 2000-07-22 change.
13162
131632011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13164
13165 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13166 for testcase.
13167 * stdio-common/tst-sprintf.c: Include <locale.h>
13168 (main): Test sprintf's handling of incomplete multibyte
13169 characters.
13170
131712012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13172
13173 * elf/dl-runtime.c (VERSYMIDX): Removed.
13174 * elf/dl-version.c (VERSYMIDX): Likewise.
13175 * elf/do-rel.h (VERSYMIDX): Likewise.
13176 (VALIDX): Likewise.
13177 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13178 * elf/rtld.c (VALIDX): Likewise.
13179 (ADDRIDX): Likewise.
13180 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13181 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13182 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13183 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13184 (VALIDX): Likewise.
13185 (ADDRIDX): Likewise.
13186
131872012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13188
13189 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13190
131912012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13192
13193 [BZ #11438]
13194 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13195 to global scope.
13196 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13197 addresses are in the same scope as 192.0.2/24.
13198 * posix/gai.conf: Document new scope table defaults.
13199
132002012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13201
13202 [BZ #5298]
13203 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13204 for ftell. Compute offsets from write pointers instead.
13205 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13206
132072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13208
13209 [BZ #14543]
13210 * libio/Makefile (tests): New test case tst-fseek.
13211 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13212 combination works in wide mode.
13213 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13214 state when the external buffer state changes.
13215
132162012-09-27 David S. Miller <davem@davemloft.net>
13217
13218 [BZ #14376]
13219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13220 pass reloc->r_addend in as the 'high' argument to
13221 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13222
13223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13224
132252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13226
13227 * rt/tst-aio2.c: Include <pthread.h>.
13228 * rt/tst-aio3.c: Likewise.
13229
132302012-09-27 Steve Ellcey <sellcey@mips.com>
13231
13232 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13233
132342012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13235
13236 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13237 contents on [SHARED].
13238
132392012-09-26 Marek Polacek <polacek@redhat.com>
13240
13241 [BZ #14530]
13242 [BZ #13741]
13243 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13244 for C++ and GCC <4.3 as well as for non GCC compilers.
13245
132462012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13247
13248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13249
132502012-09-25 Roland McGrath <roland@hack.frob.com>
13251
13252 * Makefile.in (all, install): Declare with .PHONY.
13253 Reported by Michael Hope <michael.hope@linaro.org>.
13254
132552012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13256
13257 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13258 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13259 system header.
13260 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13261 Likewise.
13262 (sydep_routines): Add the new and the internal functions.
13263 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13264 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13266 (GLIBC_2.17): Add the new function.
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13268 (GLIBC_2.17): Likewise.
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13270 (GLIBC_2.17): Likewise.
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13272 (GLIBC_2.17): Likewise.
13273 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13274
132752012-09-25 Alan Modra <amodra@gmail.com>
13276
13277 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13278 Add release barrier before setting once_control to say
13279 initialisation is done. Add hints on lwarx. Use macro in
13280 place of isync.
13281 (clear_once_control): Add release barrier.
13282
132832012-09-25 Joseph Myers <joseph@codesourcery.com>
13284
13285 [BZ #13629]
13286 * math/s_clog.c (__clog): Handle more values close to |z| = 1
13287 specially.
13288 * math/s_clog10.c (__clog10): Likewise.
13289 * math/s_clog10f.c (__clog10f): Likewise.
13290 * math/s_clog10l.c (__clog10l): Likewise.
13291 * math/s_clogf.c (__clogf): Likewise.
13292 * math/s_clogl.c (__clogl): Likewise.
13293 * math/Makefile (libm-calls): Add x2y2m1.
13294 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13295 (__x2y2m1): Likewise.
13296 (__x2y2m1l): Likewise.
13297 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13298 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13299 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13300 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13301 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13302 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13303 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13304 * sysdeps/i386/fpu/libm-test-ulps: Update.
13305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13306
13307 [BZ #14621]
13308 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13309 int as type of variable DEPTH.
13310 (glob): Use size_t instead of int as type of variables NEWCOUNT
13311 and OLD_PATHC.
13312
133132012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13314
13315 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13316 Add s_sincosf-sse2.
13317 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13318 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13319 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13320 macros for using routine as __sincosf_ia32.
13321 Use macro for function declaration and weak_alias.
13322 * sysdeps/i386/fpu/libm-test-ulps: Update.
13323
13324 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13326
13327 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13328 subnormal argument.
13329 * math/s_cexpf.c (__cexpf): Likewise.
13330 * math/s_csinf.c (__csinf): Likewise.
13331 * math/s_csinhf.c (__csinhf): Likewise.
13332 * math/s_ctanf.c (__ctanf): Likewise.
13333 * math/s_ctanhf.c (__ctanhf): Likewise.
13334 * math/s_ccosh.c (__ccoshf): Likewise.
13335 * math/s_cexp.c (__cexpl): Likewise.
13336 * math/s_csin.c (__csin): Likewise.
13337 * math/s_csinh.c (__csinh): Likewise.
13338 * math/s_ctan.c (__ctan): Likewise.
13339 * math/s_ctanh.c (ctanh): Likewise.
13340 * math/s_ccoshl.c (__ccoshl): Likewise.
13341 * math/s_cexpl.c (__cexpl): Likewise.
13342 * math/s_csinl.c (__csinl): Likewise.
13343 * math/s_csinhl.c (__csinhl): Likewise.
13344 * math/s_ctanl.c (__ctanl): Likewise.
13345 * math/s_ctanhl.c (__ctanhl): Likewise.
13346
133472012-09-25 Joseph Myers <joseph@codesourcery.com>
13348
13349 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
13350 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
13351 (_IO_off_t): Define to __off_t, not _G_off_t.
13352 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
13353 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
13354 (_IO_wint_t): Define to wint_t, not _G_wint_t.
13355 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
13356 type of __dummy and __dummy2 fields.
13357 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
13358 (_G_ssize_t): Likewise.
13359 (_G_off_t): Likewise.
13360 (_G_pid_t): Likewise.
13361 (_G_uid_t): Likewise.
13362 (_G_wchar_t): Likewise.
13363 (_G_wint_t): Likewise.
13364 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
13365 (_G_ssize_t): Likewise.
13366 (_G_off_t): Likewise.
13367 (_G_pid_t): Likewise.
13368 (_G_uid_t): Likewise.
13369 (_G_wchar_t): Likewise.
13370 (_G_wint_t): Likewise.
13371 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
13372 (_G_ssize_t): Likewise.
13373 (_G_off_t): Likewise.
13374 (_G_pid_t): Likewise.
13375 (_G_uid_t): Likewise.
13376 (_G_wchar_t): Likewise.
13377 (_G_wint_t): Likewise.
13378
133792012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13380
13381 * malloc/arena.c: Include malloc-sysdep.h.
13382 (shrink_heap): Use check_may_shrink_heap to decide if madvise
13383 is sufficient to shrink the heap or an unmap is needed.
13384 * sysdeps/generic/malloc-sysdep.h: New file. Define
13385 new function check_may_shrink_heap.
13386 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
13387 new function check_may_shrink_heap.
13388
133892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13390
13391 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
13392 comments.
13393
133942012-09-24 Dmitry V. Levin <ldv@altlinux.org>
13395
13396 * catgets/test-gencat.sh: Add "set -e".
13397 * elf/tst-pathopt.sh: Likewise.
13398 * grp/tst_fgetgrent.sh: Likewise.
13399 * iconvdata/run-iconv-test.sh: Likewise.
13400 * intl/tst-gettext.sh: Likewise.
13401 * intl/tst-gettext2.sh: Likewise.
13402 * intl/tst-gettext4.sh: Likewise.
13403 * intl/tst-gettext6.sh: Likewise.
13404 * intl/tst-translit.sh: Likewise.
13405 * io/ftwtest-sh: Likewise.
13406 * libio/test-freopen.sh: Likewise.
13407 * malloc/tst-mtrace.sh: Likewise.
13408 * posix/globtest.sh: Likewise.
13409 * posix/tst-getconf.sh: Likewise.
13410 * posix/wordexp-tst.sh: Likewise.
13411 * stdio-common/tst-printf.sh: Likewise.
13412 * stdio-common/tst-unbputc.sh: Likewise.
13413 * stdlib/tst-fmtmsg.sh: Likewise.
13414 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13415 * catgets/Makefile: Do not specify -e option when running
13416 testsuite shell scripts.
13417 * elf/Makefile: Likewise.
13418 * grp/Makefile: Likewise.
13419 * iconvdata/Makefile: Likewise.
13420 * intl/Makefile: Likewise.
13421 * io/Makefile: Likewise.
13422 * libio/Makefile: Likewise.
13423 * malloc/Makefile: Likewise.
13424 * posix/Makefile: Likewise.
13425 * stdio-common/Makefile: Likewise.
13426 * stdlib/Makefile: Likewise.
13427 * sysdeps/x86_64/Makefile: Likewise.
13428
13429 * io/ftwtest-sh: Add copyright header.
13430 * posix/globtest.sh: Likewise.
13431 * posix/tst-getconf.sh: Likewise.
13432 * posix/wordexp-tst.sh: Likewise.
13433 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
13434
134352012-09-24 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 [BZ #13679]
13438 * Makeconfig (+link): Defined as $(+link-static) if
13439 $(build-shared) isn't yes.
13440 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
13441 isn't yes.
13442 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
13443
13444 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
13445
13446 [BZ #14562]
13447 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
13448 new chunk size with MALLOC_ALIGN_MASK.
13449
134502012-09-24 Joseph Myers <joseph@codesourcery.com>
13451
13452 [BZ #5044]
13453 * stdio-common/printf_fphex.c: Include <stdbool.h> and
13454 <rounding-mode.h>.
13455 (__printf_fphex): Determine rounding using get_rounding_mode and
13456 round_away.
13457 * stdio-common/tst-printf-round.c (struct hex_test): New
13458 structure.
13459 (hex_tests): New variable.
13460 (test_hex_in_one_mode): New function.
13461 (do_test): Also run tests for hex float output.
13462
134632012-09-21 Joseph Myers <joseph@codesourcery.com>
13464
13465 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13466 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13467 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
13468 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
13469 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
13470 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
13471 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13472 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
13473
134742012-09-20 Joseph Myers <joseph@codesourcery.com>
13475
13476 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
13477 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
13478 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
13479 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
13480
134812012-09-19 Dmitry V. Levin <ldv@altlinux.org>
13482
13483 [BZ #14579]
13484 * elf/rtld.c (dl_main): Limit the check for self loading to normal
13485 mode only.
13486 * elf/tst-rtld-load-self.sh: New test.
13487 * elf/Makefile: Run it.
13488
134892012-09-18 Joseph Myers <joseph@codesourcery.com>
13490
13491 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
13492 (tst-writev-ENV): Remove.
13493 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
13494
134952012-09-17 Chris Metcalf <cmetcalf@tilera.com>
13496
13497 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
13498
134992012-09-17 Joseph Myers <joseph@codesourcery.com>
13500
13501 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
13502 unconditional.
13503 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
13504 Likewise.
13505 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
13506 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
13507 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
13508 Likewise.
13509
135102012-09-14 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 [BZ #14587]
13513 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
13514 * config.make.in (have-cpp-asm-debuginfo): Removed.
13515 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
13516 * configure: Regenerated.
13517
135182012-09-14 Joseph Myers <joseph@codesourcery.com>
13519
13520 [BZ #5044]
13521 * stdio-common/printf_fp.c: Include <stdbool.h> and
13522 <rounding-mode.h>.
13523 (___printf_fp): Determine rounding using get_rounding_mode and
13524 round_away.
13525 * stdio-common/tst-printf-round.c: New file.
13526 * stdio-common/Makefile (tests): Add tst-printf-round.
13527 (link-libm): New variable.
13528 ($(objpfx)tst-printf-round): Depend in $(link-libm).
13529
135302012-09-13 H.J. Lu <hongjiu.lu@intel.com>
13531
13532 [BZ #14576]
13533 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
13534 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
13535 Likewise.
13536 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
13537 Likewise.
13538
135392012-09-13 Joseph Myers <joseph@codesourcery.com>
13540
13541 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
13542 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13543 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13544 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
13545
135462012-09-12 Joseph Myers <joseph@codesourcery.com>
13547
13548 [BZ #14518]
13549 * include/rounding-mode.h: New file.
13550 * sysdeps/generic/get-rounding-mode.h: Likewise.
13551 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
13552 * stdlib/strtod_l.c: Include <rounding-mode.h>.
13553 (MAX_VALUE): New macro.
13554 (MIN_VALUE): Likewise.
13555 (overflow_value): New function.
13556 (underflow_value): Likewise.
13557 (round_and_return): Use overflow_value and underflow_value to
13558 determine return values in overflow and underflow cases. Use
13559 round_away to determine rounding depending on rounding mode.
13560 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
13561 determine return values in overflow and underflow cases.
13562 * stdlib/tst-strtod-round.c: Include <fenv.h>.
13563 (struct test_results): New structure.
13564 (struct test): Use struct test_results to store expected results
13565 for all rounding modes.
13566 (TEST): Include expected results for all rounding modes.
13567 (test_in_one_mode): New function.
13568 (do_test): Use test_in_one_mode to compute and check results.
13569 Check results for all rounding modes.
13570 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
13571 $(link-libm).
13572
135732012-12-09 Allan McRae <allan@archlinux.org>
13574
13575 * sysdeps/i386/fpu/libm-test-ulps: Update
13576
135772012-09-11 Joseph Myers <joseph@codesourcery.com>
13578
13579 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
13580 (_G_int32_t): Likewise.
13581 (_G_uint16_t): Likewise.
13582 (_G_uint32_t): Likewise.
13583 (_G_HAVE_BOOL): Likewise.
13584 (_G_HAVE_ATEXIT): Likewise.
13585 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13586 (_G_HAVE_IO_FILE_OPEN): Likewise.
13587 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
13588 (_G_int32_t): Likewise.
13589 (_G_uint16_t): Likewise.
13590 (_G_uint32_t): Likewise.
13591 (_G_HAVE_BOOL): Likewise.
13592 (_G_HAVE_ATEXIT): Likewise.
13593 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13594 (_G_HAVE_IO_FILE_OPEN): Likewise.
13595 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
13596 (_G_int32_t): Likewise.
13597 (_G_uint16_t): Likewise.
13598 (_G_uint32_t): Likewise.
13599 (_G_HAVE_BOOL): Likewise.
13600 (_G_HAVE_ATEXIT): Likewise.
13601 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
13602 (_G_HAVE_IO_FILE_OPEN): Likewise.
13603
136042012-09-11 H.J. Lu <hongjiu.lu@intel.com>
13605
13606 * csu/libc-tls.c: Update copyright years.
13607
136082012-09-10 Joseph Myers <joseph@codesourcery.com>
13609
13610 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
13611 [!_G_USING_THUNKS]: Remove conditional code.
13612 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
13613 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
13614
13615 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
13616 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
13617 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13618 (_G_VTABLE_LABEL_PREFIX): Likewise.
13619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13620 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13621 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13622 (_G_VTABLE_LABEL_PREFIX): Likewise.
13623 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13624 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
13625 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
13626 (_G_VTABLE_LABEL_PREFIX): Likewise.
13627 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
13628
136292012-09-10 H.J. Lu <hongjiu.lu@intel.com>
13630
13631 * libio/Makefile: Include ../Makeconfig before tests.
13632 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
13633 only if $(build-shared) is yes.
13634
13635 * iconv/gconv_db.c: Update copyright years.
13636
136372012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13638
13639 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
13640 unwind info if defined PIC. Fix special cases description.
13641 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
13642
13643 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
13644 DP_HI_MASK entry.
13645 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
13646
136472012-09-07 H.J. Lu <hongjiu.lu@intel.com>
13648
13649 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
13650
13651 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
13652 is NULL.
13653
13654 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
13655 (LDLIBS-tst-chk4): This.
13656 (LDFLAGS-tst-chk5): Renamed to ...
13657 (LDLIBS-tst-chk5): This.
13658 (LDFLAGS-tst-chk6): Renamed to ...
13659 (LDLIBS-tst-chk6): This.
13660 (LDFLAGS-tst-lfschk4): Renamed to ...
13661 (LDLIBS-tst-lfschk4): This.
13662 (LDFLAGS-tst-lfschk5): Renamed to ...
13663 (LDLIBS-tst-lfschk5): This.
13664 (LDFLAGS-tst-lfschk6): Renamed to ...
13665 (LDLIBS-tst-lfschk6): This.
13666
13667 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13668 on $(common-objpfx)soversions.mk.
13669
136702012-09-07 Joseph Myers <joseph@codesourcery.com>
13671
13672 [BZ #10014]
13673 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13674 example host name.
13675
136762012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13677
13678 * malloc/arena.c (arena_get_retry): New function that gets
13679 another arena for the caller to try its request on.
13680 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13681 current arena cannot fulfill the request.
13682 (__libc_memalign): Likewise.
13683 (__libc_memalign): Likewise.
13684 (__libc_pvalloc): Likewise.
13685 (__libc_calloc): Likewise.
13686
136872012-09-05 John Tobey <john.tobey@gmail.com>
13688
13689 [BZ #13542]
13690 * manual/arith.texi (Operations on Complex): Fix description
13691 of carg branch cut.
13692
136932012-09-06 Joseph Myers <joseph@codesourcery.com>
13694
13695 [BZ #10014]
13696 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13697 host name.
13698
13699 [BZ #10038]
13700 * manual/memory.texi (Memory): Make order of menu items match
13701 order of sections.
13702
137032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13704
13705 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13706 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13707 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13708
137092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13710
13711 * csu/libc-tls.c (static_dtv): Renamed to ...
13712 (_dl_static_dtv): This. Make it global.
13713 (_dl_initial_dtv): Removed.
13714 (__libc_setup_tls): Updated.
13715 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13716 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13717 DL_INITIAL_DTV.
13718
137192012-09-06 Petr Machata <pmachata@redhat.com>
13720
13721 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13722 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13723 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13724 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13725
137262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13727
13728 [BZ #14545]
13729 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13730 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13731 freeing dtv[-1].
13732
137332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13734
13735 [BZ #14544]
13736 * Makeconfig (link-static-before-libc): Replace $(+prector)
13737 with $(+prectorT).
13738 (link-static-after-libc): Replace $(+postctor) with
13739 $(+postctorT).
13740 (link-bounded): Replace $(+prector)/$(+postctor) with
13741 $(+prectorT)/$(+postctorT).
13742 (+prectorT): New macro.
13743 (+postctorT): Likewise.
13744
137452012-09-06 Joseph Myers <joseph@codesourcery.com>
13746
13747 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13748 (round_str): Handle values above the maximum for IBM long double
13749 as inexact.
13750 * stdlib/tst-strtod-round.c (tests): Regenerated.
13751
137522012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13753
13754 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13755 assembler flag.
13756 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13757 zarch_nohighgprs around the zarch optimized routines.
13758 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13759 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13760 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13761 for zarch.
13762
137632012-09-05 David S. Miller <davem@davemloft.net>
13764
13765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13766
13767 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13768 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13769 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13770 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13771 entries.
13772
137732012-09-05 Alexandre Oliva <aoliva@redhat.com>
13774
13775 * malloc/arena.c: Fold copyright years.
13776 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13777
137782012-09-05 Alexandre Oliva <aoliva@redhat.com>
13779
13780 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13781
137822012-09-05 Alexandre Oliva <aoliva@redhat.com>
13783
13784 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13785
137862012-09-05 Alexandre Oliva <aoliva@redhat.com>
13787
13788 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13789 change internal state upon failure.
13790
137912012-09-05 Alexandre Oliva <aoliva@redhat.com>
13792
13793 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13794 * malloc/memusage.c (mmap): Likewise.
13795 (mmap64, mremap): Likewise. Adjust name in comment.
13796
137972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13798
13799 * libio/fileops.c: Fix typos in comments.
13800 * libio/oldfileops.c: Likewise.
13801 * libio/wfileops.c: Likewise.
13802
138032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13804
13805 [BZ #1349]
13806 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13807 (tst-malloc-usable-ENV): Set environment for test case.
13808 * malloc/hooks.c (malloc_check_get_size): New function to get
13809 requested size.
13810 * malloc/malloc.c (musable): Use malloc_check_get_size.
13811 * malloc/tst-malloc-usable.c: New test case.
13812
138132012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13814
13815 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13816
138172012-09-05 Allan McRae <allan@archlinux.org>
13818
13819 [BZ #13966]
13820 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13821 determine header location.
13822 * configure: Regenerated.
13823
138242012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13825
13826 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13827 float format.
13828 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
13829 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13830 format.
13831 (test): Regenerate.
13832
138332012-09-04 David S. Miller <davem@davemloft.net>
13834
13835 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13836 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13837 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13838
138392012-09-04 Florian Weimer <fweimer@redhat.com>
13840
13841 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13842 failures.
13843
13844 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13845
138462012-09-04 Joseph Myers <joseph@codesourcery.com>
13847
13848 [BZ #9914]
13849 * libio/iogetdelim.c: Include <limits.h>.
13850 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13851 + len + 1 would overflow.
13852
138532012-09-03 Andreas Jaeger <aj@suse.de>
13854
13855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13856 * sysdeps/i386/fpu/libm-test-ulps: Update.
13857
138582012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13859
13860 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13861 Add s_sinf-sse2, s_conf-sse2.
13862
13863 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13864 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13865 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13866 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13867
13868 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13869 for using routine as __sinf_ia32.
13870 Use macro for function declaration and weak_alias.
13871 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13872 for using routine as __cosf_ia32.
13873 Use macro for function declaration and weak_alias.
13874
13875 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13876 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13877
13878 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13879 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13881
13882 * math/libm-test.inc (cos_test): Add more test cases.
13883 (sin_test): Likewise.
13884 (sincos_test): Likewise.
13885
138862012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13887
13888 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13889 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13890 hidden.
13891 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13892
138932012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13894
13895 [BZ #14538]
13896 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13897 first element of the GOT.
13898 (elf_machine_load_address): Return the difference between
13899 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13900
139012012-09-01 Allan McRae <allan@archlinux.org>
13902
13903 [BZ #13412]
13904 * configure.in (AWK): Require gawk version 3.0 or later.
13905 * configure: Regenerated.
13906
139072012-09-01 Joseph Myers <joseph@codesourcery.com>
13908
13909 * sysdeps/unix/sysv/linux/kernel-features.h
13910 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13911 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13912 [__NR_clock_getres]: Make code unconditional.
13913 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13914 (clock_getcpuclockid): Remove code left unreachable by removal of
13915 conditionals.
13916 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13917 code unconditional.
13918 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13919 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13920 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13921 Make code unconditional.
13922 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13923 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13924 * sysdeps/unix/sysv/linux/clock_settime.c
13925 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13926 conditional code.
13927 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13928 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13929
139302012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13931
13932 [BZ #14476]
13933 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13934 scripts/test-installation.pl.
13935
13936 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13937 and $ld_so_version if it is set.
13938
139392012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13940
13941 [BZ #14516]
13942 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13943 failure if reading from procfs failed.
13944 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13945
139462012-08-27 Joseph Myers <joseph@codesourcery.com>
13947
13948 * sysdeps/unix/sysv/linux/kernel-features.h
13949 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13950 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13951 Remove conditional code.
13952 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13953 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13954 Remove conditional code.
13955 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13956 * sysdeps/unix/sysv/linux/i386/fxstat.c
13957 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13958 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13959 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13960 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13961 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13962 * sysdeps/unix/sysv/linux/i386/lxstat.c
13963 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13964 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13965 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13966 Remove conditional code.
13967 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13968 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13969 Remove conditional code.
13970 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13971 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13972 <kernel-features.h>.
13973 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13974 Remove.
13975 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13976 Remove conditional code.
13977 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13978 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13979 Remove conditional.
13980
139812012-08-27 Mike Frysinger <vapier@gentoo.org>
13982
13983 [BZ #5400]
13984 * NEWS: Add fixed bug number.
13985
139862012-08-27 Joseph Myers <joseph@codesourcery.com>
13987
13988 [BZ #14519]
13989 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13990 underflowing exponent in case of negative sign.
13991 * stdlib/tst-strtod-round-data: Add more tests.
13992 * stdlib/tst-strtod-round.c (tests): Regenerated.
13993
13994 [BZ #3479]
13995 * stdlib/strtod_l.c (NDIG): Remove.
13996 (HEXNDIG): Likewise.
13997 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13998 smallest representable value.
13999 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14000 lie within an exact representation of 1/2 ulp of the result.
14001 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14002 unconditionally.
14003 (TENS_P9_IDX): Define unconditionally.
14004 (TENS_P9_SIZE): Likewise.
14005 (TENS_P10_IDX): Likewise.
14006 (TENS_P10_SIZE): Likewise.
14007 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14008 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14009 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14010 entries for 10^2^13 and 10^2^14.
14011 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14012 (TENS_P13_IDX): Define.
14013 (TENS_P13_SIZE): Likewise.
14014 (TENS_P14_IDX): Likewise.
14015 (TENS_P14_SIZE): Likewise.
14016 (_fpioconst_pow10): Change array size to
14017 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14018 unconditional.
14019 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14020 1024]: Add entries for 10^2^13 and 10^2^14.
14021 [LAST_POW10 > _LAST_POW10]: Remove #error.
14022 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14023 (_fpioconst_pow10): Change array size to
14024 FPIOCONST_POW10_ARRAY_SIZE.
14025 * stdlib/gen-fpioconst.c: New file.
14026 * stdlib/gen-tst-strtod-round.c: Likewise.
14027 * stdlib/tst-strtod-round-data: Likewise.
14028 * stdlib/tst-strtod-round.c: Likewise.
14029 * stdlib/Makefile (tests): Add tst-strtod-round.
14030
14031 [BZ #14459]
14032 * stdlib/strtod_l.c: Include <stdint.h>.
14033 (NDEBUG): Do not define.
14034 (round_and_return): Change EXPONENT parameter to type intmax_t.
14035 Rearrange calculations to avoid internal overflow possibilities.
14036 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14037 Rearrange calculations to avoid internal overflow possibilities.
14038 Assert that number fits inside MPNSIZE limbs.
14039 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14040 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14041 calculations and add assertions to avoid internal overflow
14042 possibilities. Add casts to avoid signed/unsigned operations.
14043 * stdlib/tst-strtod-overflow.c: New file.
14044 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14045
140462012-08-25 Marek Polacek <polacek@redhat.com>
14047
14048 * time/time.h: Fix some typos in comments.
14049
140502012-08-23 Roland McGrath <roland@hack.frob.com>
14051
14052 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14053 * posix/tst-rfc3484-2.c: Likewise.
14054 * posix/tst-rfc3484-3.c: Likewise.
14055
140562012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14057
14058 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14059 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14060
140612012-08-23 Joseph Myers <joseph@codesourcery.com>
14062
14063 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14064 #include of fxstatat64.c.
14065
140662012-08-22 Roland McGrath <roland@hack.frob.com>
14067
14068 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14069 * shadow/getspent_r.c: Likewise.
14070 * shadow/getspnam.c: Likewise.
14071 * shadow/getspnam_r.c: Likewise.
14072 * gshadow/getsgent.c: Likewise.
14073 * gshadow/getsgent_r.c: Likewise.
14074 * gshadow/getsgnam.c: Likewise.
14075 * gshadow/getsgnam_r.c: Likewise.
14076 * inet/getnetbyad.c: Likewise.
14077 * inet/getnetbyad_r.c: Likewise.
14078 * inet/getnetbynm.c: Likewise.
14079 * inet/getnetbynm_r.c: Likewise.
14080 * inet/getnetent.c: Likewise.
14081 * inet/getnetent_r.c: Likewise.
14082 * inet/getproto.c: Likewise.
14083 * inet/getproto_r.c: Likewise.
14084 * inet/getprtent.c: Likewise.
14085 * inet/getprtent_r.c: Likewise.
14086 * inet/getprtname.c: Likewise.
14087 * inet/getprtname_r.c: Likewise.
14088 * inet/getrpcbyname.c: Likewise.
14089 * inet/getrpcbyname_r.c: Likewise.
14090 * inet/getrpcbynumber.c: Likewise.
14091 * inet/getrpcbynumber_r.c: Likewise.
14092 * inet/getrpcent.c: Likewise.
14093 * inet/getrpcent_r.c: Likewise.
14094 * inet/getaliasent.c: Likewise.
14095 * inet/getaliasent_r.c: Likewise.
14096 * inet/getaliasname.c: Likewise.
14097 * inet/getaliasname_r.c: Likewise.
14098 * nscd/getgrgid_r.c: Likewise.
14099 * nscd/getgrnam_r.c: Likewise.
14100 * nscd/gethstbyad_r.c: Likewise.
14101 * nscd/gethstbynm3_r.c: Likewise.
14102 * nscd/getpwnam_r.c: Likewise.
14103 * nscd/getpwuid_r.c: Likewise.
14104 * nscd/getsrvbynm_r.c: Likewise.
14105 * nscd/getsrvbypt_r.c: Likewise.
14106 * nscd/gai.c: Likewise.
14107
14108 * configure.in (build_nscd): New substituted variable, set
14109 by --disable-build-nscd and defaults to $use_nscd.
14110 * configure: Regenerated.
14111 * config.make.in (build-nscd): New substituted variable.
14112 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14113 Change conditional to require [$(build-nscd) = yes] as well.
14114 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14115
14116 [BZ# 13696]
14117 * configure.in (use_nscd): New substituted variable, set by
14118 --disable-nscd. If enabled, define USE_NSCD.
14119 * configure: Regenerated.
14120 * config.h.in: Add USE_NSCD.
14121 * config.make.in (use-nscd): New substituted variable.
14122 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14123 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14124 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14125 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14126 (CFLAGS-getgrnam_r.c): Likewise.
14127 (CFLAGS-initgroups.c): Likewise.
14128 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14129 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14130 Variables removed.
14131 * inet/getnetgrent_r.c
14132 (nscd_setnetgrent): New function, broken out of ...
14133 (setnetgrent): ... here. Call it.
14134 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14135 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14136 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14137 * nscd/Makefile (routines, aux): Move definitions after include of
14138 Makeconfig. Conditionalize on [$(use-nscd) != no].
14139 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14140 Conditionalize on [USE_NSCD].
14141 (is_nscd, nscd_init_cb): Likewise.
14142 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14143 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14144 * nss/nss_db/db-init.c: Likewise.
14145 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14146 [USE_NSCD].
14147 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14148 (make_request): Use it.
14149 (cache_valid_p): New function.
14150 (__check_pf): Use it.
14151 * NEWS: Add item for --disable-nscd.
14152
141532012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14154
14155 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14156 to support sed >= 4.2.1-20-ga9bf076.
14157 * configure: Regenerated.
14158
141592012-08-22 Roland McGrath <roland@hack.frob.com>
14160
14161 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14162 Conditionalize whole body on [IREL].
14163
141642012-08-22 Jeff Law <law@redhat.com>
14165
14166 [BZ #14505]
14167 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14168 if the family is PF_UNSPEC.
14169
141702012-08-22 Mike Frysinger <vapier@gentoo.org>
14171
14172 * Makerules (lib-version): Rename from V.
14173 (install-lib-nosubdir): Change V to lib-version.
14174
141752012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14176
14177 [BZ #14252]
14178 * powerpc32/power6/wcschr.c: New file.
14179 * powerpc32/power6/wcscpy.c: New file.
14180 * powerpc32/power6/wcsrchr.c: New file.
14181 * powerpc64/power6/wcschr.c: New file.
14182 * powerpc64/power6/wcscpy.c: New file.
14183 * powerpc64/power6/wcsrchr.c: New file.
14184
141852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14186
14187 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14188 (two_way_short_needle): Use it.
14189 * string/strstr.c (AVAILABLE1_USES_J): Define.
14190 * string/strcasestr.c: Likewise.
14191
14192 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14193 array references.
14194 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14195
14196 [BZ #11607]
14197 * NEWS: Add an entry.
14198 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14199 define their defaults.
14200 (two_way_short_needle): Detect end-of-string on-the-fly.
14201 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14202 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14203 * string/bug-strcasestr1.c: New test.
14204 * string/Makefile: Run it.
14205
142062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14207
14208 [BZ #11607]
14209 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14210 the first character.
14211
142122012-08-21 Roland McGrath <roland@hack.frob.com>
14213
14214 * csu/elf-init.c (__libc_csu_irel): Function removed.
14215 * csu/libc-start.c (apply_irel): New function.
14216 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14217
142182012-08-21 Joseph Myers <joseph@codesourcery.com>
14219
14220 * sysdeps/unix/sysv/linux/kernel-features.h
14221 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14222 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14223 <kernel-features.h>.
14224 [__NR_fadvise64_64]: Make code unconditional.
14225 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14226 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14227 !__NR_fadvise64_64)]: Likewise.
14228 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14229 !__NR_fadvise64_64))]: Likewise.
14230 [__NR_fadvise64]: Make code unconditional.
14231 [!__NR_fadvise64]: Remove conditional code.
14232 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14233 <kernel-features.h>.
14234 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14235 unconditional.
14236 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14237 conditional code.
14238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14239 not include <kernel-features.h>.
14240 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14241 unconditional.
14242 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14243 conditional code.
14244 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14245 include <kernel-features.h>.
14246 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14247 unconditional.
14248 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14249 conditional code.
14250
142512012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14252
14253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14254 slight instruction rearrangements per scrollpipe analysis.
14255 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14256
142572012-08-20 Roland McGrath <roland@hack.frob.com>
14258
14259 * manual/syslog.texi (syslog; vsyslog, closelog):
14260 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14261 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14262
14263 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14264 DSOCAPS to match condition on defining it.
14265
142662012-08-20 Joseph Myers <joseph@codesourcery.com>
14267
14268 * sysdeps/unix/sysv/linux/kernel-features.h
14269 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14271 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14272 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14274 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14275 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14277 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14278 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14279
14280 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14281 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14282
14283 * sysdeps/unix/sysv/linux/kernel-features.h
14284 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14285 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14286 unconditional.
14287 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14288 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14289 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14290 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14291 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14292 Make code unconditional.
14293 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14294 (__mmap64) [!__NR_mmap2]: Likewise.
14295 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14296 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14297 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14298 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14299 [__NR_mmap2]: Make code unconditional.
14300 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14301 (__mmap64) [!__NR_mmap2]: Likewise.
14302
143032012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14304
14305 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14306
143072012-08-18 Andreas Jaeger <aj@suse.de>
14308
14309 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14310
143112012-08-18 Mike Frysinger <vapier@gentoo.org>
14312
14313 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14314 * include/unistd.h (__have_sock_cloexec): Likewise.
14315 (__have_pipe2): Likewise.
14316 (__have_dup3): Likewise.
14317
143182012-08-18 Mike Frysinger <vapier@gentoo.org>
14319
14320 [BZ #9685]
14321 * include/unistd.h (__have_pipe2): Change define into an extern int.
14322 (__have_dup3): Likewise.
14323 * socket/have_sock_cloexec.c: Include fcntl.h.
14324 (__have_pipe2): New variable.
14325 (__have_dup3): Likewise.
14326
143272012-08-17 Mike Frysinger <vapier@gentoo.org>
14328
14329 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
14330
143312012-08-17 Marek Polacek <polacek@redhat.com>
14332
14333 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
14334 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
14335
143362012-08-17 Roland McGrath <roland@hack.frob.com>
14337
14338 * configure.in: Add AC_SUBST for sysheaders.
14339 * configure: Regenerated.
14340 * config.make.in (sysheaders): New substituted variable.
14341
14342 * sysdeps/unix/mkfifo.c: Moved ...
14343 * sysdeps/posix/mkfifo.c: ... here.
14344 * sysdeps/unix/mkfifoat.c: Moved ...
14345 * sysdeps/posix/mkfifoat.c: ... here.
14346
14347 * sysdeps/unix/utime.c: Moved ...
14348 * sysdeps/posix/utime.c: ... here.
14349
14350 * sysdeps/unix/time.c: Moved ...
14351 * sysdeps/posix/time.c: ... here.
14352 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
14353 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
14354
14355 * sysdeps/unix/nice.c: Moved ...
14356 * sysdeps/posix/nice.c: ... here.
14357
14358 * sysdeps/unix/alarm.c: Moved ...
14359 * sysdeps/posix/alarm.c: ... here.
14360
14361 * intl/Makefile ($(codeset_mo)): Depend on the input file.
14362
143632012-08-17 Jeff Law <law@redhat.com>
14364
14365 * intl/Makefile (codeset_mo): New variable.
14366 ($(codeset_mo)): New target.
14367 (tst-codeset.out): Depend on that. Remove explicit rule.
14368 (tst-gettext3.out, tst-gettext5.out): Likewise.
14369 (LOCPATH-ENV, tst-codeset-ENV): New variables.
14370 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
14371 * intl/tst-codeset.sh: Remove.
14372 * intl/tst-gettext3.sh: Likewise.
14373 * intl/tst-gettext5.sh: Likewise.
14374
143752012-08-17 Roland McGrath <roland@hack.frob.com>
14376
14377 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
14378 * sysdeps/unix/syscalls.list: ... here.
14379
14380 * sysdeps/posix/getaddrinfo.c
14381 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
14382 (gaiconf_init, gaiconf_reload): Use them.
14383 [!_STATBUF_ST_NSEC]
14384 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
14385 Define using time_t rather than struct timespec.
14386
14387 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
14388 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
14389 Macros removed.
14390 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
14391 [!NO_THREADS].
14392 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
14393 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
14394 Likewise.
14395
14396 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
14397 __libc_cleanup_push argument.
14398
14399 * bits/param.h: New file.
14400 * misc/sys/param.h: New file.
14401 * include/sys/param.h: New file.
14402 * misc/Makefile (headers): Add bits/param.h.
14403 * sysdeps/generic/sys/param.h: File removed.
14404 * sysdeps/unix/sysv/linux/bits/param.h: New file.
14405 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
14406 * sysdeps/mach/hurd/bits/param.h: New file.
14407 * sysdeps/mach/hurd/sys/param.h: File removed.
14408
14409 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
14410 last change.
14411
14412 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
14413 [_IO_MTSAFE_IO].
14414 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
14415 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
14416 New macros.
14417
14418 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
14419 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
14420 rather than -D_IO_MTSAFE_IO conditionally.
14421 * stdio-common/Makefile (CPPFLAGS): Likewise.
14422 * wcsmbs/Makefile (CPPFLAGS): Likewise.
14423 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
14424 Use $(libio-mtsafe).
14425 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
14426 of -D_IO_MTSAFE_IO.
14427 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
14428 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
14429 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
14430 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
14431 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
14432 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
14433 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
14434 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
14435 (CFLAGS-fread_u_chk.c): Likewise.
14436 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
14437 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
14438 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
14439 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
14440 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
14441 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
14442 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
14443 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
14444 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
14445
14446 * libio/Makefile: Test [$(libc-reentrant) = yes]
14447 instead of [$(filter %REENTRANT, $(defines)) nonempty].
14448
14449 * Makeconfig
14450 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
14451 * sysdeps/pthread/configure: File removed.
14452 * sysdeps/pthread/Makeconfig: New file.
14453 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
14454 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
14455
144562012-08-16 Gary Benson <gbenson@redhat.com>
14457
14458 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
14459 unmapping the first object in a namespace.
14460
144612012-08-16 Roland McGrath <roland@hack.frob.com>
14462
14463 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
14464 (__internal_setnetgrent): ... this. Add internal_function to
14465 definition. Add libc_hidden_def.
14466 (setnetgrent): Update caller.
14467 (internal_endnetgrent): Renamed to ...
14468 (__internal_endnetgrent): ... this. Add internal_function to
14469 definition. Add libc_hidden_def.
14470 (endnetgrent): Update caller.
14471 (internal_getnetgrent_r): Renamed to ...
14472 (__internal_getnetgrent_r): ... this. Add internal_function to
14473 definition. Add libc_hidden_def.
14474 (__getnetgrent_r): Update caller.
14475 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
14476
144772012-08-16 Joseph Myers <joseph@codesourcery.com>
14478
14479 * stdlib/longlong.h: Update from GCC.
14480
144812012-08-16 Roland McGrath <roland@hack.frob.com>
14482
14483 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
14484 on _QL, which is set by umul_ppmm but never used.
14485 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
14486 variables, which are set by GMP macros but never used.
14487 * stdio-common/_itowa.c (_itowa): Likewise.
14488 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
14489 * stdlib/mod_1.c (mpn_mod_1): Likewise.
14490
144912012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
14492
14493 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
14494 struct La_sh_regs is not constant.
14495 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
14496 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
14497 and struct La_sparc64_regs are not constant.
14498
144992012-08-16 Joseph Myers <joseph@codesourcery.com>
14500
14501 * sysdeps/unix/sysv/linux/kernel-features.h
14502 (__ASSUME_POSIX_TIMERS): Remove.
14503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14504 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14505 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
14506 Make code unconditional.
14507 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14508 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
14509 Make code unconditional.
14510 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14511 * sysdeps/unix/sysv/linux/clock_nanosleep.c
14512 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
14513 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14514 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
14515 Make code unconditional.
14516 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
14517 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
14518 (__libc_missing_posix_timers): Remove.
14519
145202012-08-15 Roland McGrath <roland@hack.frob.com>
14521
14522 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
14523 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
14524
14525 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
14526
14527 * elf/dl-sym.c: Include <stdlib.h>.
14528
14529 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
14530 constants, which avoids warnings in 32-bit builds.
14531
14532 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
14533 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
14534
14535 * misc/lseek.c: File moved to ...
14536 * io/lseek.c: ... here.
14537
14538 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
14539
14540 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
14541 shifting LEN more than 31 bits at once.
14542
145432012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14544
14545 [BZ #14195]
14546 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
14547 segmentation fault for a case of two empty input strings.
14548 * string/test-strncasecmp.c (check1): Renamed to...
14549 (bz12205): ...this.
14550 (bz14195): Add new testcase for two empty input strings and N > 0.
14551 (test_main): Call new testcase, adapt for renamed function.
14552
145532012-08-15 Andreas Jaeger <aj@suse.de>
14554
14555 [BZ #14090]
14556 * crypt/md5test2.c: New test, based on test supplied by Serge
14557 Belyshev <belyshev@depni.sinp.msu.ru>.
14558 * crypt/Makefile (xtests): Add md5test-giant..
14559 * crypt/Makefile ($(objpfx)md5test-giant): Add.
14560
145612012-08-15 Paul Eggert <eggert@cs.ucla.edu>
14562
14563 [BZ #14090]
14564 * crypt/md5.c (md5_process_block): Don't assume the buffer
14565 length is less than 2**32.
14566 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
14567 length is less than 2**64.
14568
145692012-08-15 Roland McGrath <roland@hack.frob.com>
14570
14571 * string/str-two-way.h: Include <sys/param.h>.
14572 (MAX): Macro removed.
14573
14574 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
14575 Move #define and #undef of memmove to just before and after
14576 including <string.h>.
14577
14578 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
14579 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
14580 and after including <string.h>. Move declarations of
14581 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
14582 to before #include "string/memmove.c".
14583
14584 * include/dirent.h: Declare __getdirentries.
14585
14586 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
14587 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
14588
145892012-08-14 Mike Frysinger <vapier@gentoo.org>
14590
14591 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
14592 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
14593 * sysdeps/i386/configure: Regenerated.
14594 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
14595 STABS_CURRENT_FILE, and STABS_FUN.
14596 (END): Remove call to STABS_FUN_END.
14597 (STABS_CURRENT_FILE1): Delete.
14598 (STABS_CURRENT_FILE): Likewise.
14599 (STABS_FUN): Likewise.
14600 (STABS_FUN_END): Likewise.
14601 (STABS_FUN2): Likewise.
14602 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
14603 * sysdeps/x86_64/configure: Regenerated.
14604
146052012-08-14 Roland McGrath <roland@hack.frob.com>
14606
14607 * elf/dl-open.c: Include <atomic.h>.
14608 * elf/dl-lookup.c: Likewise.
14609
146102012-08-14 Joseph Myers <joseph@codesourcery.com>
14611
14612 * sysdeps/unix/sysv/linux/kernel-features.h
14613 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
14614 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
14615 unconditionally.
14616 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
14617 unconditionally.
14618 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
14619 condition on __ASSUME_CLONE_THREAD_FLAGS.
14620
146212012-08-14 Andreas Jaeger <aj@suse.de>
14622
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624
146252012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
14626
14627 * include/atomic.h (atomic_exchange_and_add): Split into ...
14628 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
14629 New atomic macros.
14630
146312012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
14632
14633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14634
146352012-08-13 Jeff Law <law@redhat.com>
14636
14637 * manual/stdio.texi (snprintf): Clarify handling of the trailing
14638 null byte in the output string.
14639
146402012-08-10 Joseph Myers <joseph@codesourcery.com>
14641
14642 * sysdeps/unix/sysv/linux/kernel-features.h
14643 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
14644 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
14645 (__ASSUME_ARG_MAX_STACK_BASED): Define.
14646 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14647 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
14648 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
14649 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
14650
146512012-08-09 Jeff Law <law@redhat.com>
14652
14653 [BZ #13939]
14654 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
14655 When avoid_arena is set, don't retry in the that arena. Pick the
14656 next one, whatever it might be.
14657 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
14658 (arena_lock): Pass in new parameter to arena_get2.
14659 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
14660 arena_get2.
14661 (__libc_malloc): Unify retrying after main arena failure with
14662 __libc_memalign version.
14663 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14664
146652012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14666
14667 [BZ #14166]
14668 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14669 to __redirect_strstr.
14670 (__strstr_sse42): Use typeof __redirect_strstr.
14671 (__strstr_ia32): Likewise.
14672 (__libc_strstr): New prototype.
14673 (strstr): Renamed to ...
14674 (__libc_strstr): This.
14675 (strstr): New strong alias of __libc_strstr.
14676 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14677 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14678 __redirect_time.
14679 Include <time.h>.
14680 (__libc_time): New prototype.
14681 (time_ifunc): Replace time with __libc_time.
14682 (time): New strong alias and hidden definition of __libc_time.
14683 (__GI_time): Remove strong alias.
14684 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14685 Include <stddef.h>.
14686 (memmove): Redefined to __redirect_memmove.
14687 (__memmove_sse2): Use typeof __redirect_memmove.
14688 (__memmove_ssse3): Likewise.
14689 (__memmove_ssse3_back): Likewise.
14690 (__libc_memmove): New prototype.
14691 (memmove): Renamed to ...
14692 (__libc_memmove): This.
14693 (memmove): New strong alias of __libc_memmove.
14694
146952012-08-08 Mark Salter <msalter@redhat.com>
14696
14697 * elf/elf.h
14698 (R_MN10300_TLS_GD): Define.
14699 (R_MN10300_TLS_LD): Likewise.
14700 (R_MN10300_TLS_LDO): Likewise.
14701 (R_MN10300_TLS_GOTIE): Likewise.
14702 (R_MN10300_TLS_IE): Likewise.
14703 (R_MN10300_TLS_LE): Likewise.
14704 (R_MN10300_TLS_DTPMOD): Likewise.
14705 (R_MN10300_TLS_DTPOFF): Likewise.
14706 (R_MN10300_TLS_TPOFF): Likewise.
14707 (R_MN10300_SYM_DIFF): Likewise.
14708 (R_MN10300_ALIGN): Likewise.
14709 (R_MN10300_NUM): Update.
14710
147112012-08-08 Joseph Myers <joseph@codesourcery.com>
14712
14713 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14714 Remove.
14715
147162012-08-08 Roland McGrath <roland@hack.frob.com>
14717
14718 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14719
14720 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14721 sysdeps/unix -> sysdeps/posix move.
14722 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14723
147242012-08-07 Allan McRae <allan@archlinux.org>
14725
14726 [BZ #14303]
14727 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14728 (SUNOS_CPP): Likewise.
14729 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14730 not found.
14731 (open_input): Call CPP using execvp.
14732
147332012-08-07 Joseph Myers <joseph@codesourcery.com>
14734
14735 * sysdeps/unix/sysv/linux/kernel-features.h
14736 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14737 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14738 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14739 (__ASSUME_WAITID_SYSCALL): Likewise.
14740 * sysdeps/unix/sysv/linux/dl-execstack.c
14741 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14742 code unconditional.
14743 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14744 conditional code.
14745 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14746 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14747 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14748 code.
14749 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14750 unconditional.
14751 [__ASSUME_WAITID_SYSCALL]: Likewise.
14752 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14753
147542012-08-07 Roland McGrath <roland@hack.frob.com>
14755
14756 * sysdeps/unix/closedir.c: Renamed to ...
14757 * sysdeps/posix/closedir.c: ... here.
14758 * sysdeps/unix/dirfd.c: Renamed to ...
14759 * sysdeps/posix/dirfd.c: ... here.
14760 * sysdeps/unix/dirstream.h: Renamed to ...
14761 * sysdeps/posix/dirstream.h: ... here.
14762 * sysdeps/unix/fdopendir.c: Renamed to ...
14763 * sysdeps/posix/fdopendir.c: ... here.
14764 * sysdeps/unix/opendir.c: Renamed to ...
14765 * sysdeps/posix/opendir.c: ... here.
14766 * sysdeps/unix/readdir.c: Renamed to ...
14767 * sysdeps/posix/readdir.c: ... here.
14768 * sysdeps/unix/readdir_r.c: Renamed to ...
14769 * sysdeps/posix/readdir_r.c: ... here.
14770 * sysdeps/unix/rewinddir.c: Renamed to ...
14771 * sysdeps/posix/rewinddir.c: ... here.
14772 * sysdeps/unix/seekdir.c: Renamed to ...
14773 * sysdeps/posix/seekdir.c: ... here.
14774 * sysdeps/unix/telldir.c: Renamed to ...
14775 * sysdeps/posix/telldir.c: ... here.
14776 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14777 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14778 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14779 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14780
14781 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14782 * bits/fcntl.h: ... here.
14783
14784 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14785 not 0.
14786 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14787 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14788 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14789 (struct flock): Move l_start, l_len to the beginning.
14790 Use __pid_t for l_pid.
14791 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14792 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14793 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14794 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14795 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14796 [__USE_LARGEFILE64] (struct flock64): New type.
14797 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14798
14799 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14800 * bits/dirent.h: ... here.
14801
14802 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14803 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14804
148052012-08-07 Joseph Myers <joseph@codesourcery.com>
14806
14807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14808 Change from 2.6.0 to 2.6.16.
14809 * sysdeps/unix/sysv/linux/configure: Regenerated.
14810 * sysdeps/unix/sysv/linux/kernel-features.h
14811 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14812 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14813 version.
14814 (__ASSUME_UTIMES): Likewise.
14815 (__ASSUME_CLONE_STOPPED): Remove.
14816 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14817 architectures, not kernel version.
14818 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14819 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14820 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14821 (__ASSUME_WAITID_SYSCALL): Likewise.
14822 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14823 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14824 * README: State 2.6.16 as minimum Linux kernel version. Do not
14825 refer to older versions.
14826
148272012-08-06 Roland McGrath <roland@hack.frob.com>
14828
14829 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14830 Define alphasort64 as an alias.
14831 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14832 Define versionsort64 as an alias.
14833 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14834 Define scandir64 as an alias.
14835 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14836 Define scandirat64 as an alias.
14837 * dirent/alphasort64.c (alphasort64):
14838 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14839 * dirent/versionsort64.c: Likewise.
14840 * dirent/scandir64.c: Likewise.
14841 * dirent/scandirat64.c: Likewise.
14842 * sysdeps/wordsize-64/alphasort.c: File removed.
14843 * sysdeps/wordsize-64/alphasort64.c: File removed.
14844 * sysdeps/wordsize-64/scandir.c: File removed.
14845 * sysdeps/wordsize-64/scandir64.c: File removed.
14846 * sysdeps/wordsize-64/scandirat.c: File removed.
14847 * sysdeps/wordsize-64/scandirat64.c: File removed.
14848 * sysdeps/wordsize-64/versionsort.c: File removed.
14849 * sysdeps/wordsize-64/versionsort64.c: File removed.
14850 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14851 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14852 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14853 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14854 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14855 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14856 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14857 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14858
14859 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14861 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14862 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14863 [defined __arch64__ || defined __sparcv9]
14864 (__INO_T_MATCHES_INO64_T): New macro.
14865 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14866 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14867 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14868 * sysdeps/unix/sysv/linux/bits/dirent.h
14869 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14870 (_DIRENT_MATCHES_DIRENT64): New macro.
14871
14872 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14873 Define lockf64 as an alias.
14874 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14875 Define fseeko64 as an alias.
14876 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14877 Define ftello64 as an alias.
14878 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14879 Define _IO_fgetpos64 and fgetpos64 as aliases.
14880 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14881 Define _IO_fsetpos64 and fsetpos64 as aliases.
14882 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14883 Conditionalize body on this.
14884 * libio/fseeko64.c: Likewise.
14885 * libio/ftello64.c: Likewise.
14886 * libio/iofgetpos64.c: Likewise.
14887 * libio/iofsetpos64.c: Likewise.
14888 * sysdeps/wordsize-64/lockf.c: File removed.
14889 * sysdeps/wordsize-64/lockf64.c: File removed.
14890 * sysdeps/wordsize-64/fseeko.c: File removed.
14891 * sysdeps/wordsize-64/fseeko64.c: File removed.
14892 * sysdeps/wordsize-64/ftello.c: File removed.
14893 * sysdeps/wordsize-64/ftello64.c: File removed.
14894 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14895 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14896 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14897 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14898 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14899 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14900 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14901 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14902 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14903 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14904 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14905 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14906 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14907 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14908
14909 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14910 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14911 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14912 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14913 [defined __arch64__ || defined __sparcv9]
14914 (__OFF_T_MATCHES_OFF64_T): New macro.
14915 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14916 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14918 (__OFF_T_MATCHES_OFF64_T): New macro.
14919
149202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14921
14922 * stdlib/secure-getenv.c (__secure_getenv): Replace
14923 GLIBC_2_16 with GLIBC_2_17.
14924
149252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14926
14927 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14928 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14929
149302012-08-03 David S. Miller <davem@davemloft.net>
14931
14932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14933
149342012-08-03 Joseph Myers <joseph@codesourcery.com>
14935
14936 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14937 Remove.
14938 (__ASSUME_CORRECT_SI_PID): Likewise.
14939 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14940 (__ASSUME_TMPFS_NAME): Likewise.
14941 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14942 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14943 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14944 (HAVE_AUX_SECURE): Make definition unconditional.
14945 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14946 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14947
149482012-08-03 Roland McGrath <roland@hack.frob.com>
14949
14950 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14951 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14952 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14953 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14954 __eloop_threshold instead of SYMLOOP_MAX.
14955
14956 * sysdeps/generic/eloop-threshold.h: New file.
14957 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14958 of MAXSYMLINKS.
14959 * elf/chroot_canon.c (chroot_canon): Likewise.
14960
149612012-08-03 Joseph Myers <joseph@codesourcery.com>
14962
14963 [BZ #13717]
14964 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14965 Change to 2.6.0 everywhere.
14966 * sysdeps/unix/sysv/linux/configure: Regenerated.
14967 * sysdeps/unix/sysv/linux/kernel-features.h
14968 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14969 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14970 kernel versions.
14971 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14972 (__ASSUME_FUTEX_REQUEUE): Remove.
14973 (__ASSUME_STATFS64): Define unconditionally.
14974 (__ASSUME_AT_SECURE): Likewise.
14975 (__ASSUME_CORRECT_SI_PID): Likewise.
14976 (__ASSUME_TGKILL): Define without depending on kernel version for
14977 i386.
14978 (__ASSUME_UTIMES): Likewise.
14979 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14980 kernel version.
14981 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14982 (__ASSUME_TMPFS_NAME): Likewise.
14983 * README: Update reference to Linux kernel versions.
14984
149852012-08-02 Marek Polacek <polacek@redhat.com>
14986
14987 [BZ# 14150]
14988 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14989 libc_cv_asm_type_prefix with %.
14990 * configure: Regenerated.
14991 * include/libc-symbols.h: Remove comment about
14992 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14993 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14994 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14995 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14996 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14997 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14998 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14999 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15000 * elf/tst-unique2mod1.c: Likewise.
15001 * elf/tst-unique1mod2.c: Likewise.
15002 * elf/tst-unique1mod1.c: Likewise.
15003 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15004 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15005 Replace ASM_TYPE_DIRECTIVE with .type.
15006 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15007 * sysdeps/i386/sysdep.h: Likewise.
15008 * sysdeps/x86_64/sysdep.h: Likewise.
15009 * sysdeps/sh/sysdep.h: Likewise.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15011 Do not define ASM_TYPE_DIRECTIVE.
15012 * sysdeps/powerpc/sysdep.h: Likewise.
15013 * sysdeps/powerpc/powerpc32/sysdep.h:
15014 Replace ASM_TYPE_DIRECTIVE with .type.
15015 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15016 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15017 * sysdeps/i386/fpu/e_powf.S: Likewise.
15018 * sysdeps/i386/fpu/e_expl.S: Likewise.
15019 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15020 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15021 * sysdeps/i386/fpu/e_pow.S: Likewise.
15022 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15023 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15024 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15025 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15026 * sysdeps/i386/fpu/e_log2.S: Likewise.
15027 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15028 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15029 * sysdeps/i386/fpu/e_powl.S: Likewise.
15030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15031 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15032 * sysdeps/i386/fpu/e_logl.S: Likewise.
15033 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15034 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15035 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15036 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15037 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15038 * sysdeps/i386/fpu/e_log.S: Likewise.
15039 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15040 * sysdeps/i386/fpu/e_logf.S: Likewise.
15041 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15042 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15043 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15044 * sysdeps/i386/fpu/e_log10.S: Likewise.
15045 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15046 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15047 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15048 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15049 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15051 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15052 * sysdeps/i386/i686/strtok.S: Likewise.
15053 * sysdeps/i386/i386-mcount.S: Likewise.
15054 * sysdeps/i386/strtok.S: Likewise.
15055 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15056 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15057 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15058 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15059 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15060 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15061 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15062 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15063 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15064 * sysdeps/x86_64/_mcount.S: Likewise.
15065 * sysdeps/x86_64/strtok.S: Likewise.
15066 * sysdeps/sh/_mcount.S: Likewise.
15067
150682012-08-01 Roland McGrath <roland@hack.frob.com>
15069
15070 * libio/iofopen.c: Include <fcntl.h>.
15071 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15072 (_IO_fopen64, fopen64): Define as aliases.
15073 * libio/iofopen64.c: Include <fcntl.h>.
15074 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15075 Conditionalize body on this.
15076 * sysdeps/wordsize-64/iofopen.c: File removed.
15077 * sysdeps/wordsize-64/iofopen64.c: File removed.
15078
150792012-08-01 Marek Polacek <polacek@redhat.com>
15080
15081 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15082 Use dlfcn directly instead of a variable.
15083 (binfmt-subdir): Do not define.
15084 (dlfcn): Likewise.
15085
150862012-08-01 Joseph Myers <joseph@codesourcery.com>
15087
15088 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15089 Remove all definitions.
15090 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15091 <kernel-features.h>.
15092 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15093 (miss_F_GETOWN_EX): Remove all definitions.
15094 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15095 macro definition.
15096 [!__ASSUME_FCNTL64]: Remove conditional code.
15097 [__ASSUME_FCNTL64]: Make code unconditional.
15098 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15099 <kernel-features.h>.
15100 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15101 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15102 (lockf64) [__NR_fcntl64]: Make code unconditional.
15103 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15104
15105 * sysdeps/unix/sysv/linux/kernel-features.h
15106 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15107 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15108 Make code unconditional.
15109 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15110 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15112 [__NR_vfork]: Make code unconditional.
15113 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15114 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15116 [__NR_vfork]: Make code unconditional.
15117 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15118 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15119
151202012-08-01 Roland McGrath <roland@hack.frob.com>
15121
15122 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15123 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15124
15125 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15126 Define mkstemp64 as an alias.
15127 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15128 Define mkstemps64 as an alias.
15129 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15130 Define mkostemp64 as an alias.
15131 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15132 Define mkostemps64 as an alias.
15133 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15134 Conditionalize body on this.
15135 * misc/mkostemp64.c: Likewise.
15136 * misc/mkostemps64.c: Likewise.
15137 * misc/mkstemps64.c: Likewise.
15138 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15139 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15140 * sysdeps/wordsize-64/mkostemp.c: File removed.
15141 * sysdeps/wordsize-64/mkstemp.c: File removed.
15142 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15143 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15144 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15145 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15146
15147 [BZ #14138]
15148 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15149 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15150 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15151 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15152
15153 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15154 compat_symbol macros from <shlib-compat.h> rather than the underlying
15155 default_symbol_version and symbol_version macros, so that DEFAULT
15156 lines in shlib-versions are respected.
15157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15158
151592012-08-01 Florian Weimer <fweimer@redhat.com>
15160
15161 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15162 Declare with warn_unused_result.
15163 (setgid, setregid, setegid, setresgid): Likewise.
15164 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15165 Likewise.
15166 * WUR-REPORT: Remove set*id functions.
15167
151682012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15169
15170 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15171
151722012-07-31 Roland McGrath <roland@hack.frob.com>
15173
15174 [BZ #10191]
15175 * include/sys/socket.h (__libc_accept, __libc_accept4):
15176 Add attribute_hidden.
15177 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15178
15179 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15180 use of PTR_MANGLE.
15181 * inet/getnetgrent_r.c (setup): Likewise.
15182
15183 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15184
151852012-07-31 David S. Miller <davem@davemloft.net>
15186
15187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15188
151892012-07-31 Joseph Myers <joseph@codesourcery.com>
15190
15191 [BZ #13629]
15192 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15193 value between 1.0 and 2.0 and smaller part has absolute value less
15194 than 1.0.
15195 * math/s_clog10.c (__clog10): Likewise.
15196 * math/s_clog10f.c (__clog10f): Likewise.
15197 * math/s_clog10l.c (__clog10l): Likewise.
15198 * math/s_clogf.c (__clogf): Likewise.
15199 * math/s_clogl.c (__clogl): Likewise.
15200 * math/libm-test.inc (clog_test): Add more tests.
15201 (clog10_test): Likewise.
15202 * sysdeps/i386/fpu/libm-test-ulps: Update.
15203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15204
152052012-07-31 Florian Weimer <fweimer@redhat.com>
15206
15207 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15208 Exit with zero in case no suitable GID is found, and write a
15209 message to standard error.
15210
152112012-07-30 Roland McGrath <roland@hack.frob.com>
15212
15213 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15214 rather than to 1.
15215 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15216 (MAXPATHLEN): Removed.
15217 (NOGROUP, NODEV): New macros.
15218 (setbit, clrbit, isset, isclr): New macros.
15219 (howmany, roundup, powerof2): New macros.
15220 (DEV_BSIZE): New macro.
15221
15222 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15223 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15224
15225 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15226 definition on [!__NO_LONG_DOUBLE_MATH].
15227
15228 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15229 PTR_MANGLE and PTR_DEMANGLE.
15230
15231 * socket/accept4.c (accept4): Rename to __libc_accept4.
15232 Define accept4 as a weak alias.
15233
15234 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15235 on [_DIRENT_HAVE_D_TYPE].
15236 * io/ftw.c (ftw_dir): Likewise.
15237
15238 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15239
15240 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15241
15242 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15243 Use the BSD numbers rather than the arbitrary ones we had.
15244 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15245 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15246 (SIGXCPU, SIGXFSZ): New macros.
15247 (_NSIG): Now 32.
15248
15249 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15250 initializer on [_LIBC_REENTRANT].
15251
15252 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15253 definitions inside [_POSIX_MAPPED_FILES].
15254
15255 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15256
15257 * dirent/opendir.c: Include <fcntl.h>.
15258
15259 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15260 (__libc_getspecific): Likewise.
15261 (__libc_key_create): Likewise.
15262
15263 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15264 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15265 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15266 (tmpfile64): Define as alias.
15267 * sysdeps/wordsize-64/tmpfile.c: File removed.
15268 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15269 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15270 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15271
15272 * stdio-common/vfscanf.c: Include <stdbool.h>.
15273 * nss/makedb.c: Likewise.
15274 * stdio-common/_i18n_number.h: Likewise.
15275 * argp/argp-help.c: Likewise.
15276 * posix/wordexp.c: Likewise.
15277 * sysdeps/posix/spawni.c: Likewise.
15278 * nss/nss_files/files-initgroups.c: Likewise.
15279 * stdio-common/reg-modifier.c: Include <stdlib.h>.
15280 * nss/nss_files/files-initgroups.c: Likewise.
15281 * nss/nss_db/db-netgrp.c: Likewise.
15282 * nss/nss_db/db-initgroups.c: Likewise.
15283 * io/fchmodat.c: Include <sys/stat.h>.
15284
15285 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15286 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15287
15288 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15289 [HAVE_MMAP].
15290
15291 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15292 Add multiple inclusion protection.
15293
152942012-07-27 David S. Miller <davem@davemloft.net>
15295
15296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15297
152982012-07-27 Gary Benson <gbenson@redhat.com>
15299
15300 [BZ #14298]
15301 * elf/rtld.c: Include <stap-probe.h>.
15302 (dl_main): Added static probes "init_start" and "init_complete".
15303 * elf/dl-load.c: Include <stap-probe.h>.
15304 (lose): Take new parameter "nsid".
15305 Added static probe "map_failed".
15306 (_dl_map_object_from_fd): Pass namespace id to lose.
15307 Added static probe "map_start".
15308 (open_verify): Pass namespace id to lose.
15309 * elf/dl-open.c: Include <stap-probe.h>.
15310 (dl_open_worker) Added static probes "map_complete", "reloc_start"
15311 and "reloc_complete".
15312 * elf/dl-close.c: Include <stap-probe.h>.
15313 (_dl_close_worker): Added static probes "unmap_start" and
15314 "unmap_complete".
15315 * elf/rtld-debugger-interface.txt: New file documenting the above.
15316
153172012-07-26 Roland McGrath <roland@hack.frob.com>
15318
15319 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15320 rather than a string variable.
15321 * sunrpc/rpc_main.c (h_output): Likewise.
15322 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15323
153242012-07-26 Pino Toscano <toscano.pino@tiscali.it>
15325
15326 * inet/check_native.c: New file.
15327
153282012-07-26 Joseph Myers <joseph@codesourcery.com>
15329
15330 [BZ #13629]
15331 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
15332 if larger part has absolute value 1.0.
15333 * math/s_clog10.c (__clog10): Likewise.
15334 * math/s_clog10f.c (__clog10f): Likewise.
15335 * math/s_clog10l.c (__clog10l): Likewise.
15336 * math/s_clogf.c (__clogf): Likewise.
15337 * math/s_clogl.c (__clogl): Likewise.
15338 * math/libm-test.inc (clog_test): Add more tests.
15339 (clog10_test): Likewise.
15340 * sysdeps/i386/fpu/libm-test-ulps: Update.
15341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15342
15343 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
15344 (pltexit): Likewise.
15345 (La_regs): Likewise.
15346 (La_retval): Likewise.
15347 (int_retval): Likewise.
15348 Update #error for removed macros to refer only to definitions in
15349 tst-audit.h.
15350 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
15351 macro.
15352 (pltexit): Likewise.
15353 (La_regs): Likewise.
15354 (La_retval): Likewise.
15355 (int_retval): Likewise.
15356 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
15357 macro.
15358 (pltexit): Likewise.
15359 (La_regs): Likewise.
15360 (La_retval): Likewise.
15361 (int_retval): Likewise.
15362 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
15363 macro.
15364 (pltexit): Likewise.
15365 (La_regs): Likewise.
15366 (La_retval): Likewise.
15367 (int_retval): Likewise.
15368 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
15369 macro.
15370 (pltexit): Likewise.
15371 (La_regs): Likewise.
15372 (La_retval): Likewise.
15373 (int_retval): Likewise.
15374 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
15375 macro.
15376 (pltexit): Likewise.
15377 (La_regs): Likewise.
15378 (La_retval): Likewise.
15379 (int_retval): Likewise.
15380 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
15381 macro.
15382 (pltexit): Likewise.
15383 (La_regs): Likewise.
15384 (La_retval): Likewise.
15385 (int_retval): Likewise.
15386 * sysdeps/generic/tst-audit.h: Update comment to refer only to
15387 macro definitions in tst-audit.h.
15388 * sysdeps/i386/tst-audit.h: New file.
15389 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
15390 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
15391 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
15392 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
15393 * sysdeps/sh/tst-audit.h: Likewise.
15394 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
15395 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
15396 * sysdeps/x86_64/tst-audit.h: Likewise.
15397
153982012-07-26 Andreas Jaeger <aj@suse.de>
15399
15400 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
15401 ptrace.
15402
15403 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
15404 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
15405 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
15406 PTRACE_O_MASK.
15407 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
15408 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
15409 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
15410
15411 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
15412 value.
15413
15414 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
15415 _sigsys.
15416 (si_call_addr, si_syscall, si_arch): Define new macro.
15417 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
15418 _sigsys.
15419 (si_call_addr, si_syscall, si_arch): Define new marcro.
15420 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
15421 _sigsys.
15422 (si_call_addr, si_syscall, si_arch): Define new macro.
15423 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
15424 _sigsys.
15425 (si_call_addr, si_syscall, si_arch): Define new macro.
15426
154272012-07-25 Joseph Myers <joseph@codesourcery.com>
15428
15429 [BZ #13717]
15430 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15431 Change to 2.4.21 where previously 2.4.1.
15432 * sysdeps/unix/sysv/linux/configure: Regenerated.
15433 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
15434 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
15435 Linux kernel version.
15436 (__ASSUME_STD_AUXV): Remove.
15437 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
15438 kernel version.
15439 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
15440 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
15441 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
15442 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
15443 (__ASSUME_NETLINK_SUPPORT): Likewise.
15444 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
15445 (__no_netlink_support): Remove conditional definition.
15446 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
15447 Remove.
15448 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15449 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
15450 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
15451 (if_nameindex_ioctl): Remove.
15452 (if_nameindex_netlink): Do not handle __no_netlink_support.
15453 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15454 code.
15455 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
15456 Remove conditional code.
15457 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
15458 code.
15459 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
15460 unconditional.
15461 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
15462 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
15463 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
15464 Remove.
15465 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
15466 [!__ASSUME_STD_AUXV]: Remove conditional code.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
15468 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
15469 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
15470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
15471 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
15472 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15473 code.
15474 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
15476 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
15477 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15478 conditional code.
15479 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
15480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
15481 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
15482 code.
15483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
15484 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
15485 conditional code.
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
15487 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15488 code unconditional.
15489 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15490 conditional code.
15491 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15492 unconditional.
15493 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15494 conditional code.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15496 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15497 unconditional.
15498 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15499 conditional code.
15500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15501 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15502 code unconditional.
15503 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15504 conditional code.
15505 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15506 unconditional.
15507 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15508 conditional code.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15510 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
15511 code unconditional.
15512 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15513 conditional code.
15514 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
15515 unconditional.
15516 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
15517 conditional code.
15518
155192012-07-25 Andreas Schwab <schwab@linux-m68k.org>
15520
15521 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
15522 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
15523 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15524 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
15525 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
15526 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
15527 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15528 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15529 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
15530 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15531 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
15532 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15533 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
15534 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
15535 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
15536 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
15537 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
15538 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
15539 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
15540 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
15541 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
15542 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
15543 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15544
155452012-07-25 Florian Weimer <fweimer@redhat.com>
15546
15547 * Versions.def: Add GLIBC_2.17.
15548 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
15549 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
15550 Introduce __libc_secure_getenv.
15551 * stdlib/Versions (2.17): Add secure_getenv
15552 (GLIBC_PRIVATE): Add __libc_secure_getenv.
15553 * stdlib/secure-getenv.c: Rename __secure_getenv to
15554 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
15555 symbol __secure_getenv for GLIBC_2.0.
15556 * stdlib/tst-secure-getenv.c: New.
15557 * stdlib/Makefile (tests): Add testcase.
15558 * manual/startup.texi (Environment Access): Document
15559 secure_getenv.
15560 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
15561 __libc_secure_getenv.
15562 * inet/ruserpass.c (ruserpass): Likewise.
15563 * malloc/mtrace.c (mtrace): Likewise.
15564 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
15565 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15566 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
15567 * sysdeps/posix/tempname.c: Likewise. Evaluate
15568 HAVE_SECURE_GETENV.
15569 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
15570 __secure_getenv to __libc_secure_getenv.
15571 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15573 Likewise.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15575 Likewise.
15576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15578 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15583
155842012-07-25 Joseph Myers <joseph@codesourcery.com>
15585
15586 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
15587 (struct La_i86_retval): Likewise.
15588 (struct La_x86_64_regs): Likewise.
15589 (struct La_x86_64_retval): Likewise.
15590 (struct La_x32_regs): Likewise.
15591 (struct La_x32_retval): Likewise.
15592 (struct La_ppc32_regs): Likewise.
15593 (struct La_ppc32_retval): Likewise.
15594 (struct La_ppc64_regs): Likewise.
15595 (struct La_ppc64_retval): Likewise.
15596 (struct La_sh_regs): Likewise.
15597 (struct La_sh_retval): Likewise.
15598 (struct La_s390_32_regs): Likewise.
15599 (struct La_s390_32_retval): Likewise.
15600 (struct La_s390_64_regs): Likewise.
15601 (struct La_s390_64_retval): Likewise.
15602 (struct La_sparc32_regs): Likewise.
15603 (struct La_sparc32_retval): Likewise.
15604 (struct La_sparc64_regs): Likewise.
15605 (struct La_sparc64_retval): Likewise.
15606 (struct audit_ifaces): Remove architecture-specific pltenter and
15607 pltexit members.
15608 * sysdeps/i386/ldsodefs.h: New file.
15609 * sysdeps/powerpc/ldsodefs.h: Likewise.
15610 * sysdeps/s390/ldsodefs.h: Likewise.
15611 * sysdeps/sh/ldsodefs.h: Likewise.
15612 * sysdeps/sparc/ldsodefs.h: Likewise.
15613 * sysdeps/x86_64/ldsodefs.h: Likewise.
15614
156152012-07-25 Marek Polacek <polacek@redhat.com>
15616
15617 [BZ #6808]
15618 * math/libm-test.inc (yn_test): Add another test.
15619 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
15620 to ERANGE when the result is +-Inf.
15621 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15622 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
15623 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
15624 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
15625
156262012-07-24 Joseph Myers <joseph@codesourcery.com>
15627
15628 * conform/data/time.h-data (NULL): Use macro-constant. Require
15629 equal to 0.
15630 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
15631 clock_t.
15632 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
15633
156342012-07-23 Thomas Schwinge <thomas@codesourcery.com>
15635
15636 * configure.in <sysdeps resolving>: Correct printing
15637 Implies_before.
15638 * configure: Regenerate.
15639
156402012-07-22 Thomas Schwinge <thomas@codesourcery.com>
15641
15642 * math/w_ilogb.c: Include <limits.h>.
15643 * math/w_ilogbl.c: Likewise.
15644
156452012-07-20 Joseph Myers <joseph@codesourcery.com>
15646
15647 * manual/lang.texi (__va_copy): Document primarily as ISO C99
15648 va_copy. Document allowing for unavailable va_copy only as
15649 pre-C99 compatibility.
15650 * manual/string.texi (Copying and Concatenation): Use va_copy
15651 instead of __va_copy in concat example.
15652
156532012-07-20 Pino Toscano <toscano.pino@tiscali.it>
15654
15655 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
15656 (__sendto): Use create_address_port. Initialize APORT and deallocate
15657 it if not null.
15658
15659 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
15660 with O_NOLINK passed to __file_name_lookup.
15661
15662 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15663 with O_NOLINK passed to __file_name_lookup.
15664
15665 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15666 negative N or less than NGIDS.
15667
15668 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15669 type to string_t. Set ERANGE as errno and return it if NAME is not big
15670 enough. Use memcpy instead of strncpy.
15671
156722012-07-20 Joseph Myers <joseph@codesourcery.com>
15673
15674 * elf/Makefile (check-data): Remove.
15675 (localplt.data): New vpath directive.
15676 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15677 instead of $(check-data).
15678 * scripts/data/localplt-generic.data: Move to ...
15679 * sysdeps/generic/localplt.data: ... here.
15680 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15681 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15682 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15684 ... here.
15685 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15687 ... here.
15688 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15690 ... here.
15691 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15693 ... here.
15694 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15696 ... here.
15697 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15699 ... here.
15700
157012012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15702
15703 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15704 PPC32 and PPC64 files.
15705 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15706 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15707
157082012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15709
15710 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15711 __makecontext_ret to ...
15712 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15713 ... here and call exit if uc_link is NULL. New file.
15714 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15715 __makecontext_ret.S.
15716 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15717 __makecontext_ret to ...
15718 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15719 ... here and call exit if uc_link is NULL. New file.
15720 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15721 __makecontext_ret.S.
15722
157232012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15724
15725 * elf/elf.h (R_390_IRELATIVE): New definition.
15726 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15727 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15728 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15729 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15730 (elf_machine_lazy_rel): Likewise.
15731 * sysdeps/s390/dl-irel.h: New file.
15732 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15733 * sysdeps/s390/s390-64/memset.S: New asm code.
15734 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15735 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15736 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15737 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15738 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15739 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15740 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15741 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15742 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15743 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15744 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15745 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15746 * sysdeps/s390/s390-32/memset.S: New asm code.
15747 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15748
157492012-07-17 Marek Polacek <polacek@redhat.com>
15750
15751 [BZ #14349]
15752 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15753 * sysdeps/s390/s390-64/configure.in: Likewise.
15754 * sysdeps/sparc/configure.in: Likewise.
15755 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15756 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15757 * sysdeps/i386/configure.in: Likewise.
15758 * sysdeps/x86_64/configure.in: Likewise.
15759 * sysdeps/sh/configure.in: Likewise.
15760 * sysdeps/s390/s390-32/configure: Regenerated.
15761 * sysdeps/s390/s390-64/configure: Likewise.
15762 * sysdeps/x86_64/configure: Likewise.
15763 * sysdeps/sh/configure: Likewise.
15764 * sysdeps/powerpc/powerpc64/configure: Likewise.
15765 * sysdeps/powerpc/powerpc32/configure: Likewise.
15766 * sysdeps/sparc/configure: Likwise.
15767 * sysdeps/i386/configure: Likewise.
15768
15769 * elf/dl-open.c: Comment fixes.
15770
157712012-07-17 Joseph Myers <joseph@codesourcery.com>
15772
15773 * Makefile [CXX] (check-data): Remove.
15774 [CXX] (c++-types.data): New vpath directive.
15775 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15776 vpath. Do not allow for C++ type data being missing.
15777 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15778 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15779 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15780 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15781 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15782 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15783 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15785 ... here.
15786 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15788 ... here.
15789 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15791 ... here.
15792 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15794 ... here.
15795 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15797 ... here.
15798 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15800 ... here.
15801 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15803 ... here.
15804 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15806
15807 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15808 definitions to architecture-specific files.
15809 (TLS_IE): Likewise.
15810 (TLS_LD): Likewise.
15811 (TLS_GD): Likewise.
15812 * sysdeps/i386/tls-macros.h: New file.
15813 * sysdeps/powerpc/tls-macros.h: Likewise.
15814 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15815 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15816 * sysdeps/sh/tls-macros.h: Likewise.
15817 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15818 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15819 * sysdeps/x86_64/tls-macros.h: Likewise.
15820
158212012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15822
15823 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15824 zero value for regular exit case.
15825
15826 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15827 (__start_context): Preserve zero value for regular exit case.
15828
158292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15830 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15831
15832 * manual/setjmp.texi (setcontext): Clarify normal process
15833 termination when uc_link is the null pointer.
15834 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15835 exit call.
15836
158372012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15838
15839 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15840 preprocessor. Test for each exception mask separately.
15841
158422012-07-16 Andreas Jaeger <aj@suse.de>
15843
15844 * po/ru.po: Update from translation team.
15845
158462012-07-15 Joseph Myers <joseph@codesourcery.com>
15847
15848 * conform/data/string.h-data (NULL): Use macro-constant. Require
15849 equal to 0.
15850 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15851 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15852 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15853 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15854 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15855
158562012-07-13 Andreas Jaeger <aj@suse.de>
15857
15858 * po/fr.po: Update from translation team.
15859
158602012-07-12 Marek Polacek <polacek@redhat.com>
15861
15862 [BZ #14173]
15863 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15864 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15865 loop condition.
15866
158672012-07-12 Joseph Myers <joseph@codesourcery.com>
15868
15869 [BZ #13717]
15870 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15871 Change to 2.4.1 where previously 2.4.0.
15872 * sysdeps/unix/sysv/linux/configure: Regenerated.
15873 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15874 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15875 version.
15876 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15877 (__ASSUME_AT_CLKTCK): Remove.
15878 (__ASSUME_AT_PAGESIZE): Likewise.
15879 (__ASSUME_AT_XID): Likewise.
15880 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15881 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15882 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15883 unconditionally.
15884 (HAVE_AUX_PAGESIZE): Likewise.
15885 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15886 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15887 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15888
158892012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15890
15891 [BZ #14307]
15892 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15893 the temporary buffer used to invoke __gethostbyname2_r,
15894 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15895 host_data / struct gaih_addrtuple.
15896 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15897 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15898 header file nss/nsswitch.h.
15899 * nss/nsswitch.h (global scope): Add definition of implementation
15900 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15901 resolv/nss_dns/dns-host.c).
15902
159032012-07-11 Andreas Jaeger <aj@suse.de>
15904
15905 * po/fr.po: Update from translation team.
15906
15907 * po/sv.po: Update from translation team
15908 * po/fr.po: Another update from translation team.
15909
159102012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15911
15912 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15913 for subnormals or multiply small sinh result by itself.
15914 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15916
159172012-07-11 David S. Miller <davem@davemloft.net>
15918
15919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15920
159212012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15922
15923 [BZ #14347]
15924 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15925 (INTERNAL_MARK): Shift it here.
15926
159272012-07-10 Marek Polacek <polacek@redhat.com>
15928
15929 [BZ #14151]
15930 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15931 libc_cv_asm_global_directive with .globl.
15932 * configure: Regenerated.
15933 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15934 with .globl.
15935 * sysdeps/i386/configure: Regenerated.
15936 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15937 with .globl.
15938 * sysdeps/x86_64/configure: Regenerated.
15939 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15940 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15941 * elf/tst-unique2mod2.c: Likewise.
15942 * elf/tst-unique2mod1.c: Likewise.
15943 * elf/tst-unique1mod2.c: Likewise.
15944 * elf/tst-unique1mod1.c: Likewise.
15945 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15946 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15947 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15948 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15949 * sysdeps/mach/sysdep.h: Likewise.
15950 * sysdeps/i386/sysdep.h: Likewise.
15951 * sysdeps/i386/i386-mcount.S: Likewise.
15952 * sysdeps/x86_64/_mcount.S: Likewise.
15953 * sysdeps/x86_64/sysdep.h: Likewise.
15954 * sysdeps/sh/_mcount.S: Likewise.
15955 * sysdeps/sh/sysdep.h: Likewise.
15956 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15957 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15958 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15959 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15960 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15961 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15962 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15963 * locale/localeinfo.h: Likewise.
15964 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15965 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15966
159672012-07-09 Roland McGrath <roland@hack.frob.com>
15968
15969 [BZ #14336]
15970 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15971 system".
15972 * manual/message.texi (The Uniforum approach): Likewise.
15973 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15974 (glibc iconv Implementation): Likewise.
15975
159762012-07-09 Joseph Myers <joseph@codesourcery.com>
15977
15978 [BZ #14337]
15979 * math/s_clog.c (__clog): Avoid scaling a value down where that
15980 could result in underflow.
15981 * math/s_clog10.c (__clog10): Likewise.
15982 * math/s_clog10f.c (__clog10f): Likewise.
15983 * math/s_clog10l.c (__clog10l): Likewise.
15984 * math/s_clogf.c (__clogf): Likewise.
15985 * math/s_clogl.c (__clogl): Likewise.
15986 * math/libm-test.inc (clog_test): Add more tests.
15987 (clog10_test): Likewise.
15988 * sysdeps/i386/fpu/libm-test-ulps: Update.
15989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15990
159912012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15992
15993 [BZ #14283]
15994 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15995 by 7 not 8 to examine high bit of fractional part.
15996
15997 [BZ #14042]
15998 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15999 for call to __mcount_internal.
16000 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16001 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16002 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16003
160042012-07-06 Joseph Myers <joseph@codesourcery.com>
16005
16006 [BZ #14154]
16007 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16008 approximation for values within 0x1p-13f of an odd multiple of
16009 pi/4.
16010 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16011 exception. Add more tests.
16012 * sysdeps/i386/fpu/libm-test-ulps: Update.
16013
16014 [BZ #6778]
16015 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16016 inputs and return -1 for them. Do not check for +Inf in case not
16017 reachable for +Inf.
16018 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16019 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16020 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16021 and return -1 for them. Do not check for +Inf in case not
16022 reachable for +Inf.
16023 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16024 define.
16025 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16026 and return -1 for them. Do not check for +Inf in case not
16027 reachable for +Inf.
16028 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16029 spurious underflow.
16030 * sysdeps/i386/fpu/libm-test-ulps: Update.
16031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16032
160332012-07-06 Mike Frysinger <vapier@gentoo.org>
16034
16035 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16036
160372012-07-05 Joseph Myers <joseph@codesourcery.com>
16038
16039 [BZ #14157]
16040 [BZ #14331]
16041 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16042 could result in spurious underflow. Scale down values above
16043 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16044 * math/s_csqrtf.c (__csqrtf): Likewise.
16045 * math/s_csqrtl.c (__csqrtl): Likewise.
16046 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16047 spurious underflow.
16048 * sysdeps/i386/fpu/libm-test-ulps: Update.
16049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16050
160512012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16054 xopen-msg.sed.
16055 * catgets/xopen-msg.awk: New file.
16056 * catgets/xopen-msg.sed: Removed.
16057
16058 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16059 po2text.sed.
16060 * intl/po2test.awk: New file.
16061 * intl/po2test.sed: Removed.
16062
160632012-07-04 Joseph Myers <joseph@codesourcery.com>
16064
16065 [BZ #14328]
16066 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16067 or multiply small sinh result by itself.
16068 * math/s_ctanf.c (__ctanf): Likewise.
16069 * math/s_ctanh.c (__ctanh): Likewise.
16070 * math/s_ctanhf.c (__ctanhf): Likewise.
16071 * math/s_ctanhl.c (__ctanhl): Likewise.
16072 * math/s_ctanl.c (__ctanl): Likewise.
16073 * math/libm-test.inc (ctan_test_tonearest): New function.
16074 (ctan_test_towardzero): Likewise.
16075 (ctan_test_downward): Likewise.
16076 (ctan_test_upward): Likewise.
16077 (ctanh_test_tonearest): Likewise.
16078 (ctanh_test_towardzero): Likewise.
16079 (ctanh_test_downward): Likewise.
16080 (ctanh_test_upward): Likewise.
16081 (main): Call these new functions.
16082 * sysdeps/i386/fpu/libm-test-ulps: Update.
16083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16084
160852012-07-03 Mike Frysinger <vapier@gentoo.org>
16086
16087 * .gitignore: Delete /ports entry.
16088
160892012-07-03 Andreas Jaeger <aj@suse.de>
16090
16091 * po/bg.po: Update from translation team.
16092 * po/cs.po: Likewise.
16093 * po/de.po: Likewise.
16094 * po/hr.po: Likewise.
16095 * po/nl.pl: Likewise.
16096 * po/pl.po: Likewise.
16097 * po/vi.po: Likewise.
16098
160992012-07-03 Joseph Myers <joseph@codesourcery.com>
16100
16101 * Makeconfig [!+link] (+link-before-libc): New variable.
16102 [!+link] (+link-after-libc): Likewise.
16103 [!+link] (+link-tests): Likewise.
16104 [!+link] (+link): Define in terms of $(+link-before-libc) and
16105 $(+link-after-libc).
16106 [!+link-static] (+link-static-before-libc): New variable.
16107 [!+link-static] (+link-static-after-libc): Likewise.
16108 [!+link-static] (+link-static-tests): Likewise.
16109 [!+link-static] (+link-static): Define in terms of
16110 $(+link-static-before-libc) and $(+link-static-after-libc).
16111 [build-shared] (link-libc-before-gnulib): New variable.
16112 [build-shared] (link-libc-tests): Likewise.
16113 [build-shared] (link-libc): Define in terms of
16114 $(link-libc-before-gnulib).
16115 [!build-shared] (link-libc-tests): New variable.
16116 (link-libc-static-tests): New variable.
16117 [!gnulib] (gnulib-arch): New variable.
16118 [!gnulib] (gnulib-tests): Likewise.
16119 [!gnulib] (static-gnulib-arch): Likewise.
16120 [!gnulib] (static-gnulib-tests): Likewise.
16121 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16122 Define with "=" instead of ":=".
16123 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16124 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16125 * Rules (binaries-all-notests): New variable.
16126 (binaries-all-tests): Likewise.
16127 (binaries-static-notests): Likewise.
16128 (binaries-static-tests): Likewise.
16129 (binaries-all): Define using $(binaries-all-notests) and
16130 $(binaries-all-tests).
16131 (binaries-static): Define using $(binaries-static-notests) and
16132 $(binaries-static-tests).
16133 (binaries-shared-tests): New variable.
16134 (binaries-shared-notests): Likewise.
16135 (binaries-shared): Remove variable.
16136 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16137 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16138 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16139 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16140 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16141 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16142 * elf/Makefile (sln-modules): New variable.
16143 (extra-objs): Add $(sln-modules:=.o).
16144 (ldconfig-modules): Add static-stubs.
16145 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16146 * elf/static-stubs.c: New file.
16147
16148 [BZ #14283]
16149 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16150 by 7 not 8 to examine high bit of fractional part. Use volatile
16151 variables when splitting into final array of floats if
16152 __FLT_EVAL_METHOD__ != 0.
16153 * math/libm-test.inc (cos_test): Add another test.
16154 (sin_test): Likewise.
16155 * sysdeps/i386/fpu/libm-test-ulps: Update.
16156
16157 [BZ #14273]
16158 * math/libm-test.inc (cosh_test): Add more tests.
16159
16160 * version.h (RELEASE): Set to "development".
16161 (VERSION): Set to "2.16.90".
16162
161632012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16164
16165 * NEWS: Update copyright. Remove last-updated date.
16166 Mention math library bug fixes and timezone data changes.
16167 * README: Mention GNU/Hurd, x32, and HPPA support status.
16168
161692012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16170
16171 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16172
161732012-06-27 Andreas Jaeger <aj@suse.de>
16174
16175 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16176
161772012-06-25 Andreas Jaeger <aj@suse.de>
16178
16179 * sysdeps/s390/fpu/libm-test-ulps: Update.
16180
161812012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16182 Thomas Schwinge <thomas@codesourcery.com>
16183
16184 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16185 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16186 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16187 fanotify_mark.
16188
161892012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16190
16191 * sysdeps/mach/start.c: Remove file.
16192 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16193 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16194 * sysdeps/sh/init-first.c: Likewise.
16195
16196 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16197 registers for frame unwinding purposes, add CFI directives.
16198 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16199 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16200 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16201 Likewise.
16202
16203 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16204 __fortify_fail returning.
16205 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16206
16207 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16208 sysdeps/sh/____longjmp_chk.S.
16209 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16210 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16211 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16212 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16213
16214 * sysdeps/sh/abort-instr.h: New file.
16215 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16216 process in case exit returns.
16217
16218 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16219 initialize the GOT register before use.
16220
16221 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16222 calculation of ARGC > 4.
16223
16224 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16225 meaningful names to some local labels.
16226
162272012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16228 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16229
16230 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16231 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16232 (__arch_compare_and_exchange_val_16_acq): Likewise.
16233 (__arch_compare_and_exchange_val_32_acq): Likewise.
16234 (atomic_exchange_and_add): Fix gUSA sequence.
16235 (atomic_add): Likewise.
16236 (atomic_add_negative): Likewise.
16237 (atomic_add_zero): Likewise.
16238 (atomic_bit_test_set): Likewise.
16239
162402012-06-22 Andreas Schwab <schwab@redhat.com>
16241
16242 [BZ #13579]
16243 * include/link.h (struct link_map): Add l_free_initfini.
16244 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16245 l_initfini.
16246 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16247 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16248 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16249 set.
16250
162512012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16252
16253 * configure.in: Use AC_LANG_SOURCE.
16254 * configure: Regenerate.
16255
162562012-06-22 Roland McGrath <roland@hack.frob.com>
16257
16258 * configure.in (libc_cv_localstatedir): New substituted variable.
16259 * configure: Regenerated.
16260 * config.make.in (localstatedir): New variable, substituted from
16261 libc_cv_localstatedir.
16262 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16263 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16264 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16265 * sysdeps/gnu/configure: Regenerated.
16266
162672012-06-21 Jeff Law <law@redhat.com>
16268
16269 [BZ #14277]
16270 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16271 free. Simplify list management for _LIBC case.
16272
162732012-06-21 Joseph Myers <joseph@codesourcery.com>
16274
16275 [BZ #14273]
16276 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16277 Clear sign bit of 64-bit integer value before comparing against
16278 overflow value.
16279
16280 * sysdeps/mach/configure: Regenerated.
16281
162822012-06-21 H.J. Lu <hongjiu.lu@intel.com>
16283
16284 [BZ #14278]
16285 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16286
162872012-06-21 Jeff Law <law@redhat.com>
16288
16289 [BZ #13882]
16290 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
16291 uint16_t for elements in the "seen" array to avoid char overflows.
16292 * elf/dl-fini.c (_dl_sort_fini): Likewise.
16293 * elf/dl-open.c (dl_open_worker): Likewise.
16294
162952012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
16296
16297 * scripts/list-sources.sh: Scan PORTS for translations.
16298 * po/libc.pot: Regenerated.
16299
163002012-06-21 Andreas Jaeger <aj@suse.de>
16301
16302 [BZ #12194]
16303 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16304 warning.
16305 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16306 * bits/byteswap-16.h (__bswap_16): Likewise.
16307 * bits/byteswap.h (__bswap_constant_16): Likewise.
16308
163092012-06-18 H.J. Lu <hongjiu.lu@intel.com>
16310
16311 [BZ #14117]
16312 * sysdeps/i386/fpu_control.h: Removed.
16313 * sysdeps/x86_64/fpu_control.h: Moved to ...
16314 * sysdeps/x86/fpu_control.h: Here.
16315
16316 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16317 (_FPU_SETCW): Likewise.
16318
163192012-06-15 H.J. Lu <hongjiu.lu@intel.com>
16320
16321 [BZ #14117]
16322 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16323 * sysdeps/x86/fpu/bits/mathinline.h: This.
16324 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16325
16326 [BZ #14050]
16327 [BZ #14117]
16328 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
16329 functions if __x86_64__ is defined.
16330
163312012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
16332
16333 * string/endian.h: Add !__ASSEMBLER__ condition for including
16334 conversion interfaces.
16335
163362012-06-15 Joseph Myers <joseph@codesourcery.com>
16337
16338 [BZ #14241]
16339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
16340 of ABS(x) in calculating zero to negative powers other than odd
16341 integers.
16342 * math/libm-test.inc (pow_test): Add more tests.
16343
163442012-06-15 Andreas Jaeger <aj@suse.de>
16345
16346 * manual/contrib.texi (Contributors): Update entry of Liubov
16347 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
16348 Machado Filho.
16349
163502012-06-15 Cyril Hrubis <metan@ucw.cz>
16351
16352 * string/string.h: Add __wur to GNU version of strerror_r.
16353
163542012-06-14 H.J. Lu <hongjiu.lu@intel.com>
16355
16356 [BZ #14229]
16357 * string/Makefile (tests): Add tst-strtok_r.
16358 * string/tst-strtok_r.c: New file.
16359 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
16360 RAX_LP/RDX_LP on SAVE_PTR.
16361
163622012-06-14 Roland McGrath <roland@hack.frob.com>
16363
16364 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
16365
163662012-06-14 Joseph Myers <joseph@codesourcery.com>
16367
16368 * libm_test.inc (csqrt_test): Allow more spurious underflow
16369 exceptions.
16370 (j0_test): Likewise.
16371 (j1_test): Likewise.
16372 (y0_test): Likewise.
16373 (y1_test): Likewise.
16374
163752012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
16376
16377 * po/Makefile (libc.pot): Use UTF-8 charset.
16378
163792012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
16380
16381 [BZ #14210]
16382 Suppress sign-conversion warning from FD_SET.
16383 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
16384 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
16385 not unsigned long int.
16386 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
16387
163882012-06-12 H.J. Lu <hongjiu.lu@intel.com>
16389
16390 [BZ #14050]
16391 [BZ #14117]
16392 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
16393 __extern_always_inline instead of __extern_inline.
16394 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
16395 (__signbit): Likewise.
16396 (__signbitl): Support C++ namespace.
16397 (lrintf): New inline function.
16398 (lrint): Likewise.
16399 (llrintf): Likewise.
16400 (llrint): Likewise.
16401 (fmaxf): Likewise.
16402 (fmax): Likewise.
16403 (fminf): Likewise.
16404 (fmin): Likewise.
16405 (rint): Likewise.
16406 (rintf): Likewise.
16407 (ceil): Likewise.
16408 (ceilf): Likewise.
16409 (floor): Likewise.
16410 (floorf): Likewise.
16411 (nearbyint): Likewise.
16412 (nearbyintf): Likewise.
16413
164142012-06-12 Thomas Schwinge <thomas@codesourcery.com>
16415
16416 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
16417 non-default versions.
16418
164192012-06-11 Roland McGrath <roland@hack.frob.com>
16420
16421 [BZ #14218]
16422 * manual/argp.texi (Argp): Reword argp_parse description slightly.
16423
164242012-06-09 Thomas Schwinge <thomas@codesourcery.com>
16425
16426 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
16427 (FE_UPWARD, FE_DOWNWARD): Don't define.
16428 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
16429 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16430
16431 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
16432 reading it.
16433 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16434 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16435
164362012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16437
16438 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
16440 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
16441 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
16442
164432012-06-06 H.J. Lu <hongjiu.lu@intel.com>
16444
16445 [BZ #14117]
16446 * sysdeps/i386/fpu/bits/fenv.h: Removed.
16447 * sysdeps/i386/fpu/Implies: New file.
16448 * sysdeps/x86_64/fpu/Implies: Likewise.
16449 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
16450 * sysdeps/x86/fpu/bits/fenv.h: This.
16451
16452 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
16453 __SSE_MATH__.
16454
164552012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16456
16457 [BZ #14134]
16458 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
16459 character 0xffff that matches the last element of the
16460 conversion table.
16461
164622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16463
16464 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
16465 fmodl commit.
16466
164672012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16468
16469 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
16470 values higher than 25.6283.
16471
164722012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16473
16474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
16475 subnormal exponent extraction and add some __builtin_expect.
16476 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
16477 Fix for subnormal mantissa calculation.
16478
164792012-06-04 Mike Frysinger <vapier@gentoo.org>
16480
16481 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
16482 cpu2 is -1 and errno is not ENOSYS.
16483
164842012-06-04 H.J. Lu <hongjiu.lu@intel.com>
16485
16486 [BZ #14117]
16487 * sysdeps/i386/i486/bits/string.h: Renamed to ...
16488 * sysdeps/x86/bits/string.h: This.
16489 * sysdeps/x86_64/bits/string.h: Removed.
16490
16491 * sysdeps/i386/i486/bits/string.h: Define inline functions only
16492 if not compiling for x86-64, but compiling for >= i486.
16493
16494 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
16495 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
16496
16497 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
16498 New macro from Linux kernel 3.4.0.
16499 (FP_XSTATE_MAGIC2): Likewise.
16500 (FP_XSTATE_MAGIC2_SIZE): Likewise.
16501 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
16502 (struct _fpx_sw_bytes): New struct.
16503 (struct _xsave_hdr): Likewise.
16504 (struct _ymmh_state): Likewise.
16505 (struct _xstate): Likewise.
16506
16507 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
16508 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
16509 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
16510 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
16511 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
16512 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
16513
16514 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
16515 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
16516 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
16517 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
16518 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
16519 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
16520
165212012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16522
16523 [BZ #13743]
16524 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
16525 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
16526 (sysdep_headers): Include sys/platform/ppc.h.
16527 * sysdeps/powerpc/test-gettimebase.c: Test for
16528 __ppc_get_timebase() to catch future ISA opcode/insn changes.
16529 * manual/Makefile (appendices): Include platform.texi.
16530 * manual/contrib.texi (Contributors): Update @node pointers.
16531 * manual/maint.texi (Maintenance): Likewise.
16532 (Platform): New node.
16533 * manual/platform.texi: New file. Document the new features.
16534
165352012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16536 Jakub Jelinek <jakub@redhat.com>
16537
16538 [BZ #14188]
16539 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
16540 where __builtin_expect is unavailable.
16541
165422012-06-03 David S. Miller <davem@davemloft.net>
16543
16544 * stdlib/longlong.h: Updated from GCC.
16545
165462012-06-02 Andreas Schwab <schwab@linux-m68k.org>
16547
16548 [BZ #14042]
16549 * sysdeps/powerpc/powerpc32/mcount.c: New file.
16550 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
16551 __mcount_internal.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16553 (GLIBC_2.16): Likewise.
16554
165552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16556
16557 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
16558
165592012-06-01 Joseph Myers <joseph@codesourcery.com>
16560
16561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
16562 (default-abi): New variable.
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
16564 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
16565 variable.
16566 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
16567 Likewise.
16568 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
16569 Likewise.
16570 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
16571 Likewise.
16572
16573 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
16574 definition. Document in comment.
16575
165762012-06-01 David S. Miller <davem@davemloft.net>
16577
16578 * stdlib/longlong.h: Updated from GCC.
16579
165802012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16581
16582 [BZ #14117]
16583 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
16584 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
16585 sys/debugreg.h sys/io.h here.
16586 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
16587 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
16588 sys/io.h.
16589 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
16590 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
16591 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
16592 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
16593 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
16594 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
16595
16596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
16597 Define only if __x86_64__ is defined.
16598
165992012-06-01 Joseph Myers <joseph@codesourcery.com>
16600
16601 [BZ #14048]
16602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
16603 Use int64_t for variable i.
16604 * math/libm-test.inc (fmod_test): Add more tests.
16605
16606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
16607 z computation is not scheduled after fetestexcept.
16608 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
16609 Use math_force_eval instead of asm to ensure calculation scheduled
16610 before exception test.
16611 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
16612 Ensure a1 + u.d computation is not scheduled after fetestexcept.
16613
166142012-06-01 Aurelien Jarno <aurelien@aurel32.net>
16615
16616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
16617 computation is not scheduled after fetestexcept.
16618
166192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
16620
16621 [BZ #14117]
16622 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
16623 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
16624
166252012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16626
16627 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
16628 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
16629
166302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16631
16632 [BZ #14117]
16633 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
16634 <bits/wordsize.h>.
16635 (__WCHAR_MIN): Support __WORDSIZE == 64.
16636 (__WCHAR_MAX): Likewise.
16637
16638 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
16639 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
16640
16641 [BZ #14183]
16642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
16643 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
16644
16645 [BZ #14117]
16646 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
16647 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
16648
16649 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
16650 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
16651
16652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
16653 Defined to 1 if __x86_64__ isn't defined.
16654 (_STAT_VER_LINUX_OLD): New.
16655 (st_atime): Remove duplicate.
16656 (st_mtime): Likewise.
16657 (st_ctime): Likewise.
16658
166592012-05-31 David S. Miller <davem@davemloft.net>
16660
16661 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16662 entries.
16663
166642012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16665
16666 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16667 gen-libm-test.pl.
16668
16669 [BZ #14132]
16670 * elf/dl-reloc.c: Include <_itoa.h>.
16671 (_dl_reloc_bad_type): Remove use of INTUSE.
16672 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16673 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16674 * stdio-common/psiginfo.c (psiginfo): Likewise.
16675 * stdio-common/psignal.c (psignal): Likewise.
16676 * string/strsignal.c (strsignal): Likewise.
16677 * include/signal.h (_sys_siglist): Declare hidden proto.
16678 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16679 INTVARDEF with libc_hidden_data_def.
16680 * stdio-common/itoa-udigits.c: Likewise.
16681 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16682 (_itoa_lower_digits_internal): Remove declaration.
16683 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16684 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16685 (_sys_sigabbrev_internal): Remove aliases.
16686 (_sys_siglist): Define hidden alias.
16687
166882012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16689
16690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16691 bits/sysctl.h.
16692
166932012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16694
16695 [BZ #14117]
16696 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16697 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16698
16699 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16700 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16701 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16702 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16703 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16704 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16705
16706 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16707 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16708 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16709
16710 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16711 with __addr.
16712 (insw): Likewise.
16713 (insl): Likewise.
16714 (outsb): Likewise.
16715 (outsw): Likewise.
16716 (outsl): Likewise.
16717
16718 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16719 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16720 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16721
16722 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16723 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16724 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16725 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16726 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16727 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16728
16729 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16730 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16731
16732 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16733 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16734
16735 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16736 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16737 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16738
16739 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16740 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16741 to ...
16742 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16743
16744 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16745 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16746 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16747
16748 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16749 for x86-64.
16750 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16751
167522012-05-31 Joseph Myers <joseph@codesourcery.com>
16753
16754 * math/math.h (M_El): Use two more decimal places.
16755 (M_LOG2El): Likewise.
16756 (M_LOG10El): Likewise.
16757 (M_LN2l): Likewise.
16758 (M_LN10l): Likewise.
16759 (M_PIl): Likewise.
16760 (M_PI_2l): Likewise.
16761 (M_PI_4l): Likewise.
16762 (M_1_PIl): Likewise.
16763 (M_2_PIl): Likewise.
16764 (M_2_SQRTPIl): Likewise.
16765 (M_SQRT2l): Likewise.
16766 (M_SQRT1_2l): Likewise.
16767
167682012-05-31 David S. Miller <davem@davemloft.net>
16769
16770 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16771 values between float registers.
16772 * sysdeps/sparc/sparc64/memset.S: Likewise.
16773 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16774
167752012-05-31 Mike Frysinger <vapier@gentoo.org>
16776
16777 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16778 -D_FORTIFY_SOURCE=1.
16779 (CPPFLAGS-tst-longjmp_chk.c): Define.
16780 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16781 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16782 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16783 CFLAGS-tst-wchar-h.c.
16784
167852012-05-31 Marek Polacek <polacek@redhat.com>
16786
16787 [BZ #14132]
16788 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16789 __endmntent_internal): Remove declaration.
16790 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16791 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16792 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16793
167942012-05-30 David S. Miller <davem@davemloft.net>
16795
16796 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16797 (___Q_simulate_exceptions): Use real FP ops rather than writing
16798 into the %fsr.
16799 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16800 Likewise.
16801
168022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16803
16804 [BZ #14117]
16805 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16806 * sysdeps/x86/bits/xtitypes.h: This.
16807
16808 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16809 * sysdeps/x86/bits/wordsize.h: This.
16810
16811 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16812 * sysdeps/x86/bits/huge_vall.h: This.
16813
16814 * sysdeps/i386/bits/select.h: Removed.
16815 * sysdeps/x86_64/bits/select.h: Renamed to ...
16816 * sysdeps/x86/bits/select.h: This.
16817
16818 * sysdeps/i386/bits/setjmp.h: Removed.
16819 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16820 * sysdeps/x86/bits/setjmp.h: This.
16821
16822 * sysdeps/i386/bits/mathdef.h: Removed.
16823 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16824 * sysdeps/x86/bits/mathdef.h: This.
16825
168262012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16827
16828 [BZ #14132]
16829 * include/sys/socket.h (__connect_internal)
16830 (__libc_sa_len_internal): Remove declaration.
16831 (__connect, __libc_sa_len): Declare hidden_proto.
16832 (SA_LEN): Remove use of INTUSE.
16833 * socket/connect.c: Add libc_hidden_def.
16834 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16835 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16836 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16837 alias.
16838 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16839 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16840 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16841 of adding _internal alias.
16842
168432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16844
16845 [BZ #14117]
16846 * sysdeps/i386/bits/link.h: Removed.
16847 * sysdeps/i386/bits/linkmap.h: Likewise.
16848 * sysdeps/x86_64/bits/link.h: Renamed to ...
16849 * sysdeps/x86/bits/link.h: This.
16850 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16851 * sysdeps/x86/bits/linkmap.h: This.
16852
16853 * sysdeps/i386/bits/endian.h: Removed.
16854 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16855 * sysdeps/x86/bits/endian.h: This.
16856
16857 * sysdeps/i386/bits/byteswap.h: Removed.
16858 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16859 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16860 * sysdeps/x86/bits/byteswap.h: This.
16861 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16862 * sysdeps/x86/bits/byteswap-16.h: This.
16863 * sysdeps/i386/Implies: Add x86.
16864 * sysdeps/x86_64/Implies: Likewise.
16865
168662012-05-30 David S. Miller <davem@davemloft.net>
16867
16868 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16869 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16870 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16871 (FP_TRAPPING_EXCEPTIONS): Define.
16872 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16873 (FP_TRAPPING_EXCEPTIONS): Define.
16874 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16875 subnormals only when inexact has been signalled or underflow
16876 exceptions are enabled.
16877 (_FP_PACK_CANONICAL): Likewise.
16878
168792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16880
16881 [BZ #14183]
16882 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16883 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16884
168852012-05-30 Richard Henderson <rth@twiddle.net>
16886
16887 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16888 with #ifndef NOT_IN_libc.
16889
16890 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16891 marked to avoid plt entry.
16892
168932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16894
16895 [BZ #14112]
16896 * Makeconfig (default-abi): New macro.
16897 (abi-includes): Likewise.
16898 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16899 $(abi-$(default-abi)-lib-soname) for soname if defined.
16900 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16901 abi-variants.
16902 * Makefile (installed-stubs): Likewise.
16903 * include/stubs-biarch.h: Removed.
16904 * scripts/lib-names.awk: Only handle one library at a time.
16905 * scripts/soversions.awk: Remove WORDSIZE support.
16906 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16907 entries.
16908 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16909 Removed.
16910 (syscall-list-default-condition): Likewise.
16911 (syscall-list-default-condition): Likewise.
16912 (syscall-list-includes): Likewise.
16913 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16914 syscall-list-* with abi-*. Handle undefined abi-variants.
16915 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16916 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16917 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16918 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16919 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16920 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16921 Removed.
16922 (syscall-list-32-options): Likewise.
16923 (syscall-list-32-condition): Likewise.
16924 (syscall-list-64-options): Likewise.
16925 (syscall-list-64-condition): Likewise.
16926 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16927 macro.
16928 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16929 Renamed to ...
16930 (abi-*): This.
16931 (abi-64-ld-soname): New macro.
16932 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16933 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16934 Renamed to ...
16935 (abi-*): This.
16936 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16937 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16938
169392012-05-30 Joseph Myers <joseph@codesourcery.com>
16940
16941 * sysdeps/unix/sysv/linux/kernel-features.h
16942 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16943 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16944 include <kernel-features.h>.
16945 [!__NR_ftruncate64]: Remove conditional code.
16946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16947 [__NR_ftruncate64]: Make code unconditional.
16948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16949 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16950 include <kernel-features.h>.
16951 [!__NR_ftruncate64]: Remove conditional code.
16952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16953 [__NR_ftruncate64]: Make code unconditional.
16954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16956 include <kernel-features.h>.
16957 [!__NR_ftruncate64]: Remove conditional code.
16958 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16959 [__NR_ftruncate64]: Make code unconditional.
16960 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16962 include <kernel-features.h>.
16963 [!__NR_ftruncate64]: Remove conditional code.
16964 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16965 [__NR_ftruncate64]: Make code unconditional.
16966 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16967
16968 * configure.in (libc_cv_fpie): Weaken to a compile test using
16969 LIBC_TRY_CC_OPTION.
16970 * configure: Regenerated.
16971
169722012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16973
16974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16978 Refreshed.
16979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16985 Refreshed.
16986
169872012-05-27 David S. Miller <davem@davemloft.net>
16988
16989 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16990 (___Q_zero): New.
16991 (__Q_simulate_exceptions): Return void. Change to simulate
16992 exceptions by writing into the %fsr.
16993 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16994 (__Qp_handle_exceptions): Likewise.
16995 (numbers): Delete.
16996 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16997 __Qp_handle_exceptions.
16998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16999 __Qp_handle_exceptions.
17000 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17001 as unused and give dummy FP_RND_NEAREST initializer.
17002 (FP_INHIBIT_RESULTS): Define.
17003 (___Q_simulate_exceptions): Update declaration.
17004 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17005 formatting.
17006 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17007 as unused and give dummy FP_RND_NEAREST initializer.
17008 (__Qp_handle_exceptions): Update declaration.
17009 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17010 formatting.
17011
170122012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17013
17014 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17015 the temporary FPU control word.
17016 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17017 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17018 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17019 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17020 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17021 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17022 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17023 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17024 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17025 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17026 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17027
170282012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17029
17030 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17031 fields.
17032
170332012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17034
17035 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17036 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17037 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17038 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17039 Likewise.
17040 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17041 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17042 Likewise.
17043
170442012-05-27 Ulrich Drepper <drepper@gmail.com>
17045
17046 * po/h.po: Update from translation team.
17047
170482012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17049
17050 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17051
17052 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17053 handling of denormals.
17054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17055 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17056 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17057 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17058 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17060 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17061 Likewise.
17062
170632012-05-26 Marek Polacek <polacek@redhat.com>
17064
17065 [BZ #14152]
17066 * math/libm-test.inc (fma_test): Don't always expect underflow
17067 exception.
17068
170692012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17070
17071 [BZ #12416]
17072 * elf/tst-execstack.c: Include stackinfo.h.
17073 (do_test): Adjust test case to ensure that pthread_getattr_np
17074 behaviour remains the same after marking stack executable.
17075
170762012-05-25 Joseph Myers <joseph@codesourcery.com>
17077
17078 * sysdeps/unix/sysv/linux/kernel-features.h
17079 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17080 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17081 kernel-features.h.
17082 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17083 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17084 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17085 kernel-features.h.
17086 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17087 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17088
170892012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17090
17091 * configure.in: Define the default includes to being none.
17092 * configure: Regenerated.
17093
170942012-05-25 Roland McGrath <roland@hack.frob.com>
17095
17096 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17097 * sysdeps/x86_64/setjmp.S: Likewise.
17098 * sysdeps/i386/bsd-setjmp.S: Likewise.
17099 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17100 * sysdeps/i386/setjmp.S: Likewise.
17101 * sysdeps/i386/__longjmp.S: Likewise.
17102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17103 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17104
17105 * include/stap-probe.h: New file.
17106 * configure.in: Handle --enable-systemtap.
17107 * configure: Regenerated.
17108 * config.h.in (USE_STAP_PROBE): New #undef.
17109 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17110 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17111 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17112
171132012-05-25 Joseph Myers <joseph@codesourcery.com>
17114
17115 [BZ #13717]
17116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17117 to 2.4.0 where earlier.
17118 * sysdeps/unix/sysv/linux/configure: Regenerated.
17119 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17120 <kernel-features.h>.
17121 [__ASSUME_32BITUIDS]: Make code unconditional.
17122 [!__ASSUME_32BITUIDS]: Remove conditional code.
17123 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17124 <kernel-features.h>.
17125 [__ASSUME_32BITUIDS]: Make code unconditional.
17126 [!__ASSUME_32BITUIDS]: Remove conditional code.
17127 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17128 [__ASSUME_32BITUIDS]: Make code unconditional.
17129 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17130 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17131 <kernel-features.h>.
17132 [__ASSUME_32BITUIDS]: Make code unconditional.
17133 [!__ASSUME_32BITUIDS]: Remove conditional code.
17134 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17135 <kernel-features.h>.
17136 [__ASSUME_32BITUIDS]: Make code unconditional.
17137 [!__ASSUME_32BITUIDS]: Remove conditional code.
17138 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17139 <kernel-features.h>.
17140 [__ASSUME_32BITUIDS]: Make code unconditional.
17141 [!__ASSUME_32BITUIDS]: Remove conditional code.
17142 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17143 <kernel-features.h>.
17144 [__ASSUME_32BITUIDS]: Make code unconditional.
17145 [!__ASSUME_32BITUIDS]: Remove conditional code.
17146 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17147 <kernel-features.h>.
17148 [__ASSUME_32BITUIDS]: Make code unconditional.
17149 [!__ASSUME_32BITUIDS]: Remove conditional code.
17150 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17151 <kernel-features.h>.
17152 [__ASSUME_32BITUIDS]: Make code unconditional.
17153 [!__ASSUME_32BITUIDS]: Remove conditional code.
17154 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17155 <kernel-features.h>.
17156 [__ASSUME_32BITUIDS]: Make code unconditional.
17157 [!__ASSUME_32BITUIDS]: Remove conditional code.
17158 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17159 <kernel-features.h>.
17160 [__ASSUME_32BITUIDS]: Make code unconditional.
17161 [!__ASSUME_32BITUIDS]: Remove conditional code.
17162 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17163 <kernel-features.h>.
17164 [__ASSUME_32BITUIDS]: Make code unconditional.
17165 [!__ASSUME_32BITUIDS]: Remove conditional code.
17166 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17167 <kernel-features.h>.
17168 [__ASSUME_32BITUIDS]: Make code unconditional.
17169 [!__ASSUME_32BITUIDS]: Remove conditional code.
17170 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17171 <kernel-features.h>.
17172 [__NR_setresgid] (__setresgid): Do not declare.
17173 [__ASSUME_32BITUIDS]: Make code unconditional.
17174 [!__ASSUME_32BITUIDS]: Remove conditional code.
17175 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17176 <kernel-features.h>.
17177 [__NR_setresuid] (__setresuid): Do not declare.
17178 [__ASSUME_32BITUIDS]: Make code unconditional.
17179 [!__ASSUME_32BITUIDS]: Remove conditional code.
17180 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17181 <kernel-features.h>.
17182 [__ASSUME_32BITUIDS]: Make code unconditional.
17183 [!__ASSUME_32BITUIDS]: Remove conditional code.
17184 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17185 <kernel-features.h>.
17186 [__ASSUME_32BITUIDS]: Make code unconditional.
17187 [!__ASSUME_32BITUIDS]: Remove conditional code.
17188 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17189 <kernel-features.h>.
17190 [__ASSUME_32BITUIDS]: Make code unconditional.
17191 [!__ASSUME_32BITUIDS]: Remove conditional code.
17192 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17193 <kernel-features.h>.
17194 [__ASSUME_32BITUIDS]: Make code unconditional.
17195 [!__ASSUME_32BITUIDS]: Remove conditional code.
17196 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17197 <kernel-features.h>.
17198 [__ASSUME_32BITUIDS]: Make code unconditional.
17199 [!__ASSUME_32BITUIDS]: Remove conditional code.
17200 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17201 <kernel-features.h>.
17202 [__ASSUME_32BITUIDS]: Make code unconditional.
17203 [!__ASSUME_32BITUIDS]: Remove conditional code.
17204 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17205 <kernel-features.h>.
17206 [__ASSUME_32BITUIDS]: Make code unconditional.
17207 [!__ASSUME_32BITUIDS]: Remove conditional code.
17208 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17209 <kernel-features.h>.
17210 [__ASSUME_32BITUIDS]: Make code unconditional.
17211 [!__ASSUME_32BITUIDS]: Remove conditional code.
17212 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17213 <kernel-features.h>.
17214 [__ASSUME_32BITUIDS]: Make code unconditional.
17215 [!__ASSUME_32BITUIDS]: Remove conditional code.
17216 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17217 <kernel-features.h>.
17218 [__ASSUME_32BITUIDS]: Make code unconditional.
17219 [!__ASSUME_32BITUIDS]: Remove conditional code.
17220 * sysdeps/unix/sysv/linux/kernel-features.h
17221 (__ASSUME_SETRESUID_SYSCALL): Remove.
17222 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17223 (__ASSUME_32BITUIDS): Likewise.
17224 (__ASSUME_LDT_WORKS): Likewise.
17225 (__ASSUME_O_DIRECTORY): Likewise.
17226 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17227 architecture but not kernel version.
17228 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17229 (__ASSUME_MMAP2_SYSCALL): Likewise.
17230 (__ASSUME_STAT64_SYSCALL): Likewise.
17231 (__ASSUME_IPC64): Likewise.
17232 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17233 <kernel-features.h>.
17234 [__ASSUME_32BITUIDS]: Make code unconditional.
17235 [!__ASSUME_32BITUIDS]: Remove conditional code.
17236 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17237 <kernel-features.h>.
17238 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17239 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17240 132096]: Remove conditional code.
17241 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17242 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17243 <kernel-features.h>.
17244 [__ASSUME_32BITUIDS]: Make code unconditional.
17245 [!__ASSUME_32BITUIDS]: Remove conditional code.
17246 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17247 <kernel-features.h>.
17248 [__ASSUME_32BITUIDS]: Make code unconditional.
17249 [!__ASSUME_32BITUIDS]: Remove conditional code.
17250 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17251 <kernel-features.h>.
17252 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17253 unconditional.
17254 (__setresgid): Do not declare.
17255 [__ASSUME_32BITUIDS]: Make code unconditional.
17256 [!__ASSUME_32BITUIDS]: Remove conditional code.
17257 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17258 <kernel-features.h>.
17259 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17260 unconditional.
17261 (__setresuid): Do not declare.
17262 [__ASSUME_32BITUIDS]: Make code unconditional.
17263 [!__ASSUME_32BITUIDS]: Remove conditional code.
17264 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17265 <kernel-features.h>.
17266 [__ASSUME_32BITUIDS]: Make code unconditional.
17267 [!__ASSUME_32BITUIDS]: Remove conditional code.
17268 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17269 <kernel-features.h>.
17270 [__ASSUME_32BITUIDS]: Make code unconditional.
17271 [!__ASSUME_32BITUIDS]: Remove conditional code.
17272
172732012-05-25 Richard Henderson <rth@twiddle.net>
17274
17275 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17276 dl_hwcap to ifunc resolver.
17277 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17278 elf_ifunc_invoke.
17279 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17280 dl_hwcap to ifunc resolver.
17281 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17282
172832012-05-24 Joseph Myers <joseph@codesourcery.com>
17284
17285 [BZ #14153]
17286 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17287 for |x| <= 2**-26, not 2**-57.
17288 * math/libm-test.inc (acos_test): Do not allow spurious underflow
17289 exception.
17290
172912012-05-24 Jeff Law <law@redhat.com>
17292
17293 * stdio-common/Makefile (tests): Add bug25.
17294 * stdio-common/bug25.c: New test.
17295
172962012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17297
17298 [BZ #13576]
17299 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17300 multiple of MALLOC_ALIGNMENT in size.
17301 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17302
173032012-05-24 Joseph Myers <joseph@codesourcery.com>
17304
17305 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17306 Require >= 256.
17307 (FILENAME_MAX): Use macro-int-constant.
17308 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
17309 (_IOFBF): Use macro-int-constant.
17310 (_IOLBF): Likewise.
17311 (_IONBF): Likewise.
17312 (SEEK_CUR): Likewise.
17313 (SEEK_END): Likewise.
17314 (SEEK_SET): Likewise.
17315 (TMP_MAX): Likewise.
17316 (EOF): Use macro-int-constant. Require < 0.
17317 (NULL): Use macro-constant. Require == 0.
17318 (stdin): Require type to be FILE *.
17319 (stdout): Likewise.
17320 (stderr): Likewise.
17321 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17322 macro-int-constant.
17323 (EXIT_SUCCESS): Likewise.
17324 (NULL): Use macro-constant. Require == 0.
17325 (RAND_MAX): Use macro-int-constant.
17326 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17327 [C99-based standards] (strtof): Require function.
17328 [C99-based standards] (strtold): Likewise.
17329 [C99-based standards] (strtoll): Likewise.
17330 [C99-based standards] (strtoull): Likewise.
17331 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17332 [ISO || ISO99 || ISO11] (limits.h): Likewise.
17333 [ISO || ISO99 || ISO11] (math.h): Likewise.
17334 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
17335 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17337
173382012-05-24 Andreas Schwab <schwab@linux-m68k.org>
17339
17340 [BZ #14132]
17341 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
17342 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
17343 * intl/dgettext.c (DCGETTEXT): Likewise.
17344 * intl/gettext.c (DCGETTEXT): Likewise.
17345 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
17346 * posix/regex_internal.h (gettext): Likewise.
17347 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
17348 Remove declaration.
17349 * include/argz.h (__argz_count_internal)
17350 (__argz_stringify_internal): Remove declaration.
17351 (__argz_count, __argz_stringify): Declare hidden proto.
17352 * intl/dcgettext.c: Remove use of INTDEF.
17353 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
17354 * string/argz-stringify.c: Likewise.
17355 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17356 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17357 Declare hidden proto.
17358 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
17359 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
17360 Declare hidden proto.
17361 * include/stdio.h (__asprintf_internal): Don't declare.
17362 (__asprintf): Don't define as macro. Declare hidden proto.
17363 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
17364 (__fsetlocking): Declare hidden proto.
17365 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
17366 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
17367 hidden proto.
17368 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
17369 (_IO_setlinebuf): Remove use of INTUSE.
17370 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
17371 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
17372 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
17373 Remove declaration.
17374 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
17375 (_IO_do_flush): Remove use of INTUSE.
17376 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
17377 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
17378 (_IO_adjust_column, _IO_least_wmarker)
17379 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
17380 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
17381 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
17382 (_IO_default_doallocate, _IO_wdefault_doallocate)
17383 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
17384 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
17385 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
17386 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
17387 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
17388 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
17389 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
17390 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
17391 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
17392 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
17393 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
17394 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
17395 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
17396 proto.
17397 (_IO_flush_all_internal, _IO_adjust_column_internal)
17398 (_IO_default_uflow_internal, _IO_default_finish_internal)
17399 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
17400 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
17401 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
17402 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
17403 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
17404 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
17405 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
17406 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
17407 (_IO_file_close_internal, _IO_file_close_it_internal)
17408 (_IO_file_underflow_internal, _IO_file_overflow_internal)
17409 (_IO_file_init_internal, _IO_file_attach_internal)
17410 (_IO_file_fopen_internal, _IO_file_read_internal)
17411 (_IO_file_sync_internal, _IO_file_seek_internal)
17412 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
17413 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
17414 (_IO_str_underflow_internal, _IO_str_overflow_internal)
17415 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
17416 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
17417 (_IO_list_all_internal, _IO_link_in_internal)
17418 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
17419 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
17420 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
17421 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
17422 (_IO_do_write_internal, _IO_padn_internal)
17423 (_IO_getline_info_internal, _IO_getline_internal)
17424 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
17425 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
17426 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
17427 (_IO_vfscanf_internal, _IO_vfprintf_internal)
17428 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
17429 (_IO_init_internal, _IO_un_link_internal): Don't declare.
17430 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
17431 with libc_hidden_ver, remove use of INTUSE.
17432 * libio/genops.c: Likewise.
17433 * libio/freopen.c: Likewise.
17434 * libio/freopen64.c: Likewise.
17435 * libio/iofclose.c: Likewise.
17436 * libio/iofdopen.c: Likewise.
17437 * libio/iofflush.c: Likewise.
17438 * libio/iofflush_u.c: Likewise.
17439 * libio/iofgets.c: Likewise.
17440 * libio/iofgets_u.c: Likewise.
17441 * libio/iofopen.c: Likewise.
17442 * libio/iofopncook.c: Likewise.
17443 * libio/iofread.c: Likewise.
17444 * libio/iofread_u.c: Likewise.
17445 * libio/ioftell.c: Likewise.
17446 * libio/iofwrite.c: Likewise.
17447 * libio/iogetline.c: Likewise.
17448 * libio/iogets.c: Likewise.
17449 * libio/iogetwline.c: Likewise.
17450 * libio/iopadn.c: Likewise.
17451 * libio/iopopen.c: Likewise.
17452 * libio/ioseekoff.c: Likewise.
17453 * libio/ioseekpos.c: Likewise.
17454 * libio/iosetbuffer.c: Likewise.
17455 * libio/iosetvbuf.c: Likewise.
17456 * libio/ioungetc.c: Likewise.
17457 * libio/ioungetwc.c: Likewise.
17458 * libio/iovdprintf.c: Likewise.
17459 * libio/iovsprintf.c: Likewise.
17460 * libio/iovsscanf.c: Likewise.
17461 * libio/memstream.c: Likewise.
17462 * libio/obprintf.c: Likewise.
17463 * libio/oldfileops.c: Likewise.
17464 * libio/oldiofclose.c: Likewise.
17465 * libio/oldiofdopen.c: Likewise.
17466 * libio/oldiofopen.c: Likewise.
17467 * libio/oldiopopen.c: Likewise.
17468 * libio/oldstdfiles.c: Likewise.
17469 * libio/putc.c: Likewise.
17470 * libio/setbuf.c: Likewise.
17471 * libio/setlinebuf.c: Likewise.
17472 * libio/stdfiles.c: Likewise.
17473 * libio/strops.c: Likewise.
17474 * libio/vasprintf.c: Likewise.
17475 * libio/vscanf.c: Likewise.
17476 * libio/vsnprintf.c: Likewise.
17477 * libio/vswprintf.c: Likewise.
17478 * libio/wfiledoalloc.c: Likewise.
17479 * libio/wfileops.c: Likewise.
17480 * libio/wgenops.c: Likewise.
17481 * libio/wmemstream.c: Likewise.
17482 * libio/wstrops.c: Likewise.
17483 * libio/__fpurge.c: Likewise.
17484 * libio/__fsetlocking.c: Likewise.
17485 * assert/assert.c: Likewise.
17486 * debug/fgets_chk.c: Likewise.
17487 * debug/fgets_u_chk.c: Likewise.
17488 * debug/fread_chk.c: Likewise.
17489 * debug/fread_u_chk.c: Likewise.
17490 * debug/gets_chk.c: Likewise.
17491 * debug/obprintf_chk.c: Likewise.
17492 * debug/vasprintf_chk.c: Likewise.
17493 * debug/vdprintf_chk.c: Likewise.
17494 * debug/vsnprintf_chk.c: Likewise.
17495 * debug/vsprintf_chk.c: Likewise.
17496 * malloc/mtrace.c: Likewise.
17497 * misc/error.c: Likewise.
17498 * misc/syslog.c: Likewise.
17499 * stdio-common/asprintf.c: Likewise.
17500 * stdio-common/fxprintf.c: Likewise.
17501 * stdio-common/getw.c: Likewise.
17502 * stdio-common/isoc99_fscanf.c: Likewise.
17503 * stdio-common/isoc99_scanf.c: Likewise.
17504 * stdio-common/isoc99_vfscanf.c: Likewise.
17505 * stdio-common/isoc99_vscanf.c: Likewise.
17506 * stdio-common/isoc99_vsscanf.c: Likewise.
17507 * stdio-common/printf-prs.c: Likewise.
17508 * stdio-common/printf_fp.c: Likewise.
17509 * stdio-common/printf_fphex.c: Likewise.
17510 * stdio-common/printf_size.c: Likewise.
17511 * stdio-common/putw.c: Likewise.
17512 * stdio-common/scanf.c: Likewise.
17513 * stdio-common/sprintf.c: Likewise.
17514 * stdio-common/tmpfile.c: Likewise.
17515 * stdio-common/vfprintf.c: Likewise.
17516 * stdio-common/vfscanf.c: Likewise.
17517 * stdlib/strfmon_l.c: Likewise.
17518 * sunrpc/openchild.c: Likewise.
17519 * sunrpc/xdr_stdio.c: Likewise.
17520 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17521 * sysdeps/mach/hurd/tmpfile.c: Likewise.
17522
175232012-05-24 Roland McGrath <roland@hack.frob.com>
17524
17525 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17526
17527 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
17528 in the third column, to generate for the shared library an IFUNC
17529 that uses _dl_vdso_vsym.
17530 * Makerules (COMPILE.c, compile-stdin.c): New variables.
17531 * Makeconfig (object-suffixes-noshared): New variable.
17532
17533 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
17534 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
17535 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
17536 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
17537
17538 [BZ #14132]
17539 * include/sys/time.h (__gettimeofday): Remove macro.
17540 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
17541 * time/gettimeofday.c (__gettimeofday): Remove #undef.
17542 Remove INTDEF.
17543 (__gettimeofday): Add libc_hidden_def.
17544 (gettimeofday): Add libc_hidden_weak.
17545 * sysdeps/mach/gettimeofday.c: Likewise.
17546 * sysdeps/posix/gettimeofday.c: Likewise.
17547 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17548 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
17549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
17550 (__gettimeofday_internal): Remove strong_alias.
17551 (__gettimeofday): Add libc_hidden_def.
17552 (gettimeofday): Add libc_hidden_weak.
17553 * sysdeps/unix/syscalls.list (gettimeofday):
17554 Remove __gettimeofday_internal alias.
17555
175562012-05-24 Daniel Jacobowitz <drow@false.org>
17557 H.J. Lu <hongjiu.lu@intel.com>
17558
17559 [BZ #12495]
17560 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
17561 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
17562 (largebin_index_32_big): New.
17563 (largebin_index): Use it for 16-byte alignment.
17564 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
17565 correction with front_misalign.
17566
175672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
17568
17569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
17570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17571 Likewise.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
17573 Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17575 Likewise.
17576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
17577 Likewise.
17578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
17579 Likewise.
17580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
17581 Likewise.
17582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
17583 Likewise.
17584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
17585 Likewise.
17586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
17587 Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
17589 Likewise.
17590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17591 Likewise.
17592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
17593 Likewise.
17594
17595 * scripts/data/c++-types-x32-linux-gnu.data: New file.
17596 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
17597
175982012-05-24 Joseph Myers <joseph@codesourcery.com>
17599
17600 [BZ #10846]
17601 [BZ #14036]
17602 * math/libm-test.inc (exp_test): Add test from bug 14036.
17603 (pow_test): Add test from bug 10846.
17604
17605 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
17606 and other flags.
17607 (special_function): Do not include flags in test name.
17608 (parse_args): Likewise.
17609 * sysdeps/i386/fpu/libm-test-ulps: Update.
17610 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17611 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17612 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17614
17615 * math/gen-libm-test.pl (%beautify): Add entries for underflow
17616 exceptions.
17617 * math/libm-test.inc ("Philosophy"): Update comment about
17618 exception testing.
17619 (UNDERFLOW_EXCEPTION): New macro.
17620 (UNDERFLOW_EXCEPTION_OK): Likewise.
17621 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
17622 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
17623 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
17624 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
17625 (INVALID_EXCEPTION_OK): Update value.
17626 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17627 (OVERFLOW_EXCEPTION_OK): Likewise.
17628 (IGNORE_ZERO_INF_SIGN): Likewise.
17629 (test_exceptions): Handle underflow exceptions.
17630 (acos_test): Update for underflow exception expectations.
17631 (cexp_test): Likewise.
17632 (clog_test): Likewise.
17633 (clog10_test): Likewise.
17634 (csqrt_test): Likewise.
17635 (ctan_test): Likewise.
17636 (ctanh_test): Likewise.
17637 (exp_test): Likewise.
17638 (exp10_test): Likewise.
17639 (exp2_test): Likewise.
17640 (expm1_test): Likewise.
17641 (fma_test): Likewise.
17642 (j0_test): Likewise.
17643 (jn_test): Likewise.
17644 (nexttoward_test): Likewise.
17645 (pow_test): Likewise.
17646 (scalbn_test): Likewise.
17647 (scalbln_test): Likewise.
17648 (tan_test): Likewise.
17649 (y1_test): Likewise.
17650 * sysdeps/i386/fpu/libm-test-ulps: Update.
17651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17652
176532012-05-23 David S. Miller <davem@davemloft.net>
17654
17655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17656 (__libc_sigaction): Remove unused local variables.
17657
176582012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17659
17660 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17661
176622012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17663
17664 mktime: avoid signed integer overflow
17665 * time/mktime.c (__mktime_internal): Do not mishandle the case
17666 where diff == INT_MIN.
17667
17668 mktime: simplify computation of average
17669 * time/mktime.c (ranged_convert): Use new time_t_avg function
17670 instead of rolling our own (probably-slower) code.
17671
17672 mktime: do not assume signed right shift propagates sign bit
17673 * time/mktime.c (isdst_differ): New static function.
17674 (__mktime_internal): No need to normalize tm_isdst now.
17675 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17676 tm_isdst values.
17677
17678 mktime: merge another wrapv change from gnulib
17679 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17680 from some compilers.
17681
17682 mktime: remove incorrect attempt at unusual arithmetics
17683 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17684 The code didn't really work on such machines anyway.
17685 (TYPE_MINIMUM): Assume two's complement.
17686 (twos_complement_arithmetic): Verify that long_int and time_t
17687 are two's complement (or unsigned, in the latter case).
17688
17689 mktime: check signed shifts on long_int and time_t, too
17690 * time/mktime.c (SHR): Check that shifts work as desired
17691 on the types long_int and time_t too, as SHR is used on
17692 such types.
17693
17694 mktime: do not assume 'long' is wide enough
17695 * time/mktime.c (verify): Move decl up.
17696 (long_int): New type.
17697 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17698 to remove assumption in the code that 'long' is wide enough to
17699 store year values. This assumption is not true on x32 and on
17700 some non-glibc platforms.
17701
17702 mktime: merge wrapv change from gnulib
17703 * time/mktime.c (WRAPV): New macro.
17704 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17705 (guess_time_tm, __mktime_internal): Do not assume that signed
17706 integer overflow wraps around; modern compilers generate code
17707 where this assumption is no longer valid.
17708
177092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17712 Replace "jmp L(pseudo_end)" with "ret".
17713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17714 Likewise.
17715
177162012-05-23 Andreas Jaeger <aj@suse.de>
17717
17718 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17719 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17720
177212012-05-23 Andreas Jaeger <aj@suse.de>
17722 Maximilian Attems <max@stro.at>
17723
17724 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17725 New macros.
17726
177272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17728
17729 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17730 code so that pseudo_end is just ret and the stack pointer is
17731 correct also for static library in error case.
17732
177332012-05-23 Joseph Myers <joseph@codesourcery.com>
17734
17735 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17736 move to syscalls.list.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17741
17742 * manual/install.texi (Running make install): Do not mention Linux
17743 kernel version for which pt_chown is not needed.
17744 (Linux): Do not mention problems with nscd with 2.0 kernels.
17745 * INSTALL: Regenerated.
17746
177472012-05-23 Andreas Jaeger <aj@suse.de>
17748
17749 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17750 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17751 macro.
17752 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17754 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17756 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17758 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17760 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17761 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17762 * sysdeps/unix/sysv/linux/bits/in.h
17763 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17764
177652012-05-22 Roland McGrath <roland@hack.frob.com>
17766
17767 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17768 (PREPARE_VERSION): Just use assert instead, it will be elided
17769 under [NDEBUG] anyway.
17770
177712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17772
17773 * sysdeps/unix/sysv/linux/Makefile: Include
17774 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
17775 (sysdep_routines): Remove sysctl.
17776 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17777 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17778 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17779 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17780 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17781
177822012-05-22 Andreas Jaeger <aj@suse.de>
17783
17784 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17785 that pseudo_end is just ret and the stack pointer is correct also
17786 for static library in error case.
17787
177882012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17789
17790 [BZ #14122]
17791 * nss/nsswitch.c (defconfig_entries): New variable.
17792 (__nss_database_lookup): Don't leak defconfig entries.
17793 (nss_parse_service_list): Don't leak on error paths.
17794 (free_database_entries): New function.
17795 (free_defconfig): New function.
17796 (free_mem): Move common code to free_database_entries.
17797
177982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17799
17800 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17801 Add arch_prctl.
17802 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17803
17804 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17805 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17807 New macro.
17808 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17809 (INTERNAL_SYSCALL_TYPES): Likewise.
17810 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17811 (LOAD_REGS_TYPES_[1-6]): Likewise.
17812 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17813 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17814
178152012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17816
17817 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17818 copysignl for GLIBC_2_0.
17819 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17820 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17821 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17822 logbl for GLIBC_2_0.
17823 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17824 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17825
178262012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17827
17828 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17829 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17830
17831 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17832 Use "neg %eax".
17833
17834 * time/mktime.c: Update copyright years.
17835
178362012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17837
17838 mktime: merge comment-quoting-style change from gnulib
17839 * time/mktime.c: Quote 'like this' in comments.
17840 The GNU coding standards suggest that we no longer quote `like this',
17841 as "`" and "'" are typically rendered asymmetrically nowadays.
17842 The typical gnulib style is to quote 'like this' when quoting
17843 code, and "like this" when quoting English.
17844
17845 * time/mktime.c (compile-command): Add "-I.".
17846
17847 mktime: merge mktime-internal.h change from gnulib
17848 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17849
17850 mktime: merge time_r change from gnulib
17851 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17852
17853 mktime: merge DEBUG change from gnulib
17854 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17855 case system <time.h> has a #define.
17856
17857 mktime: merge <sys/types.h> change from gnulib
17858 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17859 since <time.t> is now guaranteed to define time_t.
17860
17861 mktime: merge HAVE_CONFIG_H change from gnulib
17862 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17863
178642012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17865
17866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17867 Use "neg %eax".
17868
17869 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17870 __rlim_t cast.
17871 (struct rusage): Use anonymous union to pad each field to
17872 __syscall_slong_t.
17873
178742012-05-21 David S. Miller <davem@davemloft.net>
17875
17876 * Makefules (o-iterator): Remove .s cases.
17877 (compile-command.s): Delete.
17878 (COMPILE.s): Delete.
17879 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17880
178812012-05-21 Joseph Myers <joseph@codesourcery.com>
17882
17883 * configure.in (libc_cv_predef_stack_protector): Only consider
17884 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17885 * configure: Regenerated.
17886
178872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17888
17889 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17890 New macro. Use R*LP on int and pointer.
17891 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
17892 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17893 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
17894 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17895
17896 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17897 [__WORDSIZE_TIME64_COMPAT32] instead of
17898 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17899 (struct utmp): Likewise.
17900 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17901 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17902 Renamed to ...
17903 (__WORDSIZE_TIME64_COMPAT32): This.
17904 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17905 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17906 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17907 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17908 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17909 (__WORDSIZE_TIME64_COMPAT32): New macro.
17910
179112012-05-21 Andreas Jaeger <aj@suse.de>
17912
17913 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17914 only if [SHARED]. Add prototype for __wcschr_ia32.
17915
179162012-05-21 Roland McGrath <roland@hack.frob.com>
17917
17918 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17919 of %rbp unmolested in the jmp_buf while mangling the low bits.
17920 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17921 unmolested high bits of %rbp while demangling the low bits.
17922 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17923
179242012-05-21 Andreas Jaeger <aj@suse.de>
17925
17926 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17927 * sunrpc/svc_simple.c: Use it for registerrpc.
17928 * sunrpc/xcrypt.c: Use it for passwd2des.
17929
17930 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17931
179322012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17933
17934 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17935 Don't define if [__SYSCALL_WORDSIZE != 32].
17936 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17937 New macro.
17938
179392012-05-21 Bruno Haible <bruno@clisp.org>
17940 Andreas Jaeger <aj@suse.de>
17941
17942 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17943 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17944 inptr and inend for must_buffer_ch.
17945 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17946 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17947 * stdio-common/Makefile (tests): Remove bug15.
17948 (bug15-ENV): Remove macro.
17949 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17950 anymore.
17951
179522012-05-19 Andreas Jaeger <aj@suse.de>
17953 Roland McGrath <roland@hack.frob.com>
17954
17955 * manual/contrib.texi: Completely rewritten. It contains now an
17956 alphabetical list of contributors and their contributions.
17957
179582012-05-21 Richard Henderson <rth@twiddle.net>
17959
17960 * misc/getauxval.c (__getauxval): Use unsigned long int.
17961 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17962 (getauxval): Use unsigned long int.
17963
179642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17965
17966 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17967
179682012-05-21 Roland McGrath <roland@hack.frob.com>
17969
17970 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17971 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17972 __alignof__ (long double).
17973
179742012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17975
17976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17977
179782012-05-20 Richard Henderson <rth@twiddle.net>
17979
17980 * misc/getauxval.c: New file.
17981 * misc/sys/auxv.h: New file.
17982 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17983 (routines): Add getauxval.
17984 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17985 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17986 * elf/dl-sysdep.c (_dl_auxv): Remove.
17987 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17988 * elf/dl-support.c (_dl_auxv): New variable.
17989 (_dl_aux_init): Initialize it.
17990 * manual/startup.texi (Auxiliary Vector): New node.
17991 * sysdeps/generic/bits/hwcap.h: New file.
17992 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17993 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17994 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17995 * sysdeps/sparc/sysdep.h: ... here. Include it.
17996 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17999 Update.
18000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18003 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18008
180092012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18010
18011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18012
180132012-05-19 David S. Miller <davem@davemloft.net>
18014
18015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18016
180172012-05-19 Joseph Myers <joseph@codesourcery.com>
18018
18019 [BZ #14123]
18020 * math/s_ccosh.c: Include <float.h>
18021 (__ccosh): Avoid internal overflow calculating sinh and cosh
18022 values before multiplying by sin and cos values.
18023 * math/s_ccoshf.c: Likewise.
18024 * math/s_ccoshl.c: Likewise.
18025 * math/s_csin.c: Likewise.
18026 * math/s_csinf.c: Likewise.
18027 * math/s_csinl.c: Likewise.
18028 * math/s_csinh.c: Likewise.
18029 * math/s_csinhf.c: Likewise.
18030 * math/s_csinhl.c: Likewise.
18031 * math/libm-test.inc (ccos_test): Add more tests.
18032 (ccosh_test): Likewise.
18033 (csin_test): Likewise.
18034 (csinh_test): Likewise.
18035 * sysdeps/i386/fpu/libm-test-ulps: Update.
18036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18037
180382012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18039
18040 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18041 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18042
18043 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18044
180452012-05-19 Joseph Myers <joseph@codesourcery.com>
18046
18047 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18048 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18049 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18050 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18051 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18052 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18053 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18054 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18055 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18056 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18057 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18058 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18059 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18060 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18061 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18062 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18063 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18064 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18065 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18066 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18067 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18068 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18069 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18070 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18071 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18072 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18073 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18074 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18075 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18076 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18077 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18078
180792012-05-18 Andreas Jaeger <aj@suse.de>
18080
18081 * csu/.gitignore: Delete.
18082
180832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18084
18085 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18086 (timex): Use __syscall_slong_t.
18087
180882012-05-18 Andreas Jaeger <aj@suse.de>
18089 Carlos O'Donell <carlos_odonell@mentor.com>
18090
18091 * manual/install.texi (Configuring and compiling): Update
18092 description about files modified in the source directory.
18093 * INSTALL: Regenerated.
18094
180952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18096
18097 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18098 value. Use "or" to set return value to -1.
18099 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18100 negate return value.
18101
181022012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18103
18104 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18105 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18106 failure if the compiler has Graphite support disabled.
18107 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18108 Likewise.
18109 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18110 CFLAGS-memmove.c): Likewise.
18111 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18112 Likewise.
18113
181142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18115
18116 * sysdeps/x86_64/x32/_itoa.h: New file.
18117
18118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18119 getdents system call only if kernel and user dirents have the
18120 same d_ino and d_off.
18121
18122 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18123 LLONG_MAX != LONG_MAX.
18124 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18125 (_fitoa_word): Likewise.
18126
18127 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18128 years.
18129 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18130 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18131 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18132
18133 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18134 include <bits/wordsize.h>. Check __x86_64__ instead of
18135 __WORDSIZE.
18136 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18137 if __x86_64__ is defined. Use anonymous union on fpstate.
18138
18139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18140 anonymous union.
18141
181422012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18143
18144 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18145 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18146 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18147 Refer to _rtld_local_ro instead of _rtld_global_ro.
18148 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18149 Likewise.
18150 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18151 Likewise.
18152 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18153 Likewise.
18154 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18155 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18156 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18157
18158 * sysdeps/powerpc/powerpc32/dl-machine.c
18159 (__elf_machine_runtime_setup) [PROF]: Don't reference
18160 _dl_prof_resolve.
18161
181622012-05-18 Andreas Jaeger <aj@suse.de>
18163
18164 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18165 function only available for GCCs before 3.4 since GCC 3.4
18166 introduced a builtin.
18167 (lrint): Likewise.
18168 (llrintf): Likewise.
18169 (llrint): Likewise.
18170 (fmaxf): Likewise.
18171 (fmax): Likewise.
18172 (fminf): Likewise.
18173 (fmin): Likewise.
18174 (rint): Likewise.
18175 (rintf): Likewise.
18176 (nearbyint): Likewise.
18177 (nearbyintf): Likewise.
18178 (ceil): Likewise.
18179 (ceilf): Likewise.
18180 (floor): Likewise.
18181 (floorf): Likewise.
18182
181832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18184
18185 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18186 on both fields and cast pointer to __syscall_ulong_t.
18187
18188 * bits/types.h (__fsword_t): New type.
18189 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18190 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18191 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18192 (__FSWORD_T_TYPE): Likewise.
18193 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18194 (__FSWORD_T_TYPE): Likewise.
18195 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18196 (__FSWORD_T_TYPE): Likewise.
18197 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18198 (__FSWORD_T_TYPE): Likewise.
18199 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18200 __SWORD_TYPE with __fsword_t.
18201 (statfs64): Likewise.
18202
182032012-05-17 David S. Miller <davem@davemloft.net>
18204
18205 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18206
182072012-05-17 Andreas Jaeger <aj@suse.de>
18208
18209 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18210 warning.
18211
182122012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18213
18214 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18215
182162012-05-17 Andreas Jaeger <aj@suse.de>
18217
18218 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18219 when it is used.
18220
182212012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18222
18223 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18224
182252012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18226
18227 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18228 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18229
182302012-05-17 Andreas Jaeger <aj@suse.de>
18231 Carlos O'Donell <carlos_odonell@mentor.com>
18232
18233 [BZ #14059]
18234 * sysdeps/x86_64/multiarch/init-arch.h
18235 (bit_YMM_Usable): Rename to...
18236 (bit_AVX_Usable): ... this.
18237 (bit_FMA4_Usable): New macro.
18238 (bit_XMM_state): New macro.
18239 (bit_YMM_state): New macro.
18240 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18241 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18242 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18243 (CPUID_OSXSAVE): New macro.
18244 (CPUID_AVX): New macro.
18245 (CPUID_FMA4): New macro.
18246 (index_YMM_Usable): Rename to...
18247 (index_AVX_Usable): ... this.
18248 (HAS_AVX): Use HAS_ARCH_FEATURE.
18249 (HAS_FMA4): Likewise.
18250 (HAS_YMM_USABLE): Remove.
18251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18252 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18253 are present.
18254 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18255 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18256 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18257 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18258 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18259
182602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18261
18262 * math/libm-test.c: Support platforms without multiple rounding modes.
18263 * math/bug-nextafter.c: Support platforms without FP exceptions.
18264 * math/bug-nexttoward.c: Likewise.
18265 * math/test-fenv.c: Likewise.
18266 * math/test-misc.c: Likewise.
18267 * stdlib/bug-getcontext.c: Likewise.
18268
182692012-05-17 Andreas Jaeger <aj@suse.de>
18270
18271 * manual/examples/search.c (critter_cmp): Change signature to
18272 avoid warnings.
18273 * manual/string.texi (Collation Functions): Likewise.
18274
182752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18276
18277 * bits/types.h: Fold copyright years.
18278 * bits/typesizes.h: Likewise.
18279 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18280 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18283 * time/time.h: Likewise.
18284
182852012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
18286
18287 [BZ #208]
18288 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18289 in instead of returning them. Return void.
18290 (__libc_mallinfo): Accumulate over all arenas.
18291 (__malloc_stats): Adjust for change in int_mallinfo interface.
18292
182932012-05-16 Roland McGrath <roland@hack.frob.com>
18294
18295 [BZ #10375]
18296 * configure.in (NM): Add AC_CHECK_TOOL for it.
18297 (libc_extra_cflags): New substituted variable.
18298 Check for -fstack-protector being used implicitly.
18299 * configure: Regenerated.
18300 * config.make.in (config-extra-cflags): New variable,
18301 gets @libc_extra_cflags@.
18302 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18303
18304 [BZ #10375]
18305 * configure.in: Check for _FORTIFY_SOURCE being predefined.
18306 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18307 * configure: Regenerated.
18308 * config.make.in (CPPUNDEFS): New substituted variable.
18309 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18310 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18311 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18312
183132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18314
18315 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18316 (mq_attr): Use __syscall_slong_t.
18317
183182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18319
18320 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18321 Check __x86_64__ instead of __WORDSIZE.
18322 (_STAT_VER_LINUX): Likewise.
18323 (stat): Check __x86_64__ instead of __WORDSIZE. Use
18324 __syscall_ulong_t and __syscall_slong_t.
18325 (stat64): Likewise.
18326
183272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18328
18329 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
18330
183312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18332
18333 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
18334
183352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18336
18337 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
18338 __syscall_ulong_t.
18339
18340 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
18341 include <bits/wordsize.h>. Check __x86_64__ instead of
18342 __WORDSIZE.
18343 (greg_t): Use "__extension__ long long int" if __x86_64__ is
18344 defined.
18345 (mcontext_t): Replace "unsigned long" with "unsigned long long".
18346
18347 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
18348 include <bits/wordsize.h>. Check __x86_64__ instead of
18349 __WORDSIZE.
18350 (user_regs_struct): Use "__extension__ unsigned long long"
18351 instead of "unsigned long" if __x86_64__ is defined.
18352 (user): Likewise. Pad after pointer field if __ILP32__ is
18353 defined.
18354
183552012-05-16 Joseph Myers <joseph@codesourcery.com>
18356
18357 * configure.in (makeinfo): Require version 4.5 or later. Allow
18358 versions 5 to 9.
18359 * configure: Regenerated.
18360 * manual/install.texi (texinfo): Increase version requirement to
18361 4.5 or later.
18362 * INSTALL: Regenerated.
18363
18364 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
18365
183662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18367
18368 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
18369
18370 * sysdeps/x86_64/x32/ffs.c: New file.
18371
18372 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
18373 __syscall_ulong_t.
18374 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
18375 defined. Use __syscall_ulong_t.
18376 (shminfo): Use __syscall_ulong_t.
18377 (shm_info): Likewise.
18378
18379 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
18380 __syscall_ulong_t.
18381
18382 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
18383 <bits/wordsize.h>.
18384 (msgqnum_t): Use __syscall_ulong_t.
18385 (msglen_t): Likewise.
18386 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
18387 __syscall_ulong_t.
18388
18389 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
18390 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18391
18392 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
18393
18394 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
18395 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
18396
18397 * sysvipc/sys/msg.h (msgbuf): Replace long int with
18398 __syscall_slong_t.
18399
18400 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
18401 include <bits/wordsize.h>. Check __x86_64__ instead of
18402 __WORDSIZE.
18403
18404 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
18405 "unsigned long long int" if __x86_64__ is defined.
18406 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
18407
18408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
18409 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18410 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
18411
18412 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
18413 <stdint.h>.
18414 (GET_PC): Cast to uintptr_t first.
18415 (GET_FRAME): Likewise.
18416 (GET_STACK): Likewise.
18417
18418 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
18419 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
18420 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
18421 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
18422 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
18423 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
18424 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
18425 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
18426 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
18427 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
18429 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18431 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
18432 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
18436 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
18438 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
18439 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
18440 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
18441 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
18442 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
18443 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
18444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
18445 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
18446 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
18447
184482012-05-16 Andreas Schwab <schwab@linux-m68k.org>
18449
18450 * Makerules (+depfiles): Also collect depfiles from .oS in
18451 $(extra-objs).
18452 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
18453 .oS, $(libnldbl-routines)).
18454
18455 * Makerules (native-compile-mkdep-flags): Define.
18456 * sunrpc/Makefile (extra-objs): Add $(addprefix
18457 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
18458 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
18459 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
18460 calling $(make-target-directory).
18461
184622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18463
18464 * bits/types.h (__snseconds_t): Removed.
18465 * time/time.h (struct timespec): Replace __snseconds_t with
18466 __syscall_slong_t.
18467 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
18468 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
18469 Likewise.
18470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18471 (__SNSECONDS_T_TYPE): Likewise.
18472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18473 (__SNSECONDS_T_TYPE): Likewise.
18474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18475 (__SNSECONDS_T_TYPE): Likewise.
18476
184772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18478
18479 * sysdeps/mach/hurd/bits/typesizes.h
18480 (__SYSCALL_SLONG_TYPE): New macro.
18481 (__SYSCALL_ULONG_TYPE): Likewise.
18482
184832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18484
18485 * bits/types.h (__syscall_slong_t): New type.
18486 (__syscall_ulong_t): Likewise.
18487
18488 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
18489 (__SYSCALL_ULONG_TYPE): Likewise.
18490 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18491 (__SYSCALL_SLONG_TYPE): Likewise.
18492 (__SYSCALL_ULONG_TYPE): Likewise.
18493 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18494 (__SYSCALL_SLONG_TYPE): Likewise.
18495 (__SYSCALL_ULONG_TYPE): Likewise.
18496 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18497 (__SYSCALL_SLONG_TYPE): Likewise.
18498 (__SYSCALL_ULONG_TYPE): Likewise.
18499
185002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18501
18502 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
18503 Add sigaltstack-offsets.sym.
18504 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
18505 <sigaltstack-offsets.h>.
18506 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
18507 longjmp_msg pointer.
18508 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
18509 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
18510 signal stack.
18511 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
18512
185132012-05-15 Joseph Myers <joseph@codesourcery.com>
18514
18515 * elf/stackguard-macros.h: Remove file.
18516 * sysdeps/generic/stackguard-macros.h: New file.
18517 * sysdeps/i386/stackguard-macros.h: Likewise.
18518 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18519 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18520 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18521 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18522 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18523 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18524 * sysdeps/x86_64/stackguard-macros.h: Likewise.
18525 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
18526 <elf/stackguard-macros.h>.
18527
18528 [BZ #14109]
18529 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
18530 __aligned__ in attribute.
18531 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
18532 (gregset_t): Likewise.
18533
185342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18535
18536 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
18537 * sysdeps/x86_64/64/Implies-after: Here. New file.
18538 * sysdeps/x86_64/x32/Implies-after: New file.
18539
185402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18541
18542 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
18543 and access return value for _dl_profile_fixup. Use R10_LP to
18544 load frame size.
18545
185462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18547
18548 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18549
185502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18551
18552 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
18553 * sysdeps/x86_64/x32/sysdep.h: New file.
18554
185552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18556
18557 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
18558 * sysdeps/x86_64/setjmp.S: Likewise.
18559
185602012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18561
18562 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
18563 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
18564 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
18565 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
18566 remove unused global constant.
18567
185682012-05-15 Chris Metcalf <cmetcalf@tilera.com>
18569
18570 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
18571 include of <not-cancel.h>.
18572
185732012-05-15 Roland McGrath <roland@hack.frob.com>
18574
18575 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
18576
185772012-05-15 Jeff Law <law@redhat.com>
18578 Andreas Jaeger <aj@suse.de>
18579
18580 [BZ #13594]
18581 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
18582 out from...
18583 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
18584 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
18585 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
18586 code changing __hst_map_handle.map.
18587
185882012-05-15 Roland McGrath <roland@hack.frob.com>
18589
18590 * configure.in (sysnames): Look for Implies-before and Implies-after
18591 files.
18592 * configure: Regenerated.
18593
185942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18595
18596 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
18597 8-byte data alignment with LP_SIZE alignment.
18598
185992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18600
18601 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
18602 into R10_LP.
18603
186042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18605
18606 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
18607
186082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18609
18610 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
18611 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
18612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
18613 Likewise.
18614 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18615
186162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18617
18618 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
18619 (stackinfo_sub_sp): Likewise.
18620
186212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18622
18623 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
18624 RAX_LP.
18625
186262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18627
18628 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
18629 into R*_LP.
18630
186312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18632
18633 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
18634 sizes into R*_LP.
18635
186362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18637
18638 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
18639
186402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18641
18642 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
18643 into R11_LP and load __x86_64_shared_cache_size_half into
18644 R8_LP.
18645
186462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
18647
18648 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
18649 R8_LP.
18650
186512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652
18653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
18654 logb for POWER7.
18655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
18656 logbf for POWER7.
18657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
18658 logbl for POWER7.
18659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
18660 powerpc32/power7/fpu/s_logb.c via #include.
18661 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18662 powerpc32/power7/fpu/s_logbf.c via #include.
18663 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18664 powerpc32/power7/fpu/s_logbl.c via #include.
18665
186662012-05-15 Joseph Myers <joseph@codesourcery.com>
18667
18668 * README.libm: Remove file.
18669
186702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18671
18672 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18673 count for x32. Use R*_LP and omit operand-size suffix.
18674
186752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18676
18677 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18678 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18679 * sysdeps/x86_64/x32/shlib-versions: New file.
18680
186812012-05-14 Roland McGrath <roland@hack.frob.com>
18682
18683 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18684 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18685 Use _dl_fatal_printf instead.
18686
186872012-05-14 Joseph Myers <joseph@codesourcery.com>
18688
18689 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18690 set if not set by the user. Do not allow for being unset.
18691 * sysdeps/unix/sysv/linux/configure: Regenerated.
18692
186932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18694
18695 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18696 the `q' suffix from lea and replace .quad with ASM_ADDR.
18697
186982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18699
18700 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18701 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18702 instead of $17.
18703 (PTR_DEMANGLE): Likewise.
18704
187052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18706
18707 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18708 (LP_OP): Likewise.
18709 (ASM_ADDR): Likewise.
18710 (RAX_LP): Likewise.
18711 (RBP_LP): Likewise.
18712 (RBX_LP): Likewise.
18713 (RCX_LP): Likewise.
18714 (RDI_LP): Likewise.
18715 (RSI_LP): Likewise.
18716 (RSP_LP): Likewise.
18717 (R8_LP): Likewise.
18718 (R9_LP): Likewise.
18719 (R10_LP): Likewise.
18720 (R10_LP): Likewise.
18721 (R11_LP): Likewise.
18722 (R12_LP): Likewise.
18723 (R13_LP): Likewise.
18724 (R14_LP): Likewise.
18725 (R15_LP): Likewise.
18726
187272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/x86_64/x32/dl-machine.h: New file.
18730
187312012-05-14 Andreas Jaeger <aj@suse.de>
18732
18733 * manual/Makefile (subdir): Remove export of subdir.
18734 (all): Remove target.
18735 (.PHONY): Remove all from list.
18736 (mkinstalldirs): Remove.
18737 (.PHONY): Remove installdirs from list.
18738 ($(inst_infodir)/libc.info): Use make-target-directory.
18739 (installdirs): Remove.
18740 (subdir_%): Remove.
18741 (glibc-targets): Remove.
18742 (lib): Remove.
18743 (stubs): Remove.
18744 ($(objpfx)stubs ../po/manual.pot): Remove.
18745 ($(objpfx)stamp%): Remove.
18746 (make-target-directory): Remove.
18747 (subdir_install): Remove.
18748 (routines): Remove.
18749 (aux): Remove.
18750 (sources): Remove.
18751 (objects): Remove.
18752 (headers): Remove.
18753
18754 [BZ #13750]
18755 * manual/.gitignore: Remove, it's not needed anymore.
18756 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18757 all files in it.
18758 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18759 directory.
18760 (texis): Renamed to $(objpfx)texis.
18761 (texis-path): New, contains path to generated files.
18762 (chapters.%): Use texis-path for complete path, add extra argument
18763 libc-texinfo.sh.
18764 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18765 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18766 (summary,texi, stamp-summary): Use complete path of
18767 files. Generate files in build dir.
18768 (dir-add.texi): Build in build dir.
18769 (libm-err.texi,stamp-libm-err): Likewise.
18770 (version.texi, stamp-version): Likewise.
18771 (.%c.texi): Likewise.
18772 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18773 (mostlyclean): Remove target.
18774 (realclean): Remove target.
18775 (generated): Add new variable with contents from mostlyclean and
18776 realclean, remove entries duplicated in common-mostlyclean, add
18777 stamp-libm-err and stamp-version.
18778 (generated-dirs): Add libc directory.
18779 ($(inst_infodir)/libc.info): Install files from build dir.
18780
18781 * manual/install.texi (Configuring and compiling): Adjust since
18782 the info files are not part of the tar ball anymore.
18783
187842012-05-14 Andreas Jaeger <aj@suse.de>
18785
18786 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18787 variable.
18788
187892012-05-14 Joseph Myers <joseph@codesourcery.com>
18790
18791 [BZ #13717]
18792 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18793 to 2.2.0 where earlier.
18794 * sysdeps/unix/sysv/linux/configure: Regenerated.
18795 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18796 Remove conditional code.
18797 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18798 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18799 Remove conditional code.
18800 [!__NR_lchown]: Likewise.
18801 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18802 [__NR_lchown]: Likewise.
18803 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18804 comment referencing __ASSUME_LCHOWN_SYSCALL.
18805 * sysdeps/unix/sysv/linux/i386/sigaction.c
18806 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18807 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18808 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18809 Remove conditional code.
18810 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18811 (__protocol_available): Remove #if 0 code.
18812 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18813 conditional code.
18814 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18815 * sysdeps/unix/sysv/linux/kernel-features.h
18816 (__ASSUME_GETCWD_SYSCALL): Don't define.
18817 (__ASSUME_REALTIME_SIGNALS): Likewise.
18818 (__ASSUME_PREAD_SYSCALL): Likewise.
18819 (__ASSUME_PWRITE_SYSCALL): Likewise.
18820 (__ASSUME_POLL_SYSCALL): Likewise.
18821 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18822 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18823 non-SPARC.
18824 (__ASSUME_SIOCGIFNAME): Don't define.
18825 (__ASSUME_MSG_NOSIGNAL): Likewise.
18826 (__ASSUME_SENDFILE): Define unconditionally.
18827 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18828 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18829 conditional code.
18830 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18831 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18832 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18833 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18834 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18835 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18836 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18838 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18841 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18844 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18847 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18850 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18851 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18853 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18856 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18857 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18859 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18860 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18861 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18862 Remove conditional code.
18863 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18864 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18865 Remove conditional code.
18866 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18867 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18868 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18869 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18870 Remove conditional code.
18871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18872 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18873 Remove conditional code.
18874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18875 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18876 Remove conditional code.
18877 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18878 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18879 Remove conditional code.
18880 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18881 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18882 Remove conditional code.
18883 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18884 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18885 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18886 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18887 * sysdeps/unix/sysv/linux/sigaction.c
18888 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18889 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18890 * sysdeps/unix/sysv/linux/sigpending.c
18891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18893 * sysdeps/unix/sysv/linux/sigprocmask.c
18894 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18895 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18896 * sysdeps/unix/sysv/linux/sigsuspend.c
18897 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18898 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18899 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18900 (__libc_missing_rt_sigs): Remove.
18901 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18902 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18903 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18904 Remove conditional code.
18905 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18906 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18907 return 1.
18908 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18909 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18910 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18911 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18912
189132012-05-14 Andreas Jaeger <aj@suse.de>
18914
18915 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18916 it's not used in glibc.
18917 (__coshm1): Likewise.
18918 (__acosh1p): Likewise.
18919 (__sgn): Likewise.
18920
18921 * manual/string.texi (Copying and Concatenation): Add missing
18922 variable in concat example.
18923 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18924
189252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18926
18927 [BZ #14103]
18928 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18929 __builtin_clzl with __builtin_clzll.
18930
189312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18932
18933 [BZ #14104]
18934 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18935 libc_freeres_ptr.
18936
189372012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18938
18939 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18940 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18941 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18942 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18943
189442012-05-14 Mike Frysinger <vapier@gentoo.org>
18945
18946 * NEWS: Update ia64 info.
18947
189482012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18949
18950 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18951 used as bcopy.
18952
189532012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18954
18955 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18956 * sysdeps/unix/syscalls.list (dup3): Likewise.
18957 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18958 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18959
189602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18961
18962 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18963 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18964
189652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18966
18967 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18968 thread pointer.
18969 (TLS_IE): Use mov/add instead of movq/addq to load thread
18970 pointer.
18971 (TLS_GD_PREFIX): New.
18972 (TLS_GD): Use it.
18973
189742012-05-11 David S. Miller <davem@davemloft.net>
18975
18976 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18977 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18978 (_FPU_SETCW): Likewise.
18979
189802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18981
18982 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18983 is 32-byte aligned.
18984
189852012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18986
18987 [BZ #11837]
18988 * iconvdata/gb18030.c: Update tables.
18989 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18990 characters specially.
18991 (BODY for TO_LOOP): Add encoding of missing ranges.
18992
189932012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18994
18995 [BZ #13673]
18996 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18997 * sysdeps/mach/hurd/dup3.c: Likewise.
18998 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18999 * sysdeps/powerpc/memmove.c:: Likewise.
19000
190012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19004 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19005
190062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19007
19008 * elf/elf.h (R_X86_64_RELATIVE64): New.
19009 (R_X86_64_NUM): Updated.
19010 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19011 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19012 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19013 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19014 tst-quad1pie tst-quad2pie
19015 (modules-names): Add tst-quadmod1 tst-quadmod2.
19016 ($(objpfx)tst-quad1): New dependency.
19017 ($(objpfx)tst-quad2): Likewise.
19018 ($(objpfx)tst-quad1pie): Likewise.
19019 ($(objpfx)tst-quad2pie): Likewise.
19020 * sysdeps/x86_64/tst-quad1.c: New file.
19021 * sysdeps/x86_64/tst-quad1pie.c: New file.
19022 * sysdeps/x86_64/tst-quad2.c: Likewise.
19023 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19024 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19025 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19026 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19027 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19028
190292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19030
19031 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19032 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19033 * streams/stropts.h (t_scalar_t): Define type.
19034
19035 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19036 (_PATH_PRESERVE): Set to "/var/lib".
19037 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19038
19039 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19040 instead of int.
19041
19042 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19043 if __dir_mkfile succeeded.
19044
19045 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19046 checking for _hurd_dtablesize. Unlock it right after having
19047 finished _hurd_dtable allocation.
19048
190492012-05-10 Thomas Schwinge <thomas@schwinge.name>
19050
19051 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19052 * sysdeps/mach/hurd/configure: Regenerated.
19053 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19054 special-casing to...
19055 * sysdeps/gnu/configure.in: ... this new file.
19056 * sysdeps/unix/sysv/linux/configure: Regenerated.
19057 * sysdeps/gnu/configure: New generated file.
19058
19059 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19060 for Linux: use nsec instead of usec, as well as:
19061 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19062 members of type struct timespec.
19063 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19064 New macros.
19065 (struct stat64): Likewise.
19066 (_STATBUF_ST_NSEC): New macro.
19067 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19068
19069 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19070 __strtoul_internal rather than strtoul.
19071
190722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19073
19074 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19075 and reject them.
19076
190772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19078
19079 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19080 which preserves existing values.
19081 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19082
190832012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19084
19085 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19086 TIMEOUT values. Return EINVAL for NFDS values either negative or
19087 greater than FD_SETSIZE.
19088
190892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19090
19091 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19092 allocated, call __vm_protect to finish enabling the existing space, and
19093 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19094 allocate the remainder.
19095
190962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19097
19098 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19099 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19100
191012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19102
19103 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19104 sysdeps/mach/hurd/readlink.c.
19105
19106 * posix/tst-sysconf.c (posix_options): Only use
19107 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19108 _POSIX_SYNCHRONIZED_IO when they are defined
19109 * sysdeps/mach/hurd/bits/posix_opt.h:
19110 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19111 (_XOPEN_REALTIME): Undefine macro.
19112 (_XOPEN_REALTIME_THREADS): Undefine macro.
19113 (_XOPEN_SHM): Undefine macro.
19114 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19115 macro to -1.
19116 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19117 macro to -1.
19118 (_POSIX_ASYNC_IO): Undefine macro.
19119 (_POSIX_PRIORITIZED_IO): Undefine macro.
19120 (_POSIX_SPIN_LOCKS): Define macro to -1.
19121
19122 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19123 SA_NODEFER, SA_RESETHAND.
19124 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19125 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19126 F_DUPFD_CLOEXEC.
19127
191282012-05-10 Thomas Schwinge <thomas@schwinge.name>
19129
19130 * elf/Makefile (pldd-modules): Define unconditionally.
19131
191322012-05-10 Thomas Schwinge <thomas@schwinge.name>
19133
19134 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19135
191362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19137
19138 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19139 Return ENOENT when name is empty.
19140 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19141
191422012-05-10 Thomas Schwinge <thomas@schwinge.name>
19143
19144 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19145
19146 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19147
191482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19149
19150 Fix mlock in all cases except non-readable pages.
19151 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19152 instead of VM_PROT_ALL as parameter to __vm_wire function.
19153
19154 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19155 (__mkdir): When path is `/', just fail with EEXIST.
19156 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19157
191582012-05-10 Thomas Schwinge <thomas@schwinge.name>
19159
19160 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19161 <sys/uio.h> (for writev).
19162 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19163 and <sys/param.h> (for MIN).
19164
191652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19166
19167 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19168 REQUESTED_TIME. Properly set the remaining time and return EINTR
19169 if interrupted.
19170
191712012-05-10 Thomas Schwinge <thomas@schwinge.name>
19172
19173 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19174 Depend on against $(link-rpcuserlibs).
19175
191762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19177
19178 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19179 (__libc_stack_end): Do not use attribute_relro.
19180 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19181 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19182 to libthread-provided value.
19183 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19184 attribute_relro.
19185
191862012-05-10 Thomas Schwinge <thomas@schwinge.name>
19187
19188 [BZ #3748]
19189 * bits/libc-lock.h (__libc_once_get): New macro.
19190 * sysdeps/mach/bits/libc-lock.h: Likewise.
19191 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19193 instead of using implementation details.
19194
19195 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19196 * libio/freopen.c: Likewise.
19197 * libio/freopen64.c: Likewise.
19198 * misc/syslog.c: Likewise.
19199 * nscd/connections.c: Likewise.
19200 * nscd/netgroupcache.c: Likewise.
19201 * sysdeps/posix/getcwd.c: Likewise.
19202
192032012-05-10 Roland McGrath <roland@hack.frob.com>
19204
19205 * math/w_ilogbf.c: Add #include <limits.h>.
19206
192072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19208
19209 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19210 path instead of returning without unlocking.
19211
19212 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19213 immediate-write ioctls.
19214 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19215
192162012-05-10 Thomas Schwinge <thomas@schwinge.name>
19217
19218 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19219 __builtin_frame_address instead of making assumptions about the
19220 location of the return address relative to DATA. Force early load of
19221 the return address.
19222 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19223 __builtin_frame_address.
19224
19225 dup3 for GNU Hurd.
19226 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19227 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19228 implement dup3 and do some further code clean-ups.
19229 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19230 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19231
192322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19233
19234 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19235
19236 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19237 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19238 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19239 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19240 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19241 d->port.lock.
19242
19243 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19244 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19245 when handler == SIG_ERR, not when handler != SIG_ERR.
19246
192472012-05-10 Thomas Schwinge <thomas@schwinge.name>
19248
19249 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19250 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19251 definitions.
19252
19253 accept4 for GNU Hurd.
19254 * include/sys/socket.h (__libc_accept4): New prototype.
19255 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19256 to implement __libc_accept4.
19257 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19258 __libc_accept4.
19259 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19260
19261 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19262 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19263 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19264 signal-defines.sym.
19265
192662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19267
19268 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19269
192702012-05-10 Thomas Schwinge <thomas@schwinge.name>
19271
19272 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19273 assertion on O_CLOEXEC flag.
19274 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19275 * hurd/intern-fd.c: Likewise.
19276 * hurd/port2fd.c: Likewise.
19277
192782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19279
19280 [BZ #3906]
19281 * bits/in.h (IPV6_PKTINFO): Define new macro.
19282 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19283
192842012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19285
19286 [BZ #13954]
19287 [BZ #13955]
19288 [BZ #13956]
19289 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19291 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19292 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19294 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19295 * math/libm-test.inc (logb_test) : Additional logb tests.
19296
192972012-05-09 Andreas Schwab <schwab@linux-m68k.org>
19298 Andreas Jaeger <aj@suse.de>
19299
19300 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19301 * configure: Regenerated.
19302 * config.h.in (LINK_OBSOLETE_RPC): New macro.
19303 * config.make.in (link-obsolete-rpc): New substituted variable.
19304 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19305 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19306 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19307 (shared-only-routines): Don't set it under [link-obsolete-rpc],
19308 so that libc.a contains the symbols.
19309 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19310 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19311 * sunrpc/auth_none.c: Likewise.
19312 * sunrpc/auth_unix.c: Likewise.
19313 * sunrpc/authdes_prot.c: Likewise.
19314 * sunrpc/authuxprot.c: Likewise.
19315 * sunrpc/clnt_gen.c: Likewise.
19316 * sunrpc/clnt_perr.c: Likewise.
19317 * sunrpc/clnt_raw.c: Likewise.
19318 * sunrpc/clnt_simp.c: Likewise.
19319 * sunrpc/clnt_tcp.c: Likewise.
19320 * sunrpc/clnt_udp.c: Likewise.
19321 * sunrpc/clnt_unix.c: Likewise.
19322 * sunrpc/des_crypt.c: Likewise.
19323 * sunrpc/des_soft.c: Likewise.
19324 * sunrpc/get_myaddr.c: Likewise.
19325 * sunrpc/key_call.c: Likewise.
19326 * sunrpc/key_prot.c: Likewise.
19327 * sunrpc/netname.c: Likewise.
19328 * sunrpc/pm_getmaps.c: Likewise.
19329 * sunrpc/pm_getport.c: Likewise.
19330 * sunrpc/pmap_clnt.c: Likewise.
19331 * sunrpc/pmap_prot.c: Likewise.
19332 * sunrpc/pmap_prot2.c: Likewise.
19333 * sunrpc/pmap_rmt.c: Likewise.
19334 * sunrpc/publickey.c: Likewise.
19335 * sunrpc/rpc_cmsg.c: Likewise.
19336 * sunrpc/rpc_common.c: Likewise.
19337 * sunrpc/rpc_dtable.c: Likewise.
19338 * sunrpc/rpc_prot.c: Likewise.
19339 * sunrpc/rpc_thread.c: Likewise.
19340 * sunrpc/rtime.c: Likewise.
19341 * sunrpc/svc.c: Likewise.
19342 * sunrpc/svc_auth.c: Likewise.
19343 * sunrpc/svc_raw.c: Likewise.
19344 * sunrpc/svc_run.c: Likewise.
19345 * sunrpc/svc_tcp.c: Likewise.
19346 * sunrpc/svc_udp.c: Likewise.
19347 * sunrpc/svc_unix.c: Likewise.
19348 * sunrpc/svcauth_des.c: Likewise.
19349 * sunrpc/xcrypt.c: Likewise.
19350 * sunrpc/xdr.c: Likewise.
19351 * sunrpc/xdr_array.c: Likewise.
19352 * sunrpc/xdr_float.c: Likewise.
19353 * sunrpc/xdr_intXX_t.c: Likewise.
19354 * sunrpc/xdr_mem.c: Likewise.
19355 * sunrpc/xdr_rec.c: Likewise.
19356 * sunrpc/xdr_ref.c: Likewise.
19357 * sunrpc/xdr_sizeof.c: Likewise.
19358 * sunrpc/xdr_stdio.c: Likewise.
19359
193602012-05-10 Roland McGrath <roland@hack.frob.com>
19361
19362 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
19363 change. Update copyright years.
19364
193652012-05-10 Joseph Myers <joseph@codesourcery.com>
19366
19367 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
19368
193692012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
19370 Joseph Myers <joseph@codesourcery.com>
19371 Paul Pluzhnikov <ppluzhnikov@google.com>
19372
19373 [BZ #14012]
19374 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
19375 requiring rpcgen.
19376 [cross-compiling] (extra-libs): Likewise.
19377 [cross-compiling] (extra-libs-others): Likewise.
19378 [cross-compiling] (librpcsvc-routines): Likewise.
19379 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
19380 [cross-compiling] (omit-deps): Likewise.
19381 (sunrpc-CPPFLAGS): New variable.
19382 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
19383 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
19384 (cross-rpcgen-objs): New variable.
19385 (extra-objs): Append $(cross-rpcgen-objs).
19386 ($(cross-rpcgen-objs)): New rule.
19387 ($(objpfx)cross-rpcgen): Likewise.
19388 (rpcgen-cmd): Define to use $(built-program-file). Expand
19389 comment.
19390 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
19391 ($(objpfx)x%.stmp): Likewise.
19392 * sunrpc/proto.h [IS_IN_build] (_): Define.
19393 [IS_IN_build] (_libc_intl_domainname): Likewise.
19394
193952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19396
19397 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
19398 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
19399 and R_X86_64_TPOFF64.
19400
194012012-05-10 Joseph Myers <joseph@codesourcery.com>
19402
19403 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
19404 sysdeps/unix/sysv/syscalls.list.
19405 (stime): Likewise.
19406 (utime): Likewise.
19407 * sysdeps/unix/sysv/syscalls.list: Remove file.
19408
194092012-05-10 Paul Eggert <eggert@cs.ucla.edu>
19410
19411 [BZ #3440]
19412 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
19413 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
19414 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
19415 (__LC_IDENTIFICATION): Make these macros useful in #if
19416 expressions, as required by C99.
19417
194182012-05-10 Andreas Schwab <schwab@linux-m68k.org>
19419
19420 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
19421 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
19422 after this.
19423
194242012-05-09 H.J. Lu <hongjiu.lu@intel.com>
19425
19426 * stdlib/longlong.h: Updated from GCC.
19427
194282012-05-09 Andreas Jaeger <aj@suse.de>
19429
19430 * nscd/nscd.c (run_modes): Make named enum, reorder so that
19431 default is first entry.
19432 (run_mode): Set type.
19433 (main): Remove informal message about syslog.
19434 (options): Fix typo.
19435
19436 [BZ #14053]
19437 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
19438 to asm.
19439 (lrint): Likewise.
19440 (llrintf): Likewise.
19441 (llrint): Likewise.
19442 (rint): Likewise.
19443 (rintf): Likewise.
19444 (nearbyint): Likewise.
19445 (nearbyintf): Likewise.
19446
194472012-05-09 Andreas Jaeger <aj@suse.de>
19448 Pedro Alves <palves@redhat.com>
19449
19450 * nscd/nscd.c (run_mode): Use enum.
19451 (main): Cleanup coding style issue.
19452
194532012-05-09 Alexandre Oliva <aoliva@redhat.com>
19454 Andreas Jaeger <aj@suse.de>
19455
19456 * nscd/nscd.c (go_background): Replaced with...
19457 (run_mode): ... this.
19458 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
19459 (options): Add -F --foreground.
19460 (main): Implement it.
19461 (parse_opt): Parse it.
19462
194632012-05-09 Andreas Jaeger <aj@suse.de>
19464
19465 [BZ #14083]
19466 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
19467 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
19468 -Wconversion warning.
19469 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
19470 Likewise.
19471
194722012-05-09 Joseph Myers <joseph@codesourcery.com>
19473
19474 * conform/data/locale.h-data (NULL): Use macro-constant. Require
19475 == 0.
19476 (LC_ALL): Use macro-int-constant.
19477 (LC_COLLATE): Likewise.
19478 (LC_CTYPE): Likewise.
19479 (LC_MESSAGES): Likewise.
19480 (LC_MONETARY): Likewise.
19481 (LC_NUMERIC): Likewise.
19482 (LC_TIME): Likewise.
19483 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
19484 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19486 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
19487 Specify type.
19488 [C99-based standards] (float_t): Expect type.
19489 [C99-based standards] (double_t): Expect type.
19490 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
19491 type.
19492 [C99-based standards] (HUGE_VALL): Likewise.
19493 [C99-based standards] (INFINITY): Likewise.
19494 [C99-based standards] (NAN): Likewise.
19495 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
19496 [C99-based standards] (FP_NAN): Likewise.
19497 [C99-based standards] (FP_NORMAL): Likewise.
19498 [C99-based standards] (FP_SUBNORMAL): Likewise.
19499 [C99-based standards] (FP_ZERO): Likewise.
19500 [C99-based standards] (FP_FAST_FMA): Use
19501 optional-macro-int-constant. Specify type. Require == 1.
19502 [C99-based standards] (FP_FAST_FMAF): Likewise.
19503 [C99-based standards] (FP_FAST_FMAL): Likewise.
19504 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
19505 [C99-based standards] (FP_ILOGBNAN): Likewise.
19506 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
19507 Specify type.
19508 [C99-based standards] (MATH_ERREXCEPT): Likewise.
19509 [C99-based standards] (math_errhandling): Specify type.
19510 [ISO99 || ISO11] (signgam): Do not allow.
19511 [non-C99-based standards] (copysignf): Do not allow.
19512 [non-C99-based standards] (exp2f): Likewise.
19513 [non-C99-based standards] (log2f): Likewise.
19514 [non-C99-based standards] (modff): Allow.
19515 [non-C99-based standards] (erff): Do not allow.
19516 [non-C99-based standards] (erfcf): Likewise.
19517 [non-C99-based standards] (gammaf): Likewise.
19518 [non-C99-based standards] (hypotf): Likewise.
19519 [non-C99-based standards] (j0f): Likewise.
19520 [non-C99-based standards] (j1f): Likewise.
19521 [non-C99-based standards] (jnf): Likewise.
19522 [non-C99-based standards] (lgammaf): Likewise.
19523 [non-C99-based standards] (tgammaf): Likewise.
19524 [non-C99-based standards] (y0f): Likewise.
19525 [non-C99-based standards] (y1f): Likewise.
19526 [non-C99-based standards] (ynf): Likewise.
19527 [non-C99-based standards] (isnanf): Likewise.
19528 [non-C99-based standards] (acoshf): Likewise.
19529 [non-C99-based standards] (asinhf): Likewise.
19530 [non-C99-based standards] (atanhf): Likewise.
19531 [non-C99-based standards] (cbrtf): Likewise.
19532 [non-C99-based standards] (expm1f): Likewise.
19533 [non-C99-based standards] (ilogbf): Likewise.
19534 [non-C99-based standards] (log1pf): Likewise.
19535 [non-C99-based standards] (logbf): Likewise.
19536 [non-C99-based standards] (nextafterf): Likewise.
19537 [non-C99-based standards] (remainderf): Likewise.
19538 [non-C99-based standards] (rintf): Likewise.
19539 [non-C99-based standards] (scalbf): Likewise.
19540 [non-C99-based standards] (copysignl): Likewise.
19541 [non-C99-based standards] (exp2l): Likewise.
19542 [non-C99-based standards] (log2l): Likewise.
19543 [non-C99-based standards] (modfl): Allow.
19544 [non-C99-based standards] (erfl): Do not allow.
19545 [non-C99-based standards] (erfcl): Likewise.
19546 [non-C99-based standards] (gammal): Likewise.
19547 [non-C99-based standards] (hypotl): Likewise.
19548 [non-C99-based standards] (j0l): Likewise.
19549 [non-C99-based standards] (j1l): Likewise.
19550 [non-C99-based standards] (jnl): Likewise.
19551 [non-C99-based standards] (lgammal): Likewise.
19552 [non-C99-based standards] (tgammal): Likewise.
19553 [non-C99-based standards] (y0l): Likewise.
19554 [non-C99-based standards] (y1l): Likewise.
19555 [non-C99-based standards] (ynl): Likewise.
19556 [non-C99-based standards] (isnanl): Likewise.
19557 [non-C99-based standards] (acoshl): Likewise.
19558 [non-C99-based standards] (asinhl): Likewise.
19559 [non-C99-based standards] (atanhl): Likewise.
19560 [non-C99-based standards] (cbrtl): Likewise.
19561 [non-C99-based standards] (expm1l): Likewise.
19562 [non-C99-based standards] (ilogbl): Likewise.
19563 [non-C99-based standards] (log1pl): Likewise.
19564 [non-C99-based standards] (logbl): Likewise.
19565 [non-C99-based standards] (nextafterl): Likewise.
19566 [non-C99-based standards] (remainderl): Likewise.
19567 [non-C99-based standards] (rintl): Likewise.
19568 [non-C99-based standards] (scalbl): Likewise.
19569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19570 [non-C99-based standards] (FP_*): Do not allow.
19571 [C99-based standards] (FP_*): Change to
19572 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
19573 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19574 allow.
19575 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
19576 (SIG_ERR): Likewise.
19577 [X/Open-based standards] (SIG_HOLD): Likewise.
19578 (SIG_IGN): Likewise.
19579 (SIGABRT): Use macro-int-constant. Specify type. Require
19580 positive value.
19581 (SIGFPE): Likewise.
19582 (SIGILL): Likewise.
19583 (SIGINT): Likewise.
19584 (SIGSEGV): Likewise.
19585 (SIGTER): Likewise.
19586 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
19587 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
19588 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
19589 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
19590 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
19591 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
19592 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
19593 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
19594 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
19595 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
19596 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
19597 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
19598 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
19599 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
19601 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
19602 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
19603 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
19604 [X/Open-based standards] (SIGTRAP): Likewise.
19605 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
19606 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
19607 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
19608 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
19609 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19610 allow.
19611
196122012-05-08 Ian Wienand <ianw@vmware.com>
19613
19614 [BZ #14080]
19615 * time/tzset.c (__tzset_parse_tz): Update default rules for
19616 daylight time changes in the Energy Policy Act of 2005.
19617
196182012-05-09 Andreas Jaeger <aj@suse.de>
19619
19620 [BZ #13983]
19621 * elf/ldconfig.c (parse_conf): Change string to make clear that
19622 ldconfig only issued a warning if ld.so.conf does not exist.
19623
196242012-05-08 David S. Miller <davem@davemloft.net>
19625
19626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
19627 movxtod instead of popping the value on the stack.
19628
19629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19630
196312012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
19632
19633 * config.h.in: Add HAVE_ARM_PCS_VFP.
19634
196352012-05-08 Roland Mc Grath <roland@hack.frob.com>
19636
19637 [BZ #13979]
19638 * include/features.h: Warn if user requests __FORTIFY_SOURCE
19639 checking but the checks are disabled for any reason.
19640
196412012-05-08 H.J. Lu <hongjiu.lu@intel.com>
19642
19643 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
19644 and ELF64_R_TYPE with ELFW(R_TYPE).
19645
196462012-05-08 Joseph Myers <joseph@codesourcery.com>
19647
19648 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
19649 (ulimit): Likewise.
19650
19651 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
19652 (settimeofday): Likewise.
19653
196542012-05-08 Mike Frysinger <vapier@gentoo.org>
19655
19656 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
19657 a struct th_u2 inside the union, and move tu_block/tu_code into
19658 a new th_u3 union of tu_block/tu_code inside of that. Move
19659 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
19660 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19661 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19662 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19663 (th_stuff): Change to th_u1.tu_stuff.
19664 (th_data): Define.
19665 (th_msg): Change to th_u1.th_u2.tu_data.
19666
196672012-05-07 David S. Miller <davem@davemloft.net>
19668
19669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19670
19671 [BZ #14074]
19672 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19673 (SETUP_PIC_REG): Use it.
19674 (SETUP_PIC_REG_LEAF): Use it.
19675
196762012-05-07 Joseph Myers <joseph@codesourcery.com>
19677
19678 [BZ #13885]
19679 [BZ #13923]
19680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19681 USE_AS_EXPM1L.
19682 (EXPL_FINITE): Likewise.
19683 (FLDLOG): Likewise.
19684 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19685 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19686 e_expl.S.
19687 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19688 USE_AS_EXPM1L.
19689 (EXPL_FINITE): Likewise.
19690 (FLDLOG): Likewise.
19691 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19692 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19693 e_expl.S.
19694 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19695 test of -max_value argument for long double.
19696 * sysdeps/i386/fpu/libm-test-ulps: Update.
19697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19698
196992012-05-06 David S. Miller <davem@davemloft.net>
19700
19701 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19702 quad soft-float symbols whose references which are compiler
19703 generated.
19704 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19705
197062012-05-06 Joseph Myers <joseph@codesourcery.com>
19707
19708 [BZ #13884]
19709 [BZ #13914]
19710 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19711 USE_AS_EXP10L.
19712 (EXPL_FINITE): Likewise.
19713 (FLDLOG): Likewise.
19714 (c0): Likewise.
19715 (c1): Likewise.
19716 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19717 Adjust comments for base varying.
19718 (__expl_finite): Change alias to EXPL_FINITE.
19719 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19720 e_expl.S.
19721 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19722 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19724 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19725 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19726 USE_AS_EXP10L.
19727 (EXPL_FINITE): Likewise.
19728 (FLDLOG): Likewise.
19729 (c0): Likewise.
19730 (c1): Likewise.
19731 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19732 Adjust comments for base varying.
19733 (__expl_finite): Change alias to EXPL_FINITE.
19734 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19735 tests for bugs.
19736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19737
19738 [BZ #14064]
19739 * math/libm-test.inc (check_float_internal): Correct ulp
19740 calculation for subnormal expected results.
19741
197422012-05-06 Andreas Jaeger <aj@suse.de>
19743
19744 * Makeconfig (+math-flags): New, set to -frounding-math.
19745 (+cflags): Add +math-flags so that all of glibc gets compiled with
19746 it.
19747
19748 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19749
197502012-05-05 Joseph Myers <joseph@codesourcery.com>
19751
19752 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19753 Disable one test.
19754
19755 [BZ #13787]
19756 [BZ #13922]
19757 [BZ #14036]
19758 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19759 (__ieee754_expl): Allow for and saturate large arguments.
19760 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19761 (u_threshold): Likewise.
19762 (__exp): Call __ieee754_exp before checking for overflow and
19763 underflow.
19764 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19765 (u_threshold): Likewise.
19766 (__expf): Call __ieee754_expf before checking for overflow and
19767 underflow.
19768 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19769 (u_threshold): Likewise.
19770 (__expl): Call __ieee754_expl before checking for overflow and
19771 underflow.
19772 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19773 (__ieee754_expl): Allow for and saturate large arguments.
19774 * math/libm-test.inc (exp_test): Add another test. Do not allow
19775 missing overflow exception on overflow.
19776 (expm1_test): Do not allow missing overflow exception on overflow.
19777
19778 * sysdeps/i386/fpu/e_expl.c: Move to ...
19779 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19780 rather than using inline asm.
19781 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19782 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19783 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19784
19785 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19786 (nice): Likewise.
19787 (poll): Likewise.
19788 (signal): Likewise.
19789 (time): Likewise.
19790 (times): Likewise.
19791
197922012-05-04 Joseph Myers <joseph@codesourcery.com>
19793
19794 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19795 sysdeps/unix/common/syscalls.list.
19796 (fchmod): Likewise.
19797 (fchown): Likewise.
19798 (ftruncate): Likewise.
19799 (getrusage): Likewise.
19800 (gettimeofday): Likewise.
19801 (setpgid): Likewise.
19802 (setregid): Likewise.
19803 (setreuid): Likewise.
19804 (sigaction): Likewise.
19805 (truncate): Likewise.
19806 (vhangup): Likewise.
19807 * sysdeps/unix/common/syscalls.list: Remove file.
19808 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19809 * sysdeps/unix/sysv/linux/Implies: Likewise.
19810
198112012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19812
19813 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19815 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19816 Moved to ...
19817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19818 Here.
19819 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19820 to ...
19821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19822 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19823 to ...
19824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19825 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19826 to ...
19827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19828 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19829 to ...
19830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19831 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19832 to ...
19833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19834 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19835 to ...
19836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19837 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19838 to ...
19839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19840 Here.
19841 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19842 to ...
19843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19844 Here.
19845 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19846 to ...
19847 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19848 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19849 Moved to ...
19850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19851 Here.
19852 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19853 to ...
19854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19855
198562012-05-04 Joseph Myers <joseph@codesourcery.com>
19857
19858 * sysdeps/unix/common/bits/dirent.h: Remove file.
19859 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19860
19861 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19862 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19863 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19864 * sysdeps/unix/bsd/isatty.c: Likewise.
19865 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19866 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19867 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19868
198692012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19870
19871 [BZ #13563]
19872 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19873 long double comparison inaccuracies.
19874 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19876
198772012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19878
19879 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19880 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19881
198822012-05-04 Joseph Myers <joseph@codesourcery.com>
19883
19884 [BZ #14049]
19885 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19886 nonzero digits before rounding a hex value.
19887 * stdlib/tst-strtod.c (tests): Add another test.
19888
198892012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19890
19891 * sysdeps/s390/fpu/libm-test-ulps: Update.
19892
198932012-05-03 Andreas Jaeger <aj@suse.de>
19894
19895 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19896 does not get optimized out.
19897 (malloc_opt_barrier): New.
19898
198992012-05-03 Andreas Jaeger <aj@suse.de>
19900 Roland McGrath <roland@hack.frob.com>
19901
19902 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
19903 intermediate file deletion.
19904 (generated): Add .symlist files.
19905
199062012-05-03 Joseph Myers <joseph@codesourcery.com>
19907
19908 [BZ #13775]
19909 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19910 Redirect under this condition.
19911 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19912 [__USE_GNU] (__dprintf_chk): Not under this condition.
19913 [__USE_GNU] (__vdprintf_chk): Likewise.
19914 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19915 under this condition.
19916 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19917 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19918 [__USE_XOPEN2K8] (vdprintf): Likewise.
19919 [__USE_GNU] (__dprintf_chk): Not under this condition.
19920 [__USE_GNU] (__vdprintf_chk): Likewise.
19921 [__USE_GNU] (dprintf): Likewise.
19922 [__USE_GNU] (vdprintf): Likewise.
19923
199242012-05-03 Roland McGrath <roland@hack.frob.com>
19925
19926 * elf/Makefile (common-generated): Set this instead of generated for
19927 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19928 $(all-built-dso)-derived lists.
19929
199302012-05-03 Andreas Jaeger <aj@suse.de>
19931
19932 * sysdeps/i386/fpu/libm-test-ulps: Update.
19933
19934 * FAQ: Removed.
19935 * FAQ.in: Likewise.
19936 * scripts/gen-FAQ.pl: Likewise.
19937 * manual/install.texi (Installation): Point to online location of
19938 FAQ.
19939 * Makefile (files-for-dist): Remove FAQ.
19940 (FAQ): Remove.
19941
199422012-05-02 Allan McRae <allan@archlinux.org>
19943
19944 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19945 (LDFLAGS-reldepmod5.so): Likewise.
19946 (LDFLAGS-reldep6mod1.so): Likewise.
19947 (LDFLAGS-reldep6mod4.so): Likewise.
19948 (LDFLAGS-reldep8mod3.so): Likewise.
19949 (LDFLAGS-unload4mod1.so): Likewise.
19950 (LDFLAGS-unload4mod2.so): Likewise.
19951 (LDFLAGS-tst-initorder): Likewise.
19952 (LDFLAGS-tst-initordera2.so): Likewise.
19953 (LDFLAGS-tst-initordera3.so): Likewise.
19954 (LDFLAGS-tst-initordera4.so): Likewise.
19955 (LDFLAGS-tst-initorderb2.so): Likewise.
19956 (LDFLAGS-noload): Likewise.
19957 (LDFLAGS-next): Likewise.
19958 (LDFLAGS-order2mod1.so): Likewise.
19959 (LDFLAGS-order2mod2.so): Likewise.
19960 (LDFLAGS-tst-initorder2): Likewise.
19961 (LDFLAGS-tst-initorder2a.so): Likewise.
19962 (LDFLAGS-tst-initorder2b.so): Likewise.
19963 (LDFLAGS-tst-initorder2c.so): Likewise.
19964 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19965
199662012-05-02 David S. Miller <davem@davemloft.net>
19967
19968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19969
199702012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19971
19972 [BZ #14055]
19973 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19974
199752012-05-02 Andreas Jaeger <aj@suse.de>
19976
19977 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19978 since we manipulate rounding mode.
19979 (CPPFLAGS-test-idouble.c): Likewise.
19980 (CPPFLAGS-test-ifloat.c): Likewise.
19981 (CFLAGS-test-ldouble.c): Likewise.
19982 (CFLAGS-test-double.c): Likewise.
19983 (CFLAGS-test-float.c): Likewise.
19984 (CFLAGS-test-misc.c): Likewise.
19985 (CFLAGS-test-test-fenv.c): Likewise.
19986
199872012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19988
19989 [BZ #2550]
19990 [BZ #2570]
19991 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19992 comparisons to determine direction to adjust input.
19993
199942012-05-01 Roland McGrath <roland@hack.frob.com>
19995
19996 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19997 output to the target.
19998
19999 * scripts/localplt.awk: New file.
20000 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20001 (check-localplt-CFLAGS): Variable removed.
20002 ($(all-built-dso:=.jmprel)): New static pattern rule.
20003 (generated): Add those targets.
20004 (localplt-built-dso): New variable.
20005 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20006
20007 * elf/check-localplt.c: File removed.
20008
20009 * scripts/check-execstack.awk: New file.
20010 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20011 (check-execstack-CFLAGS): Variable removed.
20012 ($(objpfx)check-execstack.h): Target removed.
20013 ($(objpfx)execstack-default): New target.
20014 (generated): Add that instead of check-execstack.h.
20015 ($(all-built-dso:=.phdr)): New static pattern rule.
20016 (generated): Add those targets.
20017 * elf/check-execstack.c: File removed.
20018
20019 * scripts/check-textrel.awk: New file.
20020 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20021 (check-textrel-CFLAGS): Variable removed.
20022 (all-built-dso): Use := to define.o
20023 ($(all-built-dso:=.dyn)): New static pattern rule.
20024 (generated): Add those targets.
20025 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20026 * config.make.in (READELF): New substituted variable.
20027 * elf/check-textrel.c: File removed.
20028
200292012-05-01 Joseph Myers <joseph@codesourcery.com>
20030
20031 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20032 allow.
20033 * conform/data/ctype.h-data [C99-based standards] (isblank):
20034 Expect function.
20035 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20036 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20037 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20038 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20039 Specify type. Require positive value.
20040 (EILSEQ): Likewise.
20041 (ERANGE): Likewise.
20042 [ISO || POSIX] (EILSEQ): Do not expect.
20043 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20044 Specify type. Require positive value.
20045 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20046 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20047 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20048 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20049 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20050 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20051 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20052 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20053 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20054 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20055 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20056 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20057 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20058 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20059 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20060 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20061 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20062 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20063 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20064 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20065 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20066 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20067 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20068 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20069 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20070 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20071 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20072 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20073 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20074 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20075 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20076 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20077 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20078 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20079 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20080 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20081 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20082 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20083 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20084 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20085 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20086 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20087 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20088 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20089 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20090 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20091 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20092 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20093 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20094 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20095 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20096 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20097 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20098 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20099 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20100 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20101 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20102 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20103 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20104 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20105 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20106 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20107 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20108 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20109 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20110 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20111 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20112 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20113 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20114 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20115 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20116 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20117 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20118 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20119 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20120 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20121 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20122 Require >= 2.
20123 (FLT_ROUNDS): Expect as macro, not constant.
20124 (FLT_MANT_DIG): Use macro-int-constant.
20125 (DBL_MANT_DIG): Likewise.
20126 (LDBL_MANT_DIG): Likewise.
20127 (FLT_DIG): Likewise.
20128 (DBL_DIG): Likewise.
20129 (LDBL_DIG): Likewise.
20130 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20131 (DBL_MIN_EXP): Likewise.
20132 (LDBL_MIN_EXP): Likewise.
20133 (FLT_MAX_EXP): Use macro-int-constant.
20134 (DBL_MAX_EXP): Likewise.
20135 (LDBL_MAX_EXP): Likewise.
20136 (FLT_MAX_10_EXP): Likewise.
20137 (DBL_MAX_10_EXP): Likewise.
20138 (LDBL_MAX_10_EXP): Likewise.
20139 (FLT_MAX): Use macro-constant.
20140 (DBL_MAX): Likewise.
20141 (LDBL_MAX): Likewise.
20142 (FLT_EPSILON): Use macro-constant. Give upper bound.
20143 (DBL_EPSILON): Likewise.
20144 (LDBL_EPSILON): Likewise.
20145 (FLT_MIN): Likewise.
20146 (DBL_MIN): Likewise.
20147 (LDBL_MIN): Likewise.
20148 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20149 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20150 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20151 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20152 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20153 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20154 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20155 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20156 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20157 [ISO11] (FLT_TRUE_MIN): Likewise.
20158 [ISO11] (LDBL_TRUE_MIN): Likewise.
20159 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20160 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20161 (SCHAR_MIN): Use macro-int-constant. Specify type.
20162 (SCHAR_MAX): Likewise.
20163 (UCHAR_MAX): Likewise.
20164 (CHAR_MIN): Likewise.
20165 (CHAR_MAX): Likewise.
20166 (MB_LEN_MAX): Use macro-int-constant.
20167 (SHRT_MIN): Use macro-int-constant. Specify type.
20168 (SHRT_MAX): Likewise.
20169 (USHRT_MAX): Likewise.
20170 (INT_MAX): Likewise.
20171 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20172 bound negative.
20173 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20174 bound with "U".
20175 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20176 bound with "L".
20177 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20178 bound negative. Suffix upper bound with "L".
20179 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20180 bound with "UL".
20181 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20182 Specify type.
20183 [C99-based standards] (LLONG_MAX): Likewise.
20184 [C99-based standards] (ULLONG_MAX): Likewise.
20185 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20186 == 0.
20187 [ISO11] (max_align_t): Require type.
20188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20189
20190 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20191 from $CFLAGS, without defining away __attribute__ calls.
20192 (checknamespace): Use $CFLAGS_namespace.
20193
20194 * conform/conformtest.pl (@keywords): Only include C99 keywords
20195 for standards based on C99 or C11.
20196
20197 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20198 Disable tests.
20199 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20200 UNIX98]: Likewise.
20201
20202 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20203 usability of symbols in #if.
20204
20205 * conform/conformtest.pl: If macro or constant types start
20206 "promoted:", expect the symbol to be of the following type
20207 promoted by the integer promotions.
20208
20209 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20210 in one place. Also handle "macro-constant".
20211
20212 * conform/conformtest.pl: Only accept expected macro values with
20213 "==". Parse all "macro" lines in one place.
20214 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20215
20216 * conform/conformtest.pl: Handle braced types on "constant" lines
20217 instead of handling "typed-constant".
20218 * conform/data/signal.h-data: Use "constant" instead of
20219 "typed-constant".
20220
20221 * conform/conformtest.pl: Handle "optional-" at start of lines in
20222 one place rather than duplicating several cases. Handle each
20223 format of "macro" line with initial "optional-".
20224
20225 * conform/conformtest.pl: Only accept expected constant or
20226 optional-constant values with "==". Parse all "constant" lines in
20227 one place. Parse all "optional-constant" lines in one place.
20228 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20229 * conform/data/fmtmsg.h-data: Likewise.
20230 * conform/data/netinet/in.h-data: Likewise.
20231 * conform/data/tar.h-data: Likewise.
20232 * conform/data/limits.h-data: Use "==" form on "constant" and
20233 "optional-constant" lines.
20234
20235 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20236 Use -std=c99 for XOPEN2K.
20237 (@knownproblems): Remove.
20238 (newtoken): Don't check %isknown.
20239
20240 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20241 Do not expect macro.
20242 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20243 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20244 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20245 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20246 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20247 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20248 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20249 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20250 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20251 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20252 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20253 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20254 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20255 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20256 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20257 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20258 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20259 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20260 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20261 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20262 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20263 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20264 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20265 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20266 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20267 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20268 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20269 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20270 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20271 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20272 [XPG3] (acosh): Likewise.
20273 [XPG3] (asinh): Likewise.
20274 [XPG3] (atanh): Likewise.
20275 [XPG3] (cbrt): Likewise.
20276 [XPG3] (expm1): Likewise.
20277 [XPG3] (ilogb): Likewise.
20278 [XPG3] (log1p): Likewise.
20279 [XPG3] (logb): Likewise.
20280 [XPG3] (nextafter): Likewise.
20281 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20282 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20283 [XPG3] (remainder): Likewise.
20284 [XPG3] (rint): Likewise.
20285 [XPG3 || XPG4 || UNIX98] (round): Likewise.
20286 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20287 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20288 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20289 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20290 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20291 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20292 [UNIX98 || XOPEN2K] (scalb): Expect.
20293 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20294 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20295 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20296 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20297 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20298 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20299 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20300 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20301 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20302 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20303 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20304 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20305 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20306 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20307 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20308 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20309 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20310 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20311 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20312 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20313 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20314 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20315 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20316 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20317 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20318 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20319 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20320 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20321 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20322 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20323 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20324 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20325 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20326 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20327 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20328 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
20329 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
20330 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
20331 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
20332 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
20333 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
20334 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
20335 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
20336 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
20337 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
20338 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
20339 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
20340 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
20341 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
20342 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
20343 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
20344 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
20345 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
20346 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
20347 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
20348 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
20349 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
20350 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
20351 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
20352 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
20353 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
20354 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
20355 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
20356 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
20357 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
20358 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
20359 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
20360 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
20361 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
20362 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
20363 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
20364 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
20365 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
20366 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
20367 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
20368 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
20369 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
20370 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
20371 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
20372 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
20373 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
20374 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
20375 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
20376 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
20377 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
20378 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
20379 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
20380 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
20381 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
20382 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
20383 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
20384 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
20385 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
20386 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
20387 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
20388 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
20389 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
20390 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
20391 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
20392 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
20393 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
20394 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
20395 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
20396 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
20397 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
20398 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
20399 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
20400 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
20401 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
20402 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
20403 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
20404 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
20405 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
20406 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
20407 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
20408 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
20409 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
20410 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
20411 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
20412 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
20413 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
20414 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
20415 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
20416 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
20417 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
20418 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
20419 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
20420 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
20421 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
20422 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
20423 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
20424 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
20425 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
20426 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
20427 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
20428 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
20429 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
20430
20431 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
20432 _XOPEN_SOURCE_EXTENDED for XPG4.
20433
20434 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
20435
20436 * Makeconfig (localtime): Remove variable.
20437 (inst_localtime-file): Likewise.
20438
204392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20440
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
20442 Update.
20443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20444 Update.
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
20446 Update.
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20448 Update.
20449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
20450 Update.
20451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20452 Update.
20453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20454 Update.
20455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
20456 Update.
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20458 Update.
20459
204602012-05-01 Joseph Myers <joseph@codesourcery.com>
20461
20462 [BZ #2550]
20463 [BZ #2570]
20464 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
20465 comparisons to determine direction to adjust input.
20466 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20467 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
20468 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20469 Likewise.
20470 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20471 Likewise.
20472 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20473 Likewise.
20474 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20475 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20476 Likewise.
20477 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20478 Likewise.
20479 * math/libm-test.inc (nexttoward_test): Add more tests.
20480
204812012-05-01 Andreas Schwab <schwab@linux-m68k.org>
20482
20483 [BZ #14040]
20484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
20485 in version GLIBC_2.1, not GLIBC_2.0.
20486 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
20487 Likewise.
20488
204892012-04-30 Joseph Myers <joseph@codesourcery.com>
20490
20491 [BZ #13942]
20492 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
20493 (1 - x) * (1 + x).
20494 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20495 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
20496 * math/libm-test.inc (acos_test): Add more tests.
20497 (asin_test): Likewise.
20498 * sysdeps/i386/fpu/libm-test-ulps: Update.
20499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20500
20501 [BZ #14034]
20502 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
20503 of square root.
20504 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
20505 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
20506 * math/libm-test.inc (acos_test_tonearest): New function.
20507 (acos_test_towardzero): Likewise.
20508 (acos_test_downward): Likewise.
20509 (acos_test_upward): Likewise.
20510 (asin_test_tonearest): Likewise.
20511 (asin_test_towardzero): Likewise.
20512 (asin_test_downward): Likewise.
20513 (asin_test_upward): Likewise.
20514 (main): Call the new functions.
20515 * sysdeps/i386/fpu/libm-test-ulps: Update.
20516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20517
20518 [BZ #13884]
20519 [BZ #13924]
20520 * math/e_exp10.c: Include <float.h>.
20521 (__ieee754_exp10): Handle underflow here rather than multiplying
20522 large negative argument by M_LN10.
20523 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
20524 of __ieee754_expf.
20525 * math/e_exp10l.c: Include <float.h>.
20526 (__ieee754_exp10l): Handle underflow here rather than multiplying
20527 large negative argument by M_LN10l.
20528 * math/libm-test.inc (exp10_test): Add another test. Do not allow
20529 spurious overflow exception on underflow.
20530
205312012-04-29 Marek Polacek <polacek@redhat.com>
20532
20533 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
20534 (__fortify_function): New macro.
20535 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
20536 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
20537 __extern_always_inline.
20538 * libio/bits/stdio2.h: Likewise.
20539 * libio/bits/stdio.h: Likewise.
20540 * string/string.h: Likewise.
20541 * string/bits/string3.h: Likewise.
20542 * include/stdio.h: Likewise.
20543 * stdlib/bits/stdlib.h: Likewise.
20544 * stdlib/stdlib.h: Likewise.
20545 * rt/bits/mqueue2.h: Likewise.
20546 * rt/mqueue.h: Likewise.
20547 * posix/bits/unistd.h: Likewise.
20548 * posix/unistd.h: Likewise.
20549 * io/bits/poll2.h: Likewise.
20550 * io/bits/fcntl2.h: Likewise.
20551 * io/fcntl.h: Likewise.
20552 * io/sys/poll.h: Likewise.
20553 * misc/bits/syslog.h: Likewise.
20554 * misc/bits/syslog-ldbl.h: Likewise.
20555 * misc/sys/syslog.h: Likewise.
20556 * socket/bits/socket2.h: Likewise.
20557 * socket/sys/socket.h: Likewise.
20558 * debug/tst-chk1.c: Likewise.
20559 * wcsmbs/bits/wchar2.h: Likewise.
20560 * wcsmbs/bits/wchar-ldbl.h: Likewise.
20561 * wcsmbs/wchar.h: Likewise.
20562
205632012-04-29 Andreas Jaeger <aj@suse.de>
20564
20565 * Makerules (tests): Remove enable-check-abi protection.
20566 (check-abi-warn): Remove.
20567 (check-abi-%): Remove check-abi-warn usage.
20568
20569 * configure.in: Remove check-abi configure option.
20570 * configure: Regenerated.
20571 * config.make.in (enable-check-abi): Remove.
20572
205732012-04-28 Andreas Schwab <schwab@linux-m68k.org>
20574
20575 [BZ #14033]
20576 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
20577 double functions to double *_finite functions.
20578
20579 [BZ #13941]
20580 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
20581 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
20582 LDBL_MIN_EXP.
20583 * stdio-common/Makefile (tests): Add tst-sprintf3.
20584 * stdio-common/tst-sprintf3.c: New file.
20585
20586 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
20587 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
20588
205892012-04-28 Joseph Myers <joseph@codesourcery.com>
20590
20591 * conform/conformtest.pl: Remove duplicate typed-constant
20592 handling.
20593
205942012-04-28 David S. Miller <davem@davemloft.net>
20595
20596 * Makerules (%.abilist): Add vpath on sysdep_dirs.
20597 (check-abi-%): Remove AWK script prerequisite and explicit
20598 abilist directory.
20599 (check-abi): Rewrite to just diff the symlist with the abilist.
20600 (config-tls, config-abi-config): Delete, no longer used.
20601 (update-abi-%): Remove AWK script and explicit abilist directory.
20602 (update-abi): Rewrite to simply compare and conditionally copy the
20603 symlist and the sysdep abilist file. Remove update-abi-config
20604 checks.
20605 * abilist/ld.abilist: Remove.
20606 * abilist/libBrokenLocale.abilist: Remove.
20607 * abilist/libanl.abilist: Remove.
20608 * abilist/libcrypt.abilist: Remove.
20609 * abilist/libdl.abilist: Remove.
20610 * abilist/librt.abilist: Remove.
20611 * abilist/libthread_db.abilist: Remove.
20612 * abilist/libutil.abilist: Remove.
20613 * scripts/extract-abilist.awk: Remove.
20614 * scripts/merge-abilist.awk: Remove.
20615 * sysdeps/generic/libcidn.abilist: New file.
20616 * sysdeps/generic/libnss_compat.abilist: New file.
20617 * sysdeps/generic/libnss_db.abilist: New file.
20618 * sysdeps/generic/libnss_dns.abilist: New file.
20619 * sysdeps/generic/libnss_files.abilist: New file.
20620 * sysdeps/generic/libnss_hesiod.abilist: New file.
20621 * sysdeps/generic/libnss_nis.abilist: New file.
20622 * sysdeps/generic/libnss_nisplus.abilist: New file.
20623 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
20624 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
20625 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
20626 file.
20627 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
20628 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
20629 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
20630 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
20631 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
20632 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
20633 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
20634 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
20635 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
20636 file.
20637 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
20638 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
20639 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
20640 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
20641 file.
20642 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
20643 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
20644 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
20645 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
20646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
20647 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
20648 file.
20649 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
20650 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
20651 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
20652 file.
20653 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
20654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
20655 New file.
20656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
20657 New file.
20658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
20659 New file.
20660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20661 New file.
20662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20663 New file.
20664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20665 New file.
20666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20667 New file.
20668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20669 New file.
20670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20671 New file.
20672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20673 New file.
20674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20675 New file.
20676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20677 New file.
20678 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20679 New file.
20680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20681 file.
20682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20683 New file.
20684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20685 New file.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20687 file.
20688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20689 New file.
20690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20691 New file.
20692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20693 file.
20694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20695 New file.
20696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20697 New file.
20698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20699 New file.
20700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20701 New file.
20702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20703 New file.
20704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20705 New file.
20706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20708 file.
20709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20710 New file.
20711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20712 file.
20713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20714 file.
20715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20716 file.
20717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20718 file.
20719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20720 file.
20721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20722 New file.
20723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20724 file.
20725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20726 file.
20727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20728 New file.
20729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20730 file.
20731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20733 file.
20734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20735 New file.
20736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20737 file.
20738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20739 file.
20740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20741 file.
20742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20743 file.
20744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20745 file.
20746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20747 New file.
20748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20749 file.
20750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20751 file.
20752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20753 New file.
20754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20755 file.
20756 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20757 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20758 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20759 file.
20760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20761 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20762 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20763 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20764 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20765 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20766 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20767 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20768 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20769 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20772 file.
20773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20774 New file.
20775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20776 file.
20777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20778 file.
20779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20780 file.
20781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20782 file.
20783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20784 file.
20785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20786 New file.
20787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20788 New file.
20789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20790 file.
20791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20792 New file.
20793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20794 file.
20795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20797 file.
20798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20799 New file.
20800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20801 file.
20802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20803 file.
20804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20805 file.
20806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20807 file.
20808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20809 file.
20810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20811 New file.
20812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20813 New file.
20814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20815 file.
20816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20817 New file.
20818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20819 file.
20820
208212012-04-28 Joseph Myers <joseph@codesourcery.com>
20822
20823 * conform/conformtest.pl: Fix typo in handling typed-constant from
20824 allow-header.
20825
208262012-04-27 Joseph Myers <joseph@codesourcery.com>
20827
20828 * README: Cut down references to pre-2.6 Linux kernels and
20829 Linuxthreads. Update lists of configurations in libc and ports
20830 and sort alphabetically. Say "or newer" with Linux kernel version
20831 requirements.
20832
20833 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20834
208352012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20836
20837 [BZ #887]
20838 * math/libm-test.inc (logb_test_downward): New test to expose
20839 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20840 rounding mode.
20841
208422012-04-27 Joseph Myers <joseph@codesourcery.com>
20843
20844 [BZ #14027]
20845 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20846 to be done.
20847 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20848 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20849
208502012-04-26 Joseph Myers <joseph@codesourcery.com>
20851
20852 * sysdeps/unix/i386/brk.S: Remove file.
20853 * sysdeps/unix/i386/dl-brk.S: Likewise.
20854 * sysdeps/unix/i386/pipe.S: Likewise.
20855 * sysdeps/unix/i386/sigreturn.S: Likewise.
20856 * sysdeps/unix/i386/syscall.S: Likewise.
20857 * sysdeps/unix/i386/vfork.S: Likewise.
20858 * sysdeps/unix/i386/wait.S: Likewise.
20859
20860 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20861 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20862
20863 * configure.in (arm*-none*): Do not allow without
20864 --enable-hacker-mode.
20865 (netbsd*): Remove case setting base_os.
20866 (386bsd*): Likewise.
20867 (freebsd*): Likewise.
20868 (bsdi*): Likewise.
20869 (osf*): Likewise.
20870 (sunos*): Likewise.
20871 (ultrix*): Likewise.
20872 (newsos*): Likewise.
20873 (dynix*): Likewise.
20874 (*bsd*): Likewise.
20875 (sysv*): Likewise.
20876 (isc*): Likewise.
20877 (esix*): Likewise.
20878 (sco*): Likewise.
20879 (minix*): Likewise.
20880 (irix4*): Likewise.
20881 (irix6*): Likewise.
20882 (solaris[2-9]*): Likewise.
20883 (none): Likewise.
20884 * configure: Regenerated.
20885
208862012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20887
20888 [BZ #11521]
20889 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20890 overflow or cancellation in calculating denominator.
20891 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20893 down expression to avoid unexpected rounding in newer GCCs.
20894 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20895
208962012-04-26 David S. Miller <davem@davemloft.net>
20897
20898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20899 long-double compat symbols.
20900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20913
209142012-04-25 David S. Miller <davem@davemloft.net>
20915
20916 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20917 HWCAP_* values only after the memory barriers have been defined.
20918 (atomic_full_barrier): Define.
20919 (atomic_read_barrier): Define.
20920 (atomic_write_barrier): Define.
20921
209222012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20923
20924 * shlib-versions: Add libgcc_s version information.
20925 * sysdeps/generic/libgcc_s.h: Remove.
20926 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20927 libgcc_s.h.
20928 * sysdeps/gnu/unwind-resume.c: Likewise.
20929 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20930
209312012-04-25 David S. Miller <davem@davemloft.net>
20932
20933 * sysdeps/unix/sparc/brk.S: Delete.
20934 * sysdeps/unix/sparc/dl-brk.S: Delete.
20935 * sysdeps/unix/sparc/pipe.S: Delete.
20936 * sysdeps/unix/sparc/sysdep.S: Delete.
20937 * sysdeps/unix/sparc/sysdep.h: Delete.
20938 * sysdeps/unix/sparc/vfork.S: Delete.
20939 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20940 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20941 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20942 ret_ERRVAL, r0, r1, MOVE): Define.
20943 (JUMPTARGET): Remove.
20944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20945 sysdeps/unix/sparc/sysdep.h
20946 (ENTRY, END): Remove.
20947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20948
209492012-04-25 Joseph Myers <joseph@codesourcery.com>
20950
20951 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20952 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20953 -DIS_IN_build.
20954
20955 * timezone/README: Update upstream location and email address for
20956 tzcode and tzdata.
20957 * timezone/zdump.c: Update from tzcode 2012b.
20958 * timezone/zic.c: Likewise.
20959
20960 * configure.in (libc_cv_as_needed): Remove test.
20961 * configure: Regenerated.
20962 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20963 conditional definition.
20964 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20965 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20966 * config.make.in (have-as-needed): Remove variable.
20967
209682012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20969 Paul Pluzhnikov <ppluzhnikov@google.com>
20970
20971 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20972 strings correctly.
20973
209742012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20975
20976 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20977 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20978 * sysdeps/sh/strlen.S: Likewise.
20979
209802012-04-24 Joseph Myers <joseph@codesourcery.com>
20981
20982 * sysdeps/unix/fork.S: Remove file.
20983 * sysdeps/unix/i386/fork.S: Likewise.
20984 * sysdeps/unix/sparc/fork.S: Likewise.
20985
20986 * sysdeps/unix/system.c: Remove file.
20987 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20988
20989 * sysdeps/unix/getegid.S: Remove file.
20990 * sysdeps/unix/geteuid.S: Likewise.
20991
209922012-04-24 Roland McGrath <roland@hack.frob.com>
20993
20994 * scripts/check-localplt.awk: New file.
20995 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20996 of diff.
20997 * scripts/data/localplt-generic.data: Add a comment.
20998
20999 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21000 NODE when __dir_mkfile failed.
21001 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21002 Reported by Ludovic Courtès <ludo@gnu.org>.
21003
210042012-04-24 Andreas Jaeger <aj@suse.de>
21005
21006 * Makerules (common-clean): Also remove gen-as-const-headers
21007 files.
21008
210092012-04-24 Joseph Myers <joseph@codesourcery.com>
21010
21011 * Makerules (native-compile): Do not change working directory for
21012 build. Use $(OUTPUT_OPTION) in command.
21013 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21014
210152012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21016
21017 [BZ #13886]
21018 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21019 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21020 * math/libm-test.inc (floor_test): Add more tests.
21021 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21022
210232012-04-24 Joseph Myers <joseph@codesourcery.com>
21024
21025 * sysdeps/unix/getdents.c: Remove file.
21026 * sysdeps/unix/sysv/getdents.c: Likewise.
21027 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21028
21029 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21030 sysdeps/unix/mman/syscalls.list.
21031 (mmap): Likewise.
21032 (mprotect): Likewise.
21033 (msync): Likewise.
21034 (munmap): Likewise.
21035 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21036 * sysdeps/unix/mman/syscalls.list: Remove.
21037 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21038
21039 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21040 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21041 * configure: Regenerated.
21042 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21043 $(libgcc_s_suffix).
21044 * config.make.in (libgcc_s_suffix): Remove variable.
21045
210462012-04-23 Joseph Myers <joseph@codesourcery.com>
21047
21048 * sysdeps/unix/sysv/gethostname.c: Move to ...
21049 * sysdeps/posix/gethostname.c: ... here.
21050
21051 * sysdeps/unix/execve.S: Remove file.
21052
21053 * sysdeps/unix/_exit.S: Remove file.
21054
210552012-04-23 Andreas Jaeger <aj@suse.de>
21056
21057 [BZ #13739]
21058 * manual/Makefile: Remove make dist support, there's no
21059 need for a stand-alone documentation tar ball.
21060 (TEXI2DVI): Define always, it's not in Makeconfig.
21061 (dist): Removed.
21062 (tar-it): Removed.
21063 (edition): Removed.
21064 (glibc-doc-$(edition).tar): Removed
21065 (%.Z): Removed.
21066 (%.gz): Removed.
21067 (%.uu): Removed.
21068 (ETAGS): Remove, it's in Makeconfig.
21069 (move-if-change): Remove, it's in Makeconfig.
21070
210712012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21072
21073 [BZ #13970]
21074 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21075 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21076 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21077 (strtod_l, strtof_l, strtold_l): Remove __wur.
21078 It is not necessarily an error to ignore strtol's return value.
21079 One can reliably look at the stored endptr to decide whether
21080 the number had valid syntax.
21081
210822012-04-21 Andreas Jaeger <aj@suse.de>
21083
21084 [BZ #13739]
21085 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21086
210872012-04-21 Joseph Myers <joseph@codesourcery.com>
21088
21089 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21090 * sysdeps/unix/sysv/Versions: Remove file.
21091
210922012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21093
21094 [BZ #13927]
21095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21096
210972012-04-21 Nick Alcock <nick.alcock@oracle.com>
21098
21099 [BZ #7064]
21100 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21101 version from __vm86.
21102
211032012-04-20 Joseph Myers <joseph@codesourcery.com>
21104
21105 * sysdeps/unix/common/lxstat.c: Remove file.
21106 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21107
21108 * sysdeps/unix/sysv/Makefile: Remove file.
21109
21110 * sysdeps/unix/sysv/direct.h: Remove file.
21111
21112 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21113 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21114 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21115 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21116 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21117 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21118 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21119
21120 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21121
21122 * sysdeps/unix/xmknod.c: Remove file.
21123 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21124
21125 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21126
21127 * sysdeps/unix/sysv/i386/time.S: Remove file.
21128
21129 * sysdeps/unix/fxstat.c: Remove file.
21130 * sysdeps/unix/xstat.c: Likewise.
21131 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21132
21133 * sysdeps/unix/sysv/sigaction.c: Remove file.
21134
21135 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21136 (sysdep_headers): Remove variable.
21137 [termio.h not in sysdep_headers] (generated): Likewise.
21138 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21139 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21140 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21141 * sysdeps/unix/sysv/tcflow.c: Likewise.
21142 * sysdeps/unix/sysv/tcflush.c: Likewise.
21143 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21144 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21145 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21146 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21147 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21148
21149 * sysdeps/unix/siglist.c: Remove file.
21150
21151 * sysdeps/unix/getppid.S: Remove file.
21152
21153 * sysdeps/unix/mkdir.c: Remove file.
21154 * sysdeps/unix/rmdir.c: Likewise.
21155
211562012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21157
21158 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21159 ERR_MAX value.
21160 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21161 errlist-compat value.
21162
211632012-04-18 David S. Miller <davem@davemloft.net>
21164
21165 * sysdeps/generic/memcopy.h (reg_char): Delete.
21166 * debug/strcat_chk.c: Use char, not reg_char.
21167 * debug/strcpy_chk.c: Likewise.
21168 * debug/strncat_chk.c: Likewise.
21169 * debug/strncpy_chk.c: Likewise.
21170 * string/memchr.c: Likewise.
21171 * string/memrchr.c: Likewise.
21172 * string/rawmemchr.c: Likewise.
21173 * string/strcat.c: Likewise.
21174 * string/strchr.c: Likewise.
21175 * string/strchrnul.c: Likewise.
21176 * string/strcmp.c: Likewise.
21177 * string/strcpy.c: Likewise.
21178 * string/strncat.c: Likewise.
21179 * string/strncmp.c: Likewise.
21180 * string/strncpy.c: Likewise.
21181
211822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21183
21184 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21185 __builtin_memcopy is called when src and dest ranges are known to not
21186 overlap.
21187
211882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21189
21190 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21191 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21192 fwd_align_merge macro call.
21193 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21194 bwd_align_merge macro call.
21195 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21196
211972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21198
21199 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21200 bwd_align_merge macros.
21201 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21202 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21203 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21204
212052012-04-18 David S. Miller <davem@davemloft.net>
21206
21207 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21208
212092012-04-18 Andreas Jaeger <aj@suse.de>
21210
21211 [BZ# 6794]
21212 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21213 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21214 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21215
21216 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21217 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21219
21220 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21221 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21222 Adjust for changed ldbl-128 files.
21223
21224 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21225 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21226 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21227
212282012-04-17 David S. Miller <davem@davemloft.net>
21229
21230 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21231
212322012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21233
21234 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21235 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21236 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21237 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21238 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21239 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21240
212412012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21242
21243 [BZ #6794]
21244 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21245 * math/libm-test.inc: Add ilogb errno and exception tests.
21246 * math/w_ilogb.c: New file: ilogb wrapper.
21247 * math/w_ilogbf.c: New file: ilogbf wrapper.
21248 * math/w_ilogbl.c: New file: ilogbl wrapper.
21249 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21250 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21251 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21252 exception being thrown with 0.0 as argument.
21253 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21254 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21255 exception being thrown with 0.0 as argument.
21256 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21257 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21258 exception being thrown with 0.0 as argument.
21259 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21260 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21261 exception being thrown with 0.0 as argument.
21262 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21263 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21264 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21265 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21266 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21267 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21268 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21269 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21270 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21271
212722012-04-17 Petr Baudis <pasky@ucw.cz>
21273
21274 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21275 with altivec.
21276
212772012-04-16 Marek Polacek <polacek@redhat.com>
21278
21279 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21280
212812012-04-16 Marek Polacek <polacek@redhat.com>
21282
21283 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21284 operands of fdivp instruction.
21285
212862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21287
21288 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21289 * elf/tst-auditmod3b.c: Likewise.
21290 * elf/tst-auditmod4b.c: Likewise.
21291 * elf/tst-auditmod5b.c: Likewise.
21292 * elf/tst-auditmod6b.c: Likewise.
21293 * elf/tst-auditmod6c.c: Likewise.
21294 * elf/tst-auditmod7b.c: Likewise.
21295 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21296 * sysdeps/x86_64/preconfigure.in: Likewise.
21297 * sysdeps/x86_64/preconfigure: Regenerated.
21298
212992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
21300
21301 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21302 __ILP32__.
21303
213042012-04-13 Antoine Balestrat <merkil33@gmail.com>
21305
21306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21307 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21308
213092012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
21310
21311 [BZ #13973]
21312 * locale/iso-639.def: Fix gl language name. Spotted by
21313 Yaron Shahrabani.
21314
213152012-04-12 Roland McGrath <roland@hack.frob.com>
21316
21317 [BZ #2074]
21318 * libio/libio.h (__io_write_fn): Update comment.
21319
213202012-04-12 Petr Baudis <pasky@ucw.cz>
21321
21322 [BZ #2074]
21323 * stdio.texi (Hook Functions): The user provided writer function
21324 is not allowed to return -1.
21325
213262012-04-11 David S. Miller <davem@davemloft.net>
21327
21328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21329
213302012-04-11 Mike Frysinger <vapier@gentoo.org>
21331
21332 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
21333 Add a leading slash to rtkaio.
21334
213352012-04-11 Jim Meyering <meyering@redhat.com>
21336
21337 [BZ #11959]
21338 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
21339 It is not necessarily an error to ignore fwrite's return
21340 value. One can reliably use ferror to test for errors after
21341 the fact.
21342
213432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21344
21345 * bits/types.h (__snseconds_t): New type.
21346 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
21347
21348 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
21349 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21350 (__SNSECONDS_T_TYPE): Likewise.
21351 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21352 (__SNSECONDS_T_TYPE): Likewise.
21353 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21354 (__SNSECONDS_T_TYPE): Likewise.
21355
213562012-04-10 Andreas Jaeger <aj@suse.de>
21357
21358 [BZ #2636]
21359 * manual/time.texi (Processor Time): Return type of times is
21360 elapsed real time since an arbitrary point in the past.
21361 (CPU Time): Move CLK_TCK from here...
21362 (Processor Time): ...to here. Correct description.
21363 * manual/conf.texi (Constants for Sysconf): Correct description of
21364 _SC_CLK_TCK.
21365
213662012-04-10 David S. Miller <davem@davemloft.net>
21367
21368 [BZ #13967]
21369 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
21370 where the is a gap between DT_REL(A) and DT_JMPREL.
21371
213722012-04-10 H.J. Lu <hongjiu.lu@intel.com>
21373
21374 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
21375 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21376 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21377
213782012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21379
21380 * elf/dl-support.c (_dl_inhibit_cache): New variable.
21381 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
21382 (dl_main): Handle --inhibit-cache.
21383 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
21384 _dl_inhibit_cache.
21385 * elf/dl-load.c (_dl_map_object): Use it.
21386 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
21387
213882012-04-09 Joseph Myers <joseph@codesourcery.com>
21389
21390 [BZ #13872]
21391 * sysdeps/i386/fpu/e_powl.S (p78): New object.
21392 (__ieee754_powl): Saturate large exponents rather than testing for
21393 overflow of y*log2(x).
21394 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21395 * math/libm-test.inc (pow_test): Do not permit spurious overflow
21396 exceptions.
21397
21398 [BZ #11521]
21399 * math/s_ctan.c: Include <float.h>.
21400 (__ctan): Avoid internal overflow or cancellation in calculating
21401 denominator.
21402 * math/s_ctanf.c: Likewise.
21403 * math/s_ctanl.c: Likewise.
21404 * math/s_ctanh.c: Likewise.
21405 * math/s_ctanhf.c: Likewise.
21406 * math/s_ctanhl.c: Likewise.
21407 * math/libm-test.inc (ctan_test): Add more tests.
21408 (ctanh_test): Likewise.
21409 * sysdeps/i386/fpu/libm-test-ulps: Update.
21410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21411
214122012-04-09 Andreas Jaeger <aj@suse.de>
21413
21414 [BZ #6894]
21415 * manual/filesys.texi (Directory Entries): Mention that d_namlen
21416 is an optional BSD extension.
21417
21418 [BZ #10254]
21419 * manual/stdio.texi (Opening Streams): Document additional fopen
21420 parameters.
21421
214222012-04-09 Roland McGrath <roland@hack.frob.com>
21423
21424 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
21425 %eax without telling the compiler.
21426
214272012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
21428
21429 [BZ # 13963]
21430 * manual/install.texi: Use sourceware.org.
21431
214322012-04-09 Joseph Myers <joseph@codesourcery.com>
21433
21434 [BZ #13873]
21435 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
21436 (__ieee754_pow): Generate overflow and underflow using huge*huge
21437 and tiny*tiny rather than just returning constant infinity or zero
21438 for large exponents.
21439 * math/libm-test.inc (pow_test): Require overflow exceptions for
21440 applicable cases of large exponents.
21441
21442 [BZ #706]
21443 * sysdeps/i386/fpu/e_pow.S (p10): New object.
21444 (__ieee754_pow): Use iterative multiplication algorithm only for
21445 integer exponents with absolute value below 1024. Check for odd
21446 integer exponents when using algorithm for real exponents.
21447 * math/libm-test.inc (pow_test): Add more tests.
21448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21449
214502012-04-08 Joseph Myers <joseph@codesourcery.com>
21451
21452 [BZ #13705]
21453 * math/libm-test.inc (exp_test): Do not allow overflow exception
21454 on underflow test.
21455
214562012-04-08 Aurelien Jarno <aurelien@aurel32.net>
21457
21458 [BZ #13705]
21459 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
21460 instead of __kernel_standard_f.
21461
214622012-04-08 Mike Frysinger <vapier@gentoo.org>
21463
21464 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
21465 * sysdeps/x86_64/memset_chk.S: Likewise.
21466
214672012-04-08 Andreas Jaeger <aj@suse.de>
21468
21469 [BZ #10153]
21470 * manual/startup.texi (Environment Access): Describe return value
21471 for putenv and setenv.
21472
21473 [BZ #6895]
21474 * manual/filesys.texi (Directory Entries): Add description for
21475 DT_LNK.
21476
21477 [BZ #6890]
21478 * manual/filesys.texi (Directory Entries): Clarify that it's file
21479 system not operating system in the description of DT_UNKNOWN.
21480
21481 [BZ #6578]
21482 * manual/syslog.texi (closelog): Fix reference, it's openlog.
21483
214842012-04-08 Stephen Compall <s11@member.fsf.org>
21485
21486 [BZ #6649]
21487 * manual/llio.texi (Opening and Closing Files): Add cross
21488 reference to explain mode argument.
21489
214902012-04-07 Mike Frysinger <vapier@gentoo.org>
21491
21492 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
21493 * sysdeps/x86_64/memset_chk.S: Likewise.
21494
214952012-04-07 David S. Miller <davem@davemloft.net>
21496
21497 * elf/elf.h (R_SPARC_WDISP10): Define.
21498 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
21499 R_SPARC_SIZE32.
21500 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
21501 R_SPARC_SIZE64 and R_SPARC_H34.
21502
215032012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21504
21505 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
21506 conditions and remove no longer applicable assertion.
21507
215082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21509
21510 * bits/byteswap.h: Include <features.h>.
21511 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
21512 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
21513
215142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
21515
21516 * bits/byteswap.h (__bswap_16): Removed.
21517 Include <bits/byteswap-16.h> to get __bswap_16.
21518 * sysdeps/i386/bits/byteswap.h: Likewise.
21519 * sysdeps/s390/bits/byteswap.h: Likewise.
21520 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21521 * bits/byteswap-16.h: New file.
21522 * sysdeps/i386/bits/byteswap-16.h: Likewise.
21523 * sysdeps/s390/bits/byteswap-16.h: Likewise.
21524 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
21525 * string/Makefile (headers): Add bits/byteswap-16.h.
21526
215272012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21528
21529 [BZ #13895]
21530 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
21531 extra indirection.
21532 * nss/Makefile (tests-static, tests): Add tst-nss-static.
21533 * nss/tst-nss-static.c: New.
21534
215352012-04-06 Robert Millan <rmh@gnu.org>
21536
21537 [BZ #6486]
21538 * manual/llio.texi (File Position Primitive): lseek
21539 refers to WHENCE when it really means OFFSET.
21540
215412012-04-06 Andreas Jaeger <aj@suse.de>
21542
21543 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
21544 strncmp declarations.
21545
21546 * abilist/libc.abilist: Add __poll and __ppoll.
21547
215482012-04-05 David S. Miller <davem@davemloft.net>
21549
21550 * scripts/check-local-headers.sh: Accept a host triplet in the
21551 path matched by the exclude regexp.
21552
21553 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
21554 definition.
21555 * sysdeps/powerpc/powerpc32/dl-machine.h
21556 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
21557 * sysdeps/s390/s390-32/dl-machine.h
21558 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21559 * sysdeps/sparc/sparc32/dl-machine.h
21560 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21561 * sysdeps/sparc/sparc64/dl-machine.h
21562 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
21563
21564 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
21565 lazy binding.
21566 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
21567 undefined symbol errors.
21568
21569 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
21570 DT_NEEDED entries.
21571
215722012-04-05 Michael Matz <matz@suse.de>
21573
21574 [BZ #13592]
21575 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
21576
215772012-04-05 Andreas Jaeger <aj@suse.de>
21578
21579 [BZ #13908]
21580 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
21581 comment.
21582
215832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21584
21585 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
21586 which ROUND is no valid rounding mode.
21587
215882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21589
21590 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
21591 read again.
21592 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
21593
215942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21595
21596 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
21597 an exception using FPU order intentionally.
21598
215992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21600
21601 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
21602 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21603 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
21604 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
21605
216062012-04-05 Simon Josefsson <simon@josefsson.org>
21607
21608 [BZ #12340]
21609 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
21610 EINVAL when BUFLEN is too smal.
21611
216122012-04-05 Thomas Schwinge <thomas@codesourcery.com>
21613
21614 [BZ #13553]
21615 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
21616 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
21617
216182012-04-03 Andreas Jaeger <aj@suse.de>
21619
21620 [BZ #13938]
21621 * manual/setjmp.texi (System V contexts): Fix sentence.
21622
21623 [BZ #13926]
21624 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
21625 New macro for this case.
21626 [!__GNUC__] (__bswap_64): New inline function for this case.
21627 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21628 * bits/byteswap.h: Likewise.
21629 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
21630 ull, guard with __GLIBC_HAVE_LONG_LONG.
21631
21632 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
21633 __GLIBC_HAVE_LONG_LONG.
21634
21635 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
21636 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
21637
216382012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21639
21640 [BZ #13691]
21641 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
21642 inptr and inend, rather than using last_ch.
21643
216442012-04-02 David S. Miller <davem@davemloft.net>
21645
21646 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
21647 * stdio-common/printf-parse.h (read_int): Change return type to
21648 'int', return -1 on INT_MAX overflow.
21649 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
21650 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
21651 overflows INT_MAX. Check for overflow of in-format-string precision
21652 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
21653 SIZE_MAX not INT_MAX for integer overflow test.
21654 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
21655 skip the construct in the format string but do not record anything.
21656 * stdio-common/bug22.c: Adjust to test both width/prevision
21657 INT_MAX overflow as well as total length INT_MAX overflow. Check
21658 explicitly for proper errno values.
21659
216602012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21661
21662 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21663 CHAR_MAX.
21664 * string/test-strcmp.c [! WIDE]: Likewise.
21665 * time/tst-mktime2.c: Likewise for INT_MAX.
21666 * string/test-string.h: #include <sys/param.h> for MIN.
21667
21668 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21669 * sysdeps/i386/init-first.c (init): Likewise.
21670 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21671 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21672 * sysdeps/sh/init-first.c (init): Likewise.
21673
216742012-04-01 Ulrich Drepper <drepper@gmail.com>
21675
21676 * po/ru.po: Update from translation team.
21677 * po/vi.po: Likewise.
21678
216792012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21680
21681 * resolv/nss_dns/dns-host.c: Merge copyright years.
21682
216832012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21684
21685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21686 Optimize memcpy with prefetch if
21687 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21688 src, dst pointers have unequal 16 byte alignments.
21689
216902012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21691
21692 [BZ #13928]
21693 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21694 from a CNAME entry and return the minimum ttl for the query.
21695 (gaih_getanswer_slice): Likewise.
21696
216972012-03-30 Jeff Law <law@redhat.com>
21698
21699 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21700 due to long keys.
21701 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21702 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21703
21704 * resolv/nss_dns/dns-host.c: Update copyright year.
21705
217062012-03-30 Ulrich Drepper <drepper@gmail.com>
21707
21708 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
21709 requests to save a system call. Fix check that all bytes are sent.
21710
21711 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21712 comments for sendmmsg.
21713
217142012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21715
21716 [BZ #13691]
21717 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21718 with only 1 character between 0x0041 and 0x01b0.
21719 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21720 * wcsmbs/tst-mbsnrtowcs.c: New file.
21721
217222012-03-29 David S. Miller <davem@davemloft.net>
21723
21724 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21725 small copies by hand.
21726
217272012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21728
21729 [BZ #13761]
21730 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21731 _nss_compat_initgroups_dyn): Fall back to malloc/free
21732 for large group memberships.
21733
217342012-03-28 David S. Miller <davem@davemloft.net>
21735
21736 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21737 that branches into memcpy.
21738 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21739 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21741 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21743 bits.
21744 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21745 implementation too.
21746 * sysdeps/sparc/mempcpy.S: New file.
21747
21748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21749 the IFUNC routine in the libc case.
21750 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21751
21752 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21753 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21754 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21755 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21756 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21757 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21758 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21759 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21760
21761 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21762 loop to 256 bytes instead of 64 bytes and fix test signedness.
21763
21764 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21765 * sysdeps/sparc/sparc32/Makefile: rather than here...
21766 * sysdeps/sparc/sparc64/Makefile: and here.
21767
217682012-03-28 Ulrich Drepper <drepper@gmail.com>
21769
21770 * malloc/mallocbug.c: Avoid warnings about unused variables.
21771
217722012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21773
21774 [BZ #13760]
21775 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21776 in the right place. Discard and retry query if response is
21777 larger than input buffer size.
21778
217792012-03-28 Joseph Myers <joseph@codesourcery.com>
21780
21781 [BZ #369]
21782 [BZ #2678]
21783 [BZ #3866]
21784 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21785 x for large integer exponent.
21786 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21787 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21788 sign of result as needed afterwards.
21789 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21790 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21791 result for underflowing pow the same as for overflow.
21792 (__kernel_standard_l): Handle powl overflow and underflow here
21793 rather than calling __kernel_standard.
21794 * math/libm-test.inc (pow_test): Add more tests.
21795
21796 [BZ #3868]
21797 [BZ #13879]
21798 [BZ #13910]
21799 [BZ #13911]
21800 [BZ #13912]
21801 [BZ #13913]
21802 [BZ #13915]
21803 [BZ #13916]
21804 [BZ #13917]
21805 [BZ #13918]
21806 [BZ #13919]
21807 [BZ #13920]
21808 [BZ #13921]
21809 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21810 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21811 (__kernel_standard_l): New function.
21812 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21813 __kernel_standard.
21814 * math/w_acosl.c (__acosl): Likewise.
21815 * math/w_asinl.c (__asinl): Likewise.
21816 * math/w_atan2l.c (__atan2l): Likewise.
21817 * math/w_atanhl.c (__atanhl): Likewise.
21818 * math/w_coshl.c (__coshl): Likewise.
21819 * math/w_exp10l.c (__exp10l): Likewise.
21820 * math/w_exp2l.c (__exp2l): Likewise.
21821 * math/w_fmodl.c (__fmodl): Likewise.
21822 * math/w_hypotl.c (__hypotl): Likewise.
21823 * math/w_j0l.c (__j0l, __y0l): Likewise.
21824 * math/w_j1l.c (__j1l, __y1l): Likewise.
21825 * math/w_jnl.c (__jnl, __ynl): Likewise.
21826 * math/w_lgammal.c (__lgammal): Likewise.
21827 * math/w_log10l.c (__log10l): Likewise.
21828 * math/w_log2l.c (__log2l): Likewise.
21829 * math/w_logl.c (__logl): Likewise.
21830 * math/w_powl.c (__powl): Likewise.
21831 * math/w_remainderl.c (__remainderl): Likewise.
21832 * math/w_scalbl.c (sysv_scalbl): Likewise.
21833 * math/w_sinhl.c (__sinhl): Likewise.
21834 * math/w_sqrtl.c (__sqrtl): Likewise.
21835 * math/w_tgammal.c (__tgammal): Likewise.
21836 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21837 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21838 * math/libm-test.inc (acos_test): Add more tests.
21839 (acosh_test): Likewise.
21840 (asin_test): Likewise.
21841 (atanh_test): Likewise.
21842 (exp_test): Likewise.
21843 (exp10_test): Likewise.
21844 (exp2_test): Likewise.
21845 (expm1_test): Likewise.
21846 (lgamma_test): Likewise.
21847 (log_test): Likewise.
21848 (log10_test): Likewise.
21849 (log1p_test): Likewise.
21850 (log2_test): Likewise.
21851 (pow_test): Do not allow some spurious overflow exceptions.
21852 (sqrt_test): Add more tests.
21853 (tgamma_test): Likewise.
21854 (y0_test): Likewise.
21855 (y1_test): Likewise.
21856 (yn_test): Likewise.
21857
218582012-03-27 Anton Blanchard <anton@samba.org>
21859
21860 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21861 MAP_HUGETLB.
21862 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21863 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21864 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21865
218662012-03-27 David S. Miller <davem@davemloft.net>
21867
21868 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21869
21870 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21871 have-as-vis3 check.
21872
218732012-03-27 Andreas Jaeger <aj@suse.de>
21874
21875 * sysdeps/x86_64/elf/configure.in: Moved to ...
21876 * sysdeps/x86_64/configure.in: ... here.
21877 * sysdeps/x86_64/elf/start.S: Moved to ...
21878 * sysdeps/x86_64/start.S: ... here.
21879 * sysdeps/x86_64/elf/configure: Delete.
21880
21881 * sysdeps/x86_64/configure.in: Merge contents from
21882 sysdeps/i386/configure.in (without i686 check).
21883
21884 * sysdeps/i386/elf/Versions: Merge into ...
21885 * sysdeps/i386/Versions: ... this.
21886 * sysdeps/i386/elf/Versions: Delete file.
21887 * sysdeps/i386/elf/start.S: Moved to ...
21888 * sysdeps/i386/start.S: ...here.
21889 * sysdeps/i386/elf/configure.in: Merge into...
21890 * sysdeps/i386/configure.in: ...here.
21891 * sysdeps/i386/elf/configure.in: Delete file.
21892 * sysdeps/i386/elf/configure: Delete file.
21893
21894 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21895 * debug/backtracesyms.c: ... here.
21896 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21897 * debug/backtracesymsfd.c: ... here.
21898 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21899 * sysdeps/generic/ifunc-sel.h: ... here.
21900
21901 * sysdeps/unix/i386/start.c: Delete file.
21902 * sysdeps/unix/sparc/start.c: Delete file.
21903 * sysdeps/unix/start.c: Delete file.
21904
21905 * sysdeps/sh/elf/configure.in: Moved to ...
21906 * sysdeps/sh/configure.in: ... here.
21907 * sysdeps/sh/elf/start.S: Moved to ...
21908 * sysdeps/sh/start.S: ... here.
21909 * sysdeps/sh/elf/configure: Delete file.
21910
21911 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21912 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21913 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21914 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21915 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21916 * sysdeps/powerpc/powerpc64/start.S: here.
21917 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21918 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21919 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21920 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21921 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21922
21923 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21924 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21925 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21926 * sysdeps/powerpc/powerpc32/start.S: ... here.
21927 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21928 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21929 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21930
21931 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21932 * sysdeps/powerpc/ifunc-sel.h: ... here.
21933 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21934 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21935
21936 * sysdeps/sparc/elf/configure.in: Moved to ...
21937 * sysdeps/sparc/configure.in: ... here.
21938 * sysdeps/sparc/elf/configure: Delete file.
21939 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21940 * sysdeps/sparc/sparc32/start.S: ... here.
21941 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21942 * sysdeps/sparc/sparc64/start.S: ... here.
21943 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21944 * sysdeps/sparc/sparc32/Makefile: ... this.
21945 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21946 * sysdeps/sparc/sparc64/Makefile: ... this.
21947
21948 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21949 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21950 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21951 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21952 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21953 * sysdeps/s390/s390-32/setjmp.S: ... here.
21954 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21955 * sysdeps/s390/s390-32/configure.in: ... here.
21956 * sysdeps/s390/s390-32/elf/configure: Delete file.
21957 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21958 * sysdeps/s390/s390-32/start.S: ... here.
21959
21960 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21961 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21962 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21963 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21964 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21965 * sysdeps/s390/s390-64/setjmp.S: ... here.
21966 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21967 * sysdeps/s390/s390-64/configure.in: ... here
21968 * sysdeps/s390/s390-64/elf/configure: Delete file.
21969 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21970 * sysdeps/s390/s390-64/start.S: ... here.
21971 * sysdeps/s390/s390-64/elf/configure: Delete.
21972
21973 * configure.in: Remove support for elf directories in sysdeps.
21974
21975 * configure: Regenerated.
21976 * sysdeps/i386/configure: Regenerated.
21977 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21978 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21979 * sysdeps/s390/s390-32/configure: Regenerated.
21980 * sysdeps/s390/s390-64/configure: Regenerated.
21981 * sysdeps/sh/configure: Regenerated.
21982 * sysdeps/sparc/configure: Regenerated.
21983 * sysdeps/x86_64/configure: Regenerated.
21984
219852012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21986
21987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21988
21989 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21990 denormal result into account.
21991
219922012-03-25 Roland McGrath <roland@hack.frob.com>
21993
21994 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21995 Reported by Allan McRae <allan@archlinux.org>.
21996
219972012-03-23 Jeff Law <law@redhat.com>
21998
21999 * nss/getnssent.c (__nss_getent): Fix typo.
22000
220012012-03-23 David S. Miller <davem@davemloft.net>
22002
22003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22004
220052012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22006
22007 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22008 to pad to uint64_t for each field.
22009 (dl_tls_index): Replace unsigned long with uint64_t.
22010
220112012-03-23 Daniel Jacobowitz <dmj@google.com>
22012 Paul Pluzhnikov <ppluzhnikov@google.com>
22013
22014 [BZ #6528]
22015 * grp/Makefile (otherlibs): Don't set it.
22016 * inet/Makefile (otherlibs): Likewise.
22017 * login/Makefile (otherlibs): Likewise.
22018 * nscd/Makefile (otherlibs): Likewise.
22019 * posix/Makefile (otherlibs): Likewise.
22020 * pwd/Makefile (otherlibs): Likewise.
22021 * rt/Makefile (otherlibs): Likewise.
22022 * sunrpc/Makefile (otherlibs): Likewise.
22023 * nss/Makefile (otherlibs): Likewise.
22024 Add libnss_files to routines and static-only-routines.
22025 ($(objpfx)getent): Remove rule.
22026 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22027 static-only-routines.
22028
220292012-03-22 Joseph Myers <joseph@codesourcery.com>
22030
22031 [BZ #13892]
22032 * math/s_cexp.c: Include <float.h>.
22033 (__cexp): Handle exp result overflowing not necessarily
22034 overflowing both real and imaginary parts of result.
22035 * math/s_cexpf.c: Likewise.
22036 * math/s_cexpl.c: Likewise.
22037 * math/libm-test.inc (cexp_test): Add more tests.
22038 * sysdeps/i386/fpu/libm-test-ulps: Update.
22039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22040
220412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22042
22043 * include/link.h (ELFW): New macro.
22044 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22045 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22046
220472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22048
22049 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22050 with uint64_t.
22051
220522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22053
22054 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22055 declaration.
22056 (struct La_x32_retval): Likewise.
22057
220582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22059
22060 * sysdeps/x86_64/preconfigure.in: New file.
22061 * sysdeps/x86_64/preconfigure: New generated file.
22062
220632012-03-22 Joseph Myers <joseph@codesourcery.com>
22064
22065 [BZ #13824]
22066 * math/e_exp2l.c: Include <float.h>.
22067 (__ieee754_exp2l): Handle overflow and underflow cases
22068 separately. Only pass fractional part of argument to
22069 __ieee754_expl.
22070 * math/libm-test.inc (exp2_test): Add more tests.
22071
22072 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22073 negating x to take absolute value.
22074 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22075 Likewise.
22076 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22077 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22078 Likewise.
22079 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22080 computing low part if x was negated.
22081 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22082
220832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22086 la_x32_gnu_pltexit.
22087 (pltexit): Cast int_retval to ptrdiff_t.
22088 * elf/tst-auditmod3b.c: Likewise.
22089 * elf/tst-auditmod4b.c: Likewise.
22090 * elf/tst-auditmod5b.c: Likewise.
22091 * elf/tst-auditmod6b.c: Likewise.
22092 * elf/tst-auditmod6c.c: Likewise.
22093 * elf/tst-auditmod7b.c: Likewise.
22094
22095 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22096 and x32_gnu_pltexit.
22097
22098 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22099 __ELF_NATIVE_CLASS.
22100 (La_x32_regs): New macro.
22101 (La_x32_retval): Likewise.
22102 (la_x32_gnu_pltenter): New function prototype.
22103 (la_x32_gnu_pltexit): Likewise.
22104
221052012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22106
22107 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22108 exponent.
22109
22110 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22111
22112 * configure.in (libc_cv_cc_nofma): Check for option to disable
22113 generation of FMA instructions.
22114 * configure: Regenerate.
22115 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22116 * sysdeps/ieee754/dbl-64/Makefile: New file.
22117 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22118 Remove brandred-fma4.
22119 (CFLAGS-brandred-fma4.c): Remove.
22120 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22121 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22122 define.
22123 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22124 define.
22125
221262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22127
22128 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22129 LLONG_MAX != LONG_MAX.
22130 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22131 (_fitoa_word): Likewise.
22132 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22133 LLONG_MAX != LONG_MAX.
22134 * stdio-common/_itowa.h: Include <_itoa.h>.
22135 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22136 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22137 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22138 only if not defined.
22139 (_ITOA_WORD_TYPE): Likewise.
22140 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22141 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22142
221432012-03-21 David S. Miller <davem@davemloft.net>
22144
22145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22146
221472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22148
22149 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22150 of x86_64 when setting libc_cv_slibdir, libdir and
22151 libc_cv_localedir.
22152 * sysdeps/unix/sysv/linux/configure: Regenerated.
22153
221542012-03-21 Joseph Myers <joseph@codesourcery.com>
22155
22156 * manual/lang.texi (Old Varargs): Remove section.
22157 (How Variadic): Update menu.
22158 (va_start): Do not mention varargs.h.
22159
221602012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22161 Joseph Myers <joseph@codesourcery.com>
22162
22163 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22164 link test.
22165 * configure: Regenerated.
22166
221672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22168
22169 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22170 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22171 conformtest.pl
22172
221732012-03-21 Joseph Myers <joseph@codesourcery.com>
22174
22175 * NOTES: Remove.
22176 * Makefile (files-for-dist): Remove NOTES.
22177 (NOTES): Remove rule.
22178 * README: Don't refer to NOTES.
22179 * manual/creature.texi: Don't include macros.texi.
22180 * manual/intro.texi (creature.texi): Remove comment referring to
22181 NOTES.
22182
22183 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22184 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22185 * configure: Regenerated.
22186 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22187 LIBC_TRY_CC_OPTION.
22188 (libc_cv_as_i686): Likewise.
22189 (libc_cv_cc_avx): Likewise.
22190 (libc_cv_cc_sse2avx): Likewise.
22191 (libc_cv_cc_fma4): Likewise.
22192 (libc_cv_cc_novzeroupper): Likewise.
22193 * sysdeps/i386/configure: Regenerated.
22194
22195 [BZ #13883]
22196 * sysdeps/i386/fpu/s_cexp.S: Remove.
22197 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22198 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22199 * math/libm-test.inc (cexp_test): Add more tests.
22200 * sysdeps/i386/fpu/libm-test-ulps: Update.
22201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22202
222032012-03-21 Allan McRae <allan@archlinux.org>
22204
22205 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22206
222072012-03-21 Joseph Myers <joseph@codesourcery.com>
22208
22209 [BZ #13871]
22210 * math/w_exp2.c: Do not include <float.h>.
22211 (o_threshold, u_threshold): Remove.
22212 (__exp2): Calculate result before checking finiteness and calling
22213 __kernel_standard.
22214 * math/w_exp2f.c: Likewise.
22215 * math/w_exp2l.c: Likewise.
22216 * math/libm-test.inc (exp2_test): Require overflow exception for
22217 1e6 input.
22218
22219 [BZ #3866]
22220 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22221 range of signed 64-bit integers before using fistpll. Remove
22222 checks for whether integers fit in mantissa bits.
22223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22224 the range of signed 32-bit integers before using fistpl. Remove
22225 checks for whether integers fit in mantissa bits.
22226 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22227 (__ieee754_powl): Test for y outside the range of signed 64-bit
22228 integers before using fistpll. Reduce 64-bit values to 63-bit
22229 ones as needed.
22230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22231 divide-by-zero is raised for zero to large negative powers.
22232 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22233 (__ieee754_powl): Test for y outside the range of signed 64-bit
22234 integers before using fistpll. Reduce 64-bit values to 63-bit
22235 ones as needed.
22236 * math/libm-test.inc (pow_test): Add more tests.
22237
222382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22239
22240 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22241 <stdio-common/_itoa.h>.
22242 * debug/segfault.c: Likewise.
22243 * elf/dl-cache.c: Likewise.
22244 * elf/dl-minimal.c: Likewise.
22245 * elf/dl-misc.c: Likewise.
22246 * elf/dl-sysdep.c: Likewise.
22247 * elf/dl-version.c: Likewise.
22248 * elf/rtld.c: Likewise.
22249 * hurd/hurdsock.c: Likewise.
22250 * hurd/lookup-retry.c: Likewise.
22251 * malloc/malloc.c: Likewise.
22252 * malloc/mtrace.c: Likewise.
22253 * nscd/nscd_getgr_r.c: Likewise.
22254 * nscd/nscd_getpw_r.c: Likewise.
22255 * nscd/nscd_getserv_r.c: Likewise.
22256 * posix/getopt_init.c: Likewise.
22257 * posix/wordexp.c: Likewise.
22258 * stdio-common/_itoa.c: Likewise.
22259 * stdio-common/printf_fphex.c: Likewise.
22260 * stdio-common/vfprintf.c: Likewise.
22261 * string/_strerror.c: Likewise.
22262 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22263 * sysdeps/i386/i686/hp-timing.h: Likewise.
22264 * sysdeps/mach/_strerror.c: Likewise.
22265 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22266 * sysdeps/mach/hurd/sethostid.c: Likewise.
22267 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22268 * sysdeps/mach/xpg-strerror.c: Likewise.
22269 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22270 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22271 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22272 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22273 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22274 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22275 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22276 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22277 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22278 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22279 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22280 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22281 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22282 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22283 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22284 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22285 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22286 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22287 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22288 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22289 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22290
22291 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22292
22293 * stdio-common/_itoa.h: Moved to ...
22294 * sysdeps/generic/_itoa.h: Here.
22295
22296 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22297
22298 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22299 instead of "_itoa.h" and "_itowa.h".
22300 * stdio-common/vfprintf.: Likewise.
22301
223022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22303
22304 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22305 <bits/wordsize.h>.
22306 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22307 (__signbit): Likwise.
22308 (llrintf): Likwise.
22309 (llrint): Likwise.
22310
223112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22312
22313 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22314 __WORDSIZE != 64.
22315
223162012-03-20 Joseph Myers <joseph@codesourcery.com>
22317
22318 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22319 OVERFLOW_EXCEPTION_OK.
22320 * math/libm-test.inc ("Philosophy"): Update comment about
22321 exception testing.
22322 (OVERFLOW_EXCEPTION): Define.
22323 (OVERFLOW_EXCEPTION_OK): Likewise.
22324 (INVALID_EXCEPTION_OK): Renumber.
22325 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22326 (IGNORE_ZERO_INF_SIGN): Likewise.
22327 (test_exceptions): Handle FE_OVERFLOW.
22328 (exp10_test): Expect overflow exceptions.
22329 (exp2_test): Likewise.
22330 (expm1_test): Likewise.
22331 (nextafter_test): Likewise.
22332 (pow_test): Likewise.
22333 (scalbn_test): Likewise.
22334 (scalbln_test): Likewise.
22335
223362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22337
22338 * sysdeps/x86_64/bits/atomic.h
22339 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
22340 64bit integer.
22341 (atomic_exchange_acq): Likewise.
22342 (__arch_exchange_and_add_body): Likewise.
22343 (__arch_add_body): Likewise.
22344 (atomic_add_negative): Likewise.
22345 (atomic_add_zero): Likewise.
22346
223472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22348
22349 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
22350 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
22351
223522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22353
22354 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
22355 Check __x86_64__ instead of __WORDSIZE.
22356
223572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22358
22359 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
22360
223612012-03-19 David S. Miller <davem@davemloft.net>
22362
22363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22364
22365 * sysdeps/sparc/fpu/fenv_private.h: New file.
22366 * sysdeps/sparc/fpu/math_private.h: Use it.
22367 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
22368 Remove.
22369 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
22370 (libc_feholdexcept_setroundl): Remove.
22371 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
22372 Remove.
22373 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
22374 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
22375
223762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22377
22378 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
22379 int64_t instead of long int.
22380 (INSERT_WORDS64): Likwise.
22381
223822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
22383
22384 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
22385 _Unwind_GetCFA return to _Unwind_Ptr first.
22386
223872012-03-19 Joseph Myers <joseph@codesourcery.com>
22388
22389 [BZ #13629]
22390 * math/s_clog.c: Include <float.h>.
22391 (__clog): Scale large or subnormal inputs.
22392 * math/s_clogf.c: Likewise.
22393 * math/s_clogl.c: Likewise.
22394 * math/s_clog10.c: Include <float.h>.
22395 (M_LOG10_2): Define.
22396 (__clog10): Scale large or subnormal inputs.
22397 * math/s_clog10f.c: Likewise.
22398 * math/s_clog10l.c: Likewise.
22399 * math/libm-test.inc (clog_test): Add more tests.
22400 (clog10_test): Likewise.
22401 * sysdeps/i386/fpu/libm-test-ulps: Update.
22402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22403
22404 [BZ #11451]
22405 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
22406 x and y.
22407 * math/libm-test.inc (atan2_test): Add another test.
22408
22409 * Makerules (common-objdir-compile): Remove.
22410 * sysdeps/unix/Makefile (config-generated): Do not add
22411 $(unix-generated) to variable.
22412 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
22413 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
22414 Remove rule.
22415 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
22416 Likewise.
22417 [generic bits/local_lim.h] (before-compile): Do not append to
22418 variable.
22419 [generic bits/local_lim.h] (common-generated): Likewise.
22420 [generic sys/param.h] (before-compile): Do not append to variable.
22421 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
22422 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
22423 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
22424 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
22425 include.
22426 [generic sys/param.h] (sys/param.h-includes): Remove variable.
22427 [generic sys/param.h] (sys/param.h-includes): Remove rule.
22428 [generic sys/param.h] ($(addprefix
22429 $(common-objpfx),$(sys/param.h-includes))): Likewise.
22430 [generic sys/param.h] (common-generated): Do not append to
22431 variable.
22432 [generic sys/param.h] (sysdep_headers): Likewise.
22433 [generic bits/errno.h] (before-compile): Do not append to
22434 variable.
22435 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
22436 rule.
22437 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
22438 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
22439 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
22440 [generic bits/errno.h] (common-generated): Do not append to
22441 variable.
22442 [generic bits/ioctls.h] (before-compile): Do not append to
22443 variable.
22444 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
22445 rule.
22446 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
22447 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
22448 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
22449 rule.
22450 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
22451 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
22452 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
22453 [generic bits/ioctls.h] (common-generated): Do not append to
22454 variable.
22455 [generic sys/syscall.h] (syscall.h): Remove variable.
22456 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
22457 rule.
22458 [generic sys/syscall.h] (before-compile): Do not append to
22459 variable.
22460 [generic sys/syscall.h] (common-generated): Likewise.
22461 * sysdeps/unix/errnos-tmpl.c: Remove file.
22462 * sysdeps/unix/errnos.awk: Likewise.
22463 * sysdeps/unix/ioctls-tmpl.c: Likewise.
22464 * sysdeps/unix/ioctls.awk: Likewise.
22465 * sysdeps/unix/mk-local_lim.c: Likewise.
22466 * sysdeps/unix/snarf-ioctls: Likewise.
22467
224682012-03-19 Richard Henderson <rth@twiddle.net>
22469
22470 * sysdeps/i386/fpu/fenv_private.h: New file.
22471 * sysdeps/i386/fpu/math_private.h: Use it.
22472 (math_opt_barrier, math_force_eval): Remove.
22473 (libc_feholdexcept_setround_53bit): Remove.
22474 (libc_feupdateenv_53bit): Remove.
22475 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22476 (math_opt_barrier, math_force_eval): Remove.
22477 (libc_feholdexcept): Remove.
22478 (libc_feholdexcept_setround): Remove.
22479 (libc_fetestexcept, libc_fesetenv): Remove.
22480 (libc_feupdateenv_test): Remove.
22481 (libc_feupdateenv, libc_feholdsetround): Remove.
22482 (libc_feresetround): Remove.
22483
22484 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
22485 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
22486
22487 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
22488 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
22489 (libc_feupdateenv_testl): New.
22490 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
22491 (libc_feupdateenv_testf): New.
22492 (libc_feupdateenv): Use libc_feupdateenv_test.
22493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
22494 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
22495
22496 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
22497 (libc_feholdsetroundf, libc_feholdsetroundl): New.
22498 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
22499 (libc_feresetround_noex): New.
22500 (libc_feresetround_noexf): New.
22501 (libc_feresetround_noexl): New.
22502 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
22503 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
22504 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
22505 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
22506 SET_RESTORE_ROUND.
22507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22508 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
22509 (__cos): Likewise.
22510 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
22511 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
22512 SET_RESTORE_ROUND_NOEX.
22513 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
22514 SET_RESTORE_ROUND_NOEXF.
22515 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
22516 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
22517 (libc_feholdsetroundf): New.
22518 (libc_feresetround, libc_feresetroundf): New.
22519
22520 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
22521 (libc_feholdexcept_setround_53bit): Convert from macro to function.
22522 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
22523
22524 * sysdeps/generic/math_private.h: Include <fenv.h>.
22525 (default_libc_feholdexcept): New.
22526 (default_libc_feholdexcept_setround): New.
22527 (default_libc_fesetenv, default_libc_feupdateenv): New.
22528 (libc_feholdexcept): Only define if undefined.
22529 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
22530 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
22531 (libc_feholdexcept_setroundl): Likewise.
22532 (libc_feholdexcept_setround_53bit): Likewise.
22533 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
22534 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
22535 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
22536 (libc_feupdateenv_53bit): Likewise.
22537 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
22538 (libc_feholdexcept): Convert from macro to inline function.
22539 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
22540 (libc_fesetenv, libc_feupdateenv): Likewise.
22541
22542 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
22543 not previously defined.
22544 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
22545 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
22546 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
22547 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
22548 * sysdeps/ieee754/flt-32/math_private.h: New file.
22549 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
22550 math_private.h below SET_FLOAT_WORD.
22551 (__isnan, __isinf_ns, __finite): Remove.
22552 (__isnanf, __isinf_nsf, __finitef): Remove.
22553
225542012-03-18 Andreas Schwab <schwab@linux-m68k.org>
22555
22556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22557
225582012-03-17 David S. Miller <davem@davemloft.net>
22559
22560 [BZ #6471]
22561 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
22562 for 2.16.
22563
225642012-03-16 David S. Miller <davem@davemloft.net>
22565
22566 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
22567 warnings.
22568
22569 [BZ #6471]
22570 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
22571 properly.
22572 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
22573 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
22574 sysdep_routines when subdir is sysvipc.
22575 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
22576 __getshmlba helper.
22577
22578 * sysdeps/sparc/fpu/libm-test/ulps: Update.
22579
225802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22581
22582 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
22583 [__LP64__].
22584
225852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22586
22587 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
22588 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
22589 (__lround): Renamed to ...
22590 (__llround): This. Replace long int with long long int.
22591 Define lround functions as aliases of llround functions.
22592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
22593
225942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22595
22596 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
22597 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
22598 adresses to uintptr_t. Replace "long int" and "unsigned long
22599 int" with "greg_t" on va_arg.
22600
226012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22602
22603 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
22604 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22605
22606 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
22607 Move e_machine check before EI_CLASS check. Handle x32
22608 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
22609 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
22610 SKIP_EM_IA_64 and include
22611 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
22612
22613 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
22614 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
22615 (add_system_dir): New macro.
22616
22617 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
22618 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
22619
226202012-03-16 Joseph Myers <joseph@codesourcery.com>
22621
22622 [BZ #2551]
22623 [BZ #2552]
22624 [BZ #2553]
22625 [BZ #2554]
22626 [BZ #2562]
22627 [BZ #2563]
22628 [BZ #2565]
22629 [BZ #2566]
22630 [BZ #2576]
22631 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
22632 (y0): Likewise.
22633 * math/w_j0f.c (j0f): Likewise.
22634 (y0f): Likewise.
22635 * math/w_j0l.c (__j0l): Likewise.
22636 (__y0l): Likewise.
22637 * math/w_j1.c (j1): Likewise.
22638 (y1): Likewise.
22639 * math/w_j1f.c (j1f): Likewise.
22640 (y1f): Likewise.
22641 * math/w_j1l.c (__j1l): Likewise.
22642 (__y1l): Likewise.
22643 * math/w_jn.c (jn): Likewise.
22644 (yn): Likewise.
22645 * math/w_jnf.c (jnf): Likewise.
22646 (ynf): Likewise.
22647 * math/w_jnl.c (__jnl): Likewise.
22648 (__ynl): Likewise.
22649 * math/libm-test.inc (j0_test): Add more tests.
22650 (j1_test): Likewise.
22651 (jn_test): Likewise. Add trailing semicolon to existing test.
22652 (y0_test): Likewise.
22653 (y1_test): Likewise.
22654 * sysdeps/i386/fpu/libm-test-ulps: Update.
22655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22656
22657 [BZ #13851]
22658 [BZ #13854]
22659 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
22660 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22661 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22662 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22663 (__tanl): Set errno for infinite argument.
22664 * sysdeps/i386/fpu/mptan.c: Remove.
22665 * sysdeps/i386/fpu/s_tan.S: Likewise.
22666 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22667 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22668 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22669 * math/libm-test.inc (tan_test): Add more tests and enable more
22670 tests for double and long double.
22671 * sysdeps/i386/fpu/libm-test-ulps: Update.
22672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22673
226742012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22675
22676 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22677 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22678
226792012-03-16 Roland McGrath <roland@hack.frob.com>
22680
22681 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22682 * configure.in: Use it for both main tree and add-ons.
22683 * configure: Regenerated.
22684
226852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22686
22687 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22688
226892012-03-16 Joseph Myers <joseph@codesourcery.com>
22690
22691 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22692 in comment.
22693
22694 [BZ #13851]
22695 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22696 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22700 infinite argument.
22701 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22702 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22703 != 0 for prec == 2.
22704 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22705 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22706 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22707 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22708 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22709 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22710 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22711 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22712 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22713 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22714 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22715 * math/libm-test.inc (cos_test): Add more tests and enable more
22716 tests for long double.
22717 (sin_test): Likewise.
22718 (sincos_test): Likewise.
22719 * sysdeps/i386/fpu/libm-test-ulps: Update.
22720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22721
227222012-03-16 David S. Miller <davem@davemloft.net>
22723
22724 * sysdeps/sparc/fpu/math_private.h: New file.
22725
227262012-03-15 David S. Miller <davem@davemloft.net>
22727
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22729 file.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22732 file.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22739 sysdep routines.
22740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22741
22742 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22743 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22744
22745 * sysdeps/sparc/sparc-ifunc.h: New file.
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22747 sparc-ifunc.h
22748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22750 Likewise.
22751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22752 Likewise.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22757 Likewise.
22758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
22762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22763 Likewise.
22764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22765 Likewise.
22766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22772 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22773 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22774 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22778 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22784 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22785 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22786 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22787 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22788 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22789 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22790
227912012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22792
22793 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22794 scaling.
22795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22796
227972012-03-15 Andreas Jaeger <aj@suse.de>
22798
22799 [BZ #13852]
22800 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22801 ieee754/flt-32 implementation for sin, cos and sincos.
22802 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22803 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22804 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22805 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22806 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22807 ieee754/flt-32 implementation for tan.
22808
22809 * math/libm-test.inc (cos_test): Enable some large input tests for
22810 float as well
22811 (sin_test): Likewise.
22812 (sincos_test): Likewise.
22813 (tan_test): Add tests for large input.
22814
22815 * sysdeps/i386/fpu/libm-test-ulps: Update.
22816
228172012-03-15 Andreas Jaeger <aj@suse.de>
22818
22819 [BZ #13658]
22820 * math/libm-test.inc (cos_test): Add more test cases.
22821 (sin_test): Likewise.
22822 (sincos_test): Likewise.
22823
228242012-03-15 Andreas Jaeger <aj@suse.de>
22825
22826 [BZ #13837]
22827 * math/libm-test.inc (cos_test): Add a test case for large input
22828 value.
22829 (sin_test): Likewise.
22830 (sincos_test): Likewise.
22831
228322012-03-15 Andreas Jaeger <aj@suse.de>,
22833 Joseph Myers <joseph@codesourcery.com>
22834
22835 [BZ #13658]
22836 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
22837 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22838 * sysdeps/i386/fpu/branred.c: Likewise.
22839 * sysdeps/i386/fpu/dosincos.c: Likewise.
22840 * sysdeps/i386/fpu/mpa.c: Likewise.
22841 * sysdeps/i386/fpu/s_cos.S: Likewise.
22842 * sysdeps/i386/fpu/s_sin.S: Likewise.
22843 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22844 * sysdeps/i386/fpu/sincos32.c: Likewise.
22845
22846 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22847 Define.
22848 (libc_feupdateenv_53bit): Define.
22849 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22850 Define.
22851 (libc_feupdateenv_53bit): Define.
22852
22853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22854 53 bit (without extend i386 double precision).
22855
22856 * math/libm-test.inc (sincos_test): Add tests for large input.
22857 (sin): Likewise.
22858 (cos): Likewise.
22859
22860 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22861
228622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22863
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22865
228662012-03-15 David S. Miller <davem@davemloft.net>
22867
22868 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22869 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22870 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22871 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
22883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22884 file.
22885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
22886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22887 file.
22888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
22889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22890 file.
22891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
22892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22893 file.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22896 fmin/fmax sysdep routines.
22897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22898
228992012-03-14 David S. Miller <davem@davemloft.net>
22900
22901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22903 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22904 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22923 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
22929 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22930 routines.
22931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22932 file.
22933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
22934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22935 file.
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22938 file.
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
22940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22941 file.
22942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22944 file.
22945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
22946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22947 file.
22948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22949 file.
22950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22951 file.
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22953 file.
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22955 New file.
22956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22957 file.
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22959 file.
22960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
22961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22962 file.
22963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
22964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22965 file.
22966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22968 file.
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22971 VIS3 routines.
22972
22973 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22974 New file.
22975
22976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22977
22978 * sysdeps/sparc/configure.in: New file.
22979 * sysdeps/sparc/configure: Generate.
22980 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22981 * configure: Regenerate.
22982 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22983 * config.make.in (have-as-vis3): New.
22984 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22985 available use -Av9d instead of -Av9a.
22986 * sysdeps/sparc/sparc64/Makefile: Likewise.
22987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22989 New file.
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22991 file.
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22993 New file.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22995 file.
22996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22999 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23000 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23001
23002 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23003 fzeros/fnegs to load 0x80000000 into a float register instead of
23004 using the stack.
23005 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23006
230072012-03-14 Joseph Myers <joseph@codesourcery.com>
23008
23009 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23010 bits/syscall.h.
23011 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23012 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23013 ($(inst_includedir)/bits/syscall.h): Remove rule.
23014 ($(objpfx)bits/syscall.d): Include instead of
23015 $(objpfx)syscall-list.d.
23016 (generated): Change syscall-list.h and syscall-list.d to
23017 bits/syscall.h and bits/syscall.d.
23018
230192012-03-14 Roland McGrath <roland@hack.frob.com>
23020
23021 [BZ #13846]
23022 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23023
230242012-03-14 Joseph Myers <joseph@codesourcery.com>
23025
23026 [BZ #13841]
23027 * math/s_csqrt.c: Include <float.h>.
23028 (__csqrt): Scale large or subnormal inputs.
23029 * math/s_csqrtf.c: Likewise.
23030 * math/s_csqrtl.c: Likewise.
23031 * math/libm-test.inc (csqrt_test): Add more tests.
23032 * sysdeps/i386/fpu/libm-test-ulps: Update.
23033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23034
23035 [BZ #13840]
23036 * math/libm-test.inc (hypot_test): Add more tests.
23037
230382012-03-13 David S. Miller <davem@davemloft.net>
23039
23040 [BZ #13840]
23041 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23042 double-precision for the calculation instead of scaling.
23043
230442012-03-13 Joseph Myers <joseph@codesourcery.com>
23045
23046 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23047 manipulate bits before adding and subtracting TWO52[sx].
23048 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23049 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23050 Likewise.
23051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23052
230532012-03-13 David S. Miller <davem@davemloft.net>
23054
23055 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23056 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23058 rtld-global-offsets.h
23059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23060
23061 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23062 large parameters.
23063
23064 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23065
23066 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23067 'err' in the ifdef scope in which it is actually used.
23068
23069 * nss/nss_db/db-init.c: Include string.h
23070
230712012-03-12 David S. Miller <davem@davemloft.net>
23072
23073 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23074 masking out of the most significant byte of random value used.
23075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23076 Fix coding style in previous change.
23077
23078 * sysdeps/unix/sysv/linux/kernel-features.h
23079 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23080 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23081 expression.
23082 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23083 later.
23084
230852012-03-11 David S. Miller <davem@davemloft.net>
23086
23087 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23088 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23089 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23090 for 'resultvar' otherwise things get truncated on 64-bit.
23091
23092 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23093 Fix masking out of the most significant byte of random value used.
23094
23095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23096
230972012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23098
23099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23100
231012012-03-09 David S. Miller <davem@davemloft.net>
23102
23103 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23104 variables with appropriate CPP guards.
23105 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23106 frame pointer, not the stack pointer. Correct layout comments. Fix test
23107 on resulting framesize and the management of the outregs buffer for pltexit.
23108 Preserve floating point return values across _dl_call_pltexit call.
23109 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23110 framesize and the management of the outregs buffer for pltexit.
23111 Preserve floating point return values across _dl_call_pltexit
23112 call.
23113 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23114 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23115 (print_exit): Fix format string for return register value.
23116
231172012-03-10 Joseph Myers <joseph@codesourcery.com>
23118
23119 * sunrpc/Makefile (others): Add rpcgen.
23120 ($(objpfx)rpcgen): Remove special build rule and dependency on
23121 libc.
23122 * sunrpc/rpcgen.c: New file.
23123
231242012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23125
23126 [BZ #13673]
23127 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23128 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23129 * sysdeps/i386/crti.S: Likewise.
23130 * sysdeps/i386/crtn.S: Likewise.
23131 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23132 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23133 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23134 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23135 * sysdeps/sh/crti.S: Likewise.
23136 * sysdeps/sh/crtn.S: Likewise.
23137 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23138
23139 [BZ #13673]
23140 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23141 with URL.
23142 * locale/programs/locfile-kw.gperf: Likewise.
23143 * locale/programs/charmap-kw.h: Regenerated.
23144 * locale/programs/locfile-kw.h: Likewise.
23145
23146 [BZ #13673]
23147 * intl/plural.y: Replace FSF snail mail address with URL.
23148 * intl/plural.c: Regenerated.
23149
231502012-03-09 Richard Henderson <rth@twiddle.net>
23151
23152 * include/math_private.h: Remove file.
23153 * math/math_private.h: Move file ...
23154 * sysdeps/generic/math_private.h: ... here.
23155
23156 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23157 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23158 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23159
23160 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23161 and <math_private.h>.
23162 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23163 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23164 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23165 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23166 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23186 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23245 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23246 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23248 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23249 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23250 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23251 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23252 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23253 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23254 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23255 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23256 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23257 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23258 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23259 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23260 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23261 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23262 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23263 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23264 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23265 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23266 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23267 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23268 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23269 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23270 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23271 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23274 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23275 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23276 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23278 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23279 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23280 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23281 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23282 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23283 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23285 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23286 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23287 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23288 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23289 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23290 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23291 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23292 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23293 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23294 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23295 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23296 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23297 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23299 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23300 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23303 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23304 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23305 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23306 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23307 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23308 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23309 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23310 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23311 * sysdeps/ieee754/k_standard.c: Likewise.
23312 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23313 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23315 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23316 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23317 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23318 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23319 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23320 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23321 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23323 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23326 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23329 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23330 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
23332 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
23333 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
23334 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23335 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
23336 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23337 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23338 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
23340 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
23341 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23342 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23343 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
23345 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
23346 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23347 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
23348 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
23349 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
23350 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
23351 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
23352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23354 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23355 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
23356 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23357 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23358 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
23359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
23361 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
23366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
23371 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23373 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23374 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23375 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23376 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23377 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23378 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23379 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23380 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23384 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23385 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23386 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23387 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23388 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
23389 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23390 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23391 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23392 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23393 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23400 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
23402 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
23403 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
23404 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
23408 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
23409 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
23410 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
23411 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
23412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
23416 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
23417 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23418 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23419 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
23424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23425 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23427 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23428 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23429 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23430 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23431 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23432 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23433 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23434 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23435 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23436 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23437 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
23438 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
23439 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
23440 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
23441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23442 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
23443 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
23444 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
23445 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
23446 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
23447 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
23448 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
23449 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
23450 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
23451 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
23452 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
23453 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
23454 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
23455 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
23456 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
23457 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
23458 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
23459 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
23460 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
23461 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
23462 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
23463 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
23465 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23466 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
23467 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
23468 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
23469 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
23470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
23471 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23472 * sysdeps/ieee754/s_lib_version.c: Likewise.
23473 * sysdeps/ieee754/s_matherr.c: Likewise.
23474 * sysdeps/ieee754/s_signgam.c: Likewise.
23475 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23476 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
23478 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
23479 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
23480 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
23481 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
23482 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
23483 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
23484 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
23485 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23486 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
23487 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
23488 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23489 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
23490 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23491 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23492 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23494 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23495 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23496
234972012-03-09 Joseph Myers <joseph@codesourcery.com>
23498
23499 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
23500 * sunrpc/rpc_main.c: Likewise.
23501 * sunrpc/rpc_svcout.c: Likewise.
23502
235032012-03-09 David S. Miller <davem@davemloft.net>
23504
23505 * include/math_private.h: New file.
23506
235072012-03-09 Joseph Myers <joseph@codesourcery.com>
23508
23509 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
23510 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
23511 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
23512 from <bits/socket_type.h>.
23513 (enum __socket_type): Don't define here.
23514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
23515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23516 bits/socket_type.h.
23517
23518 [BZ #13566]
23519 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
23520 checking __USE_GNU.
23521
23522 * Makerules ($(inst_includedir)/%.h): New rule.
23523 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
23524 (install-others): Remove variable setting.
23525 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
23526
235272012-03-08 Richard Henderson <rth@twiddle.net>
23528
23529 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
23530 from macro to inline function; merge with the
23531 !__LIBC_INTERNAL_MATH_INLINES version.
23532 (__ieee754_sqrtf): Likewise.
23533
23534 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
23535 to inline function.
23536 (__rintf, __floor, __floorf): Likewise.
23537
23538 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
23539 macro to inline function.
23540 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
23541
23542 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
23543 not <math/math_private.h>.
23544
235452012-03-08 David S. Miller <davem@davemloft.net>
23546
23547 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
23548 copyright year.
23549 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23550
235512012-03-08 Thomas Schwinge <thomas@codesourcery.com>
23552
23553 * resolv/gai_misc.c (handle_requests): Fix struct timespec
23554 normalization.
23555 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
23556 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
23557
235582012-03-08 Ulrich Drepper <drepper@gmail.com>
23559
23560 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
23561 be defined individually, they must be defined as a block. Define
23562 S for printing a string instead of hidint the different by using a
23563 macro for adding the 'l'.
23564 * stdio-common/tst-fphex-wide.c: Adjust.
23565
235662012-03-07 Marek Polacek <polacek@redhat.com>
23567
23568 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
23569
235702012-03-08 Marek Polacek <polacek@redhat.com>
23571
23572 [BZ #13806]
23573 * stdio-common/Makefile (tests): Add tst-fphex-wide.
23574 * stdio-common/tst-fphex.c: Define a few macros to make the
23575 test reusable. Use them.
23576 * stdio-common/tst-fphex-wide.c: New file.
23577
235782012-03-08 Joseph Myers <joseph@codesourcery.com>
23579
23580 [BZ #6911]
23581 * manual/macros.texi (gnusystems): New macro.
23582 (nongnusystems): Likewise.
23583 (gnulinuxhurdsystems): Likewise.
23584 (gnuhurdsystems): Likewise..
23585 (gnulinuxsystems): Likewise.
23586 * manual/charset.texi: Use new macros or @theglibc{} to refer to
23587 variants of the GNU system, not "GNU system".
23588 * manual/conf.texi: Likewise.
23589 * manual/errno.texi: Likewise. Update example of errno macro
23590 expansion.
23591 * manual/filesys.texi: Likewise.
23592 (getumask): Document as specific to GNU/Hurd.
23593 * manual/install.texi: Likewise. Reword some references to
23594 GNU/Linux.
23595 * manual/intro.texi: Likewise.
23596 * manual/io.texi: Likewise.
23597 (File Name Portability): Detail which constraints are inapplicable
23598 to all GNU systems and which are only inapplicable to GNU/Hurd.
23599 * manual/job.texi: Likewise.
23600 * manual/llio.texi: Likewise.
23601 (O_NOCTTY): Document as present on GNU/Linux.
23602 * manual/maint.texi: Likewise.
23603 * manual/memory.texi: Likewise.
23604 * manual/pattern.texi: Likewise.
23605 * manual/pipe.texi: Likewise.
23606 * manual/process.texi: Likewise.
23607 * manual/resource.texi: Likewise.
23608 (RUSAGE_CHILDREN): Remove statement about specifying a particular
23609 child on GNU/Hurd.
23610 * manual/setjmp.texi: Likewise.
23611 * manual/signal.texi: Likewise.
23612 * manual/startup.texi: Likewise.
23613 * manual/stdio.texi: Likewise.
23614 * manual/terminal.texi: Likewise.
23615 (ONLCR): Document as POSIX.
23616 (OXTABS): Document availability on GNU/Linux as XTABS.
23617 (ONOEOT): Document availability separately from other bits.
23618 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
23619 * manual/time.texi: Likewise.
23620 * manual/users.texi: Likewise.
23621 * INSTALL: Regenerated.
23622 * sysdeps/gnu/errlist.c: Regenerated.
23623
23624 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
23625 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
23626 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
23627 puts.
23628 * configure: Regenerated.
23629
236302012-03-07 Joseph Myers <joseph@codesourcery.com>
23631
23632 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
23633 default includes instead of AC_HEADER_CHECK.
23634 * sysdeps/i386/configure: Regenerated.
23635
23636 [BZ #10716]
23637 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
23638 * math/s_cacoshf.c (__cacoshf): Likewise.
23639 * math/s_cacoshl.c (__cacoshl): Likewise.
23640 * math/s_casinh.c (__casinh): Set signs of result from argument.
23641 * math/s_casinhf.c (__casinhf): Likewise.
23642 * math/s_casinhl.c (__casinhl): Likewise.
23643 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
23644 (casinh_test): Add more tests.
23645 * sysdeps/i386/fpu/libm-test-ulps: Update.
23646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23647
236482012-03-07 Ulrich Drepper <drepper@gmail.com>
23649
23650 * po/zh_TW.po: Update from translation team.
23651
23652 * login/Makefile (distribute): Remove variable.
23653 * catgets/Makefile: Likewise.
23654 * mach/Makefile: Likewise.
23655 * malloc/Makefile: Likewise.
23656 * misc/Makefile: Likewise.
23657 * iconv/Makefile: Likewise.
23658 * nscd/Makefile: Likewise.
23659 * hurd/Makefile: Likewise.
23660 * manual/Makefile: Likewise.
23661 * locale/Makefile: Likewise.
23662 * intl/Makefile: Likewise.
23663 * conform/Makefile: Likewise.
23664 * nss/Makefile: Likewise.
23665 * time/Makefile: Likewise.
23666 * soft-fp/Makefile: Likewise.
23667 * dirent/Makefile: Likewise.
23668 * gmon/Makefile: Likewise.
23669 * po/Makefile: Likewise.
23670 * rt/Makefile: Likewise.
23671 * socket/Makefile: Likewise.
23672 * math/Makefile: Likewise.
23673 * signal/Makefile: Likewise.
23674 * debug/Makefile: Likewise.
23675 * elf/Makefile: Likewise.
23676 * timezone/Makefile: Likewise.
23677 * stdlib/Makefile: Likewise.
23678 * iconvdata/Makefile: Likewise.
23679 * sunrpc/Makefile: Likewise.
23680 * io/Makefile: Likewise.
23681 * argp/Makefile: Likewise.
23682 * inet/Makefile: Likewise.
23683 * hesiod/Makefile: Likewise.
23684 * grp/Makefile: Likewise.
23685 * csu/Makefile: Likewise.
23686 * wctype/Makefile: Likewise.
23687 * crypt/Makefile: Likewise.
23688 * libio/Makefile: Likewise.
23689 * string/Makefile: Likewise.
23690 * nis/Makefile: Likewise.
23691 * resolv/Makefile: Likewise.
23692 * stdio-common/Makefile: Likewise.
23693 * wcsmbs/Makefile: Likewise.
23694 * dlfcn/Makefile: Likewise.
23695 * posix/Makefile: Likewise.
23696
23697 [BZ #6959]
23698 * timezone/Makefile: Don't install timezone files, just the programs
23699 and scripts.
23700
237012012-03-06 Ulrich Drepper <drepper@gmail.com>
23702
23703 * nss/databases.def: Add missing gshadow entry.
23704
23705 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23706
237072012-03-06 Marek Polacek <polacek@redhat.com>
23708
23709 [BZ #13726]
23710 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23711 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23712 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23713 * stdio-common/tst-long-dbl-fphex.c: New file.
23714
237152012-03-06 David S. Miller <davem@davemloft.net>
23716
23717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23718 (set_obp_int): New function.
23719 (get_obp_int): New function.
23720 (__get_clockfreq_via_dev_openprom): Likewise.
23721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23722 Avoid unused variable warnings on 'val' and use builtin_expect.
23723 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23724 __builtin_expect.
23725 (INLINE_CLONE_SYSCALL): Likewise.
23726
237272012-03-05 David S. Miller <davem@davemloft.net>
23728
23729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23730
237312012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23732
23733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23734
23735 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23736 only for |x| >= 40.
23737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23738
237392012-03-05 H.J. Lu <hongjiu.lu@intel.com>
23740
23741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23742 Replace gettimeofday with __vdso_gettimeofday.
23743
23744 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23745 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23746 __vdso_clock_gettime and __vdso_getcpu.
23747
23748 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23749 time with __vdso_time.
23750
237512012-03-05 Joseph Myers <joseph@codesourcery.com>
23752
23753 * manual/lang.texi (size_t): Note types to which size_t may be
23754 equivalent with the GNU C Library, but do not describe when
23755 differences between them are significant.
23756
237572012-03-05 Andreas Jaeger <aj@suse.de>
23758
23759 * sysdeps/i386/fpu/libm-test-ulps: Update.
23760
237612012-03-05 Joseph Myers <joseph@codesourcery.com>
23762
23763 [BZ #3976]
23764 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23765 (__ieee754_pow): Save and restore rounding mode and use
23766 round-to-nearest for main computations.
23767 * math/libm-test.inc (pow_test_tonearest): New function.
23768 (pow_test_towardzero): Likewise.
23769 (pow_test_downward): Likewise.
23770 (pow_test_upward): Likewise.
23771 (main): Call the new functions.
23772 * sysdeps/i386/fpu/libm-test-ulps: Update.
23773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23774
23775 [BZ #3976]
23776 * math/libm-test.inc (cosh_test_tonearest): New function.
23777 (cosh_test_towardzero): Likewise.
23778 (cosh_test_downward): Likewise.
23779 (cosh_test_upward): Likewise.
23780 (sinh_test_tonearest): Likewise.
23781 (sinh_test_towardzero): Likewise.
23782 (sinh_test_downward): Likewise.
23783 (sinh_test_upward): Likewise.
23784 (main): Call the new functions.
23785 * sysdeps/i386/fpu/libm-test-ulps: Update.
23786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23787
237882012-03-05 Tom de Vries <tom@codesourcery.com>
23789
23790 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23791 default stack guard is set in last bytes.
23792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23793
237942012-03-05 Kees Cook <keescook@chromium.org>
23795
23796 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
23797
23798 [BZ #13656]
23799 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23800 possibly allocate from heap instead of stack.
23801 * stdio-common/bug-vfprintf-nargs.c: New file.
23802 * stdio-common/Makefile (tests): Add nargs overflow test.
23803
238042012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23805
23806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23807
238082012-03-03 Marek Polacek <polacek@redhat.com>
23809
23810 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23811 * math/math_private.h: Likewise.
23812 * stdlib/tst-strtod.c: Likewise.
23813 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23814 * sysdeps/x86_64/bits/atomic.h: Likewise.
23815
238162012-03-02 David S. Miller <davem@davemloft.net>
23817
23818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23822 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23823 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23824 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23825 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23826
238272012-03-02 Roland McGrath <roland@hack.frob.com>
23828
23829 [BZ #13792]
23830 * manual/examples/README: New file, says the example source files
23831 can be used under GPL>=2.
23832 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23833 line containing just "*/".
23834 * manual/examples/add.c: Add copyright header (GPL>=2).
23835 * manual/examples/argp-ex1.c: Likewise.
23836 * manual/examples/argp-ex2.c: Likewise.
23837 * manual/examples/argp-ex3.c: Likewise.
23838 * manual/examples/argp-ex4.c: Likewise.
23839 * manual/examples/atexit.c: Likewise.
23840 * manual/examples/db.c: Likewise.
23841 * manual/examples/dir.c: Likewise.
23842 * manual/examples/dir2.c: Likewise.
23843 * manual/examples/execinfo.c: Likewise.
23844 * manual/examples/filecli.c: Likewise.
23845 * manual/examples/filesrv.c: Likewise.
23846 * manual/examples/fmtmsgexpl.c: Likewise.
23847 * manual/examples/genpass.c: Likewise.
23848 * manual/examples/inetcli.c: Likewise.
23849 * manual/examples/inetsrv.c: Likewise.
23850 * manual/examples/isockad.c: Likewise.
23851 * manual/examples/longopt.c: Likewise.
23852 * manual/examples/memopen.c: Likewise.
23853 * manual/examples/memstrm.c: Likewise.
23854 * manual/examples/mkfsock.c: Likewise.
23855 * manual/examples/mkisock.c: Likewise.
23856 * manual/examples/mygetpass.c: Likewise.
23857 * manual/examples/pipe.c: Likewise.
23858 * manual/examples/popen.c: Likewise.
23859 * manual/examples/rprintf.c: Likewise.
23860 * manual/examples/search.c: Likewise.
23861 * manual/examples/select.c: Likewise.
23862 * manual/examples/setjmp.c: Likewise.
23863 * manual/examples/sigh1.c: Likewise.
23864 * manual/examples/sigusr.c: Likewise.
23865 * manual/examples/stpcpy.c: Likewise.
23866 * manual/examples/strdupa.c: Likewise.
23867 * manual/examples/strftim.c: Likewise.
23868 * manual/examples/strncat.c: Likewise.
23869 * manual/examples/subopt.c: Likewise.
23870 * manual/examples/swapcontext.c: Likewise.
23871 * manual/examples/termios.c: Likewise.
23872 * manual/examples/testopt.c: Likewise.
23873 * manual/examples/testpass.c: Likewise.
23874 * manual/examples/timeval_subtract.c: Likewise.
23875
23876 [BZ #13792]
23877 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23878 function to ...
23879 * manual/timeval_subtract.c.texi: ... here, new file.
23880
238812012-03-02 David S. Miller <davem@davemloft.net>
23882
23883 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23884
238852012-03-02 Joseph Myers <joseph@codesourcery.com>
23886
23887 [BZ #3976]
23888 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23889 (__sin): Save and restore rounding mode and use round-to-nearest
23890 for all computations.
23891 (__cos): Save and restore rounding mode and use round-to-nearest
23892 for all computations.
23893 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23894 <fenv.h>.
23895 (tan): Save and restore rounding mode and use round-to-nearest for
23896 all computations.
23897 * math/libm-test.inc (cos_test_tonearest): New function.
23898 (cos_test_towardzero): Likewise.
23899 (cos_test_downward): Likewise.
23900 (cos_test_upward): Likewise.
23901 (sin_test_tonearest): Likewise.
23902 (sin_test_towardzero): Likewise.
23903 (sin_test_downward): Likewise.
23904 (sin_test_upward): Likewise.
23905 (tan_test_tonearest): Likewise.
23906 (tan_test_towardzero): Likewise.
23907 (tan_test_downward): Likewise.
23908 (tan_test_upward): Likewise.
23909 (main): Call the new functions.
23910 * sysdeps/i386/fpu/libm-test-ulps: Update.
23911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23912
23913 [BZ #10135]
23914 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23915 small n, then large n, before computing and testing k+n.
23916 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23918 Likewise.
23919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23920 Likewise.
23921 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23922 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23923 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23924 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23925 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23926 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23927 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23928 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23929 * math/libm-test.inc (scalbn_test): Add more tests.
23930 (scalbln_test): Likewise.
23931
23932 * manual/filesys.texi (mode_t): Describe constraints on size and
23933 signedness, not exact equivalence to a particular type.
23934 (ino_t): Likewise.
23935 (ino64_t): Likewise.
23936 (dev_t): Likewise.
23937 (nlink_t): Likewise.
23938 (blkcnt_t): Likewise.
23939 (blkcnt64_t): Likewise.
23940 * manual/llio.texi (off_t): Likewise.
23941
23942 [BZ #3976]
23943 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23944 (__ieee754_exp): Save and restore rounding mode and use
23945 round-to-nearest for all computations.
23946 * math/libm-test.inc (exp_test_tonearest): New function.
23947 (exp_test_towardzero): Likewise.
23948 (exp_test_downward): Likewise.
23949 (exp_test_upward): Likewise.
23950 (main): Call the new functions.
23951 * sysdeps/i386/fpu/libm-test-ulps: Update.
23952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23953
239542012-03-01 Chris Demetriou <cgd@google.com>
23955
23956 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23957 have predictable order.
23958
239592012-03-01 David S. Miller <davem@davemloft.net>
23960
23961 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23962
23963 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23964 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23965 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23966 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23967
23968 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23969 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23970 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23972 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23973 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23974 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23975 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23976 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23977
23978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23979
23980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23981 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23982 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23983
23984 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23985 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23986 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23987 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23988 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23990 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23991 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23992 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23993 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23994 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23995 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23996 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23997 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23998 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24000 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24001 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24002 * sysdeps/sparc/elf/configure: Regenerated.
24003
240042012-03-01 Joseph Myers <joseph@codesourcery.com>
24005
24006 * configure.in (AS, LD): Require binutils 2.20 or later.
24007 * configure: Regenerated.
24008 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24009 as required minimum version.
24010 * INSTALL: Regenerated.
24011
24012 [BZ #2541]
24013 [BZ #4108]
24014 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24015 before squaring exponent.
24016 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24017 bottom long double and 27 bits of top long double before squaring
24018 exponent.
24019 * math/libm-test.inc (erfc_test): Add more tests.
24020 * sysdeps/i386/fpu/libm-test-ulps: Update.
24021 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24023
240242012-03-01 Kai Tietz <ktietz@redhat.com>
24025
24026 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24027 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24028 containing bit-fields.
24029 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24030 * soft-fp/single.h (_FP_UNION_S): Likewise.
24031 * soft-fp/double.h (_FP_UNION_D): Likewise.
24032
240332012-02-29 Joseph Myers <joseph@codesourcery.com>
24034
24035 [BZ #13786]
24036 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24037 not include ../strcmp.S.
24038 [USE_AS_STRNCASECMP_L]: Likewise.
24039 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24040 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24041 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24042 (__strncasecmp_l_ia32): Define as alias to
24043 __strncasecmp_l_nonascii.
24044
24045 [BZ #5794]
24046 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24047 * sysdeps/i386/fpu/libm-test-ulps: Update.
24048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24049
24050 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24052
240532012-02-29 Jeff Law <law@redhat.com>
24054
24055 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24056 out of bounds read.
24057
240582012-02-29 Marek Polacek <polacek@redhat.com>
24059
24060 [BZ #13706]
24061 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24062 * elf/Makefile: Add rules to run tst-unused-dep.out.
24063
240642012-02-28 David S. Miller <davem@davemloft.net>
24065
24066 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24067 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24068 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24069 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24070 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24071 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24072
240732012-02-29 Joseph Myers <joseph@codesourcery.com>
24074
24075 * math/libm-test.inc (llround_test): Move one test from
24076 lround_test. Use TEST_f_L in moved test.
24077 (lround_test): Move misplaced test to llround_test. Add testcase
24078 from bug 2561.
24079
240802012-02-28 Ulrich Drepper <drepper@gmail.com>
24081
24082 * sysdeps/x86_64/fpu/e_expf.S: New file.
24083 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24084
240852012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24086
24087 [BZ #13637]
24088 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24089 of remain_len that may cause incomplete multi-byte character and
24090 false match.
24091 * posix/bug-regex33.c: New file.
24092 * posix/Makefile (tests): Add bug-regex33.
24093
240942012-02-28 Joseph Myers <joseph@codesourcery.com>
24095
24096 * manual/macros.texi: New file.
24097 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24098 * manual/libc.texinfo: Include macros.texi.
24099 * manual/creatute.texi: Likewise.
24100 * manual/install.texi: Likewise.
24101 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24102 @glibcadj{} in references to the GNU C Library.
24103 * manual/charset.texi: Likewise.
24104 * manual/conf.texi: Likewise.
24105 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24106 when not using those macros.
24107 * manual/creature.texi: Likewise.
24108 * manual/crypt.texi: Likewise.
24109 * manual/errno.texi: Likewise.
24110 * manual/filesys.texi: Likewise.
24111 * manual/header.texi: Likewise.
24112 * manual/install.texi: Likewise.
24113 * manual/intro.texi: Likewise.
24114 * manual/io.texi: Likewise.
24115 * manual/job.texi: Likewise.
24116 * manual/lang.texi: Likewise.
24117 * manual/libc.texiinfo: Likewise.
24118 * manual/llio.texi: Likewise.
24119 * manual/locale.texi: Likewise.
24120 * manual/maint.texi: Likewise.
24121 * manual/math.texi: Likewise.
24122 * manual/memory.texi: Likewise.
24123 * manual/message.texi: Likewise.
24124 * manual/nss.texi: Likewise.
24125 * manual/pattern.texi: Likewise.
24126 * manual/process.texi: Likewise.
24127 * manual/resource.texi: Likewise.
24128 * manual/search.texi: Likewise.
24129 * manual/setjmp.texi: Likewise.
24130 * manual/signal.texi: Likewise.
24131 * manual/socket.texi: Likewise.
24132 * manual/startup.texi: Likewise.
24133 * manual/stdio.texi: Likewise.
24134 * manual/string.texi: Likewise.
24135 * manual/sysinfo.texi: Likewise.
24136 * manual/syslog.texi: Likewise.
24137 * manual/terminal.texi: Likewise.
24138 * manual/time.texi: Likewise.
24139 * manual/users.texi: Likewise.
24140 * INSTALL: Regenerated.
24141 * NOTES: Regenerated.
24142 * sysdeps/gnu/errlist.c: Regenerated.
24143
241442012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24145
24146 * include/dirent.h: Include <dirstream.h> before
24147 <dirent/dirent.h>.
24148
241492012-02-28 David S. Miller <davem@davemloft.net>
24150
24151 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24152 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24153 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24154 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24155
241562012-02-27 David S. Miller <davem@davemloft.net>
24157
24158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24160 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24161 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24162
24163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24164 frame pointer instead of stack pointer relative arg slot.
24165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24166 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24167 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24168
241692012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24170
24171 [BZ #3992]
24172 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24173
241742012-02-27 David S. Miller <davem@davemloft.net>
24175
24176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24180 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24181 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24182 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24183 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24184
241852012-02-27 Joseph Myers <joseph@codesourcery.com>
24186
24187 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24188 later. Allow versions 5-9.
24189 * configure: Regenerated.
24190 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24191 required minimum version and 4.6 as recommended version. Do not
24192 mention bugs in GCC 2.7 and 2.8.
24193 * INSTALL: Regenerated.
24194
241952012-02-27 David S. Miller <davem@davemloft.net>
24196
24197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24201 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24202 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24203 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24204 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24205
24206 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24207 manipulate bits before adding and subtracting TWO112[sx].
24208 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24209
242102012-02-27 Roland McGrath <roland@hack.frob.com>
24211
24212 [BZ #13775]
24213 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24214 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24215 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24216 being in POSIX, because they are in 1003.1-2008.
24217
24218 * rt/tst-aio.c: Include <fcntl.h>.
24219 * rt/tst-aio7.c: Likewise.
24220 * rt/tst-aio64.c: Likewise.
24221
24222 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24223
242242012-02-27 Joseph Myers <joseph@codesourcery.com>
24225
24226 * manual/install.texi (--with-headers): Describe headers as
24227 interface headers, not private headers.
24228 (Specific advice for GNU/Linux systems): Describe use of headers
24229 from "make headers_install", not private headers from older
24230 kernels.
24231 * INSTALL: Regenerated.
24232 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24233 Change to 2.6.19.
24234 * sysdeps/unix/sysv/linux/configure: Regenerated.
24235
24236 * manual/llio.texi (fclean): Remove documentation.
24237
24238 * manual/Makefile (libc-texi-generated): New variable. Include
24239 version.texi.
24240 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24241 $(libc-texi-generated), not duplicated list of files.
24242 (version.texi, stamp-version): New rules.
24243 (realclean): Remove $(libc-texi-generated), not individual files
24244 from that list. Do not remove dir-add.texinfo.
24245 * manual/libc.texinfo: Comment out uses of edition numbers and
24246 references to printed manual. Remove last-updated dates.
24247 (EDITION): Comment out.
24248 (ISBN): Likewise.
24249 (VERSION, UPDATED): Remove.
24250 (version.texi): Include.
24251
242522012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24253
24254 * sysdeps/posix/spawni.c: Include <signal.h>.
24255 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24256 * sysdeps/pthread/aio_fsync.c: Likewise.
24257
242582012-02-26 Ulrich Drepper <drepper@gmail.com>
24259
24260 * conform/Makefile (tests): Run only when not cross-compiling and
24261 when fast-check is not defined.
24262
24263 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24264 * conform/data/limits.h-data: Fixes for POSIX2008.
24265 * conform/run-conformtest.sh: Run all tests.
24266 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24267 headers.
24268 * include/bits/dlfcn.h: Likewise.
24269 * include/langinfo.h: Likewise.
24270 * include/monetary.h: Likewise.
24271 * include/sys/poll.h: Likewise.
24272
24273 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24274 for __USE_GNU.
24275 * posix/spawn.h: Define __need_sigset_t.
24276 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24277 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24278 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
24279 to get sigevent_t only.
24280 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24281 only for __USE_GNU.
24282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24283 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24284 process_vm_writev only for __USE_GNU.
24285 * termios/termios.h: Declare tcgetsid also for POSIX2008.
24286
24287 * conform/Makefile: For now ignore errors from run-conformtest.
24288 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
24289 POSIX to avoid namespace pollution. Don't prepend headers.
24290 * conform/data/aio.h-data: Fixes for POSIX testing.
24291 * conform/data/fcntl.h-data: Likewise.
24292 * conform/data/glob.h-data: Likewise.
24293 * conform/data/grp.h-data: Likewise.
24294 * conform/data/pthread.h-data: Likewise.
24295 * conform/data/pwd.h-data: Likewise.
24296 * conform/data/signal.h-data: Likewise.
24297 * conform/data/spawn.h-data: Likewise.
24298 * conform/data/stdio.h-data: Likewise.
24299 * conform/data/stdlib.h-data: Likewise.
24300 * conform/data/stropts.h-data: Likewise.
24301 * conform/data/sys/mman.h-data: Likewise.
24302 * conform/data/sys/stat.h-data: Likewise.
24303 * conform/data/sys/types.h-data: Likewise.
24304 * conform/data/sys/wait.h-data: Likewise.
24305 * conform/data/time.h-data: Likewise.
24306 * conform/data/unistd.h-data: Likewise.
24307 * conform/data/utime.h-data: Likewise.
24308
24309 * io/sys/stat.h: fchmod was always in POSIX.
24310 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24311 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24312 * rt/aio.h: Define __need_timespec before including <time.h>.
24313 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24314 struct. Add forward declaration of pthread_attr_t and use it in
24315 sigevent.
24316 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24318 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24319 always remove CLK_TCK definition.
24320
243212012-02-26 Andreas Schwab <schwab@linux-m68k.org>
24322
24323 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24324
243252012-02-25 Ulrich Drepper <drepper@gmail.com>
24326
24327 * conform/run-conformtest.sh: New file.
24328 * conform/Makefile: Run run-conformtest for tests.
24329 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
24330 support.
24331
24332 * conform/data/uchar.h-data: New file.
24333 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
24334 * conform/data/arpa/inet.h-data: Likewise.
24335 * conform/data/assert.h-data: Likewise.
24336 * conform/data/complex.h-data: Likewise.
24337 * conform/data/cpio.h-data: Likewise.
24338 * conform/data/ctype.h-data: Likewise.
24339 * conform/data/dirent.h-data: Likewise.
24340 * conform/data/dlfcn.h-data: Likewise.
24341 * conform/data/errno.h-data: Likewise.
24342 * conform/data/fcntl.h-data: Likewise.
24343 * conform/data/float.h-data: Likewise.
24344 * conform/data/fmtmsg.h-data: Likewise.
24345 * conform/data/fnmatch.h-data: Likewise.
24346 * conform/data/ftw.h-data: Likewise.
24347 * conform/data/glob.h-data: Likewise.
24348 * conform/data/grp.h-data: Likewise.
24349 * conform/data/iconv.h-data: Likewise.
24350 * conform/data/inttypes.h-data: Likewise.
24351 * conform/data/langinfo.h-data: Likewise.
24352 * conform/data/libgen.h-data: Likewise.
24353 * conform/data/limits.h-data: Likewise.
24354 * conform/data/locale.h-data: Likewise.
24355 * conform/data/math.h-data: Likewise.
24356 * conform/data/monetary.h-data: Likewise.
24357 * conform/data/mqueue.h-data: Likewise.
24358 * conform/data/ndbm.h-data: Likewise.
24359 * conform/data/net/if.h-data: Likewise.
24360 * conform/data/netdb.h-data: Likewise.
24361 * conform/data/netinet/in.h-data: Likewise.
24362 * conform/data/nl_types.h-data: Likewise.
24363 * conform/data/poll.h-data: Likewise.
24364 * conform/data/pthread.h-data: Likewise.
24365 * conform/data/pwd.h-data: Likewise.
24366 * conform/data/regex.h-data: Likewise.
24367 * conform/data/sched.h-data: Likewise.
24368 * conform/data/search.h-data: Likewise.
24369 * conform/data/semaphore.h-data: Likewise.
24370 * conform/data/setjmp.h-data: Likewise.
24371 * conform/data/signal.h-data: Likewise.
24372 * conform/data/spawn.h-data: Likewise.
24373 * conform/data/stdarg.h-data: Likewise.
24374 * conform/data/stdio.h-data: Likewise.
24375 * conform/data/stdlib.h-data: Likewise.
24376 * conform/data/string.h-data: Likewise.
24377 * conform/data/strings.h-data: Likewise.
24378 * conform/data/stropts.h-data: Likewise.
24379 * conform/data/sys/ipc.h-data: Likewise.
24380 * conform/data/sys/mman.h-data: Likewise.
24381 * conform/data/sys/msg.h-data: Likewise.
24382 * conform/data/sys/resource.h-data: Likewise.
24383 * conform/data/sys/select.h-data: Likewise.
24384 * conform/data/sys/sem.h-data: Likewise.
24385 * conform/data/sys/shm.h-data: Likewise.
24386 * conform/data/sys/socket.h-data: Likewise.
24387 * conform/data/sys/stat.h-data: Likewise.
24388 * conform/data/sys/statvfs.h-data: Likewise.
24389 * conform/data/sys/time.h-data: Likewise.
24390 * conform/data/sys/timeb.h-data: Likewise.
24391 * conform/data/sys/times.h-data: Likewise.
24392 * conform/data/sys/types.h-data: Likewise.
24393 * conform/data/sys/uio.h-data: Likewise.
24394 * conform/data/sys/un.h-data: Likewise.
24395 * conform/data/sys/utsname.h-data: Likewise.
24396 * conform/data/sys/wait.h-data: Likewise.
24397 * conform/data/syslog.h-data: Likewise.
24398 * conform/data/tar.h-data: Likewise.
24399 * conform/data/termios.h-data: Likewise.
24400 * conform/data/utime.h-data: Likewise.
24401 * conform/data/utmpx.h-data: Likewise.
24402 * conform/data/varargs.h-data: Likewise.
24403 * conform/data/wchar.h-data: Likewise.
24404 * conform/data/wctype.h-data: Likewise.
24405 * conform/data/wordexp.h-data: Likewise.
24406
24407 * include/stropts.h: New file.
24408 * include/uchar.h: New file.
24409 * include/aio.h: Changes to allow conformtest.pl to use the headers.
24410 * include/assert.h: Likewise.
24411 * include/ctype.h: Likewise.
24412 * include/dirent.h: Likewise.
24413 * include/dlfcn.h: Likewise.
24414 * include/fcntl.h: Likewise.
24415 * include/fnmatch.h: Likewise.
24416 * include/glob.h: Likewise.
24417 * include/grp.h: Likewise.
24418 * include/libio.h: Likewise.
24419 * include/locale.h: Likewise.
24420 * include/math.h: Likewise.
24421 * include/net/if.h: Likewise.
24422 * include/netdb.h: Likewise.
24423 * include/netinet/in.h: Likewise.
24424 * include/pthread.h: Likewise.
24425 * include/pwd.h: Likewise.
24426 * include/regex.h: Likewise.
24427 * include/sched.h: Likewise.
24428 * include/search.h: Likewise.
24429 * include/setjmp.h: Likewise.
24430 * include/signal.h: Likewise.
24431 * include/stdio.h: Likewise.
24432 * include/stdlib.h: Likewise.
24433 * include/string.h: Likewise.
24434 * include/sys/cdefs.h: Likewise.
24435 * include/sys/mman.h: Likewise.
24436 * include/sys/msg.h: Likewise.
24437 * include/sys/resource.h: Likewise.
24438 * include/sys/select.h: Likewise.
24439 * include/sys/socket.h: Likewise.
24440 * include/sys/stat.h: Likewise.
24441 * include/sys/statvfs.h: Likewise.
24442 * include/sys/time.h: Likewise.
24443 * include/sys/times.h: Likewise.
24444 * include/sys/uio.h: Likewise.
24445 * include/sys/utsname.h: Likewise.
24446 * include/sys/wait.h: Likewise.
24447 * include/termios.h: Likewise.
24448 * include/time.h: Likewise.
24449 * include/ulimit.h: Likewise.
24450 * include/unistd.h: Likewise.
24451 * include/utime.h: Likewise.
24452 * include/wchar.h: Likewise.
24453 * include/wctype.h: Likewise.
24454 * include/wordexp.h: Likewise.
24455
24456 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
24457
24458 * time/time.h: TIME_UTC must be a macro.
24459 Make timespec_get available for ISO C11 only as well.
24460
244612012-02-24 Ulrich Drepper <drepper@gmail.com>
24462
24463 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
24464 Reported by Peng Haitao <penght@cn.fujitsu.com>.
24465
244662012-02-24 Joseph Myers <joseph@codesourcery.com>
24467
24468 * configure.in: Use -o not -a in test for unsupported multi-arch.
24469
244702012-02-24 Joseph Myers <joseph@codesourcery.com>
24471
24472 * manual/texinfo.tex: Update to version 2012-01-19.16.
24473
244742012-02-24 Joseph Myers <joseph@codesourcery.com>
24475
24476 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
24477
244782012-02-24 Roland McGrath <roland@hack.frob.com>
24479
24480 [BZ #13738]
24481 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
24482 * manual/fdl-1.3.texi: New file.
24483 * manual/fdl-1.1.texi: File removed.
24484
24485 [BZ #13738]
24486 * manual/libc.texinfo (FDL_VERSION): New @set.
24487 Use it for mention of FDL in cover text.
24488 (Documentation License): Use it in @include file name.
24489
244902012-02-22 Joseph Myers <joseph@codesourcery.com>
24491 Roland McGrath <roland@hack.frob.com>
24492
24493 [BZ #5461]
24494 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
24495 not LONG_LONG_MAX and LONG_LONG_MIN.
24496 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
24497 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
24498 name.
24499 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
24500
245012012-02-22 Joseph Myers <joseph@codesourcery.com>
24502
24503 [BZ #2547]
24504 [BZ #11365]
24505 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
24506 manipulate bits before adding and subtracting TWO23[sx].
24507 * math/libm-test.inc (nearbyint_test): Add more tests.
24508
245092012-02-22 Joseph Myers <joseph@codesourcery.com>
24510
24511 [BZ #2548]
24512 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
24513 bits before adding and subtracting TWO23[sx].
24514 * math/libm-test.inc (rint_test): Add more tests.
24515 (rint_test_tonearest): Likewise.
24516 (rint_test_towardzero): Likewise.
24517 (rint_test_downward): Likewise.
24518 (rint_test_upward: Likewise.
24519
245202012-02-22 Joseph Myers <joseph@codesourcery.com>
24521
24522 [BZ #10110]
24523 * include/stdc-predef.h: New file. Extracted from features.h.
24524 * include/features.h: Include stdc-predef.h.
24525 * Makefile (headers): Add stdc-predef.h.
24526 * CONFORMANCE (Compiler limitations): Update.
24527
245282012-02-22 Joseph Myers <joseph@codesourcery.com>
24529
24530 * manual/libc.texinfo (VERSION, UPDATED): Revert.
24531
245322012-02-21 David S. Miller <davem@davemloft.net>
24533
24534 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
24535 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24536
245372012-02-20 David S. Miller <davem@davemloft.net>
24538
24539 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
24540 using a normal save/restore sequence, rather than allocating a
24541 dummy stack frame just to store a frame pointer and restore.
24542 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24543
245442012-02-21 Joseph Myers <joseph@codesourcery.com>
24545
24546 * manual/install.texi: Fix stray word in line-wrapped comment.
24547
245482012-02-20 David S. Miller <davem@davemloft.net>
24549
24550 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
24551 both binutils and gcc support GOTDATA.
24552
24553 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
24554 "rd %pc" in the PIC register setup sequences.
24555
24556 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
24557 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24559 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24560 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24562 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24563 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24564 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
24565 (SYSCALL_ERROR_HANDLER): Likewise.
24566 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24567 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
24569 (SYSCALL_ERROR_HANDLER): Likewise.
24570
24571 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
24572 (HAVE_GCC_GOTDATA): New.
24573 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
24574 relocation support in both binutils and gcc.
24575 * sysdeps/sparc/elf/configure: Regenerate.
24576
24577 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
24578 * sysdeps/sparc/sparc32/elf/configure: Delete.
24579 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
24580 * sysdeps/sparc/sparc64/elf/configure: Delete.
24581 * sysdeps/sparc/elf/configure.in: New file.
24582 * sysdeps/sparc/elf/configure: Generate.
24583
24584 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
24585 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
24586 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24587 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
24588 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
24589
245902012-02-21 Joseph Myers <joseph@codesourcery.com>
24591
24592 * manual/install.texi: Do not mention specific glibc version
24593 numbers.
24594 * manual/libc.texinfo (VERSION, UPDATED): Update.
24595 (@copying): Use @copyright{} and range of years.
24596
245972012-02-21 Joseph Myers <joseph@codesourcery.com>
24598
24599 [BZ #13695]
24600 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
24601 [crti.S not in sysdirs] (generated): Do not append.
24602 [crti.S not in sysdirs] (omit-deps): Likewise.
24603 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
24604 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
24605 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
24606 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
24607 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
24608 Likewise.
24609 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
24610 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
24611 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
24612 * csu/defs.awk: Remove file.
24613 * sysdeps/generic/initfini.c: Likewise.
24614 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
24615 variable.
24616 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
24617 Likewise.
24618
246192012-02-20 Joseph Myers <joseph@codesourcery.com>
24620
24621 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
24622 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
24623 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
24624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
24625 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24626 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
24627 <bits/epoll.h>.
24628 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
24629 (__EPOLL_PACKED): Define to empty if not defined by
24630 <bits/epoll.h>.
24631 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
24632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24633 bits/epoll.h.
24634
246352012-02-20 Joseph Myers <joseph@codesourcery.com>
24636
24637 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
24638 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
24639 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
24640 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
24641 <bits/timerfd.h>.
24642 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
24643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24644 bits/timerfd.h.
24645
246462012-02-20 Joseph Myers <joseph@codesourcery.com>
24647
24648 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
24649 in C locale.
24650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24651 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24652 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
24653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24654
246552012-02-20 Aurelien Jarno <aurelien@aurel32.net>
24656
24657 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24658 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
24659
246602012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24661
24662 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24663 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24664 defined.
24665 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24666 Likewise.
24667 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24668 entry for 2.16.
24669
246702012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24671
24672 * math/w_acos.c: Use non-signaling floating-point comparisons.
24673 * math/w_acosf.c: Likewise.
24674 * math/w_acosh.c: Likewise.
24675 * math/w_acoshf.c: Likewise.
24676 * math/w_acoshl.c: Likewise.
24677 * math/w_acosl.c: Likewise.
24678 * math/w_asin.c: Likewise.
24679 * math/w_asinf.c: Likewise.
24680 * math/w_asinl.c: Likewise.
24681 * math/w_atanh.c: Likewise.
24682 * math/w_atanhf.c: Likewise.
24683 * math/w_atanhl.c: Likewise.
24684 * math/w_exp2.c: Likewise.
24685 * math/w_exp2f.c: Likewise.
24686 * math/w_exp2l.c: Likewise.
24687 * math/w_j0.c: Likewise.
24688 * math/w_j0f.c: Likewise.
24689 * math/w_j0l.c: Likewise.
24690 * math/w_j1.c: Likewise.
24691 * math/w_j1f.c: Likewise.
24692 * math/w_j1l.c: Likewise.
24693 * math/w_jn.c: Likewise.
24694 * math/w_jnf.c: Likewise.
24695 * math/w_log.c: Likewise.
24696 * math/w_log10.c: Likewise.
24697 * math/w_log10f.c: Likewise.
24698 * math/w_log10l.c: Likewise.
24699 * math/w_log2.c: Likewise.
24700 * math/w_log2f.c: Likewise.
24701 * math/w_log2l.c: Likewise.
24702 * math/w_logf.c: Likewise.
24703 * math/w_logl.c: Likewise.
24704 * math/w_sqrt.c: Likewise.
24705 * math/w_sqrtf.c: Likewise.
24706 * math/w_sqrtl.c: Likewise.
24707 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24708 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24710 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24711 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24712
247132012-02-19 Joseph Myers <joseph@codesourcery.com>
24714
24715 [BZ #9739]
24716 * manual/string.texi (strnlen): Use correct parameter name in
24717 equivalent expression.
24718
247192012-02-19 Joseph Myers <joseph@codesourcery.com>
24720
24721 [BZ #11174]
24722 * manual/users.texi (seteuid): Consistently use neweuid for
24723 argument name.
24724
247252012-02-19 Joseph Myers <joseph@codesourcery.com>
24726
24727 [BZ #13704]
24728 * manual/nss.texi (Services in the NSS configuration): Correct
24729 list of services in example configuration file.
24730
247312012-02-19 Nick Bowler <nbowler@draconx.ca>
24732
24733 [BZ #11322]
24734 * manual/arith.texi: Remove statements about negative zero
24735 behaving identically to zero.
24736
247372012-02-18 Joseph Myers <joseph@codesourcery.com>
24738
24739 [BZ #5993]
24740 * manual/install.texi: Do not document upgrading from libc5.
24741
247422012-02-18 Joseph Myers <joseph@codesourcery.com>
24743
24744 [BZ #4596]
24745 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24746
247472012-02-18 David S. Miller <davem@davemloft.net>
24748
24749 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24750 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24751 %o7 across the call.
24752 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24753 instead.
24754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24755 SETUP_PIC_REG_LEAF.
24756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24757 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24758 * sysdeps/sparc/crtn.S: Likewise.
24759
247602012-02-17 Ulrich Drepper <drepper@gmail.com>
24761
24762 * aout/Makefile: Remove.
24763
247642012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24765
24766 [BZ #13058]
24767 * manual/examples/argp-ex1.c (main): Format definition in GNU
24768 style.
24769 * manual/examples/argp-ex2.c (main): Likewise.
24770 * manual/examples/argp-ex3.c (main): Likewise.
24771 * manual/examples/argp-ex4.c (main): Likewise.
24772 * manual/examples/longopt.c (main): Use new-style prototype
24773 definition.
24774 * manual/examples/strncat.c (main): Specify return type and use
24775 (void) for arguments.
24776 * manual/examples/subopt.c (main): Use char **argv argument.
24777
247782012-02-17 Joseph Myers <joseph@codesourcery.com>
24779
24780 [BZ #5077]
24781 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24782 rounding modes.
24783
247842012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24785
24786 [BZ #6907]
24787 * manual/string.texi (strchr): Change when strchrnul is
24788 recommended.
24789
247902012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24791
24792 [BZ #174]
24793 * manual/locale.texi (setlocale): Document LOCPATH.
24794
247952012-02-17 Joseph Myers <joseph@codesourcery.com>
24796
24797 [BZ #10210]
24798 * manual/process.texi (execle): Move @dots{} before last argument.
24799
248002012-02-17 Paul Bolle <pebolle@tiscali.nl>
24801
24802 [BZ #12047]
24803 * manual/charset.texi (Generic Charset Conversion): Fix typo
24804 (LC_TYPE -> LC_CTYPE).
24805
248062012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24807
24808 [BZ #5805]
24809 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24810 (scalbnf): Likewise.
24811 (scalbnl): Likewise.
24812 (scalbln): Likewise.
24813 (scalblnf): Likewise.
24814 (scalblnl): Likewise.
24815 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24816 (vwarnx): Likewise.
24817 (verr): Likewise.
24818 (verrx): Likewise.
24819 * manual/filesys.texi (telldir): Use braces around return type.
24820 * manual/llio.texi (mmap): Add space after comma.
24821 (mmap64): Likewise.
24822 * manual/math.texi (jn): Use @var{} on parameter names.
24823 (jnf): Likewise.
24824 (jnl): Likewise.
24825 (yn): Likewise.
24826 (ynf): Likewise.
24827 (ynl): Likewise.
24828 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24829 line.
24830 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24831 "...".
24832 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24833 (sched_get_priority_max): Likewise.
24834 * manual/signal.texi (sigvec): Add space after comma.
24835 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24836 names.
24837 (if_indextoname): Likewise.
24838 (if_freenameindex): Likewise.
24839 (sendto): Use ',' instead of '.' in prototype.
24840 * manual/startup.texi (syscall): Use @dots{} instead of literal
24841 "...".
24842 * manual/stdio.texi (__fpending): Separate initial words of
24843 paragraph from @deftypefun line.
24844 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24845 "...".
24846 (vsyslog): Use @var{} on parameter names.
24847 * manual/terminal.texi (stty): Use @var{} on parameter names.
24848 * manual/users.texi (getutmp): Use @var{} on parameter names.
24849 (getutmpx): Likewise.
24850
248512012-02-17 Joseph Myers <joseph@codesourcery.com>
24852
24853 [BZ #6884]
24854 * manual/stdio.texi (fopen): Fix typos in description of
24855 ",ccs=STRING".
24856
248572012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24858
24859 [BZ #4026]
24860 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24861 get clock_id definition.
24862
248632012-02-17 Thomas Schwinge <thomas@schwinge.name>
24864
24865 [BZ #4822]
24866 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24867 (madvise): Cast every argument to void on its own.
24868
248692012-02-17 Joseph Myers <joseph@codesourcery.com>
24870
24871 [BZ #9902]
24872 * manual/startup.texi (Exit Status): Fix typo.
24873
248742012-02-17 Joseph Myers <joseph@codesourcery.com>
24875
24876 [BZ #10140]
24877 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24878 * manual/examples/argp-ex2.c: Likewise.
24879 * manual/examples/argp-ex3.c: Likewise.
24880
248812012-02-16 Richard Henderson <rth@redhat.com>
24882
24883 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24884 * sysdeps/s390/s390-32/initfini.c: Remove.
24885 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24886 * sysdeps/s390/s390-64/initfini.c: Remove.
24887
248882012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24889
24890 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24891 compiler output for sysdeps/generic/initfini.c.
24892 * sysdeps/sh/elf/initfini.c: Remove file.
24893
248942012-02-16 David S. Miller <davem@davemloft.net>
24895
24896 [BZ #11494]
24897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24898
24899 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24900 * sysdeps/sparc/crti.S: New file.
24901 * sysdeps/sparc/crtn.S: New file.
24902 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24903 * sysdeps/sparc/sparc64/Makefile: Likewise.
24904
249052012-02-15 Mike Frysinger <vapier@gentoo.org>
24906
24907 [BZ #3335]
24908 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24909
249102012-02-15 Roland McGrath <roland@hack.frob.com>
24911
24912 [BZ #4822]
24913 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24914
24915 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24916 (write, read, close): Likewise.
24917 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24918
249192012-02-15 Joseph Myers <joseph@codesourcery.com>
24920
24921 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24922 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24923 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24924 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24925 <bits/signalfd.h>.
24926 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24928 bits/signalfd.h.
24929
249302012-02-14 Marek Polacek <polacek@redhat.com>
24931
24932 * sysdeps/x86_64/crti.S: New file.
24933 * sysdeps/x86_64/crtn.S: New file.
24934 * sysdeps/x86_64/elf/initfini.c: Remove file.
24935
249362012-02-13 Joseph Myers <joseph@codesourcery.com>
24937
24938 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24939 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24940 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24941 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24942 <bits/inotify.h>.
24943 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24945 bits/inotify.h.
24946
249472012-02-13 Joseph Myers <joseph@codesourcery.com>
24948
24949 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24950 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24951 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24952 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24953 <bits/eventfd.h>.
24954 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24956 bits/eventfd.h.
24957
249582012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24959
24960 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24961 __feraiseexcept instead of feraiseexcept.
24962
24963 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24964 nanosleep invocations.
24965 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24966 strings, and add error checking for a nanosleep invocations.
24967
249682012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24969
24970 Replace FSF snail mail address with URLs, as per GNU coding standards.
24971 Most of the snail mail addresses were wrong anyway, and omitting
24972 them makes the source code easier to maintain. Almost all of the
24973 changes are to license notices and to locale LC_IDENTIFICATION
24974 addresses, except for this one:
24975 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24976 not its snail mail address.
24977
249782012-02-09 Richard Henderson <rth@twiddle.net>
24979
24980 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24981 of kernel-features.h.
24982
24983 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24984
249852012-02-08 Marek Polacek <polacek@redhat.com>
24986
24987 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24988 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24989 * sysdeps/gnu/_G_config.h: Likewise.
24990 * sysdeps/generic/_G_config.h: Likewise.
24991
249922012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24993
24994 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24995 tests.
24996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24997
24998 * sysdeps/powerpc/powerpc32/crti.S: New file.
24999 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25000 * sysdeps/powerpc/powerpc64/crti.S: New file.
25001 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25002
25003 * Makeconfig (have-initfini): Don't set.
25004 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25005 * configure.in (nopic_initfini): Don't substitute.
25006 * config.h.in (HAVE_INITFINI): Don't #undef.
25007 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25008 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25009
250102012-02-08 Joseph Myers <joseph@codesourcery.com>
25011
25012 Support crti.S and crtn.S provided directly by architectures.
25013 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25014 [crti.S in sysdirs] (omit-deps): Likewise.
25015 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25016 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25017 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25018 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25019 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25020 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25021 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25022 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25023 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25024 compiler output for sysdeps/generic/initfini.c.
25025 * sysdeps/i386/elf/Makefile: Remove file.
25026 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25027
250282012-02-07 Marek Polacek <polacek@redhat.com>
25029
25030 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25031 * sysdeps/gnu/_G_config.h: Likewise.
25032 * sysdeps/mach/hurd/_G_config.h: Likewise.
25033
250342012-02-07 Marek Polacek <polacek@redhat.com>
25035
25036 * math/Makefile (tests): Add tst-CMPLX2.
25037 * math/tst-CMPLX2.c: New file.
25038
250392012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25040
25041 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25042
25043 * math/libm-test.inc (jn_test): Add missing L suffix.
25044
250452012-02-06 Marek Polacek <polacek@redhat.com>
25046
25047 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25048 * sysdeps/i386/fpu/e_powf.S: Likewise.
25049 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25050 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25051 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25052 * sysdeps/i386/fpu/e_pow.S: Likewise.
25053 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25055 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25056 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25057 * sysdeps/i386/fpu/e_log2.S: Likewise.
25058 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25059 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25060 * sysdeps/i386/fpu/e_powl.S: Likewise.
25061 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25063 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25064 * sysdeps/i386/fpu/e_logl.S: Likewise.
25065 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25066 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25067 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25068 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25069 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25070 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25071 * sysdeps/i386/fpu/e_log.S: Likewise.
25072 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25073 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25074 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25075 * sysdeps/i386/fpu/e_logf.S: Likewise.
25076 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25077 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25078 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25079 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25080 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25081 * sysdeps/i386/fpu/e_log10.S: Likewise.
25082 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25083 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25084 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25085 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25086 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25087 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25088 * sysdeps/i386/asm-syntax.h: Likewise.
25089 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25090 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25091 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25092 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25093 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25094 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25095 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25096 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25097 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25098 * sysdeps/powerpc/sysdep.h: Likewise.
25099 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25100 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25101
251022012-02-06 Joseph Myers <joseph@codesourcery.com>
25103
25104 [BZ #411]
25105 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25106
251072012-02-06 Joseph Myers <joseph@codesourcery.com>
25108
25109 * sysdeps/i386/sysdep.h: Include <features.h>.
25110 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25111 version.
25112
251132012-02-05 Joseph Myers <joseph@codesourcery.com>
25114
25115 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25116 Define.
25117 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25118 LOAD_PIC_REG_STR.
25119
251202012-02-03 Joseph Myers <joseph@codesourcery.com>
25121
25122 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25123 (SETUP_PIC_REG): Use GET_PC_THUNK.
25124 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25125 macro.
25126
251272012-02-03 Joseph Myers <joseph@codesourcery.com>
25128
25129 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25130 for non-PIC compilation.
25131 (SETUP_PIC_REG): Add .p2align directive.
25132 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25133 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25134 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25135 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25136 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25137 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25138 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25140 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25141 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25142 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25143 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25144 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25145 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25146 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25147 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25148 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25149 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25150 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25151 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25152 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25153 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25154 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25155 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25156 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25158 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25159 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25160 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25161 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25162 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25163 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25164 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25165 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25166 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25167 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25168 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25169 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25170 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25171 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25172 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25173
251742012-02-03 Joseph Myers <joseph@codesourcery.com>
25175
25176 * math/tst-CMPLX.c: Include <stdio.h>.
25177
251782012-01-31 Joseph Myers <joseph@codesourcery.com>
25179
25180 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25181 float.
25182 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25183 * sysdeps/sparc/bits/mathdef.h: Likewise.
25184
251852012-01-31 Marek Polacek <polacek@redhat.com>
25186
25187 * libio/libio.h: Don't define _PARAMS.
25188 * locale/programs/config.h: Don't define PARAMS.
25189 * stdlib/strtol_l.c: Likewise.
25190 (__strtol_l): Remove PARAMS from the prototype.
25191
251922012-01-31 Ulrich Drepper <drepper@gmail.com>
25193
25194 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25195 names. Just use the correct names. Remove unnecessary wrapper
25196 functions.
25197 * malloc/arena.c: Likewise.
25198 * malloc/hooks.c: Likewise.
25199
25200 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25201 ARENA_TEST says not to. Simplify test for creation of a new arena.
25202 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25203
252042012-01-30 Ulrich Drepper <drepper@gmail.com>
25205
25206 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25207 into tail calls.
25208 (update_get_addr): New function.
25209 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25210 GET_ADDR_MODULE parameter.
25211
252122012-01-30 Joseph Myers <joseph@codesourcery.com>
25213
25214 * crypt/cert.c: Remove __STDC__ conditionals.
25215 * crypt/crypt-entry.c: Likewise.
25216 * crypt/crypt_util.c: Likewise.
25217 * libio/filedoalloc.c: Likewise.
25218 * libio/fileops.c: Likewise.
25219 * libio/genops.c: Likewise.
25220 * libio/iofclose.c: Likewise.
25221 * libio/iofdopen.c: Likewise.
25222 * libio/iofopen.c: Likewise.
25223 * libio/iofopen64.c: Likewise.
25224 * libio/iogetdelim.c: Likewise.
25225 * libio/iopopen.c: Likewise.
25226 * libio/obprintf.c: Likewise.
25227 * libio/oldfileops.c: Likewise.
25228 * libio/oldiofclose.c: Likewise.
25229 * libio/oldiofdopen.c: Likewise.
25230 * libio/oldiofopen.c: Likewise.
25231 * libio/oldiopopen.c: Likewise.
25232 * libio/wfiledoalloc.c: Likewise.
25233 * libio/wgenops.c: Likewise.
25234 * locale/programs/xmalloc.c: Likewise.
25235 * misc/syslog.c: Likewise.
25236 * stdio-common/xbug.c: Likewise.
25237 * string/memchr.c: Likewise.
25238 * string/memcmp.c: Likewise.
25239 * string/memrchr.c: Likewise.
25240 * string/rawmemchr.c: Likewise.
25241 * sysdeps/posix/getcwd.c: Likewise.
25242 * time/strftime_l.c: Likewise.
25243
252442012-01-30 Joseph Myers <joseph@codesourcery.com>
25245
25246 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25247 * config.make.in (config-cflags-sse2avx): Define.
25248 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25249 Fix typo.
25250
252512012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25252
25253 * scripts/config.guess: Update from upstream config git repository.
25254 * scripts/config.sub: Likewise.
25255
252562012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25257
25258 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25259 (EM_NUM): Update.
25260 (R_TILEPRO_*, R_TILEGX_*): New macros.
25261
25262 * scripts/firstversions.awk: Fix bug in version range handling.
25263
25264 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25265
25266 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25267
25268 * include/sys/epoll.h: New file.
25269 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25270 libc_hidden_def.
25271
252722012-01-28 Ulrich Drepper <drepper@gmail.com>
25273
25274 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25275 Avoid unnecessary __WORDSIZE == 64 test.
25276 (fmaxf): Use VEX format if possible.
25277 (fmax): Likewise.
25278 (fminf): Likewise.
25279 (fmin): Likewise.
25280
25281 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25282 * math/math_private.h: Remove libc_fegetround* and
25283 libc_fesetround*.
25284 * sysdeps/i386/configure.in: Check for -msse2avx.
25285 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25286 also if SSE2AVX is defined.
25287 Remove libc_fegetround* and libc_fesetround*.
25288 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25289 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
25290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25291 of HAS_YMM_USABLE.
25292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25293 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25297
25298 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25299
253002012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25301
25302 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25303 size is not set.
25304 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25305
253062012-01-27 Ulrich Drepper <drepper@gmail.com>
25307
25308 [BZ #13618]
25309 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25310 relocation.
25311 * Makeconfig (libm): Define.
25312 * elf/Makefile: Add rules to build and run tst-relsort1.
25313 * elf/tst-relsort1.c: New file.
25314 * elf/tst-relsort1mod1.c: New file.
25315 * elf/tst-relsort1mod2.c: New file.
25316
253172012-01-27 Joseph Myers <joseph@codesourcery.com>
25318
25319 * math/s_ldexp.c: Remove __STDC__ conditionals.
25320 * math/s_ldexpf.c: Likewise.
25321 * math/s_ldexpl.c: Likewise.
25322 * math/s_nextafter.c: Likewise.
25323 * math/s_nexttowardf.c: Likewise.
25324 * math/s_significand.c: Likewise.
25325 * math/s_significandf.c: Likewise.
25326 * math/s_significandl.c: Likewise.
25327 * math/w_jnl.c: Likewise.
25328 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25329 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25330 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25331 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25332 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25347 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25348 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25349 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25354 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25356 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25357 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25358 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25359 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25360 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25361 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25362 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25363 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25364 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25365 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25366 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25367 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25368 * sysdeps/ieee754/k_standard.c: Likewise.
25369 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25370 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25371 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25372 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25373 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25377 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25378 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25379 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25380 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25381 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25382 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25383 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25384 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25385 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25386 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25387 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25388 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25389 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25390 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25391 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25392 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25393 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25394 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25395 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25396 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25398 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25399 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25400 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
25401 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25418 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25419 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25422 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25423 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25424 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25425 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
25426 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25428 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25429 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25430 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25431 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25433 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25434 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25435 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25437 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25438 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25439 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25443 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25444 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25446 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25447 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25448 * sysdeps/ieee754/s_matherr.c: Likewise.
25449 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25450 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25453
254542012-01-26 Joseph Myers <joseph@codesourcery.com>
25455
25456 * crypt/md5.h: Remove __STDC__ conditionals.
25457 * libio/libioP.h: Likewise.
25458 * locale/programs/config.h: Likewise.
25459 * sysdeps/generic/sysdep.h: Likewise.
25460 * sysdeps/i386/asm-syntax.h: Likewise.
25461 * sysdeps/s390/asm-syntax.h: Likewise.
25462 * sysdeps/unix/sysdep.h: Likewise.
25463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25465
254662012-01-26 Joseph Myers <joseph@codesourcery.com>
25467
25468 * libio/libio.h: Remove __STDC__ conditionals.
25469 * malloc/obstack.h: Likewise.
25470 * math/complex.h: Likewise.
25471 * math/math.h: Likewise.
25472 * sysdeps/generic/_G_config.h: Likewise.
25473 * sysdeps/gnu/_G_config.h: Likewise.
25474 * sysdeps/mach/hurd/_G_config.h: Likewise.
25475 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25476 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25477 * sysdeps/sparc/bits/mathdef.h: Likewise.
25478
254792012-01-26 Ulrich Drepper <drepper@gmail.com>
25480
25481 [BZ #13583]
25482 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
25483 Clean up HAS_* macros.
25484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
25485 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
25486 possible.
25487 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
25488 HAS_AVX.
25489 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25490 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25491 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25492 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25493 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25494
254952012-01-25 Joseph Myers <joseph@codesourcery.com>
25496
25497 * elf/tst-unique3.cc (gets): Remove declaration.
25498 * elf/tst-unique3lib.cc (gets): Likewise.
25499 * elf/tst-unique3lib2.cc (gets): Likewise.
25500 * elf/tst-unique4.cc (gets): Likewise.
25501
255022012-01-24 Ulrich Drepper <drepper@gmail.com>
25503
25504 * include/stdio.h: Add C++ protection. Add gets declarations and
25505 definitions.
25506 * debug/tst-chk1.c: Don't declare gets here.
25507 * stdio-common/tst-gets.c: Likewise.
25508
255092012-01-24 Joseph Myers <joseph@codesourcery.com>
25510
25511 * posix/glob: Remove directory.
25512
255132012-01-24 Joseph Myers <joseph@codesourcery.com>
25514
25515 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
25516
255172012-01-22 Pino Toscano <toscano.pino@tiscali.it>
25518
25519 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
25520 of the non-standard EPFNOSUPPORT.
25521
255222011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
25523
25524 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
25525 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
25526 ANYWHERE set to 1 only on KERN_NO_SPACE error.
25527
255282012-01-21 Ulrich Drepper <drepper@gmail.com>
25529
25530 * wcsmbs/uchar.h: Test __STDC_VERSION__.
25531
255322012-01-20 Ulrich Drepper <drepper@gmail.com>
25533
25534 * nscd/aicache.c (addhstaiX): Do not cache negative results of
25535 transient errors.
25536 * nscd/grpcache.c (cache_addgr): Likewise.
25537 * nscd/hstcache.c (cache_addhst): Likewise.
25538 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25539 * nscd/pwdcache.c (cache_addpw): Likewise.
25540 * nscd/servicescache.c (cache_addserv): Likewise.
25541
255422012-01-16 Ulrich Drepper <drepper@gmail.com>
25543
25544 * malloc/malloc.c: Various cleanups.
25545 * malloc/hooks.c: Likewise.
25546
25547 * stdlib/Makefile (tests): Add bug-fmtmsg1.
25548 * stdlib/bug-fmtmsg1.c: New file.
25549
25550 * stdlib/fmtmsg.c (init): Add missing unlock.
25551 Patch by Peng Haitao <penght@cn.fujitsu.com>.
25552
255532012-01-12 Marek Polacek <polacek@redhat.com>
25554
25555 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
25556 and _GNU_SOURCE.
25557
255582012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25559
25560 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
25561 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
25562 macro to ensure uniqueness of label name.
25563 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25564 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25565
255662012-01-11 Ulrich Drepper <drepper@gmail.com>
25567
25568 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
25569
25570 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
25571 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25572 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
25574
255752012-01-10 Ulrich Drepper <drepper@gmail.com>
25576
25577 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
25578
25579 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
25580 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25582
25583 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
25584
25585 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
25586 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
25589
25590 * math/bits/math-finite.h: Add ldexp support.
25591
255922012-01-10 Marek Polacek <polacek@redhat.com>
25593
25594 * locale/programs/localedef.h (show_archive_content): Add noreturn
25595 attribute.
25596
255972012-01-09 Ulrich Drepper <drepper@gmail.com>
25598
25599 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
25600
256012012-01-08 Ulrich Drepper <drepper@gmail.com>
25602
25603 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
25604
25605 * io/Makefile (headers): Add bits/poll2.h.
25606
256072011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
25608
25609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
25610 typo #include statement.
25611
256122012-01-08 Ulrich Drepper <drepper@gmail.com>
25613
25614 * include/sys/cdefs.h: Define __attribute_alloc_size.
25615 * catgets/gencat.c: Add alloc_size attribute and apply consistently
25616 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
25617 * elf/pldd.c: Likewise.
25618 * iconv/iconv_charmap.c: Likewise.
25619 * iconv/iconvconfig.c: Likewise.
25620 * iconv/strtab.c: Likewise.
25621 * locale/programs/locale.c: Likewise.
25622 * locale/programs/localedef.h: Likewise.
25623 * locale/programs/simple-hash.c: Likewise.
25624 * nscd/nscd.h: Likewise.
25625 * nss/makedb.c: Likewise.
25626 * sysdeps/generic/ldconfig.h: Likewise.
25627 * locale/programs/localedef.c: Remove xmalloc prototype.
25628 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
25629
256302012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25631
25632 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
25633 appropriate.
25634
256352012-01-08 Ulrich Drepper <drepper@gmail.com>
25636
25637 * math/Makefile (tests): Add tst-CMPLX.
25638 * math/tst-CMPLX.c: New file.
25639
25640 * math/complex.h (CMPLXL): Fix typo.
25641
25642 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
25643 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
25644 GLIBC_2.16.
25645 * debug/tst-chk1.c: Add poll and ppoll tests.
25646 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
25647 * include/sys/poll.h: Add hidden proto for ppoll.
25648 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
25649 * sysdeps/mach/hurd/ppoll.c: Likewise.
25650 * io/ppoll.c: Likewise.
25651 * debug/poll_chk.c: New file.
25652 * debug/ppoll_chk.c: New file.
25653 * include/bits/poll2.h: New file.
25654 * io/bits/poll2.h: New file.
25655
25656 [BZ #1350]
25657 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
25658
25659 * configure.in: static is always set to yes. Remove.
25660 * config.make.in: Don't set build-static.
25661 * Makeconfig: Remove use of build-static.
25662 * dlfcn/Makefile: Likewise.
25663 * elf/Makefile: Likewise.
25664 * math/Makefile: Likewise.
25665 * misc/Makefile: Likewise.
25666 * nptl/Makefile: Likewise.
25667 * sysdeps/mach/hurd/Makefile: Likewise.
25668
25669 * configure.in: PWD_P is not used anymore.
25670 * config.make.in: Remove PWD_P entry.
25671
25672 * configure.in: Remove last remnants of RANLIB.
25673 No need to check for signed size_t anymore.
25674 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25675 and IA-64.
25676 Remove __builtin_expect test because we require at least gcc 3.4.
25677 * aclocal.m4: Likewise.
25678
25679 * wcsmbs/mbrtoc16.c: Implement using towc function.
25680 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25681 * wcsmbs/wcsmbsload.c: Likewise.
25682 * iconv/gconv_simple.c: Likewise.
25683 * iconv/gconv_int.h: Likewise.
25684 * iconv/gconv_builtin.h: Likewise.
25685 * iconv/iconv_prog.c: Remove CHAR16 handling.
25686
25687 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25688
25689 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25690
25691 * configure.in: Remove --with-elf and --enable-bounded options.
25692 Dont set base_machine for ia64. More non-ELF conditions removed.
25693 Remove testing and setting of leading underscore information.
25694 * config.make.in (build-bounded): Set to no.
25695 * config.h.in: Remove NO_UNDERSCORES entry.
25696 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25697 them.
25698 * csu/start.c: Remove !NO_UNDERSCORE code.
25699 * locale/localeinfo.h: Likewise.
25700 * sysdeps/generic/machine-gmon.h: Likewise.
25701 * sysdeps/generic/sysdep.h: Likewise.
25702 * sysdeps/i386/sysdep.h: Likewise.
25703 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25704 * sysdeps/mach/sysdep.h: Likewise.
25705 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25707 * sysdeps/sh/sysdep.h: Likewise.
25708 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25709 * sysdeps/unix/i386/sysdep.S: Likewise.
25710 * sysdeps/unix/sparc/start.c: Likewise.
25711 * sysdeps/unix/sparc/sysdep.S: Likewise.
25712 * sysdeps/unix/sparc/sysdep.h: Likewise.
25713 * sysdeps/unix/start.c: Likewise.
25714 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25715 * sysdeps/x86_64/sysdep.h: Likewise.
25716
257172012-01-07 Ulrich Drepper <drepper@gmail.com>
25718
25719 [BZ #13553]
25720 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25721 for non-gcc.
25722 * argp/argp-fmtstream.h: Use const instead __const.
25723 * argp/argp.h: Likewise.
25724 * assert/assert.h: Likewise.
25725 * bits/fenv.h: Likewise.
25726 * bits/sched.h: Likewise.
25727 * bits/sigset.h: Likewise.
25728 * bits/sigthread.h: Likewise.
25729 * catgets/nl_types.h: Likewise.
25730 * conform/data/pthread.h-data: Likewise.
25731 * crypt/crypt-private.h: Likewise.
25732 * crypt/crypt.h: Likewise.
25733 * crypt/crypt_util.c: Likewise.
25734 * ctype/ctype.h: Likewise.
25735 * debug/execinfo.h: Likewise.
25736 * debug/mbsnrtowcs_chk.c: Likewise.
25737 * debug/mbsrtowcs_chk.c: Likewise.
25738 * debug/wcsnrtombs_chk.c: Likewise.
25739 * debug/wcsrtombs_chk.c: Likewise.
25740 * debug/wcstombs_chk.c: Likewise.
25741 * dirent/dirent.h: Likewise.
25742 * dlfcn/dlfcn.h: Likewise.
25743 * elf/neededtest4.c: Likewise.
25744 * grp/grp.h: Likewise.
25745 * gshadow/gshadow.h: Likewise.
25746 * iconv/gconv.h: Likewise.
25747 * iconv/gconv_int.h: Likewise.
25748 * iconv/gconv_simple.c: Likewise.
25749 * iconv/iconv.h: Likewise.
25750 * iconv/loop.c: Likewise.
25751 * iconv/skeleton.c: Likewise.
25752 * include/aio.h: Likewise.
25753 * include/aliases.h: Likewise.
25754 * include/argz.h: Likewise.
25755 * include/arpa/inet.h: Likewise.
25756 * include/assert.h: Likewise.
25757 * include/dirent.h: Likewise.
25758 * include/dlfcn.h: Likewise.
25759 * include/execinfo.h: Likewise.
25760 * include/fcntl.h: Likewise.
25761 * include/fenv.h: Likewise.
25762 * include/glob.h: Likewise.
25763 * include/grp.h: Likewise.
25764 * include/libintl.h: Likewise.
25765 * include/mntent.h: Likewise.
25766 * include/netdb.h: Likewise.
25767 * include/pwd.h: Likewise.
25768 * include/rpc/netdb.h: Likewise.
25769 * include/sched.h: Likewise.
25770 * include/search.h: Likewise.
25771 * include/shadow.h: Likewise.
25772 * include/signal.h: Likewise.
25773 * include/stdio.h: Likewise.
25774 * include/stdlib.h: Likewise.
25775 * include/string.h: Likewise.
25776 * include/sys/socket.h: Likewise.
25777 * include/sys/stat.h: Likewise.
25778 * include/sys/statfs.h: Likewise.
25779 * include/sys/statvfs.h: Likewise.
25780 * include/sys/syslog.h: Likewise.
25781 * include/sys/time.h: Likewise.
25782 * include/sys/uio.h: Likewise.
25783 * include/time.h: Likewise.
25784 * include/unistd.h: Likewise.
25785 * include/utmp.h: Likewise.
25786 * include/wchar.h: Likewise.
25787 * include/wctype.h: Likewise.
25788 * inet/aliases.h: Likewise.
25789 * inet/arpa/inet.h: Likewise.
25790 * inet/netinet/ether.h: Likewise.
25791 * inet/netinet/in.h: Likewise.
25792 * intl/libintl.h: Likewise.
25793 * io/bits/fcntl2.h: Likewise.
25794 * io/fcntl.h: Likewise.
25795 * io/ftw.h: Likewise.
25796 * io/sys/poll.h: Likewise.
25797 * io/sys/stat.h: Likewise.
25798 * io/sys/statfs.h: Likewise.
25799 * io/sys/statvfs.h: Likewise.
25800 * io/utime.h: Likewise.
25801 * libio/bits/stdio.h: Likewise.
25802 * libio/bits/stdio2.h: Likewise.
25803 * libio/libio.h: Likewise.
25804 * libio/libioP.h: Likewise.
25805 * libio/stdio.h: Likewise.
25806 * locale/lc-ctype.c: Likewise.
25807 * locale/locale.h: Likewise.
25808 * login/utmp.h: Likewise.
25809 * malloc/arena.c: Likewise.
25810 * malloc/malloc.c: Likewise.
25811 * malloc/malloc.h: Likewise.
25812 * malloc/mcheck.c: Likewise.
25813 * malloc/mtrace.c: Likewise.
25814 * math/bits/mathcalls.h: Likewise.
25815 * math/fenv.h: Likewise.
25816 * math/math_private.h: Likewise.
25817 * misc/bits/error.h: Likewise.
25818 * misc/bits/syslog.h: Likewise.
25819 * misc/err.h: Likewise.
25820 * misc/error.h: Likewise.
25821 * misc/fstab.h: Likewise.
25822 * misc/mntent.h: Likewise.
25823 * misc/regexp.h: Likewise.
25824 * misc/search.h: Likewise.
25825 * misc/sgtty.h: Likewise.
25826 * misc/sys/mman.h: Likewise.
25827 * misc/sys/syslog.h: Likewise.
25828 * misc/sys/uio.h: Likewise.
25829 * misc/sys/xattr.h: Likewise.
25830 * misc/ttyent.h: Likewise.
25831 * nis/rpcsvc/ypclnt.h: Likewise.
25832 * nss/nss.h: Likewise.
25833 * posix/bits/unistd.h: Likewise.
25834 * posix/fnmatch.h: Likewise.
25835 * posix/glob.h: Likewise.
25836 * posix/sched.h: Likewise.
25837 * posix/spawn.h: Likewise.
25838 * posix/sys/wait.h: Likewise.
25839 * posix/unistd.h: Likewise.
25840 * posix/wordexp.h: Likewise.
25841 * pwd/pwd.h: Likewise.
25842 * resolv/netdb.h: Likewise.
25843 * resource/sys/resource.h: Likewise.
25844 * rt/aio.h: Likewise.
25845 * rt/bits/mqueue2.h: Likewise.
25846 * rt/mqueue.h: Likewise.
25847 * shadow/shadow.h: Likewise.
25848 * signal/signal.h: Likewise.
25849 * socket/send.c: Likewise.
25850 * socket/sendto.c: Likewise.
25851 * socket/sys/socket.h: Likewise.
25852 * stdio-common/printf.h: Likewise.
25853 * stdlib/bits/stdlib.h: Likewise.
25854 * stdlib/fmtmsg.h: Likewise.
25855 * stdlib/monetary.h: Likewise.
25856 * stdlib/stdlib.h: Likewise.
25857 * stdlib/ucontext.h: Likewise.
25858 * streams/stropts.h: Likewise.
25859 * string/argz.h: Likewise.
25860 * string/bits/string2.h: Likewise.
25861 * string/string.h: Likewise.
25862 * string/strings.h: Likewise.
25863 * sunrpc/rpc/auth.h: Likewise.
25864 * sunrpc/rpc/auth_des.h: Likewise.
25865 * sunrpc/rpc/clnt.h: Likewise.
25866 * sunrpc/rpc/netdb.h: Likewise.
25867 * sunrpc/rpc/pmap_clnt.h: Likewise.
25868 * sunrpc/rpc/xdr.h: Likewise.
25869 * sysdeps/generic/inttypes.h: Likewise.
25870 * sysdeps/generic/net/if.h: Likewise.
25871 * sysdeps/generic/sys/swap.h: Likewise.
25872 * sysdeps/gnu/net/if.h: Likewise.
25873 * sysdeps/gnu/utmpx.h: Likewise.
25874 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25875 * sysdeps/i386/i486/bits/string.h: Likewise.
25876 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25877 * sysdeps/s390/bits/string.h: Likewise.
25878 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25879 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25880 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25881 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25882 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25883 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25884 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25885 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25886 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25887 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25888 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25889 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25890 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25891 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25892 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25893 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25894 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25896 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25897 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25898 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25899 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25900 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25901 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25902 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25903 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25904 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25905 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25906 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25907 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25908 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25909 * sysvipc/sys/ipc.h: Likewise.
25910 * sysvipc/sys/msg.h: Likewise.
25911 * sysvipc/sys/sem.h: Likewise.
25912 * sysvipc/sys/shm.h: Likewise.
25913 * termios/termios.h: Likewise.
25914 * time/sys/time.h: Likewise.
25915 * time/time.h: Likewise.
25916 * wcsmbs/bits/wchar2.h: Likewise.
25917 * wcsmbs/uchar.h: Likewise.
25918 * wcsmbs/wchar.h: Likewise.
25919 * wctype/wctype.h: Likewise.
25920
25921 [BZ #13551]
25922 * Makeconfig: Remove all but ELF support including AIX support.
25923 * Makerules: Likewise.
25924 * config.h.in: Likewise.
25925 * config.make.in: Likewise.
25926 * configure: Likewise.
25927 * configure.in: Likewise.
25928 * csu/Makefile: Likewise.
25929 * csu/version.c: Likewise.
25930 * debug/Makefile: Likewise.
25931 * dlfcn/Makefile: Likewise.
25932 * elf/Makefile: Likewise.
25933 * extra-lib.mk: Likewise.
25934 * iconv/Makefile: Likewise.
25935 * include/libc-symbols.h: Likewise.
25936 * include/shlib-compat.h: Likewise.
25937 * resolv/Makefile: Likewise.
25938 * resolv/res_libc.c: Likewise.
25939 * rt/Makefile: Likewise.
25940 * sysdeps/i386/asm-syntax.h: Likewise.
25941 * sysdeps/i386/sysdep.h: Likewise.
25942 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25943 * sysdeps/mach/sysdep.h: Likewise.
25944 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25945 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25946 * sysdeps/s390/asm-syntax.h: Likewise.
25947 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25948 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25949 * sysdeps/sh/sysdep.h: Likewise.
25950 * sysdeps/unix/sparc/sysdep.h: Likewise.
25951 * sysdeps/wordsize-32/divdi3.c: Likewise.
25952 * sysdeps/x86_64/sysdep.h: Likewise.
25953
25954 * argp/Versions: Remove _argp_unlock_xxx.
25955
25956 [BZ #13559]
25957 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25958 * abilist/libBrokenLocale.abilist: Likewise.
25959 * abilist/libanl.abilist: Likewise.
25960 * abilist/libc.abilist: Likewise.
25961 * abilist/libcrypt.abilist: Likewise.
25962 * abilist/libdl.abilist: Likewise.
25963 * abilist/libm.abilist: Likewise.
25964 * abilist/libnsl.abilist: Likewise.
25965 * abilist/libpthread.abilist: Likewise.
25966 * abilist/libresolv.abilist: Likewise.
25967 * abilist/librt.abilist: Likewise.
25968 * abilist/libthread_db.abilist: Likewise.
25969 * abilist/libutil.abilist: Likewise.
25970 * abilist/libnss_db.abilist: New file.
25971
25972 * scripts/abilist.awk: Add support for indirect functions.
25973
25974 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25975
25976 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25977
25978 * shlib-versions: Remove entries for ports architectures.
25979
25980 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25981 files in ports.
25982 * elf/stackguard-macros.h: Remove support for IA-64.
25983 * elf/tst-auditmod1.c: Likewise.
25984 * sysdeps/generic/ldsodefs.h: Likewise.
25985
25986 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25987 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25988 configure files.
25989
25990 [BZ #13552]
25991 * configure.in: Remove --enable-omitfp support.
25992 * FAQ.in: Adjust.
25993 * config.make.in: Likewise.
25994 * Makeconfig: Likewise.
25995 * manual/install.texi: Likewise.
25996
25997 In case anyone cares, the IA-64 architecture could move to ports.
25998 * sysdeps/ia64/*: Removed.
25999 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26000 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26001
26002 [BZ #13555]
26003 * configure.in: Remove entries for unsupported architectures.
26004
26005 [BZ #13533]
26006 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26007 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26008 routines.
26009 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26010 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26011 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26012 fall back to using wcrtomb.
26013 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26014 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26015 renaming.
26016 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26017 * wcsmbs/tst-c16c32-1.c: New file.
26018
26019 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26020 local variable.
26021
26022 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26023
26024 * elf/tst-unique3.cc: Add explicit declaration of gets.
26025 * elf/tst-unique3lib.cc: Likewise.
26026 * elf/tst-unique3lib2.cc: Likewise.
26027 * elf/tst-unique4.cc: Likewise.
26028
26029 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26030
260312012-01-06 Joseph Myers <joseph@codesourcery.com>
26032
26033 [BZ #13566]
26034 * assert/assert.h (static_assert): Don't define for C++.
26035 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26036 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26037
260382012-01-03 Ulrich Drepper <drepper@gmail.com>
26039
26040 * iconv/loop.c (single loop): Fix assertion in storing of
26041 remaining bytes.
26042
26043 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26044
260452012-01-01 Ulrich Drepper <drepper@gmail.com>
26046
26047 * posix/getconf.c: Update copyright year.
26048 * nss/getent.c: Likewise.
26049 * nss/makedb.c: Likewise.
26050 * iconv/iconvconfig.c: Likewise.
26051 * iconv/iconv_prog.c: Likewise.
26052 * elf/ldconfig.c: Likewise.
26053 * elf/pldd.c: Likewise.
26054 * elf/sotruss.ksh: Likewise.
26055 * catgets/gencat.c: Likewise.
26056 * csu/version.c: Likewise.
26057 * elf/ldd.bash.in: Likewise.
26058 * elf/sprof.c (print_version): Likewise.
26059 * locale/programs/locale.c: Likewise.
26060 * locale/programs/localedef.c: Likewise.
26061 * login/programs/pt_chown.c: Likewise.
26062 * nscd/nscd.c (print_version): Likewise.
26063 * debug/xtrace.sh: Likewise.
26064 * malloc/memusage.sh: Likewise.
26065 * malloc/mtrace.pl: Likewise.
26066 * debug/catchsegv.sh: Likewise.
26067
260682011-12-30 Jakub Jelinek <jakub@redhat.com>
26069
26070 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26071 pure attribute.
26072
260732011-12-24 Ulrich Drepper <drepper@gmail.com>
26074
26075 [BZ #13533]
26076 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26077 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26078 transformations.
26079 * iconv/gconv_int.h: Likewise.
26080 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26081 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26082 from libc for GLIBC_2.16.
26083 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26084 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26085 * wcsmbs/uchar.h: Really define mbstate_t.
26086 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26087 * wcsmbs/c16rtomb.c: New file.
26088 * wcsmbs/mbrtoc16.c: New file.
26089 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26090 for C/POSIX locale.
26091 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26092 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26093
26094 * wcsmbs/wchar.h: Add missing __restrict.
26095
260962011-12-23 Ulrich Drepper <drepper@gmail.com>
26097
26098 [BZ #13532]
26099 * time/Makefile (routines): Add timespec_get.
26100 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26101 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26102 timespec for ISO C11.
26103 * time/timespec_get.c: New file.
26104 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26105 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26106
26107 [BZ #13531]
26108 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26109 * stdlib/stdlib.h: Declare aligned_alloc.
26110 * Versions.def: Add GLIBC_2.16 for libc.
26111 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26112
26113 [BZ 13527]
26114 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26115 ISO C11.
26116
26117 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26118 code.
26119
26120 [BZ #13528]
26121 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26122
26123 [BZ #13529]
26124 * assert/assert.h (static_assert): Define.
26125
26126 * version.h: Update for 2.16 development version.
26127
26128 [BZ #13526]
26129 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26130 _ISOC11_SOURCE.
26131
26132 * version.h (RELEASE): Bump for 2.15 release.
26133 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26134
26135 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26136 Patch by Marek Polacek <mpolacek@redhat.com>.
26137
26138 * bits/byteswap.h: Protect long long constants with __extension__.
26139 * sysdeps/i386/bits/byteswap.h: Likewise.
26140 * sysdeps/ia64/bits/byteswap.h: Likewise.
26141 * sysdeps/s390/bits/byteswap.h: Likewise.
26142 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26143
261442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26145
26146 [BZ #13540]
26147 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26148 destination buffer.
26149 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26150
261512011-12-23 Marek Polacek <polacek@redhat.com>
26152
26153 * elf/dl-addr.c (determine_info): Add inline keyword.
26154 * elf/tst-auditmod4b.c (check_avx): Likewise.
26155 * elf/tst-auditmod6b.c (check_avx): Likewise.
26156 * elf/tst-auditmod6c.c (check_avx): Likewise.
26157 * elf/tst-auditmod7b.c (check_avx): Likewise.
26158
261592011-12-23 Ulrich Drepper <drepper@gmail.com>
26160
26161 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26162 !__SSE_MATH__.
26163
261642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26165
26166 [BZ #13540]
26167 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26168 processing for last bytes.
26169
261702011-08-06 Bruno Haible <bruno@clisp.org>
26171
26172 [BZ #13061]
26173 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26174 U+0385, not to U+1FEE.
26175
26176 [BZ #13062]
26177 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26178 entry for U+00A5 U+0301.
26179
261802011-12-22 Ulrich Drepper <drepper@gmail.com>
26181
26182 [BZ #13166]
26183 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26184 buffer for the output is too small.
26185
26186 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26187 optimization.
26188
26189 [BZ #13185]
26190 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26191 SSE flags if possible.
26192
261932011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26194
26195 [BZ #13540]
26196 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26197 processing for last bytes.
26198
261992011-12-22 Joseph Myers <joseph@codesourcery.com>
26200
26201 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26202 (syscall-list-default-options, syscall-list-default-condition)
26203 (syscall-list-includes): Define.
26204 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26205 list of ABIs and options and #if conditions for each ABI. Do not
26206 handle common syscalls between ABIs specially.
26207 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26208 Remove.
26209 (syscall-list-variants, syscall-list-32bit-options)
26210 (syscall-list-32bit-condition, syscall-list-64bit-options)
26211 (syscall-list-64bit-condition): Define.
26212 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26213 (syscall-list-variants, syscall-list-32bit-options)
26214 (syscall-list-32bit-condition, syscall-list-64bit-options)
26215 (syscall-list-64bit-condition): Define.
26216 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26217 Remove.
26218 (syscall-list-variants, syscall-list-32bit-options)
26219 (syscall-list-32bit-condition, syscall-list-64bit-options)
26220 (syscall-list-64bit-condition): Define.
26221 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26222 Remove.
26223 (syscall-list-variants, syscall-list-32bit-options)
26224 (syscall-list-32bit-condition, syscall-list-64bit-options)
26225 (syscall-list-64bit-condition): Define.
26226
262272011-12-22 Ulrich Drepper <drepper@gmail.com>
26228
26229 * locale/iso-639.def: Add brx entry.
26230
26231 [BZ #13328]
26232 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26233 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26234
26235 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26236 __feraiseexcept_renamed.
26237
262382011-12-21 Ulrich Drepper <drepper@gmail.com>
26239
26240 [BZ #13538]
26241 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26242 EPOLLET with unsigned values.
26243 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26244 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26245
26246 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26247 to large cancellation.
26248 * math/s_cacoshf.c: Likewise.
26249 * math/s_cacoshl.c: Likewise.
26250
262512011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26252
26253 [BZ #13305]
26254 [BZ #12786]
26255 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26256 * math/s_cacoshf.c: Likewise.
26257 * math/s_cacoshl.c: Likewise.
26258
262592011-12-21 Ulrich Drepper <drepper@gmail.com>
26260
26261 [BZ #13439]
26262 * iconv/gconv.h: Define __GCONV_SWAP.
26263 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26264 * iconvdata/utf-16.c: Likewise.
26265 * iconvdata/utf-32.c: Likewise.
26266
262672011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26268
26269 [BZ #13524]
26270 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26271 numerator after shifting it by one limb.
26272
262732011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26274
26275 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26276 under [__USE_EXTERN_INLINES].
26277
262782011-12-17 Ulrich Drepper <drepper@gmail.com>
26279
26280 [BZ #13446]
26281 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26282
262832011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26284
26285 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26286 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26287 optimized code.
26288 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26289 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26290 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26291 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26292 for strncasecmp/strncasecmp_l compilation.
26293 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26294 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26295
262962011-12-08 Marek Polacek <mpolacek@redhat.com>
26297
26298 [BZ #13484]
26299 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26300 of __asm__.
26301
263022011-12-17 Ulrich Drepper <drepper@gmail.com>
26303
26304 [BZ #13506]
26305 * time/tzfile.c (__tzfile_read): Check values from file header.
26306
263072011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
26308
26309 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26310 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26311 * powerpc/powerpc32/dl-start.S: Likewise.
26312 * powerpc/powerpc32/elf/start.S: Likewise.
26313 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26314 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26315 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26316 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26317 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26318 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26319 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26320 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26321 * powerpc/powerpc32/fpu/s_round.S: Likewise.
26322 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26323 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26324 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26325 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26326 * powerpc/powerpc32/memset.S: Likewise.
26327 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26328 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26329 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26330 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26331 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26332 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26333 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26334 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26335 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
26336 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
26337 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
26338 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26339 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26340
263412011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26342
26343 * math/libm-test.inc: Added more nearbyint tests.
26344 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
26345 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
26346 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
26347 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
26348
263492011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
26350
26351 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
26352 FD_CLOEXEC.
26353
263542011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26355
26356 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
26357 Add wcscpy-ssse3 wcscpy-c.
26358 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
26359 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
26360 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
26361 * sysdeps/x86_64/wcschr.S: New file.
26362 * sysdeps/x86_64/wcsrchr.S: New file.
26363 * string/test-strcmp.c: Remove checking of wcscmp function for
26364 wrong alignments.
26365 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
26366 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
26367 wcsrchr-sse2 wcsrchr-c.
26368 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
26369 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
26370 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
26371 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
26372 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
26373 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
26374 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
26375 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
26376 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
26377 * wcsmbc/wcschr.c (WCSCHR): New macro.
26378
263792011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26380
26381 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
26382 * wcsmbs/test-wcsrchr.c: New file.
26383 * string/test-strrchr.c: Add wcsrchr support.
26384 (WIDE): New macro.
26385 * wcsmbs/test-wcscpy.c: New file.
26386 * string/test-strcpy.c: Add wcscpy support.
26387 (WIDE): New macro.
26388
263892011-12-10 Ulrich Drepper <drepper@gmail.com>
26390
26391 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
26392 the inner loop.
26393
263942011-12-06 Andreas Schwab <schwab@linux-m68k.org>
26395
26396 [BZ #13472]
26397 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
26398
263992011-12-04 Ulrich Drepper <drepper@gmail.com>
26400
26401 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
26402 Minor optimizations.
26403
26404 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
26405 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
26406 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26407
264082011-12-03 Ulrich Drepper <drepper@gmail.com>
26409
26410 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
26411 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
26412 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
26413 for gcc to avoid warnings.
26414 * inet/Makefile (tests): Add tst-checks.
26415 * inet/tst-checks.c: New file.
26416
26417 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
26418 warning.
26419
26420 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
26421 __wmemcmp_sse2.
26422
26423 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
26424 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
26425
26426 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
26427
264282011-12-02 Ulrich Drepper <drepper@gmail.com>
26429
26430 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
26431 problem.
26432
26433 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
26434
264352011-11-29 Joseph Myers <joseph@codesourcery.com>
26436
26437 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
26438 conditional on GCC version.
26439 (__arch_compare_and_exchange_val_8_acq)
26440 (__arch_compare_and_exchange_val_16_acq)
26441 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
26442 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
26443 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
26444
264452011-12-02 Joseph Myers <joseph@codesourcery.com>
26446
26447 * sysdeps/sh/backtrace.c: New file.
26448
264492011-12-02 Andreas Schwab <schwab@redhat.com>
26450
26451 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
26452 parenthesis.
26453
264542011-12-01 Andreas Schwab <schwab@redhat.com>
26455
26456 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
26457 falling back to utime.
26458
264592011-11-30 Andreas Schwab <schwab@redhat.com>
26460
26461 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
26462 expectations for float.
26463
264642011-11-29 Andreas Schwab <schwab@redhat.com>
26465
26466 * locale/weight.h (findidx): Add parameter len.
26467 * locale/weightwc.h (findidx): Likewise.
26468 * posix/fnmatch_loop.c (FCT): Adjust caller.
26469 * posix/regcomp.c (build_equiv_class): Likewise.
26470 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
26471 * posix/regexec.c (check_node_accept_bytes): Likewise.
26472 * string/strcoll_l.c (STRCOLL): Likewise.
26473 * string/strxfrm_l.c (STRXFRM): Likewise.
26474
264752011-11-17 Ulrich Drepper <drepper@gmail.com>
26476
26477 * Makefile.in: Remove CVSOPT handling.
26478 * configure.in: Remove use of AC_REVISION.
26479 * iconvdata/Makefile (distribute): No need to filter out CVS.
26480 * scripts/list-sources.sh: Remove CVS, subversion and monotone
26481 handling.
26482
264832011-11-16 Andreas Schwab <schwab@redhat.com>
26484
26485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
26486 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
26487 [USE_AS_STRNCASECMP_L]: Likewise.
26488 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
26489 NO_TLS_DIRECT_SEG_REFS.
26490 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
26491 Fix argument offsets for non-PIC.
26492 [USE_AS_STRNCASECMP_L]: Likewise.
26493 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
26494 NO_TLS_DIRECT_SEG_REFS.
26495
264962011-11-15 Ulrich Drepper <drepper@gmail.com>
26497
26498 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
26499 O_CLOEXEC.
26500 * locale/loadlocale.c (_nl_load_locale): Likewise.
26501
265022011-11-15 Andreas Schwab <schwab@redhat.com>
26503
26504 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
26505 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
26506 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
26507 (SYSCALL_GETTIME): Set errno on error.
26508
26509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
26510 count references to noai6ai_cached.
26511
265122011-11-15 Ulrich Drepper <drepper@gmail.com>
26513
26514 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
26515
26516 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
26517 FD_CLOEXEC for /proc/self/maps.
26518
26519 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
26520 FD_CLOEXEC for /proc/meminfo.
26521
26522 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
26523 gai.conf.
26524
26525 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
26526 FD_CLOEXEC for given file.
26527
26528 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
26529
26530 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
26531 FD_CLOEXEC for /etc/hosts.
26532 (_gethtent): Likewise.
26533
26534 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
26535
26536 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
26537 cancellation and set FD_CLOEXEC for /etc/netgroup.
26538
26539 * nss/nss_files/files-key.c (search): Don't allow cancellation when
26540 reading /etc/publickey.
26541
26542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
26543 allow cancellation when reading /etc/group.
26544
26545 * nss/nss_files/files-alias.c (internal_setent): Don't allow
26546 cancellation.
26547 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
26548
26549 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
26550 when using data file.
26551
26552 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
26553
26554 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
26555 (write_nis_obj): Use "c" and "e" in fopen.
26556
26557 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
26558
26559 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
26560
26561 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
26562
26563 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
26564
26565 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
26566 locale.alias.
26567
26568 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
26569
26570 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
26571
26572 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
26573
26574 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
26575 file parsing and set FD_CLOEXEC.
26576
265772011-11-14 Ulrich Drepper <drepper@gmail.com>
26578
26579 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
26580
265812011-11-14 Andreas Schwab <schwab@redhat.com>
26582
26583 * malloc/arena.c (arena_get2): Don't call reused_arena when
26584 _int_new_arena failed.
26585
265862011-11-14 Ulrich Drepper <drepper@gmail.com>
26587
26588 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
26589 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
26590 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
26591 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26592 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26593 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
26594 to compile strcasecmp and strncasecmp.
26595 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
26596 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
26597
26598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
26599
266002011-11-13 Ulrich Drepper <drepper@gmail.com>
26601
26602 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
26603 locale-defines.sym to gen-as-const-headers.
26604 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
26605 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
26606 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
26607 to compile strcasecmp and strncasecmp.
26608 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
26609 strcasecmp_l and strncasecmp_l.
26610 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
26611 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
26612 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
26613 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
26614 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
26615 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
26616 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
26617 * sysdeps/i386/i686/multiarch/strncase.S: New file.
26618 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
26619 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
26620 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
26621
266222011-11-12 Ulrich Drepper <drepper@gmail.com>
26623
26624 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
26625 result of SYSDEP_GETTIME_CPU to retval.
26626 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
26627 parameter list to macro. Remove trailing semicolon. Adjust users.
26628
26629 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
26630 variable.
26631
26632 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
26633 mantissa words.
26634 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26635
26636 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
26637 from unused variable.
26638
26639 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
26640 DWARF definitions.
26641 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
26642 for assembling.
26643
26644 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
26645 over namespaces.
26646
26647 * sunrpc/rpc_prot.c (rejected): Fix case value.
26648
26649 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
26650 unsigned long long int to avoid warnings in shift.
26651
26652 * posix/regex_internal.c (re_string_reconstruct): Actually use result
26653 of use of trans.
26654 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
26655 variable tmp.
26656
26657 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
26658 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26659 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26660
26661 * nis/nis_table.c (nis_list): Use variable of correct type for
26662 result of __follow_path call.
26663
266642011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26665
26666 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26667 of math functions ceil, trunc, floor, round, and sqrt, when
26668 avaliable on the platform.
26669 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26670 name clash.
26671 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26672 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26673 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26674
266752011-10-30 Marek Polacek <mpolacek@redhat.com>
26676
26677 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26678 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26679
266802011-11-11 Roland McGrath <roland@hack.frob.com>
26681
26682 * include/unistd.h: Fix __readlink return type.
26683 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26684
266852011-11-11 Ulrich Drepper <drepper@gmail.com>
26686
26687 * stdlib/ucontext.h: Undo last change for makecontext.
26688
266892011-11-11 Andreas Schwab <schwab@redhat.com>
26690
26691 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26692
26693 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26694 * setjmp/setjmp.h: Mark functions as non-leaf.
26695 * setjmp/bits/setjmp2.h: Likewise.
26696 * stdlib/ucontext.h: Likewise.
26697
266982011-11-10 Andreas Schwab <schwab@redhat.com>
26699
26700 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26701 (reused_arena): Don't check arena limit.
26702 (arena_get2): Atomically check arena limit.
26703
267042011-11-08 Ulrich Drepper <drepper@gmail.com>
26705
26706 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26707 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26708
26709 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26710 instructions.
26711
267122011-11-07 Andreas Schwab <schwab@redhat.com>
26713
26714 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26715 handler when locking.
26716
26717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26718 Fix size of allocated buffer.
26719
267202011-11-04 Andreas Schwab <schwab@redhat.com>
26721
26722 [BZ #10103]
26723 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26724 declarations for long double functions.
26725 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26726
26727 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26728
267292011-11-03 Andreas Schwab <schwab@redhat.com>
26730
26731 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26732 installed.
26733
26734 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26735 is disabled.
26736
267372011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26738
26739 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26740
267412011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26742
26743 * include/alloca.h (stackinfo_alloca_round): Define.
26744 (extend_alloca): Use it.
26745 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26746 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26747 here.
26748
26749 * scripts/check-local-headers.sh: Ignore libaudit.h.
26750
26751 * nscd/Makefile (extra-objs): Make recursively expanded.
26752
267532011-11-01 Ulrich Drepper <drepper@gmail.com>
26754
26755 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26757
26758 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26759 * posix/tst-rfc3484-2.c: Likewise.
26760 * posix/tst-rfc3484-3.c: Likewise.
26761
26762 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26763 process_vm_writev.
26764 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26765 process_vm_writev.
26766 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26767 process_vm_writev from libc using GLIBC_2.15 version.
26768
26769 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26770
267712011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26772
26773 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26774 stack usage.
26775
267762011-10-31 Ulrich Drepper <drepper@gmail.com>
26777
26778 [BZ #13367]
26779 * nss/getent.c (initgroups_keys): Show error message in case no group
26780 names are given.
26781
26782 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26783 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26784 __bump_nl_timestamp.
26785 * nscd/connections (nscd_init): When host database is served open
26786 netlink socket and request notification about configuration changes.
26787 (main_loop_poll): Track netlink file descriptor and bump timestamp
26788 in case data becomes available.
26789 (main_loop_epoll): Likewise.
26790 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26791 (database_pers_head): Add extra_data fileds.
26792 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26793 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26794 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26795 Adjust caller.
26796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26797 in6ai data, call __free_in6ai.
26798 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26799 Add -DHAVE_NETLINK.
26800 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26801 interface information. Reuse previous data if netlink timestamp
26802 is not changed.
26803 (__bump_nl_timestamp): New function.
26804 (__free_in6ai): New function.
26805
268062011-10-30 Ulrich Drepper <drepper@gmail.com>
26807
26808 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26809 close_not_cancel_no_status here.
26810 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26811
268122011-10-29 Ulrich Drepper <drepper@gmail.com>
26813
26814 [BZ #13276]
26815 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26816 return value.
26817
26818 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
26819 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26820 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26821
268222011-07-03 Andreas Jaeger <aj@suse.de>
26823
26824 [BZ #10709]
26825 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26826 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26827 * math/libm-test.inc (sin_test): Add test case.
26828
268292011-10-29 Ulrich Drepper <drepper@gmail.com>
26830
26831 [BZ #13337]
26832 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26833 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26834
26835 * elf/chroot_canon.c (chroot_canon): Cleanups.
26836
26837 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26838
26839 [BZ #13335]
26840 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26841 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26842
26843 * string/test-strchr.c: Make usable for strchrnul testing.
26844 * string/test-strchrnul.c: New file.
26845 * string/Makefile (strop-tests): Add strchrnul.
26846
26847 * po/it.po: Update from translation team.
26848 * po/es.po: Likewise.
26849
268502011-10-28 Ulrich Drepper <drepper@gmail.com>
26851
26852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26853 the three constants needed as parameters. Drop the others.
26854 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26855 __m128i_strloadu_tolower.
26856 Create and initialize variable zero and use it in all the places
26857 where _mm_setzero_si128 was used.
26858
26859 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26860 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26861 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26862 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26863 anymore.
26864 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26865 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26866 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26867 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26868 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26869 __mpranred, __mptan.
26870 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26871 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26872 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26873 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26874 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26875 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26877 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26878 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26879
268802011-10-28 Andreas Schwab <schwab@redhat.com>
26881
26882 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26883 redefine if SHARED.
26884 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26885
26886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26887 wide char related routines to wcsmbs subdir.
26888
268892011-10-27 Andreas Schwab <schwab@redhat.com>
26890
26891 [BZ #13344]
26892 * misc/sys/cdefs.h (__THROWNL): Define.
26893 * posix/unistd.h: Use __THREADNL instead of __THREAD
26894 for memory synchronization functions.
26895
268962011-10-26 Roland McGrath <roland@hack.frob.com>
26897
26898 [BZ #13349]
26899 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26900 doesn't exist.
26901 * manual/stdio.texi (Obstack Streams): Node removed.
26902
269032011-10-26 Andreas Schwab <schwab@redhat.com>
26904
26905 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26906 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26907 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26908
26909 * math/math_private.h (math_force_eval): Allow non-addressable
26910 arguments.
26911 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26912
269132011-10-25 Ulrich Drepper <drepper@gmail.com>
26914
26915 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26916 file is not needed.
26917
26918 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26921 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26922 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26924 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26925 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26926 Add AVX variants.
26927 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26928 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26929 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26930 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26931 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26932 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26933 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26934 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26935 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26936 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26937 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26938 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26939 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26940 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26941 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26942 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26943 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26944 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26945 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26946
26947 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26948 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26949
26950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26951 place. Use VEX encoding when compiling for AVX.
26952
269532011-10-25 Andreas Schwab <schwab@redhat.com>
26954
26955 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26956 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26957
26958 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26959
269602011-10-25 Ulrich Drepper <drepper@gmail.com>
26961
26962 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
26963 useless if() expression.
26964 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26965 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26966 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26967 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26968 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26969 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26970 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26971 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26972 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26973 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26975 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26976 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26977 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26978 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26979 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26980 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26982 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26983
26984 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26985
269862011-10-25 Andreas Schwab <schwab@redhat.com>
26987
26988 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26989 condition.
26990 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26991
269922011-10-25 Ulrich Drepper <drepper@gmail.com>
26993
26994 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26995 .text section. Avoid duplicate constants.
26996 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26997 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26998 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26999 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27004 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27005 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27006 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27007 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27008 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27009 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27010 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27012 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27013 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27014 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27016 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27017 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27018 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27019 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27020 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27021 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27022 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27023 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27024 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27025 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27026 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27027 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27028 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27029 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27030 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27031 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27032 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27033 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27034 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27035 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27036 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27037 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27038 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27039 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27040 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27041
270422011-10-24 Ulrich Drepper <drepper@gmail.com>
27043
27044 * sysdeps/x86_64/dla.h: Move to ...
27045 * sysdeps/x86_64/fpu/dla.h: ...here.
27046 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27047 situations. Use __builtin_fma only for gcc 4.6 and up.
27048
27049 * config.make.in: Add have-mfma4 entry.
27050 * configure.in: Substitute libc_cv_cc_fma4.
27051 * math/Makefile (dbl-only-routines): Add sincostab.
27052 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27053 Use __sincostab not sincos.
27054 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27055 name is a macro.
27056 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27060 using __copysign.
27061 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27062 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27063 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27064 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27065 and __inv.
27066 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27067 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27068 __copysign.
27069 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27070 define aliases when function name is a macro.
27071 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27072 sysdeps/ieee754/dbl-64/sincos.tbl.
27073 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27074 fma4-enabled routines.
27075 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27076 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27077 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27078 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27079 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27080 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27081 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27082 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27083 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27084 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27085 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27086 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27087 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27088 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27089 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27090 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27091 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27092 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27093 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27095 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27096 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27098 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27099 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27100 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27102 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27103 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27104 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27105
27106 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27107 rename.
27108 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27114 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27115 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27116
271172011-10-24 Andreas Schwab <schwab@redhat.com>
27118
27119 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27120
271212011-10-23 Ulrich Drepper <drepper@gmail.com>
27122
27123 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27124
27125 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27126 prediction.
27127 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27128
27129 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27130 Remove unused variable magic_bits.
27131 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27132
27133 * string/strnlen.c: Define and use STRNLEN macro.
27134 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27135 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27137 * wcsmbs/wcslen.c: Define and use WCSLEN.
27138 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27139 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27140 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27141 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27142 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27143 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27144 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27145
271462011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27147
27148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27149 strnlen-sse2-no-bsf.
27150 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27151 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27152 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27153 Add strnlen support.
27154 (USE_AS_STRNLEN): New macro.
27155 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27156 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27157 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27158 * sysdeps/x86_64/wcslen.S: New file.
27159
271602011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27161
27162 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27163 XMM-moves are used for copying on small sizes.
27164
271652011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27166
27167 * wcsmbs/Makefile (strop-tests): Add wcschr.
27168 * wcsmbs/test-wcschr.c: New file.
27169 * string/test-strchr.c: Update.
27170 Add wcschr support.
27171 (WIDE): New macro.
27172
271732011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27174
27175 * wcsmbs/Makefile (strop-tests): Add wcslen.
27176 * wcsmbs/test-wcslen.c: New file.
27177 * string/test-strlen.c: Update.
27178 Add wcslen support.
27179 (WIDE): New macro.
27180
271812011-10-23 Ulrich Drepper <drepper@gmail.com>
27182
27183 * po/it.po: Update from translation team.
27184
271852011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27186
27187 * sysdeps/x86_64/wcscmp.S: Update.
27188 Fix wrong comparison semantics.
27189 wcscmp shall use signed comparison not unsigned.
27190 Don't use substraction to avoid overflow bug.
27191 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27192 * wcsmbc/wcscmp.c: Likewise.
27193 * string/test-strcmp.c: Likewise.
27194 Add new tests to check cases with negative values.
27195
271962011-10-23 Ulrich Drepper <drepper@gmail.com>
27197
27198 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27199 * sysdeps/x86_64/dla.h: ...here. New file.
27200 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27203 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27204 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27207 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27208 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27209
272102011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27211
27212 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27213 __ynl_finite aliases.
27214
272152011-10-22 Ulrich Drepper <drepper@gmail.com>
27216
27217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27218
27219 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27220 define DLA_FMA.
27221 [DLA_FMA] (EMULV): Use DLA_FMA.
27222 [DLA_FMA] (MUL12): Use EMULV.
27223 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27224 that are not needed.
27225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27226 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27227 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27229 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27231 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27232
272332011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27234
27235 * math/s_nan.c: Undef __nan.
27236 * math/s_nanf.c: Undef __nanf.
27237 * math/s_nanl.c: Undef __nanl.
27238 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27239 "math_private.h".
27240
272412011-10-22 Ulrich Drepper <drepper@gmail.com>
27242
27243 * math/s_catan.c: Add branch predictions.
27244 * math/s_catanf.c: Likewise.
27245 * math/s_catanh.c: Likewise.
27246 * math/s_catanhf.c: Likewise.
27247 * math/s_catanhl.c: Likewise.
27248 * math/s_catanl.c: Likewise.
27249 * math/s_cexp.c: Likewise.
27250 * math/s_cexpf.c: Likewise.
27251 * math/s_cexpl.c: Likewise.
27252 * math/s_clog.c: Likewise.
27253 * math/s_clog10.c: Likewise.
27254 * math/s_clog10f.c: Likewise.
27255 * math/s_clog10l.c: Likewise.
27256 * math/s_clogf.c: Likewise.
27257 * math/s_clogl.c: Likewise.
27258 * math/s_csqrt.c: Likewise.
27259 * math/s_csqrtf.c: Likewise.
27260 * math/s_csqrtl.c: Likewise.
27261 * math/s_ctanf.c: Likewise.
27262 * math/s_ctanh.c: Likewise.
27263 * math/s_ctanhf.c: Likewise.
27264 * math/s_ctanhl.c: Likewise.
27265 * math/s_ctanl.c: Likewise.
27266
27267 * math/math_private.h: Define __nan, __nanf, __nanl.
27268 * math/s_cacosh.c: Include <math_private.h>.
27269 * math/s_cacoshl.c: Likewise.
27270 * math/s_casinh.c: Likewise.
27271 * math/s_casinhf.c: Likewise.
27272 * math/s_casinhl.c: Likewise.
27273 * math/s_ccos.c: Rely entire on ccosh.
27274 * math/s_ccosf.c: Rely entire on ccoshf.
27275 * math/s_ccosl.c: Rely entirely on ccoshl.
27276 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
27277 Remove tests for FE_INVALID.
27278 * math/s_ccoshf.c: Likewise.
27279 * math/s_ccoshl.c: Likewise.
27280 * math/s_csin.c: Likewise.
27281 * math/s_csinf.c: Likewise.
27282 * math/s_csinh.c Likewise.
27283 * math/s_csinhf.c: Likewise.
27284 * math/s_csinhl.c: Likewise.
27285 * math/s_csinl.c: Likewise.
27286 * math/s_ctan.c: Likewise.
27287 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27288 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27289 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27290
272912011-10-21 Ulrich Drepper <drepper@gmail.com>
27292
27293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27294 compilation problems.
27295
27296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27297 __builtin_expect.
27298
272992011-10-20 Ulrich Drepper <drepper@gmail.com>
27300
27301 * sysdeps/i386/configure.in: Test for -mfma4 option.
27302 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27303 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27304 COMMON_CPUID_INDEX_80000001.
27305 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27306 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27307 use it if FMA3 is not supported.
27308 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27309
27310 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27311 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27312
273132011-10-20 Andreas Schwab <schwab@redhat.com>
27314
27315 [BZ #12892]
27316 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27317 it would create a cycle with a link time dependency.
27318
273192011-10-19 Ulrich Drepper <drepper@gmail.com>
27320
27321 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27322 instruction.
27323 * string/Makefile (strop-tests): Add rawmemchr.
27324 * string/test-rawmemchr.c: New file.
27325
27326 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27327 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
27328 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
27329 when compiling str{,n}casecmp and when AVX is available. Hook up
27330 new optimized code in initializers.
27331
273322011-10-19 Andreas Schwab <schwab@redhat.com>
27333
27334 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
27335 __feraiseexcept instead of feraiseexcept.
27336
273372011-10-18 Ulrich Drepper <drepper@gmail.com>
27338
27339 * math/math_private.h: Define defaults for libc_fetestexcept and
27340 libc_feupdateenv.
27341 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
27342 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
27343 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27344 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27345 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27346 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27347 libc_fetestexcept and libc_feupdateenv.
27348
27349 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
27350 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
27351 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
27352 * sysdeps/x86_64/fpu/math_private.h: Define special version of
27353 libc_feholdexcept_setround.
27354
27355 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
27356 Add s_nearbyint-c and s_nearbyintf-c.
27357 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
27358 nearbyintf inlines.
27359 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
27360 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
27361 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
27362 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
27363
27364 * math/math_private.h: Define defaults for libc_fegetround,
27365 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
27366 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
27367 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
27368 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
27369 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
27370 standard functions.
27371 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27372 Remove comments and hacks for old compiler versions.
27373 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
27374 libc_fegetround, libc_fesetround, libc_feholdexcept, and
27375 libc_feholdexceptl.
27376
273772011-10-18 Andreas Schwab <schwab@redhat.com>
27378
27379 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
27380 (__feraiseexcept_renamed): Add __NTH.
27381 (feraiseexcept): Add __NTH. Rename local variables to fix
27382 namespace violations.
27383
273842011-10-17 Ulrich Drepper <drepper@gmail.com>
27385
27386 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
27387
27388 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
27389
27390 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
27391 recently added interfaces.
27392 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
27393
27394 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
27395 about macro parameter expansion.
27396
27397 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
27398 __NO_MATH_INLINES is defined. Cleanups.
27399
27400 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
27401 and __floorf is target has SSE4.1.
27402 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
27403 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
27404 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
27405 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
27406
27407 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
27408 name.
27409 (floorf): Likewise.
27410
27411 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
27412
274132011-10-17 Andreas Schwab <schwab@redhat.com>
27414
27415 * misc/sys/cdefs.h: Fix last change.
27416
27417 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
27418 database lookup.
27419
274202011-10-16 Ulrich Drepper <drepper@gmail.com>
27421
27422 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
27423
27424 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
27425 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27426 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27427 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27429 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27431 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27432 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27433 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
27434 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
27435 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
27436 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
27437 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
27438 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
27439 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
27440 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
27441 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
27442 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
27443 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
27444 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
27445 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
27446
27447 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
27448 ceil, ceilf, floor, floorf.
27449
27450 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
27451 Perform IRELATIVE relocations last.
27452
27453 * elf/do-rel.h: Add another parameter nrelative, replacing the
27454 local variable with the same name. Change name of the function
27455 to end in Rel or Rela (uppercase).
27456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
27457 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
27458 elf_dynamic_do_##reloc function.
27459
274602011-10-15 Ulrich Drepper <drepper@gmail.com>
27461
27462 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
27463 is sufficient, at least on modern CPUs.
27464
27465 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
27466
27467 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
27468 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
27469
27470 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
27471 __expl_finite.
27472 * math/bits/math-finite.h: Add entries for exp.
27473 * math/e_expl.c: Add __*_finite alias.
27474 * sysdeps/i386/fpu/e_exp.S: Likewise.
27475 * sysdeps/i386/fpu/e_expf.S: Likewise.
27476 * sysdeps/i386/fpu/e_expl.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27478 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
27479 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27480 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
27482 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27483 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27484
27485 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
27486 is sufficient, at least on modern CPUs.
27487
27488 * ctype/ctype-info.c (__ctype_init): Define.
27489 * include/ctype.h (__ctype_init): Declare.
27490 (__ctype_b_loc): The variable is always initialized.
27491 (__ctype_toupper_loc): Likewise.
27492 (__ctype_tolower_loc): Likewise.
27493 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
27494 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
27495
274962011-10-15 Andreas Schwab <schwab@linux-m68k.org>
27497
27498 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
27499
27500 * configure.in: Also look in $cxxmachine/include for C++ system
27501 headers.
27502
275032011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27504
27505 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
27506 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
27507 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
27508 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
27509 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
27510 (USE_AS_WMEMCMP): New macro.
27511 Fixing indents.
27512 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
27513 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
27514 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
27515 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
27516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27517 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
27518 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
27519 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
27520 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
27521 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
27522 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
27523 (USE_AS_WMEMCMP): New macro.
27524 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
27525 * sysdeps/string/test-memcmp.c: Update.
27526 Fix simple_wmemcmp.
27527 Add new tests.
27528 * wcsmbs/wmemcmp.c: Update.
27529 (WMEMCMP): New macro.
27530 Fix overflow bug.
27531
275322011-10-12 Andreas Jaeger <aj@suse.de>
27533
27534 [BZ #13268]
27535 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
27536
275372011-10-15 Ulrich Drepper <drepper@gmail.com>
27538
27539 * libio/iofwide.c (do_length): Avoid warning.
27540
27541 * ctype/ctype.h (__isctype_f): Add missing __THROW.
27542
275432011-10-14 Ulrich Drepper <drepper@gmail.com>
27544
27545 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
27546
27547 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
27548 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
27549 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
27550 * sysdeps/i386/i686/fpu/e_log.S: New file.
27551 * sysdeps/i386/i686/fpu/e_logf.S: New file.
27552 * sysdeps/i386/i686/fpu/e_logl.S: New file.
27553
27554 * ctype/ctype.h: Add support for inlined isXXX functions when
27555 compiling C++ code.
27556
275572011-10-14 Andreas Schwab <schwab@redhat.com>
27558
27559 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27560
27561 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
27562
275632011-10-13 Roland McGrath <roland@hack.frob.com>
27564
27565 [BZ #13291]
27566 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
27567
275682011-10-13 Andreas Schwab <schwab@redhat.com>
27569
27570 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
27571 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
27572 feraiseexcept.
27573
27574 * sysdeps/x86_64/memrchr.S: Check for zero size.
27575
27576 * string/stratcliff.c: Add memrchr tests.
27577
275782011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27579
27580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27581 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
27582 rawmemchr-sse2 rawmemchr-sse2-bsf.
27583 * sysdeps/i386/i686/multiarch/memchr.S: New file.
27584 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
27585 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
27586 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
27587 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
27588 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
27589 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
27590 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
27591 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
27592 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
27593 * string/memrchr.c (MEMRCHR): New macro.
27594
275952011-10-12 Ulrich Drepper <drepper@gmail.com>
27596
27597 Add integration with gcc's -ffinite-math-only and optimize wrapper
27598 functions in libm.
27599 * Versions.def: Define GLIBC_2.15 version for libm.
27600 * math/Makefile (headers): Add bits/math-finite.h.
27601 * math/bits/math-finite.h: New file.
27602 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
27603 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
27604 * math/e_acoshl.c: Add __*_finite alias.
27605 * math/e_acosl.c: Likewise.
27606 * math/e_asinl.c: Likewise.
27607 * math/e_atan2l.c: Likewise.
27608 * math/e_atanhl.c: Likewise.
27609 * math/e_coshl.c: Likewise.
27610 * math/e_exp10.c: Likewise.
27611 * math/e_exp10f.c: Likewise.
27612 * math/e_exp10l.c: Likewise.
27613 * math/e_exp2l.c: Likewise.
27614 * math/e_fmodl.c: Likewise.
27615 * math/e_gammal_r.c: Likewise.
27616 * math/e_hypotl.c: Likewise.
27617 * math/e_j0l.c: Likewise.
27618 * math/e_j1l.c: Likewise.
27619 * math/e_jnl.c: Likewise.
27620 * math/e_lgammal_r.c: Likewise.
27621 * math/e_log10l.c: Likewise.
27622 * math/e_log2l.c: Likewise.
27623 * math/e_logl.c: Likewise.
27624 * math/e_powl.c: Likewise.
27625 * math/e_sinhl.c: Likewise.
27626 * math/e_sqrtl.c: Likewise.
27627 * math/e_scalb.c: Completely rewritten and optimized.
27628 * math/e_scalbf.c: Likewise.
27629 * math/e_scalbl.c: Likewise.
27630 * math/w_acos.c: Likewise.
27631 * math/w_acosf.c: Likewise.
27632 * math/w_acosl.c: Likewise.
27633 * math/w_acosh.c: Likewise.
27634 * math/w_acoshf.c: Likewise.
27635 * math/w_acoshl.c: Likewise.
27636 * math/w_asin.c: Likewise.
27637 * math/w_asinf.c: Likewise.
27638 * math/w_asinl.c: Likewise.
27639 * math/w_atan2.c: Likewise.
27640 * math/w_atan2f.c: Likewise.
27641 * math/w_atan2l.c: Likewise.
27642 * math/w_atanh.c: Likewise.
27643 * math/w_atanhf.c: Likewise.
27644 * math/w_atanhl.c: Likewise.
27645 * math/w_exp10.c: Likewise.
27646 * math/w_exp10f.c: Likewise.
27647 * math/w_exp10l.c: Likewise.
27648 * math/w_fmod.c: Likewise.
27649 * math/w_fmodf.c: Likewise.
27650 * math/w_fmodl.c: Likewise.
27651 * math/w_j0.c: Likewise.
27652 * math/w_j0f.c: Likewise.
27653 * math/w_j0l.c: Likewise.
27654 * math/w_j1.c: Likewise.
27655 * math/w_j1f.c: Likewise.
27656 * math/w_j1l.c: Likewise.
27657 * math/w_jn.c: Likewise.
27658 * math/w_jnf.c: Likewise.
27659 * math/w_log.c: Likewise.
27660 * math/w_logf.c: Likewise.
27661 * math/w_logl.c: Likewise.
27662 * math/w_log10.c: Likewise.
27663 * math/w_log10f.c: Likewise.
27664 * math/w_log10l.c: Likewise.
27665 * math/w_log2.c: Likewise.
27666 * math/w_log2f.c: Likewise.
27667 * math/w_log2l.c: Likewise.
27668 * math/w_pow.c: Likewise.
27669 * math/w_powf.c: Likewise.
27670 * math/w_powl.c: Likewise.
27671 * math/w_remainder.c: Likewise.
27672 * math/w_remainderf.c: Likewise.
27673 * math/w_remainderl.c: Likewise.
27674 * math/w_scalb.c: Likewise.
27675 * math/w_scalbf.c: Likewise.
27676 * math/w_scalbl.c: Likewise.
27677 * math/w_sqrt.c: Likewise.
27678 * math/w_sqrtf.c: Likewise.
27679 * math/w_sqrtl.c: Likewise.
27680 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27681 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27682 used.
27683 * math/math_private.h: Declare __kernel_standard_f.
27684 * math/w_cosh.c: Remove cruft and optimize a bit.
27685 * math/w_coshf.c: Likewise.
27686 * math/w_coshl.c: Likewise.
27687 * math/w_exp2.c: Likewise.
27688 * math/w_exp2f.c: Likewise.
27689 * math/w_exp2l.c: Likewise.
27690 * math/w_hypot.c: Likewise.
27691 * math/w_hypotf.c: Likewise.
27692 * math/w_hypotl.c: Likewise.
27693 * math/w_lgamma.c: Likewise.
27694 * math/w_lgamma_r.c: Likewise.
27695 * math/w_lgammaf.c: Likewise.
27696 * math/w_lgammaf_r.c: Likewise.
27697 * math/w_lgammal.c: Likewise.
27698 * math/w_lgammal_r.c: Likewise.
27699 * math/w_sinh.c: Likewise.
27700 * math/w_sinhf.c: Likewise.
27701 * math/w_sinhl.c: Likewise.
27702 * math/w_tgamma.c: Likewise.
27703 * math/w_tgammaf.c: Likewise.
27704 * math/w_tgammal.c: Likewise.
27705 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27706 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27707 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27708 Minor optimizations. Pretty printing. Remove cruft.
27709 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27710 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27711 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27712 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27713 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27714 * sysdeps/i386/fpu/e_asin.S: Likewise.
27715 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27716 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27717 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27718 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27719 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27720 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27721 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27722 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27723 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27724 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27725 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27726 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27727 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27728 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27729 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27730 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27731 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27732 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27733 * sysdeps/i386/fpu/e_log.S: Likewise.
27734 * sysdeps/i386/fpu/e_log10.S: Likewise.
27735 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27736 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27737 * sysdeps/i386/fpu/e_log2.S: Likewise.
27738 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27739 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27740 * sysdeps/i386/fpu/e_logf.S: Likewise.
27741 * sysdeps/i386/fpu/e_logl.S: Likewise.
27742 * sysdeps/i386/fpu/e_pow.S: Likewise.
27743 * sysdeps/i386/fpu/e_powf.S: Likewise.
27744 * sysdeps/i386/fpu/e_powl.S: Likewise.
27745 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27746 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27747 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27748 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27749 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27750 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27751 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27752 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27753 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27754 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27755 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27756 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27757 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27758 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27759 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27760 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27761 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27762 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27763 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27764 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27765 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27766 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27767 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27768 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27774 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27775 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27776 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27777 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27778 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27779 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27780 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27781 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27782 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27783 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27784 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27785 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27786 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27787 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27788 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27789 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27790 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27791 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27792 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27793 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27794 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27795 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27796 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27797 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27798 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27799 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27800 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27801 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27802 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27803 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27804 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27805 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27806 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27807 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27808 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27809 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27810 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27811 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27815 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27816 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27817 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27818 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27819 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27821 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27824 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27825 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27826 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27834 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27837 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27839 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27840 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27842 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27844 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27847 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27848 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27849 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27850 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27851 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27852 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27853 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27854 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27855 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27856 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27857 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27858 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27859 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27860 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27861 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27862 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27863 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27864 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27865 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27866 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27867 (__isnanf): Likewise.
27868 (__isinf_ns): Likewise.
27869 (__isinf_nsf): Likewise.
27870 (__finite): Likewise.
27871 (__finitef): Likewise.
27872 (__ieee754_sqrt): Define as macro.
27873 (__ieee754_sqrtf): Define as macro.
27874 (__ieee754_sqrtl): Define as macro.
27875 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27876 inlined copy.
27877 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27878 __FINITE_MATH_ONLY__ consistent.
27879 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27880
278812011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27882
27883 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27884 of rawmemchr.
27885
27886 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27887
278882011-10-09 Ulrich Drepper <drepper@gmail.com>
27889
27890 * po/ja.po: Update from translation team.
27891
278922011-10-08 Roland McGrath <roland@hack.frob.com>
27893
27894 * locale/programs/locarchive.c (prepare_address_space): New function.
27895 (create_archive, enlarge_archive, open_archive): Use it.
27896
27897 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27898 inside [SHARED], where it is used.
27899
27900 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27901
27902 * nss/getent.c (netgroup_keys): Remove unused variable.
27903 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27904
279052011-10-08 Ulrich Drepper <drepper@gmail.com>
27906
27907 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27908 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27910 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27911 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27912 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27913 * math/Makefile (libm-calls): Add s_isinf_ns.
27914 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27915 * math/multc3.c: Likewise.
27916 * math/s_casin.c: Likewise.
27917 * math/s_casinf.c: Likewise.
27918 * math/s_casinl.c: Likewise.
27919 * math/s_ccos.c: Likewise.
27920 * math/s_ccosf.c: Likewise.
27921 * math/s_ccosl.c: Likewise.
27922 * math/s_ctan.c: Likewise.
27923 * math/s_ctanf.c: Likewise.
27924 * math/s_ctanh.c: Likewise.
27925 * math/s_ctanhf.c: Likewise.
27926 * math/s_ctanhl.c: Likewise.
27927 * math/s_ctanl.c: Likewise.
27928 * math/w_fmod.c: Likewise.
27929 * math/w_fmodf.c: Likewise.
27930 * math/w_fmodl.c: Likewise.
27931 * math/w_remainder.c: Likewise.
27932 * math/w_remainderf.c: Likewise.
27933 * math/w_remainderl.c: Likewise.
27934 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27935 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27936 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27937 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27938 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27939 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27940 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27941 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27942
27943 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27944 of the number.
27945 * stdio-common/printf_fphex.c: Likewise.
27946 * stdio-common/printf_size.c: Likewise.
27947
27948 * math/e_exp10.c: Include math_private.h using <...> not "...".
27949 * math/e_exp10f.c: Likewise.
27950 * math/e_exp10l.c: Likewise.
27951 * math/e_exp2l.c: Likewise.
27952 * math/e_j0l.c: Likewise.
27953 * math/e_j1l.c: Likewise.
27954 * math/e_jnl.c: Likewise.
27955 * math/e_lgammal_r.c: Likewise.
27956 * math/e_rem_pio2l.c: Likewise.
27957 * math/e_scalb.c: Likewise.
27958 * math/e_scalbf.c: Likewise.
27959 * math/e_scalbl.c: Likewise.
27960 * math/k_cosl.c: Likewise.
27961 * math/k_sinl.c: Likewise.
27962 * math/k_tanl.c: Likewise.
27963 * math/s_cacoshf.c: Likewise.
27964 * math/s_catan.c: Likewise.
27965 * math/s_catanf.c: Likewise.
27966 * math/s_catanh.c: Likewise.
27967 * math/s_catanhf.c: Likewise.
27968 * math/s_catanhl.c: Likewise.
27969 * math/s_catanl.c: Likewise.
27970 * math/s_ccosh.c: Likewise.
27971 * math/s_ccoshf.c: Likewise.
27972 * math/s_ccoshl.c: Likewise.
27973 * math/s_cexp.c: Likewise.
27974 * math/s_cexpf.c: Likewise.
27975 * math/s_cexpl.c: Likewise.
27976 * math/s_clog.c: Likewise.
27977 * math/s_clog10.c: Likewise.
27978 * math/s_clog10f.c: Likewise.
27979 * math/s_clog10l.c: Likewise.
27980 * math/s_clogf.c: Likewise.
27981 * math/s_clogl.c: Likewise.
27982 * math/s_csin.c: Likewise.
27983 * math/s_csinf.c: Likewise.
27984 * math/s_csinh.c: Likewise.
27985 * math/s_csinhf.c: Likewise.
27986 * math/s_csinhl.c: Likewise.
27987 * math/s_csinl.c: Likewise.
27988 * math/s_csqrt.c: Likewise.
27989 * math/s_csqrtf.c: Likewise.
27990 * math/s_csqrtl.c: Likewise.
27991 * math/s_ctan.c: Likewise.
27992 * math/s_ctanf.c: Likewise.
27993 * math/s_ctanh.c: Likewise.
27994 * math/s_ctanhf.c: Likewise.
27995 * math/s_ctanhl.c: Likewise.
27996 * math/s_ctanl.c: Likewise.
27997 * math/s_ldexp.c: Likewise.
27998 * math/s_ldexpf.c: Likewise.
27999 * math/s_ldexpl.c: Likewise.
28000 * math/s_significand.c: Likewise.
28001 * math/s_significandf.c: Likewise.
28002 * math/s_significandl.c: Likewise.
28003 * math/w_acos.c: Likewise.
28004 * math/w_acosf.c: Likewise.
28005 * math/w_acosh.c: Likewise.
28006 * math/w_acoshf.c: Likewise.
28007 * math/w_acoshl.c: Likewise.
28008 * math/w_acosl.c: Likewise.
28009 * math/w_asin.c: Likewise.
28010 * math/w_asinf.c: Likewise.
28011 * math/w_asinl.c: Likewise.
28012 * math/w_atan2.c: Likewise.
28013 * math/w_atan2f.c: Likewise.
28014 * math/w_atan2l.c: Likewise.
28015 * math/w_atanh.c: Likewise.
28016 * math/w_atanhf.c: Likewise.
28017 * math/w_atanhl.c: Likewise.
28018 * math/w_cosh.c: Likewise.
28019 * math/w_coshf.c: Likewise.
28020 * math/w_coshl.c: Likewise.
28021 * math/w_dremf.c: Likewise.
28022 * math/w_exp10.c: Likewise.
28023 * math/w_exp10f.c: Likewise.
28024 * math/w_exp10l.c: Likewise.
28025 * math/w_exp2.c: Likewise.
28026 * math/w_exp2f.c: Likewise.
28027 * math/w_fmod.c: Likewise.
28028 * math/w_fmodf.c: Likewise.
28029 * math/w_fmodl.c: Likewise.
28030 * math/w_hypot.c: Likewise.
28031 * math/w_hypotf.c: Likewise.
28032 * math/w_hypotl.c: Likewise.
28033 * math/w_j0.c: Likewise.
28034 * math/w_j0f.c: Likewise.
28035 * math/w_j0l.c: Likewise.
28036 * math/w_j1.c: Likewise.
28037 * math/w_j1f.c: Likewise.
28038 * math/w_j1l.c: Likewise.
28039 * math/w_jn.c: Likewise.
28040 * math/w_jnf.c: Likewise.
28041 * math/w_jnl.c: Likewise.
28042 * math/w_lgamma.c: Likewise.
28043 * math/w_lgamma_r.c: Likewise.
28044 * math/w_lgammaf.c: Likewise.
28045 * math/w_lgammaf_r.c: Likewise.
28046 * math/w_lgammal.c: Likewise.
28047 * math/w_lgammal_r.c: Likewise.
28048 * math/w_log.c: Likewise.
28049 * math/w_log10.c: Likewise.
28050 * math/w_log10f.c: Likewise.
28051 * math/w_log10l.c: Likewise.
28052 * math/w_log2.c: Likewise.
28053 * math/w_log2f.c: Likewise.
28054 * math/w_log2l.c: Likewise.
28055 * math/w_logf.c: Likewise.
28056 * math/w_logl.c: Likewise.
28057 * math/w_pow.c: Likewise.
28058 * math/w_powf.c: Likewise.
28059 * math/w_powl.c: Likewise.
28060 * math/w_remainder.c: Likewise.
28061 * math/w_remainderf.c: Likewise.
28062 * math/w_remainderl.c: Likewise.
28063 * math/w_scalb.c: Likewise.
28064 * math/w_scalbf.c: Likewise.
28065 * math/w_scalbl.c: Likewise.
28066 * math/w_sinh.c: Likewise.
28067 * math/w_sinhf.c: Likewise.
28068 * math/w_sinhl.c: Likewise.
28069 * math/w_sqrt.c: Likewise.
28070 * math/w_sqrtf.c: Likewise.
28071 * math/w_sqrtl.c: Likewise.
28072 * math/w_tgamma.c: Likewise.
28073 * math/w_tgammaf.c: Likewise.
28074 * math/w_tgammal.c: Likewise.
28075
28076 * po/ja.po: Update from translation team.
28077
280782011-09-29 Andreas Jaeger <aj@suse.de>
28079
28080 [BZ #13179]
28081 * sunrpc/netname.c (netname2host): Fix logic.
28082
28083 [BZ #6779]
28084 [BZ #6783]
28085 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28086 correctly.
28087 * math/w_remainder.c (__remainder): Likewise.
28088 * math/w_remainderf.c (__remainderf): Likewise.
28089 * math/libm-test.inc (remainder_test): Add test cases.
28090
280912011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28092
28093 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28094 sdiv_qrnnd.
28095
280962011-10-07 Ulrich Drepper <drepper@gmail.com>
28097
28098 * string/test-memcmp.c: Avoid unncessary #defines.
28099 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28100
281012011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28102
28103 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28104 Use new sse2 version for core i3 - i7 as it's faster
28105 than sse42 version.
28106 (bit_Prefer_PMINUB_for_stringop): New.
28107 * sysdeps/x86_64/rawmemchr.S: Update.
28108 Replace with faster SSE2 version.
28109 * sysdeps/x86_64/memrchr.S: New file.
28110 * sysdeps/x86_64/memchr.S: Update.
28111 Replace with faster SSE2 version.
28112
281132011-09-12 Marek Polacek <mpolacek@redhat.com>
28114
28115 * elf/dl-load.c (lose): Add cast to avoid warning.
28116
281172011-10-07 Ulrich Drepper <drepper@gmail.com>
28118
28119 * po/ca.po: Update from translation team.
28120
28121 * inet/getnetgrent_r.c: Hook up nscd.
28122 * nscd/Makefile (routines): Add nscd_netgroup.
28123 (nscd-modules): Add netgroupcache.
28124 (CFLAGS-netgroupcache.c): Define.
28125 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28126 (cache_search): Add const to second parameter.
28127 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28128 INNETGR.
28129 (dbs): Add netgrdb entry.
28130 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28131 (verify_persistent_db): Handle netgrdb.
28132 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28133 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28134 GETFDNETGR.
28135 (netgroup_response_header): Define.
28136 (innetgroup_response_header): Define.
28137 (datahead): Add netgroup_response_header and innetgroup_response_header
28138 elements.
28139 * nscd/nscd.conf: Add entries for netgroup cache.
28140 * nscd/nscd.h (dbtype): Add netgrdb.
28141 (_PATH_NSCD_NETGROUP_DB): Define.
28142 (netgroup_iov_disabled): Declare.
28143 (xmalloc, xcalloc, xrealloc): Move declarations here.
28144 (cache_search): Adjust prototype.
28145 Add netgroup-related prototypes.
28146 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28147 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28148 (__nscd_innetgr): Declare.
28149 * nscd/selinux.c (perms): Use access_vector_t as element type and
28150 add netgroup-related initializers.
28151 * nscd/netgroupcache.c: New file.
28152 * nscd/nscd_netgroup.c: New file.
28153 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28154 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28155 For four parameters use innetgr.
28156 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28157 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28158 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28159 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28160
28161 * nscd/connections.c (register_traced_file): Don't register file
28162 for disabled databases.
28163
281642011-10-06 Ulrich Drepper <drepper@gmail.com>
28165
28166 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28167
28168 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28169 from tree and freeing node.
28170
281712011-09-25 Jiri Olsa <jolsa@redhat.com>
28172
28173 * nss/nsswitch.c (__nss_database_lookup): Handle
28174 nss_parse_service_list out of memory case.
28175
281762011-09-15 Jiri Olsa <jolsa@redhat.com>
28177
28178 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28179 out of memory case.
28180
281812011-10-04 Andreas Schwab <schwab@redhat.com>
28182
28183 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28184 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28185 pass it down.
28186 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28187 elf_machine_rela, elf_machine_lazy_rel.
28188 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28189 (ELF_DYNAMIC_DO_REL): Likewise.
28190 (ELF_DYNAMIC_DO_RELA): Likewise.
28191 (ELF_DYNAMIC_RELOCATE): Likewise.
28192 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28193 to ELF_DYNAMIC_DO_REL.
28194 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28195 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28196 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28197 elf_machine_rela.
28198 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28199 skip_ifunc, don't call ifunc function if non-zero.
28200 (elf_machine_rela): Likewise.
28201 (elf_machine_lazy_rel): Likewise.
28202 (elf_machine_lazy_rela): Likewise.
28203 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28204 (elf_machine_lazy_rel): Likewise.
28205 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28206 Likewise.
28207 (elf_machine_lazy_rel): Likewise.
28208 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28209 Likewise.
28210 (elf_machine_lazy_rel): Likewise.
28211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28212 (elf_machine_lazy_rel): Likewise.
28213 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28214 (elf_machine_lazy_rel): Likewise.
28215 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28216 (elf_machine_lazy_rel): Likewise.
28217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28218 (elf_machine_lazy_rel): Likewise.
28219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28220 (elf_machine_lazy_rel): Likewise.
28221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28222 (elf_machine_lazy_rel): Likewise.
28223
282242011-09-28 Ulrich Drepper <drepper@gmail.com>
28225
28226 * nss/nss_files/files-init.c (_nss_files_init): Use static
28227 initialization for all the *_traced_file variables.
28228
282292011-09-28 Andreas Schwab <schwab@redhat.com>
28230
28231 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28232
282332011-09-27 Roland McGrath <roland@hack.frob.com>
28234
28235 [BZ #13226]
28236 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28237
282382011-09-27 Andreas Schwab <schwab@redhat.com>
28239
28240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28241 Reread the line before reparsing it.
28242
282432011-09-26 Andreas Schwab <schwab@redhat.com>
28244
28245 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28246
282472011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28248 Maxim Kuvyrkov <maxim@codesourcery.com>
28249 Joseph Myers <joseph@codesourcery.com>
28250
28251 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28252 if needed for __stack_chk_guard.
28253
282542011-09-19 Roland McGrath <roland@hack.frob.com>
28255
28256 * sysdeps/posix/spawni.c (script_execute): Always define it.
28257 It will be optimized away if unused.
28258 (maybe_script_execute): New function.
28259 (__spawni): Call it.
28260
28261 * Makerules: Don't include tls.make.
28262 (config-tls): Always set to thread.
28263 * tls.make.c: File removed.
28264
282652011-09-19 Mike Frysinger <vapier@gentoo.org>
28266
28267 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28268 * config.make.in (CPPFLAGS-config): New substituted variable.
28269
282702011-09-15 Ulrich Drepper <drepper@gmail.com>
28271
28272 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28273
28274 [BZ #13192]
28275 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28276 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28277
282782011-09-15 Roland McGrath <roland@hack.frob.com>
28279
28280 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28281 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28283 (CALL_FAIL): Likewise.
28284 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28285 (CALL_FAIL): Macro removed.
28286 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28287
282882011-09-15 Ulrich Drepper <drepper@gmail.com>
28289
28290 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28291 for __FINITE_MATH_ONLY__ == 1.
28292
282932011-09-15 Andreas Schwab <schwab@redhat.com>
28294
28295 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28296 __ieee754_sqrt instead of sqrt.
28297 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28298 __ieee754_sqrtf instead of sqrtf.
28299 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28300 __floorf instead of floorf.
28301 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28302 __floorf, __truncf instead of floorf, truncf.
28303
283042011-09-14 Ulrich Drepper <drepper@gmail.com>
28305
28306 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28307
28308 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28309 __extern_always_inline.
28310 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28311 32-bit.
28312
283132011-09-14 Andreas Schwab <schwab@redhat.com>
28314
28315 * elf/rtld.c (dl_main): Also relocate in dependency order when
28316 doing symbol dependency testing.
28317
283182011-09-13 Andreas Schwab <schwab@linux-m68k.org>
28319
28320 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28321 Always define `refsym'.
28322
283232011-09-13 Andreas Schwab <schwab@redhat.com>
28324
28325 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28326 (__FD_ELT): Renamed from __FDELT.
28327 * misc/bits/select2.h (__FD_ELT): Likewise.
28328 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
28329 __FD_MASK instead of __FDELT, __FDMASK.
28330 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28331 Likewise.
28332 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
28333 Likewise.
28334
28335 * elf/Makefile (gen-ldd): Fix pattern.
28336
28337 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
28338 (init_tls): Likewise.
28339
283402011-09-12 Ulrich Drepper <drepper@gmail.com>
28341
28342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
28343
283442011-09-12 Andreas Schwab <schwab@redhat.com>
28345
28346 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
28347 `struct cmsghdr *' instead of `void *'.
28348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
28349 Likewise.
28350
283512011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28352
28353 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
28354 if non-absolute.
28355 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
28356 ldd_rewrite_script.
28357
283582011-09-11 Ulrich Drepper <drepper@gmail.com>
28359
28360 * configure.in: Remove --with-tls option.
28361 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
28362 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
28363 out in case it is missing.
28364 * sysdeps/ia64/elf/configure.in: Likewise.
28365 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
28366 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
28367 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
28368 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
28369 * sysdeps/sh/elf/configure.in: Likewise.
28370 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
28371 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28372 * sysdeps/x86_64/elf/configure.in: Likewise.
28373 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
28374 * sysdeps/mach/hurd/tls.h: Likewise.
28375
28376 [BZ #13067]
28377 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
28378
28379 [BZ #13090]
28380 * configure.in: Fix use of AC_INIT.
28381
28382 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
28383
283842011-09-10 Ulrich Drepper <drepper@gmail.com>
28385
28386 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
28387 __set_errno.
28388 * malloc/hooks.c: Likewise.
28389
28390 [BZ #11929]
28391 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
28392 variables statically.
28393 (narenas): Initialize.
28394 (list_lock): Initialize.
28395 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
28396 initializtion of main_arena and list_lock. Small cleanups.
28397 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
28398 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
28399 Add initializers to main_arena and mp_.
28400 (malloc_state): Remove pagesize member. Change all users to use
28401 GLRO(dl_pagesize).
28402
28403 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
28404 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
28405 is always initialized.
28406
28407 * malloc/malloc.c: Removed unused configurations and dead code.
28408 * malloc/arena.c: Likewise.
28409 * malloc/hooks.c: Likewise.
28410 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
28411
28412 * include/tls.h: Removed. USE___THREAD must always be defined.
28413 * bits/libc-tsd.h: Don't handle !USE___THREAD.
28414 * elf/dl-libc.c: Likewise.
28415 * elf/dl-tsd.c: Likewise.
28416 * include/errno.h: Likewise.
28417 * include/netdb.h: Likewise.
28418 * include/resolv.h: Likewise.
28419 * inet/herrno-loc.c: Likewise.
28420 * inet/herrno.c: Likewise.
28421 * malloc/arena.c: Likewise.
28422 * malloc/hooks.c: Likewise.
28423 * malloc/malloc.c: Likewise.
28424 * resolv/res-state.c: Likewise.
28425 * resolv/res_libc.c: Likewise.
28426 * sysdeps/i386/dl-machine.h: Likewise.
28427 * sysdeps/ia64/dl-machine.h: Likewise.
28428 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
28429 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28430 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
28431 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
28432 * sysdeps/sh/dl-machine.h: Likewise.
28433 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28434 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28435 * sysdeps/unix/i386/sysdep.S: Likewise.
28436 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28437 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28438 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28439 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28440 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28441 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28442 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28443 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28444 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28446 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28447 * sysdeps/x86_64/dl-machine.h: Likewise.
28448 * tls.make.c: Likewise.
28449
28450 * configure.in: Remove --with-__thread option. Make tests for
28451 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
28452 tls_model attribute fail if no support is available. Remove
28453 USE_IN_LIBIO.
28454 * Makeconfig: Adjust for dropped configure option. All features are
28455 now mandatory.
28456 * Makerules: Likewise.
28457 * Versions.def: Likewise.
28458 * argp/argp-fmtstream.c: Likewise.
28459 * argp/argp-fmtstream.h: Likewise.
28460 * argp/argp-help.c: Likewise.
28461 * assert/assert.c: Likewise.
28462 * config.h.in: Likewise.
28463 * config.make.in: Likewise.
28464 * configure: Likewise.
28465 * configure.in: Likewise.
28466 * csu/Versions: Likewise.
28467 * csu/init.c: Likewise.
28468 * elf/tst-audit2.c: Likewise.
28469 * elf/tst-tls10.c: Likewise.
28470 * elf/tst-tls10.h: Likewise.
28471 * elf/tst-tls11.c: Likewise.
28472 * elf/tst-tls12.c: Likewise.
28473 * elf/tst-tls14.c: Likewise.
28474 * elf/tst-tlsmod11.c: Likewise.
28475 * elf/tst-tlsmod12.c: Likewise.
28476 * elf/tst-tlsmod13.c: Likewise.
28477 * elf/tst-tlsmod13a.c: Likewise.
28478 * elf/tst-tlsmod14a.c: Likewise.
28479 * elf/tst-tlsmod15b.c: Likewise.
28480 * elf/tst-tlsmod16a.c: Likewise.
28481 * elf/tst-tlsmod16b.c: Likewise.
28482 * elf/tst-tlsmod7.c: Likewise.
28483 * elf/tst-tlsmod8.c: Likewise.
28484 * elf/tst-tlsmod9.c: Likewise.
28485 * gmon/gmon.c: Likewise.
28486 * grp/fgetgrent_r.c: Likewise.
28487 * grp/putgrent.c: Likewise.
28488 * hurd/fopenport.c: Likewise.
28489 * include/libc-symbols.h: Likewise.
28490 * include/tls.h: Likewise.
28491 * intl/gettextP.h: Likewise.
28492 * intl/loadinfo.h: Likewise.
28493 * locale/global-locale.c: Likewise.
28494 * locale/localeinfo.h: Likewise.
28495 * mach/devstream.c: Likewise.
28496 * malloc/arena.c: Likewise.
28497 * malloc/set-freeres.c: Likewise.
28498 * misc/err.c: Likewise.
28499 * misc/getttyent.c: Likewise.
28500 * misc/mntent_r.c: Likewise.
28501 * posix/getopt.c: Likewise.
28502 * posix/wordexp.c: Likewise.
28503 * pwd/fgetpwent_r.c: Likewise.
28504 * resolv/Versions: Likewise.
28505 * resolv/res_hconf.c: Likewise.
28506 * shadow/fgetspent_r.c: Likewise.
28507 * shadow/putspent.c: Likewise.
28508 * stdio-common/printf_fphex.c: Likewise.
28509 * stdio-common/tmpfile.c: Likewise.
28510 * stdlib/abort.c: Likewise.
28511 * stdlib/fmtmsg.c: Likewise.
28512 * sunrpc/auth_unix.c: Likewise.
28513 * sunrpc/clnt_perr.c: Likewise.
28514 * sunrpc/clnt_tcp.c: Likewise.
28515 * sunrpc/clnt_udp.c: Likewise.
28516 * sunrpc/clnt_unix.c: Likewise.
28517 * sunrpc/openchild.c: Likewise.
28518 * sunrpc/svc_simple.c: Likewise.
28519 * sunrpc/svc_tcp.c: Likewise.
28520 * sunrpc/svc_udp.c: Likewise.
28521 * sunrpc/svc_unix.c: Likewise.
28522 * sunrpc/xdr.c: Likewise.
28523 * sunrpc/xdr_array.c: Likewise.
28524 * sunrpc/xdr_rec.c: Likewise.
28525 * sunrpc/xdr_ref.c: Likewise.
28526 * sunrpc/xdr_stdio.c: Likewise.
28527
285282011-09-09 Ulrich Drepper <drepper@gmail.com>
28529
28530 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28531
285322011-07-03 Andreas Jaeger <aj@suse.de>
28533
28534 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
28535 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
28536 regenerate with gen-libm-tests.pl.
28537
285382010-05-12 Petr Baudis <pasky@suse.cz>
28539
28540 [BZ #11589]
28541 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
28542 around j0() zero points by switching to j1().
28543 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28544 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28546 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28547
285482011-09-09 Ulrich Drepper <drepper@gmail.com>
28549
28550 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
28551 instead of 0.
28552 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
28553 instead of 0.
28554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28555 Patch in part by Pavel Roskin <proski@gnu.org>.
28556
28557 [BZ #13138]
28558 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
28559 realloc.
28560 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
28561 Free memory block if necessary.
28562
28563 [BZ #12847]
28564 * libio/genops.c (INTDEF): For string streams the _lock pointer can
28565 be NULL. Don't lock in this case.
28566
285672011-09-09 Roland McGrath <roland@hack.frob.com>
28568
28569 * elf/elf.h (ELFOSABI_GNU): New macro.
28570 (ELFOSABI_LINUX): Define to that.
28571
285722011-07-29 Denis Zaitceff <zaitceff@gmail.com>
28573
28574 * string/strncat.c (strncat): Undef the symbol in case it has been
28575 defined in bits/string.h.
28576
285772011-09-09 Ulrich Drepper <drepper@gmail.com>
28578
28579 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
28580
28581 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
28582 link map.
28583
285842011-08-17 Andreas Jaeger <aj@suse.de>
28585
28586 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
28587
285882011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
28589 Ian Lance Taylor <iant@google.com>
28590
28591 * math/libm-test.inc (lround_test): New testcase.
28592 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
28593
285942011-09-08 Ulrich Drepper <drepper@gmail.com>
28595
28596 * Makefile: Remove support for automatic cvs check-ins.
28597 * Makerules: Likewise.
28598 * config.make.in: Likewise.
28599 * configure.in: Likewise.
28600 * intl/Makefile: Likewise.
28601 * locale/Makefile: Likewise.
28602 * po/Makefile: Likewise.
28603 * posix/Makefile: Likewise.
28604 * sysdeps/gnu/Makefile: Likewise.
28605 * sysdeps/mach/hurd/Makefile: Likewise.
28606 * sysdeps/sparc/sparc32/Makefile: Likewise.
28607
28608 [BZ #13118]
28609 * posix/Makefile (bug-regex32-ENV): Define.
28610 Patch by John Stanley <jpsinthemix@verizon.net>.
28611
28612 * misc/Makefile (headers): Add bits/select2.h.
28613 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
28614 * misc/bits/select2.h: New file.
28615 * include/bits/select2.h: New file.
28616 * debug/Makefile (routines): Add fdelt_chk.
28617 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
28618 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
28619 FD_ISSET.
28620 * debug/fdelt_chk.c: New file.
28621
28622 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
28623 * wcsmbs/test-wmemcmp.c: Likewise.
28624 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
28625 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
28626
286272011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28628
28629 * string/Makefile (strop-tests): Add memcmp.
28630 * string/test-wmemcmp.c: New file.
28631 * string/test-memcmp.c: Add wmemcmp support.
28632
286332011-09-08 Roland McGrath <roland@hack.frob.com>
28634
28635 [BZ #13153]
28636 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
28637 2011-07-19 change.
28638
28639 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
28640 garbage value in a __mach_port_mod_refs call in the cases of the
28641 task-self and thread-self ports.
28642
286432011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28644
28645 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
28646
286472011-09-08 Andreas Schwab <schwab@redhat.com>
28648
28649 * elf/dl-load.c (lose): Check for non-null L.
28650
286512011-09-07 Ulrich Drepper <drepper@gmail.com>
28652
28653 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
28654
28655 * elf/dl-libc.c (dlerror_run): Pass back error code from
28656 dl_catch_error.
28657
28658 [BZ #13123]
28659 * elf/dl-load.c (lose): Free l_origin if it is valid.
28660
28661 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28662 names.
28663 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28664 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28665 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28666 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28667 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28668 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28669
286702011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28671
28672 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28673 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28674 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28675 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28676 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28677 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28678 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28679 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28680 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28681 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28682
286832011-08-15 Alan Modra <amodra@gmail.com>
28684
28685 [BZ #13092]
28686 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28687 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28688 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28689 ppc_mcount to static-only-routines.
28690 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28691 __mcount_internal.
28692 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28693 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28694
286952011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28696
28697 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28698 for finite and infinity parameters.
28699
287002011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28701
28702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28703 and add nop instructions for throughput optimization.
28704 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28705
287062011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28707
28708 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28709 aligned copy for power7 with vector-scalar instructions.
28710 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28711
287122011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28713
28714 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28715 AVX check.
28716
287172011-09-07 Andreas Schwab <schwab@redhat.com>
28718
28719 [BZ #13144]
28720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28721 last change.
28722
287232011-09-07 Ulrich Drepper <drepper@gmail.com>
28724
28725 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28726 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28727 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28728 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28729 clock_gettime.
28730
287312011-09-06 Ulrich Drepper <drepper@gmail.com>
28732
28733 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28734 Forgot to demangle the pointer.
28735
28736 * sysdeps/i386/sysdep.h: Define atom_text_section.
28737 * sysdeps/x86_64/sysdep.h: Likewise.
28738 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28739 section with atom_text_section.
28740 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28741 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28742 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28743 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28744 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28745
28746 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28747 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28748 already be defined. Change to take two parameters and don't assign
28749 result to variable. Adjust all users.
28750 Define INTERNAL_GETTIME if not already defined.
28751 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28752 call.
28753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28754 HAVE_CLOCK_GETTIME_VSYSCALL.
28755 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28756
28757 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28758 gettimeofday vsyscall, just use time.
28759
287602011-09-06 Andreas Schwab <schwab@redhat.com>
28761
28762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28763 <errno.h>.
28764
287652011-09-06 Ulrich Drepper <drepper@gmail.com>
28766
28767 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28768 syscall on x86-64.
28769 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28770 syscall.
28771 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28773 syscall if possible.
28774
287752011-09-05 Ulrich Drepper <drepper@gmail.com>
28776
28777 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28778 e_ident. Don't pass to find_mapsXX.
28779 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28780
287812011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28782
28783 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28784 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28785 * sysdeps/x86_64/multiarch/strchr.S: Update.
28786 Check bit_slow_BSF bit.
28787 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28788 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28789 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28790
287912011-09-05 Ulrich Drepper <drepper@gmail.com>
28792
28793 [BZ #13134]
28794 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28795 before glibc 2.15.
28796 (tryshell): Define.
28797 (__spawni): Change last parameter to be flag. Test
28798 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28799 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28800 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28801 * posix/spawni.c: Likewise.
28802 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28803 * posix/spawnp.c: Likewise. Change normal version to use
28804 SPAWN_XFLAGS_USE_PATH.
28805 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28806 SPAWN_XFLAGS_TRY_SHELL.
28807
28808 [BZ #13150]
28809 * posix/glob.h: Remove gcc 1.x support.
28810
28811 [BZ #13068]
28812 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28813
288142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28815
28816 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28817 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28818 strrchr-sse2-bsf
28819 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28820 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28821 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28822 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28823 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28824 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28825
288262011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28827
28828 * sysdeps/x86_64/wcscmp.S: New file.
28829
28830 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28831 wcscmp-c wcscmp-sse2
28832 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28833 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28834 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28835 * wcsmbs/wcscmp.c: Allow renaming.
28836
288372011-09-05 David S. Miller <davem@davemloft.net>
28838
28839 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28840 stack slot, rather than the struct return pointer slot.
28841 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28842 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28844 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28845
288462011-09-05 Ulrich Drepper <drepper@gmail.com>
28847
28848 * po/ja.po: Update from translation team.
28849
28850 [BZ #13144]
28851 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28852 kernel in 64-bit binaries.
28853
288542011-09-01 David S. Miller <davem@davemloft.net>
28855
28856 * elf/elf.h (HWCAP_SPARC_*): Move to..
28857 * sysdeps/sparc/sysdep.h: this new file and add new values.
28858 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28859 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28860 _DL_HWCAP_COUNT to 24.
28861 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28862 entries.
28863 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28864 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28865 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28866 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28867 instead of magic constants.
28868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28869
288702011-08-31 David S. Miller <davem@davemloft.net>
28871
28872 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28874 Reimplement to do errno handling inline.
28875 (SYSCALL_ERROR_HANDLER): New macro.
28876 (__SYSCALL_STRING): Do not do errno handling in asm.
28877 (__CLONE_SYSCALL_STRING): Delete.
28878 (__INTERNAL_SYSCALL_STRING): Delete.
28879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28880 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28881 (PSEUDO): Reimplement to do errno handling inline.
28882 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28883 (SYSCALL_ERROR_HANDLER): New macro.
28884 (__SYSCALL_STRING): Do not do errno handling in asm.
28885 (__CLONE_SYSCALL_STRING): Delete.
28886 (__INTERNAL_SYSCALL_STRING): Delete.
28887 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28888 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28889 i386.
28890 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28891 (inline_syscall*): Add 'err' argument.
28892 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28893 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28894 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28895 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28896
28897 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28898 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28899
289002011-08-30 Andreas Schwab <schwab@redhat.com>
28901
28902 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28903
289042011-08-29 Jiri Olsa <jolsa@redhat.com>
28905
28906 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28907 directive.
28908
289092011-08-24 David S. Miller <davem@davemloft.net>
28910
28911 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28912
289132011-08-24 Andreas Schwab <schwab@redhat.com>
28914
28915 * elf/Makefile: Add rules to build and run unload8 test.
28916 * elf/unload8.c: New file.
28917 * elf/unload8mod1.c: New file.
28918 * elf/unload8mod1x.c: New file.
28919 * elf/unload8mod2.c: New file.
28920 * elf/unload8mod3.c: New file.
28921
28922 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28923 it wasn't used.
28924
289252011-08-23 David S. Miller <davem@davemloft.net>
28926
28927 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28928 subtract stack bias.
28929 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28930 %sp not %fp in calculations.
28931 (_JMPBUF_UNWINDS_ADJ): Likewise.
28932
28933 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28934 (aio_suspend): Call it to force an exception region around the
28935 AIO_MISC_WAIT() invocation.
28936
289372011-08-23 Andreas Schwab <schwab@redhat.com>
28938
28939 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28940 backslash.
28941
289422011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28943
28944 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28945 protection macro.
28946 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28947 and <dl-machine.h>.
28948 (Elf64_FuncDesc): Remove.
28949
289502011-08-22 David S. Miller <davem@davemloft.net>
28951
28952 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28953 sigaltstack check, add missing cfi directives.
28954 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28955 missing cfi directives, and sigaltstack handling.
28956
289572011-08-16 Andreas Schwab <schwab@redhat.com>
28958
28959 [BZ #11724]
28960 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28961 object is seen twice.
28962 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28963
28964 * elf/Makefile (distribute): Add tst-initorder2.c.
28965 (tests): Add tst-initorder2.
28966 (modules-names): Add tst-initorder2a tst-initorder2b
28967 tst-initorder2c tst-initorder2d. Add rules to build them.
28968 ($(objpfx)tst-initorder2.out): New rule.
28969 * elf/tst-initorder2.c: New file.
28970 * elf/tst-initorder2.exp: New file.
28971
289722011-08-22 Andreas Schwab <schwab@redhat.com>
28973
28974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28975
28976 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28977 dependencies back to end of function.
28978
28979 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28980 $(elfobjdir)/ld.so.
28981
289822011-08-21 Ulrich Drepper <drepper@gmail.com>
28983
28984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28985 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28986 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28987 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28988 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28989 of __vdso_gettimeofday.
28990 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28991 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28992 attribute_hidden.
28993 (_libc_vdso_platform_setup): Remove initialization of
28994 __vdso_gettimeofday and __vdso_time.
28995
289962011-08-20 Ulrich Drepper <drepper@gmail.com>
28997
28998 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28999 and fgetc_unlocked.
29000 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29001 getc_unlocked.
29002
29003 * elf/dl-open.c (add_to_global): Report additions to the global scope
29004 for LD_DEBUG=scopes.
29005 (dl_open_worker): Also print scope of newly loaded dependencies.
29006 (_dl_show_scope): Indicate if there is no scope.
29007
29008 [BZ #13114]
29009 * stdio-common/Makefile (tests): Add bug24.
29010 * stdio-common/bug24.c: New file.
29011
290122011-08-19 Andreas Jaeger <aj@suse.de>
29013
29014 [BZ #13114]
29015 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29016 non-existant file when using close-on-exec mode.
29017
290182011-08-20 Ulrich Drepper <drepper@gmail.com>
29019
29020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29021 the very first instruction.
29022
29023 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29024 the CFI state in the end.
29025 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29026 inclusion of dl-trampoline.h.
29027 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29028
290292011-08-19 Andreas Schwab <schwab@redhat.com>
29030
29031 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29032 expectations for long double.
29033
29034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29035 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29036
290372011-08-14 David S. Miller <davem@davemloft.net>
29038
29039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29040 artificual limit depends upon the system page size.
29041
290422011-08-17 Ulrich Drepper <drepper@gmail.com>
29043
29044 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29045 * resolv/Makefile: Define CFLAGS-libresolv.
29046
290472011-08-17 Andreas Schwab <schwab@redhat.com>
29048
29049 * nss/makedb.c (compute_tables): Make variables used in nested
29050 function static.
29051
290522011-08-17 Ulrich Drepper <drepper@gmail.com>
29053
29054 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29055 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29056 if buffer was too small.
29057
29058 * elf/pldd.c (main): Attach to all threads in the process.
29059 Rewrite /proc handling to use *at functions.
29060
290612011-08-16 Ulrich Drepper <drepper@gmail.com>
29062
29063 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29064 specifies first scope to show.
29065 (dl_open_worker): Update callers. Move printing scope of new
29066 object to before the relocation.
29067 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29068 * sysdeps/generic/ldsodefs.h: Update declaration.
29069
29070 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29071 string for the scope number.
29072
290732011-08-14 Ulrich Drepper <drepper@gmail.com>
29074
29075 * nscd/servicescache.c (cache_addserv): Make sure written is always
29076 initialized.
29077
290782011-08-14 Roland McGrath <roland@hack.frob.com>
29079
29080 * sysdeps/i386/i486/bits/atomic.h
29081 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29082 statement expression, so as to suppress "set but not used" warning.
29083 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29084
29085 * string/strncat.c (STRNCAT): Use prototype definition.
29086
29087 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29088 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29089 -Iprograms here.
29090 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29091 (localedef-modules): Add localedef.
29092 (locale-modules): Add locale.
29093
29094 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29095 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29096 to avoid a warning.
29097
290982011-08-14 David S. Miller <davem@davemloft.net>
29099
29100 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29101 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29102
291032011-08-13 Ulrich Drepper <drepper@gmail.com>
29104
29105 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29106 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29107 * elf/rtld.c (dl_main): Set l_name of vDSO.
29108 Call _dl_show_scope when DL_DEBUG_SCOPES.
29109 (process_dl_debug): Recognize scopes flag and also set it for all.
29110 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29111 Declare _dl_show_scope.
29112
29113 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29114 (do_dlopen): Pass caller_dlopen to dl_open.
29115 (__libc_dlopen_mode): Initialize caller_dlopen.
29116
29117 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29118 of libc. Make tolower call locale-independent. Optimize a bit by
29119 using isdigit instead of isalnum.
29120 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29121
291222011-08-12 Ulrich Drepper <drepper@gmail.com>
29123
29124 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29125 was a dependency or dynamically loaded.
29126
291272011-08-11 Ulrich Drepper <drepper@gmail.com>
29128
29129 * intl/l10nflist.c: Allow architecture-specific pop function.
29130 * sysdeps/x86_64/l10nflist.c: New file.
29131
29132 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29133 classification.
29134
291352011-08-10 Andreas Schwab <schwab@redhat.com>
29136
29137 * include/dirent.h: Add libc_hidden_proto for scandirat and
29138 scandirat64. Don't declare __scandirat64.
29139 * dirent/scandirat.c: Add libc_hidden_def.
29140 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29141 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29142
291432011-08-10 David S. Miller <davem@davemloft.net>
29144
29145 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29146 enum.
29147 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29148 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29150
291512011-08-09 Ulrich Drepper <drepper@gmail.com>
29152
29153 * Versions.def [libc]: Add GLIBC_2.15.
29154 * dirent/Makefile (routines): Add scandirat and scandirat64.
29155 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29156 GLIBC_2.15.
29157 * dirent/dirent.h: Declare scandirat and scandirat64.
29158 * dirent/scandirat.c: New file.
29159 * dirent/scandirat64.c: New file.
29160 * sysdeps/wordsize-64/scandirat.c: New file.
29161 * sysdeps/wordsize-64/scandirat64.c: New file.
29162 * dirent/opendir.c: Define opendirat.
29163 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29164 using scandirat.
29165 * dirent/scandir64.c: Adjust for scandir.c change.
29166 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29167 __scandirat64, and __scandir_cancel_handler.
29168 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29169 additional parameter and use openat instead of open (outside of ld.so).
29170 Add new __opendir as wrapper around __opendirat.
29171 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29172 here without requiring old scandirat implementation.
29173
291742011-08-08 Ulrich Drepper <drepper@gmail.com>
29175
29176 * dirent/scandir.c (cancel_handler): Renamed to
29177 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29178 defined. Adjust users.
29179 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29180 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29181
291822011-08-04 Ulrich Drepper <drepper@gmail.com>
29183
29184 * string/test-string.h (IMPL): Use __STRING to expand name and then
29185 stringify it.
29186
29187 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29188 of cleanups.
29189
291902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29191
29192 * string/Makefile: Update.
29193 (strop-tests): Append strncat.
29194 * string/test-wcscmp.c: New file.
29195 New comprehensive test for wcscmp.
29196 * string/test-strcmp.c: Update.
29197 (WIDE): New define.
29198
291992011-07-22 Andreas Schwab <schwab@redhat.com>
29200
29201 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29202 line.
29203
292042011-07-26 Andreas Schwab <schwab@redhat.com>
29205
29206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29207 encoding to ACE if AI_IDN.
29208
292092011-08-01 Jakub Jelinek <jakub@redhat.com>
29210
29211 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29212 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29213
292142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29215
29216 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29217 Fix overflow bug in strncat.
29218 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29219
29220 * string/test-strncat.c: Update.
29221 Add new tests for checking overflow bugs.
29222
292232011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29224
29225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29226 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29227 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29228 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29229 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29230 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29231 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29232 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29233 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29234
29235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29236 (USE_AS_STRCAT): Define.
29237 Add strcat and strncat support.
29238 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29239
292402011-07-25 Andreas Schwab <schwab@redhat.com>
29241
29242 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29243 __n bigger than INT_MAX+1.
29244 (__strncmp_g): Likewise.
29245
292462011-07-23 Ulrich Drepper <drepper@gmail.com>
29247
29248 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29249 * libio/stido.h: Likewise.
29250
29251 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29252 (AF_NFC): Define.
29253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29254 (AF_NFC): Define.
29255
29256 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29257 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29258 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29259 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29260 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29261
29262 [BZ #13021]
29263 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29264 installed.
29265
29266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29267 typo.
29268 (_dl_x86_64_save_sse): Likewise.
29269
292702011-07-22 Ulrich Drepper <drepper@gmail.com>
29271
29272 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29273 OSXSAVE.
29274 (_dl_x86_64_save_sse): Likewise.
29275
29276 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29277
29278 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29279
292802011-07-21 Andreas Schwab <schwab@redhat.com>
29281
29282 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29283 change.
29284 (_dl_x86_64_save_sse): Use correct AVX check.
29285
292862011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29287
29288 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29289 bug in strncpy/strncat.
29290 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29291
292922011-07-21 Ulrich Drepper <drepper@gmail.com>
29293
29294 * string/tester.c (test_strcat): Add tests for different alignments
29295 of source and destination.
29296 (test_strncat): Likewise.
29297
292982011-07-20 Ulrich Drepper <drepper@gmail.com>
29299
29300 [BZ #12852]
29301 * posix/glob.c (glob): Check passed in values before using them in
29302 expressions to avoid some overflows.
29303 (glob_in_dir): Likewise.
29304
29305 [BZ #13007]
29306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29307 check for AVX enablement so that we don't crash with old kernels and
29308 new hardware.
29309 * elf/tst-audit4.c: Add same checks here.
29310 * elf/tst-audit6.c: Likewise.
29311
29312 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29313
293142011-07-09 Andreas Schwab <schwab@linux-m68k.org>
29315
29316 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29317
293182011-07-20 Ulrich Drepper <drepper@gmail.com>
29319
29320 * po/cs.po: Update from translation team.
29321 * po/bg.po: Likewise.
29322
293232011-07-12 Marek Polacek <mpolacek@redhat.com>
29324
29325 * misc/sys/cdefs.h: Add support for const attribute.
29326 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29327 to gnu_dev_{major,minor,makedev} functions.
29328
293292011-07-20 Marek Polacek <mpolacek@redhat.com>
29330
29331 * intl/dcigettext.c (get_output_charset): Add missing bracket.
29332
293332011-07-20 Andreas Schwab <schwab@redhat.com>
29334
29335 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
29336 strlen results.
29337
293382011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29339
29340 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29341 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
29342 register in order to avoid conflicts with the soft frame pointer
29343 being held in r11 when necessary.
29344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29345 (INTERNAL_VSYSCALL_NCS): Likewise.
29346
293472011-07-14 Marek Polacek <mpolacek@redhat.com>
29348
29349 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
29350 * elf/dl-fini.c (_dl_fini): Adjust caller.
29351 * elf/dl-close.c (_dl_close_worker): Likewise.
29352 * sysdeps/generic/ldsodefs.h: Adjust declaration.
29353
293542011-07-15 Marek Polacek <mpolacek@redhat.com>
29355
29356 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
29357 "aux_cache->nlibs < 0".
29358
29359 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
29360 in the reload-count case.
29361
293622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29363
29364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29365 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
29366 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
29367 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
29368 * sysdeps/x86_64/multiarch/strcat.S: New file.
29369 * sysdeps/x86_64/multiarch/strncat.S: New file.
29370 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
29371 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
29372 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
29373 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
29374 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
29375 (USE_AS_STRCAT): Define.
29376 Add strcat and strncat support.
29377 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29378 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29379 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
29380 * string/strncat.c: Update.
29381 (USE_AS_STRNCAT): Define.
29382 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29383 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
29384 and i7.
29385 * sysdeps/x86_64/multiarch/init-arch.h
29386 (bit_Prefer_PMINUB_for_stringop): New.
29387 (index_Prefer_PMINUB_for_stringop): Likewise.
29388 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
29389 bit_Prefer_PMINUB_for_stringop.
29390
293912011-07-19 Ulrich Drepper <drepper@gmail.com>
29392
29393 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
29394 buffer64.
29395 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
29396 of casting of buffer.
29397 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
29398 buffer32 and buffer64.
29399 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
29400 writes instead of casting of buffer.
29401 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
29402 buffer32.
29403 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
29404 casting of buffer.
29405
294062011-07-19 Andreas Schwab <schwab@redhat.com>
29407
29408 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
29409
294102011-07-19 Ulrich Drepper <drepper@gmail.com>
29411
29412 * nscd/nscd.c (termination_handler): Don't do anything for a database
29413 if it has not yet been initialized.
29414
294152011-07-18 Ulrich Drepper <drepper@gmail.com>
29416
29417 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29418
294192011-07-15 Marek Polacek <mpolacek@redhat.com>
29420
29421 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
29422
294232011-07-18 Ulrich Drepper <drepper@gmail.com>
29424
29425 * po/nl.po: Update from translation team.
29426 * po/sv.po: Likewise.
29427
294282011-07-16 Roland McGrath <roland@hack.frob.com>
29429
29430 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
29431 now disallowed by GCC.
29432
29433 * configure.in (use-default-link): Default to yes if a test -shared
29434 link meets our qualifications.
29435 * configure: Regenerated.
29436
29437 * config.make.in (output-format): New variable.
29438 * configure.in: Check for ld --print-output-format support.
29439 * configure: Regenerated.
29440 * Makerules ($(common-objpfx)format.lds)
29441 [$(output-format) != unknown]: Just use $(output-format),
29442 instead of the linker-script munging.
29443
294442011-07-14 Roland McGrath <roland@hack.frob.com>
29445
29446 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
29447 of $(common-objpfx)shlib.lds.
29448 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
29449
29450 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
29451 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
29452
29453 * configure.in (-z relro check): Adjust test code to add a large
29454 writable data section after it.
29455 * configure: Regenerated.
29456
294572011-07-11 Roland McGrath <roland@hack.frob.com>
29458
29459 * configure.in (-z relro check): Fix test code to make the variable
29460 truly const.
29461 * configure: Regenerated.
29462
294632011-07-11 Ulrich Drepper <drepper@gmail.com>
29464
29465 * nscd/nscd.h (struct traced_file): Define.
29466 (struct database_dyn): Remove inotify_descr, reset_res, and filename
29467 elements. Add traced_files.
29468 (inotify_fd): Declare.
29469 (register_traced_file): Declare.
29470 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
29471 (inotify_fd): Export.
29472 (resolv_conf_descr): Remove.
29473 (nscd_init): Move inotify descriptor creation to main.
29474 Don't register files for notification here.
29475 (register_traced_file): New function.
29476 (invalidate_cache): Don't use reset_res to determine whether to call
29477 res_init, go through the list of registered files.
29478 (main_loop_poll): The inotify descriptors are now stored in the
29479 structures for the traced files.
29480 (main_loop_epoll): Likewise
29481 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
29482 to __nss_disable_nscd.
29483 * nscd/cache.c (prune_cache): There is no single inotify descriptor
29484 for a database anymore. Check the records for all the registered
29485 files instead.
29486 * nss/Makefile (libnss_files-routines): Add files-init.
29487 (libnss_db-routines): Add db-init.
29488 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
29489 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
29490 * nss/nss_db/db-init.c: New file.
29491 * nss/nss_files/files-init.c: New file.
29492 * nss/nsswitch.c (nss_load_library): New function. Broken out of
29493 __nss_lookup_function.
29494 (__nss_lookup_function): Call nss_load_library.
29495 (nss_load_all_libraries): New function.
29496 (__nss_disable_nscd): Take parameter with callback function for files
29497 to register. Set is_nscd. Load all the DSOs for the NSS modules
29498 used for the cached services.
29499 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
29500 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
29501 options for features to all the files in nscd.
29502
29503 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
29504
295052011-07-10 Roland McGrath <roland@hack.frob.com>
29506
29507 * csu/elf-init.c (__libc_csu_init): Comment typo.
29508
295092011-07-09 Ulrich Drepper <drepper@gmail.com>
29510
29511 * po/pl.po: Update from translation team.
29512 * po/ja.po: Likewise.
29513 * po/ru.po: Likewise.
29514 * po/ko.po: Likewise.
29515 * po/fr.po: Likewise.
29516
295172011-07-09 Roland McGrath <roland@hack.frob.com>
29518
29519 * configure.in (.ctors/.dtors header and trailer check):
29520 Use an empirical test on a built program.
29521 * configure: Regenerated.
29522
29523 * configure.in (-z relro check): Use an empirical test on a built DSO.
29524 Detect, but do not require, on ia64.
29525 * configure: Regenerated.
29526
29527 * configure.in (READELF): Find it with AC_CHECK_TOOL.
29528 Update tests that use readelf to use $READELF instead.
29529 * configure: Regenerated.
29530
295312011-07-08 Ulrich Drepper <drepper@gmail.com>
29532
29533 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
29534 if the result is not used.
29535
295362011-07-05 Andreas Jaeger <aj@suse.de>
29537
29538 [BZ#9696]
29539 * stdlib/tst-strtod.c: Add testcase.
29540
295412011-07-07 Ulrich Drepper <drepper@gmail.com>
29542
29543 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
29544 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
29545 The latter has a higher limit. Take additional parameter to pass to
29546 the new function.
29547 (__pathconf): Pass file to __statfs_link_max.
29548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
29549 __statfs_link_max.
29550 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
29551 __statfs_link_max.
29552
29553 [BZ #12868]
29554 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
29555 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29556 Handle Lustre.
29557 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
29558 (__statfs_filesize_max): Likewise.
29559 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
29560
295612011-07-05 Andreas Jaeger <aj@suse.de>
29562
29563 * resolv/res_comp.c (dn_skipname): Remove unused variable.
29564
295652011-07-06 Marek Polacek <mpolacek@redhat.com>
29566
29567 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
29568 `status' variable.
29569 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
29570 Likewise.
29571
295722011-07-04 H.J. Lu <hongjiu.lu@intel.com>
29573
29574 * Makefile (strop-tests): Add strncat.
29575 * string/test-strncat.c: New file.
29576
295772011-06-30 Marek Polacek <mpolacek@redhat.com>
29578
29579 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
29580
295812011-06-21 Andreas Jaeger <aj@suse.de>
29582
29583 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
29584 Copy rule from iconvdata/Makefile.
29585
295862011-07-06 Ulrich Drepper <drepper@gmail.com>
29587
29588 [BZ #12922]
29589 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
29590 but no long options are defined, just return 'W'.
29591
295922011-06-22 Marek Polacek <mpolacek@redhat.com>
29593
29594 [BZ #9696]
29595 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
29596
295972011-07-06 Ulrich Drepper <drepper@gmail.com>
29598
29599 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
29600 netgroups to read.
29601 (innetgr): Likewise.
29602
296032011-07-05 Roland McGrath <roland@hack.frob.com>
29604
29605 * config.make.in (install_root): Default to $(DESTDIR).
29606
296072011-07-05 Ulrich Drepper <drepper@gmail.com>
29608
29609 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
29610
296112011-07-02 Roland McGrath <roland@hack.frob.com>
29612
29613 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
29614
29615 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
29616 containing directory rather than embedding absolute directory names.
29617
29618 * scripts/check-local-headers.sh: Rewritten using awk.
29619 Match by word, not by line. Print error messages for matches.
29620 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
29621
29622 * Makerules [shlib-lds-flags empty]:
29623 ($(common-objpfx)libc_pic.opts): New target.
29624 ($(common-objpfx)libc_pic.os.clean): New target.
29625 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
29626
29627 * config.make.in (OBJCOPY): New variable.
29628 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
29629 * configure: Regenerated.
29630
29631 * config.make.in (use-default-link): New variable.
29632 * configure.in (use_default_link): Grok --with-default-link to set it.
29633 * configure: Regenerated.
29634 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
29635 (shlib-lds, shlib-lds-flags): Define to empty.
29636
29637 * Makerules (shlib-lds): New variable.
29638 (shlib-lds-flags): New variable.
29639 (build-shlib, build-moduile, build-module-asneeded): Use it.
29640 ($(common-objpfx)libc.so): Use $(shlib-lds).
29641 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
29642 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
29643
29644 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
29645 DT_FLAGS/DT_FLAGS_1 with zero flags.
29646
29647 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
29648 linker script munging.
29649
296502011-07-02 Ulrich Drepper <drepper@gmail.com>
29651
29652 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
29653 as 128-bit value.
29654 * crypt/sha512.c (sha512_process_block): Perform total addition using
29655 128-bit if possible.
29656 (__sha512_finish_ctx): Likewise.
29657 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
29658 as 64-bit value.
29659 * crypt/sha256.c (SWAP64): Define.
29660 (sha256_process_block): Perform total addition using 64-bit if
29661 possible.
29662 (__sha256_finish_ctx): Likewise.
29663
296642011-07-01 Ulrich Drepper <drepper@gmail.com>
29665
29666 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29667 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29668 * nscd/hstcache.c (cache_addhst): Likewise.
29669 * nscd/grpcache.c (cache_addgr): Likewise.
29670 * nscd/aicache.c (addhstaiX): Likewise
29671 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29672
296732011-07-01 Thorsten Kukuk <kukuk@suse.de>
29674
29675 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29676 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29677 * nscd/hstcache.c (cache_addhst): Likewise.
29678 * nscd/grpcache.c (cache_addgr): Likewise.
29679 * nscd/aicache.c (addhstaiX): Likewise
29680
296812011-07-01 Andreas Schwab <schwab@redhat.com>
29682
29683 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29684 domain only when needed.
29685
296862011-06-30 Andreas Schwab <schwab@redhat.com>
29687
29688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29689 is always restored.
29690
296912011-06-29 Ulrich Drepper <drepper@gmail.com>
29692
29693 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29694 are re-adding the entry.
29695 * nscd/servicescache.c (cache_addserv): Likewise.
29696
296972011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29698
29699 * sysdeps/generic/dl-irel.h: fix protection against multiple
29700 inclusions.
29701 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29702
297032011-06-28 Ulrich Drepper <drepper@gmail.com>
29704
29705 [BZ #12935]
29706 * malloc/memusage.sh: Fix quoting in message.
29707 * debug/xtrace.sh: Likewise.
29708
29709 * configure.in: Remove support for --experimental-malloc option, make
29710 it the default.
29711 * config.make.in: Likewise.
29712 * malloc/Makefile: Likewise.
29713
297142011-06-27 Andreas Schwab <schwab@redhat.com>
29715
29716 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29717 two-byte characters.
29718
297192011-06-27 Roland McGrath <roland@hack.frob.com>
29720
29721 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29722 AC_CACHE_CHECK invocation.
29723 * configure: Regenerated.
29724
29725 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29726
297272011-06-27 Ulrich Drepper <drepper@gmail.com>
29728
29729 [BZ #12350]
29730 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29731 bit from old_res_options.
29732
29733 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29734
29735 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29736 value type for setfct.
29737
297382011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29739
29740 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29741 __gettimeofday instead of gettimeofday.
29742
297432011-06-26 Ulrich Drepper <drepper@gmail.com>
29744
29745 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29746
297472011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29748
29749 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29750
29751 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29752 info.
29753
297542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29755
29756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29757 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29758 strcpy-sse2-unaligned strncpy-sse2-unaligned
29759 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29760 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29761 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29762 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29763 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29764 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29766 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29767 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29768 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29769 (STRCPY): Support SSE2 and SSSE3 versions.
29770
297712011-06-24 Ulrich Drepper <drepper@gmail.com>
29772
29773 [BZ #12874]
29774 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29775 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29776 kernels which artificially limit size of requests.
29777
297782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29779
29780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29781 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29782 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29783 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29784 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29785 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29786 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29787 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29789 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29790 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29791 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29792 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29793 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29794 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29796 Enable unaligned load optimization for Intel Core i3, i5 and i7
29797 processors.
29798 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29799 Define.
29800 (index_Fast_Unaligned_Load): Define.
29801 (HAS_FAST_UNALIGNED_LOAD): Define.
29802
298032011-06-23 Marek Polacek <mpolacek@redhat.com>
29804
29805 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29806
298072011-06-22 Ulrich Drepper <drepper@gmail.com>
29808
29809 [BZ #12907]
29810 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29811 until it is clear that the information is realy needed.
29812 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29813
298142011-06-22 Andreas Schwab <schwab@redhat.com>
29815
29816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29817
298182011-06-22 Ulrich Drepper <drepper@gmail.com>
29819
29820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29821 /sys/devices/system/cpu/online if it is usable.
29822
29823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29824 reading the information from the /proc filesystem to once a second.
29825
298262011-06-21 Andreas Jaeger <aj@suse.de>
29827
29828 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29829 NULL after inclusion of kernel headers.
29830
298312011-06-21 Ulrich Drepper <drepper@gmail.com>
29832
29833 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29834 calls to internal_setent.
29835
29836 [BZ #12885]
29837 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29838 addresses using gethostbyname4_r ignore IPv4 addresses.
29839
29840 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29841 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29842
29843 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29844
298452011-06-20 David S. Miller <davem@davemloft.net>
29846
29847 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29848 inclusions.
29849 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29850
29851 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29852 (elf_irel): Use it.
29853 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29854 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29855 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29856 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29857 * sysdeps/x86_64/dl-irel.h: Likewise.
29858
29859 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29860 * elf/dl-sym.c: Likewise.
29861
298622011-06-15 Ulrich Drepper <drepper@gmail.com>
29863
29864 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29865 need to dereference resplen2.
29866
298672011-06-14 Andreas Schwab <schwab@redhat.com>
29868
29869 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29870
298712011-06-15 Ulrich Drepper <drepper@gmail.com>
29872
29873 * Makeconfig: Define vardbdir and inst_vardbdir.
29874 * nss/Makefile: Add rules to install db-Makefile.
29875
29876 * nss/nss_db/db-XXX.c: Cleanup.
29877
29878 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29879 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29880 GLIBC_PRIVATE.
29881 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29882 * nss/makedb.c: Implement -g option to specify that value strings
29883 are generated and should not be added to table iterated over for
29884 get*ent calls.
29885 * nss/nss_db/db-initgroups.c: New file.
29886
29887 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29888 interface.
29889
29890 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29891 (internal_getgrouplist): Adjust to name change.
29892 Update use_initgroups_entry if this is not the first call.
29893 * nss/databases.def: Add initgroups entry.
29894
29895 * nss/makedb.c (compute_tables): Check result of multiple hash table
29896 sizes to minimize maximum chain length.
29897
298982011-06-14 Ulrich Drepper <drepper@gmail.com>
29899
29900 * Versions.def: Add entry for libnss_db.
29901 * shlib-versions: Likewise.
29902 * nss/Makefile: Add rules to build libnss_db.
29903 * nss/Versions: Add libnss_db information. Organize libnss_files
29904 entries better.
29905 * nss/db-Makefile: Add gshadow support. Change rules for the new
29906 makedb progra. Some minor improvements to generate smaller files.
29907 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29908 here from...
29909 * nss/makedb.c: ...here.
29910 Improve database format to be smaller and require less memory at
29911 runtime.
29912 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29913 db anymore.
29914 * nss/nss_db/db-netgrp.c: Likewise.
29915 * nss/nss_db/db-open.c: Likewise.
29916 * nss/nss_files/flies-XXX.x: Adjust comments.
29917 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29918 * nss/nss_files/files-grp.c: Likewise.
29919 * nss/nss_files/files-hosts.c: Likewise.
29920 * nss/nss_files/files-network.c: Likewise.
29921 * nss/nss_files/files-proto.c: Likewise.
29922 * nss/nss_files/files-pwd.c: Likewise.
29923 * nss/nss_files/files-rpc.c: Likewise.
29924 * nss/nss_files/files-service.c: Likewise.
29925 * nss/nss_files/files-sgrp.c: Likewise.
29926 * nss/nss_files/files-spwd.c: Likewise.
29927 * nss/nss_db/db-alias.c: Removed.
29928 * nss/nss_db/dummy-db.h: Removed.
29929
299302011-06-02 Ulrich Drepper <drepper@gmail.com>
29931
29932 * nss/makedb.c: Rewritten to not use database library.
29933 * nss/Makefile: Update to build new makedb program.
29934
299352011-06-14 Andreas Jaeger <aj@suse.de>
29936
29937 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29938 memset declaration.
29939
299402011-06-10 Andreas Schwab <schwab@redhat.com>
29941
29942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29943 tmpbuf.
29944
299452011-06-10 Roland McGrath <roland@hack.frob.com>
29946
29947 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29948 * elf/Makefile ($(objpfx)ld.so): Likewise.
29949
29950 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29951 Don't list ld.so twice in dependencies.
29952
29953 * posix/bug-regex31.c: Include <stdlib.h>.
29954
29955 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29956
29957 * nis/nss_compat/compat-spwd.c
29958 (getspent_next_nss_netgr): Remove unused variable.
29959 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29960
29961 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29962 nonmembers" output to use the right array.
29963
29964 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29965
29966 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29967
29968 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29969 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29970 * catgets/gencat.c (read_input_file): Likewise.
29971 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29972
29973 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29974 variable definition inside #if's controlling its use.
29975
29976 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29977
29978 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29979
29980 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29981
29982 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29983 unreachable code.
29984
29985 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29986
29987 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29988 * configure: Regenerated.
29989
29990 * Makerules: Revert last change.
29991 * elf/Makefile: Likewise.
29992
299932011-06-09 Roland McGrath <roland@hack.frob.com>
29994
29995 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29996 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29997 (reloc-link): Likewise.
29998
299992011-06-09 Ulrich Drepper <drepper@gmail.com>
30000
30001 * elf/Makefile: Add rules to build pldd.
30002 * elf/pldd.c: New file.
30003 * elf/pldd-xx.c: New file.
30004
300052011-06-07 Ulrich Drepper <drepper@gmail.com>
30006
30007 * version.h: Update for 2.15 development version.
30008
300092011-06-07 David S. Miller <davem@davemloft.net>
30010
30011 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30012 ifuncs.
30013 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30014 elf_machine_lazy_rel): Likewise.
30015 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30016 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30017 elf_machine_lazy_rel): Likewise.
30018 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30019 dl_hwcap via passed in argument.
30020 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30021 Likewise.
30022
300232011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30024
30025 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30026
300272011-06-06 Roland McGrath <roland@hack.frob.com>
30028
30029 [BZ #12849]
30030 * manual/fdl-1.1.texi: New file, verbatim from:
30031 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30032 * manual/lgpl-2.1.texi: New file, verbatim from:
30033 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30034 * manual/Makefile (licenses): New variable, list those new file names.
30035 (texis): Use it.
30036 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30037
30038 * manual/fdl.texi: File removed.
30039 * manual/lesser.texi: File removed.
30040 * manual/libc.texinfo (Copying, Documentation License):
30041 Use new @include file names, put @appendix directive before @include.
30042
300432011-06-04 Jakub Jelinek <jakub@redhat.com>
30044
30045 [BZ #12841]
30046 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30047 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30048 (mq_open): Add __NTH.
30049
300502011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30051
30052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30053 Assume Intel Core i3/i5/i7 processor if AVX is available.
30054
300552011-05-31 Ulrich Drepper <drepper@gmail.com>
30056
30057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30058 typo.
30059
300602011-05-31 Andreas Schwab <schwab@redhat.com>
30061
30062 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30063 memory. Use alloca_account. Fix memory leak when retrying.
30064
300652011-05-31 Ulrich Drepper <drepper@gmail.com>
30066
30067 * version.h (RELEASE): Bump for 2.14 release.
30068 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30069
30070 * config.make.in (RANLIB): Remove entry.
30071
300722011-05-30 Ulrich Drepper <drepper@gmail.com>
30073
30074 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30075 (libc.pot): Work around missing support for .ksh extension in xgettext.
30076
30077 [BZ #12684]
30078 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30079 if both request failed.
30080 (send_dg): In case of server errors clear resplen or *resplen2.
30081
30082 [BZ #12454]
30083 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30084 when there are multiple maps.
30085 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30086 (_dl_fini): Remove test here.
30087
30088 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30089
300902011-05-29 Ulrich Drepper <drepper@gmail.com>
30091
30092 [BZ #12350]
30093 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30094 bit from old_res_options.
30095 (gaih_inet): Likewise.
30096
30097 [BZ #11099]
30098 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30099 as signed.
30100
30101 * resolv/res_init.c (res_setoptions): Make the code more compact.
30102
30103 [BZ #11558]
30104 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30105 set RES_USEVC.
30106
30107 [BZ #11634]
30108 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30109
30110 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30111
30112 [BZ #11781]
30113 * malloc/malloc.h: Declare malloc hook variables as volatile.
30114
30115 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30116 in last patch.
30117
30118 [BZ #11799]
30119 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30120 raise in the comment.
30121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30123 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30124
301252011-05-28 Ulrich Drepper <drepper@gmail.com>
30126
30127 [BZ #12811]
30128 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30129 grow the buffers more if it already has to be sufficient.
30130 (build_wcs_upper_buffer): Likewise.
30131 * posix/regexec.c (check_matching): Likewise.
30132 (clean_state_log_if_needed): Likewise.
30133 (extend_buffers): Don't enlarge buffers beyond size of the input
30134 buffer.
30135 Patches mostly by Emil Wojak <emil@wojak.eu>.
30136 * posix/bug-regex32.c: New file.
30137 * posix/Makefile (tests): Add bug-regex32.
30138
30139 * locale/findlocale.c (_nl_find_locale): Return right away if
30140 _nl_explode_name failed.
30141 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30142
30143 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30144
30145 * debug/xtrace.sh: Unify messages.
30146 * malloc/memusage.sh: Likewise.
30147
30148 [BZ #12813]
30149 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30150 time symbol from vDSO. Substitute with vsyscall if not available.
30151 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30152 __vdso_time.
30153
30154 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30155 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30156 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30157 Add sendmmsg and internal_sendmmsg.
30158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30159 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30161
30162 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30163 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30164 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30165
301662011-05-27 Ulrich Drepper <drepper@gmail.com>
30167
30168 [BZ #12813]
30169 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30170 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30171 available.
30172 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30173 __vdso_getcpu.
30174
30175 [BZ #12814]
30176 * iconvdata/Makefile (tests): Add bug-iconv9.
30177 * iconvdata/bug-iconv9.c: New file.
30178
301792011-05-27 Andreas Schwab <schwab@redhat.com>
30180
30181 [BZ #12814]
30182 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30183
301842011-05-25 Jakub Jelinek <jakub@redhat.com>
30185
30186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30187 (struct user_regs_struct): Change intcs field back to cs.
30188
301892011-05-25 Ulrich Drepper <drepper@gmail.com>
30190
30191 * po/ja.po: Update from translation team.
30192
301932011-05-23 Ulrich Drepper <drepper@gmail.com>
30194
30195 [BZ #12795]
30196 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30197 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30198
301992011-05-20 Andreas Schwab <schwab@redhat.com>
30200
30201 * stdlib/longlong.h: Update from GCC.
30202
302032011-05-23 Andreas Schwab <schwab@redhat.com>
30204
30205 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30206 parameter name.
30207 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30208 Add parameter name.
30209 (__sysconf): Pass it down.
30210
302112011-05-22 Ulrich Drepper <drepper@gmail.com>
30212
30213 [BZ #12671]
30214 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30215 some situations.
30216 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30217 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30218 add in in __libc_use_alloca calls. Adjust callers.
30219 (glob): Use malloc in some situations.
30220
30221 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30222 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30223 pltexit.
30224
302252011-05-21 Ulrich Drepper <drepper@gmail.com>
30226
30227 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30228 and CLOCK_BOOTTIME_ALARM.
30229
30230 [BZ #12782]
30231 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30232 is returned.
30233
30234 * string/_strerror.c (__strerror_r): Print negative errors as signed
30235 numbers.
30236
30237 [BZ #12777]
30238 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30239 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30240 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30241
30242 * configure.in: Fix typo in redirection and correct removal of test
30243 files in two cases.
30244
30245 [BZ #12788]
30246 * locale/setlocale.c (new_composite_name): Fix test to check for
30247 identical name of all categories.
30248
30249 [BZ #12792]
30250 * libio/filedoalloc.c (local_isatty): New function.
30251 (_IO_file_doallocate): Use local_isatty.
30252 * stdio-common/perror.c (perror): In case a new stream is used
30253 forward the stream error.
30254 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30255 error flag.
30256
302572011-05-20 Ulrich Drepper <drepper@gmail.com>
30258
30259 [BZ #11869]
30260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30261 alloca.
30262 * include/alloca.h (extend_alloca_account): Define.
30263
30264 [BZ #11857]
30265 * posix/regex.h: Fix comments with documentation of user-accessible
30266 fields after compilation and describe correct free'ing of pattern
30267 after re_compile_pattern.
30268 Patch by Reuben Thomas <rrt@sc3d.org>.
30269
302702011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30271
30272 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30273 and -mno-altivec to prevent the compiler from using Altivec and/or
30274 VSX instructions when the corresponding registers are not available.
30275
302762011-05-19 Andreas Schwab <schwab@redhat.com>
30277
30278 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30279
302802011-05-19 Ulrich Drepper <drepper@gmail.com>
30281
30282 * libio/freopen.c (freopen): Use __dup2, not dup2.
30283 * libio/freopen64.c (freopen64): Likewise.
30284
302852011-05-17 H.J. Lu <hongjiu.lu@intel.com>
30286
30287 [BZ #12775]
30288 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30289 * math/Makefile (tests): Add test-powl.
30290 (CFLAGS-test-powl.c): Define.
30291 * math/test-powl.c: New file.
30292
302932011-05-16 H.J. Lu <hongjiu.lu@intel.com>
30294
30295 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30296
302972011-05-17 Ulrich Drepper <drepper@gmail.com>
30298
30299 [BZ #11837]
30300 * iconvdata/gb18030.c: Update to GB18020-2005.
30301
303022011-05-16 Ulrich Drepper <drepper@gmail.com>
30303
30304 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30305 RE_SYNTAX_POSIX_AWK): Update to match recent development.
30306 Patch by Aharon Robbins <arnold@skeeve.com>.
30307
30308 [BZ #11892]
30309 * stdlib/putenv.c (putenv): Don't always create copy of the variable
30310 on the stack.
30311
30312 [BZ #11895]
30313 * misc/pselect.c (__pselect): Handle timeout value errors hidden
30314 through underflows.
30315
30316 [BZ #12766]
30317 * misc/error.c (error_at_line): Ensure file_name and old_file_name
30318 point to strings before performing equality test for error_one_per_line
30319 mode.
30320
30321 [BZ #11697]
30322 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30323
30324 [BZ #11820]
30325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30326 (struct user_fpregs_struct): Avoid __uint*_t types.
30327
30328 [BZ #6420]
30329 * malloc/mtrace.c (tr_where): Add additional parameter to point to
30330 symbol info. Use it instead of calling _dl_addr locally.
30331 (lock_and_info): New function.
30332 (tr_freehook): Call lock_and_info and pass symbol info as additional
30333 parameter to tr_where.
30334 (tr_mallochook): Likewise.
30335 (tr_reallochook): Likewise.
30336 (tr_memalignhook): Likewise.
30337
30338 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
30339 used and couldn't be at all thread-safe.
30340
303412011-05-15 Ulrich Drepper <drepper@gmail.com>
30342
30343 * libio/freopen.c (freopen): Don't close old file descriptor
30344 before the new one is opened. Instead dup the new file descriptor
30345 to the old one after the new stream is created.
30346 * libio/freopen64.c (freopen64): Likewise.
30347 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
30348 * libio/fileops.c (_IO_new_file_close_it): Handle new
30349 _IO_FLAGS2_NOCLOSE flag.
30350 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
30351 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
30352 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
30353 _IO_FLAGS2_NOCLOSE flag.
30354 * include/unistd.h: Add hidden_proto for dup3.
30355 Define __have_dup3.
30356 * io/dup3.c: Define hidden symbol.
30357 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
30358
30359 [BZ #7101]
30360 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
30361 when an incomplete long option is used.
30362 * posix/tst-getopt_long1.c: New file.
30363 * posix/Makefile (tests): Add tst-getopt_long1.
30364
30365 [BZ #10138]
30366 * scripts/config.guess: Update from autoconf-2.68.
30367 * scripts/config.sub: Likewise.
30368
30369 [BZ #10157]
30370 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
30371 tests into ...
30372 (has_cpuclock): ...this. New function.
30373 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
30374 macro here based on has_cpuclock code.
30375
30376 [BZ #10149]
30377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30378 First byte (not low byte) is now always NUL.
30379 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
30380
30381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30382 Use non-cancelable interfaces.
30383
30384 [BZ #9809]
30385 * locale/iso-639.def: Add entry for Sorani.
30386
30387 [BZ #11901]
30388 * include/stdlib.h: Move include protection to the right place.
30389 Define abort_msg_s. Declare __abort_msg with it.
30390 * stdlib/abort.c (__abort_msg): Adjust type.
30391 * assert/assert.c (__assert_fail_base): New function. Majority
30392 of code from __assert_fail. Allocate memory for __abort_msg with
30393 mmap.
30394 (__assert_fail): Now call __assert_fail_base.
30395 * assert/assert-perr.c: Remove bulk of implementation. Use
30396 __assert_fail_base.
30397 * include/assert.hL Declare __assert_fail_base.
30398 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
30399 mmap.
30400 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
30401
304022011-05-14 Ulrich Drepper <drepper@gmail.com>
30403
30404 [BZ #11952]
30405 [BZ #12453]
30406 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
30407 until all modules are registered in the DTV.
30408 * elf/Makefile: Add rules to build and run tst-tls19.
30409 * elf/tst-tls19.c: New file.
30410 * elf/tst-tls19mod1.c: New file.
30411 * elf/tst-tls19mod2.c: New file.
30412 * elf/tst-tls19mod3.c: New file.
30413 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
30414
30415 [BZ #12083]
30416 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
30417 correctly.
30418
30419 [BZ #12601]
30420 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
30421 two-byte sequence errors.
30422 * iconvdata/Makefile (tests): Add bug-iconv8.
30423 * iconvdata/bug-iconv8.c: New file.
30424
30425 [BZ #12626]
30426 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
30427 buf2 definition.
30428
30429 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
30430
30431 [BZ #12432]
30432 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
30433 (dummy_getcfa): New function.
30434 (init): Get _Unwind_GetCFA address, use dummy if not found.
30435 (backtrace_helper): In recursion check, also check whether CFA changes.
30436 (__backtrace): Completely initialize arg.
30437
30438 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
30439 storing incomplete byte sequence in state object. Avoid testing for
30440 guaranteed too small input if we know there is enough data available.
30441
304422011-05-11 Andreas Schwab <schwab@redhat.com>
30443
30444 * Makeconfig (+link-pie): Indent.
30445 * Rules (binaries-pie): Define if $(have-fpie) and
30446 $(build-shared).
30447 (binaries-shared): Also filter out $(binaries-pie).
30448 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
30449 * nscd/Makefile (others-pie): Add nscd.
30450 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
30451 ($(objpfx)nscd): Remove command override.
30452 * login/Makefile (others-pie): Add pt_chown.
30453 ($(objpfx)pt_chown): Remove command override.
30454 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
30455 remove command overrides.
30456
304572011-05-13 Ulrich Drepper <drepper@gmail.com>
30458
30459 * libio/tst_putwc.c: Fix error messages.
30460
30461 [BZ #12724]
30462 * libio/fileops.c (_IO_new_file_close_it): Always flush when
30463 currently writing and seek to current position when not.
30464 * libio/Makefile (tests): Add bug-fclose1.
30465 * libio/bug-fclose1.c: New file.
30466
304672011-05-12 Ulrich Drepper <drepper@gmail.com>
30468
30469 [BZ #12511]
30470 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
30471 don't set DF_1_NODELETE here.
30472 (do_lookup_x): When entering new entry test for copy relocation
30473 and if necessary set DF_1_NODELETE flag.
30474 * elf/tst-unique4.cc: New file.
30475 * elf/tst-unique4.h: New file.
30476 * elf/tst-unique4lib.cc: New file.
30477 * elf/Makefile: Add rules to build and run tst-unique4.
30478 Patch by Piotr Bury <pbury@goahead.com>.
30479
304802011-05-11 Ulrich Drepper <drepper@gmail.com>
30481
30482 [BZ #12052]
30483 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
30484
30485 [BZ #12625]
30486 * misc/mntent_r.c (addmntent): Flush the stream after the output
30487
30488 [BZ #12393]
30489 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
30490 (is_trusted_path_normalize): Skip initial colon. Append slash
30491 to empty buffer. Duplicate is_trusted_path code but allow
30492 constructed patch to be prefix.
30493 (is_dst): Allow $ORIGIN followed by /.
30494 (_dl_dst_substitute): Correct clearing of check_for_trusted.
30495 Correct testing of result of is_trusted_path_normalize
30496 (decompose_rpath): Fix warning.
30497
304982011-05-10 Ulrich Drepper <drepper@gmail.com>
30499
30500 [BZ #11257]
30501 * grp/initgroups.c (internal_getgrouplist): When we found the service
30502 list through the initgroups entry in nsswitch.conf do not always
30503 continue on a successful lookup. Don't always use the
30504 __nss_group_database value if it is set.
30505 * nss/nsswitch.conf (initgroups): Change action for successful db
30506 lookup to continue for compatibility.
30507
305082011-05-09 Ulrich Drepper <drepper@gmail.com>
30509
30510 [BZ #11532]
30511 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
30512 and CP774 modules.
30513 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
30514 and CP774 modules.
30515 * iconvdata/tst-tables.sh: Likewise.
30516 * iconvdata/cp770.c: New file.
30517 * iconvdata/cp771.c: New file.
30518 * iconvdata/cp772.c: New file.
30519 * iconvdata/cp773.c: New file.
30520 * iconvdata/cp774.c: New file.
30521 * iconvdata/testdata/CP770: New file.
30522 * iconvdata/testdata/CP770..UTF8: New file.
30523 * iconvdata/testdata/CP771: New file.
30524 * iconvdata/testdata/CP771..UTF8: New file.
30525 * iconvdata/testdata/CP772: New file.
30526 * iconvdata/testdata/CP772..UTF8: New file.
30527 * iconvdata/testdata/CP773: New file.
30528 * iconvdata/testdata/CP773..UTF8: New file.
30529 * iconvdata/testdata/CP774: New file.
30530 * iconvdata/testdata/CP774..UTF8: New file.
30531
30532 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
30533 END CHARMAP line.
30534 * iconvdata/gen-8bit-gap.sh: Likewise.
30535 * iconvdata/gen-8bit.sh: Likewise.
30536
30537 * locale/iso-639.def: Add ary entry.
30538
30539 [BZ #11258]
30540 * locale/C-translit.h.in: Add U20A1 transliteration.
30541
30542 [BZ #12178]
30543 * locale/iso-639.def: Add wae entry.
30544 Patch by Kevin Bortis <bortis@translate-wae.ch>.
30545
30546 [BZ #12545]
30547 * locale/programs/localedef.c (construct_output_path): Use ssize_t
30548 for n.
30549
30550 [BZ #12711]
30551 * locale/C-translit.h.in: Add entry for U20B9.
30552 Patch by pravin.d.s@gmail.com.
30553
305542011-05-08 Ulrich Drepper <drepper@gmail.com>
30555
30556 [BZ #12713]
30557 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
30558 ENAMETOOLONG use generic getcwd.
30559 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
30560 in rtld. Use *stat64.
30561 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
30562 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
30563 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
30564 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
30565 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
30566 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
30567 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
30568 __fstatat64 macros.
30569 * include/dirent.h: Add libc_hidden_proto for rewinddir.
30570 * dirent/rewinddir.c: Add libc_hidden_def.
30571 * sysdeps/mach/hurd/rewinddir.c: Likewise.
30572 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
30573
30574 * include/dirent.h (__alloc_dir): Add flags parameter.
30575 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
30576 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
30577 __alloc_dir.
30578 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
30579 from fdopendir if O_CLOEXEC is already set.
30580
305812011-03-15 Alan Modra <amodra@gmail.com>
30582
30583 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
30584 l_tls_firstbyte_offset non-zero. Save padding offset in
30585 l_tls_firstbyte_offset for later use.
30586 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
30587 freeing static tls block.
30588
305892011-03-05 Jonathan Nieder <jrnieder@gmail.com>
30590
30591 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
30592 where #ifdef was intended. The intent is to prevent ARG_MAX from
30593 being defined by the kernel headers.
30594
305952011-05-07 Ulrich Drepper <drepper@gmail.com>
30596
30597 [BZ #12734]
30598 * resolv/resolv.h: Define RES_NOTLDQUERY.
30599 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
30600 no-tld-query and set RES_NOTLDQUERY.
30601 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
30602 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
30603 modern BIND to search name as TLD unless forbidden.
30604
306052011-05-07 Petr Baudis <pasky@suse.cz>
30606 Ulrich Drepper <drepper@gmail.com>
30607
30608 [BZ #12393]
30609 * elf/dl-load.c (fillin_rpath): Move trusted path check...
30610 (is_trusted_path): ...to here.
30611 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
30612 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
30613 using is_trusted_path_normalize() in setuid scripts.
30614
306152011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30616
30617 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
30618 __BEGIN/__END_DECLS.
30619
306202011-05-06 Ulrich Drepper <drepper@gmail.com>
30621
30622 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
30623 NSS_STATUS_NOTFOUND if no record was found.
30624
306252011-05-05 Andreas Schwab <schwab@redhat.com>
30626
30627 * sunrpc/Makefile (headers): Add rpc/netdb.h.
30628 (headers-not-in-tirpc): Remove rpc/netdb.h
30629 * resolv/netdb.h: Revert last change.
30630
306312011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30632
30633 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
30634 circular dependency between libgcc.a and libc.a.
30635
306362011-05-05 Andreas Schwab <schwab@redhat.com>
30637
30638 * resolv/netdb.h: Don't include <rpc/netdb.h>.
30639 * nis/Makefile: Don't install rpcsvc/*.
30640 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
30641 instead of <rpc/types.h>.
30642 (MAXHOSTNAMELEN): Define.
30643
306442011-05-03 Andreas Schwab <schwab@redhat.com>
30645
30646 * elf/ldconfig.c (add_dir): Don't crash on empty path.
30647
306482011-04-28 Maciej Babinski <mbabinski@google.com>
30649
30650 [BZ #12714]
30651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
30652 gethostbyname4_r when IPv6 results are possible.
30653
306542011-05-02 Ulrich Drepper <drepper@gmail.com>
30655
30656 [BZ #12723]
30657 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
30658 _PC_PIPE_BUF handling.
30659
306602011-04-30 Bruno Haible <bruno@clisp.org>
30661
30662 [BZ #12717]
30663 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30664 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30665 to 'int'.
30666 * inet/getnameinfo.c (getnameinfo): Likewise.
30667
306682011-04-29 Ulrich Drepper <drepper@gmail.com>
30669
30670 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30671 to groups setting in database lookup.
30672 * nss/nsswitch.conf: Add initgroups entry.
30673
306742011-04-22 Ulrich Drepper <drepper@gmail.com>
30675
30676 [BZ #12685]
30677 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30678 mode string.
30679 Patch by Eric Blake <eblake@redhat.com>.
30680
306812011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30682
30683 * sunrpc/Makefile (need-export-routines): Add svc_run.
30684 (routines): Remove svc_run.
30685 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30686 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30687 * sunrpc/svc_run.c (svc_run): Likewise.
30688 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30689
306902011-04-21 Ulrich Drepper <drepper@gmail.com>
30691
30692 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30693 problem in reallocation in last patch.
30694
306952011-04-20 Ulrich Drepper <drepper@gmail.com>
30696
30697 * sunrpc/Makefile: Move inclusion of Rules.
30698
306992011-04-19 Ulrich Drepper <drepper@gmail.com>
30700
30701 * nss/nss_files/files-initgroups.c: New file.
30702 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30703 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30704 _nss_files_initgroups_dyn.
30705
307062011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30707
30708 * elf/elf.h (R_ARM_IRELATIVE): Define.
30709
307102011-04-19 Ulrich Drepper <drepper@gmail.com>
30711
30712 * po/ru.po: Update from translation team.
30713
307142011-04-17 Ulrich Drepper <drepper@gmail.com>
30715
30716 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30717 dependencies.
30718
307192011-02-06 Mike Frysinger <vapier@gentoo.org>
30720
30721 [BZ #12653]
30722 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30723 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30725 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30726 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30727
307282011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30729
30730 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30731 differing bytes.
30732 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30733 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30734 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30735
307362011-04-17 Ulrich Drepper <drepper@gmail.com>
30737
30738 [BZ #12420]
30739 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30740 storing it.
30741 * stdlib/bug-getcontext.c: New file.
30742 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30743
307442011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30745
30746 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30747 instructions into .machine "z9-109".
30748 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30749 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30750
307512011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30752
30753 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30754 between environment variables and auxiliary vector.
30755
307562011-04-16 Ulrich Drepper <drepper@gmail.com>
30757
30758 * Makefile: Add rules to build linkobj/libc.so.
30759 * include/libc-symbols.h: Define libc_hidden_nolink.
30760 * include/rpc/auth.h: Mark functions which are to be hidden.
30761 * include/rpc/auth_des.h: Likewise.
30762 * include/rpc/auth_unix.h: Likewise.
30763 * include/rpc/clnt.h: Likewise.
30764 * include/rpc/des_crypt.h: Likewise.
30765 * include/rpc/key_prot.h: Likewise.
30766 * include/rpc/pmap_clnt.h: Likewise.
30767 * include/rpc/pmap_prot.h: Likewise.
30768 * include/rpc/pmap_rmt.h: Likewise.
30769 * include/rpc/rpc_msg.h: Likewise.
30770 * include/rpc/svc.h: Likewise.
30771 * include/rpc/svc_auth.h: Likewise.
30772 * include/rpc/xdr.h: Likewise.
30773 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30774 * nss/Makefile: Likewise.
30775 * sunrpc/Makefile: Don't install headers. Build library with normal
30776 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30777 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30778 for the compat linking library. Remove use of INTDEF/INTUSE.
30779 * sunrpc/auth_none.c: Likewise.
30780 * sunrpc/auth_unix.c: Likewise.
30781 * sunrpc/authdes_prot.c: Likewise.
30782 * sunrpc/authuxprot.c: Likewise.
30783 * sunrpc/clnt_gen.c: Likewise.
30784 * sunrpc/clnt_perr.c: Likewise.
30785 * sunrpc/clnt_raw.c: Likewise.
30786 * sunrpc/clnt_simp.c: Likewise.
30787 * sunrpc/clnt_tcp.c: Likewise.
30788 * sunrpc/clnt_udp.c: Likewise.
30789 * sunrpc/clnt_unix.c: Likewise.
30790 * sunrpc/des_crypt.c: Likewise.
30791 * sunrpc/des_soft.c: Likewise.
30792 * sunrpc/get_myaddr.c: Likewise.
30793 * sunrpc/key_call.c: Likewise.
30794 * sunrpc/key_prot.c: Likewise.
30795 * sunrpc/netname.c: Likewise.
30796 * sunrpc/pm_getmaps.c: Likewise.
30797 * sunrpc/pm_getport.c: Likewise.
30798 * sunrpc/pmap_clnt.c: Likewise.
30799 * sunrpc/pmap_prot.c: Likewise.
30800 * sunrpc/pmap_prot2.c: Likewise.
30801 * sunrpc/pmap_rmt.c: Likewise.
30802 * sunrpc/publickey.c: Likewise.
30803 * sunrpc/rpc_cmsg.c: Likewise.
30804 * sunrpc/rpc_common.c: Likewise.
30805 * sunrpc/rpc_dtable.c: Likewise.
30806 * sunrpc/rpc_prot.c: Likewise.
30807 * sunrpc/rpc_thread.c: Likewise.
30808 * sunrpc/rtime.c: Likewise.
30809 * sunrpc/svc.c: Likewise.
30810 * sunrpc/svc_auth.c: Likewise.
30811 * sunrpc/svc_authux.c: Likewise.
30812 * sunrpc/svc_raw.c: Likewise.
30813 * sunrpc/svc_run.c: Likewise.
30814 * sunrpc/svc_simple.c: Likewise.
30815 * sunrpc/svc_tcp.c: Likewise.
30816 * sunrpc/svc_udp.c: Likewise.
30817 * sunrpc/svc_unix.c: Likewise.
30818 * sunrpc/svcauth_des.c: Likewise.
30819 * sunrpc/xcrypt.c: Likewise.
30820 * sunrpc/xdr.c: Likewise.
30821 * sunrpc/xdr_array.c: Likewise.
30822 * sunrpc/xdr_float.c: Likewise.
30823 * sunrpc/xdr_intXX_t.c: Likewise.
30824 * sunrpc/xdr_mem.c: Likewise.
30825 * sunrpc/xdr_rec.c: Likewise.
30826 * sunrpc/xdr_ref.c: Likewise.
30827 * sunrpc/xdr_sizeof.c: Likewise.
30828 * sunrpc/xdr_stdio.c: Likewise.
30829
308302011-04-10 Ulrich Drepper <drepper@gmail.com>
30831
30832 [BZ #12650]
30833 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30834 * sysdeps/ia64/dl-tls.h: Likewise.
30835 * sysdeps/powerpc/dl-tls.h: Likewise.
30836 * sysdeps/s390/dl-tls.h: Likewise.
30837 * sysdeps/sh/dl-tls.h: Likewise.
30838 * sysdeps/sparc/dl-tls.h: Likewise.
30839 * sysdeps/x86_64/dl-tls.h: Likewise.
30840 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30841
308422011-03-14 Andreas Schwab <schwab@redhat.com>
30843
30844 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30845 rpath element also skip the following colon.
30846 (expand_dynamic_string_token): Add is_path parameter and pass
30847 down to DL_DST_REQUIRED and _dl_dst_substitute.
30848 (decompose_rpath): Call expand_dynamic_string_token with
30849 non-zero is_path. Ignore empty rpaths.
30850 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30851 with zero is_path.
30852
308532011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30854
30855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30856 Make cancelable.
30857
308582011-04-09 Ulrich Drepper <drepper@gmail.com>
30859
30860 [BZ #12655]
30861 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30862 Patch by Filipe David Manana <fdmanana@apache.org>.
30863
308642011-04-07 Andreas Schwab <schwab@redhat.com>
30865
30866 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30867 Maintain aligned stack.
30868 (CHECK_RSP): Remove unused macro.
30869
308702011-04-03 Ulrich Drepper <drepper@gmail.com>
30871
30872 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30873 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30874
308752011-04-02 Ulrich Drepper <drepper@gmail.com>
30876
30877 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30878
30879 * include/features.h: Mention __USE_XOPEN2K8 in comment.
30880
308812011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30882
30883 [BZ #12518]
30884 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30885 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30886 * sysdeps/x86_64/memmove.c: New file.
30887 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30888 (memcpy): Renamed to ...
30889 (__new_memcpy): This.
30890 (memcpy): Provide GLIBC_2_14 memcpy.
30891 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30892 (memcpy): Provide GLIBC_2_2_5 memcpy.
30893
308942011-04-01 Ulrich Drepper <drepper@gmail.com>
30895
30896 [BZ #12631]
30897 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30898
308992011-03-30 Andreas Schwab <schwab@redhat.com>
30900
30901 * misc/syncfs.c: New file.
30902 * misc/Makefile (routines): Add syncfs.
30903 * posix/unistd.h: Declare syncfs.
30904 * sysdeps/unix/syscalls.list: Add syncfs.
30905
309062011-04-01 Andreas Schwab <schwab@redhat.com>
30907
30908 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30909 open_by_handle_at.
30910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30911 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30915 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30917
309182011-04-01 Ulrich Drepper <drepper@gmail.com>
30919
30920 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30924 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30926 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30927
30928 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30929 sync_file_range.c with -fexceptions.
30930 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30931 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30932 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30933 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30934 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30935 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
30937 sync_file_range as cancellation point
30938 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30939 now a wrapper around __call_sync_file_range with cancellation handling.
30940 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30941 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30942 function name to __call_sync_file_range.
30943 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30944 Add call_sync_file_range.
30945
309462011-04-01 Andreas Schwab <schwab@redhat.com>
30947
30948 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30949 bits/timex.h.
30950
309512011-04-01 Ulrich Drepper <drepper@gmail.com>
30952
30953 * iconv/iconv.h: Fix typo in comment.
30954 * io/fcntl.h: Likewise.
30955 * libio/stdio.h: Likewise.
30956 * posix/spawn.h: Likewise.
30957 * posix/unistd.h: Likewise.
30958 * stdlib/stdlib.h: Likewise.
30959 * time/time.h: Likewise.
30960 * wcsmbs/wchar.h: Likewise.
30961
30962 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30963 open_by_handle): Add.
30964 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30965 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30966 Augment a few comments.
30967 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30969 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30971 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30972 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30973 open_by_handle.
30974
30975 * io/fcntl.h (AT_EMPTY_PATH): Define.
30976
309772011-03-30 Ulrich Drepper <drepper@gmail.com>
30978
30979 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30980 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30981 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30982 to...
30983 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
30984 * Versions.def: Add GLIBC_2.14.
30985 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30986 Export.
30987
309882011-03-22 Ulrich Drepper <drepper@gmail.com>
30989
30990 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30991 round counter.
30992 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30993
309942011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30995
30996 [BZ #12597]
30997 * string/test-strncmp.c (do_page_test): New function.
30998 (check2): Likewise.
30999 (test_main): Call check2.
31000 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31001
310022011-03-20 Ulrich Drepper <drepper@gmail.com>
31003
31004 [BZ #12587]
31005 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31006 Handle cache information in CPU leaf 4.
31007 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31008
310092011-03-18 Ulrich Drepper <drepper@gmail.com>
31010
31011 [BZ #12583]
31012 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31013 character representation.
31014 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31015
310162011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31017
31018 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31019 END(__isnan) to END(__isnanf) to match function entry point/label
31020 EALIGN(__isnanf,...).
31021
310222011-03-10 Jakub Jelinek <jakub@redhat.com>
31023
31024 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31025
310262011-03-10 Ulrich Drepper <drepper@gmail.com>
31027
31028 [BZ #12510]
31029 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31030 copy from the symbol referenced in the relocation to initialize the
31031 used variable.
31032 Patch by Piotr Bury <pbury@goahead.com>.
31033 * elf/Makefile: Add rules to build and tst-unique3.
31034 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31035 * elf/tst-unique3.cc: New file.
31036 * elf/tst-unique3.h: New file.
31037 * elf/tst-unique3lib.cc: New file.
31038 * elf/tst-unique3lib2.cc: New file.
31039
31040 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31041
310422011-03-10 Mike Frysinger <vapier@gentoo.org>
31043
31044 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31045 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31046 to _start.
31047
310482011-03-06 Ulrich Drepper <drepper@gmail.com>
31049
31050 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31051 to-be-loaded object along a path to loader is ld.so.
31052
310532011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31054 Ulrich Drepper <drepper@gmail.com>
31055
31056 * sysdeps/x86_64/memset.S: After aligning destination, code
31057 branches to different locations depending on the value of
31058 misalignment, when multiarch is enabled. Fix this.
31059
310602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31061
31062 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31063 Set _x86_64_preferred_memory_instruction for AMD processsors.
31064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31065 Set bit_Prefer_SSE_for_memop for AMD processors.
31066
310672011-03-04 Ulrich Drepper <drepper@gmail.com>
31068
31069 * libio/fmemopen.c (fmemopen): Optimize a bit.
31070
310712011-03-03 Andreas Schwab <schwab@redhat.com>
31072
31073 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31074
310752011-03-03 Roland McGrath <roland@redhat.com>
31076
31077 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31078
310792011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31080
31081 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31082 __bzero_ultra1 instead of __memset_ultra1.
31083
310842011-02-23 Andreas Schwab <schwab@redhat.com>
31085 Ulrich Drepper <drepper@gmail.com>
31086
31087 [BZ #12509]
31088 * include/link.h (struct link_map): Add l_orig_initfini.
31089 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31090 returning unsuccessfully.
31091 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31092 close of a file loaded at startup, restore the original l_initfini
31093 list.
31094 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31095 list, store the pointer.
31096 * elf/Makefile ($(objpfx)noload-mem): New rule.
31097 (noload-ENV): Define.
31098 (tests): Add $(objpfx)noload-mem.
31099 * elf/noload.c: Include <memcheck.h>.
31100 (main): Call mtrace. Close all opened handles.
31101
311022011-02-17 Andreas Schwab <schwab@redhat.com>
31103
31104 [BZ #12454]
31105 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31106 dependencies are missing.
31107
311082011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31109
31110 Fix __if_freereq crash: Unlike the generic version which uses free,
31111 Hurd needs munmap.
31112 * sysdeps/mach/hurd/ifreq.h: New file.
31113
311142011-01-27 Petr Baudis <pasky@suse.cz>
31115 Ulrich Drepper <drepper@gmail.com>
31116
31117 [BZ 12445]#
31118 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31119 to extend_alloca().
31120 * stdio-common/bug23.c: New file.
31121 * stdio-common/Makefile (tests): Add bug23.
31122
311232010-09-28 Andreas Schwab <schwab@redhat.com>
31124 Ulrich Drepper <drepper@gmail.com>
31125
31126 [BZ #12489]
31127 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31128 before performing relro protection. At old place add assertion
31129 to make sure nothing changed.
31130
311312011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31132 Glauber de Oliveira Costa <glommer@gmail.com>
31133
31134 * elf/elf.h: Add new ARM TLS relocs.
31135
311362011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31137
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31139 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31140 cast from r3.
31141 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31142 'tests' variable.
31143 * sysdeps/wordsize-64/tst-writev.c: New file.
31144
311452011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31146
31147 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31148 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31149 insns in _dl_start to prevent a TOC reference before relocs are
31150 resolved.
31151
311522011-02-15 Ulrich Drepper <drepper@gmail.com>
31153
31154 [BZ #12469]
31155 * Makeconfig: Remove RANLIB definition.
31156 * Makerules: Don't use RANLIB.
31157 * aclocal.m4: Remove ranlib test.
31158 * configure.in: No need to check for ranlib.
31159 * elf/rtld-Rules: Don't use RANLIB.
31160
311612011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31162
31163 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31164 protection macro.
31165 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31166 inclusion protection macro.
31167
31168 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31169 SIGRTMIN and SIGRTMAX and print information in that case only when
31170 SIGRTMIN is defined.
31171
311722011-02-11 Jakub Jelinek <jakub@redhat.com>
31173
31174 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31175 arginfo fn returning -1.
31176
31177 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31178 and thousands string is zero terminated.
31179
311802011-02-03 Andreas Schwab <schwab@redhat.com>
31181
31182 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31183 sysdeps/unix/sysv/linux/bits/socket.h.
31184
311852011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31186
31187 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31188 (__CPU_COUNT): Remove old macros.
31189 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31190 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31191 (__CPU_ALLOC, __CPU_FREE): Add macros.
31192 (__sched_cpualloc, __sched_cpufree): Add declarations.
31193
311942011-02-05 Ulrich Drepper <drepper@gmail.com>
31195
31196 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31197 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31198 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31199 (readdhstai): Return value of addhstaiX call.
31200 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31201 (addgrbyX): Return value returned by cache_addgr.
31202 (readdgrbyname): Return value returned by addgrbyX.
31203 (readdgrbygid): Likewise.
31204 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31205 (addpwbyX): Return value returned by cache_addpw.
31206 (readdpwbyname): Return value returned by addhstbyX.
31207 (readdpwbyuid): Likewise.
31208 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31209 (addservbyX): Return value returned by cache_addserv.
31210 (readdservbyname): Return value returned by addservbyX:
31211 (readdservbyport): Likewise.
31212 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31213 (addhstbyX): Return value returned by cache_addhst.
31214 (readdhstbyname): Return value returned by addhstbyX.
31215 (readdhstbyaddr): Likewise.
31216 (readdhstbynamev6): Likewise.
31217 (readdhstbyaddrv6): Likewise.
31218 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31219 (readdinitgroups): Return value returned by addinitgroupsX.
31220 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31221 (prune_cache): Keep track of timeout value of re-added entries.
31222 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31223 * nscd/nscd.h: Adjust prototypes of readd* functions.
31224
312252011-02-04 Roland McGrath <roland@redhat.com>
31226
31227 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31228 (nis_stats): Likewise.
31229 * nis/nis_modify.c (nis_modify): Likewise.
31230 * nis/nis_remove.c (nis_remove): Likewise.
31231 * nis/nis_add.c (nis_add): Likewise.
31232
31233 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31234
31235 * posix/fnmatch_loop.c: Add some consts.
31236
31237 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31238
312392011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31240
31241 [BZ #12460]
31242 * config.make.in (config-cflags-novzeroupper): Define.
31243 * configure.in: Substitute libc_cv_cc_novzeroupper.
31244 * elf/Makefile (AVX-CFLAGS): Define.
31245 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31246 (CFLAGS-tst-auditmod4a.c): Likewise.
31247 (CFLAGS-tst-auditmod4b.c): Likewise.
31248 (CFLAGS-tst-auditmod6b.c): Likewise.
31249 (CFLAGS-tst-auditmod6c.c): Likewise.
31250 (CFLAGS-tst-auditmod7b.c): Likewise.
31251 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31252
312532011-02-02 Ulrich Drepper <drepper@gmail.com>
31254
31255 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31256 function to the callback.
31257 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31258
312592011-02-02 Andreas Schwab <schwab@redhat.com>
31260
31261 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31262 of errno.
31263
312642011-01-19 Ulrich Drepper <drepper@gmail.com>
31265
31266 [BZ #11724]
31267 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31268 of constructors.
31269 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31270 of destructors.
31271 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31272
31273 [BZ #11724]
31274 * elf/Makefile: Add rules to build and run new test.
31275 * elf/tst-initorder.c: New file.
31276 * elf/tst-initorder.exp: New file.
31277 * elf/tst-initordera1.c: New file.
31278 * elf/tst-initordera2.c: New file.
31279 * elf/tst-initordera3.c: New file.
31280 * elf/tst-initordera4.c: New file.
31281 * elf/tst-initorderb1.c: New file.
31282 * elf/tst-initorderb2.c: New file.
31283 * elf/tst-order-a1.c: New file.
31284 * elf/tst-order-a2.c: New file.
31285 * elf/tst-order-a3.c: New file.
31286 * elf/tst-order-a4.c: New file.
31287 * elf/tst-order-b1.c: New file.
31288 * elf/tst-order-b2.c: New file.
31289 * elf/tst-order-main.c: New file.
31290 New test case by George Gensure <werkt0@gmail.com>.
31291
312922010-10-01 Andreas Schwab <schwab@redhat.com>
31293
31294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31295 decoding ACE if AI_CANONIDN.
31296
312972011-01-18 Ulrich Drepper <drepper@gmail.com>
31298
31299 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31300
313012011-01-17 Ulrich Drepper <drepper@gmail.com>
31302
31303 * version.h (RELEASE): Bump for 2.13 release.
31304 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31305
31306 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31307
31308 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31309 MADV_NOHUGEPAGE.
31310 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31311 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31312 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31313 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31314 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31315 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31316
31317 * posix/getconf.c: Update copyright year.
31318 * catgets/gencat.c: Likewise.
31319 * csu/version.c: Likewise.
31320 * debug/catchsegv.sh: Likewise.
31321 * debug/xtrace.sh: Likewise.
31322 * elf/ldconfig.c: Likewise.
31323 * elf/ldd.bash.in: Likewise.
31324 * elf/sprof.c (print_version): Likewise.
31325 * iconv/iconv_prog.c: Likewise.
31326 * iconv/iconvconfig.c: Likewise.
31327 * locale/programs/locale.c: Likewise.
31328 * locale/programs/localedef.c: Likewise.
31329 * malloc/memusage.sh: Likewise.
31330 * malloc/mtrace.pl: Likewise.
31331 * nscd/nscd.c (print_version): Likewise.
31332 * nss/getent.c: Likewise.
31333
31334 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
31335 PF_CAIF, and PF_ALG.
31336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31337
313382011-01-16 Andreas Schwab <schwab@linux-m68k.org>
31339
31340 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
31341 (modules-names): Use them.
31342 (ifunc-test-modules, ifunc-pie-tests): Define.
31343 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
31344 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
31345 (test-extras): Likewise.
31346 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
31347 $(compile-command.c).
31348 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
31349 (all-built-dso): Define.
31350 (check-textrel.out, check-execstack.out): Depend on it.
31351
31352 * configure.in: Don't override --enable-multi-arch.
31353
313542011-01-15 Ulrich Drepper <drepper@gmail.com>
31355
31356 [BZ #6812]
31357 * nscd/hstcache.c (tryagain): Define.
31358 (cache_addhst): Return tryagain not notfound for temporary errors.
31359 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
31360 failed.
31361
313622011-01-14 Ulrich Drepper <drepper@gmail.com>
31363
31364 [BZ #10563]
31365 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
31366 to make the syscall.
31367 * sysdeps/unix/sysv/linux/setgroups.c: New file.
31368
31369 [BZ #12378]
31370 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
31371 and fall back to matching as normal character if the string ends before
31372 the matching ']' is found. This is what POSIX requires.
31373 * posix/testfnm.c: Adjust test result.
31374 * posix/globtest.sh: Adjust test result. Add new test.
31375 * posix/tst-fnmatch.input: Likewise.
31376 * posix/tst-fnmatch2.c: Add new test.
31377
313782010-12-28 Andreas Schwab <schwab@linux-m68k.org>
31379
31380 * elf/Makefile (check-execstack): Revert last change. Depend on
31381 check-execstack.h.
31382 (check-execstack.h): New target.
31383 (generated): Add check-execstack.h.
31384 * elf/check-execstack.c: Include "check-execstack.h".
31385 (main): Revert last change.
31386 (handle_file): Return zero if GNU_STACK is absent and
31387 DEFAULT_STACK_PERMS doesn't include PF_X.
31388
313892011-01-13 Ulrich Drepper <drepper@gmail.com>
31390
31391 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
31392 in child fails because the descriptor is already closed.
31393 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
31394 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
31395 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
31396
31397 [BZ #12397]
31398 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
31399 syscall.
31400
31401 [BZ #10484]
31402 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
31403 temporary buffer used to handle multi lookups locally.
31404 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
31405
314062011-01-12 Ulrich Drepper <drepper@gmail.com>
31407
31408 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
31409 loader is ld.so.
31410
314112011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
31412
31413 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
31414 alignment for SSE2.
31415
314162011-01-12 Ulrich Drepper <drepper@gmail.com>
31417
31418 [BZ #12394]
31419 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
31420 characters. When rounding increased number of integer digits recompute
31421 number of groups.
31422 * stdio-common/tst-grouping.c: New file.
31423 * stdio-common/Makefile: Add rules to build and run tst-grouping.
31424
314252011-01-09 Ulrich Drepper <drepper@gmail.com>
31426
31427 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
31428 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
31429
31430 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
31431 void.
31432 * bits/select.h: Likewise.
31433
314342011-01-08 Ulrich Drepper <drepper@gmail.com>
31435
31436 * po/ja.po: Update from translation team.
31437
314382011-01-04 David S. Miller <davem@sunset.davemloft.net>
31439
31440 [BZ #11155]
31441 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
31442 implementation just like for lxstat, fxstatat, et al.
31443
314442010-12-27 Jim Meyering <meyering@redhat.com>
31445
31446 [BZ #12348]
31447 * posix/regexec.c (build_trtable): Return failure indication upon
31448 calloc failure. Otherwise, re_search_internal could infloop on OOM.
31449
314502010-12-25 Ulrich Drepper <drepper@gmail.com>
31451
31452 [BZ #12201]
31453 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
31454 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
31455 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
31456 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
31457
31458 [BZ #12207]
31459 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
31460
31461 [BZ #12204]
31462 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
31463 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
31464
314652010-12-15 H.J. Lu <hongjiu.lu@intel.com>
31466
31467 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
31468 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
31469 script has SORT_BY_INIT_PRIORITY.
31470 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
31471 NO_CTORS_DTORS_SECTIONS is defined.
31472 * elf/soinit.c: Likewise.
31473 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
31474 NO_CTORS_DTORS_SECTIONS is defined.
31475 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
31476 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
31477 * sysdeps/sh/init-first.c: Likewise.
31478 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
31479
314802010-12-24 Ulrich Drepper <drepper@gmail.com>
31481
31482 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
31483 always use the slow path.
31484
314852010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
31486
31487 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
31488 similar rule which adds the sysdep directories to the header search in
31489 order to pick up the correct platform stackinfo.h.
31490 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
31491 perform test if it is, otherwise return successfully without testing.
31492 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
31493 DEFAULT_STACK_PERMS define in stackinfo.h.
31494 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
31495 defined in stackinfo.h.
31496 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
31497 DEFAULT_STACK_PERMS defined in stackinfo.h.
31498 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
31499 * sysdeps/ia64/stackinfo.h: Likewise.
31500 * sysdeps/s390/stackinfo.h: Likewise.
31501 * sysdeps/sh/stackinfo.h: Likewise.
31502 * sysdeps/sparc/stackinfo.h: Likewise.
31503 * sysdeps/x86_64/stackinfo.h: Likewise.
31504 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
31505 PF_X for powerpc64. Retain PF_X for powerpc32.
31506
315072010-12-19 Ulrich Drepper <drepper@gmail.com>
31508
31509 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
31510 accurately.
31511 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
31512 GETDENTS_64BIT_ALIGNED.
31513
315142010-12-14 Ulrich Drepper <dreper@gmail.com>
31515
31516 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
31517
315182010-12-10 Andreas Schwab <schwab@redhat.com>
31519
31520 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
31521 _GNU_SOURCE.
31522
31523 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
31524 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
31525 Remove __restrict.
31526 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
31527 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
31528
315292010-12-09 Ulrich Drepper <drepper@gmail.com>
31530
31531 [BZ #11655]
31532 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
31533 are initialized.
31534
315352010-12-09 Jakub Jelinek <jakub@redhat.com>
31536
31537 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
31538
315392010-12-03 Ulrich Drepper <drepper@gmail.com>
31540
31541 * po/it.po: Update from translation team.
31542
315432010-12-01 H.J. Lu <hongjiu.lu@intel.com>
31544
31545 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
31546 unused codes.
31547
315482010-11-30 Ulrich Drepper <drepper@gmail.com>
31549
31550 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
31551
315522010-11-24 Andreas Schwab <schwab@redhat.com>
31553
31554 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
31555 specially.
31556 (gaih_getanswer_slice): Likewise.
31557
315582010-10-20 Jakub Jelinek <jakub@redhat.com>
31559
31560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
31561
315622010-05-31 Petr Baudis <pasky@suse.cz>
31563
31564 [BZ #11149]
31565 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
31566 silently even in the chroot mode.
31567
315682010-11-22 Ulrich Drepper <drepper@gmail.com>
31569
31570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
31571 last patch a bit. Pretty printing
31572
315732010-05-31 Petr Baudis <pasky@suse.cz>
31574
31575 [BZ #10085]
31576 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
31577 initialization of skip_initgroups_dyn.
31578
315792010-11-19 Ulrich Drepper <drepper@gmail.com>
31580
31581 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
31582 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31583
315842010-11-16 Ulrich Drepper <drepper@gmail.com>
31585
31586 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
31587
315882010-11-11 Andreas Schwab <schwab@redhat.com>
31589
31590 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
31591 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
31592 (tst-fnmatch-ENV): Set MALLOC_TRACE.
31593 ($(objpfx)tst-fnmatch-mem): New rule.
31594 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
31595 * posix/tst-fnmatch.c (main): Call mtrace.
31596
315972010-11-11 H.J. Lu <hongjiu.lu@intel.com>
31598
31599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31600 Support Intel processor model 6 and model 0x2c.
31601
316022010-11-10 Luis Machado <luisgpm@br.ibm.com>
31603
31604 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
31605 signed comparison.
31606
316072010-11-09 H.J. Lu <hongjiu.lu@intel.com>
31608
31609 [BZ #12205]
31610 * string/test-strncasecmp.c (check_result): New function.
31611 (do_one_test): Use it.
31612 (check1): New function.
31613 (test_main): Use it.
31614 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
31615 Support strcasecmp and strncasecmp.
31616
316172010-11-08 Ulrich Drepper <drepper@gmail.com>
31618
31619 [BZ #12194]
31620 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
31621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31622
316232010-11-07 H.J. Lu <hongjiu.lu@intel.com>
31624
31625 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
31626 IFUNC support.
31627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31628 memset-x86-64.
31629 * sysdeps/x86_64/multiarch/bzero.S: New file.
31630 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
31631 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
31632 * sysdeps/x86_64/multiarch/memset.S: New file.
31633 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
31634 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31635 Set bit_Prefer_SSE_for_memop for Intel processors.
31636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
31637 Define.
31638 (index_Prefer_SSE_for_memop): Define.
31639 (HAS_PREFER_SSE_FOR_MEMOP): Define.
31640
316412010-11-04 Luis Machado <luisgpm@br.ibm.com>
31642
31643 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
31644 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
31645
316462010-11-03 H.J. Lu <hongjiu.lu@intel.com>
31647
31648 [BZ #12191]
31649 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31650 (__x86_64_raw_data_cache_size_half): Likewise.
31651 (__x86_64_raw_shared_cache_size): Likewise.
31652 (__x86_64_raw_shared_cache_size_half): Likewise.
31653
31654 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
31655 (__x86_64_raw_data_cache_size_half): Likewise.
31656 (__x86_64_raw_shared_cache_size): Likewise.
31657 (__x86_64_raw_shared_cache_size_half): Likewise.
31658 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
31659 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
31660 and __x86_64_raw_shared_cache_size_half. Round
31661 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31662 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31663 to multiple of 256 bytes.
31664
316652010-11-03 Ulrich Drepper <drepper@gmail.com>
31666
31667 [BZ #12167]
31668 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31669 of inacessible symlinks. Verify result of symlink before returning it.
31670 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31671 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31672
316732010-10-28 Erich Ritz <erichritz@gmail.com>
31674
31675 * math/math.h (isinf): Fix typo in comment.
31676
316772010-11-01 Ulrich Drepper <drepper@gmail.com>
31678
31679 * po/da.po: Update from translation team.
31680
316812010-10-26 Ulrich Drepper <drepper@gmail.com>
31682
31683 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31684 is added to the list.
31685
316862010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31687 Ulrich Drepper <drepper@gmail.com>
31688
31689 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31690 the global list here. Move code to...
31691 (_dl_add_to_namespace_list): ...here. New function.
31692 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31693 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31694 * elf/dl-load.c (lose): Don't remove the element from the list.
31695 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31696 (_dl_map_object): Likewise.
31697
316982010-10-25 Ulrich Drepper <drepper@gmail.com>
31699
31700 [BZ #12159]
31701 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31702 into all bytes of SSE register.
31703 Patch by Richard Li <richardpku@gmail.com>.
31704
317052010-10-24 Ulrich Drepper <drepper@gmail.com>
31706
31707 [BZ #12140]
31708 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31709 perturbing.
31710
317112010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31712
31713 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31714 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31715 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31716 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31718 submachine.
31719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31720
317212010-10-22 Andreas Schwab <schwab@redhat.com>
31722
31723 * include/dlfcn.h (__RTLD_SECURE): Define.
31724 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31725 mode & __RTLD_SECURE instead.
31726 (open_path): Rename preloaded parameter to secure.
31727 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31728 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31729 * elf/dl-deps.c (openaux): Likewise.
31730 * elf/rtld.c (struct map_args): Remove is_preloaded.
31731 (map_doit): Don't use it.
31732 (dl_main): Likewise.
31733 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31734 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31735
317362010-09-09 Andreas Schwab <schwab@redhat.com>
31737
31738 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31739 (sysd-rules-targets): Remove duplicates.
31740 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31741 rtld-%.$o dependency.
31742
317432010-10-18 Andreas Schwab <schwab@redhat.com>
31744
31745 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31746 _dl_map_object do it.
31747
317482010-10-19 Ulrich Drepper <drepper@gmail.com>
31749
31750 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31751 fast fma builtins, define the macros in the C99 standard.
31752 (FP_FAST_FMAF): Likewise.
31753 (FP_FAST_FMAL): Likewise.
31754 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31755
31756 * bits/mathdef.h: Update copyright year.
31757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31758
317592010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31760
31761 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31762 builtins, define the macros in the C99 standard.
31763 (FP_FAST_FMAF): Likewise.
31764 (FP_FAST_FMAL): Likewise.
31765 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31766 multiply/add.
31767 (FP_FAST_FMAF): Likewise.
31768
317692010-10-15 Jakub Jelinek <jakub@redhat.com>
31770
31771 [BZ #3268]
31772 * math/libm-test.inc (fma_test): Some new testcases.
31773 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31774 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31775 y and infinite z. Do multiplication by C already in long double.
31776 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31778 y and infinite z. Do bitwise or of inexact bit into u.d.
31779 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31780 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31781 * sysdeps/i386/fpu/s_fma.S: Removed.
31782 * sysdeps/i386/fpu/s_fmal.S: Removed.
31783
317842010-10-16 Jakub Jelinek <jakub@redhat.com>
31785
31786 [BZ #3268]
31787 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31788 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31789 computation is not scheduled after fetestexcept. Fix value
31790 of minimum denormal long double.
31791
317922010-10-14 Jakub Jelinek <jakub@redhat.com>
31793
31794 [BZ #3268]
31795 * math/libm-test.inc (fma_test): Add some more tests.
31796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31797 correctly.
31798
317992010-10-15 Andreas Schwab <schwab@redhat.com>
31800
31801 * scripts/data/localplt-s390-linux-gnu.data: New file.
31802 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31803
318042010-10-13 Jakub Jelinek <jakub@redhat.com>
31805
31806 [BZ #3268]
31807 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31808 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31809 instead of dbl-64.
31810 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31811 inlines.
31812 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31814 if one of x and y is very large and the other is subnormal.
31815 * sysdeps/s390/fpu/s_fmaf.c: New file.
31816 * sysdeps/s390/fpu/s_fma.c: New file.
31817 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31818 * sysdeps/powerpc/fpu/s_fma.S: New file.
31819 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31820 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31821 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31822
318232010-10-12 Jakub Jelinek <jakub@redhat.com>
31824
31825 [BZ #3268]
31826 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31827 fma tests.
31828 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31829 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31830 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31831 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31832 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31833 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31834 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31835
318362010-10-12 Ulrich Drepper <drepper@redhat.com>
31837
31838 [BZ #12078]
31839 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31840 * posix/bug-regex31.input: Add test case.
31841
318422010-10-11 Ulrich Drepper <drepper@gmail.com>
31843
31844 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31845 * posix/bug-regex31.input: New file.
31846
31847 [BZ #12078]
31848 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31849 (parse_sub_exp): Fix last change, use postorder.
31850
31851 * posix/bug-regex31.c: New file.
31852 * posix/Makefile: Add rules to build and run bug-regex31.
31853
31854 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31855
31856 [BZ #12078]
31857 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31858
31859 [BZ #12108]
31860 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31861 to have entries in sys_siglist.
31862
31863 [BZ #12093]
31864 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31865 be NULL.
31866
318672010-10-07 Jakub Jelinek <jakub@redhat.com>
31868
31869 [BZ #3268]
31870 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31871 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31872 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31873 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31874 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31875 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31876 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31877 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31878 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31879 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31880 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31881 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31882 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31883 * math/ftestexcept.c (fetestexcept): Likewise.
31884 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31885 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31886 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31887 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31888 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31889 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31890 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31891
318922010-10-11 Ulrich Drepper <drepper@gmail.com>
31893
31894 [BZ #12107]
31895 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31896 newline.
31897
318982010-10-06 Ulrich Drepper <drepper@gmail.com>
31899
31900 * string/bug-strstr1.c: New file.
31901 * string/Makefile: Add rules to build and run bug-strstr1.
31902
319032010-10-05 Eric Blake <eblake@redhat.com>
31904
31905 [BZ #12092]
31906 * string/str-two-way.h (two_way_long_needle): Always clear memory
31907 when skipping input due to the shift table.
31908
319092010-10-03 Ulrich Drepper <drepper@gmail.com>
31910
31911 [BZ #12005]
31912 * malloc/mcheck.c: Handle large requests.
31913
31914 [BZ #12077]
31915 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31916 for strncmp and strncasecmp.
31917 * string/stratcliff.c: Add tests for strcmp and strncmp.
31918 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31919
319202010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31921
31922 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31923 __set_fpscr.
31924
319252010-09-30 Andreas Jaeger <aj@suse.de>
31926
31927 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31928 (CGROUP_SUPER_MAGIC): Define.
31929 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31930 Handle btrfs and cgroup file systems.
31931 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31932 Likewise.
31933
319342010-09-27 Luis Machado <luisgpm@br.ibm.com>
31935
31936 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31937 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31938
319392010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31940
31941 [BZ #12067]
31942 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31943 trying to locate the ELF header.
31944
319452010-09-27 Andreas Schwab <schwab@redhat.com>
31946
31947 [BZ #11611]
31948 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31949 Mask out sign-bit copies when constructing f_fsid.
31950
319512010-09-24 Petr Baudis <pasky@suse.cz>
31952
31953 * debug/stack_chk_fail_local.c: Add missing licence exception.
31954 * debug/warning-nop.c: Likewise.
31955
319562010-09-15 Joseph Myers <joseph@codesourcery.com>
31957
31958 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31959 implementing getdents64 using getdents syscall, set d_type if
31960 __ASSUME_GETDENTS32_D_TYPE.
31961
319622010-09-16 Andreas Schwab <schwab@redhat.com>
31963
31964 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31965 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31966
319672010-09-21 Ulrich Drepper <drepper@redhat.com>
31968
31969 [BZ #12037]
31970 * posix/unistd.h: Undo change of feature selection for ftruncate from
31971 2010-01-11.
31972
319732010-09-20 Ulrich Drepper <drepper@redhat.com>
31974
31975 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
31976 detection.
31977
319782010-09-20 Andreas Schwab <schwab@redhat.com>
31979
31980 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31981 fanotify_mark.
31982 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31983
319842010-09-14 Andreas Schwab <schwab@redhat.com>
31985
31986 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31987 variables after CHECK_SP call.
31988 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31989
319902010-09-13 Andreas Schwab <schwab@redhat.com>
31991 Ulrich Drepper <drepper@redhat.com>
31992
31993 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31994 re-relocationg ld.so.
31995 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31996 _dl_init_paths call.
31997 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31998 here anymore.
31999
320002010-09-14 Ulrich Drepper <drepper@redhat.com>
32001
32002 * resolv/res_init.c (__res_vinit): Count the default server we added.
32003
320042010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32005 Ulrich Drepper <drepper@redhat.com>
32006
32007 [BZ #11968]
32008 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32009 (____longjmp_chk): Use %ebx for saving value across system call.
32010 Add unwind info.
32011
320122010-09-06 Andreas Schwab <schwab@redhat.com>
32013
32014 * manual/Makefile: Don't mix pattern rules with normal rules.
32015
320162010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32017
32018 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32019 operation.
32020 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32021 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32022 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32023 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32024 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32025 Likewise.
32026
320272010-09-04 Ulrich Drepper <drepper@redhat.com>
32028
32029 [BZ #11979]
32030 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32031 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32032
320332010-09-02 Ulrich Drepper <drepper@redhat.com>
32034
32035 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32036 * sysdeps/x86_64/addmul_1.S: Likewise.
32037 * sysdeps/x86_64/lshift.S: Likewise.
32038 * sysdeps/x86_64/mul_1.S: Likewise.
32039 * sysdeps/x86_64/rshift.S: Likewise.
32040 * sysdeps/x86_64/sub_n.S: Likewise.
32041 * sysdeps/x86_64/submul_1.S: Likewise.
32042
320432010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32044
32045 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32046 Define __sched_param instead of SCHED_* and sched_param when
32047 <bits/sched.h> is included with __need_schedparam defined.
32048 * bits/sched.h [__need_schedparam]
32049 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32050 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32051 (__defined_schedparam): Define to 1.
32052 (__sched_param): New structure, identical to sched_param.
32053 (__need_schedparam): Undefine.
32054
320552010-08-31 Mike Frysinger <vapier@gentoo.org>
32056
32057 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32058 (epoll_create1): Declare.
32059
32060 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32061
320622010-08-31 Andreas Schwab <schwab@redhat.com>
32063
32064 [BZ #7066]
32065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32066 shifting retval into place.
32067
320682010-09-01 Ulrich Drepper <drepper@redhat.com>
32069
32070 * nis/rpcsvc/nis.h: Update copyright notice.
32071 * nis/rpcsvc/nis.x: Likewise.
32072 * nis/rpcsvc/nis_callback.h: Likewise.
32073 * nis/rpcsvc/nis_callback.x: Likewise.
32074 * nis/rpcsvc/nis_object.x: Likewise.
32075 * nis/rpcsvc/nis_tags.h: Likewise.
32076 * nis/rpcsvc/yp.h: Likewise.
32077 * nis/rpcsvc/yp.x: Likewise.
32078 * nis/rpcsvc/ypupd.h: Likewise.
32079 * nis/yp_xdr.c: Likewise.
32080 * nis/ypupdate_xdr.c: Likewise.
32081
32082 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32083 mainly the body of pmap_getport. Add parameters to specify timeouts.
32084 (pmap_getport): Use __libc_rpc_getport.
32085 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32086 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32087 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32088
320892010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32090
32091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32092 fanotify_mark.
32093
320942010-08-27 Roland McGrath <roland@redhat.com>
32095
32096 * sysdeps/i386/i686/multiarch/Makefile
32097 (CFLAGS-varshift.c): New variable.
32098
320992010-08-27 Ulrich Drepper <drepper@redhat.com>
32100
32101 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32102 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32103
32104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32105
32106 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32107
321082010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32109
32110 * sysdeps/x86_64/strlen.S: Unroll the loop.
32111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32112 strlen-sse2 strlen-sse2-bsf.
32113 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32114 __strlen_no_bsf if bit_Slow_BSF is set.
32115 (__strlen_sse42): Removed.
32116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32117 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32118
321192010-08-25 Roland McGrath <roland@redhat.com>
32120
32121 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32122 * sysdeps/x86_64/multiarch/varshift.c: New file.
32123 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32124 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32125 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32126 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32127
321282010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32129
32130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32131 strlen-sse2 strlen-sse2-bsf.
32132 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32133 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32134 (__strlen_sse2): Removed.
32135 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32136 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32138 bit_Slow_BSF for Atom.
32139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32140 (index_Slow_BSF): Define.
32141 (HAS_SLOW_BSF): Define.
32142
321432010-08-25 Ulrich Drepper <drepper@redhat.com>
32144
32145 [BZ #10851]
32146 * resolv/res_init.c (__res_vinit): When no server address at all
32147 is given default to loopback.
32148
321492010-08-24 Roland McGrath <roland@redhat.com>
32150
32151 * configure.in: Remove config-name.h generation.
32152 * configure: Regenerated.
32153 * config-name.in: File removed.
32154 * scripts/config-uname.sh: New file.
32155 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32156 ($(objdir)config-name.h): New target.
32157
32158 * sunrpc/rpc_parse.h: Avoid nested comment.
32159
321602010-08-24 Richard Henderson <rth@redhat.com>
32161 Ulrich Drepper <drepper@redhat.com>
32162 H.J. Lu <hongjiu.lu@intel.com>
32163
32164 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32165 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32166 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32167 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32168 _mm_alignr_epi8 with _mm_loadu_si128.
32169 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32170 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32171 (__m128i_shift_right): Removed.
32172 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32173 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32174 * sysdeps/x86_64/multiarch/varshift.h: New file.
32175 * sysdeps/x86_64/multiarch/varshift.S: New file.
32176
321772010-08-21 Mike Frysinger <vapier@gentoo.org>
32178
32179 * configure.in: Move assembler checks to before sysdep dir checking.
32180
321812010-08-20 Petr Baudis <pasky@suse.cz>
32182
32183 * LICENSES: Sync the sunrpc license.
32184
321852010-08-19 Ulrich Drepper <drepper@redhat.com>
32186
32187 * sunrpc/auth_des.c: Update copyright notice once again.
32188 * sunrpc/auth_none.c: Likewise.
32189 * sunrpc/auth_unix.c: Likewise.
32190 * sunrpc/authdes_prot.c: Likewise.
32191 * sunrpc/authuxprot.c: Likewise.
32192 * sunrpc/bindrsvprt.c: Likewise.
32193 * sunrpc/clnt_gen.c: Likewise.
32194 * sunrpc/clnt_perr.c: Likewise.
32195 * sunrpc/clnt_raw.c: Likewise.
32196 * sunrpc/clnt_simp.c: Likewise.
32197 * sunrpc/clnt_tcp.c: Likewise.
32198 * sunrpc/clnt_udp.c: Likewise.
32199 * sunrpc/clnt_unix.c: Likewise.
32200 * sunrpc/des_crypt.c: Likewise.
32201 * sunrpc/des_soft.c: Likewise.
32202 * sunrpc/get_myaddr.c: Likewise.
32203 * sunrpc/getrpcport.c: Likewise.
32204 * sunrpc/key_call.c: Likewise.
32205 * sunrpc/key_prot.c: Likewise.
32206 * sunrpc/openchild.c: Likewise.
32207 * sunrpc/pm_getmaps.c: Likewise.
32208 * sunrpc/pm_getport.c: Likewise.
32209 * sunrpc/pmap_clnt.c: Likewise.
32210 * sunrpc/pmap_prot.c: Likewise.
32211 * sunrpc/pmap_prot2.c: Likewise.
32212 * sunrpc/pmap_rmt.c: Likewise.
32213 * sunrpc/rpc/auth.h: Likewise.
32214 * sunrpc/rpc/auth_unix.h: Likewise.
32215 * sunrpc/rpc/clnt.h: Likewise.
32216 * sunrpc/rpc/des_crypt.h: Likewise.
32217 * sunrpc/rpc/key_prot.h: Likewise.
32218 * sunrpc/rpc/netdb.h: Likewise.
32219 * sunrpc/rpc/pmap_clnt.h: Likewise.
32220 * sunrpc/rpc/pmap_prot.h: Likewise.
32221 * sunrpc/rpc/pmap_rmt.h: Likewise.
32222 * sunrpc/rpc/rpc.h: Likewise.
32223 * sunrpc/rpc/rpc_des.h: Likewise.
32224 * sunrpc/rpc/rpc_msg.h: Likewise.
32225 * sunrpc/rpc/svc.h: Likewise.
32226 * sunrpc/rpc/svc_auth.h: Likewise.
32227 * sunrpc/rpc/types.h: Likewise.
32228 * sunrpc/rpc/xdr.h: Likewise.
32229 * sunrpc/rpc_clntout.c: Likewise.
32230 * sunrpc/rpc_cmsg.c: Likewise.
32231 * sunrpc/rpc_common.c: Likewise.
32232 * sunrpc/rpc_cout.c: Likewise.
32233 * sunrpc/rpc_dtable.c: Likewise.
32234 * sunrpc/rpc_hout.c: Likewise.
32235 * sunrpc/rpc_main.c: Likewise.
32236 * sunrpc/rpc_parse.c: Likewise.
32237 * sunrpc/rpc_parse.h: Likewise.
32238 * sunrpc/rpc_prot.c: Likewise.
32239 * sunrpc/rpc_sample.c: Likewise.
32240 * sunrpc/rpc_scan.c: Likewise.
32241 * sunrpc/rpc_scan.h: Likewise.
32242 * sunrpc/rpc_svcout.c: Likewise.
32243 * sunrpc/rpc_tblout.c: Likewise.
32244 * sunrpc/rpc_util.c: Likewise.
32245 * sunrpc/rpc_util.h: Likewise.
32246 * sunrpc/rpcinfo.c: Likewise.
32247 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32248 * sunrpc/rpcsvc/key_prot.x: Likewise.
32249 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32250 * sunrpc/rpcsvc/mount.x: Likewise.
32251 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32252 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32253 * sunrpc/rpcsvc/rex.x: Likewise.
32254 * sunrpc/rpcsvc/rstat.x: Likewise.
32255 * sunrpc/rpcsvc/rusers.x: Likewise.
32256 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32257 * sunrpc/rpcsvc/spray.x: Likewise.
32258 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32259 * sunrpc/rtime.c: Likewise.
32260 * sunrpc/svc.c: Likewise.
32261 * sunrpc/svc_auth.c: Likewise.
32262 * sunrpc/svc_authux.c: Likewise.
32263 * sunrpc/svc_raw.c: Likewise.
32264 * sunrpc/svc_run.c: Likewise.
32265 * sunrpc/svc_simple.c: Likewise.
32266 * sunrpc/svc_tcp.c: Likewise.
32267 * sunrpc/svc_udp.c: Likewise.
32268 * sunrpc/svc_unix.c: Likewise.
32269 * sunrpc/svcauth_des.c: Likewise.
32270 * sunrpc/xcrypt.c: Likewise.
32271 * sunrpc/xdr.c: Likewise.
32272 * sunrpc/xdr_array.c: Likewise.
32273 * sunrpc/xdr_float.c: Likewise.
32274 * sunrpc/xdr_mem.c: Likewise.
32275 * sunrpc/xdr_rec.c: Likewise.
32276 * sunrpc/xdr_ref.c: Likewise.
32277 * sunrpc/xdr_sizeof.c: Likewise.
32278 * sunrpc/xdr_stdio.c: Likewise.
32279
32280 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32281 handling.
32282
322832010-08-19 Andreas Schwab <schwab@redhat.com>
32284
32285 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32286
322872010-08-19 Luis Machado <luisgpm@br.ibm.com>
32288
32289 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32290 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32291 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32292 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32293 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32294 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32295 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32296 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32297 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32298 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32299 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32300 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32301 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32302 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32303
323042010-07-26 Anton Blanchard <anton@samba.org>
32305
32306 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32307 * malloc/arena.c (heap_trim): Likewise.
32308
323092010-08-16 Ulrich Drepper <drepper@redhat.com>
32310
32311 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32312 here. Not...
32313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32314 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32315
323162010-08-12 H.J. Lu <hongjiu.lu@intel.com>
32317
32318 * sysdeps/i386/elf/Makefile: New file.
32319
323202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32321
32322 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32323 from fanotify_init.
32324 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32325 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32326
323272010-08-15 Ulrich Drepper <drepper@redhat.com>
32328
32329 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
32330 of strncasecmp_l.
32331 * sysdeps/multiarch/strcmp.S: Likewise.
32332
323332010-08-14 Ulrich Drepper <drepper@redhat.com>
32334
32335 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32336 strncase_l-nonascii.
32337 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32338 Add strncase_l-ssse3.
32339 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
32340 * sysdeps/x86_64/strcmp.S: Likewise.
32341 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
32342 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
32343 * sysdeps/x86_64/strncase.S: New file.
32344 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
32345 * sysdeps/x86_64/strncase_l.S: New file.
32346 * string/Makefile (strop-tests): Add strncasecmp.
32347 * string/test-strncasecmp.c: New file.
32348
32349 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
32350 warning.
32351
32352 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
32353 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
32354
323552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
32356
32357 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
32358
323592010-08-12 Ulrich Drepper <drepper@redhat.com>
32360
32361 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
32362 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
32363 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
32364
323652010-05-01 Alan Modra <amodra@gmail.com>
32366
32367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
32368 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
32369 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
32370 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
32371 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
32372 tidying. Don't tail-call __sigjmp_save for static lib.
32373 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
32374 save location.
32375 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
32376 (CALL_MCOUNT): Add eh info, and nop after bl.
32377 (TAIL_CALL_SYSCALL_ERROR): New macro.
32378 (PSEUDO_RET): Use it.
32379 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
32380 Correct save location of integer regs and cr.
32381 (_dl_profile_resolve): Correct cr save location. Delete nops
32382 after bl when SHARED. Reduce cfi size a little by better
32383 placement of cfi directives.
32384 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
32385 make a stack frame. Instead use parm save area as a temp.
32386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
32387 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
32388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
32389 Don't make a stack frame for parent, use parm save area.
32390 Increase child stack frame to 112 bytes. Don't save unused reg,
32391 and adjust reg usage. Set up cfi on error recovery and
32392 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32394 (__makecontext): Add dummy nop after jump to exit.
32395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
32396 Use correct parm save area and cr save, reduce stack frame.
32397 Correct cfi for possible PSEUDO_RET frame setup.
32398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
32399 Branch to local label emitted by PSEUDO_RET rather than
32400 __syscall_error.
32401
324022010-08-12 Andreas Schwab <schwab@redhat.com>
32403
32404 [BZ #11904]
32405 * locale/programs/locale.c (print_assignment): New function.
32406 (show_locale_vars): Use it.
32407
324082010-08-11 Ulrich Drepper <drepper@redhat.com>
32409
32410 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
32411 field.
32412 (struct statfs64): Likewise.
32413 (_STATFS_F_FLAGS): Define.
32414 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
32415 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32416 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
32417 (ST_VALID): Define locally.
32418 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
32419 __statvfs_getflags, use the provided value.
32420 * sysdeps/unix/sysv/linux/kernel-features.h: Define
32421 __ASSUME_STATFS_F_FLAGS.
32422
32423 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
32424
32425 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
32426 Add sys/fanotify.h.
32427 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
32428 fanotify_mask for GLIBC_2.13.
32429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
32430 fanotify_init and fanotify_mark.
32431 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32432 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
32433
32434 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
32435 Add prlimit.
32436 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
32437 prlimit64 for GLIBC_2.13.
32438 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
32439 prlimit64.
32440 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
32441 syscall.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
32443 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32444 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
32445 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
32446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
32447 add prlimit alias.
32448 * sysdeps/unix/sysv/linux/prlimit.c: New file.
32449
32450 [BZ #11903]
32451 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
32452 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
32453
32454 * nss/Makefile: Add rules to build and run tst-nss-test1.
32455 * shlib-versions: Add entry for libnss_test1.
32456 * nss/nss_test1.c: New file.
32457 * nss/tst-nss-test1.c: New file.
32458
32459 * nss/nsswitch.c (__nss_database_custom): Define new variable.
32460 (__nss_configure_lookup): Set appropriate entry in
32461 __nss_configure_lookup to true.
32462 * nss/nsswitch.h: Define enum with indeces of databases in
32463 databases and __nss_database_custom arrays. Declare
32464 __nss_database_custom.
32465 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
32466 to avoid using nscd when custom rules are installed.
32467 * nss/getXXbyYY_r.c: Likewise.
32468 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32469
32470 * nss/nss_files/files-parse.c: Whitespace fixes.
32471
324722010-08-09 Ulrich Drepper <drepper@redhat.com>
32473
32474 [BZ #11883]
32475 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
32476 * posix/fnmatch_loop.c: Likewise.
32477
324782010-07-17 Andi Kleen <ak@linux.intel.com>
32479
32480 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
32481 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
32482 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
32483 * Versions.def [GLIBC_2.13]: Add.
32484
324852010-08-06 Ulrich Drepper <drepper@redhat.com>
32486
32487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32488 Also fail if tpwd after pwuid call is NULL.
32489
324902010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
32491
32492 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
32493 when converting to ms.
32494
324952010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32496
32497 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
32498 EOPNOTSUPP errors with ENOTTY.
32499 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
32500 EOPNOTSUPP errors with ENOTTY.
32501
325022010-07-31 Ulrich Drepper <drepper@redhat.com>
32503
32504 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
32505 Add strcasecmp_l-ssse3.
32506 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
32507 strcasecmp.
32508 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
32509 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
32510 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
32511
325122010-07-30 Ulrich Drepper <drepper@redhat.com>
32513
32514 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
32515
32516 * string/Makefile (strop-tests): Add strcasecmp.
32517 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
32518 strcasecmp_l-nonascii.
32519 (gen-as-const-headers): Add locale-defines.sym.
32520 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
32521 * sysdeps/x86_64/strcasecmp.S: New file.
32522 * sysdeps/x86_64/strcasecmp_l.S: New file.
32523 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
32524 * sysdeps/x86_64/locale-defines.sym: New file.
32525 * string/test-strcasecmp.c: New file.
32526
32527 * string/test-strcasestr.c: Test both ends of the range of characters.
32528 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
32529
325302010-07-29 Roland McGrath <roland@redhat.com>
32531
32532 [BZ #11856]
32533 * manual/locale.texi (Yes-or-No Questions): Fix example code.
32534
325352010-07-27 Ulrich Drepper <drepper@redhat.com>
32536
32537 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
32538 for ld.so.
32539
325402010-07-27 Andreas Schwab <schwab@redhat.com>
32541
32542 * manual/memory.texi (Malloc Tunable Parameters): Document
32543 M_PERTURB.
32544
325452010-07-26 Roland McGrath <roland@redhat.com>
32546
32547 [BZ #11840]
32548 * configure.in (-fgnu89-inline check): Set and substitute
32549 gnu89_inline, not libc_cv_gnu89_inline.
32550 * configure: Regenerated.
32551 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
32552
325532010-07-26 Ulrich Drepper <drepper@redhat.com>
32554
32555 * string/test-strnlen.c: New file.
32556 * string/Makefile (strop-tests): Add strnlen.
32557 * string/tester.c (test_strnlen): Add a few more test cases.
32558 * string/tst-strlen.c: Better error reporting.
32559
32560 * sysdeps/x86_64/strnlen.S: New file.
32561
325622010-07-24 Ulrich Drepper <drepper@redhat.com>
32563
32564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
32565 lower-latency instructions.
32566
325672010-07-23 Ulrich Drepper <drepper@redhat.com>
32568
32569 * string/test-strcasestr.c: New file.
32570 * string/test-strstr.c: New file.
32571 * string/Makefile (strop-tests): Add strstr and strcasestr.
32572 * string/str-two-way.h: Don't undefine MAX.
32573 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
32574
325752010-07-21 Andreas Schwab <schwab@redhat.com>
32576
32577 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32578 strcasestr-nonascii.
32579 (CFLAGS-strcasestr-nonascii.c): Define.
32580 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
32581 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
32582 Remove unused attribute.
32583
325842010-07-20 Roland McGrath <roland@redhat.com>
32585
32586 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
32587 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
32588 ld.so.cache was broken. With it, there is no way to disable dsocaps
32589 like LD_HWCAP_MASK can disable hwcaps.
32590
325912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32592
32593 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
32594
325952010-07-16 Ulrich Drepper <drepper@redhat.com>
32596
32597 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
32598 call in strcasestr.
32599 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
32600 __strcasestr_sse42_nonascii.
32601 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
32602 strcasestr-nonascii.c.
32603 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
32604
326052010-06-15 Luis Machado <luisgpm@br.ibm.com>
32606
32607 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
32608 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
32609 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
32610 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
32611
326122010-07-09 Ulrich Drepper <drepper@redhat.com>
32613
32614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
32615 fcntl.
32616
326172010-07-06 Andreas Schwab <schwab@redhat.com>
32618
32619 [BZ #11577]
32620 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
32621 dl_signal_cerror.
32622
326232010-07-06 Ulrich Drepper <drepper@redhat.com>
32624
32625 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
32626 _PC_PIPE_BUF using F_GETPIPE_SZ.
32627
326282010-07-05 Roland McGrath <roland@redhat.com>
32629
32630 * manual/arith.texi (Rounding Functions): Fix rint description
32631 implicit in round description.
32632
326332010-07-02 Ulrich Drepper <drepper@redhat.com>
32634
32635 * elf/Makefile: Fix linking for a few tests to make recent linker
32636 happy.
32637
326382010-06-30 Andreas Schwab <schwab@redhat.com>
32639
32640 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32641 $(common-objpfx)libc_nonshared.a.
32642
326432010-06-21 Luis Machado <luisgpm@br.ibm.com>
32644
32645 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
32646 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
32647 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32648 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32649 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
32650 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
32651 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32652 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
32654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
32655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
32656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
32657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
32658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
32659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
32660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32667 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32668 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32669 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32670 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32671 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32672 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32673 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32674 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32675 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32676 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32677 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32678 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32693
326942010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32695
32696 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32697 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32698 * string/memmove.c (memmove): Renamed to ...
32699 (MEMMOVE): ...this. Default to memmove.
32700 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32701 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32702 (END_CHK): Define.
32703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32704 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32705 mempcpy-ssse3-back memmove-ssse3-back.
32706 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32707 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32708 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32709 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32710 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32711 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32712 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32713 * sysdeps/x86_64/multiarch/memmove.c: New file.
32714 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32715 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32716 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32717 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32718 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32719 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32720 Define.
32721 (index_Fast_Copy_Backward): Define.
32722 (HAS_ARCH_FEATURE): Define.
32723 (HAS_FAST_REP_STRING): Define.
32724 (HAS_FAST_COPY_BACKWARD): Define.
32725
327262010-06-21 Andreas Schwab <schwab@redhat.com>
32727
32728 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32729 Restore proper fallback handling.
32730
327312010-06-19 Ulrich Drepper <drepper@redhat.com>
32732
32733 [BZ #11701]
32734 * posix/group_member.c (__group_member): Correct checking loop.
32735
32736 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32737 OOM in getpwuid_r correctly. Return error number when the caller
32738 should return, otherwise -1.
32739 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32740 call returning > 0 value.
32741 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32742
327432010-06-07 Andreas Schwab <schwab@redhat.com>
32744
32745 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32746 libc_nonshared.a from targets in modules-names.
32747
327482010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32749
32750 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32751 requires it.
32752
327532010-06-10 Luis Machado <luisgpm@br.ibm.com>
32754
32755 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32756 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32757 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32758 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32759
327602010-06-02 Andreas Schwab <schwab@redhat.com>
32761
32762 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32763
327642010-06-14 Ulrich Drepper <drepper@redhat.com>
32765
32766 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32767 and F_GETPIPE_SZ.
32768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32771 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32773 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32774
327752010-06-14 Roland McGrath <roland@redhat.com>
32776
32777 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32778
327792010-06-07 Jakub Jelinek <jakub@redhat.com>
32780
32781 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32782 __REDIRECT followed by __THROW.
32783 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32784 * posix/getopt.h (getopt): Likewise.
32785
327862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32787
32788 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32789 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32790 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32791 in AT_FLAGS.
32792 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32793 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32794
327952010-05-28 Luis Machado <luisgpm@br.ibm.com>
32796
32797 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32798
327992010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32800
32801 [BZ #11640]
32802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32803 Properly check family and model.
32804
328052010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32806
32807 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32808
328092010-05-24 Luis Machado <luisgpm@br.ibm.com>
32810
32811 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32812
328132010-05-21 Ulrich Drepper <drepper@redhat.com>
32814
32815 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32816 symbol reference.
32817
328182010-05-19 Andreas Schwab <schwab@redhat.com>
32819
32820 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32821 symbol reference.
32822
328232010-05-21 Andreas Schwab <schwab@redhat.com>
32824
32825 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32826 and internal_recvmmsg.
32827 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32828 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32829 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32830 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32831
32832 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32833 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32834 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32835
328362010-05-20 Andreas Schwab <schwab@redhat.com>
32837
32838 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32839
328402010-05-17 Luis Machado <luisgpm@br.ibm.com>
32841
32842 POWER7 optimizations.
32843 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32844 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32845
328462010-05-19 Ulrich Drepper <drepper@redhat.com>
32847
32848 * version.h: Update for 2.13 development version.
32849
328502010-05-12 Andrew Stubbs <ams@codesourcery.com>
32851
32852 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32853 exceptions. Return 0.
32854
328552010-05-07 Roland McGrath <roland@redhat.com>
32856
32857 * elf/ldconfig.c (main): Add a const.
32858
328592010-05-06 Ulrich Drepper <drepper@redhat.com>
32860
32861 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32862 (args_options): Add no-idn option.
32863 (ahosts_keys_int): Add idn_flags to ai_flags.
32864 (parse_option): Handle 'i' option to clear idn_flags.
32865
32866 * malloc/malloc.c (_int_free): Possible race in the most recently
32867 added check. Only act on the data if no current modification
32868 happened.
32869
32870See ChangeLog.17 for earlier changes.